:root{color-scheme:dark;--ink:#0c111b;--panel:#141d2a;--line:#303541;--gold:#efc77f;--type:#f8eedc;--quiet:#bac2cf}
*{box-sizing:border-box}
body{margin:0;background:var(--ink);color:var(--type);font:1rem/1.65 system-ui,sans-serif}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:5px}
button{font:inherit;cursor:pointer}
.wrap{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.skip{position:absolute;top:-9rem;left:1rem;z-index:9;padding:.5rem;background:var(--ink)}.skip:focus{top:0}
.top{background:#0b111a;border-bottom:1px solid #2c2a2b}.bar{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:74px}
.brand,h1,h2,h3{font-family:Georgia,serif}.brand{color:var(--gold);font-size:1.12rem;letter-spacing:.19em;white-space:nowrap}.seal{font-size:.8rem;margin-right:.35rem}
nav{display:flex;flex-wrap:wrap;gap:.7rem 1.45rem;font-size:.94rem;color:var(--quiet)}nav a[aria-current=page],nav a:hover{color:var(--gold)}
.hero{position:relative;isolation:isolate;min-height:650px;display:grid;align-items:center;background:#17243a;overflow:hidden}
.hero:before,.hero:after{content:"";position:absolute;inset:0;z-index:-1}
.hero:before{background:url('/assets/cite.jpg') center 51%/cover no-repeat}
.hero:after{background:linear-gradient(90deg,#0c111bf7 0%,#0c111bd4 27%,#10152554 66%,#10152519),linear-gradient(0deg,#0c111b 0%,transparent 34%)}
.hero-inner{padding:5rem 0 6.5rem}.kicker{font-size:.87rem;color:var(--gold);font-weight:650;letter-spacing:.18em;text-transform:uppercase;margin:0 0 1rem}
h1,h2,h3{font-weight:normal;line-height:1.08;margin:0 0 1rem}h1{font-size:clamp(3rem,9vw,7.2rem);letter-spacing:-.055em}.hero h1{letter-spacing:.025em}h2{font-size:clamp(2rem,4.5vw,3.5rem)}h3{font-size:1.65rem}
p{margin:0 0 1rem}.lede{font-size:clamp(1.05rem,2.3vw,1.32rem);max-width:36rem;color:var(--quiet)}.hero .lede{color:#e2e1df}
.actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.7rem}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--gold);border-radius:3px;padding:.65rem 1rem;min-height:46px;background:var(--gold);color:#1a1713;font-weight:650}.button.secondary{background:#101621a9;border-color:#8b775a;color:var(--type)}.button:disabled{opacity:.52;cursor:default}.button:not(:disabled):hover{filter:brightness(1.1)}
.server{position:relative;margin-top:-3.6rem;background:var(--panel);border:1px solid #534631;padding:1.25rem 1.45rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.server p{margin:0}.status{color:var(--gold)}.fine{color:var(--quiet);font-size:.92rem}
.section{padding:4.6rem 0}.page{padding:5.3rem 0 4.4rem;min-height:65vh}.page h1{font-size:clamp(2.9rem,8vw,5.1rem)}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:2rem}.tile{background:linear-gradient(145deg,#1a2431,#111924);border:1px solid var(--line);padding:1.45rem}.tile p{color:var(--quiet)}.tile a,.text-link{color:var(--gold);text-decoration:underline;text-underline-offset:4px}.tile p:last-child{margin:0}.stripe{border-top:1px solid var(--line)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}.split img{width:100%;aspect-ratio:1.5;object-fit:cover;border:1px solid #624d34}
.chapters{max-width:760px;margin-top:2rem}.chapter{padding:1.35rem 0;border-top:1px solid var(--line)}.chapter summary{cursor:pointer;color:var(--gold);font:1.55rem/1.3 Georgia,serif}.chapter p{margin:1rem 0 0;color:var(--quiet)}
.guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:2rem}.guide article{scroll-margin-top:1rem}.guide code{display:inline-block;color:var(--gold);padding:.18rem .42rem;background:#0f161f;border-radius:3px;font-size:.9rem}
.list{margin-top:2rem;border-top:1px solid var(--line);max-width:800px}.list div{display:flex;justify-content:space-between;gap:1rem;padding:.9rem 0;border-bottom:1px solid var(--line)}.list span{color:var(--quiet)}
.footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;padding:1.5rem 0 2.3rem;border-top:1px solid var(--line);color:var(--quiet)}.footer p{margin:0}
.copy-feedback:empty{display:none}
.ranking-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:1rem;align-items:start;margin-top:1.5rem}
.ranking h2{font-size:clamp(1.5rem,3vw,2.1rem)}
.ranking table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums;margin-bottom:.6rem}
.ranking th,.ranking td{text-align:left;border-bottom:1px solid var(--line);padding:.55rem .4rem;overflow-wrap:anywhere}
.ranking th{color:var(--gold);font-size:.9rem}
.ranking td:first-child{color:var(--quiet)}
.profile-search{max-width:34rem;margin:2rem 0 1rem}.profile-search label{display:block;margin-bottom:.45rem;color:var(--gold)}
.profile-search div{display:flex;gap:.6rem}.profile-search input{min-width:0;flex:1;background:var(--panel);color:var(--type);border:1px solid #8b775a;border-radius:3px;padding:.55rem .75rem;font:inherit}
.profile-search input:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.profile-list{display:flex;flex-wrap:wrap;gap:.65rem;padding:0;list-style:none;margin:1.4rem 0}
.profile-list a{display:block;border:1px solid #8b775a;padding:.5rem .8rem;color:var(--gold)}
.profile-page{padding-top:2.5rem}
.profile-page .profile-search{margin-top:1rem}
.profile-loading-title{margin-top:1rem}
.character-sheet:not([hidden]){display:grid;grid-template-columns:minmax(240px, .8fr) minmax(0, 1.8fr);gap:1.35rem;margin-top:1.3rem}
.character-portrait{margin:0;min-height:335px;display:grid;grid-template-rows:1fr auto;padding:1.1rem;border:1px solid #6c573a;background:linear-gradient(160deg,#1e2733ef,#0d1522),var(--panel)}
.portrait-frame{display:grid;place-items:center;min-height:240px;border:1px solid #927755;border-radius:50% 50% 0 0 / 38% 38% 0 0;background:radial-gradient(ellipse at center,#3b332f,#131b29 72%)}
.portrait-emblem{display:grid;place-items:center;border:1px solid #9a7b4d;transform:rotate(45deg);width:4.5rem;height:4.5rem;background:#171e29;color:var(--gold);font-size:2rem}
.character-portrait figcaption{text-align:center;padding-top:.75rem;color:var(--quiet);font-size:.9rem}
.character-body{display:grid;align-content:start;gap:.9rem;min-width:0}
.character-identity{padding:1.1rem 1.25rem .9rem;border:1px solid #6c573a;background:linear-gradient(105deg,#242632,#151e2b)}
.profile-page .character-identity h1{margin:.15rem 0 .45rem;font-size:clamp(2rem,6vw,4.6rem);letter-spacing:-.035em;overflow-wrap:anywhere}
.character-identity .kicker,.character-identity .fine,.character-panel p:last-child{margin:0}
.character-panel{padding:1rem 1.15rem;border:1px solid var(--line);background:var(--panel);min-width:0}
.character-panel h2{font-size:1.58rem;margin-bottom:.65rem}
#character-title,#character-guild{border-inline-start:3px solid var(--profile-accent,transparent);padding-inline-start:.5rem}
.portrait-frame img{max-width:100%;height:auto;image-rendering:pixelated}
.fixture-banner{grid-row:1;border:1px solid var(--gold);padding:.65rem;color:var(--gold)}
.character-secondary{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
.profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin:0}
.profile-stats[hidden]{display:none}
.profile-stats div{background:var(--ink);border-top:1px solid #756140;padding:.6rem .65rem}
.profile-stats dt{color:var(--quiet);font-size:.88rem}
.profile-stats dd{margin:.25rem 0 0;color:var(--gold);font:1.45rem/1.1 Georgia,serif;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
@media(max-width:850px){.character-sheet:not([hidden]){grid-template-columns:minmax(170px,.65fr) minmax(0,1.4fr)}.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:610px){.character-sheet:not([hidden]){grid-template-columns:1fr}.character-portrait{min-height:0}.portrait-frame{min-height:150px}.character-secondary{grid-template-columns:1fr}}
@media(max-width:850px){.ranking-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){.ranking{padding:.8rem}.ranking td,.ranking th{padding:.5rem .2rem}}
#address{overflow-wrap:anywhere}
@media (min-width:761px) and (max-width:900px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section{padding:3.6rem 0}}
nav a{padding-block:.35rem}
@media(max-width:760px){.bar{align-items:flex-start;flex-direction:column;gap:.45rem;padding:.8rem 0}.hero{min-height:540px}.hero-inner{padding:3.5rem 0 5.5rem}.hero:before{background-position:64% center}.hero:after{background:linear-gradient(90deg,#0c111bf0,#0c111b67),linear-gradient(0deg,#0c111b,transparent 42%)}.grid,.split,.guide{grid-template-columns:1fr}.split{gap:1.2rem}.page,.section{padding:3rem 0}.wrap{width:calc(100% - 32px)}.list div{flex-direction:column;gap:.2rem}}
@media(prefers-reduced-motion:no-preference){.button,.tile a{transition:filter .18s,color .18s}}

.skin-canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.skin-canvas:active { cursor: grabbing; }
.skin-static { width: clamp(72px, 45%, 160px); height: auto; image-rendering: pixelated; }
.skin-controls { display: flex; justify-content: center; flex-wrap: wrap; gap: .3rem; margin-top: .7rem; }
.skin-controls button { min-height: 44px; min-width: 44px; border: 1px solid #8f7546; color: #f4d99f; background: #24221e; font: inherit; cursor: pointer; }
.skin-controls button[aria-pressed="true"] { background: #6a4924; }
.skin-controls button:focus-visible { outline: 2px solid #f4d99f; outline-offset: 2px; }
.portrait-with-skin { height: clamp(230px, 34vw, 350px); overflow: hidden; }
.skin-canvas { min-width: 0; min-height: 0; }

.vote-logo{margin-inline-end:.6rem;vertical-align:middle;object-fit:contain}#vote-sites .button{margin-top:.5rem}

.vote-page{padding-top:2.6rem;padding-bottom:3.6rem}
.vote-intro h1{font-size:clamp(2rem,5vw,3rem);margin-bottom:.55rem}
.vote-intro p{color:var(--quiet);margin-bottom:1.35rem}
.vote-summary{display:flex;flex-wrap:wrap;gap:.8rem;margin:1.2rem 0}
.vote-summary[hidden],.vote-history[hidden],.vote-verify[hidden],.vote-progress[hidden]{display:none}
.vote-summary div{display:flex;align-items:center;gap:.8rem;background:#1a2028;border:1px solid #6d5739;padding:.62rem 1rem}
.vote-summary dt{color:var(--quiet)}.vote-summary dd{margin:0;color:var(--gold);font-variant-numeric:tabular-nums;font-weight:700}
#vote-sites{margin-top:1.3rem;align-items:stretch}
.vote-card{display:grid;grid-template-rows:auto auto 1fr auto auto;gap:.9rem;padding:1.2rem;border-color:#5e4c34;background:linear-gradient(145deg,#251f1c,#141b25 65%)}
.vote-card-head{display:flex;align-items:center;gap:.65rem;min-height:42px}
.vote-card h2,.vote-history h2{font-size:1.3rem;line-height:1.2;margin:0;color:var(--type)}
.vote-logo{flex:none;margin:0;object-fit:contain}
.vote-card p{margin:0}
.vote-prize{display:flex;align-items:center;gap:.55rem;color:var(--gold)!important;font-size:.92rem}
.vote-key{display:inline-block;position:relative;width:1.1rem;height:.8rem;margin-inline-end:.22rem;flex:none;color:var(--gold)}
.vote-key:before{content:'';position:absolute;width:.48rem;height:.48rem;border:2px solid currentColor;border-radius:50%;left:0;top:.08rem}
.vote-key:after{content:'';position:absolute;width:.61rem;height:.14rem;background:currentColor;left:.51rem;top:.36rem;box-shadow:.02rem .15rem 0 -.01rem currentColor}
.vote-timer{display:grid;gap:.32rem}
.vote-status{font-weight:650}.vote-status[data-kind=ready]{color:#a9dab4}
.vote-cooldown{font-size:.88rem;font-variant-numeric:tabular-nums}
.vote-progress{width:100%;height:.42rem;accent-color:var(--gold);border:0;border-radius:1rem;background:#313644;overflow:hidden}
.vote-progress::-webkit-progress-bar{background:#313644}.vote-progress::-webkit-progress-value{background:var(--gold)}
.vote-progress::-moz-progress-bar{background:var(--gold)}
.vote-payout{min-height:1.25em;font-size:.88rem;color:var(--gold)!important}
.vote-actions{display:grid;gap:.45rem}
.vote-actions .button{margin:0!important;text-decoration:none}
.vote-actions .vote-button{color:#241b13;background:var(--gold);text-align:center}
.vote-actions .vote-button[aria-disabled=true]{background:#2c2930;color:#bcb0a0;border-color:#514941;cursor:default;filter:none}
.vote-history{margin-top:2rem}.vote-history ol{padding:0;list-style:none;border-top:1px solid #5e4c34}
.vote-history li{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:.65rem;padding:.7rem .4rem;border-bottom:1px solid var(--line);color:var(--quiet);font-size:.9rem}
.vote-history strong{color:var(--type)}.vote-history .vote-received{color:#a9dab4}
@media(max-width:540px){.vote-page{padding-top:1.9rem}.vote-history li{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.vote-history li span{grid-column:1 / -1}}

.vote-leaders{margin-top:2.8rem;border-top:1px solid #5e4c34;padding-top:1.3rem}
.vote-leaders>h2{font-size:clamp(1.65rem,4vw,2.25rem);margin:.35rem 0 .7rem}
.vote-leaders p{color:var(--quiet)}
.vote-tabs{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:1rem}
.vote-tabs button{padding:.6rem .9rem;border:1px solid #68543c;background:#1a2029;color:var(--type);border-radius:3px;cursor:pointer}
.vote-tabs button[aria-pressed=true]{background:var(--gold);color:#201911;font-weight:700}
.vote-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;gap:.7rem;list-style:none}
.vote-medal{--medal:#ca966b;display:grid;justify-items:center;align-content:center;gap:.45rem;text-align:center;min-width:0;padding:.85rem .3rem;border:1px solid var(--medal);background:#1b202a;color:var(--medal);overflow-wrap:anywhere}
.vote-medal[data-place="1"]{--medal:#efc77f;background:#28231e}.vote-medal[data-place="2"]{--medal:#c3cdd8}
.vote-medal a,.vote-table a{color:var(--type);text-decoration:underline;text-underline-offset:3px}
.vote-head{width:clamp(28px,7vw,52px);aspect-ratio:1;display:grid;place-items:center;border:1px solid var(--medal);background:#141923}
.vote-head canvas{width:100%;height:100%;image-rendering:pixelated}
.vote-table{width:100%;border-collapse:collapse;text-align:left;margin:1.35rem 0}
.vote-table th,.vote-table td{padding:.55rem .55rem;border-bottom:1px solid var(--line)}
.vote-table :is(td,th):last-child{text-align:right}.vote-me{background:#31291e;outline:1px solid var(--gold);outline-offset:-1px}
#vote-archives{padding-top:.8rem;border-top:1px solid #5e4c34}#vote-archives label{margin-inline-end:.55rem}
#vote-archives select{background:#212733;border:1px solid #68543c;color:var(--type);padding:.55rem}
@media(min-width:761px){#vote-sites{grid-template-columns:repeat(3,minmax(0,1fr))}.vote-card{grid-row:span 5;grid-template-rows:subgrid}}
@media(max-width:500px){.vote-podium{gap:.3rem}.vote-medal{font-size:.78rem}.vote-summary{gap:.4rem}.vote-summary div{padding:.43rem .6rem}}
