/* UI refresh: all type continues to use the existing Silkscreen font. */
.page{padding-top:12px}
header{padding-bottom:10px}
header .brand{gap:2px}
header .brand canvas{width:100px;min-width:0;height:50px;aspect-ratio:2/1}
header .brand .wordmark{font-size:16px;line-height:1.3}
time{font-size:12px;line-height:1.6}
.views{padding-bottom:6px}.views button{font-size:14px}
.round-navigation{padding-top:8px;gap:6px}.round-navigation>button,.round-navigation summary,.round-navigation .text-button{font-size:12px}
.hero{min-height:136px;padding:16px 0;gap:16px}.hero h1{font-size:26px}.hero .eyebrow{font-size:11px;margin-bottom:6px}.hero #instruction{font-size:13px;line-height:1.6;margin-top:6px}
.hero .jersey{width:112px;flex-basis:112px;min-height:112px}.hero .jersey canvas{width:128px;height:128px}#spin-digits{width:100px;height:104px;font-size:48px;box-shadow:3px 3px 0 var(--line)}
.game{padding-top:12px}.scoreboard{margin-bottom:14px}.scoreboard .eyebrow{font-size:11px;line-height:1.6}.scoreboard strong{font-size:24px}.scoreboard p>span:not(.eyebrow){font-size:12px}
.spin-button{margin:0 0 6px;min-height:52px;font-size:18px}
#message{font-size:13px;line-height:1.6;min-height:0;margin:10px 0}#message:empty{min-height:0;margin:0}#guess-hint{font-size:12px;line-height:1.6}
#pass{font-size:12px;margin-top:4px;padding-inline:0}#lineup{margin-top:16px}.slot{padding-block:12px}.slot.empty{min-height:44px;padding-block:8px}
.slot .player-info small{font-size:13px;line-height:1.55}.slot .player-info .player-teams{font-size:13px;margin-top:5px}.slot .player-info b{font-size:16px;line-height:1.5}.points{flex-shrink:0}
.t5 .points,.points.t5,.t5 .tier-number,.rarity-key .t5 b{color:#182e39}
body[data-phase=complete] .hero{display:none}
body[data-phase=complete] .game{margin-top:14px}
#result{border:0;padding:0;margin:0 0 18px;background:none}#result-heading{font-size:26px;line-height:1.4}#result-copy{font-size:13px;line-height:1.65;margin:6px 0 0}#result-mode{font-size:11px;margin-bottom:6px}
body[data-phase=complete] .scoreboard{padding:12px;background:var(--surface);border:1px solid var(--line);margin-bottom:0}
body[data-phase=complete] #lineup{margin-top:4px}
#result-actions{margin-top:20px}.result-actions{gap:10px}.result-actions button{font-size:14px;min-width:0;min-height:48px}.result-actions #share{grid-column:1/-1}.result-actions .new-game{grid-column:auto}
#share-status{font-size:13px;line-height:1.6;margin-top:10px}#share-status:empty{display:none}
.round-actions{margin-top:8px}.round-actions .text-button{font-size:12px}.reset-controls{margin-top:14px}.reset-controls button{font-size:13px;border-color:var(--line)}.reset-controls .hint{font-size:12px}
.test-note{font-size:12px;line-height:1.6;margin-top:18px}footer{margin-top:22px;font-size:10px}
.athlete-count{font-size:12px;padding:8px 12px}.athlete-more{width:100%;font-size:13px;border-top:1px solid var(--line)}.athlete-teams{font-size:12px;line-height:1.6}.athlete-owned{grid-column:1/-1;font-size:12px;line-height:1.6;color:#375443;margin-top:5px}.athlete-option[aria-disabled=true]{background:#edf0e8}.athlete-option[aria-selected=true] .athlete-owned{color:var(--surface)}.athlete-option[aria-selected=true]{background:var(--ink)}
#reveal-step{font-size:11px}#reveal-title{font-size:22px}.rarity-caption{font-size:11px;margin-bottom:5px}.reveal-rarity{margin-bottom:12px}.reveal-teams{font-size:13px;line-height:1.6}.trophy-league{font-size:12px;line-height:1.5;margin-top:4px}#reveal-card .trophy-league{font-size:13px}
.switch-hint{font-size:12px}#case-tiers .switch-hint{font-size:11px;line-height:14px}#case-tiers .jersey-toggle{padding-top:17px}
#trophy-case{padding-top:18px}#case-note{font-size:12px;line-height:1.6;margin:8px 0 14px}.case-heading h1{font-size:22px}
#case-tools>.case-search{margin-bottom:6px}#case-tools label{font-size:12px}.case-search input{min-height:48px}#case-filter-menu{border-bottom:1px solid var(--line)}#case-filter-menu summary{font-size:12px;line-height:1.7;padding:8px 0;overflow-wrap:anywhere}.case-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-bottom:12px}.case-filters>div:last-child{grid-column:1/-1}.case-filters select{font-size:13px}
#case-results{font-size:12px;margin:14px 0}#case-empty{padding:24px 16px;margin-top:16px;border:1px solid var(--line)}#case-empty-copy{font-size:15px;line-height:1.7}#case-start{margin-top:18px;width:100%;font-size:13px}
.empty-jersey{width:128px;height:128px;display:block;image-rendering:pixelated;margin:0 auto 18px}
.case-tier-heading{font-size:16px}.collection-help{margin-top:20px}.collection-help summary,.collection-help p{font-size:12px;line-height:1.7}
.help-steps{list-style:decimal;padding-left:24px;margin:0}.help-steps li{padding:0 0 18px 4px;font-size:16px;line-height:1.6}.help-steps b{display:block}.help-steps p{font-size:14px;line-height:1.7;margin:6px 0 0}.help-details{border-top:1px solid var(--line)}.help-details summary{font-size:13px}.help-details p{font-size:13px;line-height:1.7;margin:12px 0}dialog .dialog-heading h2{font-size:20px}dialog .dialog-heading .text-button{font-size:12px}dialog p{line-height:1.7}
@media(min-width:680px){
 .page{padding-top:20px}header .brand canvas{width:112px;height:56px}header .brand .wordmark{font-size:18px}
 .hero{min-height:150px}.hero h1{font-size:30px}.hero .jersey{width:136px;flex-basis:136px}.hero .jersey canvas{width:144px;height:144px}
 #case-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:20px;align-items:start}#case-filter-menu{border-bottom:0}#case-filter-menu summary{padding-top:0;min-height:28px}.case-filters{grid-template-columns:repeat(3,minmax(0,1fr));padding-bottom:0}.case-filters>div:last-child{grid-column:auto}
}
@media(max-width:360px){
 .round-navigation{gap:4px}.round-navigation button{padding-inline:6px}.round-navigation #help-button{font-size:11px}.round-navigation summary{font-size:11px}
 header .brand canvas{width:88px;height:44px}header .brand .wordmark{font-size:15px}time{font-size:11px}
 .hero{gap:12px;min-height:128px}.hero h1{font-size:22px}.hero .jersey{width:96px;flex-basis:96px;min-height:100px}.hero .jersey canvas{width:108px;height:108px}#spin-digits{width:88px;height:92px;font-size:44px}.hero #instruction{font-size:12px}
 #lineup .position{width:26px;font-size:14px}.slot{gap:10px}.slot .player-info b{font-size:14px}.slot .player-info small,.slot .player-info .player-teams{font-size:12px}.points{width:40px;min-width:40px;height:40px}.result-actions button{font-size:12px}.case-heading h1{font-size:20px}
}



@media(min-width:680px){#case-tools>.case-search{padding-top:35px}}

/* Keep form labels and status announcements available without repeating visible copy. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
#message:empty{min-height:0;margin:0}
#case-tiers:not(:empty){margin-top:16px}

/* Center the rarity score independently of the dialog's paragraph leading. */
.reveal-rarity .points{padding:0;line-height:1;letter-spacing:0;display:flex;align-items:center;justify-content:center}
/* One gap between reveal sections; no stacked card/notice/button margins. */
#reveal-card{display:flow-root}
#reveal-card .trophy-card{margin-bottom:0}
#reveal-card .reveal-teams,#reveal-card .reveal-art-note{margin:12px 0 0}
#reveal-dialog #badge-reveal{margin:20px 0 0}
#reveal-dialog #continue{margin-top:20px}
/* The existing focus ring extends 6px beyond the action border. */
#reveal-dialog #continue:focus-visible{margin-top:26px}
