@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --hud: 64px;
  --ink: #090b10;
  --ink-2: #171b24;
  --gold: #bcc7da;
  --gold-2: #eef2fa;
  --mint: #8fd9b0;
  --mint-2: #d7f6e6;
  --paper: #f3f5fa;
  --cesa-dim: #aab4c4;
  --cinema: #0b0c11;
  --cinema-2: #191b23;
  --cream: #f3f5fa;
  --ember: #e83147;
  --honey: #f65b6e;
  --honey-2: #ffc8d0;
  --mute: #adb1bd;
  --line: rgba(246, 239, 228, 0.12);
  --danger: #ff5d5d;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Manrope", "Segoe UI Variable", "Segoe UI", sans-serif;
  color: var(--cream);
  background: var(--ink);
  text-rendering: optimizeLegibility;
  accent-color: var(--ember);
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(255, 77, 46, 0.55); color: white; }
* { scrollbar-color: rgba(255, 176, 32, 0.6) rgba(255, 255, 255, 0.08); scrollbar-width: thin; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
img { max-width: 100%; }

body.is-cesa {
  background: var(--ink);
  color: var(--paper);
}
body.is-lumen {
  background: linear-gradient(90deg, rgba(11,12,17,.94), rgba(11,12,17,.85)), url("assets/lumen-corridor.svg") center / cover fixed;
  color: var(--cream);
}

#hud {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--hud);
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 22px;
  background: rgba(9, 11, 16, 0.9);
  color: var(--paper);
  border-bottom: 1px solid rgba(143, 217, 176, 0.3);
  backdrop-filter: blur(18px) saturate(1.3);
}
#hud[hidden] { display: none !important; }
.hud-brand {
  display: flex;
  flex-direction: column;
  min-width: 148px;
}
.hud-brand strong {
  font-family: Georgia, "Palatino Linotype", serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: var(--gold-2);
}
.hud-brand span {
  color: var(--cesa-dim);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hud-stat { display: flex; flex-direction: column; min-width: 110px; }
.hud-stat em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.hud-stat b {
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.hud-status {
  margin-left: auto;
  text-align: right;
  max-width: 420px;
}
.hud-status b { display: block; color: var(--mint-2); font-size: 14px; }
.hud-status span { color: var(--cesa-dim); font-size: 12px; }
.hud-toast {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translate(-50%, 100%);
  background: #3a1210;
  color: #ffd0c8;
  border: 1px solid rgba(255, 93, 93, 0.5);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  width: max-content;
  max-width: calc(100vw - 32px);
  overflow-wrap: anywhere;
  box-shadow: var(--shadow);
}

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.kicker {
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 12px;
}
h1, h2, .serif { font-family: "Manrope", "Segoe UI Variable", "Segoe UI", sans-serif; font-weight: 700; }
.attract { padding: 54px 0 80px; }
.attract h1 {
  font-size: 80px;
  line-height: 0.92;
  margin: 0 0 18px;
  max-width: 14ch;
}
.lede { font-size: 20px; max-width: 46ch; color: var(--paper); margin: 0 0 22px; }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.rule {
  border-top: 1px solid rgba(224, 180, 74, 0.45);
  padding: 14px 0 4px;
  background: transparent;
}
.rule b { display: block; color: var(--mint); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.rule p { margin: 0; color: var(--cesa-dim); }
.name-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.field-label {
  display: grid;
  gap: 7px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 700;
}
.field-label > span {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.name-row input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gold);
  padding: 12px 2px;
  min-width: min(320px, 100%);
  border-radius: 0;
}
.name-row input::placeholder { color: #6d7668; }
.mint-btn, .texty {
  border: none;
  background: var(--mint);
  color: #102117;
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 700;
}
.texty { background: transparent; color: var(--gold-2); padding-inline: 8px; }
.fine-note { color: var(--cesa-dim); font-size: 13px; max-width: 70ch; }
.fine-note a { color: var(--gold-2); }

.lumen-top {
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 14px;
  border: 1px solid rgba(246, 239, 228, 0.08);
  border-radius: 8px;
  padding: 16px 18px;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(1.35);
}
.wordmark {
  font-family: "Segoe UI", sans-serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.16em;
  margin: 0;
}
.wordmark i { color: var(--ember); font-style: normal; }
.lumen-nav { display: flex; gap: 16px; color: var(--mute); font-size: 14px; }
.lumen-nav button, .linkish {
  background: none;
  border: none;
  color: inherit;
  padding: 0;
}
.nav-cancel {
  color: #6d625c !important;
  font-size: 12px;
}
.member-pill {
  margin-left: auto;
  border: 1px solid rgba(255, 176, 32, 0.4);
  color: var(--honey-2);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lumen-stage {
  width: min(1180px, calc(100% - 48px));
  margin: 22px auto 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px 28px;
  align-items: start;
}
.lumen-main { width: auto; margin: 0; min-width: 0; }
.lumen-stage .footer-links { grid-column: 1 / -1; margin: 8px 0 0; }
.hero-row h2 { font-size: 48px; margin: 8px 0; line-height: 1; }
.muted { color: var(--mute); }
.tiny { font-size: 12px; color: var(--mute); line-height: 1.45; }
.row-title { margin: 22px 0 10px; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--honey-2); }
.posters, .plans { display: grid; gap: 12px; }
.posters { grid-template-columns: repeat(5, 1fr); }
.poster {
  background: var(--poster-color);
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  align-items: flex-end;
  font-family: Georgia, "Palatino Linotype", serif;
  font-size: 22px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -52px 58px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255,255,255,0.12), 0 14px 32px rgba(0,0,0,0.28);
}
.poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), transparent 38%, rgba(0,0,0,0.2));
  pointer-events: none;
}
.poster { isolation: isolate; }
.poster { text-shadow: 0 2px 16px rgba(0,0,0,0.6); }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: hue-rotate(var(--poster-shift)); z-index: -1; }
.poster span { position: relative; }
.poster small { display: block; font: 9px "Segoe UI", sans-serif; margin-bottom: 7px; }
.poster::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #05070ce8); z-index: -1; }
.plans { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.plan, .card, .panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(20px) saturate(1.25);
}
.plan { text-align: left; width: 100%; color: var(--cream); min-height: 168px; transition: border-color 0.15s ease, transform 0.15s ease; }
.plan:hover { transform: translateY(-2px); }
.plan.is-on { border-color: var(--honey); box-shadow: 0 0 0 1px var(--honey), 0 16px 40px rgba(255, 176, 32, 0.12); }
.plan .price { font-family: Georgia, serif; font-size: 32px; display: block; margin: 8px 0; }
.plan .badge {
  display: inline-block;
  background: var(--ember);
  color: white;
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.checks { display: grid; gap: 8px; margin: 16px 0; }
.checks label, .stack label { display: flex; gap: 10px; align-items: flex-start; }
.urgency {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 77, 46, 0.12);
  border: 1px solid rgba(255, 77, 46, 0.28);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 12px 0;
}
.due {
  font-family: Georgia, serif;
  font-size: 72px;
  margin: 0;
  line-height: 0.9;
}
.choice-col, .stack { display: grid; gap: 10px; }
.paperwork-form label { display: grid; gap: 8px; min-width: 0; }
.paperwork-form input, .paperwork-form select { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }
.paperwork-form select { padding: 12px; background: #191c25; border: 1px solid #686873; border-radius: 6px; }
.paperwork-form select:focus-visible { outline: 2px solid #99dab6; outline-offset: 3px; }
.split-3 { grid-template-columns: repeat(3, 1fr); margin: 16px 0 8px; }
.bn {
  border-radius: 8px;
  border: 1px solid transparent;
  text-align: left;
  line-height: 1.35;
}
.bn-loud {
  background: linear-gradient(180deg, #f44056, #c81f37);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 14px 18px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(201, 30, 53, 0.22);
}
.bn-loud:hover { filter: brightness(1.05); }
.bn-mid {
  background: transparent;
  border-color: rgba(246, 239, 228, 0.35);
  padding: 12px 14px;
}
.bn-quiet {
  background: transparent;
  color: #b7aea6;
  border: none;
  padding: 6px 2px;
  font-size: 14px;
}
.bn-micro {
  background: transparent;
  border: none;
  color: #a89890;
  font-size: 12.5px;
  padding: 8px 2px;
  width: fit-content;
  min-height: 32px;
}
.bn-danger {
  background: var(--ember);
  color: white;
  font-weight: 800;
  padding: 16px 18px;
  border-radius: 8px;
  width: 100%;
}
.panel h2 { margin-top: 0; }
.grid-2 { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 16px; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-grid button, .result {
  text-align: left;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 14px;
}
.crumbs { color: var(--mute); font-size: 13px; margin-bottom: 8px; }
.crumbs button { background: none; border: none; color: var(--mute); padding: 0; }
.false-win {
  text-align: center;
  padding: 28px 12px;
}
.false-win h2 { font-size: 48px; margin-bottom: 0; }
#hold-count {
  color: var(--honey);
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: 22px;
}
.phone {
  width: min(420px, 100%);
  margin: 0 auto;
  background: #070605;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
}
.phone-screen {
  background: #16110e;
  border-radius: 8px;
  min-height: 280px;
  padding: 14px;
}
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.keypad button {
  background: #2a221c;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 18px;
}
.app-frame {
  width: min(360px, 100%);
  margin: 0 auto;
  background: #0e0c0b;
  border: 10px solid #2a2420;
  border-radius: 22px;
  min-height: 560px;
  padding: 18px 14px 24px;
  box-shadow: var(--shadow);
}
.chat {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
.bubble {
  background: #2a211c;
  border-radius: 8px 8px 8px 3px;
  padding: 10px 12px;
  max-width: 68ch;
}
.bubble.me {
  background: #3a2a12;
  margin-left: auto;
  border-radius: 8px 8px 3px 8px;
}
.survey-layout { display: flex; flex-direction: column; max-height: min(70vh, 640px); }
.survey-scroll { overflow: auto; padding-right: 6px; min-height: 0; }
.sticky-trap {
  padding-top: 12px;
  background: linear-gradient(transparent, var(--cinema) 24%);
}
.loss-list { margin: 0; padding-left: 18px; color: var(--mute); }
.loss-list li { margin: 6px 0; }
input[type="text"], input[type="password"] {
  background: #1a1411;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
body.is-cesa input[type="text"], body.is-cesa input[type="password"] {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
}
.takeover {
  position: fixed;
  inset: var(--hud) 0 0 0;
  background: rgba(8, 5, 4, 0.78);
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  backdrop-filter: blur(20px) saturate(1.25);
  overscroll-behavior: contain;
}
.takeover-card {
  width: min(640px, 100%);
  text-align: center;
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 28px 90px rgba(0,0,0,0.45);
}
.takeover [role="dialog"]:focus {
  outline: none;
}
.takeover-card h2 {
  font-size: 40px;
  margin: 0;
  color: var(--honey-2);
}
.count {
  font-family: Consolas, monospace;
  font-size: 64px;
  margin: 0;
}
.board { padding: 28px 0 50px; }
.board-top { display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.board h1 { font-size: 60px; line-height: 1; margin: 0; }
.giants { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.giant {
  background: linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.025));
  border: 1px solid rgba(224, 180, 74, 0.3);
  border-radius: 8px;
  padding: 16px 18px;
  backdrop-filter: blur(16px);
}
.giant b {
  display: block;
  font-family: Consolas, monospace;
  font-size: 60px;
  line-height: 1;
}
.live-strip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(143, 217, 176, 0.4);
  border-bottom: 1px solid rgba(143, 217, 176, 0.4);
  padding: 12px 0;
  margin-bottom: 18px;
}
.boards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.boards ol { list-style: none; margin: 0; padding: 0; }
.boards li, .live-strip {
  font-variant-numeric: tabular-nums;
}
.boards li {
  display: grid;
  grid-template-columns: 36px 1fr auto auto;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: baseline;
}
.boards .who { font-family: Georgia, serif; font-size: 22px; }
.zero { color: var(--mint); }
.host {
  margin-top: 28px;
  color: var(--cesa-dim);
  font-size: 13px;
}
.host summary { cursor: pointer; color: var(--gold); }
.pattern-list { display: grid; gap: 10px; }
.pattern {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(224, 180, 74, 0.2);
}

.verify-code {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
  max-width: 360px;
}
.verify-code span {
  display: grid;
  place-items: center;
  min-height: 72px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: 34px;
  color: var(--honey-2);
}
.receipt-toggle {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 176, 32, 0.12);
  border: 1px solid rgba(255, 176, 32, 0.28);
}
.receipt-lines {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  margin: 16px 0;
  padding: 14px;
  border-radius: 8px;
  background: rgba(0,0,0,0.18);
  font-variant-numeric: tabular-nums;
}
.met { color: var(--mint); }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0; }
.footer-links button { background: none; border: none; color: #6f6560; padding: 0; font-size: 12px; }
.search { width: 100%; margin: 8px 0 12px; }

.attract:has(form[data-act="begin"]) {
  width: 100%;
  min-height: calc(100svh - var(--hud));
  padding: 60px max(24px, calc((100vw - 1120px) / 2));
  background: linear-gradient(90deg, #090b10f5 20%, #090b10b5 65%, #090b1040), url("assets/lumen-corridor.svg") 85% 55% / cover;
}
.attract:has(form[data-act="begin"]) .rules { max-width: 880px; }
.attract:has(form[data-act="begin"]) .fine-note { max-width: 68ch; }
.lumen-main > section > h2 { font-size: 36px; margin: 0 0 20px; line-height: 1.15; }
.lumen-main > .panel { background: none; border: 0; padding: 12px 0; box-shadow: none; backdrop-filter: none; }
.panel > p { max-width: 70ch; line-height: 1.6; }
.lumen-top { border-radius: 0; background: #ffffff07; border-width: 0 0 1px; box-shadow: none; }
.plan b, .plan .tiny { display: block; }
.plan .badge { margin-bottom: 8px; }
.plan { min-width: 0; }
.plan.is-on { box-shadow: inset 0 3px var(--ember); }
.checks { padding: 18px 0; border-block: 1px solid var(--line); }
.portal-profile { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding-block: 20px; border-block: 1px solid var(--line); }
.portal-profile span { color: var(--mute); }
.access-revoked { padding: 14px; background: #e831471c; border: 1px solid #e8314770; color: #ffd5dc; }
.takeover { overflow-y: auto; }
.takeover-card { max-height: calc(100svh - var(--hud) - 48px); overflow-y: auto; }
.takeover-card p { line-height: 1.5; }
.lumen-main, .giant, .boards > div { min-width: 0; overflow-wrap: anywhere; }
.lumen-main > .panel { max-width: 880px; margin-inline: auto; }
.help-promotion span, .help-promotion small { display: block; margin-top: 6px; }
.help-promotion small { color: var(--mute); font-size: 10px; }
.preference-tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin: 24px 0; }
.preference-tabs [aria-pressed="true"] { border-color: var(--cream); background: #ffffff12; }
.security-notice, .billing-service { border-block: 1px solid #e8314770; background: #e831470d; padding: 18px 0; margin-block: 24px; }
.security-notice h3 { color: #ffc8d0; }
.inbox-message { border: 1px solid var(--line); border-radius: 8px; background: #ffffff08; padding: 24px; margin-top: 24px; }
.inbox-message header { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.inbox-message header span { color: var(--mute); }
.receipt-lines dd { margin: 0; text-align: right; }
.boards .who { font-family: inherit; font-size: 18px; overflow-wrap: anywhere; }
.boards li:has(button) { grid-template-columns: 28px minmax(0, 1fr) auto auto 24px; }
.live-strip { align-items: center; flex-wrap: wrap; }
.live-strip > span:first-child { font-size: 11px; color: var(--mint); max-width: 130px; }
.phone-screen, .bubble, input[type="text"], input[type="password"] { background: #191c25; }
.bubble.me, .keypad button { background: #292b38; }
button { transition: filter .15s ease, border-color .15s ease; }
button:disabled { opacity: .5; cursor: default; }
input { max-width: 100%; min-width: 0; }
@media (max-width: 900px) {
  .rules, .plans, .posters, .grid-2, .boards, .giants, .menu-grid { grid-template-columns: 1fr 1fr; }
  .posters { grid-template-columns: repeat(3, 1fr); }
  .hud-status { display: none; }
  .due { font-size: 56px; }
}
@media (max-width: 640px) {
  :root { --hud: 100px; }
  #hud { gap: 10px 16px; padding: 12px 16px; }
  .hud-brand { min-width: 60px; }
  .hud-stat { min-width: 76px; }
  .hud-stat b { font-size: 19px; }
  #hud > .texty { padding: 4px; font-size: 12px; }
  .lumen-stage, .lumen-top { width: calc(100% - 32px); }
  .lumen-top { gap: 12px; padding-inline: 0; }
  .member-pill { font-size: 10px; max-width: 160px; }
  .urgency { flex-wrap: wrap; font-size: 13px; }
  .takeover { padding: 12px; }
  .takeover-card { padding: 18px; max-height: calc(100svh - var(--hud) - 24px); }
  .takeover-card h2, .false-win h2 { font-size: 30px; }
  .lumen-main > section > h2 { font-size: 28px; }
  .board h1 { font-size: 40px; }
  .giant b { font-size: 44px; }
  .portal-profile { grid-template-columns: 1fr; }
  .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .poster { font-size: 22px; }
  .attract:has(form[data-act="begin"]) { padding-block: 36px; }
  .rules, .plans, .grid-2, .boards, .giants, .menu-grid, .board-top, .live-strip, .split-3 { grid-template-columns: 1fr; display: grid; }
  .name-row { display: grid; }
  .lumen-top { flex-wrap: wrap; }
  .lumen-nav { display: flex; order: 3; flex-basis: 100%; justify-content: space-between; gap: 10px; }
  .inbox-message { padding: 16px; }
  .attract h1 { font-size: 48px; }
}

/* Interface refresh: editorial game-show framing over Lumen's hostile product UI. */
:root {
  --hud: 76px;
  --ink: #080a0f;
  --ink-2: #111520;
  --gold: #bdc6d8;
  --gold-2: #f4f7fc;
  --mint: #88f0c0;
  --mint-2: #caffdf;
  --paper: #f7f8fb;
  --cesa-dim: #9ba7ba;
  --cinema: #090b11;
  --cinema-2: #151925;
  --cream: #f8f8f6;
  --ember: #ff4d5f;
  --honey: #ff6576;
  --honey-2: #ffc5cc;
  --mute: #a7afbf;
  --line: rgba(237, 242, 252, 0.13);
  --danger: #ff6671;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --glass-fill: linear-gradient(145deg, rgba(255, 255, 255, 0.115), rgba(255, 255, 255, 0.035));
  --glass-fill-strong: linear-gradient(145deg, rgba(24, 29, 42, 0.88), rgba(10, 13, 20, 0.72));
  --glass-border: rgba(239, 246, 255, 0.18);
  --glass-border-bright: rgba(255, 255, 255, 0.28);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  --glass-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 48px rgba(0, 0, 0, 0.28);
  --glass-shadow-raised:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 28px 80px rgba(0, 0, 0, 0.42);
  --glass-blur: blur(24px) saturate(1.35);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(136, 240, 192, 0.1), transparent 30rem),
    radial-gradient(circle at 82% 12%, rgba(255, 77, 95, 0.13), transparent 34rem),
    radial-gradient(circle at 56% 88%, rgba(93, 123, 255, 0.1), transparent 36rem),
    var(--ink);
  background-attachment: fixed;
  line-height: 1.5;
}

button,
input,
select {
  min-height: 44px;
}

button {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

#hud {
  gap: 24px;
  min-height: var(--hud);
  padding: 12px clamp(18px, 3vw, 44px);
  background:
    linear-gradient(105deg, rgba(17, 22, 32, 0.88), rgba(7, 9, 14, 0.72)),
    rgba(7, 9, 14, 0.68);
  border-bottom-color: var(--glass-border);
  box-shadow:
    inset 0 -1px 0 rgba(136, 240, 192, 0.08),
    0 14px 44px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(28px) saturate(1.45);
}

.hud-brand {
  min-width: 164px;
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.hud-brand strong {
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.18em !important;
}

.hud-brand span,
.hud-stat em,
.kicker {
  letter-spacing: 0.14em !important;
}

.hud-stat b,
.count,
#hold-count,
.giant b,
.verify-code span {
  font-family: "DM Mono", monospace;
}

.hud-status b {
  font-weight: 700;
}

.hud-status-compact {
  display: none;
  color: var(--mint-2);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.hud-toast {
  bottom: -10px;
  border-color: rgba(255, 164, 174, 0.42);
  border-radius: 999px;
  padding: 9px 16px;
  background: linear-gradient(145deg, rgba(89, 24, 34, 0.94), rgba(49, 13, 20, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 44px rgba(0, 0, 0, 0.42);
  backdrop-filter: var(--glass-blur);
}

.wrap {
  width: min(1160px, calc(100% - 48px));
}

.attract:has(form[data-act="begin"]) {
  display: flex;
  min-height: calc(100svh - var(--hud));
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 7vw, 92px) max(24px, calc((100vw - 1160px) / 2));
  background:
    linear-gradient(90deg, #080a0ffc 8%, #080a0fe8 44%, #080a0f35 78%),
    linear-gradient(180deg, transparent 65%, #080a0f 100%),
    url("assets/lumen-corridor.svg") 84% 49% / min(58vw, 760px) auto no-repeat;
}

.attract:has(form[data-act="begin"])::before {
  content: "ESCAPE  /  001";
  position: absolute;
  top: calc(var(--hud) + 28px);
  right: clamp(24px, 4vw, 60px);
  color: rgba(247, 248, 251, 0.5);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.attract .kicker {
  color: var(--mint);
  font-size: 11px;
  font-weight: 700;
}

.attract h1 {
  max-width: 10ch;
  margin-bottom: 24px;
  font-size: clamp(4.25rem, 10vw, 8.5rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.075em !important;
  text-wrap: balance;
}

.attract h1::after {
  content: "";
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.08em;
  border-radius: 50%;
  background: var(--ember);
  vertical-align: 0.02em;
  box-shadow: 0 0 32px rgba(255, 77, 95, 0.55);
}

.lede {
  max-width: 45ch;
  color: #dfe4ed;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  text-wrap: pretty;
}

.rules {
  max-width: 880px;
  gap: 14px;
  margin: 38px 0 32px;
}

.rule {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(21, 28, 38, 0.58), rgba(7, 10, 16, 0.38));
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(18px) saturate(1.25);
}

.rule b {
  color: var(--mint);
  font-size: 11px;
  letter-spacing: 0.12em !important;
}

.rule p {
  font-size: 14px;
  line-height: 1.55;
}

.name-row {
  gap: 12px;
}

.name-row input {
  min-width: min(350px, 100%);
  border: 1px solid var(--glass-border) !important;
  border-radius: 12px !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)) !important;
  padding: 14px 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px) saturate(1.25);
}

.name-row input::placeholder {
  color: #929dae;
}

.mint-btn,
.bn-loud,
.bn-danger {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 14px 34px rgba(0, 0, 0, 0.22);
}

.mint-btn {
  padding-inline: 22px;
  background: linear-gradient(145deg, rgba(177, 255, 219, 0.98), rgba(92, 219, 162, 0.9));
}

.texty {
  padding-inline: 14px;
  text-decoration: underline;
  text-decoration-color: rgba(244, 247, 252, 0.34);
  text-underline-offset: 5px;
}

.fine-note {
  color: #9faabc;
  line-height: 1.6;
}

.fine-note a {
  color: var(--mint-2);
}

.form-error {
  color: #ffd0d5;
}

.lumen-top {
  width: min(1240px, calc(100% - 56px));
  margin-top: 22px;
  padding: 14px 18px;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  background: var(--glass-fill);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
}

.wordmark {
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.19em !important;
}

.lumen-nav {
  gap: 22px;
}

.lumen-nav button {
  min-height: 36px;
  color: #b1b9c8;
}

.member-pill {
  border-color: rgba(255, 197, 204, 0.35);
  color: var(--honey-2);
  border-radius: 999px;
  padding: 7px 12px;
  background: linear-gradient(145deg, rgba(255, 101, 118, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.lumen-stage {
  width: min(1240px, calc(100% - 56px));
  margin-top: clamp(32px, 5vw, 70px);
}

.lumen-main > .panel {
  max-width: 940px;
}

.lumen-main > section > h2,
.panel h2 {
  letter-spacing: -0.045em !important;
  text-wrap: balance;
}

.lumen-main > section > h2 {
  max-width: 18ch;
  margin-bottom: 24px;
  font-size: 32px;
  line-height: 1.02;
}

.row-title {
  color: #c7cfdd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em !important;
}

.plan,
.card,
.panel,
.giant,
.takeover-card,
.inbox-message {
  border-color: var(--glass-border);
  border-radius: 18px;
  background: var(--glass-fill);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
}

.plan {
  min-height: 188px;
  padding: 20px;
}

.plan .price {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em !important;
}

.plan.is-on {
  border-color: rgba(255, 118, 133, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 77, 95, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(14, 17, 25, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 3px var(--ember),
    0 22px 54px rgba(255, 77, 95, 0.14);
}

.plan .badge {
  border-radius: 999px;
  background: var(--ember);
}

.poster {
  border-radius: 12px;
}

.poster small {
  font-family: "Manrope", sans-serif;
  letter-spacing: 0.12em !important;
}

.bn {
  border-radius: 10px;
  transition:
    transform 140ms var(--ease-out),
    filter 140ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.bn-loud {
  background: linear-gradient(145deg, rgba(255, 102, 118, 0.98), rgba(195, 28, 57, 0.92));
}

.bn-mid {
  border-color: var(--glass-border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.025));
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(16px) saturate(1.25);
}

.bn-quiet,
.bn-micro {
  color: #c2c8d3;
  text-decoration: underline;
  text-decoration-color: rgba(194, 200, 211, 0.26);
  text-underline-offset: 4px;
}

.menu-grid button,
.result,
.phone,
.phone-screen,
.keypad button,
.verify-code span,
.receipt-toggle,
.receipt-lines {
  border-radius: 12px;
}

.takeover {
  background:
    radial-gradient(circle at 50% 20%, rgba(136, 240, 192, 0.08), transparent 34rem),
    rgba(4, 5, 9, 0.58);
  backdrop-filter: blur(18px) saturate(0.9);
}

.takeover-card {
  padding: clamp(22px, 4vw, 38px);
  background: var(--glass-fill-strong);
  border-color: var(--glass-border-bright);
  box-shadow: var(--glass-shadow-raised);
}

.takeover.is-exiting {
  opacity: 0;
  transition: opacity 160ms var(--ease-out);
}

.takeover [role="dialog"].is-exiting {
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 160ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.takeover-card h2 {
  color: var(--cream);
  letter-spacing: -0.045em !important;
}

.board {
  padding-top: 48px;
}

.board h1 {
  letter-spacing: -0.06em !important;
}

.boards li {
  padding: 12px 0;
}

.live-strip {
  border-color: rgba(136, 240, 192, 0.34);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(136, 240, 192, 0.1), rgba(255, 255, 255, 0.025));
  padding-inline: 12px;
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(16px);
}

.charge-details {
  flex-basis: 100%;
  color: #d5dbe6;
  font-size: 12px;
  line-height: 1.5;
}

.notice-list {
  display: grid;
  gap: 10px;
  margin-block: 22px;
}

.debrief-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-block: 24px;
}

.research-pattern {
  grid-template-columns: 30px 1fr;
}

.research-pattern > .met {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(136, 240, 192, 0.34);
  border-radius: 999px;
  background: rgba(136, 240, 192, 0.1);
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.research-citation {
  margin: 8px 0 0;
  color: var(--cesa-dim);
  font-size: 12px;
  line-height: 1.5;
}

.research-citation span {
  color: var(--mint);
  font-weight: 700;
}

.research-citation a {
  color: var(--gold-2);
  text-underline-offset: 3px;
}

.other-tactics {
  margin-block: 24px 36px;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  background: var(--glass-fill);
  box-shadow: var(--glass-highlight);
  padding: 16px 18px;
  backdrop-filter: blur(16px);
}

.other-tactics summary {
  color: var(--gold-2);
  font-weight: 700;
}

.other-tactics .pattern-list {
  margin-top: 22px;
}

.share-page {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
  column-gap: clamp(36px, 7vw, 96px);
  align-items: start;
  min-height: calc(100svh - var(--hud));
  padding-block: clamp(48px, 8vw, 100px);
}

.share-page > .kicker,
.share-page > h1,
.share-page > .lede {
  grid-column: 1;
}

.share-page > h1 {
  max-width: 10ch;
  margin: 0 0 24px;
  font-size: clamp(3.8rem, 6.5vw, 6.5rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.share-preview {
  grid-column: 2;
  grid-row: 1 / span 4;
  position: relative;
  max-width: 760px;
  overflow: hidden;
  margin: 0 0 18px;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--glass-border-bright);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 77, 95, 0.24), transparent 18rem),
    radial-gradient(circle at 10% 100%, rgba(136, 240, 192, 0.15), transparent 22rem),
    var(--glass-fill-strong);
  box-shadow: var(--glass-shadow-raised);
  backdrop-filter: var(--glass-blur);
}

.share-preview h2 {
  max-width: 12ch;
  margin: 8px 0 18px;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.share-preview > p:not(.kicker) {
  max-width: 56ch;
  color: #dfe4ed;
}

.share-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.share-stats span {
  display: grid;
  min-width: 140px;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--cesa-dim);
  font-size: 12px;
}

.share-stats b {
  color: var(--paper);
  font-family: "DM Mono", monospace;
  font-size: 18px;
}

.share-grid {
  grid-column: 2;
  display: grid;
  max-width: 760px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.share-grid .mint-btn {
  grid-column: 1 / -1;
}

.share-page > .texty,
.share-page > .fine-note {
  grid-column: 2;
}

@media (hover: hover) and (pointer: fine) {
  .mint-btn:hover,
  .bn-loud:hover,
  .bn-danger:hover {
    filter: brightness(1.08);
  }

  .plan:hover,
  .menu-grid button:hover,
  .result:hover {
    transform: translateY(-2px);
    border-color: var(--glass-border-bright);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 24px 58px rgba(0, 0, 0, 0.34);
  }

  .texty:hover,
  .bn-quiet:hover,
  .bn-micro:hover,
  .lumen-nav button:hover {
    color: white;
  }
}

button:active:not(:disabled) {
  transform: scale(0.96);
}

@media (prefers-reduced-motion: no-preference) {
  .attract-entry.is-entering > * {
    animation: enter-up 500ms var(--ease-out) both;
  }

  .attract-entry.is-entering > :nth-child(2) { animation-delay: 50ms; }
  .attract-entry.is-entering > :nth-child(3) { animation-delay: 100ms; }
  .attract-entry.is-entering > :nth-child(4) { animation-delay: 150ms; }
  .attract-entry.is-entering > :nth-child(5) { animation-delay: 200ms; }

  .takeover-card {
    animation: modal-in 260ms var(--ease-out) both;
  }

  .hud-toast {
    animation: toast-in 220ms var(--ease-out) both;
  }

  .hud-toast.is-exiting {
    animation: none;
    opacity: 0;
    transform: translate(-50%, calc(100% - 6px));
    transition:
      opacity 150ms var(--ease-out),
      transform 150ms var(--ease-out);
  }

  .charge-details {
    animation: charge-in 180ms var(--ease-out) both;
  }

  .charge-details.is-exiting {
    animation: none;
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity 140ms var(--ease-out),
      transform 140ms var(--ease-out);
  }
}

@keyframes enter-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, calc(100% + 8px)); }
  to { opacity: 1; transform: translate(-50%, 100%); }
}

@keyframes charge-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .attract:has(form[data-act="begin"]) {
    background:
      linear-gradient(90deg, #080a0ff5 0%, #080a0fcf 65%, #080a0f66),
      url("assets/lumen-corridor.svg") 100% 50% / auto 100% no-repeat;
  }

  .attract h1 {
    font-size: clamp(4rem, 15vw, 7rem);
  }

  .hud-status-compact {
    display: block;
    margin-inline-start: auto;
  }

  .share-page {
    display: block;
  }

  .share-preview {
    margin-block: 32px 20px;
  }
}

@media (max-width: 640px) {
  :root { --hud: 112px; }

  #hud {
    padding: 10px 16px;
  }

  .hud-brand {
    min-width: 74px;
    padding-right: 14px;
  }

  .wrap,
  .lumen-stage,
  .lumen-top {
    width: calc(100% - 32px);
  }

  .attract:has(form[data-act="begin"]) {
    justify-content: flex-start;
    padding-block: 52px 36px;
    background:
      linear-gradient(180deg, #080a0fbd 0%, #080a0ff4 42%, #080a0f 100%),
      url("assets/lumen-corridor.svg") 72% 0 / 100% auto no-repeat;
  }

  .attract:has(form[data-act="begin"])::before {
    display: none;
  }

  .attract h1 {
    font-size: clamp(3.8rem, 20vw, 5.5rem);
  }

  .rules {
    gap: 18px;
    order: 5;
  }

  .attract-entry > .kicker { order: 1; }
  .attract-entry > h1 { order: 2; }
  .attract-entry > .lede { order: 3; }
  .attract-entry > .challenge-form { order: 4; }
  .attract-entry > .form-error { order: 4; }
  .attract-entry > .fine-note { order: 6; }

  .challenge-form {
    margin-block: 8px 22px;
  }

  .name-row input,
  .field-label {
    width: 100%;
  }

  .mint-btn,
  .texty {
    width: 100%;
    justify-content: center;
  }

  .lumen-stage {
    margin-top: 30px;
  }

  .lumen-main > section > h2 {
    font-size: 26px;
  }

  .share-grid {
    grid-template-columns: 1fr;
  }

  .share-grid .mint-btn {
    grid-column: auto;
  }

  .share-stats {
    display: grid;
  }

  .share-stats span {
    min-width: 0;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #hud,
  .lumen-top,
  .rule,
  .plan,
  .card,
  .panel,
  .giant,
  .takeover-card,
  .inbox-message,
  .bn-mid,
  .live-strip {
    background: #151925;
  }
}

/* Service surfaces stay compact; the entry and result screens retain display type. */
body.is-lumen .panel h2,
body.is-lumen .takeover-card h2 {
  font-size: 28px !important;
  line-height: 1.2;
  letter-spacing: 0 !important;
  max-width: 32ch;
  overflow-wrap: anywhere;
}
.route-map { margin-block: 36px; }
.route-tree { padding-inline-start: 24px; }
.route-tree > li { margin-block: 18px; padding-inline-start: 8px; }
.route-tree ul {
  margin-block: 8px;
  padding-inline-start: 22px;
  border-inline-start: 1px solid var(--glass-border);
  color: var(--cesa-dim);
}
.route-tree ul li { margin-block: 6px; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  body.is-lumen .panel h2,
  body.is-lumen .takeover-card h2 { font-size: 24px !important; }
  .route-tree { padding-inline-start: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
