/* Shared navigation, resource actions and compact game entry screens. */
.nav-soon{display:inline-block;margin-left:3px;font-size:.65rem;line-height:1.3;color:#76602d;font-weight:600}
.hero-levels .nav-soon{color:inherit}
.nav a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:3px}
.topic-card .topic-primary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;align-items:stretch}
.topic-card .topic-primary-actions .btn{width:100%;min-width:0;min-height:44px;margin:0;padding:10px 8px;display:flex;justify-content:center;align-items:center;gap:5px;font-size:.8rem;line-height:1.3;white-space:normal;text-align:center}
.topic-card .topic-primary-actions .btn-play-games{grid-column:auto;box-shadow:none}
.topic-card .topic-primary-actions .btn-play-games span{font-size:inherit}
.topic-downloads{margin-top:4px;border-top:1px solid #d7cba8;padding-top:4px}
.topic-downloads summary{padding:10px 2px;min-height:44px;cursor:pointer;font-size:.85rem;font-weight:700;color:#10223d}
.topic-downloads summary span{font-size:.72rem;font-weight:400;color:#657084;margin-left:6px}
.topic-downloads summary:focus-visible{outline:3px solid #b58b35;outline-offset:2px;border-radius:4px}
.topic-download-list{display:grid;gap:8px;padding:0 0 8px}
.topic-download-row{display:flex;flex-wrap:wrap;gap:5px 14px;padding:6px 10px;border-radius:8px;background:#f5f1e7}
.topic-download-row a{display:inline-flex;align-items:center;min-height:44px;font-size:.8rem;color:#163f65;text-decoration:underline;text-underline-offset:3px}
.learning-guide{list-style:none;padding:0;margin:0 0 24px}
.learning-guide .panel,.difficulty-guide{padding:24px}
.learning-guide h3{margin:16px 0 10px}
.learning-guide p,.difficulty-guide p,.difficulty-guide dd{color:#536074;line-height:1.65}
.difficulty-guide h2{font-size:clamp(1.5rem,3vw,2rem)}
.difficulty-guide dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}
.difficulty-guide dt{font-weight:700;color:#10223d}
.difficulty-guide dd{margin:6px 0 0}
.jackpot-stage .jackpot-stage-header{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 16px;padding-top:20px;padding-bottom:8px;text-align:left}
.jackpot-stage .jackpot-stage-header h1{grid-column:1/-1;font-size:clamp(1.8rem,3.6vw,3rem);line-height:1.15;margin:4px 0;max-width:1000px}
.jackpot-stage .games-back{margin-bottom:0;min-height:44px}
.jackpot-stage .stage-kicker-row{grid-column:2;min-width:0}
.jackpot-stage .jackpot-activity-label{grid-column:1/-1;margin:0}
.jackpot-stage .challenge-shell{padding-top:8px;padding-bottom:28px}
.jackpot-stage .jackpot-setup,.hm-stage .hm-mode-chooser{max-width:760px;margin-left:auto;margin-right:auto;padding:18px}
.jackpot-stage .chooser-music-row{margin-bottom:12px}
.jackpot-stage .jackpot-choice-heading,.hm-stage .jackpot-choice-heading{margin-bottom:12px}
.jackpot-stage .final-flight-briefing{margin:0 auto 14px;padding:12px 16px;max-width:600px;min-height:0}
.jackpot-stage .final-flight-mascot{width:54px;height:54px;flex-basis:54px}
.jackpot-stage .difficulty-scroll-grid,.hm-stage .difficulty-scroll-grid{width:100%;max-width:640px;box-sizing:border-box;margin:0 auto}
.hm-stage .hm-heading{margin:12px 0}
.hm-stage .hm-heading h1{font-size:clamp(1.8rem,3.6vw,3rem)}
.hm-stage .hm-heading img{width:48px;height:48px}
.hm-stage .hm-topic{margin:10px 0 14px}
.preview-page{padding-top:20px}
.preview-page .preview-heading{margin-top:12px;margin-bottom:16px}
.memory-stage .memory-settings{grid-template-columns:minmax(180px,240px) minmax(0,540px);justify-content:space-between;align-items:center}
.memory-stage .memory-scroll-grid{max-width:540px;box-sizing:border-box;margin-left:auto;margin-right:auto}
@media(min-width:761px){
 .jackpot-stage .difficulty-scroll-label>strong,.hm-stage .difficulty-scroll-label>strong,.memory-stage .difficulty-scroll-label>strong{font-size:26px!important}
 .jackpot-stage .difficulty-scroll-sapphire .difficulty-scroll-label>strong,.hm-stage .difficulty-scroll-sapphire .difficulty-scroll-label>strong,.memory-stage .difficulty-scroll-sapphire .difficulty-scroll-label>strong{font-size:20px!important}
 .jackpot-stage .difficulty-scroll-label>small,.hm-stage .difficulty-scroll-label>small,.memory-stage .difficulty-scroll-label>small{font-size:12px!important}
}
@media(max-width:800px){
 .memory-stage .memory-settings{gap:12px}
 .memory-stage .memory-scroll-grid{width:100%}
 .difficulty-guide dl{grid-template-columns:1fr;gap:14px}
}
@media(max-width:600px){
 .nav{gap:3px;flex-wrap:wrap}
 .nav a{padding:8px;font-size:.75rem}
 .nav-soon{font-size:.6rem}
 .jackpot-stage .jackpot-stage-header{padding-top:14px}
 .jackpot-stage .stage-kicker-row{justify-content:flex-end}
 .jackpot-stage .stage-kicker-row .tv-kicker{display:none}
 .jackpot-stage .jackpot-setup,.hm-stage .hm-mode-chooser{padding:12px 8px}
 .jackpot-stage .final-flight-briefing{gap:10px;padding:10px}
 .jackpot-stage .final-flight-briefing p{font-size:.8rem;line-height:1.5}
 .hm-stage .hm-top{gap:8px;flex-wrap:wrap}
 .hm-stage .hm-top>span{font-size:.6rem;letter-spacing:.08em}
 .topic-card .topic-primary-actions .btn{font-size:.8rem}
 .learning-guide .panel,.difficulty-guide{padding:20px}
}
