*{box-sizing:border-box}[hidden]{display:none!important}:root{color-scheme:dark;--ink:#effcff;--muted:#80a1a9;--line:rgba(255,255,255,.1);--mint:#66f2d1;--cyan:#59dfff;--orange:#ffad5a}html,body{margin:0;min-height:100%;overflow:hidden;background:#031012}body{font-family:Pretendard,"Noto Sans KR",system-ui,sans-serif;color:var(--ink)}button{font:inherit}.game{min-height:720px;padding:16px;background:radial-gradient(circle at 12% 0,rgba(66,240,203,.14),transparent 34%),radial-gradient(circle at 90% 12%,rgba(77,171,255,.12),transparent 30%),linear-gradient(180deg,#061719,#020809)}.topbar,.stage{max-width:960px;margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.eyebrow{margin:0 0 2px;color:#65a7a4;font-size:10px;font-weight:950;letter-spacing:.18em}h1{margin:0;font-size:clamp(21px,3vw,29px)}.actions{display:flex;gap:7px}.pill{min-height:34px;padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.05);color:#d8f0f0;font-size:11px;font-weight:850}.stage{position:relative;overflow:hidden;min-height:620px;padding:20px;border:1px solid rgba(84,227,214,.17);border-radius:30px;background:linear-gradient(160deg,rgba(7,29,31,.98),rgba(2,10,12,.98));box-shadow:0 25px 70px rgba(0,0,0,.36)}.hud{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.hud span{padding:9px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.035);text-align:center;color:#709493;font-size:10px;font-weight:850}.hud strong{color:#e9ffff;font-size:13px}.intro,.result{position:relative;z-index:2;min-height:510px;display:grid;place-content:center;justify-items:center;text-align:center}.meteor-logo{position:relative;width:170px;height:145px;margin-bottom:22px}.meteor-logo:before,.meteor-logo:after,.meteor-logo i{content:"";position:absolute;border-radius:999px;background:linear-gradient(90deg,transparent,#60efdb);filter:drop-shadow(0 0 8px #55dac7);transform:rotate(-24deg);animation:shoot 2.6s ease-in-out infinite}.meteor-logo:before{width:120px;height:5px;left:10px;top:30px}.meteor-logo:after{width:85px;height:7px;right:0;top:78px;animation-delay:-.8s}.meteor-logo i:nth-child(1){width:62px;height:4px;left:45px;bottom:18px;animation-delay:-1.3s}.meteor-logo i:nth-child(2){width:12px;height:12px;right:26px;top:24px;background:#fff;box-shadow:0 0 20px #65f4dd}.meteor-logo i:nth-child(3){width:9px;height:9px;left:28px;top:82px;background:#ffb963;box-shadow:0 0 16px #ffb963}.state{margin:0 0 7px;color:#63e7d0;font-size:10px;font-weight:950;letter-spacing:.16em}.intro h2,.result h2,.round-copy h2{margin:0;font-size:clamp(31px,5vw,47px);letter-spacing:-.05em}.intro>p:not(.state),.result>p:not(.state){max-width:590px;margin:10px 0 22px;color:var(--muted);font-size:13px;line-height:1.7}.primary{min-width:190px;min-height:52px;border:0;border-radius:16px;background:linear-gradient(135deg,#60efd5,#56caff);color:#051514;font-weight:950;cursor:pointer;box-shadow:0 14px 38px rgba(70,217,210,.2)}.play{position:relative;z-index:2;padding-top:22px;text-align:center}.round-copy h2{font-size:clamp(24px,4vw,35px)}.field{position:relative;width:min(690px,100%);height:330px;margin:18px auto 14px;border:1px solid rgba(87,225,214,.13);border-radius:24px;overflow:hidden;background:radial-gradient(circle at 50% 50%,rgba(56,199,191,.06),transparent 50%),rgba(1,8,10,.62)}.dot{position:absolute;width:var(--s);height:var(--s);border-radius:50%;background:radial-gradient(circle,#fff 0 14%,#6df5db 36%,#168d8a 66%,transparent 70%);box-shadow:0 0 18px rgba(92,242,221,.45);transform:translate(-50%,-50%) scale(0);animation:appear .23s ease-out forwards}.dot.alt{background:radial-gradient(circle,#fff 0 14%,#7dd7ff 36%,#236daa 66%,transparent 70%);box-shadow:0 0 18px rgba(91,191,255,.4)}.answers{width:min(590px,100%);margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.answers button{min-height:60px;border:1px solid rgba(95,238,218,.16);border-radius:15px;background:linear-gradient(145deg,#0f2a2d,#081719);color:#eaffff;font-size:20px;font-weight:950;cursor:pointer;transition:.13s}.answers button:hover{transform:translateY(-2px);border-color:#62e9d3}.note{min-height:20px;color:#739694;font-size:11px}.note.good{color:#71efb0}.note.bad{color:#ff827d}.result h2 strong{font-size:clamp(70px,13vw,115px);color:#70efd6;text-shadow:0 0 40px rgba(75,233,207,.25)}.result h2 small{font-size:16px;color:#769391}.confetti{position:absolute;inset:0;pointer-events:none}.confetti i{position:absolute;width:6px;height:12px;border-radius:3px;background:#67efd7;animation:burst .8s ease-out forwards}@keyframes shoot{50%{transform:translate(12px,-6px) rotate(-24deg);filter:drop-shadow(0 0 15px #55dac7)}}@keyframes appear{to{transform:translate(-50%,-50%) scale(1)}}@keyframes burst{to{transform:translate(var(--x),var(--y)) rotate(var(--r));opacity:0}}@media(max-width:650px){.game{padding:9px}.stage{min-height:650px;padding:14px;border-radius:24px}.hud{grid-template-columns:1fr 1fr}.hud span:last-child{grid-column:1/-1}.field{height:300px}.answers{grid-template-columns:1fr 1fr}.answers button{min-height:56px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important}}


/* v0.9.7 universal mobile compact */
@media(max-width:700px){
  html,body{min-height:0!important;max-width:100%!important;overflow-x:hidden!important}
  .game{min-height:0!important;padding:6px!important;max-width:100%!important;overflow-x:hidden!important}
  .topbar,.top,main.game>header{min-height:30px!important;margin-bottom:5px!important;padding:0!important;display:flex!important;align-items:center!important}
  .topbar>div:first-child,.top>div:first-child,main.game>header>div:first-child{display:none!important}
  .top-actions,.topbar>.actions,.top>.top-actions,main.game>header>div:last-child{width:100%!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:4px!important;margin:0!important}
  .mode,.sound,.pill,.top-actions>*,main.game>header>div:last-child>*{min-height:27px!important;padding:4px 7px!important;font-size:9px!important;line-height:1.1!important}
  .intro,.done,.result,.complete{min-height:0!important;padding:15px 11px!important;border-radius:18px!important}
  .intro h2,.done h2,.result h2,.complete h2{font-size:clamp(24px,7vw,31px)!important;line-height:1.15!important;margin-top:5px!important;margin-bottom:6px!important;word-break:keep-all}
  .intro>p:not(.state),.intro .desc,.intro .description,.copy p:last-child,.done>p:not(.state),.result>p:not(.state){font-size:10.5px!important;line-height:1.45!important;margin:6px auto 12px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;max-width:96%!important}
  .stage{border-radius:18px!important;padding-left:9px!important;padding-right:9px!important}
  .meteor-logo,.cosmos,.hero-heart,.portal,.demo,.sky,.galaxy,.done-heart,.pulse,.const{transform:scale(.72);transform-origin:center;margin-top:-14px!important;margin-bottom:-13px!important}
  .evolution{margin:9px 0!important;gap:4px!important;max-width:100%;overflow:hidden}.evolution em{width:34px!important;height:34px!important;font-size:16px!important;flex:0 0 auto}.evolution b{font-size:10px!important}
  .primary,.action,.intro button,.done button,.result button{min-height:43px!important;padding:9px 17px!important;border-radius:12px!important;font-size:12px!important}
  .help,.message,.note{font-size:9px!important;line-height:1.35!important}
}
@media(max-width:390px){
  .game{padding:5px!important}
  .intro h2,.done h2,.result h2,.complete h2{font-size:24px!important}
  .mode,.sound,.pill,.top-actions>*,main.game>header>div:last-child>*{font-size:8.5px!important;padding:4px 6px!important}
}

@media(max-width:700px){.stage{min-height:0!important;padding-top:10px!important}.intro,.result{min-height:430px!important}.meteor-logo{width:110px!important;height:90px!important}.field{min-height:260px!important}}


/* v0.9.7 mobile idle/gameplay compaction */
@media(max-width:700px){
  .arena.state-idle,.stage.state-idle{min-height:min(430px,calc(100dvh - 145px))!important;padding:12px 10px!important}
  .arena.state-idle .copy h2,.stage.state-idle .copy h2,.stage .copy h2{font-size:clamp(22px,6.5vw,29px)!important;line-height:1.15!important;margin:5px 0 6px!important;word-break:keep-all}
  .arena.state-idle .copy>p:not(.state),.stage.state-idle .copy>p:not(.state),.stage .copy>p:not(.state){font-size:10.5px!important;line-height:1.4!important;margin:5px auto 9px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  .hint,.typing-note{font-size:9px!important;line-height:1.3!important;margin-top:5px!important}
  .mode-card,.start-panel{padding:10px!important;margin-bottom:7px!important;border-radius:15px!important}
  .summary{min-height:0!important;padding:11px 9px!important}
}

/* v0.10.0 common fullscreen bridge */
html.host-fullscreen,html.host-fullscreen body{width:100%!important;height:100%!important;min-height:100%!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important}
html.host-fullscreen .game{width:100%!important;min-height:100dvh!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:6px!important}
@media(max-width:700px){
 html.host-fullscreen .topbar,html.host-fullscreen .top,html.host-fullscreen main.game>header{display:none!important}
 html.host-fullscreen .intro,html.host-fullscreen .done,html.host-fullscreen .result,html.host-fullscreen .complete,html.host-fullscreen .stage,html.host-fullscreen .arena,html.host-fullscreen .panel{min-height:0!important;max-height:none!important}
 html.host-fullscreen .summary{display:none!important}
 html.host-fullscreen .intro,html.host-fullscreen .done{padding-top:10px!important;padding-bottom:10px!important}
 html.host-fullscreen .help,html.host-fullscreen .hint,html.host-fullscreen .legend{max-height:34px;overflow:hidden}
}
