:root {
  color-scheme: dark;
  --ink: #0b0e0c;
  --ink-soft: #111713;
  --forest: #19331f;
  --forest-bright: #35643b;
  --grass: #5e8f45;
  --moss: #90ad61;
  --stone-900: #171a18;
  --stone-800: #222724;
  --stone-700: #303630;
  --stone-500: #727a70;
  --paper: #f4eedc;
  --paper-dim: #b8b6a9;
  --gold: #e0bd62;
  --gold-light: #f2dc8a;
  --ember: #bd573d;
  --water: #5d8fac;
  --line: #0b0d0c;
  --line-soft: rgba(244, 238, 220, 0.14);
  --hard-shadow: 6px 6px 0 rgba(5, 7, 5, 0.9);
  --page: 1180px;
  --nav-height: 72px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--paper);
  background-color: var(--stone-900);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

svg {
  width: 1em;
  height: 1em;
  stroke-width: 2;
}

[hidden] {
  display: none !important;
}

::selection {
  color: var(--ink);
  background: var(--gold);
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.page-shell {
  width: min(calc(100% - 48px), var(--page));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--gold-light);
  border: 3px solid var(--line);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(12, 17, 13, 0.94);
  border-bottom: 4px solid var(--line);
  box-shadow: 0 3px 0 rgba(224, 189, 98, 0.18);
  backdrop-filter: blur(12px);
}

