.intro{gap:14px;flex-wrap:wrap}.intro>div{flex:1;min-width:260px}.intro #games{white-space:normal;max-width:220px;min-height:58px}.game-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.game-card{background:linear-gradient(145deg,#373650,#23283e);border:1px solid #b7a17b66;border-radius:18px;padding:20px}.game-card h3{font-size:23px;margin:8px 0}.game-card p{font-size:15px;line-height:1.5}.game-card small{color:#e5d5ac}.game-icon{display:inline-grid;place-items:center;width:48px;height:48px;background:#ebd59c;color:#252b42;border-radius:14px;font-size:30px}.game-levels{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}.game-levels button{min-height:44px;padding:8px 10px;font-size:14px}#cloud-status{padding:12px;border-left:3px solid #e8d195;background:#ffffff0c}.bottom>div:last-child{max-width:none;flex-wrap:wrap}dialog:has(.game-cards){max-width:790px;width:calc(100% - 24px)}@media(max-width:540px){.game-cards{grid-template-columns:1fr}.intro #games{max-width:none;width:100%}.game-card{padding:16px}}/* Keep every sound and pause control reachable on narrow phones. */
header{flex-wrap:wrap}header nav{flex-wrap:wrap;max-width:100%;align-items:center}header nav button{min-width:44px}header nav label{flex-shrink:0}
.play-hub{border:1px solid #d8c59166;border-radius:22px;background:linear-gradient(120deg,#363851,#2c3045);padding:22px;margin-bottom:24px}.guide-path{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:#bdb7cd}.guide-path span{padding:5px 10px;border-radius:20px}.guide-path [aria-current=step]{background:#efd08c;color:#30273c}.next-step{display:flex;align-items:center;gap:24px;padding:20px 0;border-bottom:1px solid #ffffff20}.next-step>div{flex:1}.next-step p{margin:6px 0;color:#ddd6e8;max-width:750px}.next-step .eyebrow{color:#efd08c}.next-step button{min-width:175px}.quick-title{font-size:23px;margin-top:18px}.play-hub>p{font-size:14px;margin:6px 0 12px;color:#ddd6e8}.quick-games{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.quick-games button{display:flex;flex-direction:column;align-items:center;gap:4px;background:#45415d;padding:14px 8px;min-width:0}.quick-games button>span:first-child{font-size:28px;color:#efd08c}.quick-games b{font-size:16px}.quick-games small{font-size:11px;color:#efdaaa}.quick-games button:hover{background:#57516e}@media(max-width:650px){.play-hub{padding:16px}.next-step{flex-direction:column;align-items:stretch;gap:8px}.quick-games{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-games button:last-child{grid-column:1/-1}.guide-path{font-size:11px;gap:2px}.guide-path span{padding:4px 6px}}

/* Canon atlas: original illustrations stay readable at their own scale. */
.atlas-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}.atlas-card{padding:0;overflow:hidden;text-align:left;display:flex;flex-direction:column}.atlas-card img{width:100%;height:140px;object-fit:cover}.atlas-card strong,.atlas-card small{padding:10px 12px 0}.atlas-card small{padding-bottom:12px;line-height:1.5}.atlas-scene{width:100%;max-height:55vh;object-fit:contain;border-radius:18px;background:#242739}.map-head{flex-wrap:wrap}

.mist-thumbnail{filter:grayscale(1);opacity:.55}.restore-options{display:grid;gap:12px}.restore-option{display:flex;text-align:left;align-items:center;gap:14px;padding:8px}.restore-option img{width:100px;height:65px;object-fit:cover;border-radius:9px}.restore-option strong,.restore-option small{display:block}.restore-materials p{display:grid;grid-template-columns:1fr auto;gap:4px;margin:7px 0;padding:8px 12px;background:#ffffff09;border-radius:9px}.restore-materials small{grid-column:1/-1;font-size:12px;color:#c8c5d6}#dialog progress{width:100%;accent-color:#e4cd86}.restore-banner{position:sticky;top:8px;z-index:4;display:flex;align-items:center;gap:12px;padding:12px 16px;background:#e8dca8;color:#304d43;border:2px solid #fff4c7;border-radius:15px;margin:10px 0;box-shadow:0 8px 25px #1115}.restore-banner strong{flex:1}.restore-banner button{font-size:12px}.welcome-steps{padding-left:22px}.welcome-steps li{margin:12px 0} @media(max-width:480px){.restore-banner{flex-wrap:wrap}.restore-banner strong{flex-basis:100%}}
