/* The three rounds use a shared viewBox, so their artwork stays sharp at every size. */
.platform-layout .tablet{transform:none;border:10px solid #202c43;padding:0;border-radius:30px;min-width:0;box-shadow:0 12px 30px #182c610c}
.game-round{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:7/5;min-width:0;user-select:none;-webkit-user-select:none;contain:layout paint;background:#f1f7fc}
.game-round>svg{width:100%;height:100%;display:block;font-family:'M PLUS Rounded 1c',system-ui,sans-serif;font-weight:700}
.trace-round{border-radius:20px;background:#1e1b4b}
.game-card>.game-round{padding:0;border-radius:0;aspect-ratio:7/5}
.game-card{background:#fff;box-shadow:0 10px 45px #17234c0a;border:1px solid #e7e9ed}
.game-card>div:not(.game-round){padding:28px 30px 32px}
.game-round .round-toggle{position:absolute;z-index:2;right:12px;bottom:12px;display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid #182c6120;border-radius:50%;background:#fffffff0;color:#202c43;box-shadow:0 2px 8px #17234c12;cursor:pointer;opacity:.8;transition:opacity .2s,background .2s}
.round-toggle:hover,.round-toggle:focus-visible{opacity:1;background:#fff}
.round-toggle:focus-visible{outline:3px solid #e92532;outline-offset:3px}
.round-toggle svg{width:14px;height:14px;fill:currentColor}
@media(max-width:700px){.platform-layout .tablet{border-width:7px;border-radius:24px}.trace-round{border-radius:17px}.game-card>div:not(.game-round){padding:24px}.game-grid{gap:28px;margin-top:50px}.game-round .round-toggle{right:9px;bottom:9px}}
@media(prefers-reduced-motion:reduce){.game-round .round-toggle{transition:none}}

@media(max-width:380px){.hero-art .sun{right:0;font-size:84px}.english-page .hero h1{font-size:39px}}

.trace-round{aspect-ratio:7/5;background:#fcf8ef}
.trace-round>iframe{display:block;border:0;transform-origin:top left;pointer-events:none;position:absolute;inset:0}
@media(max-width:700px){.trace-round{aspect-ratio:4/5}}
@media(max-width:700px){.cover-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.cover-card{min-width:0}.english-page .cover-card h3{font-size:16px}}
@media(max-width:380px){.hero-art .sun{right:24px}.cover-card h3{overflow-wrap:anywhere}}

.game-grid{align-items:stretch}
.game-card>.builder-round{aspect-ratio:7/5;background:#fff}
.builder-round>svg{font-family:'Nunito','M PLUS Rounded 1c',system-ui,sans-serif;font-weight:700}