.nav-inner {
  width: min(calc(100% - 48px), 1320px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  overflow: hidden;
  display: block;
  background: #12091a;
  box-shadow: 3px 3px 0 #070807;
}

.brand-mark::after {
  display: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-copy,
.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong,
.footer-brand strong {
  color: var(--gold-light);
  font-size: 18px;
  font-weight: 900;
  text-shadow: 2px 2px 0 #000;
}

.brand-copy small,
.footer-brand small {
  margin-top: 4px;
  color: var(--paper-dim);
  font-family: Consolas, monospace;
  font-size: 9px;
}

.nav-links {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 6px;
}

.nav-links a {
  position: relative;
  min-width: 88px;
  padding: 0 16px;
  display: grid;
  place-items: center;
  color: var(--paper-dim);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-button,
.primary-button,
.secondary-button,
.icon-button {
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 120ms ease, filter 120ms ease, background-color 120ms ease;
}

.account-button {
  min-width: 126px;
  height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--paper);
  background: var(--water);
  border: 3px solid var(--line);
  box-shadow: 3px 3px 0 #070807;
  font-size: 13px;
  font-weight: 800;
}

.account-button[data-logged-in="true"] {
  color: var(--ink);
  background: var(--gold);
}

.account-button svg {
  width: 17px;
  height: 17px;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--paper-dim);
  background: var(--stone-800);
  border: 3px solid var(--line);
}

.icon-button:hover {
  color: var(--paper);
  background: var(--stone-700);
}

.menu-button {
  display: none;
}

.primary-button,
.secondary-button {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 3px solid var(--line);
  border-radius: 2px;
  box-shadow: 5px 5px 0 #080a08;
  font-size: 15px;
  font-weight: 900;
}

.primary-button {
  color: #10150d;
  background: var(--gold);
  box-shadow: inset 0 -5px 0 #b48d37, 5px 5px 0 #080a08;
}

.primary-button:hover:not(:disabled),
.secondary-button:hover:not(:disabled),
.account-button:hover {
  filter: brightness(1.08);
  transform: translate(-1px, -1px);
}

.primary-button:active:not(:disabled),
.secondary-button:active:not(:disabled),
.account-button:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.primary-button:disabled {
  color: #77786f;
  background: #454942;
  box-shadow: inset 0 -5px 0 #30332f, 4px 4px 0 #080a08;
  cursor: not-allowed;
}

.secondary-button {
  color: var(--paper);
  background: rgba(31, 38, 32, 0.86);
  box-shadow: inset 0 -5px 0 #111612, 5px 5px 0 #080a08;
}

.full-button {
  width: 100%;
}

.hero {
  position: relative;
  min-height: calc(100svh - 48px);
  max-height: 850px;
  padding-top: var(--nav-height);
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
  background-color: #17212a;
  border-bottom: 8px solid #0a0c0a;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 10, 8, 0.92) 0%, rgba(9, 13, 10, 0.72) 32%, rgba(10, 15, 14, 0.2) 62%, rgba(8, 10, 9, 0.08) 100%),
    linear-gradient(180deg, rgba(6, 8, 7, 0.08) 58%, rgba(6, 8, 7, 0.8) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}

.hero-content {
  position: relative;
  padding-top: 62px;
  padding-bottom: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 64px;
}

.hero-copy {
  width: min(100%, 690px);
}

.hero-kicker {
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-family: Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
  text-shadow: 2px 2px 0 #000;
}

.live-square {
  width: 11px;
  height: 11px;
  background: var(--grass);
  border: 2px solid #0a0d0a;
  box-shadow: 0 0 0 2px rgba(144, 173, 97, 0.28);
  animation: livePulse 1.8s steps(2, end) infinite;
}

@keyframes livePulse {
  50% { filter: brightness(1.55); }
}

.hero-series {
  color: #a9c7d7;
  font-size: 18px;
  font-weight: 800;
  text-shadow: 2px 2px 0 #000;
}

.hero h1 {
  margin: 2px 0 16px;
  color: var(--paper);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 72px;
  font-weight: 1000;
  line-height: 1.08;
  text-shadow: 5px 5px 0 #0b0c0b, 8px 8px 0 rgba(44, 91, 51, 0.75);
}

.hero-lead {
  max-width: 630px;
  color: #d2d4cb;
  font-size: 17px;
  line-height: 1.8;
  text-shadow: 1px 2px 0 #000;
}

.hero-count {
  width: min(100%, 430px);
  margin: 25px 0 24px;
}

.count-line {
  display: flex;
  align-items: center;
  gap: 14px;
}

.count-line strong {
  min-width: 132px;
  color: var(--gold-light);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 62px;
  font-weight: 900;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  text-shadow: 4px 4px 0 #3a2410, 7px 7px 0 #080908;
}

.count-line span {
  padding-left: 14px;
  color: var(--paper-dim);
  border-left: 3px solid var(--gold);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.goal-line {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.goal-track {
  height: 9px;
  overflow: hidden;
  background: #151916;
  border: 2px solid #060706;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55);
}

.goal-track span {
  width: 0;
  height: 100%;
  display: block;
  background: repeating-linear-gradient(90deg, var(--grass) 0 12px, var(--moss) 12px 15px);
  transition: width 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.goal-line > span {
  color: #b7bdaf;
  font-family: Consolas, monospace;
  font-size: 11px;
}

.launch-countdown {
  width: min(100%, 610px);
  margin: 0 0 22px;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto;
  align-items: center;
  gap: 14px;
  background: rgba(12, 17, 13, 0.88);
  border: 3px solid var(--line);
  border-left: 5px solid var(--gold);
  box-shadow: inset 0 0 0 2px rgba(244, 238, 220, 0.05), 5px 5px 0 rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(7px);
}

.launch-countdown[data-state="open"] {
  border-left-color: var(--grass);
}

.launch-countdown-meta {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.launch-countdown-meta > svg {
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  padding: 7px;
  color: var(--gold-light);
  background: var(--forest);
  border: 2px solid #080a08;
  box-shadow: inset -3px -3px 0 rgba(0, 0, 0, 0.28);
}

.launch-countdown[data-state="open"] .launch-countdown-meta > svg {
  color: #dbeabf;
  background: var(--forest-bright);
}

.launch-countdown-meta div {
  min-width: 0;
  display: grid;
  line-height: 1.35;
}

.launch-countdown-meta strong {
  overflow-wrap: anywhere;
  color: var(--paper);
  font-size: 13px;
  font-weight: 900;
}

.launch-countdown-meta small {
  margin-top: 2px;
  color: var(--paper-dim);
  font-family: Consolas, monospace;
  font-size: 9px;
}

.launch-countdown-values {
  display: grid;
  grid-template-columns: repeat(4, 52px);
  gap: 6px;
}

.launch-countdown-values > span {
  height: 54px;
  min-width: 0;
  display: grid;
  grid-template-rows: 32px 14px;
  place-items: center;
  align-content: center;
  background: #202720;
  border: 2px solid #080a08;
  box-shadow: inset 0 -4px 0 #131813, inset 2px 2px 0 rgba(244, 238, 220, 0.08);
}

.launch-countdown-values strong {
  min-width: 2ch;
  color: var(--gold-light);
  font-family: Consolas, monospace;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.launch-countdown[data-state="open"] .launch-countdown-values strong {
  color: #cfe5aa;
}

.launch-countdown-values small {
  color: #aeb5a8;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-actions .primary-button,
.hero-actions .secondary-button {
  min-width: 188px;
}

.hero-trust {
  margin-top: 23px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #c5c9bf;
  font-size: 12px;
  font-weight: 700;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust svg {
  color: var(--moss);
  width: 15px;
  height: 15px;
}

.hero-status {
  width: 185px;
  flex: 0 0 auto;
  padding: 15px 17px;
  display: grid;
  border-left: 4px solid var(--gold);
  background: rgba(9, 13, 10, 0.76);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
}

.hero-status span {
  color: var(--grass);
  font-family: Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
}

.hero-status strong {
  margin: 2px 0;
  overflow-wrap: anywhere;
  color: var(--paper);
  font-size: 18px;
}

.hero-status small {
  color: var(--paper-dim);
  font-size: 11px;
}

.hero-status small b {
  color: var(--gold-light);
  font-weight: 900;
}

.hero-status .mobile-reserve-button {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  padding: 0 10px;
  font-size: 12px;
}

.scroll-cue {
  position: absolute;
  right: 50%;
  bottom: 10px;
  display: grid;
  place-items: center;
  color: rgba(244, 238, 220, 0.7);
  font-size: 24px;
  text-decoration: none;
  transform: translateX(50%);
  animation: cueMove 1.6s steps(3, end) infinite;
}

@keyframes cueMove {
  50% { transform: translate(50%, 5px); }
}

.reservation-section,
.cloud-section,
.reservation-gift-section,
.invite-section,
.activities-section,
.compensation-section,
.welfare-section,
.guide-section,
.world-section,
.journey-section,
.faq-section {
  position: relative;
}

.reservation-section {
  padding: 90px 0 104px;
  background-color: #222621;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #252a24, #1b1f1b);
  background-size: 24px 24px, 24px 24px, auto;
  border-bottom: 8px solid #101310;
}

.reservation-section::before,
.cloud-section::before,
.reservation-gift-section::before,
.invite-section::before,
.activities-section::before,
.compensation-section::before,
.welfare-section::before,
.guide-section::before,
.world-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 12px;
  background: repeating-linear-gradient(90deg, #466c37 0 32px, #5d8943 32px 64px, #34542c 64px 96px);
  border-bottom: 4px solid #111511;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 56px;
  align-items: end;
}

.section-index,
.state-eyebrow {
  display: block;
  color: var(--gold);
  font-family: Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
}

.section-heading h2,
.journey-intro h2,
.faq-intro h2 {
  margin-top: 6px;
  color: var(--paper);
  font-size: 38px;
  font-weight: 1000;
  line-height: 1.25;
  text-shadow: 3px 3px 0 #080a08;
}

.section-heading > p {
  color: var(--paper-dim);
  font-size: 14px;
}

.reservation-steps {
  margin: 44px 0 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border: 3px solid var(--line);
  box-shadow: 5px 5px 0 #0b0d0b;
}

.reservation-steps li {
  min-height: 78px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #7e857c;
  background: #1b1f1b;
  border-right: 3px solid var(--line);
}

.reservation-steps li:last-child {
  border-right: 0;
}

.reservation-steps li > span {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 28px;
  line-height: 1;
}

.reservation-steps li div {
  display: flex;
  flex-direction: column;
}

.reservation-steps strong {
  font-size: 14px;
}

.reservation-steps small {
  font-size: 11px;
}

.reservation-steps li.active {
  color: var(--paper);
  background: #2c362b;
  box-shadow: inset 0 -5px 0 var(--forest-bright);
}

.reservation-steps li.complete {
  color: #dce9ce;
  background: #24402a;
  box-shadow: inset 0 -5px 0 var(--grass);
}

.reservation-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);
  gap: 40px;
  align-items: start;
}

.reservation-tool {
  overflow: hidden;
  background: #292f2a;
  border: 4px solid var(--line);
  border-radius: 4px;
  box-shadow: 8px 8px 0 #0c0e0c;
}

.tool-topbar {
  height: 50px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #bec3b8;
  background: #151a16;
  border-bottom: 4px solid var(--line);
  font-family: Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
}

.tool-topbar > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.tool-lamp {
  width: 10px;
  height: 10px;
  background: var(--grass);
  border: 2px solid #050605;
}

.tool-status {
  color: var(--gold);
}

.tool-body {
  min-height: 558px;
  padding: 38px;
  display: grid;
  align-items: stretch;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #252b26;
  background-size: 20px 20px;
}

.state-panel {
  width: min(100%, 580px);
  min-height: 100%;
  margin: 0 auto;
}

.loading-state,
.guest-state,
.pairing-intro,
.pairing-unavailable {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pixel-loader {
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  background: var(--gold);
  border: 4px solid var(--line);
  box-shadow: inset -8px -8px 0 #97732b, 5px 5px 0 #0a0c0a;
  animation: loaderTurn 1s steps(4, end) infinite;
}

@keyframes loaderTurn {
  to { transform: rotate(360deg); }
}

.loading-state h3,
.guest-state h3,
.success-state h3 {
  margin-top: 8px;
  font-size: 26px;
}

.loading-state p,
.guest-state > p,
.success-state > p {
  margin: 9px auto 24px;
  max-width: 460px;
  color: var(--paper-dim);
  font-size: 13px;
}

.state-symbol {
  width: 78px;
  height: 78px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border: 4px solid var(--line);
  box-shadow: inset -8px -8px 0 rgba(0, 0, 0, 0.22), 6px 6px 0 #0a0c0a;
}

.state-symbol svg {
  width: 38px;
  height: 38px;
}

.qq-symbol {
  color: #e9f5fa;
  background: var(--water);
}

.guest-state .full-button {
  max-width: 360px;
}

.pairing-intro,
.pairing-unavailable {
  width: 100%;
  min-height: 100%;
}

.pairing-intro > p,
.pairing-unavailable > p {
  margin: 9px auto 20px;
  max-width: 470px;
  color: var(--paper-dim);
  font-size: 13px;
}

.pairing-intro h3,
.pairing-unavailable h3 {
  margin-top: 8px;
  font-size: 26px;
}

.inline-group-number {
  white-space: nowrap;
  color: var(--gold-light);
  font-family: Consolas, monospace;
  font-weight: 900;
}

.unavailable-symbol {
  color: var(--paper);
  background: var(--stone-500);
}

.bot-connection {
  width: min(100%, 360px);
  min-height: 48px;
  margin: 0 auto 18px;
  padding: 9px 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 10px;
  color: var(--paper);
  background: #171c18;
  border: 3px solid var(--line);
  text-align: left;
}

.bot-connection > span {
  grid-row: span 2;
  width: 12px;
  height: 12px;
  background: #777d76;
  border: 2px solid #080a08;
}

.bot-connection[data-state="online"] > span {
  background: var(--grass);
  box-shadow: 0 0 0 3px rgba(94, 143, 69, 0.2);
}

.bot-connection[data-state="connecting"] > span,
.bot-connection[data-state="authorizing"] > span {
  background: var(--gold);
  animation: livePulse 1.4s steps(2, end) infinite;
}

.bot-connection strong {
  font-size: 11px;
}

.bot-connection small {
  color: var(--paper-dim);
  font-size: 9px;
}

.pairing-pending {
  width: 100%;
  min-height: 100%;
  padding-top: 2px;
}

.pairing-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.pairing-heading > div {
  min-width: 0;
}

.pairing-heading h3 {
  margin-top: 5px;
  font-size: 22px;
}

.pairing-countdown {
  min-width: 70px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  background: #151a16;
  border: 3px solid var(--line);
  font-family: Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}

.pairing-countdown.expired {
  color: #ff9478;
  border-color: var(--ember);
}

.pairing-code {
  width: 100%;
  min-height: 78px;
  margin: 18px 0 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #15190f;
  background: var(--gold);
  border: 4px solid var(--line);
  box-shadow: inset 0 -7px 0 #b48d37, 5px 5px 0 #0a0c0a;
  cursor: pointer;
}

.pairing-code span {
  font-family: Consolas, monospace;
  font-size: 30px;
  font-weight: 1000;
}

.pairing-code svg {
  width: 21px;
  height: 21px;
}

.pairing-command {
  min-height: 56px;
  padding: 8px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #141915;
  border-left: 4px solid var(--water);
}

.pairing-command small {
  color: var(--paper-dim);
  font-size: 10px;
}

.pairing-command code {
  color: #b8d8e8;
  font-family: Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.pairing-instructions {
  margin: 18px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border-top: 2px solid var(--line-soft);
  border-bottom: 2px solid var(--line-soft);
}

.pairing-instructions li {
  min-height: 82px;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-right: 2px solid var(--line-soft);
}

.pairing-instructions li:last-child {
  border-right: 0;
}

.pairing-instructions li > span {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--moss);
  border: 2px solid var(--line);
  font-family: Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
}

.pairing-instructions p {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.pairing-instructions strong {
  font-size: 10px;
}

.pairing-instructions small {
  color: #858c82;
  font-size: 8px;
}

.pairing-waiting {
  min-height: 54px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #dce9ce;
  background: #1d3122;
  border: 3px solid #101510;
}

.pairing-pulse {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  background: var(--grass);
  border: 2px solid #080a08;
  animation: livePulse 1.2s steps(2, end) infinite;
}

.pairing-waiting div {
  display: flex;
  flex-direction: column;
}

.pairing-waiting strong {
  font-size: 11px;
}

.pairing-waiting small {
  color: #93a38f;
  font-size: 8px;
}

.pairing-waiting.expired {
  color: #ffd0c3;
  background: rgba(121, 55, 39, 0.34);
  border-color: var(--ember);
}

.pairing-waiting.expired .pairing-pulse {
  background: var(--ember);
  animation: none;
}

.pairing-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pairing-actions .primary-button,
.pairing-actions .secondary-button {
  min-height: 46px;
  padding: 0 12px;
  font-size: 12px;
}

.dev-confirm-button {
  width: 100%;
  margin-top: 14px;
  padding: 8px;
  color: var(--gold-light);
  background: transparent;
  border: 2px dashed #6c6343;
  cursor: pointer;
  font-size: 10px;
}

.dev-confirm-button svg {
  display: inline-block;
  margin-right: 5px;
  vertical-align: -2px;
}

.developer-note {
  margin-top: 20px !important;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-light) !important;
  font-size: 11px !important;
}

.member-state {
  display: flex;
  flex-direction: column;
}

.member-strip {
  min-height: 76px;
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 2px solid var(--line-soft);
}

.avatar-shell {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border: 3px solid var(--line);
  box-shadow: 3px 3px 0 #0a0c0a;
  font-size: 20px;
  font-weight: 1000;
}

.avatar-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.member-copy small {
  color: var(--moss);
  font-size: 10px;
  font-weight: 800;
}

.member-copy strong {
  overflow: hidden;
  color: var(--paper);
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logout-button {
  flex: 0 0 auto;
}

.binding-form {
  padding-top: 28px;
}

.recovery-start-button {
  margin-top: 10px;
}

.binding-form > label {
  display: block;
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 900;
}

.input-frame {
  height: 58px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #111612;
  border: 3px solid #080a08;
  box-shadow: inset 4px 4px 0 rgba(0, 0, 0, 0.4);
}

.input-frame:focus-within {
  border-color: var(--gold);
}

.input-frame > svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--stone-500);
}

.input-frame input {
  min-width: 0;
  height: 100%;
  flex: 1;
  color: var(--paper);
  background: transparent;
  border: 0;
  outline: 0;
  font-family: Consolas, monospace;
  font-size: 17px;
  font-weight: 800;
}

.input-frame input::placeholder {
  color: #5f665e;
}

.input-frame > span {
  flex: 0 0 auto;
  color: #777e75;
  font-family: Consolas, monospace;
  font-size: 10px;
}

.input-meta {
  min-height: 31px;
  padding-top: 7px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #81887f;
  font-size: 10px;
}

.input-error {
  color: #e9856b;
  text-align: right;
}

.binding-warning {
  min-height: 74px;
  margin: 14px 0 24px;
  padding: 13px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #e8d9c3;
  background: rgba(121, 55, 39, 0.34);
  border-left: 4px solid var(--ember);
}

.binding-warning > svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: #ef8b6d;
}

.binding-warning p {
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

.binding-warning span {
  color: #aa9e91;
  font-size: 10px;
}

.bilibili-binding-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 18, 24, 0.62);
}

.bilibili-binding-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

.bilibili-binding-row small,
.bilibili-binding-card p {
  color: #aa9e91;
}

.bilibili-binding-row strong {
  display: block;
  margin-top: 4px;
  color: #f6efe3;
}

.bilibili-binding-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.bilibili-binding-card p {
  margin: 12px 0 0;
  font-size: 0.92rem;
}

.bilibili-qr-dialog {
  width: min(420px, calc(100vw - 28px));
  text-align: center;
}

.bilibili-qr-frame {
  width: min(280px, 72vw);
  aspect-ratio: 1;
  margin: 18px auto 12px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.18);
}

.bilibili-qr-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bilibili-qr-dialog > p {
  min-height: 24px;
  margin: 0 0 8px;
  color: #5e574d;
}

.bilibili-checks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.bilibili-checks span {
  display: flex;
  min-height: 72px;
  padding: 9px 6px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #938b80;
  text-align: center;
}

.bilibili-checks svg {
  width: 16px;
  height: 16px;
}

.bilibili-checks b,
.bilibili-checks strong {
  font-size: 12px;
  font-weight: 600;
}

.bilibili-checks strong {
  color: #938b80;
}

.bilibili-checks .passed {
  border-color: rgba(108, 183, 126, 0.7);
  color: #78c58a;
}

.bilibili-checks .passed strong {
  color: #78c58a;
}

.bilibili-checks .failed {
  border-color: rgba(210, 103, 86, 0.7);
  color: #d57c6b;
}

.bilibili-checks .failed strong {
  color: #d57c6b;
}

.bound-state {
  padding-top: 42px;
}

.bound-name {
  min-height: 100px;
  margin: 16px 0 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #171c18;
  border: 3px solid var(--line);
  box-shadow: inset 0 -5px 0 #101310, 5px 5px 0 #0b0d0b;
}

.bound-name div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.bound-name small {
  color: var(--paper-dim);
  font-size: 10px;
}

.bound-name strong {
  overflow-wrap: anywhere;
  color: var(--gold-light);
  font-family: Consolas, monospace;
  font-size: 27px;
}

.bound-name > svg {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  color: var(--gold);
}

.bound-time {
  margin-bottom: 42px;
  color: #888f85;
  font-size: 11px;
}

.success-state {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-emblem {
  position: relative;
  width: 86px;
  height: 86px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  color: #172312;
  background: var(--moss);
  border: 4px solid var(--line);
  box-shadow: inset -9px -9px 0 #587744, 7px 7px 0 #0a0c0a;
}

.success-emblem::before,
.success-emblem::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 18px;
  height: 112px;
  background: #3d663b;
  border: 3px solid var(--line);
}

.success-emblem::before { transform: rotate(45deg); }
.success-emblem::after { transform: rotate(-45deg); }

.success-emblem svg {
  width: 44px;
  height: 44px;
  stroke-width: 3;
}

.success-state > p strong {
  color: var(--gold-light);
  font-family: Consolas, monospace;
}

.reservation-receipt {
  width: min(100%, 360px);
  min-height: 80px;
  margin-top: 6px;
  padding: 13px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  text-align: left;
  background: #171c18;
  border: 3px dashed #586152;
}

.reservation-receipt span,
.reservation-receipt small {
  color: #8f968b;
  font-size: 10px;
}

.reservation-receipt strong {
  grid-row: span 2;
  color: var(--gold-light);
  font-family: Consolas, monospace;
  font-size: 20px;
}

.reservation-notes {
  padding: 12px 0 0;
}

.reservation-notes h3 {
  margin: 8px 0 14px;
  color: var(--paper);
  font-size: 25px;
  line-height: 1.35;
}

.reservation-notes > p {
  color: var(--paper-dim);
  font-size: 13px;
}

.reservation-notes dl {
  margin: 30px 0;
  border-top: 2px solid var(--line-soft);
}

.reservation-notes dl div {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 2px solid var(--line-soft);
  font-size: 12px;
}

.reservation-notes dt {
  color: #7f877d;
}

.reservation-notes dd {
  color: var(--paper);
  font-weight: 900;
}

.live-count-mini {
  min-height: 92px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--ink);
  background: var(--gold);
  border: 3px solid var(--line);
  box-shadow: inset 0 -6px 0 #b68e38, 5px 5px 0 #0b0d0b;
}

.live-count-mini > svg {
  width: 31px;
  height: 31px;
}

.live-count-mini div {
  display: flex;
  flex-direction: column;
}

.live-count-mini strong {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 28px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.live-count-mini span {
  font-size: 10px;
  font-weight: 900;
}

.cloud-section {
  padding: 104px 0 112px;
  background:
    radial-gradient(circle at 82% 8%, rgba(93, 143, 172, 0.18), transparent 34%),
    linear-gradient(180deg, #101d24, #111714);
  border-bottom: 8px solid #080a08;
}

.cloud-section::before {
  background: repeating-linear-gradient(90deg, #22617c 0 32px, #3689ad 32px 64px, #17475f 64px 96px);
}

.cloud-heading {
  margin-bottom: 46px;
}

.cloud-poster {
  display: block;
  overflow: hidden;
  background: #07111a;
  border: 4px solid var(--line);
  border-radius: 4px;
  box-shadow: 8px 8px 0 #070907;
}

.cloud-poster img {
  width: 100%;
  height: auto;
  background: #07111a;
}

.compensation-section {
  padding: 104px 0 112px;
  background:
    radial-gradient(circle at 18% 16%, rgba(224, 189, 98, 0.12), transparent 32%),
    linear-gradient(180deg, #1a201b, #121714);
  border-bottom: 8px solid #080a08;
}

.compensation-section::before {
  background: repeating-linear-gradient(90deg, #7a5b2b 0 32px, #a07732 32px 64px, #4e3f25 64px 96px);
}

.compensation-heading {
  margin-bottom: 46px;
}

.compensation-current-panel {
  margin-bottom: 34px;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 24px;
  align-items: stretch;
  background: #252a26;
  border: 4px solid var(--line);
  border-radius: 4px;
  box-shadow: 8px 8px 0 #070907;
}

.compensation-current-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.compensation-current-copy h3 {
  margin-top: 6px;
  color: var(--paper);
  font-size: 26px;
  line-height: 1.25;
}

.compensation-current-copy > p {
  margin-top: 8px;
  color: var(--paper-dim);
  font-size: 13px;
}

.compensation-current-status {
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.compensation-current-status div {
  min-height: 64px;
  padding: 10px 12px;
  display: grid;
  align-content: center;
  background: #171c18;
  border: 3px solid #080a08;
}

.compensation-current-status dt {
  color: var(--paper-dim);
  font-size: 10px;
  font-weight: 800;
}

.compensation-current-status dd {
  margin-top: 2px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 900;
}

.compensation-current-status dd[data-state="bad"] {
  color: #ff9478;
}

.compensation-current-status dd[data-state="good"] {
  color: #cfe5aa;
}

.compensation-current-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.compensation-current-image {
  min-height: 230px;
  overflow: hidden;
  display: block;
  align-self: stretch;
  background: #101511;
  border: 3px solid var(--line);
  text-decoration: none;
}

.compensation-current-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.compensation-plan-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.compensation-plan-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #252a26;
  border: 4px solid var(--line);
  border-radius: 4px;
  box-shadow: 7px 7px 0 #070907;
}

.compensation-plan-title {
  padding-bottom: 15px;
  border-bottom: 3px solid rgba(224, 189, 98, 0.28);
}

.compensation-plan-title span {
  display: block;
  color: var(--gold);
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
}

.compensation-plan-title h3 {
  margin-top: 5px;
  color: var(--paper);
  font-size: 22px;
  line-height: 1.3;
}

.compensation-plan-card dl {
  display: grid;
  gap: 12px;
}

.compensation-plan-card dl div {
  display: grid;
  gap: 4px;
}

.compensation-plan-card dt {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
}

.compensation-plan-card dd {
  color: var(--paper-dim);
  font-size: 12px;
}

.compensation-plan-card ul {
  margin-top: auto;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  color: #d4d2c4;
  font-size: 12px;
}

.compensation-image-reference {
  margin-top: 34px;
}

.compensation-image-reference summary {
  min-height: 58px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--paper);
  background: #151a16;
  border: 3px solid var(--line);
  box-shadow: 5px 5px 0 #070907;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  list-style: none;
}

.compensation-image-reference summary::-webkit-details-marker {
  display: none;
}

.compensation-image-reference summary svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  transition: transform 180ms ease;
}

.compensation-image-reference[open] summary svg {
  transform: rotate(45deg);
}

.compensation-image-reference .compensation-grid {
  margin-top: 24px;
}

.compensation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.compensation-card {
  overflow: hidden;
  background: #252a26;
  border: 4px solid var(--line);
  border-radius: 4px;
  box-shadow: 8px 8px 0 #070907;
}

.compensation-card-header {
  min-height: 78px;
  padding: 18px 22px;
  background: #151a16;
  border-bottom: 4px solid var(--line);
}

.compensation-card-header span {
  display: block;
  color: var(--gold);
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
}

.compensation-card-header h3 {
  margin-top: 4px;
  color: var(--paper);
  font-size: 24px;
  line-height: 1.2;
}

.compensation-card a {
  display: block;
  background: #101511;
}

.compensation-card img {
  width: 100%;
  height: auto;
  background: #101511;
}

.reservation-gift-section,
.compensation-gift-section {
  padding: 104px 0 112px;
  background:
    radial-gradient(circle at 78% 18%, rgba(224, 189, 98, 0.16), transparent 34%),
    linear-gradient(180deg, #201a12, #15120f);
  border-bottom: 8px solid #080a08;
}

.reservation-gift-section::before,
.compensation-gift-section::before {
  background: repeating-linear-gradient(90deg, #7a5b2b 0 32px, #a07732 32px 64px, #4e3f25 64px 96px);
}

.compensation-gift-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(224, 189, 98, 0.18), transparent 34%),
    linear-gradient(180deg, #171f18, #111711);
}

.reservation-gift-heading {
  margin-bottom: 46px;
}

.reservation-gift-panel {
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 24px;
  align-items: stretch;
  background: #252a26;
  border: 4px solid var(--line);
  border-radius: 4px;
  box-shadow: 8px 8px 0 #070907;
}

.reservation-gift-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.reservation-gift-copy h3 {
  margin-top: 6px;
  color: var(--paper);
  font-size: 26px;
  line-height: 1.25;
}

.reservation-gift-copy > p {
  margin-top: 8px;
  color: var(--paper-dim);
  font-size: 13px;
}

.reservation-gift-status {
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.reservation-gift-status div {
  min-height: 64px;
  padding: 10px 12px;
  display: grid;
  align-content: center;
  background: #171c18;
  border: 3px solid #080a08;
}

.reservation-gift-status dt {
  color: var(--paper-dim);
  font-size: 10px;
  font-weight: 800;
}

.reservation-gift-status dd {
  margin-top: 2px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 900;
}

.reservation-gift-status dd[data-state="bad"] {
  color: #ff9478;
}

.reservation-gift-status dd[data-state="good"] {
  color: #cfe5aa;
}

.reservation-gift-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.reservation-gift-image {
  min-height: 300px;
  overflow: hidden;
  display: block;
  align-self: stretch;
  background: #101511;
  border: 3px solid var(--line);
  text-decoration: none;
}

.reservation-gift-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.compensation-gift-reward {
  min-height: 300px;
  padding: 28px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  background:
    radial-gradient(circle at 50% 22%, rgba(242, 220, 138, 0.22), transparent 36%),
    linear-gradient(180deg, #111611, #0d120e);
  border: 3px solid var(--line);
  text-align: center;
}

.compensation-gift-reward span,
.compensation-gift-reward small {
  color: var(--paper-dim);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.compensation-gift-reward strong {
  color: var(--gold-light);
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 1000;
  line-height: 1.1;
  text-shadow: 4px 4px 0 #000;
}

.compensation-gift-reward em {
  color: var(--paper);
  font-size: clamp(42px, 7vw, 80px);
  font-style: normal;
  font-weight: 1000;
  line-height: 1;
}

.invite-section {
  padding: 92px 0 104px;
  background-color: #171c18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 18% 18%, rgba(224, 189, 98, 0.15), transparent 32%),
    linear-gradient(180deg, #20251f, #131713);
  background-size: 24px 24px, 24px 24px, auto, auto;
}

.invite-section::before {
  background: repeating-linear-gradient(90deg, #6f5a20 0 32px, #a78b34 32px 64px, #3a4326 64px 96px);
}

.invite-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 28px;
  align-items: start;
}

.invite-rule-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.invite-rule-grid div,
.invite-dashboard,
.invite-reward-item,
.invite-referral-item {
  border: 4px solid var(--line);
  border-radius: 4px;
  background: rgba(14, 18, 14, 0.78);
  box-shadow: 6px 6px 0 #080a08;
}

.invite-rule-grid div {
  min-height: 112px;
  padding: 16px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.invite-rule-grid strong,
.invite-dashboard h3,
.invite-rewards h4,
.invite-referrals h4 {
  color: var(--gold-light);
  font-weight: 1000;
}

.invite-rule-grid span,
.invite-dashboard p,
.invite-pending,
.invite-reward-item span,
.invite-referral-item span {
  color: var(--paper-dim);
  font-size: 13px;
  font-weight: 800;
}

.invite-tier-line {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.invite-tier-line span {
  padding: 7px 10px;
  color: #12150f;
  background: var(--gold-light);
  border: 3px solid var(--line);
  box-shadow: 3px 3px 0 #080a08;
  font-size: 12px;
  font-weight: 1000;
}

.invite-poster {
  margin-top: 22px;
  display: block;
  overflow: hidden;
  border: 4px solid var(--line);
  border-radius: 4px;
  background: #0f130f;
  box-shadow: 8px 8px 0 #080a08;
}

.invite-poster img {
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  background: #101510;
}

.invite-dashboard {
  padding: 22px;
  display: grid;
  gap: 16px;
}

.invite-pending {
  padding: 12px;
  border-left: 4px solid var(--gold);
  background: rgba(224, 189, 98, 0.12);
}

.invite-link-box {
  display: grid;
  gap: 8px;
}

.invite-link-box label {
  color: var(--paper);
  font-size: 12px;
  font-weight: 900;
}

.invite-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.invite-link-row input {
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  color: var(--paper);
  background: rgba(8, 11, 8, 0.85);
  border: 3px solid var(--line);
  font: 800 13px Consolas, monospace;
}

.invite-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.invite-stats div {
  padding: 12px;
  background: rgba(244, 238, 220, 0.06);
  border: 2px solid rgba(244, 238, 220, 0.14);
}

.invite-stats strong {
  display: block;
  color: var(--gold-light);
  font-size: 24px;
  font-weight: 1000;
}

.invite-stats span {
  color: var(--paper-dim);
  font-size: 11px;
  font-weight: 900;
}

.invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.invite-rewards,
.invite-referrals {
  display: grid;
  gap: 10px;
}

.invite-reward-item,
.invite-referral-item {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: none;
}

.invite-reward-item strong,
.invite-referral-item strong {
  display: block;
  color: var(--paper);
  font-size: 14px;
  font-weight: 1000;
}

.invite-reward-item button {
  flex: 0 0 auto;
}

.activities-section {
  padding: 92px 0 104px;
  background-color: #171c18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 78% 16%, rgba(124, 63, 229, 0.18), transparent 32%),
    linear-gradient(180deg, #1f251f, #121713);
  background-size: 24px 24px, 24px 24px, auto, auto;
  border-bottom: 8px solid #101310;
}

.activities-section::before {
  background: repeating-linear-gradient(90deg, #4d3675 0 32px, #70509e 32px 64px, #332653 64px 96px);
}

.activity-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.activity-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: #20261f;
  border: 4px solid var(--line);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.72);
}

.activity-copy {
  padding: 22px;
  display: grid;
  gap: 8px;
}

.activity-copy h3 {
  color: var(--paper);
  font-size: 24px;
  font-weight: 1000;
  line-height: 1.2;
}

.activity-copy p {
  color: var(--paper-dim);
  font-size: 13px;
}

.activity-poster {
  display: block;
  padding: 12px;
  background: #0f130f;
  border-top: 4px solid var(--line);
}

.activity-poster img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #080b08;
}

.welfare-section {
  padding: 104px 0 112px;
  background:
    radial-gradient(circle at 78% 16%, rgba(93, 143, 172, 0.16), transparent 34%),
    linear-gradient(180deg, #151b22, #111714);
  border-bottom: 8px solid #080a08;
}

.welfare-section::before {
  background: repeating-linear-gradient(90deg, #255a6d 0 32px, #3f7f91 32px 64px, #1d4556 64px 96px);
}

.welfare-heading {
  margin-bottom: 46px;
}

.welfare-panel {
  padding: 26px;
  background: #22282c;
  border: 4px solid var(--line);
  border-radius: 4px;
  box-shadow: 8px 8px 0 #070907;
}

.welfare-coming-soon {
  min-height: 190px;
  padding: 26px;
  display: grid;
  align-content: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #151b1f;
  background-size: 22px 22px;
  border: 3px solid #080a08;
}

.welfare-coming-soon h3 {
  margin-top: 8px;
  color: var(--paper);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  text-shadow: 4px 4px 0 #000;
}

.welfare-coming-soon p {
  margin-top: 12px;
  max-width: 620px;
  color: var(--paper-dim);
  font-size: 14px;
}

.welfare-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.welfare-empty,
.welfare-card {
  min-height: 210px;
  padding: 26px;
  display: grid;
  align-content: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #151b1f;
  background-size: 22px 22px;
  border: 4px solid var(--line);
  border-radius: 4px;
  box-shadow: 8px 8px 0 #070907;
}

.welfare-empty {
  grid-column: 1 / -1;
}

.welfare-empty h3,
.welfare-card h3 {
  margin-top: 8px;
  color: var(--paper);
  font-size: 28px;
  line-height: 1.2;
  text-shadow: 3px 3px 0 #000;
}

.welfare-empty p,
.welfare-card p {
  margin-top: 10px;
  color: var(--paper-dim);
  font-size: 13px;
}

.welfare-card-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.welfare-card-meta span {
  padding: 5px 8px;
  color: var(--paper);
  background: #101511;
  border: 2px solid #080a08;
  font-size: 11px;
  font-weight: 900;
}

.welfare-card-actions {
  margin-top: 18px;
}

.welfare-card-actions .secondary-button {
  min-height: 42px;
  padding: 0 14px;
  font-size: 12px;
}

.world-section {
  padding: 104px 0 112px;
  background: #121714;
  border-bottom: 8px solid #080a08;
}

.guide-section {
  padding: 104px 0 112px;
  background:
    radial-gradient(circle at 20% 18%, rgba(144, 173, 97, 0.18), transparent 34%),
    linear-gradient(180deg, #141d16, #101511);
  border-bottom: 8px solid #080a08;
}

.guide-section::before {
  background: repeating-linear-gradient(90deg, #365f2d 0 32px, #5e8f45 32px 64px, #294923 64px 96px);
}

.guide-heading {
  margin-bottom: 46px;
}

.guide-entry-panel {
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
  gap: 22px;
  align-items: stretch;
  background: #222824;
  border: 4px solid var(--line);
  border-radius: 4px;
  box-shadow: 8px 8px 0 #070907;
}

.guide-entry-copy,
.guide-entry-button {
  min-height: 190px;
  padding: 26px;
  display: grid;
  align-content: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #151b17;
  background-size: 22px 22px;
  border: 3px solid #080a08;
}

.guide-entry-copy h3 {
  margin-top: 8px;
  color: var(--paper);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  text-shadow: 4px 4px 0 #000;
}

.guide-entry-copy p {
  margin-top: 12px;
  max-width: 620px;
  color: var(--paper-dim);
  font-size: 14px;
}

.guide-entry-button {
  place-items: center;
  color: #10150d;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.22), transparent 38%),
    var(--gold);
  box-shadow: inset 0 -7px 0 #b48d37;
  text-align: center;
  text-decoration: none;
}

.guide-entry-button:hover,
.guide-entry-button:focus-visible {
  filter: brightness(1.08);
  transform: translate(-1px, -1px);
}

.guide-entry-button svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.guide-entry-button span {
  font-size: 22px;
  font-weight: 1000;
}

.world-section::before {
  background: repeating-linear-gradient(90deg, #3d4140 0 36px, #4c5150 36px 72px, #303433 72px 108px);
}

.world-heading {
  margin-bottom: 62px;
}

.world-pillars {
  margin-bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 3px solid #313831;
  border-bottom: 3px solid #313831;
}

.world-pillars article {
  min-height: 260px;
  padding: 38px 30px;
  border-right: 3px solid #313831;
}

.world-pillars article:last-child {
  border-right: 0;
}

.world-pillars svg {
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  color: var(--gold);
}

.world-pillars span {
  display: block;
  margin-bottom: 7px;
  color: var(--moss);
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
}

.world-pillars h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.world-pillars p {
  color: var(--paper-dim);
  font-size: 13px;
}

.threat-heading {
  margin-bottom: 26px;
}

.threat-heading > span {
  color: var(--ember);
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
}

.threat-heading h3 {
  margin-top: 4px;
  font-size: 28px;
}

.threat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.threat-card {
  overflow: hidden;
  background: #252a26;
  border: 4px solid var(--line);
  border-radius: 4px;
  box-shadow: 7px 7px 0 #070907;
  transition: transform 180ms ease, border-color 180ms ease;
}

.threat-card:hover {
  border-color: #535d52;
  transform: translateY(-5px);
}

.threat-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-bottom: 4px solid var(--line);
}

.threat-copy {
  min-height: 172px;
  padding: 22px;
}

.threat-copy span {
  color: var(--gold);
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
}

.threat-copy h3 {
  margin: 4px 0 8px;
  font-size: 21px;
}

.threat-copy p {
  color: var(--paper-dim);
  font-size: 12px;
}

.journey-section {
  padding: 104px 0;
  color: #172018;
  background-color: #b7b39e;
  background-image:
    linear-gradient(rgba(29, 35, 29, 0.08) 2px, transparent 2px),
    linear-gradient(90deg, rgba(29, 35, 29, 0.08) 2px, transparent 2px);
  background-size: 48px 48px;
  border-bottom: 8px solid #1b211b;
}

.journey-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 88px;
}

.journey-intro .section-index {
  color: #476137;
}

.journey-intro h2 {
  margin: 8px 0 18px;
  color: #151b15;
  text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.28);
}

.journey-intro > p {
  color: #444b42;
  font-size: 14px;
}

.group-line {
  min-height: 66px;
  margin-top: 35px;
  padding: 12px 15px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 12px;
  color: var(--paper);
  background: #26352a;
  border: 3px solid #101410;
  box-shadow: 5px 5px 0 rgba(18, 22, 18, 0.5);
}

.group-line svg {
  grid-row: span 2;
  width: 25px;
  height: 25px;
  color: var(--gold);
}

.group-line span {
  color: #aab4a8;
  font-size: 9px;
}

.group-line strong {
  font-family: Consolas, monospace;
  font-size: 15px;
}

.journey-list {
  position: relative;
  list-style: none;
}

.journey-list::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 62px;
  width: 4px;
  background: #555d50;
  border: 1px solid #2f352e;
}

.journey-list li {
  position: relative;
  min-height: 112px;
  padding: 20px 18px 20px 105px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  border-bottom: 2px solid rgba(36, 42, 35, 0.22);
}

.journey-list li > span {
  position: absolute;
  left: 18px;
  z-index: 1;
  width: 90px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: #344936;
  border: 3px solid #171d17;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  box-shadow: 3px 3px 0 rgba(30, 36, 29, 0.38);
}

.journey-list li > div {
  min-width: 0;
}

.journey-list strong {
  font-size: 17px;
}

.journey-list p {
  color: #4e564b;
  font-size: 12px;
}

.journey-list li > svg {
  width: 27px;
  height: 27px;
  color: #46633e;
}

.faq-section {
  padding: 104px 0 116px;
  background: #171c18;
  border-bottom: 8px solid #0a0c0a;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 88px;
  align-items: start;
}

.faq-intro h2 {
  margin: 8px 0 16px;
}

.faq-intro p {
  color: var(--paper-dim);
  font-size: 13px;
}

.faq-list {
  border-top: 3px solid #394039;
}

.faq-list details {
  border-bottom: 3px solid #394039;
}

.faq-list summary {
  min-height: 76px;
  padding: 18px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--paper);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  color: var(--gold);
  transition: transform 180ms ease;
}

.faq-list details[open] summary svg {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 680px;
  padding: 0 48px 24px 4px;
  color: var(--paper-dim);
  font-size: 13px;
}

.site-footer {
  padding: 34px 0;
  background: #0b0e0c;
}

.footer-inner {
  min-height: 54px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .brand-mark {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}

.footer-inner > p {
  color: #747a72;
  font-size: 10px;
  text-align: center;
}

.footer-inner > a,
.footer-inner > button {
  width: 40px;
  height: 40px;
  justify-self: end;
  display: grid;
  place-items: center;
  color: var(--paper-dim);
  background: #1c211d;
  border: 3px solid #050605;
  text-decoration: none;
}

.footer-admin-button:hover,
.footer-admin-button:focus-visible {
  color: var(--gold-light);
  background: #222a24;
}

.mobile-action {
  display: none;
}

.confirm-dialog {
  width: min(calc(100% - 32px), 520px);
  margin: auto;
  color: var(--paper);
  background: #262c27;
  border: 4px solid var(--line);
  border-radius: 4px;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.7);
}

.welfare-detail-dialog {
  width: min(calc(100% - 32px), 620px);
}

.welfare-detail-list {
  grid-template-columns: 1fr;
}

.welfare-admin-dialog {
  width: min(calc(100% - 32px), 920px);
}

.welfare-admin-dialog > form {
  margin: 0;
}

.welfare-admin-body {
  padding: 0 34px 34px;
}

.welfare-admin-login {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.welfare-admin-login label,
.welfare-admin-form label {
  display: grid;
  gap: 6px;
  color: var(--paper);
  font-size: 12px;
  font-weight: 900;
}

.welfare-admin-login input,
.welfare-admin-form input,
.welfare-admin-form select,
.welfare-admin-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--paper);
  background: #111612;
  border: 3px solid #080a08;
  outline: 0;
}

.welfare-admin-form textarea {
  resize: vertical;
}

.welfare-admin-panel {
  margin-top: 20px;
  display: grid;
  gap: 18px;
}

.welfare-admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.welfare-admin-head h3 {
  font-size: 20px;
}

.welfare-admin-form {
  display: grid;
  gap: 14px;
}

.welfare-admin-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.welfare-admin-group {
  padding: 14px;
  display: grid;
  gap: 12px;
  background: #151b17;
  border: 3px solid #080a08;
}

.welfare-admin-group > strong {
  color: var(--gold-light);
  font-size: 15px;
  font-weight: 1000;
}

.welfare-command-field {
  padding: 14px;
  background: #111612;
  border: 3px solid #080a08;
}

.welfare-command-field textarea {
  min-height: 168px;
  font-family: Consolas, "Microsoft YaHei UI", monospace;
  line-height: 1.55;
}

.welfare-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.welfare-check {
  min-height: 44px;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 10px 12px;
  background: #111612;
  border: 3px solid #080a08;
}

.welfare-check input {
  width: 18px;
  min-height: 18px;
  padding: 0;
}

.welfare-admin-hint {
  color: var(--paper-dim);
  font-size: 12px;
}

.welfare-admin-hint code {
  color: var(--gold-light);
}

.welfare-admin-list {
  display: grid;
  gap: 10px;
}

.welfare-admin-item {
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  background: #151b17;
  border: 3px solid #080a08;
}

.welfare-admin-item strong {
  display: block;
  color: var(--paper);
}

.welfare-admin-item small {
  display: block;
  margin-top: 5px;
  color: var(--paper-dim);
}

.welfare-admin-winners {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.welfare-admin-winners span {
  padding: 4px 7px;
  color: var(--gold-light);
  background: rgba(224, 189, 98, 0.12);
  border: 1px solid rgba(224, 189, 98, 0.32);
  font-size: 12px;
  font-weight: 900;
}

.welfare-admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.welfare-admin-item-actions button {
  min-height: 38px;
  padding: 0 12px;
  font-size: 12px;
}

.welfare-admin-item-actions .danger-button {
  color: #ffe6e2;
  background: #4a1714;
  border-color: #160707;
}

.confirm-dialog::backdrop {
  background: rgba(4, 6, 4, 0.82);
  backdrop-filter: blur(4px);
}

.confirm-dialog form {
  position: relative;
  padding: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 20px 20px;
}

.confirm-dialog .welfare-admin-form {
  padding: 0;
  display: grid;
  align-items: stretch;
  text-align: left;
  background-image: none;
}

.confirm-dialog .welfare-command-field {
  width: 100%;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.dialog-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border: 4px solid var(--line);
  box-shadow: inset -7px -7px 0 #a77f2e, 5px 5px 0 #0b0d0b;
}

.dialog-icon svg {
  width: 31px;
  height: 31px;
}

.confirm-dialog h2 {
  margin: 6px 0 8px;
  font-size: 26px;
}

.confirm-dialog form > p {
  color: var(--paper-dim);
  font-size: 12px;
}

.recovery-code-field {
  width: 100%;
  margin: 18px 0 14px;
  display: grid;
  gap: 7px;
  color: var(--paper);
  font-size: 12px;
  font-weight: 900;
  text-align: left;
}

.recovery-code-field .input-error {
  min-height: 16px;
  text-align: left;
}

.confirm-name {
  width: 100%;
  margin: 16px 0;
  padding: 13px;
  overflow-wrap: anywhere;
  color: var(--gold-light);
  background: #121713;
  border: 3px solid var(--line);
  font-family: Consolas, monospace;
  font-size: 24px;
}

.dialog-detail-list {
  width: 100%;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  text-align: left;
}

.dialog-detail-list div {
  min-height: 56px;
  padding: 10px 12px;
  display: grid;
  align-content: center;
  background: #121713;
  border: 3px solid var(--line);
}

.dialog-detail-list dt {
  color: var(--paper-dim);
  font-size: 10px;
  font-weight: 800;
}

.dialog-detail-list dd {
  margin-top: 2px;
  color: var(--gold-light);
  font-family: Consolas, monospace;
  font-size: 16px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.dialog-warning {
  width: 100%;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #e9d7cb;
  background: rgba(129, 54, 37, 0.35);
  border-left: 4px solid var(--ember);
  font-size: 11px;
  text-align: left;
}

.dialog-warning svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #ef8b6d;
}

.dialog-actions {
  width: 100%;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2000;
  max-width: min(380px, calc(100% - 32px));
  min-height: 54px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  background: var(--gold-light);
  border: 3px solid var(--line);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.72);
  font-size: 12px;
  font-weight: 900;
  animation: toastIn 180ms steps(2, end);
}

.toast.error {
  color: var(--paper);
  background: var(--ember);
}

.toast svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
}

@media (max-width: 1060px) {
  .nav-links a {
    min-width: auto;
    padding: 0 10px;
  }

  .hero-content {
    gap: 28px;
  }

  .reservation-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 28px;
  }

  .invite-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .world-pillars article {
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (max-width: 860px) {
  :root {
    --nav-height: 64px;
  }

  .page-shell,
  .nav-inner {
    width: min(calc(100% - 32px), var(--page));
  }

  .menu-button {
    display: inline-grid;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    left: 0;
    height: auto;
    padding: 8px 16px 16px;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    background: #101511;
    border-bottom: 4px solid var(--line);
    box-shadow: 0 7px 0 rgba(0, 0, 0, 0.45);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    min-height: 46px;
    border: 2px solid #293029;
  }

  .nav-links a::after {
    display: none;
  }

  .invite-rule-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    background-color: #17212a;
  }

  .hero-art {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 10, 8, 0.9) 0%, rgba(9, 13, 10, 0.65) 62%, rgba(8, 10, 9, 0.22) 100%),
      linear-gradient(180deg, rgba(6, 8, 7, 0.04) 55%, rgba(6, 8, 7, 0.82) 100%);
  }

  .hero h1 {
    font-size: 52px;
  }

  .section-heading,
  .reservation-layout,
  .reservation-gift-panel,
  .reservation-gift-status,
  .compensation-gift-status,
  .compensation-current-panel,
  .compensation-current-status,
  .compensation-plan-list,
  .compensation-grid,
  .activity-list,
  .welfare-list,
  .guide-entry-panel,
  .welfare-admin-editor,
  .welfare-admin-grid,
  .welfare-admin-item,
  .journey-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .journey-layout,
  .faq-layout {
    gap: 22px;
  }

  .reservation-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
  }

  .reservation-notes > .section-index,
  .reservation-notes > h3,
  .reservation-notes > p {
    grid-column: 1 / -1;
  }

  .world-pillars {
    grid-template-columns: 1fr;
  }

  .world-pillars article {
    min-height: auto;
    border-right: 0;
    border-bottom: 3px solid #313831;
  }

  .world-pillars article:last-child {
    border-bottom: 0;
  }

  .threat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .threat-card:last-child {
    grid-column: 1 / -1;
  }

  .threat-card:last-child img {
    aspect-ratio: 2 / 1;
    object-position: center 28%;
  }
}

@media (max-width: 600px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .bilibili-checks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .account-button {
    min-width: 44px;
    width: 44px;
    padding: 0;
  }

  .account-button span {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 120px);
    max-height: none;
  }

  .hero-art {
    object-position: 61% center;
  }

  .invite-section {
    padding: 68px 0 78px;
  }

  .invite-link-row,
  .invite-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .invite-reward-item,
  .invite-referral-item {
    align-items: stretch;
    flex-direction: column;
  }

  .invite-reward-item button {
    width: 100%;
  }

  .hero-content {
    padding-top: 44px;
    padding-bottom: 38px;
  }

  .hero-kicker {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .hero-series {
    font-size: 14px;
  }

  .hero h1 {
    margin-bottom: 12px;
    font-size: 40px;
    text-shadow: 4px 4px 0 #0b0c0b, 6px 6px 0 rgba(44, 91, 51, 0.75);
  }

  .hero-lead {
    font-size: 13px;
    line-height: 1.7;
  }

  .hero-count {
    margin: 19px 0;
  }

  .count-line strong {
    min-width: 104px;
    font-size: 48px;
  }

  .count-line span {
    font-size: 11px;
  }

  .launch-countdown {
    margin-bottom: 18px;
    padding: 10px;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .launch-countdown-meta > svg {
    width: 32px;
    height: 32px;
    padding: 6px;
  }

  .launch-countdown-values {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  .launch-countdown-values > span {
    height: 50px;
    grid-template-rows: 29px 13px;
  }

  .launch-countdown-values strong {
    font-size: 20px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    width: 100%;
    min-width: 0;
  }

  .hero-trust {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .reservation-section,
  .cloud-section,
  .compensation-section,
  .world-section,
  .journey-section,
  .faq-section {
    padding-top: 74px;
    padding-bottom: 78px;
  }

  .section-heading h2,
  .journey-intro h2,
  .faq-intro h2 {
    font-size: 29px;
  }

  .section-heading > p {
    font-size: 12px;
  }

  .reservation-steps {
    margin-top: 30px;
  }

  .reservation-steps li {
    min-height: 64px;
    padding: 10px 8px;
    justify-content: center;
    text-align: center;
  }

  .reservation-steps li > span {
    display: none;
  }

  .reservation-steps strong {
    font-size: 11px;
  }

  .reservation-steps small {
    font-size: 8px;
  }

  .tool-topbar {
    padding: 0 12px;
    font-size: 9px;
  }

  .tool-body {
    min-height: 590px;
    padding: 26px 18px;
  }

  .pairing-code span {
    font-size: 24px;
  }

  .pairing-heading {
    gap: 10px;
  }

  .pairing-heading h3 {
    font-size: 18px;
  }

  .pairing-countdown {
    min-width: 64px;
  }

  .pairing-command {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .pairing-instructions {
    grid-template-columns: 1fr;
  }

  .pairing-instructions li {
    min-height: 58px;
    border-right: 0;
    border-bottom: 2px solid var(--line-soft);
  }

  .pairing-instructions li:last-child {
    border-bottom: 0;
  }

  .pairing-actions {
    grid-template-columns: 1fr;
  }

  .loading-state h3,
  .guest-state h3,
  .success-state h3 {
    font-size: 22px;
  }

  .member-strip {
    padding-bottom: 18px;
  }

  .member-copy strong {
    font-size: 15px;
  }

  .binding-form {
    padding-top: 22px;
  }

  .input-frame {
    height: 54px;
    padding: 0 10px;
  }

  .input-frame input {
    font-size: 15px;
  }

  .input-meta {
    flex-direction: column;
    gap: 2px;
  }

  .input-error {
    text-align: left;
  }

  .binding-warning {
    margin-top: 9px;
  }

  .reservation-notes {
    grid-template-columns: 1fr;
  }

  .world-heading {
    margin-bottom: 40px;
  }

  .cloud-heading {
    margin-bottom: 30px;
  }

  .reservation-gift-heading {
    margin-bottom: 30px;
  }

  .reservation-gift-image {
    min-height: 240px;
  }

  .compensation-gift-reward {
    min-height: 240px;
  }

  .compensation-heading {
    margin-bottom: 30px;
  }

  .compensation-grid {
    gap: 22px;
  }

  .compensation-card-header {
    min-height: 66px;
    padding: 14px 18px;
  }

  .compensation-card-header h3 {
    font-size: 21px;
  }

  .world-pillars {
    margin-bottom: 0;
  }

  .world-pillars article {
    padding: 29px 20px;
  }

  .world-pillars svg {
    margin-bottom: 18px;
  }

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

  .threat-card:last-child {
    grid-column: auto;
  }

  .threat-card:last-child img,
  .threat-card img {
    aspect-ratio: 5 / 4;
  }

  .journey-list::before {
    left: 42px;
  }

  .journey-list li {
    padding-right: 0;
    padding-left: 84px;
  }

  .journey-list li > span {
    left: 0;
    width: 74px;
  }

  .journey-list li > svg {
    display: none;
  }

  .journey-list strong {
    font-size: 14px;
  }

  .faq-list summary {
    font-size: 13px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner > p {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }

  .mobile-action {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 950;
    min-height: calc(66px + env(safe-area-inset-bottom));
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #101511;
    border-top: 4px solid var(--line);
    box-shadow: 0 -3px 0 rgba(224, 189, 98, 0.18);
  }

  .mobile-action > div {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
  }

  .mobile-action > div strong {
    color: var(--gold-light);
    font-family: Impact, "Arial Black", sans-serif;
    font-size: 22px;
    font-variant-numeric: tabular-nums;
  }

  .mobile-action > div span {
    color: var(--paper-dim);
    font-size: 9px;
  }

  .mobile-action .primary-button {
    min-height: 44px;
    padding: 0 14px;
    box-shadow: inset 0 -4px 0 #b48d37, 3px 3px 0 #080a08;
    font-size: 12px;
  }

  .confirm-dialog form {
    padding: 32px 18px 22px;
  }

  .dialog-actions {
    grid-template-columns: 1fr;
  }

  .dialog-detail-list {
    grid-template-columns: 1fr;
  }

  .toast {
    right: 16px;
    bottom: calc(84px + env(safe-area-inset-bottom));
  }
}

@media (max-height: 700px) and (min-width: 601px) {
  .hero-content {
    padding-top: 34px;
    padding-bottom: 32px;
  }

  .hero-kicker {
    margin-bottom: 8px;
  }

  .hero h1 {
    margin-bottom: 8px;
    font-size: 52px;
  }

  .hero-lead {
    font-size: 13px;
  }

  .hero-count {
    margin: 13px 0;
  }

  .count-line strong {
    font-size: 46px;
  }

  .launch-countdown {
    margin-bottom: 14px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .launch-countdown-values > span {
    height: 46px;
  }

  .hero-trust {
    display: none;
  }
}

@media (max-width: 600px) and (max-height: 700px) {
  .hero-content {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero-kicker {
    margin-bottom: 6px;
  }

  .hero h1 {
    margin-bottom: 8px;
  }

  .hero-lead {
    display: none;
  }

  .hero-count {
    margin: 11px 0;
  }

  .launch-countdown {
    margin-bottom: 11px;
    padding: 7px;
    gap: 6px;
  }

  .launch-countdown-meta > svg {
    width: 29px;
    height: 29px;
    padding: 5px;
  }

  .launch-countdown-meta strong {
    font-size: 11px;
  }

  .launch-countdown-values > span {
    height: 43px;
    grid-template-rows: 25px 12px;
  }

  .launch-countdown-values strong {
    font-size: 18px;
  }

  .hero-actions .secondary-button {
    display: none;
  }

  .hero-actions .primary-button {
    min-height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
