@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700;800&family=Press+Start+2P&family=Space+Grotesk:wght@500;600;700&family=VT323&display=swap');

:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --panel: #fffefa;
  --panel-soft: #f1f0e9;
  --ink: #232722;
  --muted: #81857c;
  --line: #e6e5dc;
  --line-strong: #d8d8ce;
  --green: #3f7658;
  --green-dark: #2e5d43;
  --green-soft: #e8f0e8;
  --orange: #e18a55;
  --orange-soft: #f8eee5;
  --yellow: #e9c76a;
  --red: #c96660;
  --shadow: 0 18px 48px rgba(33, 39, 32, .055);
  --radius: 20px;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 14px; line-height: 1.5; }
button, input, select { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(63,118,88,.32); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-shell { width: min(1380px, calc(100% - 72px)); margin: 0 auto; }
.topbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-symbol { display: grid; place-items: center; width: 38px; height: 38px; color: var(--green); }
.brand-symbol svg { width: 100%; height: 100%; }
.brand-name, .footer-brand { font: 700 19px/1 var(--font-display); letter-spacing: -.055em; }
.brand-name span, .footer-brand span { color: var(--orange); }
.main-nav { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.nav-item { border: 0; background: transparent; padding: 10px 14px; border-radius: 999px; color: #6f746c; cursor: pointer; font-size: 13px; font-weight: 700; transition: background .18s, color .18s; }
.nav-item:hover { color: var(--ink); background: #eeeee7; }
.nav-item.active { background: var(--ink); color: #fff; }
.top-actions { display: flex; align-items: center; gap: 18px; }
.utc-pill { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 10px var(--font-mono); letter-spacing: .04em; white-space: nowrap; }
.live-dot { width: 7px; height: 7px; display: inline-block; background: #75a57a; border-radius: 50%; box-shadow: 0 0 0 3px rgba(117,165,122,.13); }
.account-button { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line-strong); background: var(--panel); border-radius: 999px; padding: 5px 12px 5px 5px; cursor: pointer; font-size: 12px; font-weight: 700; white-space: nowrap; }
.account-button:hover { border-color: var(--green); }
.avatar-dot { display: grid; place-items: center; width: 28px; height: 28px; background: var(--green-soft); color: var(--green-dark); border-radius: 50%; font: 600 12px var(--font-display); }

main { min-height: calc(100vh - 154px); }
.view { padding: 48px 0 76px; }
.view.active { animation: rise-in .32s ease both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.page-intro { min-height: 222px; display: flex; align-items: end; justify-content: space-between; gap: 36px; padding: 0 3px 34px; }
.intro-copy { max-width: 740px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--green); font: 10px var(--font-mono); letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-line { width: 24px; height: 1px; background: var(--orange); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 15px 0 13px; font: 600 clamp(38px, 5vw, 62px)/1.01 var(--font-display); letter-spacing: -.065em; }
h1 em { color: var(--green); font-style: normal; }
.page-intro p { max-width: 585px; margin: 0; color: #6e746b; font-size: 15px; line-height: 1.7; }
.date-stamp { min-width: 190px; margin-bottom: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,254,250,.68); }
.date-stamp-label, .date-stamp-sub { display: block; color: var(--muted); font: 9px var(--font-mono); letter-spacing: .09em; }
.date-stamp strong { display: block; margin: 6px 0 4px; font: 600 17px var(--font-display); }
.date-stamp-sub { font: 11px var(--font-body); letter-spacing: 0; }

.daily-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .78fr); align-items: start; gap: 22px; }
.game-panel, .side-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.daily-panel { min-height: 586px; overflow: hidden; padding: 22px 26px 26px; }
.panel-topline { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.panel-kicker { display: flex; align-items: center; gap: 9px; color: var(--ink); font: 600 11px var(--font-mono); letter-spacing: .1em; }
.tiny-globe { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--green-soft); color: var(--green); font: 17px var(--font-body); }
.attempt-label { color: #9b9e96; font: 9px var(--font-mono); letter-spacing: .1em; }
.daily-idle { display: grid; grid-template-columns: minmax(190px,.72fr) 1fr; align-items: center; gap: clamp(24px, 5vw, 64px); min-height: 480px; padding: 42px 6% 32px; }
.idle-orbit { position: relative; aspect-ratio: 1; width: min(100%, 260px); margin: 0 auto; display: grid; place-items: center; }
.idle-orbit-ring { position: absolute; border: 1px solid #e0e6d9; border-radius: 50%; }
.ring-a { inset: 2%; transform: rotate(28deg) scaleY(.7); }
.ring-b { inset: 9%; transform: rotate(-38deg) scaleY(.77); border-color: #eadfd2; }
.idle-orbit-globe { width: 66%; height: 66%; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #eef3e9, #d5e4d5); box-shadow: 0 24px 50px rgba(61,111,78,.13), inset -12px -12px 28px rgba(73,116,76,.11); animation: float-globe 5s ease-in-out infinite; }
.idle-orbit-globe > .earth-globe { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.earth-globe > svg { display: block; width: 100%; height: 100%; }
@keyframes float-globe { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-7px) rotate(4deg); } }
.idle-copy { max-width: 455px; }
.micro-label { display: block; color: #989b92; font: 9px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.idle-copy h2 { margin: 9px 0 8px; font: 600 31px/1.12 var(--font-display); letter-spacing: -.05em; }
.idle-copy p { color: #767c72; font-size: 13px; line-height: 1.65; }
.daily-rules { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 21px; }
.daily-rules span { padding: 7px 10px; color: #6e746a; background: #f4f3ed; border-radius: 8px; font-size: 11px; }
.daily-rules b { color: var(--ink); font: 600 12px var(--font-mono); margin-right: 3px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 43px; padding: 0 18px; border: 1px solid transparent; border-radius: 9px; cursor: pointer; font-size: 12px; font-weight: 700; transition: transform .16s, background .16s, border-color .16s, opacity .16s; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:active:not(:disabled) { transform: translateY(0); }
.button:disabled { cursor: not-allowed; opacity: .45; }
.button-primary { color: #fff; background: var(--green); }
.button-primary:hover:not(:disabled) { background: var(--green-dark); }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover:not(:disabled) { background: #42493f; }
.button-outline { color: var(--ink); background: transparent; border-color: var(--line-strong); }
.button-outline:hover:not(:disabled) { border-color: var(--green); background: #fbfcf8; }
.button-light { background: #fff; color: var(--ink); }
.button-wide { width: 100%; }
.quiet-note { margin: 12px 0 0 !important; color: #a0a298 !important; font-size: 10px !important; line-height: 1.5 !important; }

.question-top { display: flex; align-items: center; gap: 18px; padding: 28px 3px 32px; }
.question-count { flex: 0 0 auto; font: 600 16px var(--font-mono); }
.question-count .muted { color: #a8aaa2; font-size: 11px; }
.question-progress { flex: 1; display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; }
.progress-segment { height: 4px; border-radius: 20px; background: #ebeae2; }
.progress-segment.done { background: var(--green); }
.progress-segment.active { background: #d8a061; }
.question-clock { display: flex; align-items: baseline; gap: 5px; min-width: 50px; justify-content: end; }
.clock-face { font: 600 20px var(--font-mono); }
.question-clock small { color: #9b9f96; font: 9px var(--font-mono); }
.question-clock.urgent .clock-face { color: var(--red); }
.question-category { display: inline-block; margin-bottom: 12px; padding: 6px 9px; border-radius: 5px; background: var(--green-soft); color: var(--green-dark); font: 9px var(--font-mono); letter-spacing: .11em; text-transform: uppercase; }
.daily-question { max-width: 690px; margin: 0 0 10px; font: 600 clamp(28px, 3.8vw, 42px)/1.11 var(--font-display); letter-spacing: -.055em; }
.question-note { margin: 0 0 27px; color: #858a80; font-size: 12px; }
.answer-form { display: flex; align-items: stretch; gap: 9px; }
.answer-form input, .auth-form input, .friend-add input, .code-input { min-width: 0; width: 100%; min-height: 48px; padding: 0 15px; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; font-size: 13px; outline: none; }
.answer-form input::placeholder, input::placeholder { color: #b0b2aa; }
.answer-form input:focus, .auth-form input:focus, .friend-add input:focus, .code-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(63,118,88,.08); }
.answer-form .button { flex: 0 0 auto; min-width: 102px; }
.answer-feedback { min-height: 22px; margin-top: 8px; color: var(--red); font-size: 11px; }
.answer-feedback.success { color: var(--green-dark); }
.question-tools { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.text-button, .mini-link { padding: 0; border: 0; background: transparent; color: var(--green-dark); cursor: pointer; font-size: 11px; font-weight: 700; }
.text-button span { display: inline-block; margin-left: 6px; color: #a4a69e; font-weight: 500; }
.text-button:disabled { color: #a5a69f; cursor: default; }
.hint-counter { color: #a0a39a; font: 9px var(--font-mono); }
.hint-box { margin-top: 12px; padding: 12px 14px; border: 1px solid #e8e2d4; border-radius: 9px; background: #fbf7ed; color: #6c6a5c; font-size: 11px; }
.daily-result { padding: 38px 4% 14px; }
.result-stamp { display: inline-block; padding: 6px 9px; color: var(--green-dark); background: var(--green-soft); border-radius: 5px; font: 9px var(--font-mono); letter-spacing: .11em; }
.daily-result h2, .daily-complete h2, .daily-locked h2 { margin: 12px 0 6px; font: 600 34px var(--font-display); letter-spacing: -.05em; }
.daily-result > p, .daily-complete > p, .daily-locked > p { color: #83877d; font-size: 12px; }
.result-score-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 23px 0 21px; padding: 17px 19px; background: #f4f5ef; border-radius: 11px; }
.result-score-line > div:first-child { display: grid; gap: 4px; }
.result-label { color: #9a9d94; font: 9px var(--font-mono); letter-spacing: .1em; }
.result-score-line > div:first-child strong { color: var(--green-dark); font: 600 16px var(--font-display); }
.result-points { display: flex; align-items: baseline; gap: 5px; }
.result-points strong { color: var(--green-dark); font: 600 29px var(--font-display); }
.result-points span { color: #a4a79e; font: 9px var(--font-mono); }
.answer-sheet { margin-bottom: 22px; }
.answer-sheet-heading { display: flex; justify-content: space-between; margin-bottom: 9px; font-size: 11px; }
.answer-sheet-heading span { color: #999d94; font: 9px var(--font-mono); }
.answer-sheet-list { display: flex; flex-wrap: wrap; gap: 6px; max-height: 104px; overflow: auto; padding: 1px; }
.answer-chip { display: inline-flex; gap: 7px; align-items: center; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; color: #72776e; font-size: 10px; background: #fff; }
.answer-chip b { color: var(--green); font: 9px var(--font-mono); }
.daily-complete, .daily-locked { max-width: 570px; margin: 0 auto; padding: 55px 5% 20px; text-align: center; }
.complete-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; color: var(--green); background: var(--green-soft); font-size: 24px; }
.daily-complete .eyebrow, .daily-locked .eyebrow { justify-content: center; }
.complete-score { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 24px 0; }
.complete-score strong { font: 600 54px var(--font-display); letter-spacing: -.06em; }
.complete-score span { color: #9a9e95; font: 9px var(--font-mono); }

.daily-sidebar, .party-sidebar { display: grid; gap: 14px; }
.side-card { padding: 19px 20px; }
.side-card-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.side-card h3 { margin: 5px 0 0; font: 600 18px var(--font-display); letter-spacing: -.035em; }
.mini-link { color: #7b927c; font-size: 10px; white-space: nowrap; }
.mini-link:hover { color: var(--green-dark); text-decoration: underline; }
.mini-ranking { display: grid; gap: 10px; margin: 18px 0 12px; }
.mini-rank-row { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; }
.mini-rank-number { color: #a2a59b; font: 10px var(--font-mono); }
.mini-rank-name { overflow: hidden; color: #555c52; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.mini-rank-score { color: var(--ink); font: 600 11px var(--font-mono); }
.ranking-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 11px; border-top: 1px solid var(--line); color: #a4a69f; font: 9px var(--font-mono); }
.ranking-foot .live-dot { width: 5px; height: 5px; }
.how-list { list-style: none; padding: 0; margin: 17px 0 0; display: grid; gap: 15px; }
.how-list li { display: grid; grid-template-columns: 25px 1fr; gap: 9px; }
.how-list li > span { color: #b8b9b0; font: 10px var(--font-mono); padding-top: 2px; }
.how-list strong { display: block; margin-bottom: 3px; font-size: 11px; }
.how-list p { margin: 0; color: #90948b; font-size: 10px; line-height: 1.5; }
.archive-card > p { margin: 10px 0 12px; color: #8b9085; font-size: 10px; line-height: 1.6; }
.archive-mark { color: var(--orange); font-size: 17px; }
.archive-list { display: flex; flex-wrap: wrap; gap: 6px; }
.archive-date { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #777c72; cursor: pointer; font: 9px var(--font-mono); }
.archive-date:hover { border-color: var(--green); color: var(--green-dark); }
.archive-loading { color: #aaa; font-size: 10px; }
.streak-card { display: flex; align-items: center; gap: 13px; background: #f7f1e5; border-color: #eee4d1; box-shadow: none; }
.streak-symbol { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; color: #b78045; background: #f0e2c8; border-radius: 50%; font-size: 20px; }
.streak-card strong { display: block; margin: 2px 0; font: 600 15px var(--font-display); }
.streak-card p { margin: 0; color: #928773; font-size: 9px; }

.site-footer { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #92968d; font-size: 10px; }
.footer-brand { color: var(--ink); font-size: 15px; }
.footer-links { display: flex; align-items: center; gap: 17px; }
.footer-links button, .footer-links a { padding: 0; border: 0; background: transparent; color: #7e847a; cursor: pointer; font-size: 10px; }
.footer-links button:hover, .footer-links a:hover { color: var(--green-dark); }

/* Globe Rush */
.party-intro { padding-bottom: 25px; }
.orb-preview { position: relative; flex: 0 0 290px; height: 206px; display: grid; place-items: center; margin-right: 6%; }
.orb-glow { position: absolute; width: 145px; height: 145px; border-radius: 50%; background: rgba(77,133,94,.12); filter: blur(24px); }
.orb-rings { position: absolute; width: 210px; height: 85px; border: 1px solid #dfe7d9; border-radius: 50%; }
.ring-one { transform: rotate(-28deg); }
.ring-two { transform: rotate(52deg); border-color: #eadfd4; }
.atlas-orb { position: relative; z-index: 1; width: 116px; height: 116px; overflow: hidden; border-radius: 50%; background: #104866; box-shadow: inset -12px -15px 22px rgba(8,27,44,.32), 0 18px 34px rgba(39,89,57,.18); }
.atlas-orb > svg { position: relative; z-index: 1; display: block; width: 100%; height: 100%; }
.atlas-orb::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(circle at 31% 23%, rgba(255,255,255,.34), transparent 36%); }
.orb-caption { position: absolute; bottom: 0; color: #a3a99a; font: 9px var(--font-mono); letter-spacing: .15em; }
.tiny-orb { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg,#dcebd5,#4f895f); box-shadow: 0 0 0 3px #eff4ed; }
.party-lobby { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .78fr); gap: 22px; align-items: start; }
.party-lobby-main { display: grid; gap: 14px; }
.party-play-panel { padding: 22px 24px 23px; }
.party-play-panel .panel-topline { margin-bottom: 20px; }
.display-name-row { display: flex; align-items: center; gap: 12px; margin: 16px 0 14px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fbfaf6; }
.display-name-row label { flex: 0 0 auto; color: #9a9e94; font: 9px var(--font-mono); letter-spacing: .09em; }
.display-name-row input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.display-name-row input::placeholder { color: #b0b2aa; }
.party-mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.mode-card { position: relative; min-width: 0; padding: 20px; border-radius: 13px; border: 1px solid var(--line); background: #fcfcf8; }
.ranked-card { background: #f5f5ef; }
.mode-icon { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 14px; border-radius: 9px; font-size: 18px; }
.quick-icon { background: var(--green-soft); color: var(--green); }
.ranked-icon { background: #ebe9e0; color: #616a5c; }
.mode-card h2 { margin: 6px 0 6px; font: 600 23px var(--font-display); letter-spacing: -.05em; }
.mode-card p { min-height: 39px; margin: 0 0 17px; color: #858a80; font-size: 10px; line-height: 1.55; }
.field-label { display: block; margin: 0 0 6px; color: #9a9e94; font: 9px var(--font-mono); letter-spacing: .09em; }
.select-input { width: 100%; min-height: 39px; margin-bottom: 9px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 7px; background: #fff; color: #545a51; font-size: 11px; }
.mode-footnote { display: block; margin-top: 9px; color: #a0a398; font-size: 9px; text-align: center; }
.party-tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.room-tool { display: grid; grid-template-columns: 34px minmax(90px,1fr) auto; align-items: center; gap: 9px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; }
.room-tool-icon { display: grid; place-items: center; width: 31px; height: 31px; color: var(--green); background: var(--green-soft); border-radius: 8px; font-size: 17px; }
.room-tool strong { display: block; font-size: 10px; }
.room-tool p { margin: 2px 0 0; color: #999d94; font-size: 9px; }
.room-tool .button { min-height: 34px; padding: 0 10px; font-size: 10px; }
.small-select { width: auto; min-height: 33px; margin: 0; font-size: 9px; }
.join-tool { grid-template-columns: 34px minmax(85px,1fr) minmax(100px, .7fr) auto; }
.code-input { width: 100%; min-height: 34px; padding: 0 8px; text-align: center; font: 10px var(--font-mono); letter-spacing: .12em; }
.public-rooms-card { padding: 19px 20px; }
.open-rooms-list { display: grid; gap: 8px; margin-top: 14px; }
.public-room-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.public-room-row strong { display: block; font: 600 11px var(--font-mono); letter-spacing: .1em; }
.public-room-row small { color: #a0a49b; font-size: 9px; }
.public-room-row button { border: 1px solid var(--line-strong); background: transparent; border-radius: 6px; padding: 6px 9px; color: var(--green-dark); font-size: 9px; cursor: pointer; }
.empty-room-note { padding: 18px 0; color: #a0a49a; font-size: 10px; text-align: center; }
.season-card { background: #f7f3e8; border-color: #eee4d0; box-shadow: none; }
.season-gem { color: #bb9657; font-size: 18px; }
.season-title { display: block; margin-top: 15px; font: 600 17px var(--font-display); }
.season-card > p { margin: 5px 0 16px; color: #998e79; font-size: 10px; }
.season-stats { display: flex; gap: 28px; padding-top: 11px; border-top: 1px solid #e9dfcb; }
.season-stats div { display: grid; gap: 3px; }
.season-stats span { color: #a39882; font: 8px var(--font-mono); }
.season-stats b { font: 600 12px var(--font-display); }
.party-ranking-card { margin-top: 0; }

.party-room { margin-top: 20px; padding: 22px 25px 25px; }
.party-room .panel-topline { margin-bottom: 20px; }
#room-code-display { color: var(--green); }
.room-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.room-heading h2 { margin: 8px 0 3px; font: 600 28px var(--font-display); letter-spacing: -.05em; }
.room-heading p, .room-results-state > p { margin: 0; color: #899087; font-size: 11px; }
.room-players { display: grid; grid-template-columns: repeat(5,1fr); gap: 9px; margin: 25px 0; }
.room-player { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; padding: 14px 8px; border: 1px solid var(--line); border-radius: 10px; background: #fdfdf9; }
.room-player-avatar { display: grid; place-items: center; width: 36px; height: 36px; background: var(--green-soft); color: var(--green-dark); border-radius: 50%; font: 600 13px var(--font-display); }
.room-player strong { max-width: 100%; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.room-player small { color: #a3a69d; font: 8px var(--font-mono); }
#room-start { min-width: 150px; }

.rush-game-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.rush-game-header h2 { margin: 7px 0 3px; font: 600 clamp(25px,3vw,37px)/1.1 var(--font-display); letter-spacing: -.055em; }
.rush-game-header p { margin: 0; color: #92968d; font-size: 10px; }
.rush-timer { display: grid; justify-items: center; gap: 5px; min-width: 88px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 12px; background: #fbfaf5; }
.rush-timer strong { font: 600 24px var(--font-mono); font-variant-numeric: tabular-nums; }
.rush-timer > span { color: #9da197; font: 7px var(--font-mono); letter-spacing: .05em; }
.rush-timer-track { width: 100%; height: 4px; overflow: hidden; border-radius: 99px; background: #e9e9df; }
.rush-timer-track span { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--green); transition: width .22s linear; }
.rush-timer.urgent { color: var(--red); border-color: #efd5d1; background: #fcf4f2; }
.rush-timer.urgent .rush-timer-track span { background: var(--red); }
.orb-stage { position: relative; display: grid; place-items: center; min-height: 264px; margin: 10px auto 4px; overflow: hidden; }
.orb-stage-halo { position: absolute; width: 190px; height: 190px; border-radius: 50%; background: rgba(77,133,94,.12); filter: blur(26px); }
.stage-ring { position: absolute; width: 260px; height: 103px; border: 1px solid #e0e7dc; border-radius: 50%; }
.stage-ring-a { transform: rotate(-30deg); }
.stage-ring-b { transform: rotate(52deg); border-color: #eadfd5; }
.stage-orb { width: 136px; height: 136px; }
.orb-holder-label { position: absolute; bottom: 8px; color: #989d92; font: 9px var(--font-mono); letter-spacing: .06em; }
.orb-stage.overload .stage-orb { animation: orb-shake .45s ease; }
@keyframes orb-shake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-8px) rotate(-4deg)} 50%{transform:translateX(8px) rotate(4deg)} 80%{transform:translateX(-4px)} }
.rush-answer-area { max-width: 620px; margin: 0 auto; }
.rush-answer-area .answer-form input { min-height: 46px; }
.rush-bottom-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.used-answers > .micro-label, .rush-players > .micro-label { margin-bottom: 10px; }
#used-answer-list { display: flex; flex-wrap: wrap; gap: 6px; }
.used-answer-chip { padding: 5px 8px; color: #83887e; background: #f4f3ed; border-radius: 5px; font-size: 9px; }
.empty-used { color: #aaada5; font-size: 10px; }
#rush-player-list { display: grid; gap: 8px; }
.rush-player-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 9px; font-size: 10px; }
.rush-player-row.current { color: var(--green-dark); font-weight: 700; }
.rush-player-row.out { color: #b0b2ab; }
.rush-player-row.out .rush-player-name > b { text-decoration: line-through; }
.rush-player-name { display: grid; gap: 2px; min-width: 0; }
.rush-player-name > b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.rush-player-name small { color: #a1a59b; font: 8px var(--font-mono); font-weight: 400; }
.rush-player-row.current .rush-player-name small { color: #6f9276; }
.rush-player-hearts { color: #d17b69; letter-spacing: 1px; font-size: 10px; }
.rush-player-score { color: #8b9086; font: 9px var(--font-mono); }
.room-results-state { padding: 32px 5% 10px; text-align: center; }
.room-results-state .complete-icon { margin-bottom: 16px; }
.room-results-state .eyebrow { justify-content: center; }
.room-results-state h2 { margin: 9px 0; font: 600 35px var(--font-display); letter-spacing: -.05em; }
.final-ranking { max-width: 540px; margin: 23px auto; display: grid; gap: 7px; text-align: left; }
.final-ranking-row { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 13px; border: 1px solid var(--line); border-radius: 8px; font-size: 10px; }
.final-ranking-row.winner { background: var(--green-soft); border-color: #d9e6d7; }
.final-ranking-row span:first-child { color: #a5a99f; font: 10px var(--font-mono); }
.final-ranking-row b { font: 10px var(--font-mono); }
.final-ranking-row small { color: #c67c6e; font-size: 9px; }


/* Globe Rush — original stone-world hub */
.party-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, .95fr);
  align-items: center;
  gap: 24px;
  min-height: 300px;
  padding-bottom: 30px;
}
.world-lobby-scene {
  position: relative;
  isolation: isolate;
  min-width: 0;
  height: 284px;
  overflow: hidden;
  border: 1px solid rgba(100, 131, 112, .2);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 51% 54%, rgba(110, 153, 125, .24), transparent 44%),
    radial-gradient(ellipse at 82% 22%, rgba(126, 143, 161, .16), transparent 28%),
    linear-gradient(145deg, #202d32 0%, #17252b 50%, #101a21 100%);
  box-shadow: 0 22px 48px rgba(23, 36, 30, .14);
}
.world-scene-stars {
  position: absolute;
  inset: 0;
  opacity: .66;
  background-image:
    radial-gradient(1px 1px at 13% 22%, #d7e8d7 50%, transparent 100%),
    radial-gradient(1px 1px at 27% 65%, #d7e8d7 50%, transparent 100%),
    radial-gradient(1px 1px at 43% 15%, #d7e8d7 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 76% 33%, #d7e8d7 50%, transparent 100%),
    radial-gradient(1px 1px at 89% 70%, #d7e8d7 50%, transparent 100%);
}
.scene-orbit {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 43%;
  width: 295px;
  height: 110px;
  border: 1px solid rgba(209, 226, 212, .2);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-23deg);
}
.scene-orbit-b {
  width: 235px;
  height: 180px;
  transform: translate(-50%, -50%) rotate(48deg);
  border-color: rgba(209, 226, 212, .12);
}
.scene-globe {
  position: absolute;
  z-index: 4;
  overflow: hidden;
  border-radius: 50%;
  background: #104866;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .35), inset -10px -12px 20px rgba(0, 0, 0, .24);
}
.scene-globe-main {
  width: 144px;
  height: 144px;
  left: 50%;
  top: 34px;
  transform: translateX(-50%);
}
.scene-globe-small {
  width: 67px;
  height: 67px;
}
.scene-globe-left { left: 13%; top: 104px; transform: rotate(-12deg); }
.scene-globe-right { right: 12%; top: 89px; transform: rotate(15deg); }
.scene-globe > svg, .lobby-earth > svg {
  display: block;
  width: 100%;
  height: 100%;
}
.scene-rock, .lobby-floating-rock {
  position: absolute;
  z-index: 2;
  background:
    linear-gradient(145deg, rgba(210, 200, 177, .92), rgba(117, 119, 104, .96) 40%, #414d4a 100%);
  filter: drop-shadow(0 15px 12px rgba(0, 0, 0, .28));
  clip-path: polygon(9% 21%, 34% 3%, 66% 10%, 93% 32%, 100% 75%, 74% 94%, 28% 100%, 0 68%);
}
.scene-rock-back { width: 215px; height: 75px; left: 50%; bottom: 41px; transform: translateX(-50%); opacity: .8; }
.scene-rock-left { width: 116px; height: 63px; left: 6%; bottom: 29px; transform: rotate(-8deg); }
.scene-rock-right { width: 128px; height: 70px; right: 5%; bottom: 28px; transform: rotate(8deg); }
.scene-rock-front { width: 160px; height: 46px; left: 50%; bottom: 14px; transform: translateX(-50%); background: linear-gradient(160deg, #c1b7a0, #59665e 62%, #34423e); }
.scene-caption {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 10px;
  color: rgba(236, 240, 225, .75);
  text-align: center;
  font: 9px var(--font-mono);
  letter-spacing: .17em;
}
.scene-caption span { color: #c5a879; padding: 0 4px; }
.stone-world-lobby {
  position: relative;
  isolation: isolate;
  height: 218px;
  margin: 21px 0 18px;
  overflow: hidden;
  border: 1px solid rgba(125, 145, 133, .22);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 50% 58%, rgba(86, 137, 106, .32), transparent 46%),
    linear-gradient(155deg, #1c2a2d 0%, #142126 56%, #101a1f 100%);
  box-shadow: inset 0 -30px 60px rgba(0, 0, 0, .17);
}
.lobby-sky {
  position: absolute;
  inset: 0;
  opacity: .55;
  background-image:
    radial-gradient(1px 1px at 14% 22%, #d9e8d5 50%, transparent),
    radial-gradient(1px 1px at 32% 43%, #d9e8d5 50%, transparent),
    radial-gradient(1px 1px at 80% 25%, #d9e8d5 50%, transparent),
    radial-gradient(1px 1px at 91% 60%, #d9e8d5 50%, transparent);
}
.lobby-orbit {
  position: absolute;
  z-index: 1;
  width: 270px;
  height: 90px;
  left: 50%;
  top: 45%;
  border: 1px solid rgba(215, 229, 215, .18);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
}
.lobby-orbit-b {
  width: 205px;
  height: 150px;
  transform: translate(-50%, -50%) rotate(52deg);
}
.lobby-earth {
  position: absolute;
  z-index: 4;
  width: 126px;
  height: 126px;
  left: 50%;
  top: 20px;
  overflow: hidden;
  border-radius: 50%;
  background: #104866;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4), inset -11px -12px 20px rgba(0, 0, 0, .25);
  transform: translateX(-50%);
}
.lobby-floating-rock {
  z-index: 2;
  width: 106px;
  height: 54px;
}
.lobby-rock-left { left: 12%; top: 93px; transform: rotate(-9deg); }
.lobby-rock-right { right: 10%; top: 85px; transform: rotate(10deg); }
.lobby-rock-back { width: 182px; height: 57px; left: 50%; bottom: 14px; transform: translateX(-50%); opacity: .85; }
.lobby-stone-base {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -24px;
  width: 250px;
  height: 88px;
  border: 1px solid rgba(220, 213, 189, .2);
  border-radius: 50%;
  background: linear-gradient(165deg, #a7a18b 0%, #69756b 42%, #394844 100%);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, .18), inset 0 8px 8px rgba(255,255,255,.09);
  transform: translateX(-50%);
}
.lobby-scene-caption {
  position: absolute;
  z-index: 5;
  left: 16px;
  bottom: 13px;
  color: rgba(235, 240, 227, .73);
  font: 8px var(--font-mono);
  letter-spacing: .13em;
}
.lobby-scene-caption span { color: #d7b77e; margin-right: 7px; }
.lobby-roster-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0 2px 10px;
  color: #9b9f94;
  font: 8px var(--font-mono);
  letter-spacing: .12em;
}
.room-players {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}
.room-player {
  position: relative;
  min-width: 0;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  gap: 6px;
  overflow: hidden;
  padding: 12px 7px 11px;
  border: 1px solid rgba(184, 184, 164, .46);
  border-radius: 13px;
  background:
    linear-gradient(154deg, rgba(255,255,255,.54), transparent 34%),
    linear-gradient(180deg, #e9e6d9, #d3d0c1 55%, #b8b6a7);
  box-shadow: inset 0 -9px 14px rgba(64, 70, 60, .1), 0 9px 17px rgba(31, 43, 34, .08);
}
.room-player::before {
  content: '';
  position: absolute;
  left: 9px;
  right: 9px;
  top: 0;
  height: 4px;
  border-radius: 0 0 5px 5px;
  background: linear-gradient(90deg, #a7a38f, #e8e2ca, #888f7d);
}
.room-player-stone {
  display: grid;
  place-items: center;
  width: 42px;
  height: 38px;
  margin-bottom: 1px;
  border: 1px solid rgba(70, 91, 78, .33);
  border-radius: 12px 12px 9px 9px;
  background: linear-gradient(150deg, #e2d8b5, #94a18b 60%, #52675d);
  box-shadow: inset 0 3px 5px rgba(255,255,255,.36), 0 4px 7px rgba(40, 53, 43, .16);
  clip-path: polygon(13% 0, 87% 0, 100% 73%, 80% 100%, 20% 100%, 0 73%);
}
.room-player-stone i { color: #253c35; font: 700 15px var(--font-display); font-style: normal; }
.room-player strong { max-width: 100%; overflow: hidden; color: #303b34; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.room-player small { color: #71786c; font: 7px var(--font-mono); text-align: center; letter-spacing: .04em; }
.room-player.you { border-color: #87a58a; box-shadow: 0 0 0 2px rgba(95, 143, 103, .13), 0 9px 17px rgba(31, 43, 34, .08); }
.room-player-empty { opacity: .5; background: linear-gradient(155deg, #dcdacd, #aaa99e); border-style: dashed; }
.room-player-empty .room-player-stone { background: linear-gradient(150deg, #d9d5c4, #9d9f92 60%, #7b877d); }
.room-player-empty .room-player-stone i { color: #657066; }
.category-cycle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 11px 0 2px;
  padding: 10px 12px;
  border: 1px solid #e7e5dc;
  border-radius: 11px;
  background: #f7f6f0;
}
.category-cycle-stat { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 10px; }
.category-cycle-stat > span { color: #969b90; font: 8px var(--font-mono); letter-spacing: .08em; }
.category-cycle-stat > b { color: #4e6554; font: 600 10px var(--font-mono); }
.category-cycle-stat > i { grid-column: 1 / -1; display: block; height: 4px; overflow: hidden; border-radius: 9px; background: #e5e6dc; }
.category-cycle-stat > i > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7e9f7d, #d3ab6c); transition: width .2s ease; }


/* Consistent world-hub styling through the full Globe Rush flow */
.party-play-panel {
  border-color: #dadbd0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(194, 203, 179, .18), transparent 38%),
    linear-gradient(145deg, #fffefa, #f2f1e8);
}
.party-play-panel .panel-kicker { color: #435b4c; }
.party-play-panel .display-name-row {
  border-color: #d5d6c9;
  background: linear-gradient(150deg, #f6f5ed, #e7e6db);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.mode-card {
  border-color: #d8d8ca;
  background:
    linear-gradient(155deg, rgba(255,255,255,.58), transparent 42%),
    linear-gradient(155deg, #f1f0e7, #e4e3d6);
  box-shadow: inset 0 -8px 14px rgba(77, 83, 67, .045), 0 8px 18px rgba(34, 45, 34, .045);
}
.ranked-card {
  background:
    linear-gradient(155deg, rgba(255,255,255,.5), transparent 42%),
    linear-gradient(155deg, #e7e6dc, #d6d8cf);
}
.quick-card .mode-icon, .ranked-card .mode-icon {
  border: 1px solid rgba(85, 105, 85, .12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.room-tool {
  border-color: #d9d9ce;
  background: linear-gradient(150deg, #faf9f3, #eeede4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.public-rooms-card {
  border-color: #d8d9ce;
  background: linear-gradient(150deg, #fffefa, #f2f1e8);
}
.party-room {
  border-color: #d8d9ce;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(199, 206, 183, .17), transparent 40%),
    linear-gradient(155deg, #fffefa, #f1f0e8);
}
.orb-stage {
  isolation: isolate;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(107, 139, 105, .12), transparent 54%),
    linear-gradient(180deg, rgba(240, 241, 231, .38), rgba(225, 226, 213, .22));
}
.orb-stage::before {
  content: '';
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 35px;
  width: 250px;
  height: 92px;
  border: 1px solid rgba(132, 143, 124, .35);
  border-radius: 50%;
  background: radial-gradient(ellipse at 40% 20%, #e3e0ce, #a9ab9b 55%, #727f72);
  box-shadow: 0 20px 25px rgba(55, 71, 54, .12), inset 0 6px 7px rgba(255,255,255,.45);
  transform: translateX(-50%);
}
.orb-stage::after {
  content: '';
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 23px;
  width: 180px;
  height: 30px;
  border-radius: 50%;
  background: rgba(49, 63, 54, .22);
  filter: blur(12px);
  transform: translateX(-50%);
}
.orb-stage .stage-ring { z-index: 2; }
.orb-stage .stage-orb { z-index: 4; transform: translateY(-11px); }
.orb-holder-label { z-index: 5; }
.room-results-state {
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(193, 203, 180, .24), transparent 48%),
    linear-gradient(150deg, #fbfaf4, #ebeae0);
}
.final-ranking-row {
  background: linear-gradient(150deg, #fbfaf5, #efeee5);
  border-color: #ddded2;
}
.final-ranking-row.winner {
  background: linear-gradient(150deg, #edf3e8, #dbe7d8);
  border-color: #cbdcc8;
}
/* Rankings */
.rankings-intro { min-height: 190px; }
.rankings-panel { padding: 22px 25px 25px; }
.ranking-tabs { display: flex; flex-wrap: wrap; gap: 5px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.ranking-tab { padding: 8px 12px; border: 0; border-radius: 7px; color: #858a80; background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }
.ranking-tab.active { color: var(--green-dark); background: var(--green-soft); }
.rankings-table { min-height: 240px; }
.ranking-row { display: grid; grid-template-columns: 46px 1fr 110px 100px; align-items: center; gap: 12px; padding: 13px 5px; border-bottom: 1px solid var(--line); }
.ranking-row.header { color: #a0a39b; font: 8px var(--font-mono); letter-spacing: .1em; }
.ranking-row .rank-number { color: #a2a69d; font: 12px var(--font-mono); }
.ranking-row .rank-player { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; }
.rank-player-avatar { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font: 600 10px var(--font-display); }
.ranking-row > span:nth-last-child(-n+2) { justify-self: end; color: #747a70; font: 10px var(--font-mono); }
.rankings-panel > .quiet-note { margin-top: 16px !important; }
.rankings-note-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; margin-top: 16px; }
.rankings-note-grid .side-card { box-shadow: none; }
.rankings-note-grid h3 { margin: 7px 0; }
.rankings-note-grid p { margin: 0; color: #8b9086; font-size: 10px; line-height: 1.6; }

/* Dialogs and forms */
.modal { width: min(480px, calc(100% - 28px)); max-height: min(88vh, 760px); padding: 25px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: var(--panel); box-shadow: 0 30px 100px rgba(24,32,24,.2); }
.modal::backdrop { background: rgba(27,33,28,.34); backdrop-filter: blur(4px); }
.modal-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 5px 0 0; font: 600 24px var(--font-display); letter-spacing: -.05em; }
.modal-close { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; color: #777d72; font-size: 18px; }
.auth-tabs { display: flex; gap: 5px; margin: 18px 0; padding: 4px; background: #f2f1eb; border-radius: 8px; }
.auth-tab { flex: 1; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: #858a80; cursor: pointer; font-size: 11px; font-weight: 700; }
.auth-tab.active { color: var(--ink); background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.auth-form { display: grid; gap: 8px; }
.auth-form label { margin-top: 4px; color: #777d73; font-size: 10px; font-weight: 700; }
.auth-form input { min-height: 42px; font-size: 11px; }
#register-fields { display: grid; gap: 8px; }
.auth-form .button { margin-top: 7px; }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0 12px; color: #a3a69e; font: 8px var(--font-mono); letter-spacing: .1em; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.oauth-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.oauth-buttons .button { min-height: 39px; }
.modal-note { margin: 14px 0 0; color: #9b9f96; font-size: 9px; line-height: 1.6; }
.modal-feedback { min-height: 18px; margin-top: 10px; color: var(--red); font-size: 10px; }
.profile-summary { display: flex; align-items: center; gap: 12px; padding: 20px 0; }
.profile-avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--green-dark); background: var(--green-soft); font: 600 19px var(--font-display); }
.profile-summary strong, .profile-summary span { display: block; }
.profile-summary span { margin-top: 3px; color: #9b9f96; font-size: 10px; }
.profile-stats, .admin-stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.profile-stats div, .admin-stat-grid div { display: grid; gap: 3px; padding: 12px; background: #f4f3ed; border-radius: 8px; }
.profile-stats span, .admin-stat-grid span { color: #9b9f96; font: 8px var(--font-mono); }
.profile-stats b, .admin-stat-grid b { font: 600 16px var(--font-display); }
.profile-actions { display: flex; gap: 8px; margin-top: 17px; }
.profile-actions .button { min-height: 37px; flex: 1; padding: 0 10px; font-size: 10px; }
.archive-modal { width: min(620px, calc(100% - 28px)); }
.archive-modal-list { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 16px; }
.archive-modal-list .archive-date { font-size: 10px; padding: 8px 10px; }
.archive-practice { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.archive-practice h3 { margin: 6px 0 14px; font: 600 20px var(--font-display); }
.practice-question { padding: 11px 0; border-top: 1px solid var(--line); }
.practice-question strong { display: block; font-size: 11px; }
.practice-question p { margin: 4px 0; color: #889087; font-size: 10px; }
.practice-question small { color: var(--green-dark); font-size: 10px; }
.setting-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.setting-row strong, .setting-row small { display: block; }
.setting-row strong { font-size: 11px; }
.setting-row small { margin-top: 3px; color: #999d94; font-size: 9px; }
.setting-row input { accent-color: var(--green); width: 17px; height: 17px; }
.admin-modal { width: min(700px, calc(100% - 28px)); }
.admin-stat-grid { grid-template-columns: repeat(4,1fr); padding: 18px 0; }
.admin-queue-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 8px; border-top: 1px solid var(--line); font-size: 11px; }
.admin-queue { max-height: 40vh; overflow: auto; }
.admin-queue-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.admin-queue-item strong { display: block; font-size: 11px; }
.admin-queue-item small { display: block; margin-top: 3px; color: #92978d; font-size: 9px; }
.admin-queue-actions { display: flex; gap: 6px; }
.admin-queue-actions button { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; font-size: 9px; }
.admin-queue-actions .approve { color: var(--green-dark); }
.friends-modal { width: min(460px, calc(100% - 28px)); }
.friend-add { display: flex; gap: 8px; padding: 16px 0; }
.friend-add input { min-height: 40px; font-size: 11px; }
.friend-add .button { min-height: 40px; }
.friend-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 10px; }
.friend-row button { border: 0; color: var(--green); background: transparent; cursor: pointer; font-size: 9px; }
.toast { position: fixed; left: 50%; bottom: 25px; z-index: 10; max-width: calc(100% - 30px); padding: 11px 16px; border: 1px solid #465347; border-radius: 9px; background: #29332a; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: 11px; opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.skeleton-row { height: 14px; width: 100%; border-radius: 5px; background: linear-gradient(90deg,#f0efe9,#f7f6f2,#f0efe9); background-size: 200% 100%; animation: skeleton 1.2s linear infinite; }
@keyframes skeleton { to { background-position: -200% 0; } }

body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }

@media (max-width: 1080px) {
  .site-shell { width: min(100% - 44px, 960px); }
  .daily-grid, .party-lobby { grid-template-columns: minmax(0,1.35fr) minmax(255px,.85fr); gap: 15px; }
  .daily-idle { padding-inline: 2%; gap: 24px; }
  .room-tool { grid-template-columns: 32px 1fr auto; }
  .join-tool { grid-template-columns: 32px 1fr 105px auto; }
  .room-tool .button { padding: 0 8px; }
}
@media (max-width: 820px) {
  .site-shell { width: min(100% - 32px, 700px); }
  .topbar { min-height: auto; flex-wrap: wrap; gap: 9px 14px; padding: 15px 0 12px; }
  .brand { margin-right: auto; }
  .top-actions { gap: 10px; }
  .utc-pill { display: none; }
  .main-nav { order: 3; width: 100%; margin: 4px 0 0; justify-content: center; border-top: 1px solid var(--line); padding-top: 9px; }
  .nav-item { flex: 1; padding: 9px 5px; font-size: 11px; }
  .view { padding-top: 34px; }
  .page-intro { min-height: auto; align-items: center; padding-bottom: 25px; }
  h1 { font-size: clamp(37px, 7vw, 52px); }
  .date-stamp { min-width: 152px; padding: 12px; }
  .date-stamp strong { font-size: 14px; }
  .daily-grid, .party-lobby { grid-template-columns: 1fr; }
  .daily-sidebar { grid-template-columns: 1fr 1fr; }
  .daily-sidebar .leaderboard-card, .daily-sidebar .archive-card { grid-row: span 2; }
  .party-sidebar { grid-template-columns: repeat(2,1fr); }
  .party-sidebar .party-ranking-card { grid-column: span 2; }
  .orb-preview { flex-basis: 205px; margin-right: 0; transform: scale(.85); }
}
@media (max-width: 600px) {
  .site-shell { width: calc(100% - 26px); }
  .topbar { gap: 9px; }
  .brand-symbol { width: 32px; height: 32px; }
  .brand-name { font-size: 17px; }
  .account-button { padding-right: 8px; font-size: 10px; }
  .nav-item { padding: 8px 4px; font-size: 10px; }
  .view { padding-top: 28px; padding-bottom: 48px; }
  .page-intro { display: block; }
  .page-intro p { font-size: 13px; }
  .date-stamp { display: inline-block; min-width: 0; margin-top: 20px; }
  .party-intro { display: flex; align-items: center; }
  .orb-preview { width: 105px; height: 125px; flex: 0 0 105px; margin: 0 -8px 0 0; transform: scale(.62); transform-origin: center right; }
  .orb-caption { white-space: nowrap; font-size: 7px; }
  .daily-panel { min-height: auto; padding: 16px 15px 18px; border-radius: 15px; }
  .panel-topline { padding-bottom: 13px; }
  .panel-kicker { font-size: 10px; }
  .attempt-label { font-size: 8px; }
  .daily-idle { display: flex; flex-direction: column; gap: 22px; padding: 24px 3px 10px; min-height: auto; }
  .idle-orbit { width: 150px; }
  .idle-copy { text-align: center; }
  .idle-copy h2 { font-size: 27px; }
  .daily-rules { justify-content: center; margin: 15px 0; }
  .daily-play { padding: 0 2px; }
  .question-top { gap: 10px; padding: 22px 1px 27px; }
  .question-count { font-size: 14px; }
  .question-progress { gap: 3px; }
  .clock-face { font-size: 18px; }
  .daily-question { font-size: 29px; }
  .question-note { margin-bottom: 20px; }
  .answer-form { gap: 6px; }
  .answer-form input { min-height: 45px; padding: 0 10px; font-size: 11px; }
  .answer-form .button { min-width: 80px; min-height: 45px; padding: 0 10px; font-size: 10px; }
  .daily-result { padding: 28px 2px 8px; }
  .daily-result h2, .daily-complete h2, .daily-locked h2 { font-size: 29px; }
  .daily-sidebar { grid-template-columns: 1fr; }
  .daily-sidebar .leaderboard-card, .daily-sidebar .archive-card { grid-row: auto; }
  .side-card { padding: 16px; border-radius: 14px; }
  .party-mode-grid, .party-tools-grid { grid-template-columns: 1fr; }
  .display-name-row { margin: 12px 0; }
  .mode-card { padding: 17px; }
  .mode-card p { min-height: 0; }
  .room-tool, .join-tool { grid-template-columns: 30px 1fr auto; }
  .join-tool .code-input { grid-column: 2; grid-row: 2; }
  .join-tool button { grid-column: 3; grid-row: 2; }
  .room-tool .button { grid-column: 3; grid-row: 1; }
  .party-sidebar { grid-template-columns: 1fr; }
  .party-sidebar .party-ranking-card { grid-column: auto; }
  .party-room { padding: 16px 14px; }
  .room-heading { align-items: start; }
  .room-heading .button { min-height: 35px; padding: 0 9px; font-size: 10px; }
  .room-heading h2 { font-size: 23px; }
  .room-players { grid-template-columns: repeat(3,1fr); }
  .rush-game-header { align-items: start; }
  .rush-game-header h2 { font-size: 25px; }
  .rush-timer { min-width: 65px; padding: 8px; }
  .orb-stage { min-height: 220px; }
  .stage-orb { width: 117px; height: 117px; }
  .rush-bottom-grid { grid-template-columns: 1fr; gap: 15px; }
  .rankings-panel { padding: 16px; }
  .ranking-tabs { gap: 2px; }
  .ranking-tab { padding: 7px 9px; font-size: 9px; }
  .ranking-row { grid-template-columns: 28px 1fr 75px 65px; gap: 6px; padding: 11px 1px; }
  .ranking-row.header { font-size: 7px; }
  .rankings-note-grid { grid-template-columns: 1fr; }
  .site-footer { align-items: start; flex-wrap: wrap; padding: 17px 0; }
  .site-footer > span { display: none; }
  .footer-links { gap: 12px; }
  .modal { padding: 19px; }
  .admin-stat-grid { grid-template-columns: repeat(2,1fr); }
  .admin-queue-item { align-items: start; flex-direction: column; }
}


@media (max-width: 1080px) {
  .party-intro { grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: 16px; }
  .world-lobby-scene { height: 250px; }
  .room-players { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .party-intro { grid-template-columns: 1fr; gap: 6px; }
  .world-lobby-scene { height: 240px; }
  .room-players { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stone-world-lobby { height: 205px; }
}
@media (max-width: 600px) {
  .party-intro { padding-bottom: 20px; }
  .world-lobby-scene { height: 210px; border-radius: 16px; }
  .scene-globe-main { width: 120px; height: 120px; top: 25px; }
  .scene-globe-small { width: 52px; height: 52px; }
  .scene-globe-left { left: 8%; top: 92px; }
  .scene-globe-right { right: 7%; top: 85px; }
  .scene-rock-left { width: 88px; height: 50px; left: 2%; }
  .scene-rock-right { width: 94px; height: 54px; right: 2%; }
  .scene-caption { font-size: 7px; letter-spacing: .1em; }
  .stone-world-lobby { height: 190px; margin: 16px 0 15px; border-radius: 14px; }
  .lobby-earth { width: 108px; height: 108px; top: 17px; }
  .lobby-floating-rock { width: 79px; height: 42px; }
  .lobby-rock-left { left: 4%; top: 91px; }
  .lobby-rock-right { right: 4%; top: 85px; }
  .lobby-stone-base { width: 210px; height: 70px; }
  .lobby-roster-heading { font-size: 7px; }
  .room-players { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .room-player { min-height: 100px; }
  .category-cycle { grid-template-columns: 1fr; gap: 9px; padding: 10px; }
}




/* GLOBE RUSH — original orbital Earth world */
body.globe-rush-active {
  --space-ink:#e9f6ff; --space-muted:#91abc7; --space-line:#294a70;
  color-scheme:dark; color:var(--space-ink);
  background:radial-gradient(ellipse at 50% -10%,#203b6a 0%,#0b1730 48%,#070e20 100%);
}
body.globe-rush-active .site-shell { width:min(1460px,calc(100% - 48px)); }
body.globe-rush-active .topbar { min-height:72px; border-color:rgba(103,153,202,.22); background:rgba(6,15,34,.74); }
body.globe-rush-active .brand-symbol { color:#78d9e6; }
body.globe-rush-active .brand-name { color:#eff9ff; font-family:'VT323',monospace; font-size:29px; letter-spacing:.05em; }
body.globe-rush-active .brand-name span { color:#ffbf65; }
body.globe-rush-active .nav-item { color:#9db6d2; border-radius:3px; font-family:'VT323',monospace; font-size:19px; letter-spacing:.04em; }
body.globe-rush-active .nav-item:hover { color:#fff; background:rgba(95,153,205,.13); }
body.globe-rush-active .nav-item.active { color:#07162d; background:#81dbea; box-shadow:0 3px 0 #315f91; }
body.globe-rush-active .utc-pill { color:#91a9c4; }
body.globe-rush-active .live-dot { background:#72e0bc; box-shadow:0 0 0 3px rgba(114,224,188,.13); }
body.globe-rush-active .account-button { color:#e9f6ff; border:1px solid #33557a; border-radius:3px; background:#101f3b; }
body.globe-rush-active .avatar-dot { color:#071c34; background:#7ad9e8; border-radius:2px; }
body.globe-rush-active .view { padding-top:26px; }
body.globe-rush-active .page-intro { color:var(--space-ink); }
body.globe-rush-active .eyebrow, body.globe-rush-active .micro-label { color:#75d1df; }
body.globe-rush-active .eyebrow-line { background:#f4bc69; }
body.globe-rush-active .party-intro {
  min-height:194px; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(350px,.95fr);
  align-items:center; gap:28px; padding:0 0 22px;
}
.party-intro-copy { min-width:0; }
body.globe-rush-active .party-intro h1 {
  margin:12px 0 9px; color:#f1f9ff; font:24px/1.35 'Press Start 2P',monospace;
  letter-spacing:-.08em; text-shadow:3px 3px 0 #244c83,6px 6px 0 rgba(0,0,0,.25);
}
body.globe-rush-active .party-intro p { max-width:620px; color:#a7bed8; font-size:13px; line-height:1.55; }
.party-intro-stats { display:flex; align-items:center; gap:11px; flex-wrap:wrap; margin-top:14px; color:#89d5e3; font:14px 'VT323',monospace; letter-spacing:.09em; }
.party-intro-stats i { width:4px; height:4px; background:#f5bd68; transform:rotate(45deg); }

.party-preview-world {
  position:relative; min-width:0; height:164px; overflow:hidden; isolation:isolate;
  border:2px solid #315984; border-radius:3px;
  background:radial-gradient(ellipse at 52% 72%,rgba(63,129,180,.3),transparent 53%),linear-gradient(145deg,#0b1b39,#152b55 58%,#17284a);
  box-shadow:0 7px 0 #050c1b,inset 0 0 35px rgba(0,0,0,.24);
}
.preview-starfield,.planet-starfield {
  position:absolute; inset:0; pointer-events:none;
  background-image:radial-gradient(2px 2px at 12% 18%,#e5f9ff 50%,transparent 100%),radial-gradient(1px 1px at 24% 62%,#e5f9ff 50%,transparent 100%),radial-gradient(1.5px 1.5px at 49% 13%,#e5f9ff 50%,transparent 100%),radial-gradient(1px 1px at 77% 27%,#e5f9ff 50%,transparent 100%),radial-gradient(2px 2px at 90% 68%,#e5f9ff 50%,transparent 100%);
  background-size:173px 113px; opacity:.65;
}
.preview-globe {
  position:absolute; z-index:4; width:126px; height:126px; left:50%; top:17px; overflow:hidden;
  border-radius:50%; transform:translateX(-50%); background:#12618a;
  box-shadow:0 0 0 7px rgba(123,209,235,.08),0 0 42px rgba(81,188,223,.4),inset -14px -15px 23px rgba(0,0,0,.28);
}
.preview-globe svg,.planet-earth svg { display:block; width:100%; height:100%; }
.preview-orbit,.planet-orbit { position:absolute; border:1px solid rgba(128,205,232,.35); border-radius:50%; pointer-events:none; }
.preview-orbit-a { z-index:3; width:216px; height:64px; left:50%; top:65px; transform:translateX(-50%) rotate(-20deg); }
.preview-orbit-b { z-index:2; width:168px; height:138px; left:50%; top:8px; transform:translateX(-50%) rotate(48deg); border-color:rgba(242,190,108,.22); }
.preview-mini-moon { position:absolute; z-index:5; width:18px; height:18px; left:23%; top:29px; border-radius:50%; background:radial-gradient(circle at 33% 28%,#eff5dc,#98a9b1 65%,#526a84); box-shadow:0 0 16px rgba(196,229,236,.25); }
.preview-island { position:absolute; z-index:5; bottom:20px; width:65px; height:25px; background:linear-gradient(180deg,#79b27c 0 28%,#9b885d 29% 100%); clip-path:polygon(0 65%,17% 20%,39% 38%,55% 0,81% 24%,100% 68%,84% 100%,12% 100%); filter:drop-shadow(0 7px 3px rgba(0,0,0,.25)); }
.preview-island-one { left:12%; transform:rotate(-7deg); }
.preview-island-two { right:12%; transform:scale(.85) rotate(8deg); }
.preview-satellite { position:absolute; z-index:6; width:22px; height:13px; background:#e5b86d; border:1px solid #fff0c4; box-shadow:0 0 10px rgba(237,194,118,.45); }
.preview-satellite::before,.preview-satellite::after { content:''; position:absolute; top:2px; width:13px; height:8px; background:#668cb6; border:1px solid #9dcae5; }
.preview-satellite::before { right:100%; }
.preview-satellite::after { left:100%; }
.preview-satellite i { position:absolute; left:8px; bottom:-5px; width:5px; height:5px; border-radius:50%; background:#eaf9ff; }
.satellite-one { left:23%; top:47px; transform:rotate(-20deg); }
.satellite-two { right:21%; top:20px; transform:scale(.7) rotate(20deg); }
.preview-caption { position:absolute; z-index:8; right:12px; bottom:8px; color:#c3dcec; font:11px 'VT323',monospace; letter-spacing:.12em; }

/* Match selection and room list */
body.globe-rush-active .party-lobby { grid-template-columns:minmax(0,1.62fr) minmax(280px,.78fr); gap:16px; }
body.globe-rush-active .party-lobby .game-panel,body.globe-rush-active .party-lobby .side-card {
  color:#e6f3ff; border:1px solid #294c73; border-radius:3px;
  background:linear-gradient(180deg,rgba(23,46,83,.92),rgba(9,20,45,.98));
  box-shadow:0 5px 0 #050c1b,inset 0 1px 0 rgba(180,216,244,.08);
}
body.globe-rush-active .party-play-panel { padding:20px; }
body.globe-rush-active .party-play-panel .panel-topline { border-bottom:1px solid #29496d; padding-bottom:12px; }
body.globe-rush-active .panel-kicker { color:#82d9e5; font:14px 'VT323',monospace; letter-spacing:.12em; }
body.globe-rush-active .attempt-label { color:#9bb2ce; font:12px 'VT323',monospace; letter-spacing:.1em; }
body.globe-rush-active .display-name-row { border:1px solid #32577d; border-radius:2px; background:#0c1a38; }
body.globe-rush-active .display-name-row label,body.globe-rush-active .field-label { color:#9ebbd3; font:12px 'VT323',monospace; letter-spacing:.1em; }
body.globe-rush-active .display-name-row input { color:#eff8ff; font:16px 'VT323',monospace; }
body.globe-rush-active .display-name-row input::placeholder { color:#728eac; }
body.globe-rush-active .party-mode-grid { gap:11px; }
body.globe-rush-active .mode-card {
  padding:18px; border:1px solid #31557b; border-radius:2px; color:#e5f3ff;
  background:linear-gradient(180deg,#1b3a65,#102548); box-shadow:inset 0 1px 0 rgba(180,216,244,.08);
}
body.globe-rush-active .ranked-card { background:linear-gradient(180deg,#26395d,#142440); }
body.globe-rush-active .mode-icon { border-radius:2px; color:#091a34; background:#7cdce8; }
body.globe-rush-active .ranked-icon { color:#21162f; background:#f3bf70; }
body.globe-rush-active .mode-card h2 { color:#f2f8ff; font:22px 'VT323',monospace; letter-spacing:.03em; }
body.globe-rush-active .mode-card p { color:#a4bad0; font-size:11px; }
body.globe-rush-active .select-input,body.globe-rush-active .code-input,body.globe-rush-active .room-tool input { color:#e5f3ff; border:1px solid #375b7d; border-radius:2px; background:#091831; }
body.globe-rush-active .select-input option { background:#091831; color:#e5f3ff; }
body.globe-rush-active .mode-footnote { color:#8da6c1; }
body.globe-rush-active .room-tool { border:1px solid #31557b; border-radius:2px; background:linear-gradient(180deg,#1a365d,#102341); }
body.globe-rush-active .room-tool strong { color:#e5f4ff; font:16px 'VT323',monospace; }
body.globe-rush-active .room-tool p { color:#9cb5cc; font-size:10px; }
body.globe-rush-active .room-tool-icon { border-radius:2px; color:#0a1d39; background:#7ed8e4; }
body.globe-rush-active .party-lobby .side-card { padding:17px; }
body.globe-rush-active .side-card-head h3 { color:#e9f5ff; font:21px 'VT323',monospace; letter-spacing:.03em; }
body.globe-rush-active .side-card p { color:#9eb5ce; }
body.globe-rush-active .mini-link { color:#86dce6; }
body.globe-rush-active .public-room-row { border-color:#2b4d71; }
body.globe-rush-active .public-room-row strong { color:#e5f5ff; font:18px 'VT323',monospace; }
body.globe-rush-active .public-room-row small,body.globe-rush-active .empty-room-note { color:#91abc5; }
body.globe-rush-active .how-list li { border-color:#2a4b6e; }
body.globe-rush-active .how-list li>span { color:#7ad6e4; }
body.globe-rush-active .how-list strong { color:#e4f3fd; }
body.globe-rush-active .how-list p { color:#91adc7; }
body.globe-rush-active .season-card { background:#172f53; border-color:#315277; }
body.globe-rush-active .season-title { color:#eef6ff; font:23px 'VT323',monospace; }
body.globe-rush-active .season-card>p,body.globe-rush-active .season-stats span { color:#9bb2c9; }
body.globe-rush-active .season-stats { border-color:#315277; }
body.globe-rush-active .season-stats b { color:#e7f4ff; }

/* Private room: planetary hangout stage with a console on the right */
body.globe-rush-active .party-room {
  padding:14px; border:1px solid #2c4f77; border-radius:3px; color:#e4f3ff;
  background:linear-gradient(180deg,#101f41,#08152e); box-shadow:0 8px 0 #040a17,0 24px 55px rgba(0,0,0,.24);
}
.planet-room-topbar {
  display:grid; grid-template-columns:minmax(170px,1fr) auto auto auto; align-items:center; gap:14px;
  margin-bottom:14px; padding:5px 3px 13px; border-bottom:1px solid #2b4d74;
}
.planet-brand-lockup { display:flex; align-items:center; gap:10px; min-width:0; }
.planet-brand-mark { display:grid; place-items:center; width:34px; height:34px; color:#071a34; background:#7cdce8; border:2px solid #d6f8ff; box-shadow:3px 3px 0 #244f7a; font:18px 'Press Start 2P',monospace; }
.planet-brand-lockup b { display:block; color:#eef8ff; font:17px 'VT323',monospace; letter-spacing:.14em; }
.planet-brand-lockup small { display:block; margin-top:2px; color:#93acc9; font:11px 'VT323',monospace; letter-spacing:.18em; }
.planet-room-code-pill,.planet-room-live-pill { display:grid; gap:3px; padding:7px 11px; border:1px solid #355a80; background:#0c1c3b; }
.planet-room-code-pill span,.planet-room-live-pill span { color:#98b4cf; font:10px 'VT323',monospace; letter-spacing:.13em; }
.planet-room-code-pill strong { color:#8ce4ee; font:23px 'VT323',monospace; letter-spacing:.16em; }
.planet-room-live-pill strong { color:#f2c17b; font:16px 'VT323',monospace; letter-spacing:.08em; }
.planet-leave-button { padding:9px 11px; border:1px solid #42658b; border-radius:2px; color:#c2d6e8; background:#0e2041; cursor:pointer; font:13px 'VT323',monospace; letter-spacing:.08em; }
.planet-leave-button:hover { color:#fff; border-color:#e8b96e; background:#2b2945; }
.planet-room-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:13px; align-items:stretch; }
.planet-arena {
  position:relative; min-width:0; min-height:570px; overflow:hidden; isolation:isolate;
  border:2px solid #315784; border-radius:2px;
  background:radial-gradient(ellipse at 52% 57%,rgba(37,102,151,.35),transparent 42%),radial-gradient(ellipse at 15% 20%,rgba(73,70,145,.25),transparent 40%),linear-gradient(145deg,#08162f 0%,#142a53 53%,#0b1c3d 100%);
  box-shadow:inset 0 0 60px rgba(0,0,0,.36),0 4px 0 #050d20; image-rendering:pixelated;
}
.planet-arena::before {
  content:''; position:absolute; z-index:0; inset:0; pointer-events:none;
  background:repeating-linear-gradient(0deg,rgba(170,215,255,.035) 0 1px,transparent 1px 4px);
}
.planet-nebula { position:absolute; z-index:1; width:42%; height:35%; border-radius:50%; filter:blur(28px); opacity:.25; pointer-events:none; }
.nebula-left { left:-8%; top:24%; background:#5a8cce; }
.nebula-right { right:-6%; top:41%; background:#9c62ba; }
.planet-orbit-a { z-index:2; width:440px; height:170px; left:50%; top:48%; transform:translate(-50%,-50%) rotate(-21deg); border-color:rgba(132,209,238,.36); }
.planet-orbit-b { z-index:2; width:370px; height:260px; left:50%; top:47%; transform:translate(-50%,-50%) rotate(49deg); border-color:rgba(246,199,119,.22); }
.planet-orbit-c { z-index:2; width:550px; height:220px; left:50%; top:44%; transform:translate(-50%,-50%) rotate(5deg); border-style:dashed; border-color:rgba(134,172,224,.2); }
.planet-arena-heading { position:absolute; z-index:8; top:20px; left:0; right:0; display:grid; justify-items:center; gap:5px; text-align:center; }
.planet-arena-heading span { color:#87c9df; font:12px 'VT323',monospace; letter-spacing:.25em; }
.planet-arena-heading strong { color:#f4f9ff; font:22px 'Press Start 2P',monospace; letter-spacing:-.08em; text-shadow:3px 3px 0 #426ca2,6px 6px 0 rgba(0,0,0,.24); }
.planet-arena-heading b { color:#83e0eb; font:15px 'Press Start 2P',monospace; letter-spacing:.03em; }
.planet-arena-heading small { color:#a8c6db; font:12px 'VT323',monospace; letter-spacing:.18em; }
.planet-earth-wrap { position:absolute; z-index:4; left:50%; top:21%; width:min(38%,330px); aspect-ratio:1; transform:translateX(-50%); }
.planet-earth-aura { position:absolute; inset:-18%; border-radius:50%; background:radial-gradient(circle,rgba(75,173,224,.25),rgba(90,140,207,.1) 48%,transparent 72%); filter:blur(9px); }
.planet-earth {
  position:relative; width:100%; height:100%; overflow:hidden; border-radius:50%; background:#10557e;
  box-shadow:0 0 0 5px rgba(155,213,240,.11),0 0 0 12px rgba(155,213,240,.035),0 0 54px rgba(67,164,221,.28),inset -18px -20px 30px rgba(0,0,0,.35);
}
.planet-earth-glint { position:absolute; inset:0; border-radius:50%; pointer-events:none; background:radial-gradient(ellipse at 28% 18%,rgba(255,255,255,.19),transparent 42%),linear-gradient(115deg,transparent 48%,rgba(0,0,0,.18)); }
.planet-earth svg { display:block; width:100%; height:100%; }
.planet-moon { position:absolute; z-index:3; border-radius:50%; background:radial-gradient(circle at 32% 27%,#f0f1dc,#9eabc0 70%,#4d5f7c); box-shadow:0 0 18px rgba(207,223,235,.2); }
.moon-one { left:13%; top:40%; width:37px; height:37px; }
.moon-two { right:12%; top:27%; width:20px; height:20px; }
.planet-satellite { position:absolute; z-index:7; width:28px; height:16px; background:#e4ba72; border:1px solid #f8e3a8; box-shadow:0 0 14px rgba(243,190,104,.35); }
.planet-satellite::before,.planet-satellite::after { content:''; position:absolute; top:3px; width:16px; height:9px; background:#648fc4; border:1px solid #a3d7ea; }
.planet-satellite::before { right:100%; }
.planet-satellite::after { left:100%; }
.planet-satellite i { position:absolute; width:5px; height:5px; left:11px; bottom:-6px; border-radius:50%; background:#e9fbff; }
.planet-satellite b { position:absolute; height:6px; width:1px; left:13px; top:-7px; background:#d4eefb; }
.satellite-large { left:17%; top:21%; transform:rotate(-18deg); }
.satellite-small { right:13%; top:50%; transform:scale(.72) rotate(25deg); }
.planet-floating-island { position:absolute; z-index:3; height:35px; background:linear-gradient(180deg,#87bd86 0 22%,#ad9662 23% 100%); box-shadow:inset 0 -8px #5b6a57,0 7px 9px rgba(0,0,0,.2); clip-path:polygon(0 67%,16% 26%,36% 38%,54% 0,79% 24%,100% 68%,83% 100%,12% 100%); }
.island-one { left:8%; bottom:23%; width:140px; transform:rotate(-6deg); }
.island-two { right:8%; bottom:26%; width:125px; transform:rotate(7deg); }
.island-three { left:50%; bottom:17%; width:175px; height:43px; transform:translateX(-50%); opacity:.75; }
.planet-player-field {
  position:absolute; z-index:10; left:10px; right:10px; bottom:25px; display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr)); grid-auto-rows:100px; align-items:end; justify-items:center; gap:0 5px;
}
.planet-seat { position:relative; display:flex; min-width:0; width:100%; height:100px; flex-direction:column; align-items:center; justify-content:flex-end; padding:0 2px 2px; text-align:center; }
.planet-seat:nth-child(6) { grid-column:1; }
.planet-seat-avatar { position:relative; z-index:3; display:block; width:30px; height:43px; margin-bottom:-2px; filter:hue-rotate(var(--sprite-hue)); animation:planet-idle 2.8s ease-in-out infinite; }
.planet-seat-avatar i { position:absolute; left:6px; top:11px; width:18px; height:23px; background:#ed9a82; border:2px solid #fbd4ad; box-shadow:3px 3px 0 #9e5974; clip-path:polygon(15% 0,85% 0,100% 23%,87% 100%,13% 100%,0 23%); }
.planet-seat-avatar b { position:absolute; z-index:2; left:2px; top:20px; width:9px; height:9px; background:#f2bb8e; clip-path:polygon(100% 0,0 25%,100% 100%); }
.planet-seat-avatar em { position:absolute; z-index:2; right:0; top:6px; width:11px; height:12px; background:#f3c46f; clip-path:polygon(0 100%,13% 0,100% 25%,65% 100%); }
.planet-seat-platform { position:absolute; z-index:1; bottom:23px; width:min(77px,95%); height:34px; border-top:4px solid #8fc2d2; background:linear-gradient(180deg,#557e91,#2d526b 70%,#203d5d); box-shadow:inset 0 -7px #1a2f4d,0 7px 9px rgba(0,0,0,.2); clip-path:polygon(0 62%,15% 20%,60% 0,100% 49%,88% 100%,10% 100%); }
.planet-seat-name { position:relative; z-index:4; display:block; width:100%; overflow:hidden; margin-top:4px; color:#eff8ff; font:13px 'VT323',monospace; text-overflow:ellipsis; white-space:nowrap; text-shadow:1px 2px #081831; }
.planet-seat-status { position:relative; z-index:4; width:100%; overflow:hidden; color:#9bbad0; font:10px 'VT323',monospace; letter-spacing:.03em; text-overflow:ellipsis; white-space:nowrap; }
.planet-seat.open { opacity:.36; }
.planet-seat.open .planet-seat-avatar { opacity:.18; }
.planet-seat.open .planet-seat-name { color:#aac4d5; }
.planet-seat.open .planet-seat-platform { border-top-style:dashed; opacity:.65; }
.planet-seat.is-you .planet-seat-platform { border-top-color:#ffc576; box-shadow:0 0 15px rgba(255,194,111,.3),inset 0 -7px #1a2f4d; }
.planet-seat.is-you .planet-seat-name { color:#ffd28a; }
@keyframes planet-idle { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
.planet-arena-footer { position:absolute; z-index:11; bottom:8px; left:0; right:0; text-align:center; color:#abc9db; font:11px 'VT323',monospace; letter-spacing:.2em; opacity:.76; }
.planet-arena-footer span { color:#f4bd71; padding:0 5px; }
.planet-console { display:flex; min-width:0; flex-direction:column; gap:9px; }
.planet-console-card { padding:12px; border:1px solid #2d5075; border-radius:2px; background:linear-gradient(180deg,#1b365e,#10203f); box-shadow:inset 0 1px rgba(190,223,246,.06); }
.planet-console-heading { display:flex; align-items:center; justify-content:space-between; gap:7px; margin-bottom:8px; color:#9cc7dd; font:14px 'VT323',monospace; letter-spacing:.12em; }
.planet-console-heading i { color:#f3c27c; font:11px 'VT323',monospace; font-style:normal; }
.planet-room-code-value { display:block; color:#8ce7ee; font:37px 'VT323',monospace; letter-spacing:.23em; text-shadow:2px 2px #254c79; }
.planet-room-code-card p { margin:4px 0 10px; color:#a4bdd4; font:13px 'VT323',monospace; line-height:1.2; }
.planet-copy-button { width:100%; min-height:33px; display:flex; justify-content:space-between; align-items:center; padding:0 10px; border:1px solid #507ca2; border-radius:2px; color:#c2f3f4; background:#193d61; cursor:pointer; font:13px 'VT323',monospace; letter-spacing:.1em; }
.planet-copy-button:hover { background:#22547a; }
.planet-player-roster { display:grid; gap:5px; }
.planet-roster-row { display:grid; grid-template-columns:8px minmax(0,1fr) auto; align-items:center; gap:7px; color:#e0f1fc; font:14px 'VT323',monospace; }
.planet-roster-dot { width:6px; height:6px; background:#72e0bc; box-shadow:0 0 0 2px rgba(114,224,188,.12); }
.planet-roster-name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.planet-roster-row small { color:#9bb7d0; font:11px 'VT323',monospace; }
.planet-roster-row.is-you .planet-roster-name { color:#ffd38f; }
.planet-roster-row.is-you .planet-roster-dot { background:#ffc679; }
.planet-roster-empty { color:#8faac3; font:13px 'VT323',monospace; }
.planet-rule-line { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:5px 0; border-top:1px solid rgba(81,126,163,.3); color:#9ab6cf; font:12px 'VT323',monospace; }
.planet-rule-line b { color:#e4f5ff; font:13px 'VT323',monospace; }
body.globe-rush-active .planet-start-button { width:100%; min-height:43px; border:2px solid #d6f7f8; border-radius:2px; color:#081b34; background:#83dbe5; box-shadow:0 4px 0 #2e6994; font:14px 'VT323',monospace; letter-spacing:.13em; }
body.globe-rush-active .planet-start-button:hover:not(:disabled) { background:#b0eef0; transform:translateY(-1px); }
body.globe-rush-active .planet-start-button:disabled { color:#8ea9c1; border-color:#3a587a; background:#1c3153; box-shadow:0 4px 0 #080f22; cursor:wait; }
.planet-chat-card { display:flex; min-height:185px; flex:1; flex-direction:column; }
.planet-chat-log { display:flex; min-height:105px; max-height:185px; flex:1; flex-direction:column; gap:7px; overflow-y:auto; padding:3px 2px 8px; }
.planet-chat-entry { display:grid; grid-template-columns:auto 1fr; gap:1px 7px; color:#bfd5e7; font:12px 'VT323',monospace; overflow-wrap:anywhere; }
.planet-chat-entry>span { color:#8ba6c0; font-size:10px; }
.planet-chat-entry b { color:#85dce7; font-size:14px; }
.planet-chat-entry p { grid-column:1/-1; margin:0; color:#d5e9f6; line-height:1.2; }
.planet-chat-empty { color:#8faac3; font:13px 'VT323',monospace; }
.planet-chat-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:5px; margin-top:8px; padding-top:8px; border-top:1px solid #35577a; }
.planet-chat-form input { min-width:0; height:32px; padding:0 8px; border:1px solid #42678d; border-radius:2px; color:#e8f5ff; background:#0a1a36; font:14px 'VT323',monospace; }
.planet-chat-form input::placeholder { color:#829bb5; }
.planet-chat-form button { padding:0 8px; border:1px solid #527ca1; border-radius:2px; color:#c9f1f4; background:#1b4167; cursor:pointer; font:13px 'VT323',monospace; }
body.globe-rush-active .party-room .room-game-state,body.globe-rush-active .party-room .room-results-state { color:#e5f4ff; }
body.globe-rush-active .party-room .room-results-state { border:1px solid #315277; border-radius:3px; background:linear-gradient(180deg,#182f54,#0a1934); }
body.globe-rush-active .rush-game-header h2 { color:#eff8ff; font-family:'VT323',monospace; font-size:33px; letter-spacing:.02em; }
body.globe-rush-active .rush-game-header p { color:#a2bad0; }
body.globe-rush-active .rush-timer { border-color:#3d6288; border-radius:2px; color:#91e1eb; background:#0b1d3b; }
body.globe-rush-active .rush-timer>span { color:#9eb7d0; font:12px 'VT323',monospace; }
body.globe-rush-active .category-cycle { border-color:#335779; border-radius:2px; background:#102341; }
body.globe-rush-active .category-cycle-stat>span { color:#a0bcd1; }
body.globe-rush-active .category-cycle-stat>b { color:#e7f6ff; }
body.globe-rush-active .category-cycle-stat>i { background:#263f62; }
body.globe-rush-active .orb-stage { border-radius:2px; background:linear-gradient(180deg,#0a1d3d,#15335a); }
body.globe-rush-active .orb-stage::before { background:radial-gradient(ellipse at 50% 20%,#537d9a,#243e66 70%); border-color:#759bb7; }
body.globe-rush-active .orb-stage .stage-ring { border-color:rgba(135,216,234,.35); }
body.globe-rush-active .orb-holder-label { color:#c3d8e8; }
body.globe-rush-active .rush-answer-area .answer-form input { color:#ecf6ff; background:#091a36; border-color:#3a5e82; }
body.globe-rush-active .rush-answer-area .answer-form input::placeholder { color:#8ba8c1; }
body.globe-rush-active .rush-feedback { color:#b0c7dc; }
body.globe-rush-active .used-answers,body.globe-rush-active .rush-players { border-color:#33577a; background:#0d1f3b; }
body.globe-rush-active .used-answers .micro-label,body.globe-rush-active .rush-players .micro-label { color:#81d5e1; }
body.globe-rush-active .final-ranking-row { border-color:#365a7e; color:#e5f3ff; background:#13294a; }
body.globe-rush-active .final-ranking-row.winner { background:#1c3e5a; border-color:#6ca6bd; }
body.globe-rush-active .party-room .complete-icon { color:#84e0e9; }
body.globe-rush-active .party-room .eyebrow { color:#7bd7e4; }

/* Layout adapts from desktop orbital station to compact planet lobby */
@media(max-width:1050px) {
  .planet-room-layout { grid-template-columns:minmax(0,1fr) 270px; }
  .planet-arena { min-height:540px; }
  .planet-earth-wrap { width:min(42%,300px); }
}
@media(max-width:820px) {
  body.globe-rush-active .site-shell { width:calc(100% - 28px); }
  body.globe-rush-active .party-intro { grid-template-columns:1fr; gap:12px; }
  .party-preview-world { height:132px; }
  .planet-room-topbar { grid-template-columns:1fr auto; }
  .planet-room-live-pill { justify-self:end; }
  .planet-leave-button { grid-column:2; grid-row:1; justify-self:end; margin-top:45px; }
  .planet-room-layout { grid-template-columns:1fr; }
  .planet-arena { min-height:560px; }
  .planet-earth-wrap { width:min(40%,320px); }
  .planet-console { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
  .planet-chat-card { grid-column:1/-1; min-height:170px; }
}
@media(max-width:600px) {
  body.globe-rush-active .site-shell { width:calc(100% - 16px); }
  body.globe-rush-active .topbar { gap:7px; padding:10px 0; }
  body.globe-rush-active .brand-symbol { width:29px; height:29px; }
  body.globe-rush-active .brand-name { font-size:24px; }
  body.globe-rush-active .account-button { font-size:9px; }
  body.globe-rush-active .main-nav { gap:3px; padding-top:7px; }
  body.globe-rush-active .nav-item { font-size:16px; padding:7px 4px; }
  body.globe-rush-active .party-intro h1 { font-size:19px; }
  body.globe-rush-active .party-intro p { font-size:12px; }
  .party-intro-stats { font-size:12px; gap:7px; }
  .party-preview-world { height:110px; }
  body.globe-rush-active .party-lobby { grid-template-columns:1fr; }
  body.globe-rush-active .party-mode-grid,body.globe-rush-active .party-tools-grid { grid-template-columns:1fr; }
  body.globe-rush-active .party-sidebar { grid-template-columns:1fr; }
  .planet-room-topbar { gap:7px; grid-template-columns:1fr auto; }
  .planet-brand-mark { width:29px; height:29px; font-size:14px; }
  .planet-brand-lockup b { font-size:15px; }
  .planet-room-code-pill { grid-column:1; grid-row:2; justify-self:start; }
  .planet-room-live-pill { grid-column:2; grid-row:2; justify-self:end; }
  .planet-leave-button { grid-column:2; grid-row:1; margin:0; font-size:12px; }
  body.globe-rush-active .party-room { padding:8px; }
  .planet-arena { min-height:565px; }
  .planet-arena-heading { top:19px; }
  .planet-arena-heading strong { font-size:17px; }
  .planet-arena-heading b { font-size:13px; }
  .planet-earth-wrap { top:23%; width:min(58%,260px); }
  .planet-orbit-a { width:330px; height:130px; }
  .planet-orbit-b { width:290px; height:205px; }
  .planet-orbit-c { width:390px; height:170px; }
  .planet-player-field { left:3px; right:3px; bottom:22px; grid-template-columns:repeat(5,minmax(0,1fr)); grid-auto-rows:95px; }
  .planet-seat { height:95px; }
  .planet-seat-name { font-size:11px; }
  .planet-console { grid-template-columns:1fr; }
  .planet-chat-card { grid-column:auto; }
  .planet-console-card { padding:11px; }
  body.globe-rush-active .rush-game-header { gap:8px; }
  body.globe-rush-active .rush-answer-area .answer-form { display:grid; grid-template-columns:minmax(0,1fr) auto; }
}


/* HUMANITY — one planetary visual language across every page */
:root {
 color-scheme:dark; --paper:#08152b; --panel:#102342; --panel-soft:#152c4d;
 --ink:#eaf5ff; --muted:#91a9c5; --line:#29486c; --line-strong:#3a5e84;
 --green:#7bd9e6; --green-dark:#4daec8; --green-soft:#163b5a;
 --orange:#f0bd70; --orange-soft:#3a2e36; --yellow:#f5ce7a; --red:#e783a7;
 --shadow:0 18px 48px rgba(0,0,0,.24); --radius:4px;
}
html { background:#071328; }
body {
 min-width:320px; color:#eaf5ff;
 background:radial-gradient(ellipse at 50% -18%,rgba(58,103,160,.26),transparent 50%),linear-gradient(180deg,#0a1832,#08152b 55%,#070f20);
}
body::before {
 content:""; position:fixed; z-index:0; inset:0; pointer-events:none; opacity:.22;
 background-image:radial-gradient(1px 1px at 7% 12%,#eaf8ff 50%,transparent),radial-gradient(1px 1px at 21% 38%,#eaf8ff 50%,transparent),radial-gradient(1.5px 1.5px at 42% 17%,#eaf8ff 50%,transparent),radial-gradient(1px 1px at 68% 33%,#eaf8ff 50%,transparent),radial-gradient(1.5px 1.5px at 86% 15%,#eaf8ff 50%,transparent),radial-gradient(1px 1px at 94% 70%,#eaf8ff 50%,transparent);
 background-size:213px 167px,271px 211px,319px 197px,233px 241px,347px 269px,281px 227px;
}
.site-shell { position:relative; z-index:1; }
.topbar { border-color:rgba(105,157,202,.22); background:rgba(6,16,35,.66); backdrop-filter:blur(12px); }
.brand-symbol { color:#83dfeb; }
.brand-name,.footer-brand { color:#f1f8ff; font-family:'VT323',monospace; font-size:29px; letter-spacing:.04em; }
.brand-name span,.footer-brand span { color:#f4c16f; }
.nav-item { color:#94afca; border:1px solid transparent; border-radius:3px; font-family:'VT323',monospace; font-size:18px; letter-spacing:.045em; }
.nav-item:hover { color:#effbff; background:rgba(93,158,203,.12); }
.nav-item.active { color:#061831; background:#83dce7; box-shadow:0 3px 0 #2b668e; }
.utc-pill { color:#88a4c1; }
.live-dot { background:#75e0be; box-shadow:0 0 0 3px rgba(117,224,190,.14); }
.account-button { color:#e5f3ff; border:1px solid #33567a; border-radius:3px; background:#102342; }
.account-button:hover { border-color:#83dce7; }
.avatar-dot { color:#071a32; background:#83dce7; border-radius:2px; }
h1,h2,h3 { color:#eef7ff; }
h1 { letter-spacing:-.045em; text-shadow:2px 3px 0 rgba(39,78,126,.36); }
h1 em { color:#83dce7; }
.page-intro p { color:#a2b8d0; }
.eyebrow,.micro-label { color:#7bd9e6; }
.eyebrow-line { background:#f0bd70; }
.game-panel,.side-card {
 color:#e5f2ff; border:1px solid #2a4c70; border-radius:3px;
 background:linear-gradient(160deg,rgba(19,43,77,.98),rgba(9,24,47,.98));
 box-shadow:0 5px 0 #050d1c,0 15px 34px rgba(0,0,0,.16);
}
.panel-topline { border-color:#2a4b6d; }
.panel-kicker { color:#90e0e9; font-family:'VT323',monospace; font-size:16px; }
.attempt-label { color:#91aac4; font-family:'VT323',monospace; font-size:13px; }
.button { border-radius:3px; font-family:'VT323',monospace; font-size:16px; letter-spacing:.04em; box-shadow:0 3px 0 rgba(0,0,0,.28); }
.button-primary { color:#061a32; background:#82dce7; border-color:#bdf3f7; }
.button-primary:hover:not(:disabled) { color:#05182d; background:#b1eff1; }
.button-dark { color:#f0f8ff; background:#263b61; border:1px solid #496b91; }
.button-dark:hover:not(:disabled) { background:#34527c; }
.button-outline { color:#c4d9ed; border-color:#42648a; background:#102341; }
.button-outline:hover:not(:disabled) { color:#f4fbff; border-color:#82dce7; background:#1a3c60; }
.text-button,.mini-link { color:#88dce7; }
.text-button span,.quiet-note { color:#92acc4 !important; }
.date-stamp { border:1px solid #315477; border-radius:3px; background:linear-gradient(155deg,#17345a,#0e203f); box-shadow:0 4px 0 #050d1d; }
.date-stamp-label,.date-stamp-sub { color:#90adc7; }
.date-stamp strong { color:#effaff; font:23px 'VT323',monospace; }
.daily-idle { background:radial-gradient(ellipse at 25% 45%,rgba(70,130,169,.14),transparent 40%); }
.idle-orbit-ring { border-color:rgba(125,207,225,.33); }
.ring-b { border-color:rgba(241,192,113,.28); }
.idle-orbit-globe { background:linear-gradient(145deg,#214665,#0c2746); box-shadow:0 22px 45px rgba(0,0,0,.35),inset -12px -12px 28px rgba(0,0,0,.24); }
.idle-copy h2 { color:#eff8ff; font:38px 'VT323',monospace; letter-spacing:.015em; }
.idle-copy p { color:#a6bdd2; }
.daily-rules span { color:#a9c2d7; border:1px solid #2d5276; border-radius:3px; background:#0c1e3a; }
.daily-rules b { color:#8be0e9; }
.answer-form input,.auth-form input,.friend-add input,.code-input { color:#eaf5ff; border:1px solid #365a7f; border-radius:3px; background:#081a35; }
.answer-form input::placeholder,input::placeholder { color:#809bb5; }
.answer-form input:focus,.auth-form input:focus,.friend-add input:focus,.code-input:focus { border-color:#80dce7; box-shadow:0 0 0 3px rgba(128,220,231,.12); }
.question-count,.clock-face { color:#e8f5ff; }
.question-count .muted,.question-clock small { color:#829db8; }
.progress-segment { background:#243d60; }.progress-segment.done { background:#73d1dc; }.progress-segment.active { background:#f0bd70; }
.question-category,.result-stamp { color:#8be2eb; border:1px solid #35617c; border-radius:2px; background:#123653; }
.daily-question { color:#f1f8ff; }.question-note { color:#9cb4ca; }
.answer-feedback { color:#f09bb5; }.answer-feedback.success { color:#80dfc4; }
.question-tools { border-color:#2a4a6c; }
.hint-box { color:#d5e8f4; border-color:#486481; border-radius:3px; background:#172b48; }
.daily-result h2,.daily-complete h2,.daily-locked h2 { color:#eff8ff; font:39px 'VT323',monospace; }
.daily-result>p,.daily-complete>p,.daily-locked>p { color:#a4bad0; }
.result-score-line { background:#102746; border:1px solid #2d5275; border-radius:3px; }
.result-label { color:#92adc6; }.result-score-line>div:first-child strong,.result-points strong { color:#8cdeea; }.result-points span { color:#8ca8c1; }
.answer-sheet { padding:13px; border:1px solid #2c4f72; background:#0b1d38; }
.answer-sheet-heading { color:#e6f3ff; }.answer-sheet-heading span { color:#93adc6; }
.answer-chip { color:#bbd1e4; border-color:#315477; border-radius:2px; background:#142c4c; }.answer-chip b { color:#7fdae5; }
.complete-icon { color:#08203a; background:#83dce7; border-radius:3px; }
.complete-score strong { color:#eff9ff; }.complete-score span { color:#8ea9c3; }
.side-card h3 { color:#eef7ff; font:22px 'VT323',monospace; letter-spacing:.015em; }
.side-card p { color:#9eb5cc; }
.mini-rank-name { color:#d1e4f1; }.mini-rank-score { color:#8fe0e9; }.mini-rank-number { color:#8ba6c0; }
.ranking-foot { border-color:#294c70; color:#839fba; }
.how-list li { border-color:#294b6f; }.how-list li>span { color:#83dce7; }.how-list strong { color:#e6f3ff; }.how-list p { color:#99b1ca; }
.archive-card>p { color:#a1b6cc; }.archive-mark { color:#f0bd70; }
.archive-date { color:#b7cde0; border-color:#315477; border-radius:2px; background:#102442; }.archive-date:hover { color:#e7faff; border-color:#81dce7; }
.archive-loading { color:#8fa8c2; }
.streak-card { border-color:#6a573d; background:linear-gradient(150deg,#3a3040,#202744); }
.streak-symbol { color:#f3c16f; background:#4b3a41; border-radius:3px; }.streak-card strong { color:#f4f8ff; }.streak-card p { color:#b8a9a0; }
.ranking-tabs { border-color:#2a4b6e; }.ranking-tab { color:#98b1ca; border-radius:2px; font:16px 'VT323',monospace; }.ranking-tab.active { color:#061a33; background:#82dce7; }
.rankings-table { color:#e7f4ff; }.ranking-row { border-color:#29496b; }.ranking-row.header { color:#8eaac4; }
.ranking-row .rank-number { color:#93acc5; }.ranking-row .rank-player { color:#e3f1fb; }
.rank-player-avatar { color:#081b33; background:#7edbe6; border-radius:2px; }
.ranking-row>span:nth-last-child(-n+2) { color:#a8bfd3; }.rankings-note-grid p { color:#9cb4ca; }
.site-footer { border-color:#29496b; color:#8da7c1; }.footer-brand { color:#eef7ff; }
.footer-links button,.footer-links a { color:#9eb5ca; font:15px 'VT323',monospace; }.footer-links button:hover,.footer-links a:hover { color:#82dce7; }
.modal { color:#e8f4ff; border:1px solid #34587d; border-radius:3px; background:linear-gradient(155deg,#172e53,#0b1b36); box-shadow:0 30px 100px rgba(0,0,0,.6); }
.modal::backdrop { background:rgba(2,8,21,.78); backdrop-filter:blur(7px); }
.modal-head { border-color:#315273; }.modal-head h2 { color:#f0f8ff; font:29px 'VT323',monospace; }
.modal-close { color:#b7ccde; border-color:#35587a; border-radius:2px; background:#102443; }
.auth-tabs { background:#0a1c37; border:1px solid #294d70; border-radius:3px; }
.auth-tab { color:#98b2ca; border-radius:2px; font:16px 'VT323',monospace; }.auth-tab.active { color:#081a33; background:#80dbe7; box-shadow:none; }
.auth-form label { color:#a4bbd0; }.modal-note { color:#8da8c1; }.modal-feedback { color:#f2a1b8; }
.profile-avatar { color:#071c35; background:#80dbe7; border-radius:3px; }.profile-summary span { color:#9cb4c9; }
.profile-stats div,.admin-stat-grid div { background:#0c203d; border:1px solid #294d70; border-radius:3px; }
.profile-stats span,.admin-stat-grid span { color:#93acc5; }.profile-stats b,.admin-stat-grid b { color:#e6f3ff; }
.archive-modal-list .archive-date { font:15px 'VT323',monospace; }
.practice-question { border-color:#2d4e70; }.practice-question strong { color:#e8f4ff; }.practice-question p { color:#9db4c9; }.practice-question small { color:#83dce7; }
.setting-row { border-color:#2e5072; }.setting-row strong { color:#e8f5ff; }.setting-row small { color:#94adc5; }.setting-row input { accent-color:#7bd9e6; }
.admin-queue-item { border-color:#2e5072; }.admin-queue-item strong { color:#e8f4ff; }.admin-queue-item small { color:#9bb2c9; }
.admin-queue-actions button { color:#c7dcec; border-color:#3a5c7f; border-radius:2px; background:#112846; }
.friends-modal .friend-row { color:#e1eff8; border-color:#2f5072; }.friend-row button { color:#82dce7; }
.toast { border:1px solid #426b8d; border-radius:3px; background:#122c4a; color:#f0faff; box-shadow:0 12px 35px rgba(0,0,0,.4); }
.skeleton-row { background:linear-gradient(90deg,#142a49,#203b60,#142a49); background-size:200% 100%; }

/* Live Globe Rush match — same orbital world as the lobby */
body.globe-rush-active .party-room { border-color:#2d527a; background:linear-gradient(155deg,#132a4d,#08172f); }
.rush-game-header { align-items:center; padding:11px 12px 15px; border-bottom:1px solid #2b4d72; }
.rush-round-label { color:#8ddce6; font:14px 'VT323',monospace; letter-spacing:.15em; }
body.globe-rush-active .rush-game-header h2 { color:#f0f8ff; margin:8px 0 5px; font:clamp(27px,3vw,38px)/1.12 'VT323',monospace; letter-spacing:.02em; text-shadow:2px 2px 0 #264c7b; }
body.globe-rush-active .rush-game-header p { color:#a1bad1; font:14px 'VT323',monospace; }
body.globe-rush-active .rush-timer { min-width:112px; padding:10px 12px; color:#94e5ed; border:1px solid #42698e; border-radius:3px; background:#0a1d39; box-shadow:0 4px 0 #040d1e; }
body.globe-rush-active .rush-timer strong { color:#91e7ef; font:38px 'VT323',monospace; line-height:1; }
body.globe-rush-active .rush-timer>span { color:#9db9d1; font:12px 'VT323',monospace; letter-spacing:.12em; }
body.globe-rush-active .rush-timer-track { height:6px; background:#203d60; border-radius:1px; }
body.globe-rush-active .rush-timer-track span { background:linear-gradient(90deg,#84dfeb,#f0bf73); border-radius:1px; }
body.globe-rush-active .rush-timer.urgent { color:#ffc0c9; border-color:#a95b85; background:#311f3e; }
body.globe-rush-active .rush-timer.urgent strong { color:#ffaabb; }
body.globe-rush-active .category-cycle { gap:14px; padding:12px 14px; border:1px solid #2d5276; border-radius:3px; background:linear-gradient(150deg,#132a4a,#0b1d38); }
body.globe-rush-active .category-cycle-stat>span { color:#9bb7cf; font:12px 'VT323',monospace; letter-spacing:.1em; }
body.globe-rush-active .category-cycle-stat>b { color:#e7f7ff; font:15px 'VT323',monospace; }
body.globe-rush-active .category-cycle-stat>i { height:6px; border-radius:1px; background:#203d60; }
body.globe-rush-active .category-cycle-stat>i>span { background:linear-gradient(90deg,#79d9e6,#f1bf73); border-radius:1px; }
body.globe-rush-active .orb-stage {
 isolation:isolate; display:grid; place-items:center; min-height:390px; margin:14px 0 12px; overflow:hidden;
 border:1px solid #2d5276; border-radius:3px;
 background:radial-gradient(ellipse at 50% 57%,rgba(49,120,170,.32),transparent 45%),linear-gradient(150deg,#091a36,#142c53 58%,#09182f);
 box-shadow:inset 0 0 65px rgba(0,0,0,.32),0 4px 0 #050d1d;
}
.rush-stage-stars { position:absolute; z-index:0; inset:0; pointer-events:none; opacity:.65; background-image:radial-gradient(2px 2px at 13% 19%,#e7fbff 50%,transparent),radial-gradient(1px 1px at 29% 73%,#e7fbff 50%,transparent),radial-gradient(1.5px 1.5px at 74% 20%,#e7fbff 50%,transparent),radial-gradient(1px 1px at 89% 57%,#e7fbff 50%,transparent); background-size:183px 139px,211px 171px,257px 193px,227px 181px; }
.rush-stage-nebula { position:absolute; z-index:0; width:34%; height:38%; border-radius:50%; filter:blur(32px); opacity:.2; pointer-events:none; }
.rush-nebula-left { left:1%; top:31%; background:#4b9bcb; }.rush-nebula-right { right:1%; top:22%; background:#986dbd; }
.rush-stage-orbit { position:absolute; z-index:1; left:50%; top:49%; border:1px solid rgba(130,208,237,.3); border-radius:50%; transform:translate(-50%,-50%); pointer-events:none; }
.rush-orbit-one { width:440px; height:150px; transform:translate(-50%,-50%) rotate(-19deg); }
.rush-orbit-two { width:360px; height:250px; transform:translate(-50%,-50%) rotate(48deg); border-color:rgba(242,196,121,.24); }
.rush-orbit-three { width:560px; height:210px; transform:translate(-50%,-50%) rotate(7deg); border-style:dashed; border-color:rgba(138,171,223,.19); }
.rush-stage-moon { position:absolute; z-index:2; border-radius:50%; background:radial-gradient(circle at 31% 25%,#f3f0d9,#9caec0 70%,#556984); box-shadow:0 0 19px rgba(212,232,246,.18); }
.rush-moon-one { width:31px; height:31px; left:17%; top:35%; }.rush-moon-two { width:17px; height:17px; right:18%; top:24%; }
.rush-stage-satellite { position:absolute; z-index:3; width:27px; height:15px; background:#e7bb73; border:1px solid #fff0bd; box-shadow:0 0 12px rgba(240,195,115,.28); }
.rush-stage-satellite::before,.rush-stage-satellite::after { content:""; position:absolute; top:3px; width:16px; height:8px; background:#648eb9; border:1px solid #a8d7eb; }
.rush-stage-satellite::before { right:100%; }.rush-stage-satellite::after { left:100%; }
.rush-stage-satellite i { position:absolute; width:4px; height:4px; left:10px; bottom:-5px; background:#effcff; border-radius:50%; }
.rush-satellite-one { left:23%; top:21%; transform:rotate(-18deg); }.rush-satellite-two { right:23%; bottom:23%; transform:scale(.72) rotate(21deg); }
.rush-stage-island { position:absolute; z-index:2; height:29px; background:linear-gradient(180deg,#8abd88 0 22%,#b09b6e 23% 100%); box-shadow:inset 0 -7px #586d5a,0 8px 9px rgba(0,0,0,.24); clip-path:polygon(0 65%,17% 23%,39% 34%,57% 0,81% 26%,100% 67%,84% 100%,10% 100%); }
.rush-island-left { left:8%; bottom:18%; width:112px; transform:rotate(-7deg); }.rush-island-right { right:8%; bottom:20%; width:96px; transform:rotate(8deg); }
body.globe-rush-active .orb-stage::before { content:""; position:absolute; z-index:2; left:50%; bottom:28px; width:250px; height:56px; border:1px solid rgba(149,208,224,.3); border-radius:50%; background:linear-gradient(180deg,rgba(76,128,153,.8),rgba(24,58,91,.9)); box-shadow:0 12px 22px rgba(0,0,0,.28),inset 0 5px 7px rgba(255,255,255,.12); transform:translateX(-50%); }
body.globe-rush-active .orb-stage::after { content:""; position:absolute; z-index:2; left:50%; bottom:25px; width:170px; height:16px; border-radius:50%; background:rgba(3,12,27,.5); filter:blur(10px); transform:translateX(-50%); }
body.globe-rush-active .orb-stage-halo { z-index:3; width:230px; height:230px; background:radial-gradient(circle,rgba(81,181,221,.24),rgba(75,119,193,.09) 56%,transparent 72%); filter:blur(15px); }
body.globe-rush-active .stage-ring { z-index:4; width:340px; height:128px; border-color:rgba(146,214,236,.39); }
body.globe-rush-active .stage-ring-a { transform:rotate(-22deg); }
body.globe-rush-active .stage-ring-b { width:288px; height:210px; transform:rotate(49deg); border-color:rgba(243,197,120,.25); }
body.globe-rush-active .stage-orb { position:relative; z-index:6; width:178px; height:178px; box-shadow:0 0 0 6px rgba(151,213,234,.08),0 0 0 13px rgba(151,213,234,.035),0 0 48px rgba(73,174,221,.28),inset -18px -20px 30px rgba(0,0,0,.35); transform:translateY(-11px); }
.rush-stage-kicker { position:absolute; z-index:7; top:16px; left:0; right:0; text-align:center; color:#91cce0; font:13px 'VT323',monospace; letter-spacing:.22em; }
body.globe-rush-active .orb-holder-label { z-index:8; bottom:31px; color:#d5e9f7; font:14px 'VT323',monospace; letter-spacing:.11em; text-shadow:1px 2px #06152c; }
.rush-stage-footer { position:absolute; z-index:8; right:12px; bottom:8px; color:#82a8c2; font:11px 'VT323',monospace; letter-spacing:.15em; opacity:.8; }
body.globe-rush-active .rush-answer-area { max-width:720px; margin:16px auto 0; }
body.globe-rush-active .rush-answer-area .answer-form { padding:9px; border:1px solid #31577b; background:#0d2140; box-shadow:0 4px 0 #050d1c; }
body.globe-rush-active .rush-answer-area .answer-form input { border:1px solid #34597d; border-radius:2px; background:#07172f; color:#eef8ff; font:17px 'VT323',monospace; }
body.globe-rush-active .rush-answer-area .answer-form input::placeholder { color:#7895b2; }
body.globe-rush-active .rush-answer-area .answer-form .button { min-width:150px; border-radius:2px; }
body.globe-rush-active .rush-feedback { min-height:25px; padding:7px 4px; color:#b5cbdf; font:14px 'VT323',monospace; }
body.globe-rush-active .rush-bottom-grid { grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:13px; margin-top:18px; padding-top:15px; border-color:#2b4d70; }
body.globe-rush-active .used-answers,body.globe-rush-active .rush-players { min-width:0; padding:13px; border:1px solid #2e5275; border-radius:3px; background:linear-gradient(155deg,#142d50,#0a1c37); }
body.globe-rush-active .used-answers>.micro-label,body.globe-rush-active .rush-players>.micro-label { margin-bottom:10px; color:#89d9e5; font:13px 'VT323',monospace; letter-spacing:.12em; }
body.globe-rush-active .used-answer-chip { color:#c8dfec; border:1px solid #355a7c; border-radius:2px; background:#1b385b; font:13px 'VT323',monospace; }
body.globe-rush-active .empty-used { color:#8ea9c1; font:13px 'VT323',monospace; }
body.globe-rush-active .rush-player-row { grid-template-columns:minmax(0,1fr) auto auto; gap:8px; padding:8px 9px; border:1px solid #2d4e70; border-radius:2px; color:#d7e8f5; background:#0b203d; font-family:'VT323',monospace; }
body.globe-rush-active .rush-player-row.current { color:#ffe1a2; border-color:#bd9252; background:linear-gradient(90deg,rgba(140,101,50,.3),rgba(17,43,68,.85)); box-shadow:inset 3px 0 #f3c16f; }
body.globe-rush-active .rush-player-row.out { opacity:.42; }
body.globe-rush-active .rush-player-name>b { color:#edf7ff; font:16px 'VT323',monospace; }
body.globe-rush-active .rush-player-name small { color:#8eaac2; font:12px 'VT323',monospace; }
body.globe-rush-active .rush-player-hearts { color:#f08eb1; font-size:13px; letter-spacing:.07em; }
body.globe-rush-active .rush-player-score { color:#8de0e9; font:15px 'VT323',monospace; }
body.globe-rush-active .room-results-state { position:relative; overflow:hidden; min-height:420px; padding:25px 28px; border:1px solid #31577c; border-radius:3px; background:radial-gradient(ellipse at 50% 0%,rgba(64,126,177,.23),transparent 45%),linear-gradient(155deg,#152e53,#091a34); text-align:center; }
body.globe-rush-active .room-results-state .eyebrow { justify-content:center; font:13px 'VT323',monospace; letter-spacing:.17em; }
body.globe-rush-active .room-results-state h2 { position:relative; z-index:2; margin:4px 0 7px; color:#eff8ff; font:35px 'VT323',monospace; }
body.globe-rush-active .room-results-state>p { position:relative; z-index:2; color:#a3bbd1; font:14px 'VT323',monospace; }
.results-orbit-scene { position:relative; display:grid; place-items:center; width:190px; height:145px; margin:0 auto 5px; }
.results-earth { width:92px; height:92px; overflow:hidden; border-radius:50%; background:#145779; box-shadow:0 0 0 6px rgba(136,211,232,.08),0 0 34px rgba(72,162,211,.25); }
.results-earth svg { width:100%; height:100%; display:block; }
.results-orbit-ring { position:absolute; border:1px solid rgba(131,208,232,.33); border-radius:50%; }
.results-ring-a { width:180px; height:65px; transform:rotate(-20deg); }.results-ring-b { width:145px; height:120px; transform:rotate(45deg); border-color:rgba(240,190,112,.25); }
.results-spark { position:absolute; width:4px; height:4px; border-radius:50%; background:#f2c16f; box-shadow:0 0 12px #f2c16f; }
.spark-one { top:23px; left:35px; }.spark-two { right:22px; top:53px; }.spark-three { bottom:16px; left:49px; }
body.globe-rush-active .final-ranking { position:relative; z-index:2; display:grid; gap:7px; max-width:640px; margin:19px auto; text-align:left; }
body.globe-rush-active .final-ranking-row { border:1px solid #315579; border-radius:2px; color:#e5f4ff; background:linear-gradient(90deg,#183556,#102440); }
body.globe-rush-active .final-ranking-row.winner { border-color:#b98d4e; background:linear-gradient(90deg,#443c3b,#1d3452); }
body.globe-rush-active .final-ranking-row strong { color:#eef8ff; }
body.globe-rush-active .final-ranking-row b { color:#8de0e8; }
body.globe-rush-active .final-ranking-row small { color:#f09ab2; }
body.globe-rush-active .room-results-state .button { position:relative; z-index:2; min-width:180px; border-radius:2px; }

@media(max-width:820px) {
 .daily-grid,.party-lobby { grid-template-columns:1fr; }
 .daily-sidebar,.party-sidebar { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .party-sidebar .party-ranking-card { grid-column:1/-1; }
 .rush-game-header { align-items:flex-start; }
 .orb-stage { min-height:350px; }
}
@media(max-width:600px) {
 .main-nav { order:3; width:100%; margin:4px 0 0; justify-content:center; border-top:1px solid #294a6d; padding-top:7px; }
 .nav-item { flex:1; padding:7px 4px; font-size:16px; }
 .view { padding-top:28px; padding-bottom:48px; }
 h1 { font-size:clamp(29px,8vw,42px); }
 .page-intro { min-height:0; display:block; padding-bottom:22px; }
 .daily-sidebar,.party-sidebar { grid-template-columns:1fr; }
 .party-sidebar .party-ranking-card { grid-column:auto; }
 .daily-idle { display:flex; flex-direction:column; gap:20px; padding:26px 4px; }
 .idle-orbit { width:min(65vw,220px); }.idle-copy { max-width:none; text-align:center; }.idle-copy h2 { font-size:32px; }.daily-rules { justify-content:center; }
 .side-card,.rankings-panel { padding:15px; }
 .ranking-row { grid-template-columns:30px minmax(0,1fr) 66px 58px; gap:5px; }
 .site-footer { align-items:flex-start; flex-wrap:wrap; padding:17px 0; }.footer-links { flex-wrap:wrap; gap:10px 15px; }
 .rush-game-header { gap:9px; }
 body.globe-rush-active .rush-timer { min-width:76px; padding:8px; }
 body.globe-rush-active .rush-timer strong { font-size:31px; }
 body.globe-rush-active .rush-timer>span { font-size:10px; }
 .category-cycle { grid-template-columns:1fr; }
 .orb-stage { min-height:315px; }
 .rush-orbit-one { width:300px; height:120px; }.rush-orbit-two { width:260px; height:185px; }.rush-orbit-three { width:365px; height:155px; }
 .rush-stage-moon { transform:scale(.72); }.rush-stage-satellite { transform:scale(.7); }
 body.globe-rush-active .stage-ring { width:275px; height:104px; }
 body.globe-rush-active .stage-ring-b { width:235px; height:172px; }
 body.globe-rush-active .stage-orb { width:134px; height:134px; }
 .rush-stage-kicker { top:12px; font-size:11px; }
 body.globe-rush-active .orb-holder-label { bottom:27px; font-size:12px; }
 .rush-stage-footer { font-size:9px; }
 body.globe-rush-active .rush-bottom-grid { grid-template-columns:1fr; }
 body.globe-rush-active .rush-answer-area .answer-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px; }
 body.globe-rush-active .rush-answer-area .answer-form .button { min-width:95px; padding:0 9px; font-size:13px; }
 .results-orbit-scene { width:160px; height:120px; }.results-earth { width:78px; height:78px; }.results-ring-a { width:150px; height:55px; }.results-ring-b { width:120px; height:96px; }
 .room-results-state { padding:17px 12px; }
 .final-ranking-row { grid-template-columns:23px minmax(0,1fr) auto auto; gap:7px; padding:9px; font-size:9px; }
}


/* Globe Rush selection screen — final orbital skin */
body.globe-rush-active #party-lobby .party-play-panel {
  color:#e8f5ff !important;
  border:1px solid #31577b !important;
  border-radius:3px !important;
  background:
    radial-gradient(ellipse at 14% 0%,rgba(65,128,180,.18),transparent 38%),
    linear-gradient(155deg,rgba(19,43,77,.99),rgba(7,19,39,.99)) !important;
  box-shadow:0 5px 0 #050c1b,inset 0 1px 0 rgba(180,216,244,.08) !important;
}
body.globe-rush-active #party-lobby .display-name-row {
  border:1px solid #3a6086 !important;
  border-radius:2px !important;
  background:linear-gradient(90deg,#0b1d38,#102848) !important;
  box-shadow:inset 0 1px 0 rgba(171,218,244,.05) !important;
}
body.globe-rush-active #party-lobby .display-name-row label,
body.globe-rush-active #party-lobby .field-label {
  color:#9fc1d9 !important;
  font:13px 'VT323',monospace !important;
  letter-spacing:.11em !important;
}
body.globe-rush-active #party-lobby .display-name-row input {
  color:#f0f8ff !important;
  background:transparent !important;
  font:17px 'VT323',monospace !important;
}
body.globe-rush-active #party-lobby .display-name-row input::placeholder {
  color:#7896b3 !important;
}
body.globe-rush-active #party-lobby .mode-card {
  position:relative;
  overflow:hidden;
  color:#e8f5ff !important;
  border:1px solid #3a638a !important;
  border-radius:3px !important;
  background:
    radial-gradient(ellipse at 100% 0%,rgba(69,153,196,.15),transparent 46%),
    linear-gradient(155deg,#19385e 0%,#102746 58%,#0b1c37 100%) !important;
  box-shadow:inset 0 1px 0 rgba(186,222,245,.09),0 3px 0 #050d1c !important;
}
body.globe-rush-active #party-lobby .ranked-card {
  border-color:#67583f !important;
  background:
    radial-gradient(ellipse at 100% 0%,rgba(235,182,104,.13),transparent 46%),
    linear-gradient(155deg,#263653 0%,#182b49 58%,#101f39 100%) !important;
}
body.globe-rush-active #party-lobby .mode-card::after {
  content:"";
  position:absolute;
  top:-32px;
  right:-32px;
  width:112px;
  height:112px;
  border:1px solid rgba(125,205,230,.12);
  border-radius:50%;
  box-shadow:0 0 0 11px rgba(125,205,230,.025),0 0 0 23px rgba(125,205,230,.018);
  pointer-events:none;
}
body.globe-rush-active #party-lobby .ranked-card::after {
  border-color:rgba(240,193,116,.16);
  box-shadow:0 0 0 11px rgba(240,193,116,.03),0 0 0 23px rgba(240,193,116,.02);
}
body.globe-rush-active #party-lobby .mode-card .mode-icon {
  position:relative;
  z-index:1;
  border:1px solid rgba(165,224,239,.32) !important;
  border-radius:2px !important;
  color:#08203a !important;
  background:linear-gradient(145deg,#a5edf0,#5fc3d6) !important;
  box-shadow:0 0 17px rgba(91,202,223,.16) !important;
}
body.globe-rush-active #party-lobby .ranked-card .mode-icon {
  color:#352313 !important;
  border-color:rgba(247,210,150,.42) !important;
  background:linear-gradient(145deg,#ffe0a0,#d69a53) !important;
  box-shadow:0 0 17px rgba(237,179,98,.14) !important;
}
body.globe-rush-active #party-lobby .mode-card .micro-label {
  position:relative;
  z-index:1;
  color:#87d9e7 !important;
  font:12px 'VT323',monospace !important;
  letter-spacing:.1em !important;
}
body.globe-rush-active #party-lobby .ranked-card .micro-label {
  color:#edc17e !important;
}
body.globe-rush-active #party-lobby .mode-card h2 {
  position:relative;
  z-index:1;
  color:#f1f8ff !important;
  font:24px 'VT323',monospace !important;
  letter-spacing:.035em !important;
  text-shadow:1px 2px 0 rgba(2,12,29,.38);
}
body.globe-rush-active #party-lobby .mode-card p {
  position:relative;
  z-index:1;
  color:#afc4d8 !important;
  font-size:11px !important;
  line-height:1.6 !important;
}
body.globe-rush-active #party-lobby .mode-card .select-input,
body.globe-rush-active #party-lobby .room-tool .select-input,
body.globe-rush-active #party-lobby .room-tool .code-input {
  color:#eef8ff !important;
  border:1px solid #42688c !important;
  border-radius:2px !important;
  background:#081a34 !important;
  box-shadow:inset 0 1px 4px rgba(0,0,0,.26) !important;
  font:14px 'VT323',monospace !important;
}
body.globe-rush-active #party-lobby .mode-card .select-input option,
body.globe-rush-active #party-lobby .room-tool .select-input option {
  color:#eef8ff !important;
  background:#081a34 !important;
}
body.globe-rush-active #party-lobby .mode-card .button,
body.globe-rush-active #party-lobby .room-tool .button {
  position:relative;
  z-index:1;
  border-radius:2px !important;
  font:17px 'VT323',monospace !important;
  letter-spacing:.05em !important;
}
body.globe-rush-active #party-lobby .mode-card .button-primary {
  color:#071d34 !important;
  border:1px solid #b9f1f3 !important;
  background:linear-gradient(180deg,#9beaf0,#69c9dc) !important;
  box-shadow:0 3px 0 #235b7d,0 0 16px rgba(101,208,226,.13) !important;
}
body.globe-rush-active #party-lobby .mode-card .button-dark {
  color:#f1f8ff !important;
  border:1px solid #57799b !important;
  background:linear-gradient(180deg,#34577d,#203b60) !important;
  box-shadow:0 3px 0 #09172b !important;
}
body.globe-rush-active #party-lobby .mode-footnote {
  color:#93adc6 !important;
  font:12px 'VT323',monospace !important;
  letter-spacing:.025em;
}
body.globe-rush-active #party-lobby .room-tool {
  color:#e7f4ff !important;
  border:1px solid #365d83 !important;
  border-radius:3px !important;
  background:
    radial-gradient(ellipse at 100% 0%,rgba(81,153,192,.1),transparent 52%),
    linear-gradient(155deg,#173457,#0d203d) !important;
  box-shadow:inset 0 1px 0 rgba(186,222,245,.06) !important;
}
body.globe-rush-active #party-lobby .room-tool strong {
  color:#f0f8ff !important;
  font:18px 'VT323',monospace !important;
  letter-spacing:.025em;
}
body.globe-rush-active #party-lobby .room-tool p {
  color:#a1bad1 !important;
  font-size:10px !important;
  line-height:1.5;
}
body.globe-rush-active #party-lobby .room-tool-icon {
  color:#08203a !important;
  border:1px solid rgba(170,224,239,.35) !important;
  border-radius:2px !important;
  background:linear-gradient(145deg,#a2e8ee,#5cbdd0) !important;
  box-shadow:0 0 13px rgba(95,194,218,.12);
}
body.globe-rush-active #party-lobby .room-tool .code-input::placeholder {
  color:#7897b4 !important;
}
body.globe-rush-active #party-lobby .room-tool .code-input:focus,
body.globe-rush-active #party-lobby .room-tool .select-input:focus,
body.globe-rush-active #party-lobby .mode-card .select-input:focus {
  outline:0;
  border-color:#87e0eb !important;
  box-shadow:0 0 0 3px rgba(115,211,229,.13) !important;
}
@media(max-width:600px) {
  body.globe-rush-active #party-lobby .mode-card { padding:16px !important; }
  body.globe-rush-active #party-lobby .room-tool { padding:12px !important; }
}

/* Globe Rush countdown pressure, category announcements and Atlas Orb burst */
body.globe-rush-active .orb-stage .stage-orb {
  transform:translateY(-11px) scale(var(--orb-scale,1));
  transform-origin:50% 50%;
  transition:transform .24s cubic-bezier(.2,.8,.2,1),filter .24s ease,box-shadow .24s ease;
  will-change:transform;
}
body.globe-rush-active .orb-stage.pressure .stage-orb {
  filter:saturate(1.12) drop-shadow(0 0 12px rgba(109,222,238,.35));
}
body.globe-rush-active .orb-stage.warning .stage-orb {
  filter:saturate(1.22) drop-shadow(0 0 19px rgba(244,188,111,.42));
}
body.globe-rush-active .orb-stage.critical .stage-orb {
  animation:orb-countdown-rattle .115s linear infinite;
  filter:saturate(1.3) brightness(1.08) drop-shadow(0 0 24px rgba(255,164,108,.66));
}
body.globe-rush-active .orb-stage.warning .orb-stage-halo {
  filter:blur(18px) brightness(1.4);
  background:radial-gradient(circle,rgba(255,166,103,.36),rgba(80,151,209,.16) 58%,transparent 74%);
}
body.globe-rush-active .rush-timer.urgent {
  border-color:#e7a765;
  box-shadow:0 0 0 3px rgba(239,171,103,.12),0 0 22px rgba(239,171,103,.17);
}
body.globe-rush-active .rush-timer.urgent strong {
  color:#ffd39a;
  text-shadow:0 0 15px rgba(255,176,105,.36);
}
@keyframes orb-countdown-rattle {
  0%,100% { transform:translate(-1px,-11px) scale(var(--orb-scale,1)) rotate(-.7deg); }
  25% { transform:translate(2px,-10px) scale(var(--orb-scale,1)) rotate(.8deg); }
  50% { transform:translate(-2px,-12px) scale(var(--orb-scale,1)) rotate(-.9deg); }
  75% { transform:translate(1px,-11px) scale(var(--orb-scale,1)) rotate(.9deg); }
}

.category-announcement[hidden] { display:none !important; }
body.globe-rush-active .category-announcement {
  position:absolute;
  z-index:18;
  top:13px;
  left:50%;
  display:grid;
  justify-items:center;
  gap:1px;
  width:min(430px,calc(100% - 28px));
  padding:9px 16px 10px;
  overflow:hidden;
  border:1px solid rgba(137,221,237,.66);
  border-radius:3px;
  color:#f4fbff;
  text-align:center;
  pointer-events:none;
  background:
    radial-gradient(ellipse at 50% 0%,rgba(100,195,222,.25),transparent 65%),
    linear-gradient(155deg,rgba(20,54,86,.97),rgba(7,21,43,.97));
  box-shadow:0 5px 0 rgba(3,11,25,.62),0 0 25px rgba(92,194,222,.18),inset 0 1px 0 rgba(227,248,255,.13);
  opacity:0;
  transform:translate(-50%,-12px) scale(.94);
}
body.globe-rush-active .category-announcement.visible {
  animation:category-arrival 3.5s cubic-bezier(.2,.75,.2,1) both;
}
body.globe-rush-active .category-announcement > span {
  color:#8ee2ed;
  font:13px 'VT323',monospace;
  letter-spacing:.18em;
}
body.globe-rush-active .category-announcement > strong {
  color:#f6fcff;
  font:28px 'VT323',monospace;
  letter-spacing:.08em;
  line-height:1;
  text-shadow:0 2px 0 #102a49,0 0 16px rgba(128,223,237,.28);
}
body.globe-rush-active .category-announcement > p {
  max-width:100%;
  margin:2px 0 0;
  color:#ffdc9d;
  font:18px 'VT323',monospace;
  line-height:1.1;
  overflow-wrap:anywhere;
}
body.globe-rush-active .category-announcement > small {
  color:#b1c9dc;
  font:12px 'VT323',monospace;
  letter-spacing:.025em;
}
body.globe-rush-active .orb-stage.category-shift .rush-stage-kicker {
  opacity:0;
  transition:opacity .2s ease;
}
@keyframes category-arrival {
  0% { opacity:0; transform:translate(-50%,-13px) scale(.94); }
  12%,72% { opacity:1; transform:translate(-50%,0) scale(1); }
  100% { opacity:0; transform:translate(-50%,-5px) scale(.98); }
}

.orb-explosion { position:absolute; z-index:15; inset:0; display:none; overflow:hidden; pointer-events:none; }
body.globe-rush-active .orb-stage.overload {
  background:
    radial-gradient(ellipse at 50% 48%,rgba(255,194,125,.34),transparent 43%),
    radial-gradient(ellipse at 50% 57%,rgba(53,142,194,.24),transparent 57%),
    linear-gradient(150deg,#091a36,#142c53 58%,#09182f);
}
body.globe-rush-active .orb-stage.overload .orb-explosion { display:block; }
body.globe-rush-active .orb-stage.overload .stage-orb {
  animation:orb-core-burst 1.16s cubic-bezier(.12,.66,.2,1) both;
  filter:brightness(1.3) saturate(1.25);
}
body.globe-rush-active .orb-explosion::before {
  content:"";
  position:absolute;
  z-index:1;
  top:49%;
  left:50%;
  width:110px;
  height:110px;
  border:5px solid rgba(179,244,255,.95);
  border-radius:50%;
  box-shadow:0 0 18px rgba(116,222,245,.92),inset 0 0 22px rgba(120,222,241,.36);
  transform:translate(-50%,-50%) scale(.08);
  opacity:0;
  animation:orb-shockwave .92s cubic-bezier(.1,.65,.2,1) .06s both;
}
body.globe-rush-active .orb-explosion::after {
  content:"";
  position:absolute;
  top:49%;
  left:50%;
  width:190px;
  height:190px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,236,.96) 0%,rgba(255,194,123,.75) 15%,rgba(105,202,231,.23) 48%,transparent 72%);
  transform:translate(-50%,-50%) scale(.1);
  opacity:0;
  animation:orb-flash .72s ease-out both;
}
body.globe-rush-active .orb-explosion > i {
  position:absolute;
  z-index:2;
  top:49%;
  left:50%;
  width:13px;
  height:13px;
  border:1px solid rgba(255,239,194,.95);
  background:linear-gradient(145deg,#fff2b5,#eaa05f 58%,#75cce0);
  box-shadow:0 0 13px rgba(255,205,139,.62);
  opacity:0;
  transform:translate(-50%,-50%) scale(.1);
  animation:orb-fragment-fly .94s cubic-bezier(.15,.7,.22,1) .08s both;
}
body.globe-rush-active .orb-explosion > i:nth-child(1) { --burst-x:-154px; --burst-y:-82px; }
body.globe-rush-active .orb-explosion > i:nth-child(2) { --burst-x:-90px; --burst-y:-132px; width:9px;height:9px; }
body.globe-rush-active .orb-explosion > i:nth-child(3) { --burst-x:8px; --burst-y:-156px; }
body.globe-rush-active .orb-explosion > i:nth-child(4) { --burst-x:135px; --burst-y:-103px; width:10px;height:10px; }
body.globe-rush-active .orb-explosion > i:nth-child(5) { --burst-x:160px; --burst-y:7px; }
body.globe-rush-active .orb-explosion > i:nth-child(6) { --burst-x:84px; --burst-y:132px; width:8px;height:8px; }
body.globe-rush-active .orb-explosion > i:nth-child(7) { --burst-x:-36px; --burst-y:145px; }
body.globe-rush-active .orb-explosion > i:nth-child(8) { --burst-x:-148px; --burst-y:72px; width:9px;height:9px; }
@keyframes orb-core-burst {
  0% { opacity:1; transform:translateY(-11px) scale(var(--orb-scale,1)); filter:brightness(1.2); }
  27% { opacity:1; transform:translateY(-11px) scale(1.62); filter:brightness(2.2) saturate(1.4); }
  48% { opacity:.94; transform:translateY(-11px) scale(1.92); filter:brightness(3.2) saturate(1.6); }
  100% { opacity:0; transform:translateY(-11px) scale(.18); filter:brightness(3.8); }
}
@keyframes orb-shockwave {
  0% { opacity:0; transform:translate(-50%,-50%) scale(.08); }
  18% { opacity:1; }
  100% { opacity:0; transform:translate(-50%,-50%) scale(2.6); }
}
@keyframes orb-flash {
  0% { opacity:0; transform:translate(-50%,-50%) scale(.1); }
  17% { opacity:1; }
  100% { opacity:0; transform:translate(-50%,-50%) scale(2.25); }
}
@keyframes orb-fragment-fly {
  0% { opacity:0; transform:translate(-50%,-50%) scale(.1) rotate(0); }
  20% { opacity:1; }
  100% { opacity:0; transform:translate(calc(-50% + var(--burst-x)),calc(-50% + var(--burst-y))) scale(.45) rotate(240deg); }
}
@media(max-width:600px) {
  body.globe-rush-active .category-announcement {
    top:10px;
    width:calc(100% - 22px);
    padding:8px 11px;
  }
  body.globe-rush-active .category-announcement > strong { font-size:24px; }
  body.globe-rush-active .category-announcement > p { font-size:16px; }
  body.globe-rush-active .category-announcement > small { font-size:11px; }
}
@media(prefers-reduced-motion:reduce) {
  body.globe-rush-active .orb-stage.critical .stage-orb,
  body.globe-rush-active .orb-stage.overload .stage-orb { animation-duration:.01ms; animation-iteration-count:1; }
  body.globe-rush-active .category-announcement.visible { animation-duration:.01ms; }
  body.globe-rush-active .orb-explosion::before,
  body.globe-rush-active .orb-explosion::after,
  body.globe-rush-active .orb-explosion > i { animation-duration:.01ms; }
}


/* The original light-blue active tab now travels with the selected page. */
body.globe-rush-active .main-nav { position:relative;isolation:isolate; }
body.globe-rush-active .nav-active-indicator {
  position:absolute;z-index:0;top:0;left:0;display:block;width:0;height:100%;
  border-radius:3px;opacity:0;pointer-events:none;
  background:#81dbea;box-shadow:0 3px 0 #315f91;
  transform:translate3d(0,0,0);
  transition:transform .32s cubic-bezier(.22,.78,.24,1),width .32s cubic-bezier(.22,.78,.24,1),height .18s ease,opacity .12s ease;
  will-change:transform,width;
}
body.globe-rush-active .nav-active-indicator.ready { opacity:1; }
body.globe-rush-active .main-nav .nav-item { position:relative;z-index:1;background:transparent;transition:color .2s ease; }
body.globe-rush-active .main-nav .nav-item.active { color:#07162d;background:transparent !important;box-shadow:none !important; }
body.globe-rush-active .main-nav .nav-item:not(.active):hover { color:#fff;background:rgba(95,153,205,.13); }

/* Player markers and the three light bubbles make the current Orb holder visible around Earth. */
body.globe-rush-active .orb-player-field,
body.globe-rush-active .orb-player-stream { position:absolute;inset:0;pointer-events:none; }
body.globe-rush-active .orb-player-stream { z-index:7; }
body.globe-rush-active .orb-player-field { z-index:10; }
body.globe-rush-active .orb-player-marker {
  position:absolute;display:flex;align-items:center;gap:6px;
  width:clamp(88px,12%,128px);min-width:0;min-height:35px;padding:4px 6px;
  border:1px solid rgba(114,164,198,.55);border-radius:3px;
  color:#eaf5ff;background:linear-gradient(145deg,rgba(17,43,72,.97),rgba(7,23,44,.97));
  box-shadow:0 3px 0 rgba(2,10,24,.45),0 0 13px rgba(66,151,198,.12);
  transform:translate(-50%,-50%);
  transition:border-color .2s ease,background .2s ease,box-shadow .2s ease,opacity .2s ease;
}
body.globe-rush-active .orb-player-marker.is-holder {
  border-color:#efc078;background:linear-gradient(145deg,rgba(78,61,48,.98),rgba(22,43,67,.98));
  box-shadow:0 0 0 2px rgba(240,190,115,.12),0 0 20px rgba(240,183,106,.24);
}
body.globe-rush-active .orb-player-marker.is-out { opacity:.42;filter:saturate(.55); }
body.globe-rush-active .orb-player-avatar {
  display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;
  border:1px solid rgba(146,218,235,.65);border-radius:2px;
  color:#08213a;background:linear-gradient(145deg,#a4edf1,#63c6da);font:16px 'VT323',monospace;
}
body.globe-rush-active .orb-player-marker.is-holder .orb-player-avatar { border-color:#f4d29a;background:linear-gradient(145deg,#ffe2a6,#d5a15c); }
body.globe-rush-active .orb-player-copy { display:grid;min-width:0;gap:1px; }
body.globe-rush-active .orb-player-copy b { overflow:hidden;color:#f0f8ff;font:14px 'VT323',monospace;text-overflow:ellipsis;white-space:nowrap; }
body.globe-rush-active .orb-player-copy small { overflow:hidden;color:#92b3cc;font:10px 'VT323',monospace;letter-spacing:.025em;text-overflow:ellipsis;white-space:nowrap; }
body.globe-rush-active .orb-player-marker.is-holder .orb-player-copy small { color:#ffd092; }
body.globe-rush-active .orb-player-bubble {
  position:absolute;z-index:7;width:7px;height:7px;border-radius:50%;
  border:1px solid rgba(214,250,255,.9);background:#81dbea;
  box-shadow:0 0 7px rgba(104,218,239,.9),0 0 16px rgba(83,183,225,.55);
  transform:translate(-50%,-50%);animation:orb-player-bubble 1.15s ease-in-out infinite;
  animation-delay:var(--bubble-delay,0s);
}
@keyframes orb-player-bubble { 0%,100% { opacity:.45;scale:.72; } 50% { opacity:1;scale:1.18; } }

/* A slim remaining-time line sits directly above the existing Globe Rush answer field. */
body.globe-rush-active .rush-answer-time-track {
  height:4px;margin:0 0 7px;overflow:hidden;border:1px solid #31577b;
  border-radius:1px;background:#07172f;box-shadow:0 0 8px rgba(69,156,201,.12);
}
body.globe-rush-active .rush-answer-time-track > span {
  display:block;width:100%;height:100%;background:#81dbea;
  box-shadow:0 0 9px rgba(105,218,237,.55);transition:width .22s linear,background .18s ease;
}
body.globe-rush-active .rush-answer-time-track.urgent { border-color:#dba568; }
body.globe-rush-active .rush-answer-time-track.urgent > span { background:#f0bb72;box-shadow:0 0 10px rgba(240,187,114,.55); }
@media(max-width:600px) {
  body.globe-rush-active .orb-player-marker { width:clamp(76px,22vw,96px);min-height:32px;padding:3px 5px;gap:4px; }
  body.globe-rush-active .orb-player-avatar { flex-basis:19px;width:19px;height:19px;font-size:14px; }
  body.globe-rush-active .orb-player-copy b { font-size:12px; }
  body.globe-rush-active .orb-player-copy small { font-size:9px; }
}
@media(prefers-reduced-motion:reduce) { body.globe-rush-active .orb-player-bubble { animation:none;opacity:.85; } }


/* Globe Rush live presence and private room settings. */
.party-live-count {
  display:inline-flex;
  align-items:center;
  gap:9px;
  width:max-content;
  max-width:100%;
  margin:0 0 13px;
  padding:7px 11px;
  border:1px solid rgba(92,139,111,.23);
  border-radius:999px;
  color:#607266;
  background:rgba(255,255,250,.78);
  font:9px var(--font-mono);
  letter-spacing:.075em;
}
.party-live-count strong {
  color:var(--green-dark);
  font:600 15px var(--font-display);
  letter-spacing:-.03em;
  font-variant-numeric:tabular-nums;
}
.party-live-count > span:last-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.party-live-count .live-dot { flex:0 0 7px; }

.private-room-tool {
  grid-template-columns:34px minmax(0,1fr) auto;
  align-items:center;
}
.private-room-tool .private-tool-copy { min-width:0; }
.private-room-tool .private-tool-copy strong { white-space:nowrap; }
.private-room-tool .private-tool-options {
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:minmax(112px,.36fr) minmax(0,1fr);
  align-items:start;
  gap:10px;
  min-width:0;
}
.private-capacity-field {
  display:grid;
  gap:5px;
  color:#969b90;
  font:8px var(--font-mono);
  letter-spacing:.08em;
}
.private-capacity-field .select-input { min-height:37px; margin:0; }
.private-settings {
  min-width:0;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fbfaf6;
}
.private-settings summary {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  min-height:37px;
  padding:7px 10px;
  cursor:pointer;
  list-style:none;
  color:#687268;
  font:9px var(--font-mono);
  letter-spacing:.07em;
}
.private-settings summary::-webkit-details-marker { display:none; }
.private-settings summary::after {
  content:"+";
  margin-left:auto;
  color:var(--green);
  font:16px var(--font-body);
}
.private-settings[open] summary::after { content:"−"; }
.private-settings summary small {
  color:#a0a49b;
  font:9px var(--font-body);
  letter-spacing:0;
}
.private-settings-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  padding:7px 10px 11px;
  border-top:1px solid var(--line);
}
.private-settings-grid label {
  display:grid;
  gap:4px;
  min-width:0;
  color:#92988d;
  font:8px var(--font-mono);
  letter-spacing:.055em;
}
.private-settings-grid .select-input {
  min-width:0;
  min-height:34px;
  margin:0;
  padding:0 7px;
  font-size:10px;
}

/* Keep every orbit nameplate within the arena even in full 8–10 player rooms. */
body.globe-rush-active .orb-player-field.is-crowded .orb-player-marker {
  width:min(128px,calc((100% - 36px)/5));
  min-height:29px;
  gap:3px;
  padding:3px 4px;
}
body.globe-rush-active .orb-player-field.is-crowded .orb-player-avatar {
  flex-basis:17px;
  width:17px;
  height:17px;
  font-size:13px;
}
body.globe-rush-active .orb-player-field.is-crowded .orb-player-copy b { font-size:12px; }
body.globe-rush-active .orb-player-field.is-crowded .orb-player-copy small { display:none; }

/* Atlas Daily's explorer climbs higher for rarer approved answers. */
.rarity-ascent {
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(145px,.85fr);
  gap:13px;
  align-items:stretch;
  margin:10px 0 18px;
  padding:10px;
  border:1px solid #e2e7df;
  border-radius:12px;
  background:linear-gradient(110deg,#f8faf4,#eef3ee);
}
.rarity-ascent[hidden] { display:none !important; }
.rarity-ascent-scene {
  position:relative;
  min-height:150px;
  overflow:hidden;
  isolation:isolate;
  border:1px solid rgba(71,112,139,.18);
  border-radius:9px;
  background:
    radial-gradient(ellipse at 50% 100%,rgba(255,239,192,.48),transparent 47%),
    linear-gradient(180deg,#15294b 0%,#3a6287 48%,#9cbac1 77%,#e1e5d8 100%);
}
.rarity-ascent-scene::before,
.rarity-ascent-scene::after {
  content:"";
  position:absolute;
  z-index:1;
  left:-8%;
  width:116%;
  height:45px;
  border-radius:50%;
  background:rgba(228,239,236,.38);
  filter:blur(10px);
}
.rarity-ascent-scene::before { bottom:-29px; }
.rarity-ascent-scene::after { bottom:4px; opacity:.42; transform:translateX(17%); }
.ascent-cloud {
  position:absolute;
  z-index:2;
  width:78px;
  height:17px;
  border-radius:50%;
  background:rgba(240,247,244,.42);
  filter:blur(5px);
}
.ascent-cloud::before,.ascent-cloud::after {
  content:"";
  position:absolute;
  bottom:2px;
  width:31px;
  height:25px;
  border-radius:50%;
  background:inherit;
}
.ascent-cloud::before { left:13px; }
.ascent-cloud::after { right:10px; width:24px; height:20px; }
.ascent-cloud-one { left:8%; bottom:26px; opacity:.65; }
.ascent-cloud-two { right:7%; bottom:63px; transform:scale(.82); opacity:.6; }
.ascent-cloud-three { left:35%; bottom:91px; transform:scale(.58); opacity:.4; }
.ascent-horizon {
  position:absolute;
  z-index:2;
  right:-10%;
  bottom:-40px;
  left:-10%;
  height:78px;
  border-radius:50% 50% 0 0;
  background:linear-gradient(180deg,rgba(233,238,219,.28),rgba(109,150,143,.16));
  box-shadow:0 -7px 24px rgba(238,244,225,.18);
}
.ascent-star {
  position:absolute;
  z-index:3;
  color:rgba(255,255,225,.9);
  text-shadow:0 0 11px rgba(255,244,188,.75);
}
.ascent-star-one { top:13px; left:18%; font-size:12px; }
.ascent-star-two { top:31px; right:24%; font-size:24px; }
.ascent-star-three { top:9px; right:12%; font-size:16px; }
.ascent-explorer {
  position:absolute;
  z-index:5;
  left:50%;
  bottom:var(--ascent-bottom,10px);
  display:grid;
  place-items:center;
  width:25px;
  height:34px;
  border:1px solid rgba(246,218,157,.82);
  border-radius:9px 9px 6px 6px;
  color:#ffe7b0;
  background:linear-gradient(155deg,#f2cc87,#976f58 75%);
  box-shadow:0 0 0 4px rgba(255,226,167,.12),0 0 18px rgba(255,222,160,.5),0 4px 8px rgba(10,29,49,.32);
  transform:translateX(-50%);
  transition:bottom 1.05s cubic-bezier(.2,.8,.18,1),box-shadow .35s ease;
}
.ascent-explorer::before {
  content:"";
  position:absolute;
  top:-7px;
  width:13px;
  height:13px;
  border:1px solid #ffe3ad;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#fff5d8,#c58b65 78%);
}
.ascent-explorer::after {
  content:"";
  position:absolute;
  z-index:-1;
  left:50%;
  bottom:-13px;
  width:34px;
  height:27px;
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(255,219,151,.55),transparent 70%);
  filter:blur(3px);
  transform:translateX(-50%);
}
.ascent-explorer span { margin-top:10px; font-size:13px; text-shadow:0 0 8px #fff0bd; }
.rarity-ascent-scene[data-level="4"] .ascent-star,
.rarity-ascent-scene[data-level="5"] .ascent-star { color:#fff1bd; text-shadow:0 0 14px #ffe4a4; }
.rarity-ascent-scene[data-level="5"] .ascent-explorer {
  box-shadow:0 0 0 5px rgba(255,226,167,.2),0 0 25px rgba(255,228,168,.8),0 4px 8px rgba(10,29,49,.32);
}
.ascent-height-mark {
  position:absolute;
  z-index:4;
  right:7px;
  color:rgba(239,247,243,.55);
  font:7px var(--font-mono);
  letter-spacing:.12em;
}
.ascent-height-top { top:7px; }
.ascent-height-bottom { bottom:7px; }
.rarity-ascent-copy {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  min-width:0;
  padding:4px 7px 4px 0;
}
.rarity-ascent-copy strong { color:#395e4a; font:600 13px var(--font-display); letter-spacing:.025em; }
.rarity-ascent-copy span { color:#727d72; font-size:10px; line-height:1.5; }
.rarity-ascent-copy small { margin-top:4px; color:#9aa398; font:8px var(--font-mono); letter-spacing:.08em; }

@media(max-width:760px) {
  .private-room-tool .private-tool-options { grid-template-columns:1fr; }
  .private-settings-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rarity-ascent { grid-template-columns:1fr; }
  .rarity-ascent-scene { min-height:132px; }
  .rarity-ascent-copy { padding:2px 3px 5px; }
}
@media(max-width:600px) {
  body.globe-rush-active .orb-player-field.is-crowded .orb-player-marker {
    width:calc((100% - 35px)/5);
    min-height:27px;
    padding:2px 3px;
  }
  body.globe-rush-active .orb-player-field.is-crowded .orb-player-avatar {
    flex-basis:15px;
    width:15px;
    height:15px;
    font-size:11px;
  }
  body.globe-rush-active .orb-player-field.is-crowded .orb-player-copy b { font-size:11px; }
  .party-live-count { font-size:8px; }
}
@media(prefers-reduced-motion:reduce) {
  .ascent-explorer { transition-duration:.01ms; }
  .ascent-cloud,.ascent-star { animation:none !important; }
}


/* HUMANITY arcade finish: live lobby count, editable room settings and Atlas High Rise. */
body.globe-rush-active .party-live-count {
  display:inline-flex;
  align-items:center;
  gap:10px;
  width:max-content;
  max-width:100%;
  margin:0 0 12px;
  padding:7px 11px;
  border:1px solid #3b6389;
  border-radius:3px;
  color:#9bb8d2;
  background:linear-gradient(180deg,#18365f,#0b1d39);
  box-shadow:0 3px 0 #040d1d, inset 0 1px 0 rgba(183,226,255,.1);
  font:14px 'VT323',monospace;
  letter-spacing:.12em;
}
body.globe-rush-active .party-live-count strong {
  color:#8ce5ed;
  font:26px/1 'VT323',monospace;
  text-shadow:0 0 13px rgba(118,220,235,.38);
  font-variant-numeric:tabular-nums;
}
body.globe-rush-active .party-live-count > span:last-child {
  color:#b1c8df;
  font:13px 'VT323',monospace;
  letter-spacing:.09em;
}
body.globe-rush-active .party-live-count .live-dot {
  flex:0 0 7px;
  background:#75e0be;
  box-shadow:0 0 0 3px rgba(117,224,190,.13),0 0 12px rgba(117,224,190,.28);
}
body.globe-rush-active .private-room-tool {
  grid-template-columns:34px minmax(0,1fr) auto;
  align-items:center;
}
body.globe-rush-active .private-room-tool .private-tool-copy strong { color:#e9f5ff; }
body.globe-rush-active .private-room-tool .private-tool-copy p { color:#9cb5ce; }
.planet-private-settings[hidden] { display:none !important; }
body.globe-rush-active .planet-private-settings {
  margin-top:12px;
  border:1px solid #35597e;
  border-radius:2px;
  background:linear-gradient(180deg,#102748,#0a1b36);
  box-shadow:inset 0 1px 0 rgba(185,225,251,.06);
}
body.globe-rush-active .planet-private-settings > summary {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:10px 11px;
  color:#83dce8;
  cursor:pointer;
  list-style:none;
  font:16px 'VT323',monospace;
  letter-spacing:.1em;
}
body.globe-rush-active .planet-private-settings > summary::-webkit-details-marker { display:none; }
body.globe-rush-active .planet-private-settings > summary::after { content:"＋"; color:#f2bf73; font:19px 'VT323',monospace; }
body.globe-rush-active .planet-private-settings[open] > summary::after { content:"－"; }
body.globe-rush-active .planet-private-settings > summary small {
  margin-left:auto;
  color:#829db8;
  font:11px 'VT323',monospace;
}
body.globe-rush-active .planet-private-settings-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  padding:10px;
  border-top:1px solid #2a4b6d;
}
body.globe-rush-active .planet-private-settings-grid label {
  display:grid;
  gap:4px;
  min-width:0;
  color:#8fb0ca;
  font:12px 'VT323',monospace;
  letter-spacing:.09em;
}
body.globe-rush-active .planet-private-settings-grid .select-input {
  width:100%;
  min-height:33px;
  margin:0;
  padding:0 7px;
  color:#e5f3ff;
  border:1px solid #3c6388;
  border-radius:2px;
  background:#081a35;
  font:13px 'VT323',monospace;
}
body.globe-rush-active .planet-private-settings-grid .select-input option { color:#e5f3ff; background:#081a35; }
body.globe-rush-active .planet-private-settings-grid .select-input option:disabled { color:#59728b; }
body.globe-rush-active .planet-private-settings-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:0 10px 10px;
}
body.globe-rush-active #private-settings-feedback {
  min-width:0;
  color:#93adc5;
  font:12px 'VT323',monospace;
}
body.globe-rush-active .planet-private-settings-actions .planet-copy-button {
  min-height:32px;
  padding:5px 9px;
  color:#071a33;
  border:1px solid #b5edf0;
  border-radius:2px;
  background:#83dce7;
  font:14px 'VT323',monospace;
  cursor:pointer;
}

/* High Rise stays in the Atlas panel for the entire seven-question run. */
.daily-panel { overflow:visible; }
.daily-ascent-panel[hidden] { display:none !important; }
.daily-ascent-panel {
  position:sticky;
  top:12px;
  z-index:8;
  display:grid;
  gap:0;
  margin:12px 0 19px;
  overflow:hidden;
  border:2px solid #355f86;
  border-radius:3px;
  color:#eaf5ff;
  background:linear-gradient(160deg,#142e54,#091a35 75%);
  box-shadow:0 5px 0 #040d1d,0 14px 25px rgba(0,0,0,.23),inset 0 1px 0 rgba(200,238,255,.1);
}
.daily-ascent-heading {
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px 11px;
  border-bottom:1px solid #315579;
  background:linear-gradient(90deg,rgba(33,65,103,.92),rgba(12,31,57,.96));
}
.daily-ascent-heading > div:first-child { display:grid; gap:1px; }
.daily-ascent-heading > div:first-child span {
  color:#83dce7;
  font:11px 'VT323',monospace;
  letter-spacing:.17em;
}
.daily-ascent-heading > div:first-child strong {
  color:#f3f8ff;
  font:18px 'Press Start 2P',monospace;
  letter-spacing:-.07em;
  text-shadow:2px 2px 0 #315987;
}
.daily-ascent-readout {
  display:grid;
  justify-items:end;
  gap:0;
  margin-left:auto;
}
.daily-ascent-readout strong {
  color:#f5c77d;
  font:25px/1 'VT323',monospace;
  text-shadow:0 0 12px rgba(245,199,125,.28);
}
.daily-ascent-readout small {
  color:#91aec9;
  font:10px 'VT323',monospace;
  letter-spacing:.1em;
}
.daily-archive-exit {
  padding:5px 7px;
  border:1px solid #456a8d;
  border-radius:2px;
  color:#c5dced;
  background:#0b1e39;
  cursor:pointer;
  font:12px 'VT323',monospace;
}
.daily-ascent-scene {
  position:relative;
  height:174px;
  overflow:hidden;
  isolation:isolate;
  background:
    radial-gradient(ellipse at 50% 100%,rgba(246,193,113,.3),transparent 42%),
    linear-gradient(180deg,#101e42 0%,#234b76 35%,#4d8caa 62%,#aac7c8 85%,#e4d5ad 100%);
}
.daily-ascent-scene::before {
  content:"";
  position:absolute;
  z-index:1;
  right:-10%;
  bottom:-28px;
  left:-10%;
  height:69px;
  border-radius:50% 50% 0 0;
  background:linear-gradient(180deg,rgba(237,224,186,.28),rgba(94,137,150,.28));
  box-shadow:0 -8px 22px rgba(235,242,225,.1);
}
.daily-ascent-scene::after {
  content:"";
  position:absolute;
  z-index:1;
  right:8%;
  bottom:18px;
  width:118px;
  height:38px;
  border-radius:50%;
  background:rgba(241,246,236,.24);
  filter:blur(10px);
}
.daily-ascent-scene .ascent-cloud { opacity:.6; }
.daily-ascent-scene .ascent-cloud-one { left:12%; bottom:24px; }
.daily-ascent-scene .ascent-cloud-two { right:17%; bottom:74px; }
.daily-ascent-scene .ascent-cloud-three { left:37%; bottom:122px; }
.daily-ascent-scene .ascent-star { color:#fff0b8; text-shadow:0 0 11px rgba(255,237,174,.7); }
.daily-ascent-scene .ascent-height-mark {
  right:30px;
  color:rgba(233,246,255,.6);
  font:10px 'VT323',monospace;
  letter-spacing:.16em;
}
.ascent-height-orbit { top:8px; }
.ascent-height-clouds { top:76px; }
.ascent-height-ground { bottom:8px; }
.ascent-altitude-track {
  position:absolute;
  z-index:4;
  top:11px;
  right:14px;
  bottom:11px;
  width:5px;
  overflow:hidden;
  border:1px solid rgba(196,236,246,.35);
  background:rgba(5,19,41,.5);
  box-shadow:0 0 10px rgba(107,212,234,.11);
}
.ascent-altitude-track span {
  position:absolute;
  bottom:0;
  left:0;
  display:block;
  width:100%;
  height:0;
  background:linear-gradient(180deg,#f4c77d,#81dce7);
  box-shadow:0 0 12px rgba(127,222,234,.65);
  transition:height .9s cubic-bezier(.2,.75,.18,1);
}
.daily-ascent-scene .ascent-explorer {
  left:50%;
  bottom:var(--ascent-bottom,14px);
  width:28px;
  height:37px;
  border:1px solid #ffe2a3;
  border-radius:7px 7px 4px 4px;
  color:#fff1c9;
  background:linear-gradient(155deg,#f5d38d,#af774f 75%);
  box-shadow:0 0 0 4px rgba(255,221,163,.12),0 0 19px rgba(255,211,139,.48),0 4px 8px rgba(7,24,46,.38);
  transform:translateX(-50%);
  transition:bottom 1.1s cubic-bezier(.2,.8,.18,1),filter .3s ease,box-shadow .35s ease;
}
.daily-ascent-scene .ascent-explorer::before {
  top:-8px;
  width:14px;
  height:14px;
  border-color:#ffe7b1;
  background:radial-gradient(circle at 35% 30%,#fff5d8,#c58b65 78%);
}
.daily-ascent-scene .ascent-explorer span { margin-top:12px; color:#fff4c9; font-size:14px; }
.daily-ascent-scene[data-level="4"] .ascent-explorer,
.daily-ascent-scene[data-level="5"] .ascent-explorer {
  filter:brightness(1.18);
  box-shadow:0 0 0 5px rgba(255,226,167,.18),0 0 25px rgba(255,228,168,.72),0 4px 8px rgba(10,29,49,.32);
}
.ascent-rise-flare {
  position:absolute;
  z-index:4;
  left:50%;
  bottom:var(--ascent-bottom,14px);
  width:54px;
  height:44px;
  border-radius:50%;
  opacity:0;
  pointer-events:none;
  background:radial-gradient(ellipse,rgba(255,225,158,.4),transparent 70%);
  transform:translate(-50%,50%);
}
.ascent-rise-flare.climbing { animation:ascent-rise-flash .8s ease-out both; }
@keyframes ascent-rise-flash {
  0% { opacity:0; scale:.45; }
  28% { opacity:1; scale:1.3; }
  100% { opacity:0; scale:1.7; }
}
.daily-ascent-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:6px 10px;
  border-top:1px solid #2c5276;
  color:#a1bad2;
  background:#0b1d39;
  font:13px 'VT323',monospace;
}
.daily-ascent-footer strong { color:#8de1e9; font:14px 'VT323',monospace; letter-spacing:.08em; }
body.globe-rush-active .daily-ascent-panel .ascent-star-one { top:13px; left:18%; }
body.globe-rush-active .daily-ascent-panel .ascent-star-two { top:31px; right:24%; }
body.globe-rush-active .daily-ascent-panel .ascent-star-three { top:9px; right:12%; }

@media(max-width:760px) {
  .daily-panel { overflow:visible; }
  .daily-ascent-panel { position:sticky; top:8px; }
  .daily-ascent-scene { height:150px; }
  .daily-ascent-heading > div:first-child strong { font-size:14px; }
  body.globe-rush-active .planet-private-settings-grid { grid-template-columns:1fr 1fr; }
}
@media(max-width:420px) {
  .daily-ascent-heading { gap:7px; padding:7px; }
  .daily-ascent-heading > div:first-child strong { font-size:12px; }
  .daily-ascent-readout strong { font-size:20px; }
  .daily-ascent-readout small { font-size:8px; }
  .daily-archive-exit { font-size:10px; }
  .daily-ascent-footer { font-size:11px; }
  .daily-ascent-footer strong { font-size:11px; }
  body.globe-rush-active .planet-private-settings-actions { align-items:stretch; flex-direction:column; }
}
@media(prefers-reduced-motion:reduce) {
  .daily-ascent-scene .ascent-explorer,.ascent-altitude-track span { transition-duration:.01ms; }
  .ascent-rise-flare.climbing { animation-duration:.01ms; }
}


/* HUMANITY Atlas Daily — full-screen planetary flight */
:root {
  --atlas-space-ink: #eef7ff;
  --atlas-space-muted: #a3b9d1;
  --atlas-cyan: #82dce8;
  --atlas-orange: #f3bd70;
}
#view-daily { padding:0 !important; }
#view-daily .daily-intro,
#view-daily .daily-sidebar { display:none !important; }
#view-daily .daily-grid.atlas-space-stage {
  position:relative; isolation:isolate; display:block; width:100vw; left:50%; margin-left:-50vw;
  min-height:calc(100svh - 72px); overflow:hidden; background:#050d20;
}
.atlas-space-backdrop {
  position:absolute; z-index:0; inset:0; overflow:hidden; pointer-events:none;
  background:
    radial-gradient(ellipse at 14% 18%,rgba(44,75,132,.38),transparent 42%),
    radial-gradient(ellipse at 77% 62%,rgba(38,91,128,.23),transparent 43%),
    linear-gradient(125deg,#050b1a 0%,#09162e 47%,#071020 100%);
}
.atlas-stars {
  position:absolute; inset:-15%; background-repeat:repeat; opacity:.55;
}
.atlas-stars-far {
  background-image:
    radial-gradient(1px 1px at 24px 34px,rgba(230,245,255,.92) 98%,transparent),
    radial-gradient(1px 1px at 88px 104px,rgba(163,210,255,.75) 98%,transparent),
    radial-gradient(1px 1px at 164px 63px,rgba(255,255,255,.75) 98%,transparent),
    radial-gradient(1px 1px at 210px 155px,rgba(255,225,194,.62) 98%,transparent);
  background-size:250px 190px;
  animation:atlas-star-drift 90s linear infinite;
}
.atlas-stars-near {
  opacity:.32;
  background-image:
    radial-gradient(2px 2px at 48px 84px,rgba(255,255,255,.88) 98%,transparent),
    radial-gradient(1px 1px at 150px 25px,rgba(127,220,255,.75) 98%,transparent);
  background-size:210px 155px;
  animation:atlas-star-drift 42s linear infinite reverse;
}
.atlas-nebula { position:absolute; border-radius:50%; filter:blur(42px); opacity:.28; }
.atlas-nebula-one { width:42vw;height:34vw;left:12%;top:10%;background:radial-gradient(ellipse,rgba(85,77,171,.56),rgba(52,101,157,.13) 55%,transparent 72%); }
.atlas-nebula-two { width:38vw;height:30vw;right:4%;bottom:-12%;background:radial-gradient(ellipse,rgba(37,143,167,.38),rgba(48,80,140,.1) 55%,transparent 72%); }
.atlas-planet { position:absolute; border-radius:50%; transform:translateZ(0); will-change:transform; }
.atlas-planet-jupiter {
  width:clamp(300px,43vw,680px);aspect-ratio:1;right:-13%;top:3%;
  background:
    radial-gradient(ellipse at 31% 26%,rgba(255,255,255,.74),transparent 5%),
    radial-gradient(ellipse at 72% 65%,rgba(63,38,32,.45),transparent 18%),
    repeating-linear-gradient(174deg,#c7b8a2 0 7%,#876d61 7.5% 11%,#e0cba9 11.5% 19%,#a67f6b 19.5% 24%,#e6d6bd 25% 32%,#9d7c6b 33% 39%);
  box-shadow:inset -48px -22px 78px rgba(0,0,0,.72),inset 18px 7px 35px rgba(255,245,220,.27),0 0 95px rgba(194,161,132,.12);
  filter:saturate(.75);
  animation:atlas-planet-float 34s ease-in-out infinite;
}
.atlas-planet-jupiter::after {
  content:"";position:absolute;right:18%;top:48%;width:19%;height:8%;border-radius:50%;
  background:radial-gradient(ellipse,#995f4c,#b78065 60%,transparent 75%);filter:blur(1px);transform:rotate(-8deg);
}
.atlas-planet-ringed {
  width:clamp(190px,25vw,370px);aspect-ratio:1;left:-7%;bottom:-17%;
  background:
    radial-gradient(ellipse at 31% 26%,rgba(255,255,255,.65),transparent 5%),
    repeating-linear-gradient(160deg,#c8c1a7 0 11%,#8e9a9e 12% 18%,#e0d2b2 19% 25%,#7f8d99 26% 32%,#c5bfa9 33% 42%);
  box-shadow:inset -35px -18px 55px rgba(0,0,0,.76),inset 12px 7px 22px rgba(255,255,255,.22),0 0 70px rgba(120,183,214,.16);
  animation:atlas-planet-float 42s ease-in-out infinite reverse;
}
.atlas-planet-ring {
  position:absolute;left:-34%;top:37%;width:168%;height:36%;border:10px solid rgba(215,202,172,.56);
  border-left-color:rgba(111,146,169,.45);border-right-color:rgba(222,209,176,.32);
  border-radius:50%;transform:rotate(-20deg);box-shadow:0 0 23px rgba(179,211,226,.16),inset 0 0 13px rgba(19,34,57,.35);
}
.atlas-planet-ring::after {
  content:"";position:absolute;inset:7px -3px;border:4px solid rgba(106,132,156,.42);border-radius:50%;
}
.atlas-planet-red {
  width:clamp(68px,9vw,145px);aspect-ratio:1;left:33%;top:15%;
  background:
    radial-gradient(circle at 32% 26%,rgba(255,231,202,.75),transparent 5%),
    radial-gradient(ellipse at 65% 70%,#713e39 0 10%,transparent 11%),
    repeating-linear-gradient(22deg,#b66a4c 0 12%,#7e443c 13% 18%,#cf8760 19% 25%,#7d4c45 26% 32%);
  box-shadow:inset -18px -10px 27px rgba(0,0,0,.72),0 0 32px rgba(200,110,79,.2);
  animation:atlas-moon-drift 26s ease-in-out infinite;
}
.atlas-planet-moon {
  width:clamp(32px,4vw,62px);aspect-ratio:1;right:29%;bottom:17%;
  background:radial-gradient(circle at 32% 28%,#e0e8ea,#7d8a9b 56%,#28354e);
  box-shadow:inset -12px -7px 16px rgba(0,0,0,.65),0 0 25px rgba(212,231,255,.18);
  animation:atlas-moon-drift 19s ease-in-out infinite reverse;
}
.atlas-flight-streak {
  position:absolute;inset:-20%;opacity:.25;transform:rotate(-19deg);
  background:repeating-linear-gradient(90deg,transparent 0 13%,rgba(133,206,231,.13) 13.05%,transparent 13.12% 23%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 42%,transparent 100%);
  animation:atlas-flight-sweep 9s linear infinite;
}
@keyframes atlas-star-drift { from{transform:translate3d(0,0,0)} to{transform:translate3d(-90px,60px,0)} }
@keyframes atlas-planet-float { 0%,100%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(-13px,10px,0) scale(1.025)} }
@keyframes atlas-moon-drift { 0%,100%{transform:translate3d(0,0,0)} 50%{transform:translate3d(24px,-15px,0)} }
@keyframes atlas-flight-sweep { from{transform:translate3d(-2%,0,0) rotate(-19deg)} to{transform:translate3d(2%,0,0) rotate(-19deg)} }

#view-daily .daily-panel {
  position:relative;z-index:2;display:flex;flex-direction:column;align-items:stretch;
  min-height:calc(100svh - 72px);padding:18px clamp(16px,4.5vw,70px) 30px;
  border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;
}
#view-daily .atlas-panel-topline {
  width:100%;max-width:1500px;margin:0 auto;padding:0 0 13px;
  border-bottom:1px solid rgba(142,191,225,.2);
}
#view-daily .panel-kicker { color:#eaf7ff;font:17px 'VT323',monospace;letter-spacing:.12em; }
#view-daily .tiny-globe { color:#07172e;background:#83dce8;border-radius:2px; }
.atlas-topline-actions { display:flex;align-items:center;justify-content:flex-end;gap:18px;min-width:0; }
.atlas-edition-stamp { display:flex;align-items:center;gap:8px;white-space:nowrap; }
.atlas-edition-stamp .date-stamp-label { color:#87a9c4;font:11px 'VT323',monospace;letter-spacing:.12em; }
.atlas-edition-stamp strong { color:#eaf5ff;font:17px 'VT323',monospace; }
#view-daily .attempt-label { color:#8ca8c3;font:12px 'VT323',monospace;letter-spacing:.1em; }
.atlas-archive-open {
  min-height:32px;padding:0 10px;border:1px solid #3b6388;border-radius:2px;color:#9ee8ee;
  background:rgba(10,29,55,.72);cursor:pointer;font:12px 'VT323',monospace;letter-spacing:.09em;
  transition:background .18s,border-color .18s,transform .18s;
}
.atlas-archive-open:hover { border-color:#8bdde9;background:#163b5b;transform:translateY(-1px); }
#view-daily .daily-ascent-panel {
  width:min(920px,100%);margin:16px auto 0;padding:9px 13px 8px;display:grid;grid-template-columns:auto minmax(90px,1fr);gap:8px 18px;
  border:1px solid rgba(115,187,220,.27);border-radius:3px;background:rgba(7,22,44,.68);
  box-shadow:0 8px 24px rgba(0,0,0,.12),inset 0 1px rgba(255,255,255,.045);backdrop-filter:blur(8px);
}
#view-daily .daily-ascent-heading { display:flex;align-items:center;gap:14px;grid-column:1/-1;min-width:0; }
#view-daily .daily-ascent-heading>div:first-child { display:flex;align-items:center;gap:8px; }
#view-daily .daily-ascent-heading>div:first-child span { color:#7eabc9;font:11px 'VT323',monospace;letter-spacing:.12em; }
#view-daily .daily-ascent-heading>div:first-child strong { color:#f4c47a;font:14px 'Press Start 2P',monospace;letter-spacing:-.07em; }
#view-daily .daily-ascent-readout { display:flex;align-items:baseline;gap:7px;margin-left:auto; }
#view-daily .daily-ascent-readout strong { color:#9be5ef;font:19px 'VT323',monospace; }
#view-daily .daily-ascent-readout small { color:#7f9cba;font:10px 'VT323',monospace;letter-spacing:.08em; }
#view-daily .daily-archive-exit { border:1px solid #8c6271;border-radius:2px;color:#ffc0bd;background:#30243c;padding:4px 7px;font:11px 'VT323',monospace;cursor:pointer; }
#view-daily .daily-ascent-scene { position:relative;grid-column:1/-1;height:15px;min-height:15px;overflow:visible;background:transparent; }
#view-daily .daily-ascent-scene .ascent-star,
#view-daily .daily-ascent-scene .ascent-cloud,
#view-daily .daily-ascent-scene .ascent-horizon,
#view-daily .daily-ascent-scene .ascent-height-mark { display:none !important; }
#view-daily .ascent-altitude-track { position:absolute;left:0;right:0;top:50%;width:100%;height:5px;overflow:visible;transform:translateY(-50%);border-radius:5px;background:#263f5d; }
#view-daily .ascent-altitude-track>span { display:block;width:0;height:100%;border-radius:5px;background:linear-gradient(90deg,#74c9e2,#8be6df,#f2bf77);box-shadow:0 0 11px rgba(112,220,230,.38);transition:width .7s cubic-bezier(.2,.8,.2,1); }
#view-daily .ascent-explorer { position:absolute;z-index:3;left:0;bottom:0;width:15px;height:15px;display:grid;place-items:center;border:1px solid #d9f8ff;border-radius:50%;color:#102c49;background:#8be5ed;box-shadow:0 0 0 4px rgba(111,218,233,.12),0 0 15px rgba(126,224,236,.72);font-size:9px;transform:translateX(-50%);transition:left .7s cubic-bezier(.2,.8,.2,1); }
#view-daily .ascent-rise-flare { display:none; }
#view-daily .daily-ascent-footer { display:flex;align-items:center;justify-content:space-between;gap:12px;grid-column:1/-1;color:#8ca7c0;font:12px 'VT323',monospace; }
#view-daily .daily-ascent-footer strong { color:#aac9df;font:12px 'VT323',monospace; }

#view-daily .daily-idle {
  width:min(860px,100%);min-height:clamp(430px,65vh,650px);margin:auto;padding:46px 18px 50px;
  display:flex;align-items:center;justify-content:center;text-align:center;background:transparent;
}
#view-daily .daily-idle .idle-orbit { display:none; }
#view-daily .daily-idle .idle-copy { max-width:580px;text-align:center; }
#view-daily .daily-idle .micro-label { color:#8ad8e5;font:13px 'VT323',monospace;letter-spacing:.18em; }
#view-daily .daily-idle h2 { color:#f1f7ff;font:clamp(32px,5vw,52px)/1.08 'VT323',monospace;letter-spacing:.015em;text-shadow:2px 3px 0 rgba(31,77,115,.9),0 0 28px rgba(105,205,225,.2); }
#view-daily .daily-idle p { color:#b0c4d8;font:17px 'VT323',monospace;line-height:1.5; }
#view-daily .daily-rules { justify-content:center;margin:18px 0 22px; }
#view-daily .daily-rules span { border:1px solid rgba(103,158,197,.32);border-radius:2px;color:#a8c7db;background:rgba(9,29,54,.72);font:14px 'VT323',monospace; }
#view-daily .daily-rules b { color:#f3c47b;font:15px 'VT323',monospace; }
#view-daily .daily-idle .button-primary,
#view-daily .daily-result .button-primary { min-height:50px;border:2px solid #c9f6f7;border-radius:2px;color:#081a32;background:#87e0e8;box-shadow:0 4px 0 #315f91;font:16px 'VT323',monospace;letter-spacing:.12em; }
#view-daily .daily-idle .button-primary:hover:not(:disabled),
#view-daily .daily-result .button-primary:hover:not(:disabled) { background:#b1f3ef; }
#view-daily .daily-idle .quiet-note { color:#8ca6c0 !important;font:12px 'VT323',monospace !important; }

#view-daily .daily-play {
  width:min(920px,100%);margin:auto;padding:24px 0 38px;display:flex;flex-direction:column;gap:22px;
}
#view-daily .question-top { width:100%;display:flex;align-items:center;gap:18px;padding:0 3px 3px; }
#view-daily .question-count { color:#eff8ff;font:18px 'VT323',monospace; }
#view-daily .question-count .muted { color:#85a4c0;font:15px 'VT323',monospace; }
#view-daily .question-progress { flex:1;gap:6px; }
#view-daily .progress-segment { height:6px;border:1px solid rgba(122,176,210,.4);border-radius:1px;background:rgba(11,31,57,.8); }
#view-daily .progress-segment.done { border-color:#6bd1df;background:#6bd1df;box-shadow:0 0 8px rgba(107,209,223,.3); }
#view-daily .progress-segment.active { border-color:#f3be75;background:#f3be75;box-shadow:0 0 9px rgba(243,190,117,.36); }
#view-daily .question-clock { min-width:66px;display:flex;align-items:center;justify-content:center;gap:5px;padding:5px 8px;border:1px solid #426d91;border-radius:2px;color:#95e5ec;background:rgba(7,23,45,.85);box-shadow:0 3px 0 rgba(1,7,18,.4); }
#view-daily .clock-face { color:#a2e9ef;font:27px 'VT323',monospace; }
#view-daily .question-clock small { color:#92adc5;font:11px 'VT323',monospace; }
#view-daily .question-clock.urgent { border-color:#c77c80;background:rgba(57,27,48,.92); }
#view-daily .atlas-question-card {
  min-height:clamp(230px,33vh,340px);display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:clamp(28px,5vw,58px) clamp(20px,5vw,70px);text-align:center;
  border:1px solid rgba(118,187,216,.48);border-radius:4px;
  background:linear-gradient(145deg,rgba(10,32,59,.92),rgba(8,22,45,.86));
  box-shadow:0 18px 55px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.07),0 0 35px rgba(65,150,191,.09);
  backdrop-filter:blur(14px);
}
#view-daily .question-category { display:inline-flex;align-items:center;justify-content:center;margin:0 0 22px;padding:7px 14px;border:1px solid rgba(113,211,225,.54);border-radius:2px;color:#9be6ec;background:rgba(30,98,127,.24);font:14px 'VT323',monospace;letter-spacing:.15em; }
#view-daily .daily-question { max-width:790px;margin:0 0 12px;color:#f3f8ff;font:clamp(30px,4.4vw,52px)/1.13 'VT323',monospace;letter-spacing:.01em;text-shadow:1px 2px 0 rgba(34,79,116,.7); }
#view-daily .question-note { margin:0;color:#aac0d3;font:16px 'VT323',monospace; }
#view-daily .atlas-answer-dock {
  padding:clamp(14px,2.4vw,24px);border:1px solid rgba(76,131,172,.48);border-radius:3px;
  background:linear-gradient(180deg,rgba(10,29,54,.94),rgba(6,18,37,.95));
  box-shadow:0 10px 35px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.055);
}
#view-daily .answer-form { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:0;border:0;background:transparent;box-shadow:none; }
#view-daily .answer-form input { min-width:0;min-height:60px;padding:0 19px;border:1px solid #416a8c;border-radius:2px;color:#eff9ff;background:#07182f;font:19px 'VT323',monospace;letter-spacing:.04em; }
#view-daily .answer-form input::placeholder { color:#7897b4; }
#view-daily .answer-form input:focus { outline:2px solid rgba(126,222,232,.42);outline-offset:1px;border-color:#83dbe6; }
#view-daily .answer-form .button-primary { min-width:145px;min-height:60px;border:2px solid #d2f7f8;border-radius:2px;color:#08182f;background:#83dce7;box-shadow:0 4px 0 #2d6090;font:16px 'VT323',monospace;letter-spacing:.12em; }
#view-daily .answer-form .button-primary:hover:not(:disabled) { background:#b1f3ee; }
#view-daily .daily-suggestion {
  margin-top:10px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;
  border:1px solid rgba(243,190,117,.55);border-radius:2px;background:rgba(74,53,36,.26);
}
#view-daily .suggestion-copy { color:#f0bd76;font:12px 'VT323',monospace;letter-spacing:.13em; }
#view-daily .suggestion-choice { display:flex;align-items:center;gap:11px;padding:5px 9px;border:1px solid #9b805b;border-radius:2px;color:#ffe0a7;background:#342e35;cursor:pointer;font:17px 'VT323',monospace; }
#view-daily .suggestion-choice span { color:#b9a184;font:10px 'VT323',monospace; }
#view-daily .answer-feedback { min-height:22px;padding:8px 2px 2px;color:#a8c1d8;font:13px 'VT323',monospace; }
#view-daily .question-tools { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px; }
#view-daily .text-button { color:#9fe2e9;font:13px 'VT323',monospace;letter-spacing:.06em; }
#view-daily .text-button span { color:#7898b2; }
#view-daily .hint-counter { color:#8ca9c3;font:12px 'VT323',monospace; }
#view-daily .hint-box { padding:10px 12px;border:1px solid #456d8e;border-radius:2px;color:#b9d0e2;background:#0d2645;font:14px 'VT323',monospace; }
#view-daily .daily-result,
#view-daily .daily-complete,
#view-daily .daily-locked {
  width:min(780px,100%);margin:auto;padding:30px;border:1px solid rgba(118,187,216,.44);border-radius:3px;
  color:#ecf7ff;background:linear-gradient(145deg,rgba(11,34,62,.95),rgba(7,19,39,.96));
  box-shadow:0 15px 48px rgba(0,0,0,.24);text-align:center;
}
#view-daily .daily-result h2,
#view-daily .daily-complete h2,
#view-daily .daily-locked h2 { color:#f3f8ff;font:32px 'VT323',monospace; }
#view-daily .daily-result p,
#view-daily .daily-complete p,
#view-daily .daily-locked p { color:#a6bfd5;font:15px 'VT323',monospace; }
#view-daily .result-stamp { color:#98e7eb;font:13px 'VT323',monospace;letter-spacing:.16em; }
#view-daily .result-score-line,
#view-daily .answer-sheet { border-color:#345b7c;background:rgba(8,25,48,.74); }
#view-daily .answer-sheet-heading { color:#d8eaf6; }
#view-daily .answer-chip { color:#cce3f0;border-color:#3b6282;background:#173657; }
#view-daily .daily-result .quiet-note,
#view-daily .daily-complete .quiet-note,
#view-daily .daily-locked .quiet-note { color:#8da7c0 !important;font:12px 'VT323',monospace !important; }
#view-daily .daily-complete .button-outline,
#view-daily .daily-locked .button-outline { color:#a8e8ed;border-color:#426d90;background:rgba(9,28,52,.7);border-radius:2px;font:15px 'VT323',monospace; }
#view-daily .complete-score strong { color:#f2c17a;font:42px 'VT323',monospace; }

#view-party .party-intro-copy,
#view-party .party-preview-world,
#view-party .party-play-panel,
#view-party .party-lobby .side-card,
#view-party .party-room { transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background .22s ease; }
body.globe-rush-active #view-party .party-preview-world {
  border:1px solid rgba(109,191,221,.25);box-shadow:0 16px 45px rgba(0,0,0,.25),inset 0 0 48px rgba(69,139,187,.13);
}
body.globe-rush-active #view-party .party-preview-world::after {
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(135deg,rgba(105,210,235,.08),transparent 40%,rgba(244,185,104,.08));
}
body.globe-rush-active #view-party .mode-card {
  overflow:hidden;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,filter .2s ease;
}
body.globe-rush-active #view-party .mode-card:hover {
  transform:translateY(-4px);border-color:#75cbdc;box-shadow:0 12px 28px rgba(0,0,0,.22),0 0 22px rgba(99,197,218,.1);
}
body.globe-rush-active #view-party .room-tool:hover {
  border-color:#79d6e2;box-shadow:0 8px 25px rgba(0,0,0,.2),inset 0 0 22px rgba(111,207,224,.06);
}
body.globe-rush-active #view-party .party-live-count { box-shadow:0 6px 22px rgba(0,0,0,.14),inset 0 1px rgba(255,255,255,.06); }
body.globe-rush-active #view-party .party-room { box-shadow:0 18px 55px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.04); }
body.globe-rush-active #view-party .planet-arena { box-shadow:inset 0 0 85px rgba(0,0,0,.22); }
body.globe-rush-active #view-party .planet-earth { filter:saturate(1.1) contrast(1.04); }
body.globe-rush-active #view-party .rush-answer-area .answer-form { border-radius:3px; }
body.globe-rush-active #view-party .category-announcement.visible { animation:category-arrive .42s cubic-bezier(.2,.8,.2,1) both; }
@keyframes category-arrive { from{opacity:0;transform:translate(-50%,10px) scale(.96)} to{opacity:1;transform:translate(-50%,0) scale(1)} }

@media (max-width:820px) {
  #view-daily .daily-panel { min-height:calc(100svh - 108px);padding:14px 18px 24px; }
  #view-daily .daily-grid.atlas-space-stage { min-height:calc(100svh - 108px); }
  #view-daily .daily-idle { min-height:calc(100svh - 220px); }
  #view-daily .atlas-planet-jupiter { right:-26%;top:12%;width:clamp(260px,60vw,460px); }
  #view-daily .atlas-planet-ringed { left:-21%;bottom:-7%;width:clamp(175px,42vw,300px); }
  #view-daily .daily-play { padding:30px 0;gap:17px; }
}
@media (max-width:600px) {
  #view-daily .daily-panel { min-height:calc(100svh - 112px);padding:10px 12px 18px; }
  #view-daily .daily-grid.atlas-space-stage { min-height:calc(100svh - 112px); }
  #view-daily .atlas-panel-topline { align-items:flex-start;gap:8px;padding-bottom:9px; }
  #view-daily .panel-kicker { font-size:15px; }
  .atlas-topline-actions { gap:7px;flex-wrap:wrap;justify-content:flex-end; }
  .atlas-edition-stamp { gap:4px; }
  .atlas-edition-stamp .date-stamp-label { font-size:10px; }
  .atlas-edition-stamp strong { font-size:14px; }
  #view-daily .attempt-label { display:none; }
  .atlas-archive-open { min-height:27px;padding:0 7px;font-size:11px; }
  #view-daily .daily-ascent-panel { grid-template-columns:1fr;gap:5px;margin-top:9px;padding:8px 9px; }
  #view-daily .daily-ascent-heading { gap:7px; }
  #view-daily .daily-ascent-heading>div:first-child { gap:5px; }
  #view-daily .daily-ascent-heading>div:first-child span { font-size:10px; }
  #view-daily .daily-ascent-heading>div:first-child strong { font-size:10px; }
  #view-daily .daily-ascent-readout { gap:4px; }
  #view-daily .daily-ascent-readout strong { font-size:16px; }
  #view-daily .daily-ascent-readout small { font-size:9px; }
  #view-daily .daily-ascent-footer { font-size:10px; }
  #view-daily .daily-idle { min-height:calc(100svh - 205px);padding:26px 8px; }
  #view-daily .daily-idle h2 { font-size:34px; }
  #view-daily .daily-idle p { font-size:15px; }
  #view-daily .daily-rules { gap:5px; }
  #view-daily .daily-rules span { padding:6px 7px;font-size:12px; }
  #view-daily .daily-play { padding:22px 0 25px;gap:14px; }
  #view-daily .question-top { gap:7px; }
  #view-daily .question-count { font-size:15px; }
  #view-daily .question-clock { min-width:54px;padding:4px 6px; }
  #view-daily .clock-face { font-size:23px; }
  #view-daily .atlas-question-card { min-height:240px;padding:30px 18px; }
  #view-daily .question-category { margin-bottom:16px;padding:6px 10px;font-size:12px; }
  #view-daily .daily-question { font-size:clamp(27px,8vw,37px); }
  #view-daily .question-note { font-size:14px; }
  #view-daily .atlas-answer-dock { padding:10px; }
  #view-daily .answer-form { grid-template-columns:minmax(0,1fr);gap:8px; }
  #view-daily .answer-form input { min-height:53px;padding:0 13px;font-size:18px; }
  #view-daily .answer-form .button-primary { min-height:46px;min-width:0; }
  #view-daily .daily-suggestion { align-items:flex-start;flex-direction:column;gap:5px; }
  #view-daily .suggestion-choice { width:100%;justify-content:space-between;font-size:16px; }
  #view-daily .answer-feedback { min-height:18px;font-size:12px; }
  #view-daily .daily-result,
  #view-daily .daily-complete,
  #view-daily .daily-locked { padding:23px 14px; }
  .atlas-planet-red { left:11%;top:18%; }
  .atlas-planet-moon { right:13%;bottom:14%; }
}
@media (max-height:680px) and (min-width:601px) {
  #view-daily .daily-idle { min-height:400px;padding-block:26px; }
  #view-daily .daily-play { padding-block:14px;gap:13px; }
  #view-daily .atlas-question-card { min-height:205px;padding-block:26px; }
}
body.reduce-motion .atlas-stars,
body.reduce-motion .atlas-planet,
body.reduce-motion .atlas-flight-streak,
body.reduce-motion #view-party .category-announcement.visible {
  animation:none !important;
}
@media (prefers-reduced-motion:reduce) {
  .atlas-stars,.atlas-planet,.atlas-flight-streak { animation:none !important; }
}


/* Atlas Daily — a continuous flight past the planets */
#view-daily .atlas-space-backdrop {
  overflow:hidden;
  background:
    radial-gradient(ellipse at 15% 23%,rgba(65,92,164,.26),transparent 38%),
    radial-gradient(ellipse at 83% 76%,rgba(31,113,145,.2),transparent 40%),
    linear-gradient(125deg,#030918 0%,#07152c 48%,#030a19 100%);
}
#view-daily .atlas-stars {
  inset:-10% auto -10% 0;
  width:380vw;
  height:120%;
  background-size:250px 190px;
  transition:transform 2.7s cubic-bezier(.18,.72,.18,1);
}
#view-daily .atlas-stars-far {
  background-image:
    radial-gradient(1px 1px at 24px 34px,rgba(230,245,255,.92) 98%,transparent),
    radial-gradient(1px 1px at 88px 104px,rgba(163,210,255,.75) 98%,transparent),
    radial-gradient(1px 1px at 164px 63px,rgba(255,255,255,.75) 98%,transparent),
    radial-gradient(1px 1px at 210px 155px,rgba(255,225,194,.62) 98%,transparent);
  animation:atlas-star-drift 90s linear infinite;
}
#view-daily .atlas-stars-near {
  background-size:210px 155px;
  animation:atlas-star-drift 42s linear infinite reverse;
}
#view-daily .atlas-space-world {
  position:absolute;inset:0 auto 0 0;width:360vw;height:100%;
  transform:translate3d(calc(var(--flight-progress,0) * -300vw),0,0);
  transition:transform 2.8s cubic-bezier(.18,.72,.18,1);
  will-change:transform;
}
#view-daily .atlas-space-world .atlas-stars { transform:translate3d(calc(var(--flight-progress,0) * 200vw),0,0); }
#view-daily .atlas-space-world .atlas-nebula {
  width:44vw;height:38vw;opacity:.28;filter:blur(54px);
  transition:transform 2.8s cubic-bezier(.18,.72,.18,1);
}
#view-daily .atlas-nebula-one { left:22vw;top:10%;background:radial-gradient(ellipse,rgba(96,89,190,.48),rgba(52,101,157,.12) 55%,transparent 72%); }
#view-daily .atlas-nebula-two { left:205vw;right:auto;top:50%;bottom:auto;background:radial-gradient(ellipse,rgba(37,143,167,.36),rgba(48,80,140,.1) 55%,transparent 72%); }
#view-daily .atlas-planet { right:auto;bottom:auto;top:50%;left:0;transform:translateY(-50%); }
#view-daily .atlas-planet-earth {
  left:4vw;width:45vw;aspect-ratio:1;border-radius:50%;overflow:hidden;
  background:radial-gradient(circle at 30% 25%,#c7f5ff,#2d83b7 37%,#0b355e 72%);
  box-shadow:inset -42px -28px 70px rgba(0,0,0,.72),inset 13px 8px 30px rgba(255,255,255,.24),0 0 95px rgba(66,167,220,.3);
  animation:atlas-earth-float 17s ease-in-out infinite;
}
#view-daily .atlas-planet-earth .earth-globe {
  position:absolute;inset:0;width:100%;height:100%;border-radius:50%;overflow:hidden;
  background:radial-gradient(circle at 34% 29%,#77c7d6,#286d90 58%,#09233f);
}
#view-daily .atlas-planet-earth .earth-globe svg { display:block;width:100%;height:100%; }
#view-daily .atlas-planet-moon {
  left:58vw;top:22%;width:5vw;min-width:36px;max-width:70px;aspect-ratio:1;
  background:radial-gradient(circle at 32% 28%,#f3f4ec,#8d9aab 60%,#35435c);
  box-shadow:inset -12px -7px 16px rgba(0,0,0,.65),0 0 25px rgba(212,231,255,.18);
  animation:atlas-moon-drift 19s ease-in-out infinite reverse;
}
#view-daily .atlas-planet-red {
  left:82vw;top:40%;width:12vw;min-width:88px;aspect-ratio:1;
  background:radial-gradient(circle at 32% 26%,rgba(255,231,202,.75),transparent 5%),
    repeating-linear-gradient(22deg,#b66a4c 0 12%,#7e443c 13% 18%,#cf8760 19% 25%,#7d4c45 26% 32%);
  box-shadow:inset -18px -10px 27px rgba(0,0,0,.72),0 0 32px rgba(200,110,79,.2);
  animation:atlas-planet-float 28s ease-in-out infinite;
}
#view-daily .atlas-planet-jupiter {
  left:142vw;top:36%;width:52vw;min-width:360px;aspect-ratio:1;
  background:radial-gradient(ellipse at 31% 26%,rgba(255,255,255,.74),transparent 5%),
    radial-gradient(ellipse at 72% 65%,rgba(63,38,32,.45),transparent 18%),
    repeating-linear-gradient(174deg,#c7b8a2 0 7%,#876d61 7.5% 11%,#e0cba9 11.5% 19%,#a67f6b 19.5% 24%,#e6d6bd 25% 32%,#9d7c6b 33% 39%);
  box-shadow:inset -48px -22px 78px rgba(0,0,0,.72),inset 18px 7px 35px rgba(255,245,220,.27),0 0 95px rgba(194,161,132,.12);
  filter:saturate(.75);animation:atlas-planet-float 34s ease-in-out infinite;
}
#view-daily .atlas-planet-jupiter::after {
  content:"";position:absolute;right:18%;top:48%;width:19%;height:8%;border-radius:50%;
  background:radial-gradient(ellipse,#995f4c,#b78065 60%,transparent 75%);filter:blur(1px);transform:rotate(-8deg);
}
#view-daily .atlas-planet-ringed {
  left:226vw;top:52%;width:33vw;min-width:245px;aspect-ratio:1;
  background:repeating-linear-gradient(160deg,#c8c1a7 0 11%,#8e9a9e 12% 18%,#e0d2b2 19% 25%,#7f8d99 26% 32%,#c5bfa9 33% 42%);
  box-shadow:inset -35px -18px 55px rgba(0,0,0,.76),inset 12px 7px 22px rgba(255,255,255,.22),0 0 70px rgba(120,183,214,.16);
  animation:atlas-planet-float 42s ease-in-out infinite reverse;
}
#view-daily .atlas-planet-ring { left:-34%;top:37%;width:168%;height:36%;border-width:10px; }
#view-daily .atlas-planet-neptune {
  left:317vw;top:48%;width:23vw;min-width:180px;aspect-ratio:1;
  background:radial-gradient(circle at 30% 25%,#a9dbed,#27649d 55%,#061d4b);
  box-shadow:inset -28px -18px 45px rgba(0,0,0,.76),inset 9px 6px 18px rgba(255,255,255,.18),0 0 70px rgba(73,133,223,.22);
}
#view-daily .atlas-flight-streak {
  left:0;right:auto;width:360vw;opacity:.22;
  background:repeating-linear-gradient(90deg,transparent 0 13%,rgba(133,206,231,.13) 13.05%,transparent 13.12% 23%);
}
@keyframes atlas-earth-float { 0%,100%{margin-top:0} 50%{margin-top:-10px} }
#view-daily .atlas-flight-craft {
  position:absolute;z-index:1;left:50%;bottom:9%;width:36px;height:18px;transform:translateX(-50%);
  opacity:.52;filter:drop-shadow(0 0 12px rgba(119,214,240,.55));pointer-events:none;
}
#view-daily .atlas-flight-craft::before {
  content:"";position:absolute;left:11px;top:1px;width:15px;height:15px;
  border:1px solid rgba(202,243,255,.86);background:linear-gradient(145deg,#91d8e9,#244b78);
  clip-path:polygon(50% 0,100% 100%,50% 76%,0 100%);
}
#view-daily .atlas-flight-craft::after {
  content:"";position:absolute;left:16px;top:12px;width:5px;height:18px;
  background:linear-gradient(180deg,rgba(115,221,241,.9),transparent);
}
#view-daily .atlas-flight-craft span {
  position:absolute;left:50%;top:13px;width:24px;height:5px;transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,#6aa9d2,transparent);opacity:.6;
}
#view-daily .atlas-ascent-scene { transition:opacity .2s ease; }
#view-daily .ascent-rise-flare.climbing { animation:flight-tick .8s ease both; }
@keyframes flight-tick { 0%{opacity:0} 30%{opacity:.9} 100%{opacity:0} }

#view-daily .daily-ascent-panel {
  width:min(780px,100%);margin:11px auto 0;padding:7px 12px 6px;grid-template-columns:1fr;gap:5px;
  background:rgba(5,17,36,.68);border-color:rgba(110,178,212,.22);
}
#view-daily .daily-ascent-heading { gap:10px; }
#view-daily .daily-ascent-heading>div:first-child strong { font-size:11px; }
#view-daily .daily-ascent-readout strong { font-size:16px; }
#view-daily .daily-ascent-scene { height:7px;min-height:7px; }
#view-daily .ascent-altitude-track { height:3px; }
#view-daily .ascent-explorer { width:8px;height:8px;font-size:0;box-shadow:0 0 8px rgba(126,224,236,.75); }
#view-daily .daily-ascent-footer { font-size:10px; }
#view-daily .daily-ascent-footer strong { font-size:10px; }

#view-daily .daily-play {
  width:min(760px,100%);min-height:calc(100svh - 275px);margin:11px auto 0;padding:0 0 20px;
  display:flex;flex-direction:column;justify-content:flex-start;gap:10px;
}
#view-daily .question-top { padding:0 2px 2px;gap:11px; }
#view-daily .atlas-question-card {
  min-height:122px;padding:16px 26px 17px;border-radius:3px;
  background:linear-gradient(145deg,rgba(8,25,49,.72),rgba(7,19,40,.54));
  box-shadow:0 10px 34px rgba(0,0,0,.13),inset 0 1px rgba(255,255,255,.05);
  backdrop-filter:blur(8px);
}
#view-daily .question-category { margin:0 0 8px;padding:4px 10px;font-size:11px; }
#view-daily .daily-question { font-size:clamp(23px,3vw,34px);margin-bottom:4px; }
#view-daily .question-note { font-size:13px; }
#view-daily .atlas-answer-dock {
  width:min(630px,100%);margin:auto auto 0;padding:10px 12px 8px;
  background:rgba(5,18,36,.66);box-shadow:0 9px 28px rgba(0,0,0,.16);
  backdrop-filter:blur(8px);
}
#view-daily .answer-form input { min-height:48px;font-size:17px; }
#view-daily .answer-form .button-primary { min-height:48px;min-width:120px;font-size:14px; }
#view-daily .answer-feedback { min-height:17px;padding-top:5px; }
#view-daily .question-tools { margin-top:0; }
#view-daily .daily-complete {
  width:min(940px,100%);max-height:calc(100svh - 155px);overflow:auto;
  padding:22px clamp(14px,3vw,30px);margin:auto;
  scrollbar-color:#426c8b #0a1e39;
}
#view-daily .daily-complete h2 { margin:4px 0 5px;font-size:29px; }
#view-daily .daily-complete>.complete-score { margin:9px auto; }
#view-daily .atlas-flight-summary {
  margin:15px 0 12px;padding:14px;border:1px solid rgba(109,177,213,.34);border-radius:3px;
  background:linear-gradient(145deg,rgba(8,28,54,.88),rgba(8,19,39,.9));text-align:left;
}
#view-daily .atlas-flight-summary-heading { display:flex;align-items:center;justify-content:space-between;gap:12px; }
#view-daily .atlas-flight-summary-heading .micro-label { color:#85dce8;font:11px 'VT323',monospace;letter-spacing:.13em; }
#view-daily .atlas-flight-summary-heading>strong { color:#f0c47b;font:14px 'VT323',monospace; }
#view-daily .atlas-flight-stats { display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0; }
#view-daily .atlas-flight-stats article {
  min-width:0;padding:9px 11px;border:1px solid rgba(94,144,180,.26);background:rgba(17,42,69,.48);
}
#view-daily .atlas-flight-stats article>span { display:block;color:#88aeca;font:10px 'VT323',monospace;letter-spacing:.09em; }
#view-daily .atlas-flight-stats article>strong { display:block;margin:3px 0;color:#c3f2f1;font:24px 'VT323',monospace; }
#view-daily .atlas-flight-stats article>small { color:#8daac3;font:11px 'VT323',monospace; }
#view-daily .atlas-flight-graph-wrap { padding:8px 8px 1px;border:1px solid rgba(80,132,168,.2);background:rgba(4,15,32,.4); }
#view-daily .atlas-flight-graph-legend { display:flex;flex-wrap:wrap;gap:13px;color:#91afc8;font:11px 'VT323',monospace; }
#view-daily .atlas-flight-graph-legend span { display:flex;align-items:center;gap:6px; }
#view-daily .atlas-flight-graph-legend i { display:inline-block;width:12px;height:3px;background:#8bdfe9; }
#view-daily .atlas-flight-graph-legend .legend-popular { background:#f4c27b; }
#view-daily .atlas-flight-graph { min-height:190px;color:#9ab5ce;font:13px 'VT323',monospace;text-align:center; }
#view-daily .flight-distribution-svg { display:block;width:100%;height:auto;overflow:visible; }
#view-daily .flight-chart-grid { stroke:rgba(126,169,201,.15);stroke-width:1;stroke-dasharray:3 5; }
#view-daily .flight-chart-y-label { fill:#6f91ad;font:11px 'VT323',monospace; }
#view-daily .flight-chart-x-label { fill:#96b5ce;font:11px 'VT323',monospace; }
#view-daily .flight-chart-count { fill:#d8eff9;font:12px 'VT323',monospace; }
#view-daily .flight-chart-axis-title { fill:#87a8c2;font:11px 'VT323',monospace;letter-spacing:.08em; }
#view-daily .flight-chart-bar { fill:url(#flightBarBlue);opacity:.82; }
#view-daily .flight-chart-bar:hover { opacity:1; }
#view-daily .flight-chart-average { stroke:#8be5eb;stroke-width:2;stroke-dasharray:4 4; }
#view-daily .flight-chart-average-label { fill:#9cf0ee;font:12px 'VT323',monospace; }
#view-daily .flight-chart-count { paint-order:stroke;stroke:#081a31;stroke-width:3px;stroke-linejoin:round; }
#view-daily .flight-distribution-svg .is-popular .flight-chart-bar { fill:url(#flightBarGold);opacity:1; }
#view-daily .flight-distribution-svg .is-popular .flight-chart-x-label { fill:#f7cd8c; }
#view-daily .atlas-flight-participants { margin:8px 0 0;color:#88a5c0;font:11px 'VT323',monospace;text-align:center; }
#view-daily .daily-complete>.quiet-note { margin:6px 0 10px!important; }
#view-daily .daily-complete>.button { max-width:520px;min-height:38px;margin:4px auto; }
#view-daily .daily-complete .complete-score strong { font-size:34px; }

@media(max-width:820px) {
  #view-daily .daily-play { min-height:calc(100svh - 310px); }
  #view-daily .atlas-planet-earth { left:-4vw;width:58vw; }
  #view-daily .atlas-planet-jupiter { left:145vw;width:58vw; }
  #view-daily .daily-complete { max-height:calc(100svh - 175px); }
}
@media(max-width:600px) {
  #view-daily .daily-ascent-panel { margin-top:7px;padding:6px 8px; }
  #view-daily .daily-ascent-heading>div:first-child span { font-size:9px; }
  #view-daily .daily-ascent-heading>div:first-child strong { font-size:9px; }
  #view-daily .daily-ascent-readout strong { font-size:14px; }
  #view-daily .daily-ascent-readout small { font-size:8px; }
  #view-daily .daily-ascent-footer { font-size:9px; }
  #view-daily .daily-play { min-height:calc(100svh - 285px);padding-bottom:12px;gap:8px; }
  #view-daily .atlas-question-card { min-height:110px;padding:12px 12px 13px; }
  #view-daily .daily-question { font-size:clamp(22px,6.5vw,29px); }
  #view-daily .question-note { font-size:11px; }
  #view-daily .atlas-answer-dock { padding:8px; }
  #view-daily .answer-form { grid-template-columns:minmax(0,1fr) auto; }
  #view-daily .answer-form input { min-height:44px;padding:0 10px;font-size:15px; }
  #view-daily .answer-form .button-primary { min-height:44px;min-width:92px;padding:0 8px;font-size:12px; }
  #view-daily .daily-complete { max-height:calc(100svh - 135px);padding:16px 10px; }
  #view-daily .atlas-flight-summary { padding:9px; }
  #view-daily .atlas-flight-summary-heading { align-items:flex-start;flex-direction:column;gap:3px; }
  #view-daily .atlas-flight-stats { gap:6px; }
  #view-daily .atlas-flight-stats article { padding:7px; }
  #view-daily .atlas-flight-stats article>span { font-size:8px; }
  #view-daily .atlas-flight-stats article>strong { font-size:18px; }
  #view-daily .atlas-flight-stats article>small { font-size:9px; }
  #view-daily .atlas-flight-graph-legend { gap:8px;font-size:9px; }
  #view-daily .atlas-flight-graph { min-height:130px; }
  #view-daily .atlas-planet-earth { left:-20vw;width:78vw; }
  #view-daily .atlas-planet-red { left:82vw;width:17vw; }
  #view-daily .atlas-planet-jupiter { left:142vw;width:65vw; }
  #view-daily .atlas-planet-ringed { left:230vw;width:48vw; }
  #view-daily .atlas-planet-neptune { left:317vw;width:34vw; }
  #view-daily .atlas-flight-craft { bottom:16%;transform:translateX(-50%) scale(.75); }
}
body.reduce-motion #view-daily .atlas-space-world,
body.reduce-motion #view-daily .atlas-stars,
body.reduce-motion #view-daily .atlas-flight-craft { transition:none !important;animation:none !important; }
@media(prefers-reduced-motion:reduce) {
  #view-daily .atlas-space-world,#view-daily .atlas-stars { transition:none !important; }
}


/* Atlas Daily — exponential camera flight and compact discovery feedback */
#view-daily .atlas-space-world {
  width:360vw;
  transform:translate3d(var(--flight-offset,19.26vw),0,0) scale(var(--flight-zoom,1.16));
  transform-origin:0 50%;
  transition:transform 5.4s cubic-bezier(.12,.82,.18,1);
  will-change:transform;
}
#view-daily .atlas-space-world .atlas-stars {
  transform:translate3d(var(--flight-stars-offset,0vw),0,0);
  transition:transform 5.4s cubic-bezier(.12,.82,.18,1);
}
#view-daily .daily-play { position:relative;min-height:calc(100svh - 185px);padding-top:16px; }
#view-daily .question-top #daily-archive-exit { flex:0 0 auto;margin-left:2px;padding:4px 8px;font-size:11px; }
.atlas-answer-reaction {
  position:fixed;z-index:9;top:clamp(94px,14vh,142px);right:clamp(14px,4vw,58px);
  display:flex;align-items:center;gap:11px;min-width:190px;padding:11px 15px;
  border:1px solid rgba(124,220,231,.5);border-radius:4px;color:#eaf8ff;
  background:linear-gradient(145deg,rgba(8,31,59,.94),rgba(4,17,36,.9));
  box-shadow:0 9px 26px rgba(0,0,0,.25),0 0 22px rgba(101,211,229,.12);
  backdrop-filter:blur(12px);opacity:0;transform:translateY(-8px) scale(.97);pointer-events:auto;
}
.atlas-answer-reaction[hidden] { display:none !important; }
.atlas-answer-reaction.visible { animation:atlas-reaction-in .28s ease-out forwards; }
.atlas-reaction-icon { display:grid;place-items:center;width:29px;height:29px;border:1px solid rgba(243,190,117,.55);border-radius:50%;color:#f4c47b;background:rgba(243,190,117,.11);font:20px 'VT323',monospace; }
.atlas-answer-reaction>div { display:grid;gap:2px; }
.atlas-answer-reaction strong { color:#a6edf0;font:17px 'VT323',monospace;letter-spacing:.12em; }
.atlas-answer-reaction small { color:#f3c47b;font:12px 'VT323',monospace;letter-spacing:.05em; }
.atlas-answer-reaction em { max-width:220px;overflow:hidden;color:#92acc5;font:11px 'VT323',monospace;font-style:normal;text-overflow:ellipsis;white-space:nowrap; }
.atlas-answer-reaction[data-rarity="0"] .atlas-reaction-icon,
.atlas-answer-reaction[data-rarity="1"] .atlas-reaction-icon { border-color:rgba(129,196,221,.45);color:#a8d9eb;background:rgba(72,145,177,.12); }
.atlas-answer-reaction[data-rarity="4"] .atlas-reaction-icon,
.atlas-answer-reaction[data-rarity="5"] .atlas-reaction-icon { border-color:rgba(243,190,117,.7);color:#ffd28d;background:rgba(243,190,117,.15); }
@keyframes atlas-reaction-in { to { opacity:1;transform:translateY(0) scale(1); } }

/* Globe Rush — keep a local answer draft ready while the Orb is elsewhere */
#view-party .rush-answer-area {
  width:min(760px,100%);max-width:760px;margin:0 auto;padding:13px 14px 10px;
  border:1px solid rgba(103,171,204,.38);border-radius:9px;
  background:linear-gradient(145deg,rgba(8,27,52,.93),rgba(5,17,37,.94));
  box-shadow:0 10px 28px rgba(0,0,0,.16),inset 0 1px rgba(255,255,255,.05);
}
#view-party .rush-answer-area .answer-form { gap:9px; }
#view-party .rush-answer-area .answer-form input {
  min-height:50px;border:1px solid #3d6688;border-radius:5px;color:#eef8ff;background:#07182f;
  transition:border-color .18s,box-shadow .18s,background .18s;
}
#view-party .rush-answer-area .answer-form input:focus { border-color:#81dce8;outline:none;background:#0a203b;box-shadow:0 0 0 3px rgba(117,214,229,.12); }
#view-party #rush-submit { min-width:148px; }
#view-party #rush-submit:disabled { border-color:rgba(99,148,177,.38);color:#8caac1;background:rgba(24,48,74,.8);box-shadow:none;opacity:.82;cursor:default; }
#view-party .rush-suggestion { display:flex;align-items:center;gap:10px;margin-top:9px;padding:8px 10px;border:1px solid rgba(111,187,207,.3);border-radius:5px;background:rgba(13,38,65,.82); }
#view-party .rush-suggestion[hidden] { display:none !important; }
#view-party .rush-suggestion .suggestion-copy { color:#87cbd7;font:11px 'VT323',monospace;letter-spacing:.12em; }
#view-party .rush-suggestion .suggestion-choice { display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;padding:5px 8px;border:1px solid rgba(129,220,232,.35);border-radius:4px;color:#ecf8ff;background:rgba(25,74,101,.42);font:16px 'VT323',monospace;cursor:pointer; }
#view-party .rush-suggestion .suggestion-choice span { color:#91b8ce;font:10px 'VT323',monospace; }
#view-party .answer-feedback { min-height:19px;color:#a8c4d8; }
#view-party .rush-bottom-grid>div { padding:13px 14px;border:1px solid rgba(98,145,180,.23);border-radius:7px;background:rgba(8,26,49,.45); }
#view-party .rush-player-row { padding:7px 8px;border-bottom:1px solid rgba(112,153,182,.11);border-radius:3px; }
#view-party .rush-player-row.current { color:#a4edf0;background:rgba(77,169,188,.09); }
#view-party .used-answer-chip { border:1px solid rgba(107,160,187,.18);border-radius:4px;color:#a9c6d8;background:rgba(28,57,82,.66); }
#room-start { transition:opacity .2s,transform .2s; }
#room-start:not([hidden]):hover { transform:translateY(-2px); }

@media(max-width:600px) {
  #view-daily .daily-play { min-height:calc(100svh - 155px);padding-top:9px; }
  #view-daily .question-top #daily-archive-exit { padding:3px 5px;font-size:9px; }
  .atlas-answer-reaction { top:auto;right:12px;bottom:88px;min-width:165px;padding:8px 10px; }
  .atlas-reaction-icon { width:25px;height:25px; }
  .atlas-answer-reaction strong { font-size:15px; }
  .atlas-answer-reaction small { font-size:10px; }
  #view-party .rush-answer-area { padding:9px; }
  #view-party #rush-submit { min-width:108px;padding-inline:9px;font-size:11px; }
  #view-party .rush-suggestion { align-items:flex-start;flex-direction:column;gap:5px; }
  #view-party .rush-suggestion .suggestion-choice { width:100%; }
}
body.reduce-motion #view-daily .atlas-space-world,body.reduce-motion #view-daily .atlas-stars { transition:none !important; }
@media(prefers-reduced-motion:reduce) {
  #view-daily .atlas-space-world,#view-daily .atlas-stars { transition:none !important; }
  .atlas-answer-reaction.visible { animation:none;opacity:1;transform:none; }
}


/* Atlas Daily — linear flight through a much longer planet field */
#view-daily .atlas-space-world {
  width:760vw;
  transform:translate3d(calc(23.5vw - var(--flight-progress,0) * 681.5vw),0,0);
  transform-origin:0 50%;
  transition:transform var(--flight-duration,900ms) linear;
  will-change:transform;
}
#view-daily .atlas-stars { width:850vw;transition:transform var(--flight-duration,900ms) linear;will-change:transform; }
#view-daily .atlas-stars-far { transform:translate3d(calc(var(--flight-progress,0) * 235vw),0,0); }
#view-daily .atlas-stars-near { transform:translate3d(calc(var(--flight-progress,0) * 310vw),0,0); }
#view-daily .atlas-planet-earth {
  transform:translateY(-50%) scale(calc(1 - var(--flight-progress,0) * .82));
  transform-origin:50% 50%;transition:transform 1.7s linear;
}
#view-daily .atlas-planet-moon { left:58vw; }
#view-daily .atlas-planet-mercury { left:88vw;top:33%;width:7vw;min-width:58px;aspect-ratio:1;background:radial-gradient(circle at 30% 26%,#e4d4b8,#8e7665 56%,#3f3c46);box-shadow:inset -10px -7px 15px rgba(0,0,0,.72),0 0 24px rgba(220,194,160,.12); }
#view-daily .atlas-planet-venus { left:124vw;top:70%;width:13vw;min-width:92px;aspect-ratio:1;background:radial-gradient(circle at 30% 25%,#ffe1a9,#c88848 46%,#70452f);box-shadow:inset -17px -10px 24px rgba(0,0,0,.66),0 0 32px rgba(236,172,100,.18); }
#view-daily .atlas-planet-red { left:169vw;top:42%;width:12vw;min-width:88px;aspect-ratio:1; }
#view-daily .atlas-planet-jupiter { left:230vw;right:auto;top:34%;width:45vw;min-width:330px;aspect-ratio:1; }
#view-daily .atlas-planet-ringed { left:330vw;right:auto;top:55%;bottom:auto;width:30vw;min-width:230px;aspect-ratio:1; }
#view-daily .atlas-planet-neptune { left:420vw;right:auto;top:47%;bottom:auto;width:22vw;min-width:170px;aspect-ratio:1; }
#view-daily .atlas-planet-uranus { left:500vw;top:25%;width:19vw;min-width:148px;aspect-ratio:1;background:radial-gradient(circle at 31% 25%,#e2fcf7,#8ccbc7 48%,#3e7895 82%);box-shadow:inset -24px -14px 32px rgba(0,0,0,.68),0 0 55px rgba(114,214,216,.18); }
#view-daily .atlas-planet-uranus::after { content:"";position:absolute;left:-22%;top:42%;width:144%;height:19%;border:5px solid rgba(178,226,223,.36);border-radius:50%;transform:rotate(-18deg); }
#view-daily .atlas-planet-pluto { left:565vw;top:70%;width:9vw;min-width:68px;aspect-ratio:1;background:radial-gradient(circle at 32% 25%,#f0d8bd,#a88b7f 58%,#514859);box-shadow:inset -10px -7px 18px rgba(0,0,0,.7),0 0 20px rgba(211,181,165,.1); }
#view-daily .atlas-planet-violet { left:610vw;top:20%;width:42vw;min-width:300px;aspect-ratio:1;background:radial-gradient(ellipse at 32% 23%,rgba(255,255,255,.7),transparent 4%),repeating-linear-gradient(168deg,#c6a5d5 0 9%,#78598e 10% 17%,#a77cbb 18% 24%,#493d70 25% 33%,#c6a5d5 34% 42%);box-shadow:inset -45px -25px 65px rgba(0,0,0,.72),inset 14px 8px 28px rgba(255,255,255,.2),0 0 85px rgba(155,111,202,.22); }
#view-daily .atlas-planet-gold { left:690vw;top:52%;width:36vw;min-width:260px;aspect-ratio:1;background:radial-gradient(ellipse at 30% 22%,rgba(255,255,255,.7),transparent 4%),repeating-linear-gradient(172deg,#e7c58e 0 9%,#9e6c45 10% 17%,#d6a86f 18% 27%,#765640 28% 35%,#e7c58e 36% 44%);box-shadow:inset -40px -22px 60px rgba(0,0,0,.72),inset 12px 7px 22px rgba(255,255,255,.18),0 0 80px rgba(221,168,101,.16); }
#view-daily .atlas-asteroid-field { position:absolute;left:370vw;top:0;width:50vw;height:100%;opacity:.7;pointer-events:none;background:radial-gradient(3px 3px at 8% 27%,#aeb9cb 90%,transparent),radial-gradient(2px 2px at 20% 64%,#d1c3aa 90%,transparent),radial-gradient(4px 4px at 37% 44%,#8997ac 90%,transparent),radial-gradient(2px 2px at 58% 19%,#d1c3aa 90%,transparent),radial-gradient(3px 3px at 74% 77%,#aeb9cb 90%,transparent),radial-gradient(2px 2px at 91% 38%,#d1c3aa 90%,transparent); }
.atlas-answer-reaction { min-width:210px; }
.atlas-continue-button { justify-self:start;margin-top:5px;padding:5px 10px;border:1px solid rgba(129,220,232,.55);border-radius:3px;color:#07192f;background:#8be5ed;box-shadow:0 2px 0 #315f91;font:13px 'VT323',monospace;letter-spacing:.08em;cursor:pointer;transition:background .16s,transform .16s; }
.atlas-continue-button:hover { background:#b1f3ef;transform:translateY(-1px); }
.atlas-continue-button:focus-visible { outline:2px solid #fff;outline-offset:3px; }
.cookie-banner { position:fixed;z-index:50;right:18px;bottom:18px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;width:min(760px,calc(100vw - 36px));padding:16px 18px;border:1px solid rgba(109,183,213,.35);border-radius:8px;color:#eaf5ff;background:linear-gradient(145deg,rgba(7,24,46,.97),rgba(4,15,31,.97));box-shadow:0 18px 60px rgba(0,0,0,.4);backdrop-filter:blur(16px); }
.cookie-banner[hidden] { display:none !important; }
.cookie-banner-copy .micro-label { color:#8bdbe7;font:12px 'VT323',monospace;letter-spacing:.15em; }
.cookie-banner-copy p { margin:5px 0 0;color:#b5c8dc;font:14px/1.4 'VT323',monospace; }
.cookie-banner-actions { display:flex;align-items:center;gap:8px; }
.cookie-banner-actions button { min-height:34px;padding:0 11px;font:13px 'VT323',monospace;white-space:nowrap; }
.policy-modal { max-width:720px; }
.policy-content { max-height:min(65vh,640px);overflow:auto;padding:0 2px 10px;color:#becddc; }
.policy-content h3 { margin:20px 0 5px;color:#92e1e9;font:18px 'VT323',monospace;letter-spacing:.04em; }
.policy-content p { margin:7px 0 12px;font-size:13px;line-height:1.65; }
.policy-content code { color:#f2cb8b; }
.policy-content .policy-updated { margin-top:0;color:#8ca9c2;font:12px 'VT323',monospace; }
.policy-content .policy-disclaimer { margin-top:18px;padding:11px 12px;border-left:2px solid #e6bb78;background:rgba(222,173,103,.08);color:#dfcfb5; }
:where(button,a,input,select,textarea):focus-visible { outline:2px solid #80dce8;outline-offset:3px; }
@media(max-width:700px) { .cookie-banner { right:10px;bottom:10px;width:calc(100vw - 20px);grid-template-columns:1fr;gap:10px;padding:12px; } .cookie-banner-actions { justify-content:flex-end; } .cookie-banner-copy p { font-size:13px; } }
@media(prefers-reduced-motion:reduce) { #view-daily .atlas-space-world,#view-daily .atlas-stars,#view-daily .atlas-planet-earth { transition:none !important; } #view-daily .atlas-planet-earth { transform:translateY(-50%) scale(calc(1 - var(--flight-progress,0) * .82)); } }


/* Atlas Daily — rarity tag that makes one celebratory flight after each answer */
.atlas-flying-rarity {
  --rarity-accent:#79d9e8;
  position:fixed;
  z-index:28;
  top:0;
  left:0;
  display:flex;
  align-items:center;
  gap:8px;
  min-width:126px;
  padding:7px 12px 7px 9px;
  border:1px solid color-mix(in srgb,var(--rarity-accent) 66%,transparent);
  border-left:3px solid var(--rarity-accent);
  border-radius:4px 12px 12px 4px;
  color:#f0f8ff;
  background:linear-gradient(118deg,rgba(7,25,46,.97),rgba(12,39,66,.9));
  box-shadow:0 8px 26px rgba(0,0,0,.34),0 0 20px color-mix(in srgb,var(--rarity-accent) 22%,transparent);
  backdrop-filter:blur(10px);
  pointer-events:none;
  opacity:0;
  will-change:transform,opacity;
}
.atlas-flying-rarity[hidden] { display:none !important; }
.atlas-flying-rarity[data-rarity="0"] { --rarity-accent:#8fc7df; }
.atlas-flying-rarity[data-rarity="1"] { --rarity-accent:#72d9d0; }
.atlas-flying-rarity[data-rarity="2"] { --rarity-accent:#9cda91; }
.atlas-flying-rarity[data-rarity="3"] { --rarity-accent:#f1c56f; }
.atlas-flying-rarity[data-rarity="4"] { --rarity-accent:#eda1cb; }
.atlas-flying-rarity[data-rarity="5"] { --rarity-accent:#ffe08a; }
.atlas-flying-rarity-icon {
  display:grid;
  place-items:center;
  width:23px;
  height:23px;
  flex:0 0 23px;
  border:1px solid color-mix(in srgb,var(--rarity-accent) 52%,transparent);
  border-radius:50%;
  color:var(--rarity-accent);
  font-size:15px;
  text-shadow:0 0 10px var(--rarity-accent);
}
.atlas-flying-rarity-copy { display:flex;flex-direction:column;gap:1px; }
.atlas-flying-rarity-copy strong {
  color:var(--rarity-accent);
  font:16px/1 'VT323',monospace;
  letter-spacing:.12em;
  white-space:nowrap;
}
.atlas-flying-rarity-copy small {
  color:#d6e4f1;
  font:12px/1 'VT323',monospace;
  letter-spacing:.1em;
  white-space:nowrap;
}
.atlas-flying-rarity.is-flying { animation:atlas-rarity-flight 6.4s cubic-bezier(.45,.04,.2,.98) both; }
@keyframes atlas-rarity-flight {
  0% { opacity:0;transform:translate3d(4vw,13vh,0) rotate(-9deg) scale(.72); }
  8% { opacity:1;transform:translate3d(4vw,13vh,0) rotate(-5deg) scale(1); }
  23% { opacity:1;transform:translate3d(49vw,17vh,0) rotate(7deg) scale(1); }
  43% { opacity:1;transform:translate3d(51vw,62vh,0) rotate(-5deg) scale(.98); }
  64% { opacity:1;transform:translate3d(9vw,69vh,0) rotate(8deg) scale(1.02); }
  83% { opacity:1;transform:translate3d(29vw,37vh,0) rotate(-4deg) scale(.98); }
  94% { opacity:1;transform:translate3d(5vw,14vh,0) rotate(2deg) scale(.96); }
  100% { opacity:0;transform:translate3d(5vw,14vh,0) rotate(8deg) scale(.7); }
}
body.reduce-motion .atlas-flying-rarity.is-flying {
  animation:none;
  opacity:1;
  transform:translate3d(5vw,14vh,0);
}
@media(max-width:640px) {
  .atlas-flying-rarity { min-width:112px;padding:6px 9px 6px 7px; }
  .atlas-flying-rarity-copy strong { font-size:15px; }
  .atlas-flying-rarity-copy small { font-size:11px; }
  @keyframes atlas-rarity-flight {
    0% { opacity:0;transform:translate3d(3vw,13vh,0) rotate(-9deg) scale(.72); }
    8% { opacity:1;transform:translate3d(3vw,13vh,0) rotate(-5deg) scale(1); }
    23% { opacity:1;transform:translate3d(39vw,18vh,0) rotate(7deg) scale(1); }
    43% { opacity:1;transform:translate3d(42vw,61vh,0) rotate(-5deg) scale(.98); }
    64% { opacity:1;transform:translate3d(3vw,68vh,0) rotate(8deg) scale(1.02); }
    83% { opacity:1;transform:translate3d(26vw,37vh,0) rotate(-4deg) scale(.98); }
    94% { opacity:1;transform:translate3d(3vw,14vh,0) rotate(2deg) scale(.96); }
    100% { opacity:0;transform:translate3d(3vw,14vh,0) rotate(8deg) scale(.7); }
  }
}
@media(prefers-reduced-motion:reduce) {
  .atlas-flying-rarity.is-flying { animation:none;opacity:1;transform:translate3d(4vw,13vh,0); }
}
