/* Y99 Talk, "night sky" theme.
   Light mode is daybreak (warm dawn paper, navy ink), dark mode is midnight (deep navy, starlight text).
   Gold and coral accents. Page colours only through these tokens; the footer, rules panel, closing band,
   constellation menu and room bar stay midnight in both modes. Never colour a bare `a` under a sky selector. */
:root {
  --bg: #fbf4ee;
  --bg-2: #f4e8de;
  --card: #ffffff;
  --ink: #141a33;
  --ink-2: #3f4566;
  --muted: #5d6386;
  --line: #e7d9cd;
  --link: #a8303f;
  --label: #a8303f;
  --gold: #ffb547;
  --on-gold: #141a33;
  --coral: #ff8a96;
  --star: 20, 26, 51;
  --sky-a: #fde6d3;
  --sky-b: #e9ecfb;
  --shadow: 0 1px 0 rgba(20, 26, 51, .05), 0 22px 46px -28px rgba(20, 26, 51, .45);
  --head: "Young Serif", Georgia, "Times New Roman", serif;
  --body: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-sky="light"]) {
    --bg: #0b1226; --bg-2: #0f1830; --card: #16203f; --ink: #eef0ff; --ink-2: #c4c9e8; --muted: #a2a9cc;
    --line: #26315a; --link: #ffc66b; --label: #ffc66b; --star: 238, 240, 255; --sky-a: #0b1226; --sky-b: #1a2450;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 24px 50px -28px rgba(0, 0, 0, .9);
    color-scheme: dark;
  }
}
:root[data-sky="dark"] {
  --bg: #0b1226; --bg-2: #0f1830; --card: #16203f; --ink: #eef0ff; --ink-2: #c4c9e8; --muted: #a2a9cc;
  --line: #26315a; --link: #ffc66b; --label: #ffc66b; --star: 238, 240, 255; --sky-a: #0b1226; --sky-b: #1a2450;
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 24px 50px -28px rgba(0, 0, 0, .9);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 1.07rem/1.7 var(--body); overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0 0 .5em; font-family: var(--head); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
.sk-prose a:not(.sk-pill):not(.sk-mail), .sk-crumbs a, .sk-tipbox a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.sk-ic { width: 20px; height: 20px; flex: none; }
.sk-moon { width: 18px; height: 18px; flex: none; }
.sk-wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sk-wrap--narrow { width: min(840px, 100% - 40px); }
.sk-skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: #141a33; font-weight: 700; }
.sk-skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.sk-label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 800 .8rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--label); }
.sk-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.sk-label--night { color: #ffc66b; }

/* ---------- buttons */
.sk-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sk-btns--center { justify-content: center; }
.sk-pill { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.sk-pill:hover { transform: translateY(-2px); }
.sk-pill .sk-moon { width: 16px; height: 16px; }
.sk-pill--gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 10px 26px -12px rgba(255, 168, 51, .9); }
.sk-pill--gold:hover { box-shadow: 0 14px 30px -10px rgba(255, 168, 51, 1); }
.sk-pill--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.sk-pill--ghost-light { background: transparent; color: #eef0ff; border-color: rgba(238, 240, 255, .6); }
.sk-pill--line { background: var(--card); color: var(--ink); border-color: var(--line); }
.sk-pill--line:hover { border-color: var(--ink); }
.sk-pill--soft { min-height: 44px; padding: 0 16px; background: rgba(255, 255, 255, .1); color: #eef0ff; border-color: rgba(238, 240, 255, .28); }
.sk-pill--soft:hover { background: rgba(255, 255, 255, .18); }
.sk-pill--big { min-height: 56px; padding: 0 26px; font-size: 1.06rem; }
.sk-pill--small { min-height: 44px; padding: 0 16px; font-size: .94rem; }

/* ---------- header */
.sk-head { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.sk-head__row { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.sk-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.sk-logo { width: 42px; height: 42px; }
.sk-word { font: 400 1.6rem/1 var(--head); letter-spacing: -.01em; }
.sk-word__t { margin-left: 4px; font: 700 1.1rem/1 var(--body); color: var(--label); letter-spacing: .02em; }
.sk-nav { display: flex; gap: 4px; margin-left: auto; }
.sk-nav__link { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .98rem; transition: background .15s, color .15s; }
.sk-nav__link .sk-moon { width: 14px; height: 14px; color: var(--label); }
.sk-nav__link:hover { background: var(--bg-2); color: var(--ink); }
.sk-nav__link[aria-current="page"] { background: var(--ink); color: var(--bg); }
.sk-nav__link[aria-current="page"] .sk-moon { color: var(--gold); }
.sk-head__end { display: flex; align-items: center; gap: 10px; flex: none; }
.sk-tone, .sk-roombar__full { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.sk-tone__moon { display: none; }
:root[data-sky="dark"] .sk-tone__sun { display: none; }
:root[data-sky="dark"] .sk-tone__moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-sky="light"]) .sk-tone__sun { display: none; } :root:not([data-sky="light"]) .sk-tone__moon { display: block; } }
.sk-head__go { min-height: 44px; }
.sk-head__menu { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 700 .98rem/1 var(--body); cursor: pointer; }

/* constellation menu (fixed midnight) */
.sk-sky { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; overflow-y: auto; background: radial-gradient(120% 80% at 50% 0%, #1d2a5c, #0b1226 60%); color: #eef0ff; }
.sk-sky[hidden] { display: none; }
.sk-sky__top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; }
.sk-sky__title { font: 400 1.6rem/1 var(--head); }
.sk-sky__close { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(238, 240, 255, .35); background: transparent; color: #eef0ff; cursor: pointer; }
.sk-sky__map { position: relative; flex: 1; min-height: 620px; margin: 0 20px 24px; }
.sk-sky__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.sk-sky__lines polyline { fill: none; stroke: rgba(255, 198, 107, .45); stroke-width: .35; stroke-dasharray: 1.4 1.2; vector-effect: non-scaling-stroke; }
.sk-sky__star { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: #eef0ff; font-weight: 700; font-size: 1.02rem; white-space: nowrap; }
.sk-sky__star i { width: 14px; height: 14px; border-radius: 50%; background: #eef0ff; box-shadow: 0 0 0 5px rgba(238, 240, 255, .12), 0 0 18px #eef0ff; }
.sk-sky__star.is-room { font-size: 1.2rem; }
.sk-sky__star.is-room i { width: 22px; height: 22px; background: #ffb547; box-shadow: 0 0 0 7px rgba(255, 181, 71, .18), 0 0 26px #ffb547; }
.sk-sky__star[aria-current="page"] span { color: #ffc66b; text-decoration: underline; text-underline-offset: 5px; }
.sk-sky__star--1 { left: 22%; top: 7.5%; } .sk-sky__star--2 { left: 70%; top: 15%; } .sk-sky__star--3 { left: 34%; top: 27.5%; }
.sk-sky__star--4 { left: 76%; top: 39%; } .sk-sky__star--5 { left: 26%; top: 50%; } .sk-sky__star--6 { left: 68%; top: 61%; }
.sk-sky__star--7 { left: 30%; top: 72.5%; } .sk-sky__star--8 { left: 74%; top: 84%; } .sk-sky__star--9 { left: 40%; top: 95%; }
body.sk-sky-open { overflow: hidden; }

/* ---------- hero */
.sk-hero { position: relative; overflow: hidden; padding: 64px 0 0; background: linear-gradient(180deg, var(--sky-b), var(--sky-a) 75%, var(--bg)); }
.sk-hero__sky, .sk-pagehead__sky, .sk-lost__sky { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sk-hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; padding-bottom: 54px; }
.sk-hero__grid > * { min-width: 0; }
.sk-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font: 800 .82rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.sk-kicker__dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }
.sk-hero h1 { max-width: 15ch; }
.sk-hero__lead { max-width: 54ch; margin-bottom: 30px; font-size: 1.18rem; color: var(--ink-2); }

/* question card (fixed midnight) */
.sk-qcard { position: relative; padding: 30px; border-radius: 28px; background: linear-gradient(160deg, #1d2a5c, #0f1734); color: #eef0ff; box-shadow: 0 30px 60px -30px rgba(11, 18, 38, .8); overflow: hidden; }
.sk-qcard::before { content: ""; position: absolute; right: -58px; top: -58px; width: 132px; height: 132px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffd38a, #ffb547 45%, transparent 46%); opacity: .9; }
.sk-qcard__label { position: relative; margin: 0 0 16px; padding-right: 64px; font: 800 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #ffc66b; }
.sk-qcard__q { position: relative; min-height: 4.2em; margin: 0 0 22px; padding-right: 36px; font: 400 clamp(1.4rem, 2.6vw, 1.9rem)/1.3 var(--head); color: #ffffff; transition: opacity .25s ease, transform .25s ease; }
.sk-qcard__q.is-swapping { opacity: 0; transform: translateY(8px); }
.sk-qcard__btns { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
.sk-qcard__note { position: relative; margin: 18px 0 0; font-size: .92rem; color: #b7bddc; }

.sk-facts { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 0 auto; padding: 18px 0 30px; list-style: none; font-weight: 700; color: var(--ink-2); }
.sk-facts li { display: inline-flex; align-items: center; gap: 8px; }
.sk-facts .sk-moon { width: 14px; height: 14px; color: var(--label); }

/* ---------- sections */
.sk-sec { padding: 90px 0; }
.sk-sec--tint { background: var(--bg-2); }
.sk-sec__head { max-width: 740px; margin-bottom: 40px; }
.sk-sec__head--center { margin-inline: auto; text-align: center; }
.sk-sec__title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.sk-sec__intro { font-size: 1.1rem; color: var(--ink-2); }

.sk-rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sk-roomcard { display: flex; flex-direction: column; padding: 28px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s ease; }
.sk-roomcard:hover { transform: translateY(-4px); }
.sk-roomcard__moon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; background: #141a33; color: #ffc66b; box-shadow: 0 0 0 6px rgba(255, 181, 71, .14); }
.sk-roomcard__moon .sk-moon { width: 30px; height: 30px; }
.sk-roomcard h3 { font-size: 1.7rem; }
.sk-roomcard p { flex: 1; color: var(--ink-2); }
.sk-roomcard .sk-pill { align-self: flex-start; }

.sk-mood { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sk-mood__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.sk-chip { min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 700 1rem/1 var(--body); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.sk-chip:hover { border-color: var(--ink); }
.sk-chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sk-mood__card { padding: 30px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); animation: sk-rise .35s ease; }
.sk-mood__card[hidden] { display: none; }
@keyframes sk-rise { from { opacity: 0; transform: translateY(10px); } }
.sk-mood__moon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 50%; background: #141a33; color: #ffc66b; }
.sk-mood__moon .sk-moon { width: 24px; height: 24px; }
.sk-mood__room { margin: 0 0 6px; font: 400 1.6rem/1.1 var(--head); color: var(--ink); }
.sk-mood__card p:not(.sk-mood__room) { color: var(--ink-2); }

.sk-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.sk-steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 26px; border-top: 2px dashed var(--line); }
.sk-steps__item { position: relative; text-align: center; padding: 0 6px; }
.sk-steps__star { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; background: #141a33; color: #ffc66b; font: 400 1.4rem/1 var(--head); box-shadow: 0 0 0 7px var(--bg), 0 0 24px rgba(255, 181, 71, .45); }
.sk-steps__item p { margin: 0; color: var(--ink-2); font-size: 1rem; }

.sk-story { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.sk-story__body p:not(.sk-label) { max-width: 68ch; color: var(--ink-2); font-size: 1.09rem; }
.sk-glance { position: sticky; top: 110px; padding: 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sk-glance__title { font: 400 1.4rem/1 var(--head); margin-bottom: 12px; }
.sk-glance dl { margin: 0; }
.sk-glance dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.sk-glance dt { font-weight: 800; }
.sk-glance dd { margin: 0; text-align: right; color: var(--ink-2); }

.sk-bingo { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.sk-bingo__status { margin: 0 0 18px; font-weight: 800; color: var(--ink); }
.sk-bingo__win { color: var(--label); }
.sk-bingo__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sk-bingo__cell { position: relative; min-height: 104px; padding: 12px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 700 .9rem/1.3 var(--body); text-align: left; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.sk-bingo__cell:hover { border-color: var(--ink); transform: translateY(-2px); }
.sk-bingo__cell[aria-pressed="true"] { background: #141a33; border-color: #141a33; color: #eef0ff; }
.sk-bingo__cell[aria-pressed="true"]::after { content: ""; position: absolute; right: 10px; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: #ffb547; box-shadow: 0 0 12px #ffb547; }
.sk-bingo.is-bingo .sk-bingo__grid { animation: sk-glow 1.2s ease 2; }
@keyframes sk-glow { 50% { filter: drop-shadow(0 0 18px rgba(255, 181, 71, .8)); } }

.sk-tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sk-tip { padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.sk-tip__n { display: block; margin-bottom: 14px; font: 400 1.8rem/1 var(--head); color: var(--label); }
.sk-tip p { margin: 0; color: var(--ink-2); font-size: 1rem; }

.sk-rules { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; padding: 46px; border-radius: 32px; background: radial-gradient(120% 120% at 100% 0%, #1d2a5c, #0b1226 60%); color: #dfe3fa; }
.sk-rules .sk-sec__title { color: #ffffff; }
.sk-rules__head p:not(.sk-label) { color: #c4c9e8; }
.sk-rules__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sk-rules__list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.sk-rules__dot { flex: none; width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; background: #ff8a96; box-shadow: 0 0 12px #ff8a96; }

.sk-faq { display: grid; gap: 12px; }
.sk-faq__item { border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.sk-faq__item summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; }
.sk-faq__item summary::-webkit-details-marker { display: none; }
.sk-faq__item summary h3 { flex: 1; margin: 0; font-size: 1.18rem; }
.sk-faq__plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #141a33; }
.sk-faq__plus::before, .sk-faq__plus::after { content: ""; position: absolute; left: 9px; right: 9px; top: 15px; height: 2px; border-radius: 2px; background: #ffc66b; transition: transform .2s; }
.sk-faq__plus::after { transform: rotate(90deg); }
.sk-faq__item[open] .sk-faq__plus::after { transform: rotate(0); }
.sk-faq__item p { margin: 0; padding: 0 20px 20px; color: var(--ink-2); }

.sk-final { position: relative; overflow: hidden; padding: 84px 0; background: radial-gradient(100% 140% at 50% 120%, #2a3a7a, #0b1226 60%); color: #eef0ff; text-align: center; }
.sk-final::before { content: ""; position: absolute; left: 50%; bottom: -120px; width: 260px; height: 260px; margin-left: -130px; border-radius: 50%; background: radial-gradient(circle, #ffd38a, #ffb547 50%, transparent 52%); opacity: .45; }
.sk-final__in { position: relative; }
.sk-final__title { margin: 0 0 10px; font: 400 clamp(2.2rem, 5vw, 3.4rem)/1.1 var(--head); color: #ffffff; }
.sk-final__in > p:not(.sk-final__title) { max-width: 50ch; margin: 0 auto 26px; color: #c4c9e8; font-size: 1.1rem; }

/* ---------- footer (fixed midnight) */
.sk-foot { position: relative; padding: 72px 0 40px; background: #0b1226; color: #c4c9e8; }
.sk-foot__horizon { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, #ffb547, #ff8a96, transparent); }
.sk-foot__top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.sk-brand--light { color: #eef0ff; }
.sk-brand--light .sk-word__t { color: #ffc66b; }
.sk-foot__brand p { margin: 16px 0 14px; max-width: 34ch; }
.sk-foot__mail { display: inline-flex; align-items: center; gap: 8px; color: #ffc66b; font-weight: 700; text-decoration: none; }
.sk-foot__mail:hover { text-decoration: underline; }
.sk-foot__groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sk-foot__h { margin: 0 0 14px; font: 800 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #9aa1c4; }
.sk-foot__group ul { position: relative; margin: 0; padding: 0 0 0 22px; list-style: none; display: grid; gap: 12px; }
.sk-foot__group ul::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; border-left: 1px dashed rgba(255, 198, 107, .45); }
.sk-foot__group a { position: relative; display: inline-flex; align-items: center; color: #eef0ff; text-decoration: none; font-weight: 700; }
.sk-foot__group a i { position: absolute; left: -22px; width: 11px; height: 11px; border-radius: 50%; background: #eef0ff; box-shadow: 0 0 10px rgba(238, 240, 255, .8); }
.sk-foot__group a:hover { color: #ffc66b; }
.sk-foot__group a:hover i { background: #ffb547; box-shadow: 0 0 14px #ffb547; }
.sk-foot__legal { margin: 48px 0 0; padding-top: 22px; border-top: 1px solid #26315a; font-size: .92rem; color: #9aa1c4; }

/* ---------- inner pages */
.sk-pagehead { position: relative; overflow: hidden; padding: 52px 0 46px; background: linear-gradient(180deg, var(--sky-b), var(--sky-a)); border-bottom: 1px solid var(--line); }
.sk-pagehead .sk-wrap { position: relative; }
.sk-pagehead h1 { max-width: 18ch; }
.sk-pagehead__lead { max-width: 62ch; font-size: 1.15rem; color: var(--ink-2); }
.sk-pagehead__date { margin: 0; font-size: .9rem; color: var(--muted); }
.sk-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: .92rem; color: var(--muted); }
.sk-pagebody { padding: 58px 0 90px; }
.sk-pagebody__grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.sk-pagebody__grid--solo { grid-template-columns: minmax(0, 800px); }
.sk-sheet { min-width: 0; padding: 40px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
.sk-sheet h2 { margin-top: 1.3em; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.sk-sheet h2:first-child { margin-top: 0; }
.sk-sheet h3 { margin-top: 1.4em; }
.sk-sheet p { color: var(--ink-2); }
.sk-side { position: sticky; top: 110px; padding: 20px; border-radius: 22px; background: #0f1734; color: #eef0ff; }
.sk-side__title { font: 400 1.25rem/1 var(--head); color: #ffffff; }
.sk-side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sk-side a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .06); color: #eef0ff; text-decoration: none; }
.sk-side a:hover { background: rgba(255, 255, 255, .12); }
.sk-side__moon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #ffb547; color: #141a33; }
.sk-side b { display: block; font-weight: 800; }
.sk-side small { display: block; font-size: .84rem; line-height: 1.35; color: #b7bddc; }
.sk-mail { display: flex; align-items: center; gap: 16px; margin: 0 0 30px; padding: 20px 22px; border-radius: 20px; background: var(--gold); color: #141a33; text-decoration: none; }
.sk-mail .sk-ic { width: 30px; height: 30px; }
.sk-mail small { display: block; font-size: .9rem; }
.sk-mail b { font: 400 1.35rem/1.1 var(--head); word-break: break-all; }

.sk-lost { position: relative; overflow: hidden; padding: 90px 0 110px; text-align: center; background: radial-gradient(100% 120% at 50% 0%, #1d2a5c, #0b1226 70%); color: #eef0ff; }
.sk-lost__in { position: relative; max-width: 640px; }
.sk-lost h1 { color: #ffffff; }
.sk-lost__in > p:not(.sk-lost__code) { color: #c4c9e8; }
.sk-lost__code { margin: 0; font: 400 clamp(5rem, 20vw, 9rem)/1 var(--head); color: #ffb547; }

/* ---------- room pages */
.sk-roombar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 14px; height: 66px; padding: 0 14px; background: #0b1226; color: #eef0ff; border-bottom: 1px solid #26315a; }
.sk-brand--sm { color: #eef0ff; }
.sk-brand--sm .sk-logo { width: 36px; height: 36px; }
.sk-brand--sm .sk-word { font-size: 1.35rem; }
.sk-brand--sm .sk-word__t { color: #ffc66b; font-size: .95rem; }
.sk-phases { display: flex; gap: 6px; margin-inline: auto; padding: 5px; border-radius: 999px; background: #141d3d; }
.sk-phase { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; color: #c4c9e8; text-decoration: none; font-weight: 700; font-size: .96rem; transition: background .15s, color .15s; }
.sk-phase .sk-moon { color: #8b93bd; }
.sk-phase:hover { color: #ffffff; }
.sk-phase[aria-current="page"] { background: #ffb547; color: #141a33; }
.sk-phase[aria-current="page"] .sk-moon { color: #141a33; }
.sk-roombar__full { background: transparent; border-color: #26315a; color: #eef0ff; }
.sk-stage { height: calc(100dvh - 66px); min-height: 440px; background: #0b1226; }
.sk-stage:fullscreen { height: 100vh; }
.sk-frame, .sk-stage #app_container, .sk-stage #app_container > iframe, .sk-stage #app_container > div { display: block; width: 100% !important; height: 100% !important; border: 0; }
.sk-roominfo { padding: 46px 0 86px; }
.sk-roominfo__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: start; }
.sk-roominfo h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); }
.sk-roominfo .sk-prose p { color: var(--ink-2); }
.sk-roominfo__note { padding: 14px 18px; border-radius: 16px; background: var(--bg-2); font-size: .98rem; }
.sk-tipbox { padding: 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sk-tipbox h2 { font-size: 1.55rem; }
.sk-tipbox ul { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 12px; }
.sk-tipbox li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.sk-tipbox li .sk-ic { margin-top: 3px; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: #141a33; color: #ffc66b; }
.sk-tipbox__more { margin: 0; font-size: .94rem; color: var(--muted); }
.sk-roominfo__faq { margin-top: 60px; max-width: 860px; }
.sk-roominfo__faq h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* ---------- responsive */
@media (max-width: 1080px) {
  .sk-nav { display: none; }
  .sk-head__end { margin-left: auto; }
  .sk-head__menu { display: inline-flex; }
  .sk-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .sk-hero h1 { max-width: 17ch; }
  .sk-qcard { max-width: 620px; }
  .sk-rooms, .sk-tips { grid-template-columns: 1fr 1fr; }
  .sk-rooms > :last-child { grid-column: 1 / -1; }
  .sk-mood, .sk-bingo, .sk-story, .sk-rules, .sk-pagebody__grid, .sk-roominfo__grid, .sk-foot__top { grid-template-columns: 1fr; gap: 32px; }
  .sk-glance, .sk-side { position: static; }
  .sk-steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .sk-steps::before { display: none; }
  .sk-rules { padding: 34px; }
}
@media (max-width: 640px) {
  body { font-size: 1.02rem; }
  .sk-wrap, .sk-wrap--narrow { width: calc(100% - 32px); }
  .sk-head__row { min-height: 64px; gap: 10px; }
  .sk-logo { width: 36px; height: 36px; }
  .sk-word { font-size: 1.35rem; }
  .sk-word__t { font-size: .95rem; }
  .sk-head__go span, .sk-head__menu span { display: none; }
  .sk-head__go { width: 44px; padding: 0; }
  .sk-head__menu { width: 44px; padding: 0; justify-content: center; }
  .sk-hero { padding-top: 38px; }
  .sk-hero__lead { font-size: 1.06rem; }
  .sk-btns .sk-pill--big { flex: 1 1 100%; }
  .sk-qcard { padding: 24px; border-radius: 22px; }
  .sk-sec { padding: 62px 0; }
  .sk-rooms, .sk-tips, .sk-steps { grid-template-columns: 1fr; }
  .sk-bingo__grid { grid-template-columns: repeat(2, 1fr); }
  .sk-bingo__cell { min-height: 88px; font-size: .88rem; }
  .sk-rules { padding: 24px 18px; border-radius: 24px; }
  .sk-sheet { padding: 24px 20px; }
  .sk-faq__item summary { padding: 16px; }
  .sk-faq__item p { padding: 0 16px 16px; }
  .sk-foot__groups { grid-template-columns: 1fr 1fr; }
  .sk-pagehead { padding: 34px 0 30px; }
  .sk-pagebody { padding: 38px 0 70px; }
  .sk-roombar { gap: 8px; padding: 0 8px; }
  .sk-roombar .sk-word, .sk-roombar__full { display: none; }
  .sk-phase { padding: 0 12px; }
  .sk-phase span { display: none; }
  .sk-phase[aria-current="page"] span { display: inline; }
}
