@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');
:root{font-family:'Pretendard','Apple SD Gothic Neo','Malgun Gothic',sans-serif;color:#263c32;background:#f7f6f0;font-synthesis:none;--green:#285b43;--muted:#707970;--border:#e1e4d8;--accent:#eeb86b}
*{box-sizing:border-box}body{margin:0}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b46b25;outline-offset:5px}[hidden]{display:none!important}
.topbar{max-width:1360px;margin:auto;padding:25px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--border)}.brand img{display:block;width:222px;max-width:100%;height:auto}.topbar nav{display:flex;gap:28px;align-items:center}.home-link{font-size:13px;font-weight:600;white-space:nowrap}.home-link span{margin-left:9px}
.worldcup{max-width:1180px;padding:0 40px;margin:0 auto;outline:none}.page-heading{text-align:center;padding:50px 0 31px}.eyebrow{display:block;color:#5e765f;font-size:12px;font-weight:800;letter-spacing:.1em}.page-heading h1{margin:14px 0 13px;font-size:clamp(30px,4vw,46px);line-height:1.25;letter-spacing:-.045em;font-weight:850;word-break:keep-all}.page-heading h1 em{font-style:normal;color:#40805a}.page-heading p{font-size:15px;line-height:1.8;color:var(--muted);margin:0;word-break:keep-all}.mobile-break{display:none}.stage{min-height:360px}.panel{background:#fff;border:1px solid var(--border);border-radius:22px;overflow:hidden}.setup{display:grid;grid-template-columns:1fr 1fr}
.setup-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:360px;padding:35px;background:#eaf0df;overflow:hidden}.art-ring{position:absolute;left:50%;top:50%;width:320px;height:320px;border-radius:50%;transform:translate(-50%,-50%);border:1px solid #d4dfc6}.art-ring:after{content:'';position:absolute;inset:28px;border:1px dashed #d4dfc6;border-radius:50%}.art-portraits{display:flex;align-items:center;justify-content:center;isolation:isolate}.art-portrait{width:190px;height:230px;margin:0 -12px;transform:rotate(-9deg);border:6px solid #fff;border-bottom-width:35px;border-radius:8px;background:#fff;box-shadow:0 12px 25px #45603b17;position:relative}.art-portrait:nth-child(2){transform:rotate(10deg) translateY(15px)}.art-portrait img{width:100%;height:100%;object-fit:contain;background:#f7f8f1;border-radius:3px}.art-portrait span{position:absolute;bottom:-26px;left:0;right:0;text-align:center;font-size:12px;font-weight:750}.art-caption{position:absolute;bottom:20px;left:20px;right:20px;text-align:center;font-size:11px;color:#6e8060;letter-spacing:.08em}
.setup-controls{padding:37px 36px;display:flex;flex-direction:column;justify-content:center}.section-kicker{display:flex;gap:8px;align-items:center;color:#779077;font-size:11px;font-weight:800;letter-spacing:.12em}.section-kicker:before{content:'';width:7px;height:7px;border-radius:50%;background:#6f9970}.setup-controls h2{margin:12px 0 10px;font-size:26px;letter-spacing:-.04em}.setup-description{margin:0 0 24px;font-size:14px;color:var(--muted);line-height:1.7}.size-label{font-size:12px;font-weight:750;margin-bottom:10px}.sizes{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}.size-option{background:#fff;border:1px solid #dce2d7;border-radius:8px;padding:10px 13px;color:#687767;font-size:13px;font-weight:650;min-height:40px}.size-option[aria-pressed=true]{background:#edf3e8;color:var(--green);border-color:#5a815e;box-shadow:inset 0 0 0 1px #5a815e}.size-description{font-size:12px;color:#818879;line-height:1.7;min-height:40px;margin:0 0 18px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:47px;border-radius:9px;border:1px solid transparent;padding:13px 22px;font-weight:750;font-size:14px}.primary{background:var(--green);color:#fff}.primary:hover{background:#204b36}.primary:disabled{opacity:.6}.secondary{background:#fff;border-color:#d7dfd2;color:#586952}.secondary:hover{background:#f4f6ef}.start-button{width:100%;justify-content:space-between}.setup-footnote{margin:12px 0 0;font-size:11px;color:#8b9185;text-align:center}
.roster{margin-top:25px;border:1px solid var(--border);border-radius:13px;background:#fff9}.roster summary{padding:17px 20px;cursor:pointer;font-size:13px;font-weight:700;color:#5b6a54}.roster summary span{font-size:11px;color:#8a9381;font-weight:500;margin-left:8px}.roster-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:16px;padding:10px 20px 22px;max-height:380px;overflow-y:auto}.roster-item{text-align:center;min-width:0}.roster-item img{width:76px;height:76px;object-fit:contain;border-radius:12px;background:#f2f4eb;max-width:100%}.roster-item span{display:block;margin-top:7px;font-size:11px;color:#67715c;overflow-wrap:anywhere}
.match-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:7px 0 13px}.round-label{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.round-label h2{font-size:21px;margin:0;font-weight:850;letter-spacing:-.02em;outline:none}.round-label span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.quiet-button{border:0;background:none;font-size:12px;color:#7a8473;padding:10px 0 10px 12px}.quiet-button:hover{text-decoration:underline}.progress-line{width:100%;height:5px;border-radius:4px;overflow:hidden;background:#e4e9da;appearance:none;border:0;display:block}.progress-line::-webkit-progress-bar{background:#e4e9da;border-radius:4px}.progress-line::-webkit-progress-value{background:#6f9362;border-radius:4px}.progress-line::-moz-progress-bar{background:#6f9362;border-radius:4px}.match-instruction{text-align:center;color:#6f7e65;font-size:12px;margin:18px 0}.match-grid{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:28px}.candidate{position:relative;padding:0;border:1px solid #dbe1d3;background:#fff;border-radius:18px;overflow:hidden;text-align:left;transition:border-color .15s,box-shadow .15s,transform .15s;color:inherit;min-width:0}.candidate:hover{border-color:#63916b;box-shadow:0 8px 25px #365c3d13;transform:translateY(-3px)}.candidate:disabled{transform:none;opacity:.65}.candidate.is-chosen{opacity:1;border-color:#4e8058;box-shadow:0 0 0 2px #4e8058}.portrait-wrap{height:clamp(210px,29vw,340px);position:relative;display:flex;align-items:center;justify-content:center;background:#f3f6ed;overflow:hidden;padding:24px}.candidate:nth-of-type(2) .portrait-wrap{background:#f9f2e6}.portrait-wrap img{position:absolute;inset:8px;display:block;width:calc(100% - 16px);height:calc(100% - 16px);object-fit:contain}.candidate:hover .portrait-wrap img{transform:scale(1.035)}.image-fallback{display:none;text-align:center;font-size:14px;color:#7c886d;padding:15px;line-height:1.8}.image-fallback:before{content:'🐹';display:block;font-size:45px;margin-bottom:12px}.image-missing img{display:none}.image-missing .image-fallback{display:block}.candidate-copy{display:block;padding:19px 23px 21px}.candidate-label{display:flex;align-items:center;justify-content:space-between;gap:12px}.candidate-name{font-size:24px;letter-spacing:-.035em;word-break:keep-all;overflow-wrap:anywhere}.pick-arrow{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:29px;height:29px;border:1px solid #dce4d2;border-radius:50%;font-size:18px;color:#65835d}.catchphrase{display:block;font-size:12px;color:#7d8577;margin-top:8px;line-height:1.7;min-height:20px;overflow-wrap:anywhere}.versus{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%) rotate(-8deg);display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:var(--accent);color:#74471d;border:5px solid #f7f6f0;font-size:13px;font-weight:900;pointer-events:none}.keyboard-note{text-align:center;font-size:11px;color:#8b9383;margin:19px 0 0}.keyboard-note kbd{font:inherit;border:1px solid #d7ddcd;border-radius:3px;background:#fff;padding:2px 5px;margin:0 3px}.match-total{text-align:center;font-size:11px;color:#87907c;margin:10px 0 0}
.result-panel{text-align:center;padding:32px;background:linear-gradient(145deg,#fff,#f6f9ef)}.winner-tag{display:inline-block;background:#e9f0dd;border-radius:30px;padding:8px 14px;color:#577446;font-size:11px;font-weight:800;letter-spacing:.06em}.winner-portrait{margin:20px auto 0;width:min(100%,310px);height:260px;background:radial-gradient(ellipse,#e8f0da,transparent 70%);padding:10px}.winner-portrait img{width:100%;height:100%;object-fit:contain}.result-title{margin:7px 0 10px;font-size:36px;letter-spacing:-.05em;outline:none}.result-copy{font-size:14px;line-height:1.7;color:#75816a;margin:0}.winner-quote{font-size:15px;line-height:1.7;color:#516d49;margin:16px 0 0}.result-actions{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin-top:24px}.winner-trail{border-top:1px solid #e2e8d8;margin:25px 0 0;padding-top:20px}.winner-trail h3{font-size:12px;color:#7a876c;font-weight:650;margin:0 0 14px}.trail-list{list-style:none;padding:0;display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:0}.trail-list li{font-size:11px;color:#6b775e;background:#edf2e6;border-radius:7px;padding:8px 12px}.trail-list small{display:block;font-size:9px;color:#87947a;margin-bottom:4px}
.notice{text-align:center;padding:60px 20px;border:1px dashed #d8dfce;border-radius:18px;background:#fff8}.notice-symbol{font-size:44px}.notice h2{font-size:22px;margin:20px 0 12px;letter-spacing:-.03em}.notice p{color:#7a846e;font-size:14px;line-height:1.8;margin:0 0 20px}.notice .primary{margin-top:2px}.footer{max-width:1100px;display:flex;justify-content:space-between;gap:15px;margin:35px auto 0;padding:23px 0 28px;border-top:1px solid var(--border);font-size:11px;color:#87917d}.footer a:hover{text-decoration:underline}.restart-dialog{width:min(calc(100% - 36px),410px);border:1px solid #d9e1d1;border-radius:19px;padding:30px;color:#2e4433;background:#fff}.restart-dialog::backdrop{background:#1a2b2366;backdrop-filter:blur(3px)}.restart-dialog h2{font-size:24px;letter-spacing:-.035em;margin:14px 0}.restart-dialog p{font-size:14px;line-height:1.8;color:#7b846f}.dialog-actions{display:flex;gap:9px;margin-top:25px}.dialog-actions button{flex:1;padding-left:8px;padding-right:8px}.sr-only,.skip-link{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.skip-link:focus{width:auto;height:auto;clip-path:none;top:10px;left:10px;padding:10px 16px;background:#fff;z-index:10;border:1px solid #285b43}
.winner-portrait{display:block}.winner-portrait.image-missing .image-fallback{padding-top:48px}
@media(min-width:1400px){.page-heading{padding-top:65px;padding-bottom:38px}.setup-art{min-height:380px}.setup-controls{padding:42px}.art-portrait{width:200px;height:245px}}
@media(max-width:800px){.topbar{padding:21px 24px}.brand img{width:190px}.topbar nav{gap:13px}.worldcup{padding:0 24px}.page-heading{padding-top:34px}.setup{grid-template-columns:1fr 1.1fr}.setup-art{padding:20px;min-height:335px}.art-portrait{width:130px;height:175px;border-width:4px;border-bottom-width:30px}.art-portrait span{bottom:-23px;font-size:10px}.art-ring{width:230px;height:230px}.setup-controls{padding:27px 24px}.setup-controls h2{font-size:23px}.size-option{padding:9px 10px}.footer{margin-left:24px;margin-right:24px}.match-grid{gap:18px}.candidate-copy{padding:17px}.candidate-name{font-size:22px}.portrait-wrap{padding:16px}}
@media(max-width:560px){.topbar{padding:18px}.brand img{width:158px}.home-link{display:none}.worldcup{padding:0 18px}.page-heading{padding:30px 0 23px}.page-heading h1{font-size:30px}.page-heading p{font-size:13px;line-height:1.7}.eyebrow{font-size:10px}.mobile-break{display:block}.setup{grid-template-columns:1fr}.setup-art{min-height:205px;padding:16px 25px 30px}.art-portrait{width:128px;height:156px;border-bottom-width:27px;margin:0 -6px}.art-portrait:nth-child(2){transform:rotate(10deg) translateY(8px)}.art-portrait span{bottom:-21px}.art-ring{width:200px;height:200px}.art-caption{bottom:12px;font-size:9px}.setup-controls{padding:25px}.setup-controls h2{font-size:24px}.setup-description{font-size:13px;margin-bottom:19px}.size-description{min-height:0;margin-bottom:16px}.size-option{padding:9px 12px;font-size:12px}.roster{margin-top:16px}.roster summary{padding:15px}.roster summary span{font-size:10px;margin-left:4px}.roster-grid{gap:15px 9px;padding:5px 15px 18px;grid-template-columns:repeat(4,minmax(0,1fr))}.roster-item img{height:62px;width:62px}.roster-item span{font-size:10px}.match-top{margin-top:0}.round-label h2{font-size:20px}.round-label span{font-size:11px}.match-instruction{font-size:11px;margin:14px 0}.match-grid{gap:12px}.portrait-wrap{height:clamp(175px,51vw,260px);padding:10px}.candidate{border-radius:13px}.candidate-copy{padding:14px 12px}.candidate-name{font-size:19px}.candidate-label{gap:5px}.pick-arrow{width:22px;height:22px;font-size:14px}.catchphrase{font-size:10px;line-height:1.6;min-height:32px}.versus{width:35px;height:35px;font-size:10px;border-width:3px;top:38%}.keyboard-note{display:none}.match-total{margin-top:16px}.result-panel{padding:25px 18px}.result-title{font-size:30px}.winner-portrait{height:220px;margin-top:14px}.result-copy{font-size:12px}.winner-quote{font-size:13px}.result-actions{gap:8px}.result-actions button{font-size:12px;padding:12px 16px}.footer{margin:26px 18px 0;padding:19px 0 24px;font-size:10px;flex-direction:column;align-items:center;gap:10px}.notice{padding:40px 18px}.notice h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* The matchup uses the page width so the original field-guide posters stay readable. */
.topbar{max-width:1764px;padding:13px 32px}.brand img{width:174px}.worldcup{max-width:1764px;padding:0 32px}.page-heading{padding:30px 0 24px}.page-heading h1{font-size:36px;margin:10px 0}.page-heading p{font-size:14px}.setup,.roster{max-width:1180px;margin-left:auto;margin-right:auto}.setup-art{min-height:380px}.setup-description{white-space:pre-line}.footer{max-width:1700px;margin:26px auto 0;padding:19px 0 24px}
body[data-screen="match"] .page-heading{padding:15px 0 12px}body[data-screen="match"] .page-heading h1{font-size:24px;margin:0}body[data-screen="match"] .page-heading>.eyebrow,body[data-screen="match"] .page-heading>p{display:none}body[data-screen="match"] .stage{min-height:0}.match-top{margin:0 0 10px}.match-instruction{margin:12px 0;font-size:13px}.match-grid{width:100%;max-width:1350px;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch;margin:0 auto}.candidate{display:flex;flex-direction:column}.candidate:hover{transform:none}.choose-candidate{display:flex;flex:1;flex-direction:column;width:100%;min-width:0;padding:0;border:0;color:inherit;text-align:left;background:transparent;border-radius:17px 17px 0 0}.choose-candidate:focus-visible{outline-offset:-4px}.choose-candidate:disabled{opacity:.62}.candidate.is-chosen .choose-candidate{opacity:1}.candidate .portrait-wrap{width:100%;height:clamp(440px,calc(100svh - 300px),800px);min-height:0;max-height:none;aspect-ratio:auto;flex-shrink:0;padding:8px}.candidate:hover .portrait-wrap img{transform:none}.candidate-copy{display:flex;flex:1;flex-direction:column;width:100%;min-height:76px;padding:15px 22px 12px}.candidate-name{font-size:25px}.catchphrase{min-height:0}.candidate-actions{display:flex;align-items:stretch;justify-content:space-between;gap:12px;margin-top:auto;padding:0 22px 15px}.zoom-button,.encyclopedia-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;border:1px solid #dce3d4;border-radius:7px;background:#f7f9f2;color:#4c6849;font-size:12px;font-weight:650;padding:8px 12px}.zoom-button:hover,.encyclopedia-link:hover{border-color:#87a07a;background:#ecf2e4}.encyclopedia-link{background:#fff}.candidate-actions>*{min-width:0}.versus{top:43%;width:48px;height:48px}.keyboard-note{margin-top:14px}.match-total{margin:9px 0 0}.bye-note{padding:12px 16px;margin:14px 0;border:1px solid #dbe4cf;border-radius:11px;background:#eff4e8;color:#5b7250;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.bye-note summary{cursor:pointer;font-weight:650}.bye-note p{margin:7px 0 0}.round-roster{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 0;padding:0;list-style:none}.round-roster li,.round-roster span{border:1px solid #dce5cf;background:#fff9;padding:5px 9px;border-radius:6px;font-size:12px}.round-roster img{width:26px;height:26px;object-fit:contain;vertical-align:middle;margin-right:5px}
.poster-dialog{width:min(calc(100vw - 40px),1640px);max-width:none;max-height:calc(100svh - 32px);padding:0;border:1px solid #d7dfcf;border-radius:14px;background:#f7f6f0;color:#263c32;overflow:auto;overscroll-behavior:contain}.poster-dialog::backdrop{background:#111c17c9;backdrop-filter:blur(5px)}.poster-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;z-index:1;padding:12px 18px;background:#f7f6f0f5;border-bottom:1px solid #dce3d4}.poster-dialog-header h2{font-size:17px;margin:0;line-height:1.4;overflow-wrap:anywhere}.poster-close{flex-shrink:0;min-width:44px;min-height:40px;border:1px solid #d5ddce;border-radius:7px;background:#fff;color:#52654c;font-size:14px;font-weight:650}.poster-image-wrap{padding:20px;display:flex;justify-content:center;min-height:180px}.poster-dialog img{display:block;width:auto;max-width:100%;height:auto;object-fit:contain;align-self:flex-start}.poster-hint{margin:0;padding:0 18px 16px;color:#78856c;text-align:center;font-size:12px;line-height:1.6}
.stats-panel{max-width:1180px;margin:28px auto 0;padding:25px 28px;border:1px solid var(--border);border-radius:18px;background:#fff}.stats-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}.stats-toolbar h2{margin:0;font-size:23px;letter-spacing:-.035em}.stats-toolbar p{margin:7px 0 0;color:#7b8670;font-size:13px;line-height:1.7}.stats-toolbar select{min-height:40px;max-width:100%;border:1px solid #d6dfce;border-radius:7px;background:#fff;color:#4c6445;padding:8px 30px 8px 12px;font:inherit;font-size:13px}.stats-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.stats-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;font-variant-numeric:tabular-nums}.stats-table th{padding:12px 14px;background:#f3f6ed;color:#728165;font-size:11px;font-weight:700;white-space:nowrap}.stats-table td{padding:12px 14px;border-bottom:1px solid #edf0e7;vertical-align:middle;white-space:nowrap}.stats-table tbody tr:last-child td{border-bottom:0}.stats-table th:first-child,.stats-table td:first-child{width:55px;text-align:center}.stats-table img{width:50px;height:63px;object-fit:contain;vertical-align:middle;margin-right:13px;border-radius:5px;background:#f5f7f0}.stats-table td a{font-weight:650}.stats-table td a:hover{text-decoration:underline}.stats-table strong{color:#3b6949}.stats-note,.stats-status,.save-status{color:#7d8872;font-size:12px;line-height:1.8}.stats-note{margin:15px 0 0}.stats-summary{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:#78866b}.stats-empty{padding:30px;text-align:center;color:#7b886f;font-size:13px}.stats-refresh{min-height:38px;padding:8px 13px;border:1px solid #dce3d4;border-radius:7px;background:#fff;color:#526d48;font:inherit;font-size:12px}.result-panel{max-width:1180px;margin:auto}.result-panel .winner-portrait{width:min(100%,520px);height:460px}.result-panel .candidate-actions{justify-content:center;padding:12px 0 0}
@media(min-width:1400px){.page-heading{padding-top:30px;padding-bottom:24px}.setup-art{min-height:410px}.setup-controls{padding:42px}}
@media(max-width:1800px){.footer{margin-left:32px;margin-right:32px}}
@media(max-width:800px){.topbar{padding:12px 20px}.brand img{width:160px}.worldcup{padding:0 20px}.page-heading{padding:24px 0 20px}.page-heading h1{font-size:30px}.match-grid{gap:14px}.candidate-copy{padding:13px 15px 10px}.candidate-name{font-size:22px}.candidate-actions{padding:0 15px 13px;gap:7px}.candidate-actions>*{font-size:11px;padding:8px}.candidate .portrait-wrap{height:auto;aspect-ratio:3 / 4;padding:5px}.candidate .portrait-wrap img{inset:5px;width:calc(100% - 10px);height:calc(100% - 10px)}.footer{margin-left:20px;margin-right:20px}.stats-panel{padding:20px}.stats-table th,.stats-table td{padding:10px}.poster-image-wrap{padding:12px}}
@media(max-width:560px){.topbar{padding:11px 15px}.brand img{width:146px}.home-link{display:inline;font-size:11px}.worldcup{padding:0 12px}.page-heading{padding:22px 0 19px}.page-heading h1{font-size:28px}.page-heading p{font-size:12px}.setup-art{min-height:205px}.setup-controls{padding:24px}.roster summary span{display:block;margin:5px 0 0 14px}.roster{margin-top:16px}body[data-screen="match"] .page-heading{padding:13px 0 11px}body[data-screen="match"] .page-heading h1{font-size:20px}.match-top{margin-bottom:8px}.round-label{gap:7px}.round-label h2{font-size:19px}.match-instruction{font-size:11px;margin:10px 0}.match-grid{gap:10px}.candidate .portrait-wrap{height:auto;aspect-ratio:3 / 4;min-height:0;max-height:none;padding:3px}.candidate .portrait-wrap img{inset:3px;width:calc(100% - 6px);height:calc(100% - 6px)}.candidate-copy{padding:11px 10px 8px}.candidate-name{font-size:18px}.catchphrase{font-size:10px;min-height:32px}.pick-arrow{width:20px;height:20px}.candidate-actions{flex-direction:column;gap:6px;padding:0 9px 11px}.candidate-actions>*{width:100%;min-height:36px;font-size:11px;padding:7px 4px}.versus{width:31px;height:31px;border-width:3px;font-size:9px;top:39%}.match-total{margin-top:13px}.bye-note{font-size:11px;padding:10px 12px}.round-roster li,.round-roster span{font-size:10px;padding:4px 6px}.footer{margin:24px 12px 0}.stats-panel{margin-top:20px;padding:18px 12px;border-radius:13px}.stats-toolbar{gap:12px}.stats-toolbar h2{font-size:21px}.stats-toolbar p{font-size:11px}.stats-toolbar select{font-size:12px}.stats-table{font-size:11px}.stats-table th{font-size:10px}.stats-table th,.stats-table td{padding:10px 8px}.stats-table th:first-child,.stats-table td:first-child{width:35px}.stats-table img{width:35px;height:48px;margin-right:6px}.stats-note,.stats-status,.save-status{font-size:11px}.poster-dialog{width:calc(100vw - 14px);max-height:calc(100svh - 14px);border-radius:10px}.poster-dialog-header{padding:10px 12px;gap:12px}.poster-dialog-header h2{font-size:15px}.poster-close{min-height:38px}.poster-image-wrap{padding:8px}.poster-hint{font-size:10px;padding:0 12px 12px}.result-panel .winner-portrait{height:390px}.result-panel .candidate-actions{flex-direction:row}}.poster-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.poster-fit{min-height:40px;padding:8px 13px;border:1px solid #d5ddce;border-radius:7px;background:#fff;color:#52654c;font:inherit;font-size:12px;font-weight:650}.poster-body{max-height:calc(100svh - 132px);padding:16px;overflow:auto;text-align:center;overscroll-behavior:contain}.poster-dialog .poster-image{display:inline-block;vertical-align:top;width:auto;height:auto;max-width:100%;max-height:calc(100svh - 164px);object-fit:contain}.poster-dialog.is-original .poster-body{text-align:left}.poster-dialog.is-original .poster-image{max-width:none;max-height:none;width:auto;height:auto}.stats-table .zoom-button{border:0;padding:0;background:transparent;min-height:0}.stats-table .zoom-button img{margin:0}.stats-table .zoom-button:hover{background:#edf3e8}.stats-table .stats-creature{display:flex;align-items:center;gap:12px}.stats-table .stats-creature img{margin-right:0}
@media(max-width:560px){.poster-header-actions{gap:5px}.poster-fit{padding:7px 9px;font-size:10px;min-height:38px}.poster-body{padding:7px;max-height:calc(100svh - 124px)}.poster-dialog .poster-image{max-height:calc(100svh - 138px)}.poster-dialog.is-original .poster-image{max-height:none}.stats-table .stats-creature{gap:7px}}.nav-action{border:1px solid #d9e2d0;background:#edf3e6;color:#47663e;border-radius:7px;padding:9px 13px;font:inherit;font-weight:650;font-size:12px;min-height:37px}.nav-action:hover{background:#e4edda}.setup-stats{margin-top:16px}.choose-label{flex-shrink:0;color:#5c7a50;font-size:12px;font-weight:700;border:1px solid #dce5d2;padding:6px 10px;border-radius:6px}.round-label .participant-count{padding:4px 8px;background:#edf2e5;border-radius:5px;color:#6c7d5e;font-size:11px}.bye-note strong,.bye-note>span{display:block}.bye-note>span{font-size:11px;color:#7a896d;margin-top:2px}.round-roster{display:block;padding:13px 16px;margin-top:17px;background:#fff9;border:1px solid #e0e5d7;border-radius:10px;font-size:12px;color:#6b7c5e}.round-roster summary{font-weight:650;cursor:pointer}.round-roster>p{font-size:11px;line-height:1.7;color:#8a957f;margin:10px 0}.round-roster-list{display:flex;gap:7px;flex-wrap:wrap}.round-roster-list .is-current{background:#edf4e7;color:#416d45;border-color:#a5bd98}.result-poster-actions{display:flex;gap:9px;justify-content:center;margin:17px 0 0}.result-save-status{font-size:12px;color:#7b886f;line-height:1.8;margin-top:18px}.stats-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.stats-heading h2{font-size:25px;letter-spacing:-.04em;margin:0}.stats-toolbar{align-items:end;gap:12px}.stats-summary{flex:1;margin:0 10px 8px 0;line-height:1.7;min-width:170px}.stats-search,.stats-sort{display:flex;flex-direction:column;gap:6px;color:#79866c;font-size:11px}.stats-search input{width:185px;max-width:100%;height:40px;border:1px solid #d6dfce;border-radius:7px;background:#fff;color:#4c6445;padding:8px 12px;font:inherit;font-size:13px}.stats-explanation{font-size:12px;color:#7c8970;line-height:1.8;margin:0 0 18px}.stats-table{min-width:590px}.stats-table td small{display:block;font-size:10px;line-height:1.7;color:#8b9780;margin-top:4px}.stats-table .stats-creature{display:table-cell;min-width:160px;white-space:normal}.stats-thumbnail{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;border:1px solid #e1e7d9;border-radius:6px;padding:2px;margin-right:11px;background:#f4f7ed;cursor:zoom-in}.stats-thumbnail:hover{border-color:#90a57f}.stats-portrait{display:block;width:45px;height:65px}.stats-table .stats-portrait img{display:block;width:100%;height:100%;max-width:100%;margin:0;object-fit:contain;background:none;border-radius:3px}.stats-name{font-weight:650;vertical-align:middle;overflow-wrap:anywhere}.stats-name:hover{text-decoration:underline}
@media(max-width:560px){.topbar nav{gap:8px}.nav-action{font-size:10px;padding:7px 9px;min-height:34px}.choose-label{font-size:9px;padding:4px 5px}.candidate-label{gap:4px}.candidate-name{font-size:17px}.round-label .participant-count{font-size:9px;padding:3px 6px}.bye-note strong{font-size:11px}.bye-note>span{font-size:10px}.round-roster{padding:11px 12px;font-size:11px}.stats-heading{align-items:start;gap:12px;flex-direction:column;margin-bottom:16px}.stats-heading h2{font-size:22px}.stats-heading .secondary{font-size:11px;min-height:37px;padding:9px 13px}.stats-summary{flex-basis:100%;margin:0;font-size:11px}.stats-search{flex:1;min-width:125px}.stats-search input{width:100%;font-size:12px}.stats-sort{max-width:135px}.stats-toolbar{gap:10px}.stats-toolbar .quiet-button{font-size:11px;padding:8px 0}.stats-explanation{font-size:10px;line-height:1.8}.stats-table{min-width:540px}.stats-table .stats-creature{min-width:150px}.stats-portrait{width:35px;height:52px}.stats-thumbnail{margin-right:7px}.stats-table td small{font-size:9px}.result-save-status{font-size:11px}.result-poster-actions>*{font-size:11px}}.stats-scroll{max-height:min(70svh,900px);overflow-y:auto;scrollbar-gutter:stable}.stats-table thead th{position:sticky;top:0;z-index:1}
/* A bye is its own single-creature screen, with no opponent or selection controls. */
body[data-screen="bye"] .page-heading{padding:15px 0 12px}body[data-screen="bye"] .page-heading h1{font-size:24px;margin:0}body[data-screen="bye"] .page-heading>.eyebrow,body[data-screen="bye"] .page-heading>p{display:none}body[data-screen="bye"] .stage{min-height:0}.bye-screen{max-width:1350px;margin:0 auto}.bye-heading{text-align:center;margin:20px 0 18px}.bye-heading h2{margin:0 0 8px;font-size:24px;letter-spacing:-.035em}.bye-heading p{margin:0;color:#7a886e;font-size:13px;line-height:1.7}.bye-card{width:min(100%,530px);margin:0 auto}.bye-card .portrait-wrap{height:clamp(390px,calc(100svh - 375px),720px);background:#eef4e4}.bye-card .candidate-copy{text-align:center;align-items:center;min-height:0;padding:14px 22px 10px}.bye-card .candidate-name{font-size:25px;margin:0}.bye-card .candidate-actions{justify-content:center;padding:8px 20px 17px;gap:10px}.bye-copy{text-align:center;color:#6f7e63;font-size:13px;line-height:1.8;margin:14px 0}.bye-copy p{margin:4px 0}.bye-actions{display:flex;justify-content:center;gap:10px;margin:16px 0 0}.bye-actions .primary{min-width:240px}.bye-heading .eyebrow{margin-bottom:7px}
@media(max-width:800px){.match-grid{align-items:stretch}.bye-card{width:min(100%,430px)}.bye-card .portrait-wrap{height:clamp(350px,calc(100svh - 365px),600px);aspect-ratio:auto}}
@media(max-width:560px){body[data-screen="bye"] .page-heading{padding:13px 0 11px}body[data-screen="bye"] .page-heading h1{font-size:20px}.candidate-copy{min-height:85px}.bye-heading{margin-bottom:13px}.bye-heading h2{font-size:21px}.bye-heading p{font-size:11px}.bye-card{width:min(100%,330px)}.bye-card .portrait-wrap{height:clamp(300px,calc(100svh - 365px),510px);aspect-ratio:auto}.bye-card .candidate-copy{min-height:0;padding:12px 16px 8px}.bye-card .candidate-name{font-size:22px}.bye-card .candidate-actions{flex-direction:row;gap:8px;padding:6px 16px 13px}.bye-card .candidate-actions>*{width:auto;flex:1}.bye-copy{font-size:11px;margin:12px 0}.bye-actions{margin-top:13px}.bye-actions .primary{min-width:230px;font-size:13px}}