/* 백야 작전: 해가 지지 않는 얼음 행성의 밤하늘. 글운 공통 색은 쓰지 않는다(게임 안은 따로 된 세계) */
:root {
  color-scheme: dark;
  --w-sky: 3 41 43; --w-base: 22 38 46; --w-deep: 15 27 33; --w-panel: 32 52 61; --w-line: 77 127 132; --w-bg: url(../img/planet.webp); --w-m: url(../img/planet.webp);
  --night: rgb(var(--w-base)); --deep: rgb(var(--w-deep)); --panel: rgb(var(--w-panel)); --line: rgb(var(--w-line) / .6);
  --ice: #d5dfda; --slate: #6f9190; --snow: #f2ebda; --mist: #a9bdbd;
  --amber: #f0b04a; --rust: #d9573f; --mint: #7fd1ae; --foe: #2b1c26;
  --font: "Pretendard Variable", Pretendard, system-ui, "Malgun Gothic", sans-serif;
  --loud: "Black Han Sans", "Pretendard Variable", "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--snow); font: 400 16px/1.65 var(--font); word-break: keep-all; overflow-wrap: anywhere; min-height: 100dvh; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .4; cursor: default; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2 { font-weight: 400; font-family: var(--loud); line-height: 1.25; margin: 0; }
.main { display: inline-block; border: 0; border-radius: 10px; background: var(--amber); color: #2a1c05; font-weight: 800; padding: 13px 22px; min-height: 48px; box-shadow: 0 4px 0 #a8701c; }
.main:active { transform: translateY(3px); box-shadow: 0 1px 0 #a8701c; }
.wide { width: 100%; }
.quiet { background: none; border: 0; color: var(--mist); padding: 10px 8px; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }

.top { display: flex; align-items: center; gap: 14px; max-width: 1080px; margin: auto; padding: 6px 18px; }
.top a { text-decoration: none; }
.home { color: var(--mist); padding: 10px 0; }
.brand { font-family: var(--loud); font-size: 20px; padding: 8px 0; }
.top .quiet { margin-left: auto; font-size: 14px; }

/* ── 말 그림 ── */
.pc { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; -webkit-user-drag: none; }

/* ── 첫 화면 ── */
.hero { background: #03292b url(../img/hero.webp) 50% 100% / cover no-repeat; min-height: min(76vh, 640px); }
.hero-in { max-width: 1080px; margin: auto; padding: 40px 18px 10px; }
.hero h1 { font-size: clamp(34px, 5.6vw, 60px); text-shadow: 0 2px 14px rgb(var(--w-deep)); }
.hero p { max-width: 30ch; margin: 12px 0 20px; font-size: 17px; color: #dbe6e1; text-shadow: 0 1px 8px rgb(var(--w-deep)); }
.duel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 18px; }
.duel button { display: flex; align-items: center; gap: 12px; text-align: left; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 10px 14px; min-height: 84px; }
.duel button:hover { background: rgb(var(--w-line) / .5); }
.duel img { width: 58px; height: 58px; flex: none; }
.duel b { display: block; font: 800 18px/1.35 var(--font); } .duel small { font-size: 14px; color: var(--mist); line-height: 1.4; display: block; }
.duel .shut img { filter: grayscale(1) brightness(.75); } .duel .live small { color: var(--mint); }

.rank, .duel, #chapters, .janggi, #map footer { max-width: 1080px; margin-inline: auto; padding-inline: 18px; }
.rank { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding-block: 20px 12px; }
.rank strong { font: 400 22px var(--loud); color: var(--amber); }
.rank span { color: var(--mist); font-size: 15px; font-variant-numeric: tabular-nums; }
.bar { flex: 1 1 160px; height: 10px; border-radius: 5px; background: var(--deep); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--amber); transition: width .6s; }

.ch { border-top: 1px solid var(--line); }
.ch:last-of-type { border-bottom: 1px solid var(--line); }
.ch summary { display: flex; align-items: center; gap: 14px; padding: 14px 0; min-height: 64px; cursor: pointer; list-style: none; }
.ch summary::-webkit-details-marker { display: none; }
.ch .no { font: 400 20px var(--loud); color: var(--slate); width: 3em; flex: none; }
.ch .nm b { display: block; font: 800 19px/1.35 var(--font); }
.ch .nm small { color: var(--mist); font-size: 15px; }
.ch .ct { margin-left: auto; color: var(--mist); font-size: 15px; white-space: nowrap; }
.ch[open] .no { color: var(--amber); }
/* 임무 지도는 체스판 무늬 그대로 */
.cells10 { display: grid; grid-template-columns: repeat(5, 1fr); border-radius: 12px; overflow: hidden; margin: 2px 0 20px; }
.ms { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px; min-height: 104px; text-decoration: none; color: #1b2c32; }
.ms.l { background: var(--ice); } .ms.d { background: var(--slate); color: #0c1a1f; }
.ms b { font: 400 24px/1 var(--loud); } .ms em { font-style: normal; font-size: 15px; line-height: 1.35; font-weight: 600; }
.ms small { margin-top: auto; font-size: 13px; font-weight: 700; color: #7d2413; } .ms.d small { color: #3d0d04; }
.ms .stars { margin-top: auto; }
.ms.shut { opacity: .38; }
.ms.now { background: var(--amber); color: #2a1c05; }
a.ms:hover { filter: brightness(1.07); }
a.ms:focus-visible { outline-offset: -4px; outline-color: #16262e; }
.stars { display: inline-flex; gap: 3px; }
.stars i { width: 15px; height: 15px; background: #0000003d; clip-path: polygon(50% 0, 63% 35%, 100% 37%, 71% 60%, 81% 96%, 50% 75%, 19% 96%, 29% 60%, 0 37%, 37% 35%); }
.stars i.on { background: #8c3d00; } .ms.d .stars i.on { background: #ffd98c; }
.jump { border: 1px solid var(--line); border-radius: 10px; background: none; padding: 11px 16px; margin: 0 0 20px; min-height: 46px; }
.jump:hover { background: var(--panel); }
.janggi { margin-top: 26px; }
.janggi summary { cursor: pointer; padding: 12px 0; font-weight: 700; }
.janggi table { width: 100%; border-collapse: collapse; font-size: 15px; }
.janggi th, .janggi td { text-align: left; padding: 9px 8px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.janggi th { color: var(--mist); font-weight: 600; } .janggi td:first-child { font-weight: 700; white-space: nowrap; }
#map footer { padding-block: 26px 90px; color: var(--mist); font-size: 14px; }
#map footer .quiet { padding-left: 0; }

/* ── 임무 화면 ── */
#play { max-width: 1080px; margin: auto; padding: 0 18px 90px; }
.play-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.back { text-decoration: none; color: var(--mist); padding: 10px 0; white-space: nowrap; }
.play-head span { color: var(--mist); font-size: 14px; display: block; line-height: 1.3; }
.play-head h1 { font-size: 24px; }
.field { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.board-wrap { width: min(100%, calc(100dvh - 190px)); min-width: 280px; margin: 0 auto; padding: clamp(12px, 3.4%, 24px); border-radius: 8px; background: linear-gradient(145deg, #0000, #0006), url(../img/tile-d.webp) 30% 20% / 150%; background-color: #4a2c17; box-shadow: inset 0 1px 0 #d9ab7a80, inset 0 0 0 1px #26130780, inset 0 -3px 5px #0007, 0 4px 0 #2d1809, 0 18px 34px #060f12b0; }
#board { position: relative; aspect-ratio: 1; touch-action: none; user-select: none; -webkit-user-select: none; border-radius: 6px; }
.cells { position: absolute; inset: 0; display: grid; grid-template: repeat(8, 1fr) / repeat(8, 1fr); border-radius: 6px; overflow: hidden; }
.cell { position: relative; border: 0; padding: 0; border-radius: 0; min-width: 0; min-height: 0; }
.cell { background: none; }
.cell.lt { color: #7a4d24; } .cell.dk { color: #f0d9b4; }
.wood { position: absolute; inset: 0; display: grid; grid-template: repeat(8, 1fr) / repeat(8, 1fr); border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1.5px #2a170b, 0 0 0 3.5px #c9a063, 0 0 0 5px #2a170b; }
.wood i { background-size: 420%; box-shadow: inset 0 0 0 .5px #2a170b66; }
.wood .lt { background-image: url(../img/tile-l.webp); } .wood .dk { background-image: url(../img/tile-d.webp); }
.wood::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 22% 8%, #fff6e02e, transparent 55%), radial-gradient(120% 120% at 100% 100%, #1a0b0040, transparent 60%); }
.cell:focus-visible { outline-offset: -4px; outline-color: #b4500d; z-index: 1; }
.cell::before, .cell::after { position: absolute; font: 700 11px/1 var(--font); pointer-events: none; }
.cell[data-r]::before { content: attr(data-r); left: 3px; top: 3px; } .cell[data-f]::after { content: attr(data-f); right: 3px; bottom: 3px; }
.locked .cell { cursor: default; }
.cell.last { box-shadow: inset 0 0 0 100px #7fbf3f57; }
.cell.sel { box-shadow: inset 0 0 0 100px #8fce45a6; }
.cell.chk { box-shadow: inset 0 0 0 100px #d9573fb8; }
.cell.danger { background-image: repeating-linear-gradient(45deg, #d1301899 0 5px, #d1301826 5px 11px); }
.cell.can { background-image: radial-gradient(circle, #0d4a3ce0 0 17%, transparent 18%); }
.cell.danger.can { background-image: radial-gradient(circle, #7c1f0f 0 17%, transparent 18%), repeating-linear-gradient(45deg, #d1301899 0 5px, #d1301826 5px 11px); }
.cell.cap { background-image: radial-gradient(circle, transparent 0 60%, #a3341fe0 61% 70%, transparent 71%); }
.cell.hint { animation: hint 1s ease-in-out infinite alternate; }
@keyframes hint { from { box-shadow: inset 0 0 0 4px #4fd08a; } to { box-shadow: inset 0 0 0 9px #4fd08a; } }
/* 보급품 상자 */
.cell.goal::after { content: ""; position: absolute; inset: 27%; right: 27%; bottom: 27%; border-radius: 4px; background: linear-gradient(90deg, transparent 43%, #fff6dd 43% 57%, transparent 57%), linear-gradient(transparent 38%, #a8701c 38% 46%, transparent 46%), var(--amber); box-shadow: 0 0 0 2px #7a4d0c, 0 4px 0 2px #7a4d0c; animation: box 1.3s ease-in-out infinite alternate; }
@keyframes box { to { transform: translateY(-9%); } }
.units, .arrows { position: absolute; inset: 0; pointer-events: none; }
.arrows { z-index: 3; width: 100%; height: 100%; opacity: .9; }
.arrows path { stroke: #128a57; stroke-width: .15; stroke-linecap: round; fill: none; } .arrows .hd { fill: #128a57; stroke: none; }
.arrows .red path { stroke: #c02d16; } .arrows .red .hd { fill: #c02d16; stroke: none; }
.unit, .boom { position: absolute; left: 0; top: 0; width: 12.5%; height: 12.5%; }
.unit { transition: transform .22s cubic-bezier(.3, .8, .3, 1); }
.unit::before { content: ""; position: absolute; left: 20%; right: 4%; bottom: 1%; height: 20%; border-radius: 50%; background: radial-gradient(closest-side, #1a0a00a8, #1a0a0055 60%, transparent); transform: rotate(-4deg); }
.unit .pc { position: relative; filter: drop-shadow(0 0 .6px #1c0e04) drop-shadow(1.5px 1px 1.5px #1c0e0470); }
.unit.drag { transition: none; z-index: 4; }
.unit.drag .pc { transform: scale(1.2) translateY(-6%); }
.unit.no .pc { animation: no .32s; } @keyframes no { 25% { transform: translateX(-9%); } 75% { transform: translateX(9%); } }
.unit.grow .pc { animation: grow .5s; } @keyframes grow { from { transform: scale(.3) rotate(-20deg); } 60% { transform: scale(1.25); } }
.boom { z-index: 2; }
.boom i { position: absolute; left: 44%; top: 44%; width: 13%; height: 13%; background: var(--rust); animation: boom .5s ease-out forwards; }
.boom i:nth-child(2n) { background: var(--amber); }
.boom i:nth-child(1) { --x: 400%; --y: 0%; } .boom i:nth-child(2) { --x: 280%; --y: 280%; } .boom i:nth-child(3) { --x: 0%; --y: 400%; } .boom i:nth-child(4) { --x: -280%; --y: 280%; }
.boom i:nth-child(5) { --x: -400%; --y: 0%; } .boom i:nth-child(6) { --x: -280%; --y: -280%; } .boom i:nth-child(7) { --x: 0%; --y: -400%; } .boom i:nth-child(8) { --x: 280%; --y: -280%; }
@keyframes boom { to { transform: translate(var(--x), var(--y)) rotate(160deg) scale(.2); opacity: 0; } }

.console { display: grid; gap: 14px; }
.radio, .talk { display: flex; gap: 13px; align-items: flex-start; }
.radio { min-height: 112px; padding: 14px; border-radius: 14px; background: var(--panel); }
.pf { flex: none; width: 66px; height: 66px; padding: 6px; border-radius: 12px; background: linear-gradient(#49717a, #8fb3a8); }
.foe .pf { background: linear-gradient(#5d2230, #a9503f); }
.radio p, .talk p { margin: 1px 0 0; line-height: 1.55; } .radio b, .talk b { color: var(--amber); font-size: 15px; }
.foe b { color: #f0917b; }
.radio.no p { color: #ffc2b3; } .radio.ok p { color: #b6efd4; }
.order { padding: 0 2px; } .order h2 { font: 800 19px/1.4 var(--font); }
.order p { margin: 4px 0 0; color: var(--mist); font-size: 15px; font-variant-numeric: tabular-nums; }
.pips { display: flex; gap: 6px; } .pips:not(:empty) { margin-top: 10px; }
.pips i { flex: 1; height: 8px; border-radius: 4px; background: var(--deep); } .pips i.ok { background: var(--mint); } .pips i.on { background: var(--amber); }
.power { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 15px; font-variant-numeric: tabular-nums; }
.power i { flex: 1; height: 10px; border-radius: 5px; background: #8f3a2a; overflow: hidden; } .power em { display: block; height: 100%; background: var(--snow); transition: width .4s; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.acts button { flex: 1 1 28%; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); min-height: 48px; padding: 8px; font-weight: 600; }
.acts button:hover:not(:disabled) { background: rgb(var(--w-line) / .5); }

/* ── 안쪽도 같은 세계: 임무 화면 뒤로 행성의 하늘이 이어진다 ── */
body { background: linear-gradient(rgb(var(--w-base) / 0) 180px, var(--night) 620px), linear-gradient(rgb(var(--w-sky) / .55), rgb(var(--w-sky) / 0) 260px), var(--w-bg) 50% 0 / max(1180px, 100%) auto no-repeat, var(--night); }
.top, .play-head { text-shadow: 0 1px 8px rgb(var(--w-deep)); } .play-head h1 { font-size: 30px; } .play-head span, .back { color: var(--snow); }
.radio, .acts button, .duel button { background: rgb(var(--w-panel) / .92); border-color: rgb(var(--w-line)); } .radio { box-shadow: inset 0 0 0 1px #f0b04a40, 0 12px 26px #0005; } .pf { border: 2px solid var(--amber); width: 78px; height: 78px; } .foe .pf { border-color: #f0917b; }
.views button { color: var(--snow); text-shadow: 0 1px 6px rgb(var(--w-deep)); }
#map { background: var(--night); }

/* ── 3D 판 ── */
.views { display: flex; justify-content: center; gap: 2px; margin-top: 8px; }
.views button { border: 0; background: none; color: var(--mist); font-size: 14px; padding: 9px 11px; min-height: 42px; border-radius: 8px; }
.views button:hover { background: var(--panel); color: var(--snow); }
.is3d .board-wrap { width: 100%; padding: 0; background: var(--deep); overflow: hidden; border-radius: 14px; box-shadow: 0 18px 40px #060f1299; }
.is3d #board { aspect-ratio: auto; height: min(72dvh, 660px); border-radius: 0; }
.three .gl, .three canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; touch-action: none; }
.three .keys { opacity: 0; pointer-events: none; }

/* ── 대화창 ── */
dialog { width: min(520px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); overflow: auto; border: 0; border-radius: 18px; padding: 22px; background: var(--panel); color: var(--snow); box-shadow: 0 24px 70px #0009; }
dialog::backdrop { background: #0a1418c7; }
dialog h2 { font-size: 27px; margin-bottom: 12px; } dialog.small h2 { font-size: 23px; } dialog p { margin: 8px 0; }
.where { color: var(--mist); font-size: 14px; margin: 0 0 4px !important; }
dialog .talk { margin: 12px 0; } dialog.scene .talk { min-height: 150px; } dialog.scene .pf { width: 92px; height: 92px; }
.talk small { margin-left: 8px; color: var(--mist); font-size: 14px; }
dl { margin: 18px 0; border-top: 1px solid var(--line); } dt { color: var(--mist); font-size: 14px; margin-top: 12px; } dd { margin: 0; } dd:first-of-type { font-weight: 700; font-size: 17px; }
.row { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 18px; }
.big .stars { gap: 8px; margin: 8px 0 12px; } .big .stars i { width: 44px; height: 44px; background: var(--deep); } .big .stars i.on { background: var(--amber); animation: grow .5s backwards; } .big .stars i:nth-child(2) { animation-delay: .15s; } .big .stars i:nth-child(3) { animation-delay: .3s; }
.why { color: var(--mist); font-size: 15px; } .up { padding: 12px 14px; border-radius: 10px; background: var(--amber); color: #2a1c05; }
.promo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .promo button { border: 0; border-radius: 10px; background: var(--slate); color: #0c1a1f; padding: 8px 4px; font-weight: 700; } .promo button:hover { background: var(--ice); }

.code { padding: 14px; border-radius: 10px; background: var(--deep); font: 700 19px/1.5 ui-monospace, Consolas, monospace; word-break: break-all; user-select: all; }
.codein { display: block; margin-top: 20px; font-weight: 700; } .codein input { display: block; width: 100%; margin-top: 6px; padding: 12px; font: 500 16px ui-monospace, Consolas, monospace; color: var(--snow); background: var(--deep); border: 1px solid var(--line); border-radius: 10px; }
#codeMsg { color: var(--mint); min-height: 1.6em; }

/* ── 자유 대국 ── */
.free-box { max-width: 560px; margin: auto; padding: 4px 18px 90px; } .free-box h1 { font-size: 32px; margin: 8px 0; } .free-box > p { color: var(--mist); }
fieldset { border: 0; padding: 0; margin: 22px 0; } legend { font-weight: 700; padding: 0 0 8px; }
.lv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .side { display: flex; gap: 8px; } .side button { flex: 1; }
.lv button, .side button { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); min-height: 50px; padding: 8px 12px; text-align: left; } .lv b { display: inline-block; min-width: 1.6em; font: 400 19px var(--loud); }
[aria-pressed=true]:is(.lv button, .side button) { background: var(--amber); color: #2a1c05; border-color: var(--amber); }

@media (max-width: 820px) {
  .field { grid-template-columns: 1fr; gap: 12px; }
  #play { padding-inline: 10px; } .board-wrap { width: min(100%, 62dvh); padding: 11px; border-radius: 6px; }
  .radio { min-height: 96px; padding: 11px; } .pf { width: 54px; height: 54px; }
  .is3d #board { height: min(52dvh, 98vw); } .is3d .board-wrap { border-radius: 10px; } .views { margin-top: 2px; } .views button { padding: 8px 9px; min-height: 40px; }
  .console { gap: 11px; } .order { order: 1; } .acts { order: 2; }
  .acts button { flex: 1 1 18%; padding: 8px 4px; font-size: 15px; }
  .play-head { margin-bottom: 8px; } .play-head h1 { font-size: 21px; }
}
@media (max-width: 620px) {
  .cells10 { grid-template-columns: repeat(5, 1fr); } .ms { min-height: 92px; padding: 7px 6px; } .ms em { font-size: 13px; letter-spacing: -.02em; } .ms b { font-size: 20px; } .stars i { width: 13px; height: 13px; }
  .hero { min-height: 540px; background: linear-gradient(#03292b 41%, #03292b00 56%), #03292b url(../img/hero.webp) 46% 100% / auto 60% no-repeat; } .duel button { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 12px; } .duel img { width: 44px; height: 44px; } .duel b { font-size: 17px; }
}
@media (max-height: 520px) and (orientation: landscape) { .field { grid-template-columns: auto minmax(0, 1fr); } .board-wrap { width: calc(100dvh - 20px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* 폰 머리줄: 오른쪽은 접속자 알약 자리 */
@media (max-width: 700px) {
  .top { padding: 2px 92px 0 12px; } .play-head { margin-bottom: 6px; } .play-head h1 { font-size: 22px; } .back { padding: 8px 0; }
  .acts button { min-height: 50px; font-size: 15px; } .pf { width: 56px; height: 56px; padding: 4px; } .radio { min-height: 84px; }
  .views { flex-wrap: nowrap; overflow-x: auto; justify-content: safe center; scrollbar-width: none; } .views button { white-space: nowrap; }
}

/* ── 배경 테마(theme.js) ── */
.theme-btn { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; min-height: 40px; padding: 6px 13px; border: 1px solid #ffffff59; border-radius: 20px; background: rgb(var(--w-deep) / .72); color: var(--snow); font: 600 14px/1.2 var(--font); cursor: pointer; }
/* 얼음 행성이 아닌 날: 풍경은 머리줄부터 한 장으로 깔고, 그 앞에 부대를 세운다 */
:root:not([data-theme=planet]) #map { background: none; }
:root:not([data-theme=planet]) .hero { background: url(../img/crew.webp) 60% 100% / auto 56% no-repeat; }
:root:not([data-theme=planet]) body:has(#map:not([hidden])) { background: linear-gradient(rgb(var(--w-base) / 0) 440px, var(--night) 720px), linear-gradient(95deg, rgb(var(--w-sky) / .8) 8%, rgb(var(--w-sky) / 0) 56%), var(--w-bg) 50% 0 / max(1180px, 100%) auto no-repeat, var(--night); }
@media (max-width: 620px) {
  :root:not([data-theme=planet]) .hero { min-height: 552px; background: url(../img/crew-m.webp) 50% 100% / min(94%, 420px) auto no-repeat; }
  :root:not([data-theme=planet]) body:has(#map:not([hidden])) { background: linear-gradient(rgb(var(--w-base) / 0) 470px, var(--night) 590px), linear-gradient(95deg, rgb(var(--w-sky) / .75) 10%, rgb(var(--w-sky) / 0) 70%), var(--w-m) 80% 0 / auto 600px no-repeat, var(--night); }
}
@media (max-width: 700px) { .top { padding-right: 126px; } }
body:has(#play:not([hidden])) { background: linear-gradient(rgb(var(--w-base) / 0) 180px, var(--night) 620px), linear-gradient(rgb(var(--w-sky) / .55), rgb(var(--w-sky) / 0) 260px), var(--w-bg) 50% 0 / max(1180px, 100%) auto no-repeat, var(--night); }
@media (min-width: 821px) { body:has(#play:not([hidden])) .console { padding: 12px; border-radius: 14px; background: rgb(var(--w-base) / .74); } }
.top .quiet { color: var(--snow); }
