:root{color-scheme:light;--ink:#392919;--gold:#c5a466;--paper:#efdfba;--wood:#41291a}*{box-sizing:border-box}body{margin:0;background:repeating-linear-gradient(93deg,#151b16 0,#151b16 2px,#171e18 3px,#171e18 5px);color:var(--ink);font:16px/1.5 Georgia,'Times New Roman',serif}a{color:#71351e;text-decoration:underline;text-underline-offset:2px}a:hover{color:#a35328}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #23687a;outline-offset:3px}.site{max-width:1060px;margin:auto;padding:0 24px}.masthead{height:165px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid #8e7649;margin-bottom:23px;background:radial-gradient(ellipse at 30% 70%,#43503955,transparent 70%)}.brand{display:flex;align-items:center;gap:17px;color:#ead29b;text-decoration:none;font-weight:bold;font-size:46px;letter-spacing:-2px;text-shadow:2px 3px #080d09}.brand:hover{color:#f1dfb5}.brand small{display:block;font-size:16px;text-transform:uppercase;letter-spacing:5px;text-align:center;color:#bea979;font-weight:normal}.masthead>p{font-style:italic;color:#b6b69d;font-size:14px;align-self:flex-end;margin-bottom:32px}.layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:23px;align-items:start}nav,.sidebar-box{border:1px solid #9e7d45;box-shadow:0 0 0 3px #080d09,0 0 0 4px #51422c,0 5px 12px #0008;margin-bottom:23px;background:#ded0a8}nav h2,.sidebar-box h2,.page-heading{background:repeating-linear-gradient(2deg,#442a1d 0,#442a1d 3px,#4b3020 4px,#40291c 7px);color:#ecd39d;text-shadow:1px 2px #170d07;border-bottom:2px solid #a7874e}nav h2,.sidebar-box h2{font-size:16px;text-align:center;margin:0;padding:8px 5px;font-weight:normal}nav>a{display:block;padding:8px 13px;color:#e5d1a6;background:linear-gradient(90deg,#2b2118,#493321 55%,#2c2119);border-top:1px solid #6a5030;border-bottom:1px solid #1c140f;text-decoration:none;font-size:16px}nav>a::before{content:'◆';font-size:9px;margin-right:10px;color:#ab8849}nav>a:hover,nav>a[aria-current]{background:linear-gradient(90deg,#4d3621,#674a2b,#49331e);color:#fff1c8}.sidebar-box p{padding:0 12px;text-align:center;margin:12px 0}.sidebar-box .button{display:block;margin:12px 9px;text-align:center;padding:6px}.fine{font-size:12px;overflow-wrap:anywhere}.connection dl{padding:0 13px;font-size:14px}.connection dt{font-weight:bold}.connection dd{margin:0 0 8px;overflow-wrap:anywhere}main{border:1px solid #b79655;box-shadow:0 0 0 3px #080d09,0 0 0 4px #59462b,0 8px 18px #0007;min-width:0}.page-heading{display:flex;align-items:center;padding:7px 16px;gap:12px}.page-heading h1{font-size:24px;font-weight:normal;margin:0}.ornament{color:#caab68;font-size:23px}.parchment{min-height:480px;padding:22px;background:radial-gradient(ellipse at 50% 10%,#fff6dc88,transparent 80%),repeating-linear-gradient(0deg,#ffffff04 0,#ffffff04 2px,#8d693008 3px,#8d693008 4px),var(--paper);box-shadow:inset 0 0 25px #9c6d3130}h2{font-size:22px;font-weight:normal;margin:0 0 12px}h3{font-size:17px;margin:0}p{margin:0 0 16px}.welcome{border:1px solid #b79b67;background:#f7edcf99;margin-bottom:24px}.world-illustration{display:block;width:100%;height:auto;border-bottom:3px double #a68c54}.welcome-copy{padding:17px 18px 3px}.welcome-copy h2{font-size:25px}.button{display:inline-block;border:1px solid #5f371b;box-shadow:inset 0 0 0 1px #b69761,0 1px 2px #51351155;background:linear-gradient(#80552f,#53341e);color:#fff0ca;padding:7px 15px;font: bold 14px/1.5 Georgia,serif;text-decoration:none;cursor:pointer}.button:hover{background:#74512c;color:white}.button[aria-disabled=true],.button[aria-disabled=true]:hover{background:#73644e;color:#fff0ca;cursor:default}.download-entry{border:1px solid #bba272;padding:12px;margin-bottom:14px;background:#f7edcf99}.download-entry p{margin:6px 0 12px}.download-entry .hint{display:inline-block;margin-left:8px}.secondary{background:linear-gradient(#73644e,#514634)}.actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.section-heading{border-bottom:1px solid #a98b55;padding-bottom:5px;margin-top:23px;font-size:20px}.news-entry{border:1px solid #bba272;margin-bottom:14px}.news-entry header{display:flex;gap:13px;align-items:baseline;padding:6px 11px;background:#cbb48766;border-bottom:1px solid #bba272}.news-entry time{white-space:nowrap;font-size:12px;color:#685335}.news-entry p{padding:12px;margin:0}.note,.notice{padding:12px 14px;border:1px solid #b29459;background:#f9efcf;box-shadow:inset 3px 0 #b39558}.note p{margin:6px 0 0}.notice.error,.field-error{color:#87271b}.notice.error{border-color:#ae6252}.notice.success{border-color:#66814d;background:#e6e7c6}.classic-form{max-width:480px;margin:22px 0}.field{margin-bottom:17px}.field>label{display:block;font-weight:bold;font-size:15px;margin-bottom:5px}input:not([type=checkbox]):not([type=submit]),select{width:100%;max-width:360px;border:1px solid #8d7755;box-shadow:inset 1px 2px 3px #674a2120;border-radius:0;background:#fff9e9;color:#30271c;padding:8px;font:16px Georgia,serif}.checkbox{display:flex!important;gap:10px;font-weight:normal!important;align-items:flex-start}.checkbox input{margin-top:5px;flex-shrink:0}.field-error{display:block;font-size:14px;margin-top:4px}.hint{font-size:14px;color:#655139}.form-actions{display:flex;gap:18px;align-items:center;margin-top:22px}.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.account-number{border:3px double #a98b55;padding:14px;text-align:center;background:#faf0d4}.account-number span{display:block}.account-number strong{font-size:34px;letter-spacing:5px}table{border-collapse:collapse;width:100%;font-size:15px;margin:16px 0;overflow-wrap:anywhere}th,td{padding:8px 10px;border:1px solid #b19a70;text-align:left}th{background:#d3bc8e88}tbody tr:nth-child(even){background:#f9efd266}li{margin-bottom:10px}footer{text-align:center;color:#a4a68d;font-size:12px;padding:28px 0}footer p{margin:0 0 6px}.skip{position:absolute;left:-10000px}.skip:focus{left:10px;top:10px;background:white;padding:10px;z-index:5}@media(max-width:760px){.site{padding:0 13px}.masthead{height:132px;flex-direction:column;justify-content:center;gap:5px}.brand{font-size:35px;gap:10px}.brand img{width:52px;height:65px}.brand small{font-size:13px;letter-spacing:4px}.masthead>p{align-self:center;margin:0;text-align:center}.layout{grid-template-columns:170px minmax(0,1fr);gap:15px}nav>a{font-size:14px;padding:8px}.parchment{padding:15px}.news-entry header{display:block}.page-heading h1{font-size:22px}}@media(max-width:560px){.layout{display:block}nav{display:grid;grid-template-columns:1fr 1fr;margin-bottom:18px}nav h2{grid-column:1/-1}nav>a{font-size:15px}.sidebar-box{display:none}.masthead{justify-content:center;margin-bottom:18px}.parchment{min-height:360px}table{font-size:14px}th,td{padding:7px}.welcome-copy{padding:14px}.page-heading{padding:7px 12px}}

.status-online{color:#365c25}.status-unavailable{color:#87271b}.server-status p{margin:8px 0}.server-status p:last-child{margin-bottom:12px}@media(max-width:560px){.sidebar-box.server-status{display:block;margin-bottom:18px}}

/* Compact, native disclosure controls for the homepage news feed. */
.news-accordion{border:1px solid #a98b55;background:#f7edcf99;margin-bottom:20px}
.news-accordion h2{margin:0;padding:5px 11px;background:repeating-linear-gradient(2deg,#442a1d 0,#442a1d 3px,#4b3020 4px,#40291c 7px);color:#ecd39d;font-size:17px;font-weight:normal;text-shadow:1px 2px #170d07;border-bottom:1px solid #a7874e}
.news-item{border-bottom:1px solid #bba272}
.news-item summary{display:grid;grid-template-columns:auto minmax(0,1fr) 12px;align-items:center;gap:12px;padding:8px 11px;cursor:pointer;list-style:none;background:#cbb48744}
.news-item summary::-webkit-details-marker{display:none}
.news-item summary::after{content:'';width:7px;height:7px;border:solid #685335;border-width:0 2px 2px 0;transform:rotate(45deg);justify-self:center;margin-bottom:4px}
.news-item[open] summary::after{transform:rotate(225deg);margin-bottom:-4px}
.news-item summary:hover,.news-item[open] summary{background:#cbb48788}
.news-item summary:focus-visible{outline:3px solid #23687a;outline-offset:-3px}
.news-item time{white-space:nowrap;font-size:12px;color:#685335}
.news-title{font-size:15px;font-weight:bold;overflow-wrap:anywhere}
.news-item p,.news-empty{padding:12px;margin:0;white-space:pre-line;overflow-wrap:anywhere}
.news-archive-link{text-align:right;padding:6px 11px;font-size:13px}
@media(max-width:560px){.news-item summary{gap:8px;padding:8px}.news-item time{font-size:11px}.news-title{font-size:14px}}

.highscores-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:18px 0}
.highscores-filters>div{flex:1 1 150px}
.highscores-filters label{display:block;font-weight:bold}
.highscores-filters select{max-width:none}
.highscores-filters .button{white-space:nowrap}
.highscores-table th:first-child,.highscores-table td:first-child,.highscores-table th:nth-last-child(-n+2),.highscores-table td:nth-last-child(-n+2){text-align:right;font-variant-numeric:tabular-nums}
.highscores-pages{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin:18px 0}

/* Gameplay rates share the original parchment and wooden heading style. */
.rates-heading{margin:22px 0 8px;padding:6px 11px;background:repeating-linear-gradient(2deg,#442a1d 0,#442a1d 3px,#4b3020 4px,#40291c 7px);color:#ecd39d;font-size:18px;text-shadow:1px 2px #170d07;border:1px solid #a7874e}
.rates-table{margin:8px 0 14px}
.rates-table td:last-child,.rates-table thead th:last-child{text-align:right;font-variant-numeric:tabular-nums}
.magic-rates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.magic-rates h3{font-size:15px}
.magic-rates table{font-size:14px}
.magic-rates th,.magic-rates td{padding:6px}
.rates-summary{border:1px solid #a98b55;background:#f7edcf99;margin-bottom:24px}
.rates-summary .rates-heading{margin:0;border:0;border-bottom:1px solid #a7874e}
.rates-summary dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:12px;gap:12px;text-align:center}
.rates-summary dl>div{display:flex;flex-direction:column-reverse;justify-content:center;border:1px solid #bba272;background:#f9efd266;padding:8px 4px}
.rates-summary dt{font-size:14px}
.rates-summary dd{margin:0;font-size:22px;color:#704522;font-weight:bold}
.rates-summary p{text-align:center;margin:0 0 12px;font-size:14px}
@media(max-width:760px){.magic-rates{grid-template-columns:1fr}.rates-summary dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
