:root{--bg:#18171c;--panel:#222127;--line:#3a363f;--ink:#f3edf2;--muted:#ada5b1;--coral:#e9a5b6;--display:'DM Sans',Arial,sans-serif}
.site-header{height:76px;padding:0 34px;max-width:1540px;gap:28px}
.brand{gap:10px}.brand .fox{width:27px;height:27px}.brand>span{font:600 19px/1.3 var(--sans);letter-spacing:0}
nav{gap:27px}.nav-button{font-size:12px}.nav-button.active:after{height:2px}
main{padding-top:28px;min-height:calc(100vh - 141px)}
h1,.intro h1,.ranking-result h1,.view-topbar h1{font-family:var(--sans);font-size:29px;line-height:1.25;font-weight:600;letter-spacing:-.6px;text-transform:none;margin:0 0 9px}
h1 em{font-style:normal;color:inherit}
.intro{align-items:flex-start;margin-bottom:23px;gap:20px}.intro p{font-size:12px;line-height:1.7;margin:0;max-width:none}
.intro-stat{border:1px solid var(--line);background:#25222a;padding:7px 10px;border-radius:7px;min-width:0;font-size:11px;color:var(--muted);white-space:nowrap}
.intro-stat strong{font:600 12px/1.5 var(--sans);letter-spacing:0}.intro-stat strong span{font:inherit;color:inherit}.intro-stat small{font-size:9px;margin-top:2px}
.eyebrow{font-size:10px;text-transform:none;letter-spacing:0;color:var(--muted);font-weight:500}.eyebrow:before{display:none}
.match-toolbar{margin-bottom:11px}.round-pill{background:#30252d;color:#e8b2c0;border-radius:5px;font-weight:500}.progress-track{height:2px;margin-bottom:19px}
.duel{grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr)}.versus{font:400 12px/1 var(--sans);letter-spacing:0;color:#918494}
.skin-card{border-color:#655760;border-radius:9px;box-shadow:none}.skin-card:hover,.skin-card:focus-visible{transform:none;box-shadow:0 0 0 1px var(--coral)}
.skin-stage,.skin-wrap:nth-child(3) .skin-stage{height:440px;background:#cbc2c8}
.skin-stage:before,.skin-stage:after{content:none;display:none}.skin-stage img{padding:0;filter:none}.stage-corner{display:none}
.skin-info{padding:17px 19px 18px;background:#f0e9ec}.skin-name{font:600 23px/1.2 var(--sans);text-transform:none;letter-spacing:-.4px;margin:7px 0 7px}
.rarity{font-size:9px;letter-spacing:.3px;text-transform:none;font-weight:500}.collection{font-size:10px;letter-spacing:0;color:#7c6d79}
.choose-line{font-size:11px;font-weight:500;margin-top:13px;padding-top:12px;border-color:#d5c8d1}.choose-line span:last-child{color:#8c6276}.choose-line .key-badge{font-size:9px!important}
.zoom-button{background:#f8f1f6d9;color:#59444f;border-color:#b7a5b866;border-radius:8px}.zoom-button:hover{border-color:#846779}
.primary-button{background:#e9a5b6;font-size:11px;font-weight:600;border-radius:6px;padding:11px 16px;gap:8px}.primary-button:hover{background:#f1b8c6}
.subtle-button{font-size:10px;border-radius:6px}.icon-button{border-radius:8px}.match-actions{margin-top:17px}.keyboard-hint{font-size:9px}
.view-heading{margin-bottom:21px}.view-heading p{font-size:12px;margin:0;line-height:1.8}.view-topbar{align-items:flex-start}.roster-controls{margin-top:8px}
.roster-card{border-radius:7px}.roster-details .skin-name{font:500 14px/1.45 var(--sans);letter-spacing:0;min-height:40px;text-transform:none}.roster-details .rarity{font-size:8px;letter-spacing:0}
.roster-image{height:200px}.roster-details{padding:12px}.roster-image img{padding:0}.skin-status{font-size:9px}
.ranking-panel{border-radius:8px;background:#201e25}.ranking-panel-heading{padding:19px 16px 8px}.ranking-panel h2{font:600 18px/1.35 var(--sans);text-transform:none;letter-spacing:-.2px;margin:0;gap:8px}
.ranking-counter{font:500 13px/1.1 var(--sans)}.ranking-counter small{font-size:8px;margin-top:5px}.live-dot{width:5px;height:5px;box-shadow:none}
.ranking-explainer{font-size:10px;margin:5px 16px 16px;min-height:0}.ranking-list{max-height:min(720px,calc(100vh - 220px))}
.rank-number{font:500 15px/1 var(--sans);letter-spacing:-.3px}.rank-number.long-rank{font-size:13px}.rank-number small{font-size:9px}.is-confirmed .rank-number{font-size:18px}
.ranking-row{grid-template-columns:50px 37px minmax(0,1fr)}.ranking-row.is-comparing{background:#31252f;border-color:#765367}.ranking-row.is-confirmed{background:#332b31;border-color:#80657460}.ranking-panel-footer{padding:12px 16px}
.ranking-result{padding-top:0}.result-intro{font-size:12px;line-height:1.7;margin:0 0 23px}.podium{gap:13px}.podium-card{border-radius:8px}.podium-card.place-1{box-shadow:none;border-color:#c2a19d}
.podium-place{font-size:10px;letter-spacing:0;padding:13px}.podium-place strong{font:600 20px/1 var(--sans)}.podium-image{height:300px}.podium-info .skin-name{font:600 18px/1.35 var(--sans);text-transform:none;min-height:49px;letter-spacing:-.2px}.podium-info .rarity{font-size:9px}
.placed-list li>span{font:500 17px/1 var(--sans)}.bracket-round>h2{font:500 15px/1.4 var(--sans);text-transform:none;padding:17px 0 13px}.bracket-champion strong{font:600 23px/1.3 var(--sans);text-transform:none}.bracket-champion{color:var(--muted)}
.current-tag{font-size:8px;letter-spacing:0}.bye-tag{font-size:8px}.site-footer{min-height:65px;max-width:1472px;justify-content:space-between;font-size:10px}.site-footer button{font-size:10px;padding:0}.site-footer .save-status{font-size:10px}
dialog{border-radius:10px;background:#242029;box-shadow:0 20px 90px #0007}.dialog-title{font:600 24px/1.3 var(--sans);text-transform:none;letter-spacing:-.4px}.dialog-copy{font-size:12px;line-height:1.85;color:#c0b4c3}.dialog-copy h3{font-size:12px;font-weight:600;margin-top:22px}.dialog-copy .scope-note{border-left-color:#bd8fa8;background:#302833}
.source-note{font-size:10px;color:#9e8da5}.source-links a{font-size:11px}.audit-tiers{display:flex;flex-wrap:wrap;gap:7px;margin:15px 0}.audit-tiers span{border:1px solid #514351;padding:4px 8px;border-radius:5px;font-size:10px;color:#c9b9c9}
@media(min-width:1600px){main{padding-top:32px}.skin-stage,.skin-wrap:nth-child(3) .skin-stage{height:470px}}
@media(max-width:1250px){.skin-stage,.skin-wrap:nth-child(3) .skin-stage{height:365px}.intro h1{font-size:27px}.intro p{font-size:11px}.skin-name{font-size:21px}.podium-image{height:245px}.podium-info .skin-name{font-size:16px}.ranking-panel h2{font-size:18px}}
@media(max-width:950px){.ranking-panel-heading{padding-top:17px}.ranking-list{max-height:430px}.ranking-row{grid-template-columns:58px 40px minmax(0,1fr)}.skin-stage,.skin-wrap:nth-child(3) .skin-stage{height:420px}.podium-image{height:280px}}
@media(max-width:700px){.site-header{height:auto;min-height:105px;padding:17px 18px 0;gap:10px}.brand>span{font-size:18px}.brand .fox{width:24px;height:24px}.site-header>nav{height:42px}.nav-button{font-size:11px}.icon-button{width:31px;height:31px}main{padding:23px 16px 22px}.intro{gap:10px;margin-bottom:20px}.intro h1,.view-topbar h1,.ranking-result h1{font-size:24px;line-height:1.3;letter-spacing:-.5px}.intro p{font-size:10px;line-height:1.8;max-width:245px}.intro-stat{font-size:9px;padding:6px 8px}.intro-stat strong{font-size:10px}.intro-stat small{font-size:8px}.duel{grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr)}.versus{font-size:10px}.skin-stage,.skin-wrap:nth-child(3) .skin-stage{height:290px}.skin-stage img{padding:0}.skin-info{padding:13px 11px 14px}.skin-name{font-size:17px;line-height:1.3;min-height:45px;letter-spacing:-.3px}.rarity{font-size:8px;letter-spacing:0}.collection{font-size:8px;line-height:1.5}.choose-line{font-size:9px}.choose-line span:last-child{font-size:14px}.zoom-button{width:28px;height:28px}.view-topbar .primary-button{font-size:9px;padding:9px 11px}.view-heading p{font-size:10px}.roster-image{height:170px}.roster-details{padding:10px 8px}.roster-details .skin-name{font-size:12px;line-height:1.4;min-height:34px}.roster-details .rarity{font-size:7px}.ranking-panel h2{font-size:18px}.ranking-explainer{font-size:10px}.podium-image{height:190px}.podium-info{padding:12px 8px}.podium-info .skin-name{font-size:13px;line-height:1.4;min-height:55px}.podium-place{font-size:8px;padding:10px 8px}.podium-place strong{font-size:16px}.podium-info .rarity{font-size:7px}.result-intro{font-size:11px}.site-footer{padding:17px 18px;gap:10px}.site-footer .save-status{display:block;font-size:8px}.site-footer button{font-size:9px}.dialog-title{font-size:22px}.dialog-copy{font-size:11px}.source-note{font-size:9px}.bracket-round>h2{font-size:14px}}
@media(max-width:370px){.skin-stage,.skin-wrap:nth-child(3) .skin-stage{height:255px}.skin-name{font-size:15px}.intro h1{font-size:22px}.roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Hero switching and the optional results screen. */
.brand-subtitle{display:block;color:var(--muted);font-size:11px;line-height:1.25;font-weight:400;margin-top:2px;letter-spacing:0}.brand{white-space:nowrap}
.hero-picker{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px;margin:0 0 30px;padding:2px 1px 5px}
.hero-button{display:flex;align-items:center;gap:9px;min-width:0;padding:10px 9px;text-align:left;background:#211f26;border:1px solid var(--line);border-radius:8px;transition:border-color .15s,background .15s}
.hero-button:hover{background:#30272f;border-color:#896977}.hero-button.selected{background:#372830;border-color:var(--coral)}
.hero-button img{width:42px;height:42px;object-fit:contain;background:#322c36;border-radius:6px;flex-shrink:0}.hero-button>span{min-width:0}
.hero-button strong{display:block;font-size:12px;font-weight:600;white-space:nowrap}.hero-button small{display:block;font-size:9px;color:var(--muted);margin-top:5px}
.kiriko-heart{font-size:10px;margin-left:5px;color:var(--coral)}
.result-next{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #795361;border-radius:9px;background:#30232c;padding:19px 21px;margin:0 0 26px}
.result-next>div{display:flex;flex-direction:column;gap:6px}.result-next strong{font-size:14px;font-weight:500}.result-next>div>span{font-size:11px;color:#b8a9b5}
.result-next .continue-button{font-size:17px;padding:16px 25px;min-height:56px;min-width:180px;box-shadow:0 3px 14px #0003}.continue-button>span{font-size:23px;margin-left:12px}
.ranking-panel-footer .view-ranking-button{font-size:12px;border:1px solid #806271;color:#f1c6d2;border-radius:6px;text-align:center;width:100%;padding:10px;background:#352932}
.zoom-dialog{max-width:min(1100px,96vw);width:fit-content}.zoom-image{width:min(990px,84vw);height:min(72vh,1000px);object-fit:contain}.zoom-meta{justify-content:center;gap:12px}
/* Keep the full image height; center and crop excess width in the card. */
.skin-stage img,.skin-stage img[data-wide],.skin-card:hover .skin-stage img,.skin-card:hover .skin-stage img[data-wide]{position:absolute;top:0;left:50%;height:100%;width:auto;max-width:none;object-fit:contain;object-position:center;margin:0;padding:0;transform:translateX(-50%)}
@media(max-width:1200px){.hero-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:25px}.hero-button{padding:8px 11px}.hero-button img{width:35px;height:35px}.hero-button strong{font-size:12px}.hero-button small{font-size:9px;margin-top:3px}}
@media(max-width:700px){.brand>span{font-size:17px}.hero-picker{gap:6px;margin-bottom:22px}.hero-button{flex-direction:column;text-align:center;padding:9px 3px;gap:6px}.hero-button img{width:35px;height:35px}.hero-button strong{font-size:11px}.hero-button small{font-size:8px}.kiriko-heart{font-size:8px;margin-left:3px}.result-next{padding:17px;flex-direction:column;align-items:stretch;gap:14px}.result-next>div{gap:5px}.result-next .continue-button{font-size:17px;width:100%;padding:15px 19px;min-height:54px}.ranking-panel-footer{flex-wrap:wrap}.ranking-panel-footer .view-ranking-button{width:100%;flex-basis:100%}.zoom-image{height:65vh;width:85vw}.zoom-meta{gap:8px}}
