:root {
    color-scheme: dark;
    --ink: #edf0fc;
    --muted: #8d96b3;
    --faint: #5f6884;
    --night: #10172c;
    --panel: #151e37;
    --panel-light: #1b2743;
    --line: rgba(170, 188, 235, .13);
    --cyan: #74e6e5;
    --pink: #ff8e9b;
    --yellow: #ffd58a;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
    min-width: 0;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(52, 69, 112, .35), transparent 55%),
        #0c1223;
}

button, input { font: inherit; }
button { color: inherit; }

.page-noise {
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    opacity: .16;
    background-image: radial-gradient(rgba(196, 208, 245, .5) .55px, transparent .7px);
    background-size: 5px 5px;
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.topbar { width: min(1440px, calc(100% - 40px)); height: 64px; display: flex; align-items: center; justify-content: space-between; margin-inline: auto; border-bottom: 1px solid var(--line); }
main { width: min(1600px, 100%); height: calc(100vh - 64px); height: calc(100svh - 64px); margin-inline: auto; }
.brand { display: inline-flex; gap: 9px; align-items: center; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 700; letter-spacing: .16em; }
.brand-icon { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid rgba(116, 230, 229, .45); color: var(--cyan); font-family: "DM Mono", monospace; font-size: 18px; }
.brand-period { color: var(--pink); }
.topbar-note, .round-label, .card-topline, .eyebrow, .welcome-meta, .privacy-note, .question-count, .question-kicker, .question-footer, .sky-top, .sky-caption, .sky-legend, .card-bottomline, .ad-slot, .site-footer, .analysis-note, .answers-title, .result-stat > span, .answer-rank {
    font-family: "DM Mono", monospace;
    letter-spacing: .08em;
}
.topbar-note, .round-label { color: #a4adc6; font-size: 9px; }
.topbar-note { display: flex; align-items: center; gap: 9px; }
.live-dot, .status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px rgba(116, 230, 229, .8); }
.round-label { padding: 8px 11px; border: 1px solid var(--line); }
.round-label b { color: var(--cyan); font-weight: 500; }
.round-spark { margin-right: 5px; color: var(--pink); }

.ad-slot { display: flex; align-items: center; justify-content: center; gap: 14px; color: #606a86; font-size: 8px; }
.ad-slot > :first-child { color: #828ba6; font-size: 7px; }
.ad-slot-top, .ad-slot-bottom { display: none; }
.ad-slot-top > :last-child, .ad-slot-bottom > :last-child { margin-left: 8px; opacity: .62; }
.layout { display: grid; width: 100%; height: 100%; grid-template-columns: minmax(96px, .16fr) minmax(0, 1fr) minmax(96px, .16fr); gap: clamp(12px, 1.5vw, 24px); align-items: stretch; }
.ad-slot-side { min-height: 0; align-self: center; flex-direction: column; justify-content: flex-start; gap: clamp(10px, 1.5vh, 18px); padding: 18px 12px 14px; border: 0; background: none; text-align: center; opacity: .48; }
.ad-slot-side > :first-child { align-self: flex-start; }
.ad-sky { display: grid; width: 48px; height: 76px; place-content: center; color: var(--pink); font-size: 19px; line-height: 1.7; background: linear-gradient(180deg, rgba(74, 91, 137, .45), rgba(28, 38, 68, .2)); }
.ad-sky-right { color: var(--yellow); }
.ad-slot-side strong { color: #c8cee0; font-size: clamp(10px, 1vw, 12px); line-height: 1.7; letter-spacing: -.03em; }
.ad-slot-side small { margin-top: auto; color: #65708d; font-size: 7px; letter-spacing: .02em; }

.game-card { min-width: 0; height: 100%; overflow: hidden; border: 0; background: transparent; box-shadow: none; }
.card-topline, .card-bottomline { display: flex; align-items: center; justify-content: space-between; color: #95a0bd; font-size: 8px; }
.card-topline { min-height: 43px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.card-topline > span:first-child { display: flex; align-items: center; gap: 8px; }
.card-version { color: #727d9a; }
.card-version span { color: var(--pink); }
.game-body { position: relative; display: block; width: 100%; height: 100%; min-height: 0; overflow: hidden; background: #172541; }
.play-area { position: absolute; z-index: 8; top: auto; bottom: clamp(38px, 9vh, 84px); left: 50%; width: min(620px, calc(100% - 40px)); min-width: 0; padding: 0; transform: translateX(-50%); background: none; }
.game-body[data-screen="playing"] .play-area, .game-body[data-screen="results"] .play-area { bottom: auto; transition: top var(--lift-duration, 1.25s) cubic-bezier(.18, .8, .24, 1); }
.game-body[data-screen="welcome"] .play-area { top: auto; right: clamp(24px, 6vw, 80px); bottom: clamp(46px, 8vh, 80px); left: auto; width: min(360px, calc(100% - 48px)); transform: none; }
.game-body[data-screen="playing"] .play-area { padding: clamp(12px, 2vw, 18px) clamp(14px, 2.4vw, 24px); border: 1px solid rgba(194, 209, 242, .2); border-radius: 12px; background: rgba(11, 19, 39, .82); box-shadow: 0 18px 45px rgba(3, 8, 20, .24); backdrop-filter: blur(12px); }
.game-body[data-screen="playing"] .horizon { opacity: 0; }
.game-body.is-starting .balloon, .game-body.is-starting .play-area { transition: none; }
.game-body[data-screen="results"] .play-area { z-index: 8; overflow-y: auto; padding: 16px clamp(14px, 3vw, 24px); border: 1px solid rgba(194, 209, 242, .2); background: rgba(11, 19, 39, .76); box-shadow: 0 18px 45px rgba(3, 8, 20, .24); backdrop-filter: blur(12px); scrollbar-color: rgba(116, 230, 229, .35) transparent; scrollbar-width: thin; }
.play-area::before { display: none; }
.welcome-panel { width: min(390px, 100%); min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; margin-inline: auto; padding: 16px 18px 13px; border: 1px solid rgba(205, 221, 255, .22); border-radius: 16px; background: linear-gradient(145deg, rgba(20, 33, 61, .9), rgba(17, 26, 48, .88)); box-shadow: 0 16px 42px rgba(3, 8, 24, .38), inset 0 1px rgba(240, 246, 255, .08); backdrop-filter: blur(12px); text-align: center; }
.welcome-kicker { display: inline-flex; align-items: center; gap: 7px; color: #b7c5df; font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: .16em; }
.welcome-kicker span { color: var(--yellow); text-shadow: 0 0 10px rgba(255, 213, 138, .62); }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0 0 8px; color: var(--cyan); font-size: 8px; }
.eyebrow-line { width: 15px; height: 1px; background: var(--cyan); }
.welcome-panel h1, .result-panel h2 { margin: 0; color: #f1f1f9; font-size: clamp(30px, 3vw, 40px); font-weight: 600; line-height: .99; letter-spacing: -.07em; }
.welcome-panel h1 span, .result-panel h2 span { color: var(--pink); }
.intro-copy { max-width: 430px; margin: 9px auto 12px; color: #abb3cb; font-size: 12px; line-height: 1.65; }
.primary-btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 4px; border: 0; border-bottom: 1px solid rgba(116, 230, 229, .62); background: transparent; color: #d7ffff; cursor: pointer; font-family: "DM Mono", monospace; font-size: 13px; letter-spacing: .14em; transition: color .2s, transform .2s, border-color .2s, text-shadow .2s; }
.primary-btn:hover { transform: translateY(-2px); border-color: var(--cyan); color: #fff; text-shadow: 0 0 18px rgba(116, 230, 229, .44); }
.welcome-panel .primary-btn { width: 100%; min-width: 0; min-height: 54px; justify-content: center; gap: 12px; padding: 0 18px; border: 1px solid rgba(116, 230, 229, .62); border-radius: 11px; background: linear-gradient(115deg, rgba(34, 111, 130, .98), rgba(104, 71, 160, .98)); box-shadow: 0 8px 24px rgba(8, 18, 38, .32), inset 0 1px rgba(226, 255, 255, .2); color: #efffff; transition: color .2s, transform .2s, border-color .2s, box-shadow .2s, background .2s; }
.welcome-panel .primary-btn:hover { border-color: #9af4ed; background: linear-gradient(135deg, rgba(43, 107, 124, .98), rgba(91, 61, 143, .98)); box-shadow: 0 10px 30px rgba(70, 218, 223, .2), inset 0 1px rgba(226, 255, 255, .24); text-shadow: 0 0 16px rgba(116, 230, 229, .44); }
.primary-btn:focus-visible, .submit-btn:focus-visible, input:focus-visible, .answer-row:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.button-arrow { color: var(--pink); font-size: 17px; }
.welcome-meta { display: flex; align-items: center; gap: 11px; margin-top: 0; color: #8995b0; font-size: 7px; }
.welcome-meta b { color: #d4d9e8; font-weight: 500; }
.welcome-meta i { width: 2px; height: 2px; border-radius: 50%; background: var(--pink); }
.privacy-note { margin: 8px 0 0; color: #a4aec5; font-size: 8px; letter-spacing: .02em; text-align: center; }
.privacy-note span { margin-right: 4px; color: var(--cyan); }

.sky-panel { position: absolute; z-index: 1; inset: 0; display: block; min-height: 0; overflow: hidden; border: 0; background: linear-gradient(180deg, #819abb 0%, #536e95 43%, #263c61 80%, #14223c 100%); }
.sky-top { position: absolute; z-index: 6; top: 0; right: 0; left: 0; display: flex; justify-content: space-between; padding: 22px 27px 0; color: #c0cce1; font-size: 8px; }
.sky-top span:last-child { color: var(--yellow); }
.sky-art { position: absolute; inset: 0; min-height: 0; overflow: hidden; background: linear-gradient(180deg, rgba(191, 207, 220, .16), rgba(54, 80, 120, .05) 50%, rgba(16, 29, 52, .22)); transition: background var(--zone-transition-duration, 1.4s) ease; }
.sky-art::after { position: absolute; z-index: 0; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 68% 32%, rgba(119, 111, 209, .26), transparent 48%), linear-gradient(180deg, rgba(11, 18, 45, .78), rgba(8, 11, 30, .52)); content: ""; opacity: var(--sky-darkening, 0); transition: opacity var(--zone-transition-duration, 1.4s) ease, background 1.4s ease; }
.sky-art[data-zone="clouds"] { background: radial-gradient(ellipse at 57% 18%, rgba(255, 241, 168, .66), transparent 26%), radial-gradient(ellipse at 12% 39%, rgba(145, 236, 226, .32), transparent 34%), radial-gradient(ellipse at 88% 42%, rgba(255, 164, 196, .35), transparent 38%), linear-gradient(180deg, #79c9e8 0%, #89bee7 43%, #c3a5d7 73%, #efad9d 100%); }
.sky-art[data-zone="clouds"]::after { background: radial-gradient(ellipse at 53% 78%, rgba(255, 190, 132, .22), transparent 46%), linear-gradient(180deg, rgba(29, 49, 88, .66), rgba(48, 30, 68, .4)); }
.sky-art[data-zone="stratosphere"]::after { background: radial-gradient(ellipse at 72% 38%, rgba(91, 131, 197, .22), transparent 46%), linear-gradient(180deg, rgba(10, 23, 55, .82), rgba(13, 19, 47, .58)); }
.sky-art[data-zone="orbit"]::after { background: radial-gradient(ellipse at 72% 30%, rgba(144, 95, 190, .24), transparent 42%), linear-gradient(180deg, rgba(8, 12, 31, .75), rgba(5, 9, 24, .58)); }
.sky-art[data-zone="space"]::after { background: radial-gradient(ellipse at 66% 30%, rgba(104, 79, 159, .25), transparent 40%), linear-gradient(180deg, rgba(3, 5, 15, .56), rgba(1, 3, 10, .45)); }
.sky-art[data-zone="deep-space"]::after { background: radial-gradient(ellipse at 48% 55%, rgba(67, 55, 127, .22), transparent 42%), linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .3)); }
.sky-grid { position: absolute; inset: 0; opacity: .17; background-image: linear-gradient(rgba(180, 203, 240, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(180, 203, 240, .1) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(transparent, black 20%, black 75%, transparent); }
.star { position: absolute; z-index: 1; color: #dce5ff; transition: opacity .8s ease; }
.star-one { top: 20%; left: 19%; color: var(--yellow); font-size: 13px; }
.star-two { top: 34%; right: 18%; font-size: 20px; }
.star-three { top: 15%; right: 34%; color: var(--cyan); font-size: 12px; }
.star-four { top: 49%; left: 36%; color: var(--pink); font-size: 17px; }
.star-five { top: 58%; right: 22%; color: #ff9fca; font-size: 13px; animation: star-twinkle 2.8s steps(2, end) infinite; }
.star-six { top: 27%; left: 30%; color: #a7f6d5; font-size: 12px; animation: star-twinkle 3.2s steps(2, end) infinite reverse; }
.moon { position: absolute; z-index: 1; top: 17%; right: 14%; width: 37px; height: 37px; border-radius: 50%; background: #ffe3a3; box-shadow: 0 0 34px rgba(255, 227, 163, .34); animation: moon-glow 5s ease-in-out infinite; }
.moon::after { position: absolute; top: -5px; left: 9px; width: 27px; height: 27px; border-radius: 50%; background: #202f4f; content: ""; }
.day-sun { position: absolute; z-index: 1; top: 10%; left: 55%; width: clamp(58px, 8vw, 82px); aspect-ratio: 1; opacity: 1; transform: scale(1); filter: drop-shadow(0 0 27px rgba(255, 189, 73, .72)); transition: opacity 1s, transform 1.2s; animation: sun-breathe 5s ease-in-out infinite; }
.day-sun::before { position: absolute; inset: -55%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 238, 161, .5), rgba(255, 193, 103, .22) 42%, transparent 72%); content: ""; }
.day-sun::after { position: absolute; inset: 0; background: #ffb84e; clip-path: polygon(40% 0, 60% 0, 60% 12%, 82% 12%, 82% 25%, 100% 25%, 100% 75%, 82% 75%, 82% 88%, 60% 88%, 60% 100%, 40% 100%, 40% 88%, 18% 88%, 18% 75%, 0 75%, 0 25%, 18% 25%, 18% 12%, 40% 12%); content: ""; }
.day-sun span { position: absolute; z-index: 1; inset: 12px; border: 3px solid #fff0a8; background: radial-gradient(circle at 34% 28%, #fffce0, #ffe17c 68%, #ffad49); clip-path: polygon(25% 0, 75% 0, 75% 12%, 88% 12%, 88% 25%, 100% 25%, 100% 75%, 88% 75%, 88% 88%, 75% 88%, 75% 100%, 25% 100%, 25% 88%, 12% 88%, 12% 75%, 0 75%, 0 25%, 12% 25%, 12% 12%, 25% 12%); }
.stork-flock, .gull-flock, .distant-plane, .distant-satellite, .distant-ufo { position: absolute; z-index: 2; pointer-events: none; image-rendering: pixelated; }
.stork-flock { width: min(160px, 22vw); opacity: .86; filter: drop-shadow(0 3px 8px rgba(33, 45, 80, .24)); animation: flock-drift 7s ease-in-out infinite alternate; transition: opacity 1s; }
.stork-flock svg, .distant-plane svg, .distant-satellite svg, .distant-ufo svg { display: block; width: 100%; height: auto; }
.stork-flock-left { top: 17%; left: 10%; }
.stork-flock-right { top: 29%; right: 10%; width: min(92px, 13vw); animation-delay: -3s; animation-direction: alternate-reverse; }
.gull-flock { width: min(150px, 22vw); opacity: .8; filter: drop-shadow(0 3px 8px rgba(34, 46, 83, .25)); animation: gull-glide 34s ease-in-out infinite alternate; transition: opacity 1s; }
.gull-flock svg { display: block; width: 100%; height: auto; }
.gull-flock-upper { top: 38%; left: 28%; }
.gull-flock-lower { top: 52%; right: 19%; width: min(90px, 14vw); animation-delay: -16s; animation-direction: alternate-reverse; }
.gull-wings { transform-box: fill-box; transform-origin: center; animation: gull-wing-beat 2.2s ease-in-out infinite alternate; }
.gull-flock-lower .gull-wings { animation-delay: -1s; }
.distant-plane { top: 13%; right: 25%; width: clamp(42px, 7vw, 70px); opacity: .82; filter: drop-shadow(0 3px 8px rgba(50, 55, 96, .25)); animation: plane-drift 9s ease-in-out infinite alternate; }
.distant-ufo { top: 45%; right: 8%; width: min(112px, 16vw); opacity: 0; filter: drop-shadow(0 0 12px rgba(121, 255, 207, .46)); animation: ufo-cruise 18s ease-in-out infinite alternate; transition: opacity 1s; }
.ufo-beam { animation: ufo-beam 3s ease-in-out infinite alternate; transform-origin: center top; }
.distant-satellite { top: 24%; left: 17%; width: 68px; opacity: 0; filter: drop-shadow(0 0 9px rgba(147, 151, 255, .45)); transform: rotate(-8deg); transition: opacity 1s, transform 1.4s; animation: satellite-hover 5s ease-in-out infinite alternate; }
.stratosphere-jet, .orbit-shuttle, .deep-space-comet { position: absolute; z-index: 2; pointer-events: none; }
.stratosphere-jet { top: 32%; left: 60%; width: clamp(54px, 8vw, 82px); opacity: 0; filter: drop-shadow(0 0 10px rgba(153, 241, 255, .65)); transition: opacity .9s ease; animation: jet-glide 7s ease-in-out infinite alternate; }
.orbit-shuttle { top: 57%; left: 54%; width: clamp(78px, 11vw, 120px); opacity: 0; filter: drop-shadow(0 0 14px rgba(186, 153, 255, .7)); transition: opacity .9s ease; animation: shuttle-cruise 8s ease-in-out infinite alternate; }
.orbit-station { position: absolute; z-index: 2; top: 23%; right: 27%; width: clamp(92px, 13vw, 146px); opacity: 0; filter: drop-shadow(0 0 14px rgba(139, 218, 255, .48)); transition: opacity 1s ease, transform 1.2s ease; transform: translateY(10px) scale(.9); animation: satellite-hover 6s ease-in-out infinite alternate; }
.stratosphere-jet svg, .orbit-shuttle svg { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.orbit-station svg { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.deep-space-comet { top: 19%; left: -16%; width: 108px; height: 12px; opacity: 0; transform: rotate(-22deg); }
.deep-space-comet::before { position: absolute; top: 2px; right: 0; width: 9px; height: 9px; background: #fff4bb; box-shadow: 0 0 10px #ffe4a0, 0 0 22px rgba(255, 182, 136, .9); content: ""; }
.deep-space-comet::after { position: absolute; top: 4px; right: 6px; width: 100px; height: 5px; background: linear-gradient(90deg, transparent, rgba(160, 174, 255, .15), rgba(255, 190, 160, .86)); clip-path: polygon(0 45%, 100% 0, 100% 100%, 12% 65%); content: ""; }
.balloon { position: absolute; z-index: 3; left: 50%; bottom: 58%; width: clamp(130px, 22vh, 220px); transform: translateX(-50%); transition: bottom var(--lift-duration, 1.25s) cubic-bezier(.18, .8, .24, 1), filter .5s; filter: drop-shadow(0 18px 24px rgba(3, 8, 20, .4)); }
.game-body[data-screen="welcome"] .balloon { transition: none; animation: none; }
.balloon svg { display: block; width: 100%; overflow: visible; }
.burner-flame { position: absolute; z-index: 2; top: 63.7%; left: 50%; display: block; width: 15%; height: 19%; overflow: visible; transform: translateX(-50%) scaleY(var(--flame-power, .72)); transform-origin: center bottom; filter: drop-shadow(0 0 7px var(--flame-mid, #ffad4d)); transition: transform .24s ease, filter .3s ease; }
.flame-shape { position: absolute; inset: 0; display: block; background: var(--flame-mid, #ffad4d); clip-path: polygon(38% 100%, 24% 83%, 31% 68%, 16% 51%, 34% 39%, 30% 19%, 48% 0, 56% 28%, 76% 10%, 81% 43%, 100% 63%, 79% 100%); transform-origin: center bottom; transition: background-color .35s ease; }
.flame-inner { inset: 19% 23% 0; background: var(--flame-hot, #fff0a1); animation: flame-flicker .2s steps(2, end) infinite alternate; transition: background-color .35s ease; }
.flame-core { inset: 46% 39% 0; background: #fff8cc; opacity: .9; }
@keyframes balloon-bob { 0%, 100% { translate: 0 0; } 22% { translate: 0 -5px; } 48% { translate: 0 -8px; } 72% { translate: 0 -3px; } }
.cloud { position: absolute; z-index: 2; width: 112px; height: 18px; opacity: .72; background: #a7bad4; image-rendering: pixelated; filter: drop-shadow(0 10px 12px rgba(6, 14, 30, .14)); transition: opacity var(--zone-transition-duration, 1.4s) ease; }
.cloud::before, .cloud::after { position: absolute; bottom: 8px; background: inherit; content: ""; }
.cloud::before { left: 17px; width: 32px; height: 17px; }
.cloud::after { left: 39px; width: 24px; height: 11px; }
.cloud-back { top: 40%; left: 15%; transform: scale(.72); opacity: .48; background: #e5e9ff; animation: cloud-drift 18s ease-in-out infinite alternate; }
.cloud-front { top: 68%; right: 5%; transform: scale(1.05); opacity: .68; background: #ffd1c2; animation: cloud-drift 14s ease-in-out infinite alternate-reverse; }
.horizon { position: absolute; z-index: 2; right: 0; bottom: 17px; left: 0; height: 14px; border-top: 1px solid rgba(116, 230, 229, .48); }
.horizon::before, .horizon::after { position: absolute; top: -5px; width: 12px; height: 5px; background: #9de3d5; content: ""; }
.horizon::before { left: 17%; }
.horizon::after { right: 12%; }
.ground { position: absolute; z-index: 2; right: -9%; bottom: -33px; left: -9%; height: 64px; border-top: 2px solid #a7f0a3; border-radius: 50% 50% 0 0 / 25% 25% 0 0; background: repeating-linear-gradient(90deg, transparent 0 25px, rgba(152, 238, 140, .15) 25px 27px, transparent 27px 43px), linear-gradient(180deg, #71d786 0%, #46ad70 38%, #22563c 100%); transition: opacity .9s ease, transform .9s ease; }
.ground-village { position: absolute; right: 0; bottom: 63px; left: 0; width: 100%; height: 76px; overflow: visible; filter: drop-shadow(0 2px 6px rgba(9, 24, 30, .28)); transition: opacity .8s ease, transform .8s ease; }
.ground::before { position: absolute; top: -8px; right: 0; left: 0; height: 10px; background: repeating-linear-gradient(90deg, transparent 0 9px, #8ee994 9px 12px, transparent 12px 21px, #b3efa1 21px 23px, transparent 23px 34px); content: ""; }
.ground::after { position: absolute; top: -16px; left: 14%; width: 5px; height: 5px; background: #fff0a8; box-shadow: 38px 7px 0 #f4a8cc, 84px -2px 0 #ffe39a, 146px 6px 0 #fff0a8, 226px -4px 0 #f4a8cc, 318px 5px 0 #ffe39a, 417px -2px 0 #fff0a8, 526px 7px 0 #f4a8cc, 632px -3px 0 #ffe39a, 742px 5px 0 #fff0a8; content: ""; }
.sky-bottom { --meter-color: #18375f; --meter-glow: #e56bff; --meter-fill: #6238d6; position: absolute; z-index: 6; top: 64px; left: 26px; display: grid; width: min(300px, calc(100% - 44px)); min-height: 72px; grid-template-columns: max-content minmax(0, 1fr); grid-template-areas: "readout caption" "progress progress"; column-gap: 10px; align-content: start; align-items: baseline; padding: 10px 13px; border: 0; background: none; }
#sky-art[data-zone="stratosphere"] ~ .sky-bottom { --meter-color: #040e20; --meter-glow: #48f3ff; --meter-fill: #22c7eb; }
#sky-art[data-zone="orbit"] ~ .sky-bottom { --meter-color: #fff0ff; --meter-glow: #ff60ee; --meter-fill: #e058ff; }
#sky-art[data-zone="space"] ~ .sky-bottom { --meter-color: #e3fbff; --meter-glow: #4ceaff; --meter-fill: #69a8ff; }
#sky-art[data-zone="deep-space"] ~ .sky-bottom { --meter-color: #fff0a8; --meter-glow: #ffdf45; --meter-fill: #ff8b67; }
.altitude-readout { display: flex; grid-area: readout; align-items: baseline; gap: 5px; white-space: nowrap; }
.altitude-readout strong { color: var(--meter-color); font-family: "DM Mono", monospace; font-size: 22px; font-weight: 500; letter-spacing: .06em; text-shadow: 0 0 2px var(--meter-glow), 0 0 10px var(--meter-glow); transition: color .8s ease, text-shadow .8s ease; }
.altitude-readout span { color: var(--meter-color); font-family: "DM Mono", monospace; font-size: 9px; text-shadow: 0 0 7px var(--meter-glow); transition: color .8s ease, text-shadow .8s ease; }
.sky-bottom p { position: static; grid-area: caption; min-width: 0; margin: 0; color: var(--meter-color); font-family: "DM Mono", monospace; font-size: 7px; line-height: 1.4; letter-spacing: .08em; text-align: right; text-shadow: 0 0 7px var(--meter-glow); overflow-wrap: anywhere; transition: color .8s ease, text-shadow .8s ease; }
.sky-progress { height: 2px; grid-area: progress; margin-top: 6px; background: rgba(182, 198, 232, .2); box-shadow: 0 0 5px rgba(170, 197, 255, .18); }
.sky-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--meter-fill), var(--meter-glow)); box-shadow: 0 0 8px var(--meter-glow); transition: width .8s ease, background .8s ease, box-shadow .8s ease; }
.sky-legend { display: none; }
.sky-legend span { display: inline-flex; align-items: center; gap: 4px; }
.legend-dot { width: 5px; height: 5px; border-radius: 50%; background: #a0aac4; }
.legend-rare { background: var(--pink); }
.legend-cosmic { background: var(--cyan); box-shadow: 0 0 5px var(--cyan); }
.card-bottomline { min-height: 34px; padding: 0 20px; border-top: 1px solid var(--line); color: #7f8ba8; font-size: 7px; }
.card-bottomline b { color: var(--pink); }

.question-panel { min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.question-heading { display: flex; align-items: center; justify-content: space-between; }
.question-count { padding: 4px 8px; border: 1px solid rgba(116, 230, 229, .2); border-radius: 999px; background: rgba(116, 230, 229, .07); color: #a2abc2; font-size: 9px; }
.question-count span:first-child { color: var(--cyan); }
.count-divider { padding: 0 5px; color: #69738e; }
.timer { display: flex; align-items: baseline; gap: 4px; padding: 3px 8px; border: 1px solid rgba(255, 213, 138, .24); border-radius: 999px; background: rgba(255, 213, 138, .08); color: var(--yellow); font-family: "DM Mono", monospace; }
.timer-icon { font-size: 13px; }
.timer span:nth-child(2) { font-size: 19px; }
.timer small { color: #a3a9bc; font-size: 8px; }
.progress-track { height: 2px; margin-top: 13px; background: rgba(184, 197, 229, .13); }
.progress-fill { width: 0; height: 100%; background: linear-gradient(90deg, var(--cyan), #aaa0ff, var(--pink)); box-shadow: 0 0 8px rgba(116, 230, 229, .3); transition: width .3s ease; }
.question-kicker { margin: 16px 0 8px; color: #b7c3df; font-size: 8px; text-align: center; text-shadow: 0 1px 8px rgba(8, 15, 31, .55); }
.question-panel h2 { min-height: 0; margin: 0 0 14px; color: #fff; font-size: clamp(27px, 3.4vw, 39px); font-weight: 500; line-height: 1.15; letter-spacing: -.055em; text-align: center; text-shadow: 0 2px 16px rgba(8, 15, 31, .52); }
.answer-form, .question-footer, .countdown-track { width: min(100%, 560px); margin-right: auto; margin-left: auto; }
.answer-form { display: flex; min-height: 50px; border: 1px solid rgba(116, 230, 229, .22); border-radius: 9px; background: linear-gradient(120deg, rgba(8, 14, 28, .64), rgba(38, 35, 75, .38)); transition: border-color .2s, background .2s, box-shadow .2s; }
.answer-form:focus-within { border-color: var(--cyan); background: linear-gradient(120deg, rgba(8, 14, 28, .78), rgba(38, 35, 75, .54)); box-shadow: 0 0 18px rgba(116, 230, 229, .13); }
.answer-form input { width: 100%; min-width: 0; padding: 0 14px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.answer-form input::placeholder { color: #747f9b; }
.submit-btn { width: 49px; flex: 0 0 49px; border: 0; background: transparent; color: var(--cyan); cursor: pointer; font-size: 20px; transition: color .2s, transform .2s; }
.submit-btn:hover { background: rgba(116, 230, 229, .2); }
.question-footer { display: flex; justify-content: space-between; margin-top: 11px; color: #78839f; font-size: 7px; letter-spacing: .03em; }
.question-privacy { margin-top: 9px; color: #d3dded; font-size: 8px; text-shadow: 0 1px 8px rgba(8, 15, 31, .55); }
.game-body.has-service-message[data-screen="playing"] .question-privacy { display: none; }
.keyboard-key { padding: 2px 4px; border: 1px solid rgba(172, 186, 222, .27); color: #a5aec5; font-size: 6px; }
.countdown-track { height: 3px; margin-top: 14px; overflow: hidden; background: rgba(184, 197, 229, .1); }
.countdown-track div { width: 100%; height: 100%; background: var(--yellow); transform-origin: left center; transition: width 1s linear, background .3s; }
.countdown-track div.is-low { background: var(--pink); }
.timeout-message { margin: 9px 0 0; color: var(--pink); font-size: 10px; }

.result-panel { min-height: 425px; }
.result-notice { margin: 12px 0 0; padding: 9px 11px; border: 1px solid rgba(255, 213, 138, .35); background: rgba(255, 213, 138, .07); color: #ffe3a3; font-size: 10px; line-height: 1.55; }
.result-panel .eyebrow { margin-bottom: 14px; }
.result-panel h2 { font-size: clamp(34px, 4vw, 46px); }
.result-summary { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10px; margin: 22px 0 20px; }
.result-stat { min-width: 0; padding: 11px 12px; border: 1px solid var(--line); background: rgba(9, 15, 29, .3); }
.result-stat > span { display: block; overflow: hidden; color: #8f9ab6; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.result-stat strong { display: block; margin-top: 7px; overflow: hidden; color: var(--cyan); font-size: 26px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.result-stat small { color: #8791aa; font-size: 8px; }
.result-stat-alt strong { color: var(--pink); font-size: 16px; }
.answers-title { display: flex; justify-content: space-between; margin: 0 0 7px; color: #9aa5c0; font-size: 8px; }
.answers-title span { color: #707b98; }
.answer-results { display: grid; gap: 3px; max-height: 200px; margin: 0 0 14px; padding: 0; overflow-y: auto; list-style: none; }
.answer-row { display: grid; grid-template-columns: 25px minmax(0, 1fr) 74px; gap: 8px; align-items: center; padding: 7px 8px; border: 1px solid rgba(174, 190, 228, .09); background: rgba(8, 14, 27, .25); }
.answer-rank { color: #8994b0; font-size: 7px; }
.answer-copy { min-width: 0; }
.answer-copy strong, .answer-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.answer-copy strong { color: #dfe4f2; font-size: 10px; font-weight: 500; }
.answer-copy span { margin-top: 2px; color: #7e89a5; font-size: 8px; }
.answer-score { color: var(--cyan); font-family: "DM Mono", monospace; font-size: 10px; text-align: right; }
.answer-score em { display: block; margin-top: 2px; color: #8994b0; font-size: 7px; font-style: normal; }
.restart-btn { min-height: 42px; }
.analysis-note { margin: 11px 0 0; color: #747f9b; font-size: 7px; line-height: 1.6; letter-spacing: .02em; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-footer { width: min(1440px, calc(100% - 40px)); min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 auto; padding: 14px 0; color: #a4aec5; font-size: 12px; letter-spacing: normal; }
.footer-meta { display: grid; gap: 5px; }
.footer-meta > span { color: #b7bfd3; font-weight: 500; }
.domain-countdown { color: #818ba6; font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .015em; }
.domain-countdown.is-urgent { color: #ffb4a1; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer a { color: #c5cce0; text-decoration: underline; text-decoration-color: rgba(197, 204, 224, .45); text-underline-offset: 3px; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--cyan); }
.site-footer a span { color: #ffcf7c; }
.footer-copy { margin-left: 7px; color: #69748f; font-size: 7px; font-weight: 400; }
.legal-main { height: auto; min-height: calc(100svh - 128px); padding: clamp(24px, 5vw, 56px) 20px; }
.legal-document { width: min(820px, 100%); margin: 0 auto; padding: clamp(20px, 4vw, 36px); border: 1px solid var(--line); border-radius: 14px; background: rgba(21, 30, 55, .88); }
.legal-document h1 { margin: 0 0 8px; color: var(--ink); font-size: clamp(28px, 5vw, 42px); letter-spacing: -.05em; }
.legal-document h2 { margin: 28px 0 8px; color: var(--cyan); font-size: 18px; }
.legal-document p, .legal-document li { color: #c4cce0; font-size: 14px; line-height: 1.75; }
.legal-document a { color: var(--cyan); }
.legal-warning { margin: 0 0 24px; padding: 14px 16px; border: 1px solid rgba(255, 213, 138, .45); border-radius: 8px; background: rgba(255, 213, 138, .08); color: #ffe0a6; font-size: 13px; line-height: 1.6; }
.legal-updated { color: var(--muted) !important; font-size: 12px !important; }

@media (max-width: 600px) {
    .site-footer { width: calc(100% - 32px); align-items: flex-start; flex-direction: column; gap: 10px; }
    .site-footer nav { gap: 12px; }
}

@media (min-width: 1200px) {
    .layout { grid-template-columns: minmax(112px, .16fr) minmax(0, 1fr) minmax(112px, .16fr); gap: clamp(18px, 1.8vw, 28px); }
    .ad-slot-side { padding-inline: 14px; }
}

@media (max-width: 820px) {
    .topbar { width: calc(100% - 32px); }
    .layout { grid-template-columns: minmax(0, 1fr); }
    .ad-slot-side { display: none; }
    .topbar-note { display: none; }
    .game-body[data-screen="welcome"] .play-area { top: clamp(70px, calc(50% - 140px), 250px); right: 16px; bottom: auto; left: 16px; width: auto; transform: none; }
}

@media (max-width: 560px) {
    .topbar { width: calc(100% - 24px); height: 58px; }
    main { height: calc(100vh - 58px); height: calc(100svh - 58px); }
    .round-label { padding: 7px 8px; font-size: 7px; }
    .layout { gap: 0; }
    .play-area { right: 16px; left: 16px; width: auto; transform: none; }
    .game-body[data-screen="welcome"] .play-area { top: clamp(70px, calc(50% - 140px), 250px); bottom: auto; }
    .welcome-panel, .question-panel, .result-panel { min-height: 0; }
    .sky-bottom { top: 50px; right: auto; left: 12px; bottom: auto; width: min(96px, calc((100vw - clamp(100px, 22vh, 175px)) / 2 - 12px)); min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-areas: "readout" "caption" "progress"; row-gap: 2px; padding: 4px; }
    .sky-bottom p { margin: 0; font-size: 6px; line-height: 1.35; text-align: left; }
    .altitude-readout { justify-content: flex-start; gap: 3px; }
    .altitude-readout strong { font-size: 15px; }
    .altitude-readout span { font-size: 8px; }
    .sky-progress { margin-top: 2px; }
    .sky-legend { display: none; }
    .sky-top { padding: 15px 15px 0; font-size: 7px; }
    .balloon { left: 50%; width: clamp(100px, 22vh, 175px); }
    .moon { width: 22px; height: 22px; }
    .moon::after { left: 7px; width: 20px; height: 20px; }
    .cloud-back { top: 32%; left: 5%; }
    .cloud-front { top: 46%; }
    .horizon { bottom: 10px; }
    .ground { bottom: -40px; }
    .question-panel h2 { font-size: clamp(25px, 7vw, 31px); }
    .question-kicker { margin-top: 12px; }
    .question-privacy { font-size: 7px; }
    .countdown-track { margin-top: 10px; }
    .result-panel h2 { font-size: 39px; }
    .result-summary { gap: 7px; }
    .result-stat { padding-inline: 9px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.primary-btn:disabled { border-color: rgba(116, 230, 229, .3); background: rgba(116, 230, 229, .04); color: #78859e; cursor: not-allowed; }
.primary-btn:disabled:hover { transform: none; box-shadow: none; }
.service-message { position: absolute; z-index: 12; top: clamp(74px, 14%, 112px); left: 50%; display: flex; width: min(440px, calc(100% - 32px)); flex-direction: column; align-items: center; gap: 5px; margin: 0; padding: 10px 14px; transform: translateX(-50%); border: 1px solid rgba(255, 142, 155, .35); border-radius: 8px; background: rgba(20, 17, 35, .9); color: #ffb1b8; font-size: 11px; line-height: 1.55; text-align: center; }
.service-message.is-info { border-color: rgba(116, 230, 229, .3); background: rgba(116, 230, 229, .06); color: #a4eeee; }
.service-message.is-limit { border-color: rgba(255, 137, 34, .9); background: rgba(32, 15, 5, .92); color: #ffc078; box-shadow: 0 0 12px rgba(255, 112, 0, .45), 0 0 28px rgba(255, 112, 0, .2), inset 0 0 14px rgba(255, 112, 0, .12); text-shadow: 0 0 8px rgba(255, 128, 24, .45); }
.rate-limit-time { color: #ff9a32; font-family: "DM Mono", monospace; font-size: clamp(20px, 3vw, 28px); font-weight: 700; line-height: 1.1; letter-spacing: .08em; text-shadow: 0 0 6px #ff7200, 0 0 16px rgba(255, 114, 0, .8), 0 0 28px rgba(255, 114, 0, .45); }
.sky-legend { flex-wrap: wrap; gap: 5px; padding-inline: 5px; }
.sky-tier-count { color: var(--pink); }

@media (max-width: 560px) {
    .sky-legend { gap: 4px; }
}

@media (max-height: 560px) {
    .topbar { height: 52px; }
    main { height: calc(100vh - 52px); height: calc(100svh - 52px); }
    .question-kicker { margin-top: 8px; }
    .question-panel h2 { margin-bottom: 9px; font-size: clamp(22px, 5vh, 30px); }
    .progress-track { margin-top: 8px; }
    .answer-form { min-height: 44px; }
    .question-footer { margin-top: 7px; }
    .countdown-track { margin-top: 6px; }
    .question-privacy { margin-top: 4px; font-size: 7px; }
}

@media (max-height: 480px) {
    .layout { grid-template-columns: minmax(0, 1fr); }
    .ad-slot-side { display: none; }
    .balloon { width: clamp(88px, 22vh, 120px); }
    .sky-top { padding-top: 10px; }
    .sky-bottom { top: 38px; }
    .question-kicker { margin: 4px 0 3px; }
    .question-panel h2 { margin-bottom: 4px; font-size: clamp(18px, 4.6vh, 23px); line-height: 1.1; }
    .progress-track { margin-top: 4px; }
    .answer-form { min-height: 38px; }
    .question-footer { margin-top: 4px; }
    .question-privacy { margin-top: 2px; font-size: 6px; line-height: 1.2; }
    .countdown-track { margin-top: 4px; }
}

.sky-art[data-rarity="common"] { --flame-mid: #ff8c42; --flame-hot: #fff2a1; }
.sky-art[data-rarity="uncommon"] { --flame-mid: #ffca3a; --flame-hot: #fff6b8; }
.sky-art[data-rarity="different"] { --flame-mid: #8ac926; --flame-hot: #f4ffd8; }
.sky-art[data-rarity="rare"] { --flame-mid: #ff595e; --flame-hot: #fff0a1; }
.sky-art[data-rarity="very-rare"] { --flame-mid: #f15bb5; --flame-hot: #ffe1f8; }
.sky-art[data-rarity="legendary"] { --flame-mid: #9b5de5; --flame-hot: #e3dcff; }
.sky-art[data-rarity="cosmic"] { --flame-mid: #00bbf9; --flame-hot: #f0fcff; }
.answer-ember[data-rarity="very-rare"] { border-color: #efc5ff; background: linear-gradient(135deg, #ed9eff, #9173ff); box-shadow: 0 0 24px rgba(205, 132, 255, .6); color: #201936; }
.answer-ember[data-rarity="legendary"] { border-color: #e2d9ff; background: linear-gradient(135deg, #c8b7ff, #7d74ef); box-shadow: 0 0 24px rgba(170, 145, 255, .65); color: #1d1b3c; }
.answer-ember[data-rarity="cosmic"] { border-color: #d3ffff; background: linear-gradient(135deg, #9cfaff, #74a8ff); box-shadow: 0 0 26px rgba(113, 231, 255, .68); color: #10233d; }
.sky-art[data-zone="stratosphere"] { background: radial-gradient(ellipse at 18% 28%, rgba(255, 195, 169, .14), transparent 34%), radial-gradient(ellipse at 82% 55%, rgba(116, 230, 229, .14), transparent 38%), linear-gradient(180deg, #596e9a, #3e4d7a 55%, #202e54); }
.sky-art[data-zone="orbit"] { background: radial-gradient(ellipse at 72% 28%, rgba(185, 125, 225, .24), transparent 30%), linear-gradient(180deg, #34385f, #252d54 52%, #111a38); }
.sky-art[data-zone="space"] { background: radial-gradient(ellipse at 74% 27%, rgba(72, 54, 112, .16), transparent 30%), linear-gradient(180deg, #111626, #090d1a 56%, #04060d); }
.sky-art[data-zone="deep-space"] { background: radial-gradient(ellipse at 70% 35%, rgba(42, 37, 83, .13), transparent 28%), linear-gradient(180deg, #080b14, #03050b 58%, #010207); }
.sky-art[data-zone="stratosphere"] .stork-flock { opacity: .3; }
.sky-art[data-zone="stratosphere"] .distant-plane { opacity: .42; }
.sky-art[data-zone="stratosphere"] .distant-ufo { opacity: .68; }
.sky-art[data-zone="stratosphere"] .stratosphere-jet { opacity: .96; }
.sky-art[data-zone="orbit"] .stork-flock,
.sky-art[data-zone="space"] .stork-flock,
.sky-art[data-zone="deep-space"] .stork-flock,
.sky-art[data-zone="orbit"] .gull-flock,
.sky-art[data-zone="space"] .gull-flock,
.sky-art[data-zone="deep-space"] .gull-flock,
.sky-art[data-zone="orbit"] .distant-plane,
.sky-art[data-zone="space"] .distant-plane,
.sky-art[data-zone="deep-space"] .distant-plane { opacity: 0; }
.sky-art[data-zone="orbit"] .stratosphere-jet { opacity: .22; }
.sky-art[data-zone="space"] .stratosphere-jet,
.sky-art[data-zone="deep-space"] .stratosphere-jet { opacity: 0; }
.sky-art[data-zone="stratosphere"] .gull-flock { opacity: .32; }
.sky-art[data-zone="orbit"] .distant-satellite { opacity: .9; transform: rotate(0); }
.sky-art[data-zone="orbit"] .orbit-shuttle { opacity: .94; }
.sky-art[data-zone="orbit"] .orbit-station { opacity: 1; transform: translateY(0) scale(1); }
.sky-art[data-zone="space"] .orbit-station { opacity: .35; transform: translateY(-5px) scale(.9); }
.sky-art[data-zone="deep-space"] .orbit-station { opacity: 0; transform: translateY(-10px) scale(.8); }
.sky-art[data-zone="deep-space"] .deep-space-comet { opacity: 1; animation: comet-drift 10s linear -6s infinite; }
.sky-art[data-zone="orbit"] .distant-ufo,
.sky-art[data-zone="space"] .distant-ufo,
.sky-art[data-zone="deep-space"] .distant-ufo { opacity: 0; }
.space-sprites { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.pixel-star { position: absolute; color: #fff1bd; font-size: 19px; opacity: 0; text-shadow: 0 0 12px currentColor; transition: opacity .8s, transform 1s; animation: star-twinkle 2.8s steps(2, end) infinite, star-drift 9s ease-in-out infinite alternate; }
.pixel-star-one { top: 20%; left: 24%; }
.pixel-star-two { top: 39%; right: 24%; color: #c9c4ff; animation-delay: .6s; }
.pixel-star-three { top: 58%; left: 17%; color: #a4efff; animation-delay: 1.1s; }
.pixel-star-four { top: 16%; left: 58%; color: #ffe28c; animation-delay: 1.6s; }
.pixel-star-five { top: 68%; right: 36%; color: #ff9fc6; animation-delay: 2.1s; }
.pixel-star-six { top: 34%; left: 8%; color: #9af4ed; animation-delay: 2.6s; }
.space-sun { position: absolute; z-index: 0; top: 11%; right: 17%; width: 84px; height: 84px; opacity: 0; transform: scale(.72); filter: drop-shadow(0 0 24px rgba(255, 171, 75, .48)); transition: opacity 1s, transform 1.2s cubic-bezier(.2, .75, .25, 1); }
.space-sun::before { position: absolute; inset: 0; background: #ffad49; clip-path: polygon(40% 0, 60% 0, 60% 12%, 82% 12%, 82% 25%, 100% 25%, 100% 75%, 82% 75%, 82% 88%, 60% 88%, 60% 100%, 40% 100%, 40% 88%, 18% 88%, 18% 75%, 0 75%, 0 25%, 18% 25%, 18% 12%, 40% 12%); content: ""; }
.space-sun::after { position: absolute; inset: 18px; border: 5px solid #ffe99b; background: radial-gradient(circle at 35% 30%, #fff8cc, #ffd26b 72%, #ff934f); clip-path: polygon(25% 0, 75% 0, 75% 12%, 88% 12%, 88% 25%, 100% 25%, 100% 75%, 88% 75%, 88% 88%, 75% 88%, 75% 100%, 25% 100%, 25% 88%, 12% 88%, 12% 75%, 0 75%, 0 25%, 12% 25%, 12% 12%, 25% 12%); content: ""; }
.meteor-streak { position: absolute; z-index: 2; width: 76px; height: 2px; opacity: 0; background: linear-gradient(90deg, transparent, rgba(255, 173, 104, .18), #ffe9b0); box-shadow: 0 0 8px rgba(255, 190, 132, .58); transform: rotate(-35deg); animation: none; }
.meteor-streak::after { position: absolute; top: -2px; right: 0; width: 6px; height: 6px; background: #fff3bd; box-shadow: 0 0 10px #ffbd7d; content: ""; }
.meteor-one { top: 22%; left: 72%; }
.meteor-two { top: 61%; left: 55%; width: 54px; animation-delay: -3.4s; animation-duration: 9s; }
.pixel-planet { position: absolute; width: 76px; height: 66px; opacity: 0; transform: translateY(18px) scale(.72); transition: opacity 1s, transform 1.2s cubic-bezier(.2, .75, .25, 1); animation: planet-drift 6s ease-in-out infinite alternate; }
.pixel-planet::before { position: absolute; inset: 5px 7px; background: #d997f0; clip-path: polygon(25% 0, 75% 0, 75% 12%, 88% 12%, 88% 76%, 75% 76%, 75% 88%, 25% 88%, 25% 76%, 12% 76%, 12% 12%, 25% 12%); content: ""; filter: drop-shadow(0 0 13px rgba(209, 146, 255, .36)); }
.pixel-planet::after { position: absolute; top: 20px; left: 23px; width: 9px; height: 8px; background: rgba(255, 229, 197, .8); box-shadow: 22px 13px 0 rgba(132, 79, 181, .62), -10px 24px 0 rgba(243, 181, 231, .75); content: ""; }
.planet-lilac { top: 24%; right: 13%; }
.planet-lilac span { position: absolute; z-index: -1; top: 29px; left: -8px; width: 92px; height: 13px; transform: rotate(-17deg); border: 4px solid #e6c1ff; box-shadow: 0 0 12px rgba(192, 154, 255, .5); }
.planet-coral { top: 51%; left: 15%; width: 61px; height: 55px; }
.planet-coral::before { background: #ffb18e; }
.planet-coral::after { top: 17px; left: 18px; background: #fff0b0; box-shadow: 16px 13px 0 #e17483, -5px 22px 0 #ffd19d; }
.planet-teal { top: 24%; left: 20%; width: 56px; height: 51px; }
.planet-teal::before { background: #63d9d0; filter: drop-shadow(0 0 13px rgba(99, 217, 208, .42)); }
.planet-teal::after { top: 15px; left: 17px; background: #d7fff1; box-shadow: 15px 11px 0 #268c9b, -6px 19px 0 #a6f1dc; }
.planet-gold { top: 59%; right: 15%; width: 74px; height: 63px; }
.planet-gold::before { background: #ffc866; filter: drop-shadow(0 0 13px rgba(255, 200, 102, .4)); }
.planet-gold::after { top: 18px; left: 23px; background: #fff2a1; box-shadow: 19px 13px 0 #e88961, -8px 23px 0 #ffdd8d; }
.planet-gold span { position: absolute; z-index: -1; top: 29px; left: -9px; width: 88px; height: 12px; transform: rotate(12deg); border: 4px solid #ffdc8c; box-shadow: 0 0 12px rgba(255, 200, 102, .42); }
.pixel-black-hole { position: absolute; top: 34%; right: 33%; width: 88px; height: 82px; opacity: 0; transform: scale(.65) rotate(-12deg); transition: opacity 1s, transform 1.3s; }
.pixel-black-hole::before { position: absolute; inset: 0; background: conic-gradient(from 25deg, #ffcb82, #f079cf 24%, #928cff 49%, #6ee1ef 72%, #ffcb82); clip-path: polygon(35% 0, 65% 0, 65% 9%, 83% 9%, 83% 22%, 96% 22%, 96% 70%, 83% 70%, 83% 87%, 65% 87%, 65% 100%, 35% 100%, 35% 91%, 17% 91%, 17% 78%, 4% 78%, 4% 30%, 17% 30%, 17% 13%, 35% 13%); filter: drop-shadow(0 0 12px rgba(218, 145, 255, .6)); content: ""; }
.black-hole-core { position: absolute; z-index: 1; inset: 20px 21px; background: #070914; clip-path: polygon(25% 0, 75% 0, 75% 13%, 88% 13%, 88% 75%, 75% 75%, 75% 88%, 25% 88%, 25% 75%, 12% 75%, 12% 13%, 25% 13%); box-shadow: inset 0 0 13px #000; }
.space-astronaut { position: absolute; z-index: 3; top: 45%; right: 19%; width: 48px; opacity: 0; filter: drop-shadow(0 0 10px rgba(158, 239, 255, .56)); animation: astronaut-drift 7s ease-in-out infinite alternate; transition: opacity .9s; }
.space-astronaut svg, .deep-space-ship svg { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.deep-space-ship { position: absolute; z-index: 2; top: 62%; left: 12%; width: clamp(100px, 14vw, 156px); opacity: 0; filter: drop-shadow(0 0 16px rgba(116, 230, 229, .42)); animation: ship-drift 9s ease-in-out infinite alternate; transition: opacity 1s, filter 1s; }
.deep-space-ship::before { position: absolute; top: 44%; left: -13px; width: 28px; height: 8px; background: linear-gradient(90deg, transparent, #ff9b72, #fff0b0); filter: blur(2px); animation: ship-engine-pulse .28s steps(2, end) infinite alternate; content: ""; }
.ship-engine { animation: ship-engine-pulse .28s steps(2, end) infinite alternate; }
.sky-art .pixel-star { opacity: var(--star-visibility, 0); }
.sky-art[data-zone="orbit"] .planet-lilac,
.sky-art[data-zone="space"] .planet-coral,
.sky-art[data-zone="space"] .planet-teal,
.sky-art[data-zone="deep-space"] .planet-gold { opacity: 1; transform: translateY(0) scale(1); }
.sky-art[data-zone="space"] .space-sun { opacity: .94; transform: scale(1); animation: sun-breathe 5s ease-in-out infinite; }
.sky-art[data-zone="deep-space"] .space-sun { opacity: .2; transform: scale(.88); }
.sky-art[data-zone="space"] .meteor-streak,
.sky-art[data-zone="deep-space"] .meteor-streak { animation: meteor-shoot 7s linear infinite; }
.sky-art[data-zone="space"] .meteor-two,
.sky-art[data-zone="deep-space"] .meteor-two { animation: meteor-shoot 9s linear -3.4s infinite; }
.sky-art[data-zone="space"] .space-astronaut { opacity: 1; }
.sky-art[data-zone="space"] .deep-space-ship { opacity: .92; }
.sky-art[data-zone="deep-space"] .deep-space-ship { opacity: 1; filter: drop-shadow(0 0 20px rgba(116, 230, 229, .64)); }
.sky-art[data-zone="deep-space"] .pixel-black-hole { opacity: 1; transform: scale(1.18) rotate(0); }
.sky-art[data-zone="deep-space"] .pixel-black-hole::before { animation: black-hole-turn 15s linear infinite; }
.sky-art[data-zone="stratosphere"] .cloud { opacity: .23; }
.sky-art[data-zone="clouds"] .moon,
.sky-art[data-zone="clouds"] .star { opacity: 0; }
.sky-art[data-zone="stratosphere"] .day-sun { opacity: .34; transform: scale(.82); }
.sky-art[data-zone="orbit"] .day-sun,
.sky-art[data-zone="space"] .day-sun,
.sky-art[data-zone="deep-space"] .day-sun { opacity: 0; }
.sky-art[data-zone="stratosphere"] .ground,
.sky-art[data-zone="orbit"] .ground,
.sky-art[data-zone="space"] .ground,
.sky-art[data-zone="deep-space"] .ground { opacity: 0; transform: translateY(12px); }
.sky-art[data-zone="orbit"] .cloud,
.sky-art[data-zone="space"] .cloud,
.sky-art[data-zone="deep-space"] .cloud { opacity: 0; }
.sky-art.is-lifting .pixel-star { animation-duration: 2.8s, 2.2s; }
.sky-art[data-zone="orbit"] .moon,
.sky-art[data-zone="space"] .moon,
.sky-art[data-zone="deep-space"] .moon { opacity: .12; }
.sky-art[data-zone="space"] .sky-grid,
.sky-art[data-zone="deep-space"] .sky-grid { opacity: .08; }
.sky-art::before { position: absolute; z-index: 2; inset: -20%; pointer-events: none; background: repeating-linear-gradient(165deg, transparent 0 54px, rgba(193, 223, 255, .28) 55px 57px, transparent 58px 112px); content: ""; opacity: 0; transition: opacity .8s ease; }
.sky-art.is-lifting::before { opacity: .12; animation: wind-lines 1.2s linear infinite; }
.sky-art[data-flight-speed="steady"].is-lifting::before { opacity: .26; animation-duration: .8s; }
.sky-art.is-rushing::before { opacity: .52; animation: wind-lines .55s linear infinite; }
.sky-art.is-lifting .balloon { animation: balloon-bob var(--shake-duration, 3s) cubic-bezier(.16, 1, .3, 1) 1 both, balloon-shake var(--shake-duration, 3s) cubic-bezier(.16, 1, .3, 1) 1 both; }
.game-body.is-lifting .play-area { animation: cabin-rattle var(--rattle-duration, 3s) cubic-bezier(.16, 1, .3, 1) 1 both; }
.burner-flame.is-igniting { animation: flame-burst .62s cubic-bezier(.15, .75, .3, 1) both; }
.question-panel.is-entering { animation: question-arrive .42s cubic-bezier(.2, .75, .25, 1) both; }
.question-panel.is-submitting .answer-form { transform: scale(.97); border-color: var(--flame-mid, #ffad4d); box-shadow: 0 0 22px rgba(255, 164, 87, .18); }
.question-panel.is-submitting .answer-form input { color: #b7c1d9; }
.answer-form { transition: border-color .25s, transform .3s, box-shadow .3s; }
.answer-ember { position: fixed; z-index: 100; max-width: 240px; padding: 8px 13px; overflow: hidden; border: 1px solid rgba(255, 230, 177, .72); background: linear-gradient(135deg, rgba(255, 190, 105, .95), rgba(255, 126, 112, .92)); box-shadow: 0 0 22px rgba(255, 158, 95, .48); color: #251b2c; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
#answer-flight-layer { position: fixed; z-index: 100; inset: 0; overflow: hidden; pointer-events: none; }

@keyframes flame-flicker {
    from { transform: scaleX(.82) scaleY(.88) translateY(2px); }
    to { transform: scaleX(1.12) scaleY(1.08) translateY(-2px); }
}
@keyframes flame-burst {
    0% { transform: translateX(-50%) scaleY(.45); filter: brightness(1); }
    42% { transform: translateX(-50%) scaleY(1.8); filter: brightness(1.65); }
    100% { transform: translateX(-50%) scaleY(var(--flame-power, 1)); filter: brightness(1.12) drop-shadow(0 0 12px var(--flame-mid, #ffad4d)); }
}
@keyframes balloon-shake {
    0%, 100% { rotate: 0deg; }
    7% { rotate: var(--shake-angle-negative, -2deg); }
    14% { rotate: var(--shake-angle, 2deg); }
    21% { rotate: var(--shake-angle-negative, -2deg); }
    28% { rotate: var(--shake-angle, 2deg); }
    35% { rotate: var(--shake-angle-mid-negative, -1deg); }
    42% { rotate: var(--shake-angle-mid, 1deg); }
    49% { rotate: var(--shake-angle-mid-negative, -1deg); }
    56% { rotate: var(--shake-angle-mid, 1deg); }
    63% { rotate: var(--shake-angle-soft-negative, -.5deg); }
    70% { rotate: var(--shake-angle-soft, .5deg); }
    77% { rotate: var(--shake-angle-soft-negative, -.5deg); }
    84% { rotate: var(--shake-angle-soft, .5deg); }
    92% { rotate: 0deg; }
}
@keyframes cabin-rattle {
    0%, 100% { translate: 0 0; }
    7% { translate: var(--rattle-distance-negative, -2px) 1px; }
    14% { translate: var(--rattle-distance, 2px) -1px; }
    21% { translate: var(--rattle-distance-negative, -2px) 1px; }
    28% { translate: var(--rattle-distance, 2px) -1px; }
    35% { translate: var(--rattle-distance-mid-negative, -1px) .5px; }
    42% { translate: var(--rattle-distance-mid, 1px) -.5px; }
    49% { translate: var(--rattle-distance-mid-negative, -1px) .5px; }
    56% { translate: var(--rattle-distance-mid, 1px) -.5px; }
    63% { translate: var(--rattle-distance-soft-negative, -.5px) .25px; }
    70% { translate: var(--rattle-distance-soft, .5px) -.25px; }
    77% { translate: var(--rattle-distance-soft-negative, -.5px) .25px; }
    84% { translate: var(--rattle-distance-soft, .5px) -.25px; }
    92% { translate: 0 0; }
}
@keyframes ufo-cruise {
    0% { transform: translate(0, 0) rotate(-2deg); }
    50% { transform: translate(-13px, -7px) rotate(0); }
    100% { transform: translate(12px, 4px) rotate(2deg); }
}
@keyframes ufo-beam {
    from { opacity: .32; }
    to { opacity: .72; }
}
@keyframes question-arrive {
    from { opacity: 0; transform: translateY(13px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cloud-drift {
    from { margin-left: -9px; }
    to { margin-left: 18px; }
}
@keyframes flock-drift {
    from { translate: -4px 2px; }
    to { translate: 8px -7px; }
}
@keyframes gull-glide {
    from { translate: -12px 3px; }
    to { translate: 38px -9px; }
}
@keyframes gull-wing-beat {
    from { transform: rotate(-4deg) scaleY(.94); }
    to { transform: rotate(4deg) scaleY(1.04); }
}
@keyframes plane-drift {
    from { translate: 0 0; rotate: -3deg; }
    to { translate: 12px -5px; rotate: 2deg; }
}
@keyframes satellite-hover {
    from { translate: 0 0; }
    to { translate: 0 -7px; }
}
@keyframes jet-glide {
    from { translate: 0 0; rotate: -3deg; }
    to { translate: 12px -5px; rotate: 2deg; }
}
@keyframes shuttle-cruise {
    from { translate: 0 0; rotate: -3deg; }
    to { translate: -13px 7px; rotate: 2deg; }
}
@keyframes comet-drift {
    from { transform: rotate(-22deg) translateX(0); }
    to { transform: rotate(-22deg) translateX(110vw); }
}
@keyframes moon-glow {
    50% { box-shadow: 0 0 44px rgba(255, 227, 163, .5); }
}
@keyframes star-twinkle {
    50% { opacity: .35; transform: scale(.72); }
}
@keyframes star-drift {
    from { translate: -12px 8px; }
    to { translate: 18px -16px; }
}
@keyframes planet-drift {
    from { translate: 0 0; }
    to { translate: 8px -10px; }
}
@keyframes meteor-shoot {
    0% { opacity: 0; translate: -110px 120px; }
    12% { opacity: 1; }
    82% { opacity: .8; translate: 70px -70px; }
    100% { opacity: 0; translate: 110px -120px; }
}
@keyframes astronaut-drift {
    from { transform: translate(0, 0) rotate(-8deg); }
    to { transform: translate(18px, -14px) rotate(9deg); }
}
@keyframes ship-drift {
    from { transform: translate(0, 0) rotate(-3deg); }
    to { transform: translate(25px, -8px) rotate(4deg); }
}
@keyframes ship-engine-pulse {
    from { opacity: .48; }
    to { opacity: 1; }
}
@keyframes sun-breathe {
    50% { filter: drop-shadow(0 0 36px rgba(255, 171, 75, .72)); }
}
@keyframes black-hole-turn {
    to { transform: rotate(348deg); }
}
@keyframes wind-lines {
    to { background-position: -90px 130px; }
}

@media (max-width: 560px) {
    .play-area { backdrop-filter: blur(14px); }
    .sky-art.is-rushing::before { opacity: .3; }
    .cloud-back { left: 2%; }
    .cloud-front { top: 52%; right: 1%; transform: scale(.62); }
    .stork-flock-left { top: 17%; left: 4%; width: 72px; }
    .stork-flock-right { top: 28%; right: 4%; width: 48px; }
    .gull-flock-upper { top: 37%; left: 15%; width: 96px; }
    .gull-flock-lower { top: 53%; right: 13%; width: 60px; }
    .distant-plane { top: 12%; right: 4%; width: 42px; }
    .distant-ufo { top: 44%; right: 5%; width: 76px; }
    .distant-satellite { left: 7%; width: 54px; }
    .day-sun { left: 54%; width: 62px; }
    .day-sun span { inset: 9px; }
    .ground-village { bottom: 59px; height: 62px; }
    .stratosphere-jet { top: 32%; left: 54%; width: 58px; }
    .orbit-shuttle { top: 56%; left: 52%; width: 72px; }
    .deep-space-comet { top: 18%; }
    .space-sun { width: 60px; height: 60px; }
    .space-astronaut { right: 9%; width: 38px; }
    .deep-space-ship { left: 6%; width: 84px; }
    .answer-ember { max-width: 190px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .sky-art.is-lifting::before { animation: none; }
    .game-body.is-lifting .play-area, .sky-art.is-lifting .balloon { animation: none; }
}
