:root{color-scheme:dark;--bg:#121118;--panel:#1b1923;--line:#302c3b;--text:#f6f3fb;--muted:#b3acbf;--accent:#c6acff;--soft:#e6d7ff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:5px}button[hidden]{display:none}img{max-width:100%}
.site-header{height:92px;max-width:1280px;margin:auto;padding:0 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;font-weight:700;font-size:19px;letter-spacing:-.5px}.brand-logo{display:block;width:224px;height:auto;flex-shrink:0}.brand{flex-shrink:0}.site-header{height:104px}.local-label{font-size:9px;letter-spacing:1.5px;color:var(--muted);border:1px solid var(--line);padding:4px 6px;margin-left:2px}.site-header nav{display:flex;gap:34px;color:var(--muted);font-size:14px}.site-header nav a{padding:34px 0}.site-header nav a[aria-current]{color:var(--text);border-bottom:2px solid var(--accent)}main{max-width:1200px;margin:auto;padding:48px 40px 68px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;gap:24px}.eyebrow{text-transform:uppercase;font-size:10px;font-weight:650;letter-spacing:2px;color:var(--accent);margin:0 0 14px}h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-1.7px;font-size:clamp(36px,4.2vw,53px);margin:0 0 12px;line-height:1.12}h2{font-size:20px;font-weight:550;letter-spacing:-.4px;margin:0 0 12px}p{line-height:1.6}.lede{color:var(--muted);font-size:14px;margin:0}.vote-count{border:1px solid var(--line);padding:15px 22px;border-radius:12px;text-align:center;min-width:106px}.vote-count strong{display:block;font-size:26px;font-variant-numeric:tabular-nums}.vote-count span{font-size:11px;color:var(--muted)}
.arena{display:grid;grid-template-columns:1fr 1fr;gap:28px;position:relative}.contender{padding:0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--panel);color:var(--text);text-align:left;transition:border-color .16s,transform .16s}.contender:hover{border-color:var(--accent);transform:translateY(-3px)}.portrait{height:clamp(280px,43vw,440px);display:block;background:radial-gradient(ellipse at 45% 25%,#51465f,#272330);overflow:hidden}.portrait img{width:100%;height:100%;object-fit:contain;object-position:center top;display:block}.contender-info{display:flex;padding:20px 24px;align-items:center;justify-content:space-between;gap:10px}.character-name{display:block;font-size:24px;font-family:Georgia,serif;letter-spacing:-.5px}.anime-name{font-size:12px;display:block;color:var(--muted);margin-top:7px;line-height:1.5}.pick-icon{width:34px;height:34px;border:1px solid #4c425f;border-radius:50%;display:grid;place-items:center;color:var(--accent);flex-shrink:0}.versus{position:absolute;left:50%;top:43%;transform:translate(-50%,-50%);border:1px solid var(--line);border-radius:50%;width:47px;height:47px;background:var(--bg);display:grid;place-items:center;font-family:Georgia,serif;font-style:italic;color:var(--muted);z-index:1}.arena-toolbar{display:flex;justify-content:space-between;align-items:center;padding:21px 0 0;gap:10px}.text-button{background:none;border:none;color:var(--muted);font-size:12px;padding:10px}.text-button:hover{color:var(--accent)}.text-button span{margin-left:12px}.key-hint{color:#827b90;font-size:10px}kbd{font:inherit;display:inline-block;min-width:20px;padding:3px 5px;border:1px solid #393342;border-radius:4px;text-align:center;margin-right:3px}.vote-status{color:var(--muted);font-size:12px;text-align:center;min-height:20px;margin:6px 0 28px}
.highlights{display:grid;grid-template-columns:1fr 1fr;gap:28px;border-top:1px solid var(--line);padding-top:28px}.highlight{background:var(--panel);padding:26px;border-radius:13px;border:1px solid var(--line);display:flex;flex-direction:column}.highlight p:not(.eyebrow){font-size:12px;color:var(--muted);margin:0 0 20px;max-width:360px}.inline-link{font-size:12px;color:var(--accent);display:inline-flex;gap:24px;justify-content:space-between;align-items:center;margin-top:auto}.mini-character{display:flex;gap:15px;margin-bottom:15px;align-items:center}.mini-character img{width:60px;height:70px;object-fit:cover;border-radius:7px}.mini-leaders{padding:0;list-style:none;margin:0 0 20px}.mini-leaders li{display:flex;align-items:center;gap:12px;font-size:12px;padding:8px 0}.mini-leaders .badge{margin-left:auto}.rank-number{color:var(--muted);font-family:ui-monospace,monospace;font-size:13px}.badge{border:1px solid #4a3f5d;color:#c6b5df;display:inline-block;font-size:9px;padding:5px 8px;border-radius:20px;line-height:1;white-space:nowrap;font-weight:500;letter-spacing:.2px}.qualified{color:#a7e0c7;border-color:#34594c}footer{border-top:1px solid var(--line);max-width:1200px;margin:auto;padding:24px 40px 34px;display:flex;gap:15px;justify-content:space-between;font-size:10px;color:#8f869e;line-height:1.6}.total-label{font-size:12px;color:var(--muted);white-space:nowrap}
.filters{display:flex;align-items:end;gap:16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0;margin-bottom:30px}.filters label{display:grid;gap:8px;flex:1;font-size:11px;color:var(--muted)}input,select{border:1px solid #403749;background:#201c29;color:var(--text);padding:12px 14px;border-radius:7px;min-width:0}select{max-width:100%}.button{display:inline-flex;background:var(--accent);border:1px solid var(--accent);color:#21172e;border-radius:7px;font-size:12px;font-weight:600;padding:13px 18px;justify-content:center;align-items:center;white-space:nowrap}.button:hover{background:var(--soft)}.catalogue-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.character-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel);transition:border-color .15s}.character-card:hover{border-color:var(--accent)}.character-card>img{height:260px;object-fit:contain;background:#2c2635;width:100%;display:block}.character-card>div{padding:17px}.character-card h2{font-family:Georgia,serif;font-size:21px}.character-card p{color:var(--muted);font-size:11px;margin:0}
.tabs{display:flex;border-bottom:1px solid var(--line);gap:30px;margin:30px 0}.tabs a{padding:14px 0;color:var(--muted);font-size:13px;white-space:nowrap}.tabs a[aria-current]{color:var(--accent);border-bottom:2px solid var(--accent)}.ranking-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:30px 0 20px}.ranking-intro h2{display:flex;align-items:center;gap:14px}.ranking-intro p{color:var(--muted);font-size:12px;margin:0}.date-filter label{font-size:10px;color:var(--muted)}.date-filter>div{display:flex;gap:8px;margin-top:6px}.date-filter input{font-size:12px;padding:9px;width:155px}.date-filter .button{padding:10px 14px}.notice{font-size:12px;line-height:1.7;padding:16px 20px;background:#211c2c;border-left:2px solid #8261ab;color:#c8bad9;border-radius:0 7px 7px 0;margin:20px 0}.notice a{text-decoration:underline}.rank-table{border-collapse:collapse;width:100%;font-size:13px}.rank-table th{text-align:left;text-transform:uppercase;letter-spacing:1.3px;font-size:9px;color:var(--muted);font-weight:500;padding:15px;border-bottom:1px solid var(--line)}.rank-table td{padding:17px 15px;border-bottom:1px solid #26212e}.ranking-character{display:flex;align-items:center;gap:17px}.ranking-character img{width:48px;height:58px;object-fit:cover;background:#30273e;border-radius:6px}.ranking-character strong{font-size:14px;font-weight:500}.ranking-character small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.rating-number{font-variant-numeric:tabular-nums;color:var(--soft);font-size:15px}.muted{color:var(--muted)}.voters{display:block;color:var(--muted);font-size:9px;margin-top:8px}.empty-state{text-align:center;padding:64px 20px;border:1px dashed var(--line);border-radius:13px;margin:25px 0}.empty-symbol{font-size:43px;color:var(--accent);display:block;margin-bottom:20px}.empty-state h2{font-family:Georgia,serif;font-size:28px}.empty-state p{font-size:13px;color:var(--muted);margin-bottom:25px}.fine-print{font-size:11px;color:var(--muted);line-height:1.8;margin-top:24px}.archive-links{margin-top:40px;display:flex;gap:12px;flex-wrap:wrap}.archive-links h2{flex-basis:100%;font-size:16px}.archive-link{display:flex;gap:20px;padding:15px;border:1px solid var(--line);border-radius:7px;font-size:12px}.archive-link span{color:var(--muted);font-size:10px}
.back-link{display:inline-block;color:var(--muted);font-size:12px;margin-bottom:30px}.detail-hero{display:grid;grid-template-columns:320px 1fr;align-items:center;gap:55px}.detail-portrait{width:100%;height:430px;object-fit:contain;background:#302839;border-radius:16px}.detail-hero .lede{margin-bottom:25px}.section-heading{font-family:Georgia,serif;font-size:27px;margin:40px 0 22px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat-card{display:flex;flex-direction:column;align-items:start;gap:12px;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:22px}.stat-card .eyebrow{margin:0}.stat-card strong{font-size:27px;font-variant-numeric:tabular-nums;font-weight:500}.stat-card>span:not(.eyebrow):not(.badge){font-size:10px;color:var(--muted)}.gallery{display:flex;flex-wrap:wrap;gap:22px}.gallery figure{margin:0;max-width:300px}.gallery img{max-height:360px;object-fit:contain;border-radius:10px;background:var(--panel)}.gallery figcaption{font-size:11px;color:var(--muted);margin-top:10px}
@media(min-width:1440px){main{padding-top:56px}.portrait{height:460px}}@media(max-width:850px){.catalogue-grid{grid-template-columns:repeat(3,1fr)}.character-card>img{height:220px}.key-hint{display:none}.arena-toolbar{justify-content:center}.detail-hero{grid-template-columns:260px 1fr;gap:28px}.stat-grid{grid-template-columns:repeat(2,1fr)}.filters{flex-wrap:wrap}.filters label{min-width:200px}.highlights{gap:18px}}
@media(max-width:600px){.site-header{height:76px;padding:0 20px}.brand{font-size:15px;gap:8px}.local-label{display:none}.site-header nav{gap:18px;font-size:12px}.site-header nav a{padding:28px 0}main{padding:30px 18px 42px}.eyebrow{font-size:9px;letter-spacing:1.7px}.page-heading{align-items:start;gap:12px;margin-bottom:24px}h1{font-size:35px}.lede{font-size:12px;max-width:280px}.vote-count{padding:11px;min-width:70px}.vote-count strong{font-size:22px}.vote-count span{font-size:9px}.arena{gap:14px}.portrait{height:285px}.contender{border-radius:11px}.contender-info{padding:14px 11px;min-height:104px;align-items:start}.character-name{font-size:20px}.anime-name{font-size:10px}.pick-icon{display:none}.versus{width:31px;height:31px;font-size:13px;top:38%}.arena-toolbar{padding-top:10px}.vote-status{font-size:10px;margin-bottom:22px}.highlights{grid-template-columns:1fr}.highlight{padding:22px}.highlight h2{font-size:20px}.catalogue-grid{grid-template-columns:repeat(2,1fr);gap:14px}.character-card>img{height:225px}.character-card>div{padding:13px}.character-card h2{font-size:19px}.filters{gap:12px}.filters label{min-width:100%;width:100%}.total-label{display:none}.tabs{gap:22px;overflow-x:auto;margin:22px 0}.tabs a{font-size:12px}.ranking-intro{align-items:start;flex-direction:column;gap:16px}.ranking-intro h2{font-size:20px}.table-scroll{overflow-x:auto}.rank-table{min-width:550px}.rank-table td,.rank-table th{padding:13px 9px}.ranking-character{gap:10px}.ranking-character small{max-width:160px}.ranking-character img{width:40px;height:52px}.notice{padding:12px 15px;font-size:11px}.empty-state{padding:40px 15px}.empty-state h2{font-size:24px}.detail-hero{grid-template-columns:1fr;gap:25px}.detail-portrait{height:400px}.stat-grid{gap:12px}.stat-card{padding:17px}.stat-card strong{font-size:24px}footer{padding:22px 18px;flex-direction:column;gap:7px}.gallery figure{max-width:100%}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

/* Personal taste and browser history */
[hidden]{display:none!important}.mode-switch{display:flex;align-items:center;gap:6px;margin:0 0 18px;flex-wrap:wrap}.mode-switch>a{padding:10px 15px;border:1px solid var(--line);border-radius:7px;font-size:12px;color:var(--muted)}.mode-switch>a[aria-current]{color:var(--accent);background:#282032;border-color:#675079}.mode-switch>span{font-size:11px;color:var(--muted);margin-left:auto}.personal-progress{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);padding:14px 17px;border:1px solid var(--line);background:var(--panel);border-radius:8px;margin:0 0 22px}.personal-progress>a{color:var(--accent);white-space:nowrap}.practice-options{display:flex;align-items:center;gap:12px;margin:0 0 20px;font-size:11px;color:var(--muted);flex-wrap:wrap}.practice-options select{font-size:11px;padding:9px 10px}.practice-options>span{margin-left:auto;color:var(--accent)}.personal-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:25px 0}.personal-summary>div{padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:10px}.personal-summary strong{display:block;font-size:28px;font-weight:500;letter-spacing:-.7px;margin-bottom:9px}.personal-summary span{font-size:11px;color:var(--muted)}.personal-summary>div:last-child strong{font-size:23px}.personal-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin:22px 0}.personal-actions .inline-link{margin:0}.section-heading-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.personal-top,.personal-list{list-style:none;padding:0;margin:0}.personal-top{display:grid;grid-template-columns:1fr 1fr;gap:14px}.personal-top li>a,.personal-list li>a{display:flex;align-items:center;gap:14px;border:1px solid var(--line);background:var(--panel);padding:17px;border-radius:10px;min-height:115px}.personal-top li>a:hover,.personal-list li>a:hover{border-color:var(--accent)}.personal-top img{width:64px;height:82px;object-fit:cover;border-radius:7px;background:#30273e}.personal-place{font-family:ui-monospace,monospace;font-size:12px;color:var(--accent)}.personal-top li:first-child .personal-place{color:#f1d49d}.personal-top li>a>div,.personal-list li>a>div{flex:1;min-width:0}.personal-top strong,.personal-list strong{display:block;font-family:Georgia,serif;font-weight:400;font-size:21px;margin-bottom:6px}.personal-top div>span,.personal-list div>span{display:block;font-size:10px;color:var(--muted);line-height:1.6}.personal-top small,.personal-list small{display:block;font-size:9px;color:var(--muted);line-height:1.7;margin-top:6px}.personal-score{color:var(--soft);font-variant-numeric:tabular-nums;font-size:15px}.personal-list{display:grid;gap:10px;margin-top:17px}.personal-list img{width:45px;height:55px;object-fit:cover;border-radius:5px}.personal-list li>a{min-height:90px}.personal-list strong{font-size:18px}#personal-rest{margin:24px 0}#personal-rest summary{cursor:pointer;font-size:12px;color:var(--accent);padding:13px 0}.personal-explainer,.history-tools{border-top:1px solid var(--line);padding-top:27px;margin-top:34px}.personal-explainer p,.history-tools p{font-size:12px;color:var(--muted);max-width:760px}.history-tools{margin-bottom:15px}.history-tools>button{margin-right:16px}.import-label{display:inline-flex;flex-direction:column;gap:8px;font-size:11px;color:var(--muted);vertical-align:middle}.import-label input{font-size:11px;max-width:290px;padding:8px}.site-header nav{gap:27px}
@media(max-width:850px){.personal-top{grid-template-columns:1fr}.personal-summary strong{font-size:24px}.personal-summary>div:last-child strong{font-size:20px}}@media(max-width:600px){.site-header nav{gap:12px;font-size:11px}.brand{font-size:13px;gap:6px}.mode-switch>span{flex-basis:100%;margin:7px 0 0;font-size:10px}.mode-switch>a{font-size:11px;padding:10px 12px}.personal-progress{flex-wrap:wrap;font-size:10px;padding:13px;gap:9px}.personal-summary{gap:9px;grid-template-columns:1fr 1fr}.personal-summary>div{padding:17px}.personal-summary>div:last-child{grid-column:1/-1}.personal-summary>div:last-child strong{font-size:22px}.personal-summary span{font-size:10px}.personal-top li>a{padding:14px 11px;gap:9px}.personal-top img{width:50px;height:74px}.personal-top strong{font-size:19px}.personal-top small{font-size:9px}.personal-score{font-size:12px}.section-heading-row{align-items:start;flex-direction:column;gap:0;margin-bottom:18px}.section-heading-row .section-heading{margin-bottom:12px}.practice-options>span{flex-basis:100%;margin:0}.history-tools>button{margin:0 0 16px}.import-label{display:flex}.personal-actions{gap:18px}}

/* Full-body artwork: fit complete figures, including hair and shoes. */
.character-card>img{height:340px;object-fit:contain;object-position:center;padding:12px 8px;box-sizing:border-box}
.portrait img{object-fit:contain;object-position:center;padding:12px;box-sizing:border-box}
.detail-portrait{object-fit:contain;object-position:center;padding:12px;box-sizing:border-box}
.ranking-character img,.mini-character img,.personal-top img{object-fit:contain;object-position:center;padding:3px;box-sizing:border-box}
@media(max-width:600px){.character-card>img{height:300px}.portrait{height:340px}}

.filters{flex-wrap:wrap}.personal-year-filter{display:flex;flex-direction:column;gap:8px;max-width:280px;font-size:12px;color:var(--muted);margin-top:24px}

.analytics-consent { position:fixed; bottom:1rem; left:1rem; right:1rem; max-width:44rem; margin:auto; z-index:100; padding:1.25rem; border:1px solid #665876; border-radius:1rem; background:#201b2b; color:#fff; box-shadow:0 8px 36px #0008; max-height:85vh; overflow:auto; }
.analytics-consent[hidden] { display:none; }
.analytics-consent h2 { margin-top:0; }
.consent-actions { display:flex; flex-wrap:wrap; gap:.75rem; }
.consent-actions .button { flex:1; }
#privacy-settings { background:none; border:0; color:inherit; font:inherit; text-decoration:underline; cursor:pointer; padding:.25rem; }
.information-page { max-width:48rem; margin:2rem auto; line-height:1.7; }

.ad-preview { border:1px dashed #746484; border-radius:1rem; min-height:250px; margin:2rem auto; padding:1.5rem; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; max-width:60rem; background:#201b2b; }

.breadcrumbs{font-size:12px;color:var(--muted);margin-bottom:24px;display:flex;gap:8px;flex-wrap:wrap}.breadcrumbs a,.directory-links a{color:var(--accent)}.directory-links{display:flex;gap:12px 20px;flex-wrap:wrap;margin:20px 0 30px;font-size:13px}.series-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.series-grid>a{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:20px}.series-grid h3{font-size:20px;margin:0 0 10px}.series-grid p{font-size:12px;color:var(--muted)}.seo-section{border-top:1px solid var(--line);margin-top:36px;padding-top:24px}.seo-section p,.series-intro{max-width:850px;line-height:1.8;font-size:14px;color:var(--muted)}.seo-section a,.series-intro a{color:var(--accent)}@media(max-width:850px){.series-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.series-grid{grid-template-columns:1fr}.seo-section p{font-size:13px}}

@media(max-width:600px){.site-header{height:auto;min-height:104px;padding:6px 18px 0;flex-direction:column;justify-content:center;gap:0}.brand-logo{width:168px}.site-header nav{justify-content:center;gap:26px;width:100%;font-size:12px}.site-header nav a{padding:12px 0}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.voting-layout main{padding-top:24px;padding-bottom:24px}.voting-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.voting-page .mode-switch{margin:0;gap:4px}.voting-page .mode-switch>a{font-size:12px;padding:8px 13px}.voting-page .practice-options{margin:0;gap:0}.voting-page .practice-options select{font-size:12px;padding:8px 10px}.voting-page .arena-toolbar{padding-top:8px}.voting-page .vote-status{margin:0;min-height:0}.voting-page .vote-status:not(:empty){margin:4px 0 8px}.vote-extras{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;font-size:11px;color:var(--muted)}.vote-extras a:hover{color:var(--text)}.community-summary{margin-top:22px;border-top:1px solid var(--line)}.community-summary>summary{cursor:pointer;padding:15px 0;font-size:11px;color:var(--muted)}.community-summary .highlights{border:0;padding:8px 0 16px}.voting-layout footer{justify-content:center;padding-top:18px;padding-bottom:22px;text-align:center}
@media(max-width:600px){.voting-layout main{padding-top:18px;padding-bottom:12px}.voting-controls{gap:8px;margin-bottom:16px}.voting-page .mode-switch>a{font-size:11px;padding:8px 10px}.voting-page .practice-options select{font-size:11px;padding:8px}.voting-page .contender-info{padding:13px 11px;min-height:85px}.voting-page .character-name{font-size:19px}.voting-page .anime-name{font-size:10px;margin-top:5px}.voting-page .arena-toolbar{justify-content:center}.voting-layout footer{align-items:center}.community-summary{margin-top:18px}}

.voting-workspace.has-live-ranking{display:grid;grid-template-columns:minmax(0,1fr) 258px;gap:24px;align-items:start}.voting-stage{min-width:0}.live-ranking{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:18px;position:sticky;top:20px;min-width:0}.live-ranking-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.live-ranking-heading h2{font-size:16px;margin:0}.live-ranking-heading>span{font-size:10px;color:var(--muted);white-space:nowrap}.live-ranking>p{font-size:12px;color:var(--muted);margin:18px 0}.live-ranking ol{padding:0;margin:0;list-style:none}.live-ranking li+li{border-top:1px solid var(--line)}.live-ranking li a{display:flex;align-items:center;gap:10px;padding:8px 0;min-height:64px}.live-rank-position{font-variant-numeric:tabular-nums;font-size:12px;color:var(--muted);width:14px;flex-shrink:0}.live-ranking li:first-child .live-rank-position{color:#f1d49d}.live-ranking img{display:block;width:36px;height:48px;object-fit:contain;background:#302839;border-radius:5px;flex-shrink:0}.live-rank-name{font-size:12px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-ranking-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:14px;font-size:10px}.live-ranking-footer>span{color:var(--muted)}.live-ranking-footer>a{color:var(--accent);margin-left:auto}
.live-ranking ol::-webkit-scrollbar{height:3px}.live-ranking ol::-webkit-scrollbar-thumb{background:#66576f;border-radius:3px}
@media(max-width:900px){.voting-workspace.has-live-ranking{grid-template-columns:1fr;gap:14px}.live-ranking{order:-1;position:static;padding:12px}.live-ranking-heading{margin-bottom:8px}.live-ranking-heading h2{font-size:13px}.live-ranking>p{margin:6px 0;font-size:11px}.live-ranking ol{display:flex;gap:8px;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin}.live-ranking li{flex:0 0 147px;min-width:0}.live-ranking li+li{border-top:0}.live-ranking li a{min-height:44px;padding:0;gap:6px}.live-ranking img{width:27px;height:36px}.live-rank-name{font-size:11px}.live-rank-position{width:10px;font-size:10px}.live-ranking-footer{margin-top:6px;font-size:10px}}
/* Country map: self-hosted vector geometry, no third-party map requests. */
.map-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.map-heading h1{font-size:42px;margin:8px 0 12px}.map-heading p{color:var(--muted)}.map-filters{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.map-filters label{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.map-filters select{max-width:230px}#map-status{font-size:12px;color:var(--muted);min-height:20px;margin:22px 0}.map-workspace{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px;align-items:start}.map-surface{position:relative;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:radial-gradient(ellipse at center,#262434,#181720)}#world-map{display:block;width:100%;min-height:350px;touch-action:none;cursor:grab}#world-map:active{cursor:grabbing}#world-map path{fill:#41404e;stroke:#1e1b29;stroke-width:.65;vector-effect:non-scaling-stroke;transition:fill .2s}#world-map path:hover{filter:brightness(1.25)}#world-map path.selected{stroke:#fff4df;stroke-width:2}.map-zoom{position:absolute;left:16px;bottom:16px;display:flex;gap:5px}.map-zoom button{padding:8px 12px;background:var(--panel);color:var(--soft);border:1px solid var(--line);border-radius:5px;cursor:pointer}.map-zoom button:hover{border-color:var(--accent)}#map-tooltip{position:absolute;left:16px;top:16px;background:#17151feb;color:#f7ecf4;padding:9px 13px;border-radius:7px;font-size:12px;pointer-events:none;max-width:90%}#map-detail{padding:22px;background:var(--panel);border:1px solid var(--line);border-radius:14px;min-height:350px}#map-detail h2{font-size:23px;margin-top:0}#map-detail p{font-size:12px;color:var(--muted);line-height:1.7}.map-portrait{width:100%;height:210px;object-fit:contain;display:block;margin-bottom:15px}.map-winner{font-family:Georgia,serif;font-size:27px;color:var(--accent);display:block}.map-leaders{padding-left:20px;font-size:12px;margin:20px 0 0}.map-leaders li{padding:9px 0 9px 4px;border-bottom:1px solid var(--line)}.map-leaders li span{float:right;color:var(--muted);font-variant-numeric:tabular-nums}.map-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:18px 0 28px}.map-legend>span{display:flex;gap:8px;align-items:center}.no-data-swatch{width:13px;height:13px;background:#41404e;border-radius:3px;display:inline-block}.map-explainer{border-top:1px solid var(--line);padding:20px 0;font-size:12px;color:var(--muted)}.map-explainer summary,.country-control summary{cursor:pointer;color:var(--accent)}.map-explainer p{max-width:850px;line-height:1.8}.country-control{position:relative;font-size:11px}.country-control>div{padding:15px;border:1px solid var(--line);border-radius:8px;background:var(--panel);max-width:350px;display:flex;flex-direction:column;gap:10px;margin:10px 0}.country-control select{width:100%;font-size:12px}.country-control a,.map-credits a{color:var(--accent)}.map-credits{margin-top:24px;line-height:1.8}.vote-extras .country-control>div{position:absolute;z-index:4;bottom:20px;left:0;width:300px;box-shadow:0 8px 30px #0008}.vote-extras{flex-wrap:wrap}
@media(min-width:601px) and (max-width:800px){.site-header nav{gap:16px;font-size:12px}.brand-logo{width:190px}}
@media(max-width:900px){.map-workspace{grid-template-columns:minmax(0,1fr) 220px}.map-heading h1{font-size:34px}}
@media(max-width:650px){.map-workspace{grid-template-columns:1fr}.map-heading{align-items:flex-start}.map-heading h1{font-size:29px}.map-heading .button{font-size:11px;white-space:nowrap;padding:10px}.map-filters{gap:12px}.map-filters label{font-size:11px}.map-filters select{max-width:170px;font-size:12px}#world-map{min-height:230px}.map-zoom{left:10px;bottom:10px}#map-detail{min-height:160px}.map-portrait{height:220px}.map-heading p{font-size:12px}.site-header nav{gap:18px}}

/* Consistent full-body frames; transparent source margins are removed by SVG content bounds. */
.catalogue-grid .character-card>img{height:auto;aspect-ratio:9/10;object-fit:contain;object-position:center;padding:12px}
.detail-portrait{height:auto;aspect-ratio:9/10}.personal-top img{width:72px;height:80px}.personal-list img{width:50px;height:56px;object-fit:contain;padding:3px}.live-ranking img{width:44px;height:48px}
#reset-ranking-dialog{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:14px;max-width:480px;padding:26px}#reset-ranking-dialog::backdrop{background:#000a}#reset-ranking-dialog h2{margin-top:0;font-size:23px}#reset-ranking-dialog p{font-size:13px;line-height:1.8;color:var(--muted)}.history-tools>#reset-ranking,.history-tools>#restore-ranking{margin-top:18px}
@media(max-width:600px){.voting-page .portrait{height:auto;aspect-ratio:9/10}.live-ranking img{width:32px;height:36px}#reset-ranking-dialog{max-width:calc(100% - 32px)}}

/* The legend stays immediately below the map, independent of the country panel. */
.map-column{min-width:0}.map-legend{list-style:none;padding:0;gap:12px 20px}.map-legend>li{display:flex;align-items:center;gap:8px;max-width:100%}.map-legend a{color:var(--soft);overflow-wrap:anywhere}.map-legend a:hover{color:var(--accent)}.map-leader-swatch,.map-legend .no-data-swatch{display:inline-block;width:14px;height:14px;border-radius:3px;flex-shrink:0;border:1px solid #ffffff26}

/* Reserve identical portrait and two-line text tracks for both voting choices. */
.voting-page .arena{grid-template-columns:repeat(2,minmax(0,1fr))}
.voting-page .contender{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-width:0}
.voting-page .portrait{flex-shrink:0}
.voting-page .contender-info{flex-shrink:0;align-items:flex-start}
.voting-page .contender-info>span:first-child{min-width:0;flex:1}
.voting-page .character-name,.voting-page .anime-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.voting-page .character-name{line-height:1.15;height:2.3em}
.voting-page .anime-name{line-height:1.5;height:3em}

/* A visible reset action lives beside the ranking in both voting modes. */
.ranking-reset-button{border:1px solid #675079;border-radius:6px;background:#282032;color:var(--accent);font:inherit;font-size:10px;padding:6px 8px;cursor:pointer;white-space:nowrap}
.ranking-reset-button:hover{border-color:var(--accent);background:#35273f}.ranking-reset-button:disabled{opacity:.55;cursor:wait}.live-ranking-heading{flex-wrap:wrap}.live-ranking-heading h2{margin-right:auto}
.community-ranking-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.community-ranking-controls #personal-progress{margin:0}.ranking-reset-status{font-size:11px;color:var(--muted);line-height:1.6}.ranking-reset-status:empty{display:none}.live-ranking>#restore-ranking{margin-top:12px}

.pairing-switch{display:flex;gap:8px;border:0;padding:0;margin:0;min-width:0}.pairing-switch label{position:relative;cursor:pointer}.pairing-switch input{position:absolute;opacity:0;width:1px;height:1px}.pairing-switch span{display:flex;align-items:center;gap:7px;padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--muted);font-size:12px;white-space:nowrap}.pairing-switch span::before{content:"";width:10px;font-size:12px}.pairing-switch input:checked+span{background:#35273f;border-color:var(--accent);color:var(--accent)}.pairing-switch input:checked+span::before{content:"✓"}.pairing-switch input:focus-visible+span{outline:2px solid var(--accent);outline-offset:3px}.pairing-switch:disabled{opacity:.6}.pairing-switch:disabled label{cursor:wait}.voting-controls{justify-content:flex-start}
@media(max-width:600px){.pairing-switch{width:100%;gap:8px}.pairing-switch label{flex:1}.pairing-switch span{justify-content:center;font-size:11px;padding:10px 8px}}

/* Utility pages lead with controls and content rather than promotional heroes. */
.content-layout main{padding-top:24px}.compact-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}.compact-heading h1{font-size:28px;letter-spacing:-.6px;margin:0}.compact-heading .fine-print{margin:8px 0 0}.compact-heading>div:last-child{display:flex;align-items:center;gap:14px}.compact-heading>div:first-child{display:block}.compact-heading .inline-link{margin:0;font-size:12px}
.content-layout .filters{padding:16px 0;margin-bottom:20px}.content-layout .tabs{margin-top:0;margin-bottom:16px}.content-layout .ranking-intro{margin:16px 0}.content-layout .ranking-intro h2{font-size:22px}.content-layout .breadcrumbs{margin-bottom:16px;font-size:11px}
.page-help{border-top:1px solid var(--line);padding:13px 0;margin:18px 0;color:var(--muted);font-size:12px}.page-help summary{cursor:pointer;color:var(--accent);font-size:11px}.page-help p{font-size:12px;line-height:1.7;max-width:850px}.page-help .fine-print{margin:12px 0}.page-help.history-tools{margin-bottom:0}.map-credits{margin-top:18px}#map-status{margin:12px 0 16px}
.content-layout .personal-summary{display:flex;flex-wrap:wrap;gap:18px 32px;margin:18px 0}.content-layout .personal-summary>div{padding:0;background:none;border:0;border-radius:0}.content-layout .personal-summary strong{font-size:22px;margin-bottom:4px}.content-layout .personal-summary>div:last-child strong{font-size:19px}.content-layout .personal-actions{gap:12px 20px;margin:18px 0}.personal-hint{margin:0 0 16px}.content-layout #personal-results .section-heading{margin-top:22px}
@media(max-width:600px){.content-layout main{padding-top:18px}.compact-heading h1{font-size:24px}.compact-heading{gap:10px;flex-wrap:wrap;margin-bottom:16px}.compact-heading .inline-link{font-size:11px}.content-layout .filters{gap:12px}.content-layout .personal-summary{gap:16px 24px}.content-layout .personal-summary strong{font-size:20px}.content-layout .personal-summary>div:last-child strong{font-size:17px}}
@media(max-width:600px){.content-layout .catalogue-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.content-layout .catalogue-filters label{min-width:0;width:auto}.catalogue-filters label:first-child{grid-column:1/-1}.catalogue-filters>.button{align-self:end}}
@media(max-width:600px){.content-layout .ranking-filters{flex-wrap:nowrap;gap:10px}.content-layout .ranking-filters label{min-width:0;width:auto}.ranking-filters>.button{padding:12px 10px;font-size:11px}}

/* Personal corrections keep the original public vote intact. */
.vote-history-list{list-style:none;padding:0;display:grid;gap:1rem}
.history-entry{padding:1rem;border:1px solid var(--border,#36303f);border-radius:1rem;background:var(--panel,#1b1823)}
.history-entry time,.history-state{font-size:.85rem;color:var(--muted,#b9b2c7)}
.history-entry p{margin:.5rem 0}
.history-search{display:grid;gap:.5rem;max-width:36rem}
.history-search input{width:100%;min-width:0;padding:.8rem;border-radius:.6rem;border:1px solid #50445d;background:#211d2a;color:inherit;font:inherit}
.history-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.history-choice{display:flex;align-items:center;gap:.75rem;min-width:0;padding:.5rem;border:2px solid #433b50;border-radius:.75rem;background:#221d2c;color:inherit;text-align:left;font:inherit}
button.history-choice{cursor:pointer}
.history-choice[aria-pressed="true"]{border-color:#c8a8ff;background:#382c49}
.history-choice[aria-pressed="true"] span:before{content:'✓ ';color:#d5bbff}
.history-choice img{width:64px;height:96px;object-fit:contain;flex-shrink:0}
.history-choice span{overflow-wrap:anywhere}
.history-actions{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin-top:.6rem}
.history-preview{font-weight:600}
.live-ranking-footer{flex-wrap:wrap;gap:.5rem}
@media(max-width:480px){.history-choice{flex-direction:column;align-items:center;text-align:center;gap:.3rem}.history-entry{padding:.75rem}.history-choice span{font-size:.9rem}}

.map-legend a{display:flex;align-items:center;gap:8px;min-width:0}.map-legend-portrait{display:block;width:36px;height:48px;object-fit:contain;flex-shrink:0;background:var(--panel);border-radius:6px}
