/* Find Even and Odd Numbers (Math). Dark-purple space scene from the brand guide; big tap targets; gentle, short motion. */
.as-topbar { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.as-topbar .stat-row:last-child { justify-content: flex-end; align-items: center; }
.as-clock { justify-self: center; min-width: 110px; padding: 6px 18px; border-radius: 16px; background: #151b45; color: #fff; border: 3px solid #323a7d; font-size: 2rem; font-weight: 900; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 780px) { .as-topbar { display: grid !important; flex-direction: row; } }
.as-roundline { margin: 0 0 4px; color: var(--ink); font-size: 1.15rem; }
.as-title { margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.as-banner { margin: 0 0 10px; padding: 10px 16px; border-radius: 16px; border: 4px solid; text-align: center; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; }
.as-banner-even { background: #eaf1ff; border-color: var(--blue-action); color: var(--ink); }
.as-banner-odd { background: #fff1dc; border-color: #c9791a; color: var(--ink); }
.as-kind-even { color: var(--blue-action); }
.as-kind-odd { color: #9a5a0c; }
.as-stage { position: relative; height: clamp(340px, calc(100vh - 410px), 560px); overflow: hidden; border-radius: 24px; color: #fff; background: radial-gradient(circle at 70% 20%, #5d6fd0, transparent 22%), linear-gradient(160deg, #151b45, #323a7d); touch-action: manipulation; }
.as-stars { position: absolute; inset: 0; opacity: .35; background-image: radial-gradient(white 1px, transparent 1px); background-size: 34px 34px; }
.as-field, .as-laser-layer { position: absolute; inset: 0; }
.as-laser-layer { width: 100%; height: 100%; pointer-events: none; z-index: 4; }
.as-laser { stroke: #ffd76a; stroke-width: 7; stroke-linecap: round; }
.as-laser.wrong { stroke: #ffb3a7; stroke-dasharray: 10 8; }
.as-rock { position: absolute; width: 96px; height: 88px; padding: 0; border: 4px solid #65452f; background: #d9a66f; color: #2a1a0e; font-size: 2rem; font-weight: 900; cursor: pointer; box-shadow: inset 0 -8px 0 rgba(101, 69, 47, .25), 0 0 0 3px rgba(255, 215, 106, .25); }
.as-rock-0 { border-radius: 46% 54% 50% 50% / 54% 46% 54% 46%; }
.as-rock-1 { border-radius: 54% 46% 44% 56% / 48% 56% 44% 52%; }
.as-rock-2 { border-radius: 50% 50% 56% 44% / 44% 52% 48% 56%; }
.as-rock:hover { filter: brightness(1.06); }
.as-rock:focus-visible { outline: 4px solid #fff; outline-offset: 3px; }
.as-rock.as-boom { animation: as-boom .4s ease-out forwards; background: #ffd76a; pointer-events: none; }
.as-rock.as-puff { animation: as-puff .4s ease-out forwards; pointer-events: none; }
@keyframes as-boom { 0% { transform: scale(1); } 50% { transform: scale(1.35); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes as-puff { 0% { transform: scale(1) rotate(0); } 100% { transform: scale(.4) rotate(40deg); opacity: 0; } }
.as-alien { position: absolute; left: 50%; bottom: 4px; width: 132px; transform: translateX(-50%); z-index: 3; pointer-events: none; }
.as-alien-svg { display: block; width: 100%; height: auto; }
.as-aim { transition: transform .15s ease-out; }
.as-note { position: absolute; left: 50%; bottom: 140px; transform: translateX(-50%); z-index: 3; min-height: 1.6em; padding: 4px 16px; border-radius: 14px; font-size: 1.2rem; font-weight: 900; text-align: center; white-space: nowrap; pointer-events: none; }
.as-note:empty { display: none; }
.as-note.good { background: #e6f6ec; color: var(--green-dark); }
.as-note.try { background: #fff3b0; color: #8a4a1c; }
.as-overlay { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(21, 27, 69, .86); color: #fff; font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 900; text-align: center; padding: 16px; }
.as-overlay .as-kind-even { color: #a9c2ff; }
.as-overlay .as-kind-odd { color: #ffc77a; }
.as-switch-word { font-size: clamp(2.6rem, 8vw, 4.6rem); letter-spacing: .04em; color: var(--yellow); }
.as-start-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.as-start-alien { width: 120px; }
.as-lead { font-size: 1.25rem; margin: 0; }
.as-pick-title { margin: 14px 0 10px; }
.as-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 760px; }
.as-pick { min-height: 96px; font-size: 1.8rem; border-radius: 22px; }
.as-pick:disabled { opacity: .45; filter: grayscale(.6); cursor: not-allowed; transform: none; }
.as-blocked { margin: 12px 0 0; font-size: 1.3rem; font-weight: 800; color: #8a4a1c; }
.as-small { margin-top: 14px; }
@media (max-width: 560px) { .as-picks { grid-template-columns: 1fr; } .as-rock { width: 84px; height: 78px; font-size: 1.7rem; } .as-note { white-space: normal; width: 90%; } }
.as-card .game-icon { display: grid; place-items: center; } .as-card-alien { width: 64px; }
.as-end-alien { display: inline-block; width: 110px; }
.as-table { margin: 14px auto; border-collapse: collapse; min-width: min(420px, 100%); font-size: 1.3rem; }
.as-table th, .as-table td { padding: 8px 14px; border-bottom: 2px solid var(--border); text-align: center; }
.as-table th[scope="row"], .as-table thead th:first-child { text-align: left; }
.as-table tfoot th, .as-table tfoot td { border-top: 3px solid var(--ink); border-bottom: 0; font-weight: 900; }
.as-right { color: var(--green-dark); font-weight: 900; }
.as-wrong { color: #8a4a1c; font-weight: 900; }
.as-range { font-weight: 600; color: var(--muted); font-size: 1rem; }
.as-practice { text-align: left; max-width: 560px; margin: 12px auto; }
@media (prefers-reduced-motion: reduce) { .as-rock.as-boom, .as-rock.as-puff { animation: none; opacity: 0; } .as-aim { transition: none; } }
