:root {
  --bg: #0c0e12;
  --side: rgba(12, 12, 14, 0.92);
  --side-2: rgba(255, 255, 255, 0.06);
  --card: rgba(12, 12, 14, 0.86);
  --card-2: rgba(18, 18, 22, 0.94);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(232, 197, 71, 0.45);
  --text: #ffffff;
  --mute: rgba(255, 255, 255, 0.72);
  --dim: rgba(255, 255, 255, 0.45);
  --blue: #2f7bff;
  --blue-2: #1a63e8;
  --blue-soft: rgba(47, 123, 255, 0.16);
  --blue-glow: rgba(47, 123, 255, 0.28);
  --gold: #e8c547;
  --gold-2: #c9a227;
  --leaf: #3d7a38;
  --ok: #3c9a4a;
  --warn: #e8c547;
  --danger: #d4453a;
  --radius: 6px;
  --side-w: 240px;
  --top-h: 58px;
  --ucp-mast: 38px;
  --ucp-bar: 80px;
  --ucp-alert: 0px;
  --ucp-chrome: calc(var(--ucp-bar) + var(--ucp-mast));
  --ink: rgba(12, 12, 14, 0.9);
  --ink-92: rgba(12, 12, 14, 0.96);
  --map: #0c0e12;
  --panel: rgba(12, 12, 14, 0.78);
  --road: #e8c547;
  --shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  --font: Roboto, "Segoe UI", sans-serif;
  --display: Roboto, "Segoe UI", sans-serif;
  --serif: Roboto, "Segoe UI", sans-serif;
  --link-hover: #f0d56a;
  --on-accent: #111;
  --chrome-fg: #ffffff;
  --chrome-muted: rgba(255, 255, 255, 0.72);
  --chrome-hover: rgba(232, 197, 71, 0.12);
  --orb-bg: rgba(12, 12, 14, 0.86);
  --orb-line: rgba(232, 197, 71, 0.4);
  --input-bg: rgba(255, 255, 255, 0.06);
  --btn-hover: rgba(232, 197, 71, 0.14);
  --glass: blur(12px) saturate(1.05);
}

html[data-theme="light"] {
  --bg: #e8eef5;
  --side: rgba(255, 255, 255, 0.78);
  --side-2: rgba(255, 255, 255, 0.92);
  --card: rgba(255, 255, 255, 0.72);
  --card-2: rgba(255, 255, 255, 0.88);
  --line: rgba(18, 40, 64, 0.12);
  --line-strong: rgba(18, 40, 64, 0.2);
  --text: #102038;
  --mute: #5a6b80;
  --dim: #8494a8;
  --ink: rgba(255, 255, 255, 0.72);
  --ink-92: rgba(255, 255, 255, 0.78);
  --map: #e8eef5;
  --panel: rgba(255, 255, 255, 0.7);
  --shadow: 0 14px 40px rgba(18, 40, 64, 0.1);
  --link-hover: #1a63e8;
  --blue-soft: rgba(47, 123, 255, 0.12);
  --blue-glow: rgba(47, 123, 255, 0.2);
  --chrome-fg: #102038;
  --chrome-muted: rgba(16, 32, 56, 0.62);
  --chrome-hover: rgba(16, 32, 56, 0.08);
  --orb-bg: rgba(255, 255, 255, 0.65);
  --orb-line: rgba(16, 32, 56, 0.14);
  --input-bg: rgba(255, 255, 255, 0.85);
  --btn-hover: rgba(16, 32, 56, 0.06);
  --gold: #b8730f;
}

html { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(232, 197, 71, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(47, 123, 255, 0.08), transparent 50%),
    var(--bg);
}
body { font-family: var(--font); font-weight: 500; font-size: 15px; line-height: 1.45; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--link-hover); }
button, input, textarea, select { font-family: inherit; }
.hidden { display: none !important; }

/* ------------------------------------------------------------------ */
/* Guest auth — HUD ink panel over city stage                           */
/* ------------------------------------------------------------------ */

body.is-auth .site { background: transparent; }
body.is-auth .site-main {
  padding-top: 0;
  padding-bottom: 0;
}
body.is-auth .site-foot { display: none; }

.auth-page {
  position: relative;
  width: 100%;
  margin: 0;
  min-height: 100vh;
  padding: calc(var(--ucp-chrome) + 1.6rem) 1.25rem 2.4rem;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #0c0e12;
}
.auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/img/gtav/beach.jpg?v=1") center 42% / cover no-repeat;
  filter: saturate(0.85) contrast(1.05) brightness(0.55);
  transform: scale(1.04);
  pointer-events: none;
}
.auth-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(12, 12, 14, 0.72) 0%, rgba(12, 12, 14, 0.45) 40%, rgba(12, 12, 14, 0.82) 100%),
    radial-gradient(ellipse 70% 55% at 50% 42%, transparent 28%, rgba(12, 12, 14, 0.55) 100%);
  pointer-events: none;
}
.auth-stage {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.4rem 2rem;
  align-items: center;
}
.auth-copy {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  max-width: 28rem;
}
.auth-copy .auth-mark {
  display: block;
  height: 64px;
  width: auto;
  max-width: min(240px, 70vw);
  margin: 0 0 1.15rem;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}
.auth-copy .kicker {
  margin: 0 0 0.55rem;
  color: #e8c547;
  justify-content: flex-start;
}
.auth-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 11ch;
}
.auth-copy .auth-lede {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 34ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.auth-copy .auth-points {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.auth-copy .auth-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 600;
}
.auth-copy .auth-points i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e8c547;
  box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.22);
  flex-shrink: 0;
}

.auth-panel {
  width: 100%;
  max-width: 420px;
  justify-self: end;
  padding: 1.25rem 1.25rem 1.3rem;
  background: rgba(12, 12, 14, 0.9);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  border: 1px solid rgba(232, 197, 71, 0.35);
  border-radius: 6px;
  box-shadow:
    inset 0 -2px 0 rgba(232, 197, 71, 0.55),
    0 18px 50px rgba(0, 0, 0, 0.45);
  text-align: left;
  color: #fff;
}
.auth-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin: 0 0 1.05rem;
  padding: 0.28rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}
.auth-mode {
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.auth-mode:hover { color: #fff; background: rgba(232, 197, 71, 0.1); }
.auth-mode.is-on {
  color: #fff;
  background: rgba(232, 197, 71, 0.14);
  box-shadow: inset 0 -2px 0 #e8c547;
}
.auth-panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: none;
}
.auth-panel .auth-panel-lede {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.45;
}
.auth-panel .form { max-width: none; gap: 0.8rem; text-align: left; }
.auth-panel label {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}
.auth-page input,
.auth-page select {
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: none;
  font-weight: 600;
}
.auth-page select option,
.auth-page select optgroup {
  color: #fff;
  background-color: #12141a;
}
.auth-page input::placeholder { color: rgba(255, 255, 255, 0.4); }
.auth-page input:focus,
.auth-page select:focus {
  border-color: rgba(232, 197, 71, 0.65);
  outline: 2px solid rgba(232, 197, 71, 0.25);
  outline-offset: 1px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.auth-panel .btn.block {
  margin-top: 0.2rem;
  height: 44px;
  border-radius: 6px;
  background: rgba(232, 197, 71, 0.16);
  border: 1px solid rgba(232, 197, 71, 0.45);
  color: #fff;
  box-shadow: inset 0 -2px 0 #e8c547;
}
.auth-panel .btn.block:hover {
  background: rgba(232, 197, 71, 0.24);
  border-color: rgba(232, 197, 71, 0.6);
  color: #fff;
}
.auth-panel .btn.ghost.block {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
}
.auth-panel .btn.ghost.block:hover {
  background: rgba(232, 197, 71, 0.12);
  border-color: rgba(232, 197, 71, 0.4);
  color: #fff;
  box-shadow: inset 0 -2px 0 #e8c547;
}
.auth-panel .divider {
  color: rgba(255, 255, 255, 0.65);
  margin: 0.35rem 0 0.55rem;
}
.auth-panel .divider::before,
.auth-panel .divider::after {
  background: rgba(255, 255, 255, 0.28);
}
.auth-switch {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  text-align: center;
}
.auth-switch a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.auth-switch a:hover { color: #e8c547; }
.auth-panel .err {
  color: #ffc4bf;
  min-height: 1.1rem;
  margin: 0;
  font-weight: 600;
}

@media (max-width: 860px) {
  .auth-stage {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: min(440px, 100%);
  }
  .auth-copy {
    text-align: center;
    max-width: none;
    justify-self: center;
  }
  .auth-copy .auth-mark {
    margin-left: auto;
    margin-right: auto;
    object-position: center;
  }
  .auth-copy .kicker { justify-content: center; }
  .auth-copy h1 {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  .auth-copy .auth-lede {
    margin-left: auto;
    margin-right: auto;
  }
  .auth-copy .auth-points { justify-items: center; }
  .auth-copy .auth-points li { justify-content: center; }
  .auth-panel {
    justify-self: center;
    max-width: none;
  }
}

.divider {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--mute);
  font-size: 0.78rem;
  margin: 0.15rem 0 0.85rem;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.err { color: var(--danger); min-height: 1.1rem; font-size: 0.85rem; margin: 0; }
.ok { color: var(--ok); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 40px;
  border: 1px solid transparent;
  background: var(--card-2);
  color: var(--text);
  padding: 0 1rem;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.btn:hover { background: var(--btn-hover); color: var(--text); filter: none; }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn.block { width: 100%; }
.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--on-accent);
  box-shadow: none;
}
.btn.primary:hover { background: var(--blue-2); border-color: var(--blue-2); }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn.ghost { background: transparent; border-color: var(--line-strong); color: var(--chrome-fg); }
.btn.ghost:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.danger { background: transparent; border-color: rgba(212, 69, 58, 0.45); color: #ff8a82; }

/* ------------------------------------------------------------------ */
/* Logged-in UCP shell                                                  */
/* ------------------------------------------------------------------ */

.ucp {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  background: transparent;
}
.ucp-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  --chrome-fg: #ffffff;
  --chrome-muted: rgba(255, 255, 255, 0.72);
  --chrome-hover: rgba(232, 197, 71, 0.12);
  --orb-bg: rgba(12, 12, 14, 0.86);
  --orb-line: rgba(232, 197, 71, 0.4);
  --panel: rgba(12, 12, 14, 0.86);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(232, 197, 71, 0.5);
  --gold: #e8c547;
}
.ucp-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(12, 12, 14, 0.94);
  pointer-events: none;
}
.ucp-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.06), transparent 40%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  pointer-events: none;
  box-shadow: inset 0 -1px 0 var(--gold);
}
.ucp-head > * {
  position: relative;
  z-index: 1;
}
.ucp-chrome {
  height: var(--ucp-bar);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.1rem 0 0.85rem;
  background: rgba(12, 12, 14, 0.86);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  border-bottom: 1px solid rgba(232, 197, 71, 0.35);
  box-shadow: inset 0 -2px 0 rgba(232, 197, 71, 0.55);
  isolation: isolate;
}
.ucp-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 0.15rem;
  isolation: isolate;
}
.ucp-wordmark {
  height: 48px;
  width: auto;
  max-width: min(240px, 38vw);
  object-fit: contain;
  display: block;
  mix-blend-mode: screen;
  filter: none;
}
.ucp-brand.is-compact {
  padding: 0 0.1rem;
}
.ucp-mark {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.ucp-brand-type {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
}
.ucp-brand-type img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: none;
}
.ucp-brand-type b {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.ucp-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  position: relative;
  flex-shrink: 0;
}
.ucp-chrome .btn {
  height: 40px;
  padding: 0 1rem;
  font-size: 13px;
  border-radius: 10px;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.ucp-chrome .btn.primary {
  background: rgba(232, 197, 71, 0.16);
  border: 1px solid rgba(232, 197, 71, 0.55);
  color: #fff;
  box-shadow: inset 0 -2px 0 #e8c547;
  text-shadow: none;
  border-radius: 6px;
}
.ucp-chrome .btn.primary:hover {
  background: rgba(232, 197, 71, 0.28);
  border-color: rgba(232, 197, 71, 0.8);
  color: #fff;
  box-shadow: inset 0 -2px 0 #f0d56a;
}
.ucp-chrome .btn.ghost,
.ucp-chrome .site-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  text-shadow: none;
  border-radius: 6px;
}
.ucp-chrome .btn.ghost:hover,
.ucp-chrome .site-ghost:hover {
  background: rgba(232, 197, 71, 0.12);
  border-color: rgba(232, 197, 71, 0.45);
  color: #fff;
  box-shadow: inset 0 -2px 0 #e8c547;
  text-shadow: none;
}
.ucp-tools {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
}
.ucp-orb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 12, 14, 0.86);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.ucp-orb:hover {
  color: #fff;
  background: rgba(232, 197, 71, 0.12);
  border-color: rgba(232, 197, 71, 0.45);
  box-shadow: inset 0 -2px 0 #e8c547;
}
.ucp-orb[aria-pressed="true"] {
  color: #e8c547;
  background: rgba(232, 197, 71, 0.14);
  border-color: rgba(232, 197, 71, 0.55);
  box-shadow: inset 0 -2px 0 #e8c547;
}
.ucp-orb svg { width: 16px; height: 16px; }
.ucp-who {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  height: 40px;
  background: rgba(12, 12, 14, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  padding: 0 0.7rem 0 0.35rem;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.ucp-who:hover {
  border-color: rgba(232, 197, 71, 0.45);
  background: rgba(232, 197, 71, 0.1);
  box-shadow: inset 0 -2px 0 #e8c547;
}
.ucp-who-text { display: grid; line-height: 1.15; max-width: 12rem; }
.ucp-who-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ucp-who-text em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.ucp-chrome .avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--blue);
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(47, 123, 255, 0.45);
}

.ucp-burger {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.ucp-burger svg { width: 18px; height: 18px; }
.ucp-burger:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 -2px 0 #e8c547;
}
body.nav-open .ucp-burger {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 -2px 0 #e8c547;
}
.ucp-chrome.is-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0 0.7rem;
  padding: 0 1.1rem;
  position: relative;
  z-index: 2;
  overflow: visible;
}
.ucp-rail {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}
.ucp-rail.is-start { justify-content: flex-start; }
.ucp-rail.is-end { justify-content: flex-end; }
.ucp-rail-tools {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.ucp-cluster {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  height: 100%;
  min-width: 0;
  overflow: visible;
}
.ucp-cluster .ucp-tabs {
  align-self: center;
  flex: 0 1 auto;
  height: 40px;
}
.ucp-cluster .ucp-tabs.is-left { justify-content: flex-end; padding-right: 0.35rem; }
.ucp-cluster .ucp-tabs.is-right { justify-content: flex-start; padding-left: 0.35rem; }
.ucp-cluster .ucp-brand.is-compact {
  width: auto;
  height: auto;
  min-width: 0;
  margin-top: 0;
  margin-bottom: 0;
  align-self: center;
  display: grid;
  place-items: center;
  padding: 0 0.35rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  position: relative;
  z-index: 3;
}
.ucp-cluster .ucp-brand.is-compact::after {
  content: none;
}
.ucp-cluster .ucp-brand.is-compact:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  filter: none;
}
.ucp-cluster .ucp-mark {
  width: auto;
  height: 72px;
  max-height: calc(var(--ucp-bar) - 6px);
  max-width: min(220px, 34vw);
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
  transition: filter 0.16s ease;
}
.ucp-cluster .ucp-brand.is-compact:hover .ucp-mark {
  filter:
    drop-shadow(1px 0 0 #e8c547)
    drop-shadow(-1px 0 0 #e8c547)
    drop-shadow(0 1px 0 #e8c547)
    drop-shadow(0 -1px 0 #e8c547)
    drop-shadow(1px 1px 0 #e8c547)
    drop-shadow(-1px 1px 0 #e8c547)
    drop-shadow(1px -1px 0 #e8c547)
    drop-shadow(-1px -1px 0 #e8c547)
    drop-shadow(0 0 8px rgba(232, 197, 71, 0.45))
    drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
}
.ucp-pre-alpha {
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translate(-50%, 70%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  height: 16px;
  padding: 0 0.42rem;
  border-radius: 999px;
  background: #e8c547;
  color: #1a1406;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(12, 12, 14, 0.35);
  pointer-events: none;
}
@media (max-width: 1180px) {
  .ucp-chrome.is-split .site-live { display: none; }
}
.ucp-tabs {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
  gap: 0.28rem;
  height: 40px;
  overflow: hidden;
}
.ucp-tab {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 0.9rem;
  color: var(--chrome-muted);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 10px;
  border: 1px solid transparent;
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ucp-tab.is-on {
  color: #fff;
  background: rgba(232, 197, 71, 0.12);
  border-color: rgba(232, 197, 71, 0.35);
  box-shadow: inset 0 -2px 0 #e8c547;
  text-shadow: none;
}
a.ucp-tab:hover {
  color: #fff;
  background: rgba(232, 197, 71, 0.08);
  border-color: rgba(232, 197, 71, 0.25);
}
a.ucp-tab.is-on:hover {
  color: #fff;
  background: rgba(232, 197, 71, 0.18);
  border-color: rgba(232, 197, 71, 0.5);
  box-shadow: inset 0 -2px 0 #f0d56a;
}

.ucp-scrim {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--ucp-chrome);
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 55;
}

.ucp-drawer {
  position: fixed;
  top: var(--ucp-chrome);
  left: 0;
  bottom: 0;
  width: var(--side-w);
  background: rgba(12, 12, 14, 0.96);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  border-right: 1px solid rgba(232, 197, 71, 0.35);
  box-shadow:
    inset -2px 0 0 rgba(232, 197, 71, 0.55),
    12px 0 36px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  z-index: 60;
  transform: translateX(-105%);
  transition: transform 0.18s ease;
  pointer-events: auto;
}
body.nav-open .ucp-drawer { transform: none; }

.side-nav {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.side-nav-head {
  flex-shrink: 0;
  padding: 0.85rem 0.85rem 0.7rem;
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.08), transparent 70%),
    rgba(12, 12, 14, 0.98);
  border-bottom: 1px solid rgba(232, 197, 71, 0.28);
  box-shadow: inset 0 -2px 0 rgba(232, 197, 71, 0.45);
}
.side-nav-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0.45rem 0.55rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.side-group {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.side-group + .side-group {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(232, 197, 71, 0.18);
}
.side-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0 0.7rem;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  appearance: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
a.side-link { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.side-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.55;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  stroke-width: 1.75;
}
.side-link > span:not(.side-chev):not(.side-trail) { pointer-events: none; }
.side-link:hover, a.side-link:hover {
  background: rgba(232, 197, 71, 0.1);
  color: #fff;
}
.side-link:hover svg, a.side-link:hover svg {
  opacity: 1;
  color: #e8c547;
}
.side-link.is-on, a.side-link.is-on, a.side-link.is-on:hover {
  background: rgba(232, 197, 71, 0.12);
  color: #fff;
  box-shadow: inset 0 -2px 0 #e8c547;
}
.side-link.is-on svg, a.side-link.is-on svg {
  opacity: 1;
  color: #e8c547;
}
.side-link.is-on::before { display: none; }

.side-fold {
  display: flex;
  flex-direction: column;
}
.side-fold > summary {
  list-style: none;
}
.side-fold > summary::-webkit-details-marker {
  display: none;
}
.side-fold[open] > summary {
  background: rgba(232, 197, 71, 0.08);
  color: #fff;
  box-shadow: inset 0 -1px 0 rgba(232, 197, 71, 0.35);
}
.side-fold[open] > summary svg {
  opacity: 1;
  color: #e8c547;
}
.side-chev {
  margin-left: auto;
  display: inline-flex;
  opacity: 0.4;
  color: rgba(255, 255, 255, 0.55);
}
.side-chev svg {
  width: 14px;
  height: 14px;
}
.side-trail {
  margin-left: auto;
  display: inline-flex;
  opacity: 0.4;
}
.side-trail svg {
  width: 13px;
  height: 13px;
}
.side-fold[open] > summary .side-chev {
  transform: rotate(180deg);
  opacity: 0.85;
  color: #e8c547;
}
.side-sub {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  margin: 0.12rem 0 0.25rem 0.55rem;
  padding: 0.15rem 0 0.15rem 0.55rem;
  border-left: 2px solid rgba(232, 197, 71, 0.28);
}
.side-child {
  min-height: 2.05rem;
  font-size: 0.78rem;
  padding-left: 0.55rem;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
}
.side-child.is-on,
a.side-child.is-on {
  box-shadow: inset 0 -2px 0 #e8c547;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  margin-right: 0.35rem;
  box-shadow: 0 0 8px var(--ok);
}
.dot.off { background: var(--danger); box-shadow: none; }

.ucp-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 0;
  padding-top: var(--ucp-chrome);
  padding-left: 0;
  transition: padding-left 0.18s ease;
  background: transparent;
}
body.nav-open .ucp-main { padding-left: var(--side-w); }
.avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  background: var(--blue);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
}
.drop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 210px;
  background: rgba(14, 28, 44, 0.72);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 0.35rem;
  box-shadow: var(--shadow);
  display: none;
  pointer-events: none;
  z-index: 80;
}
.drop.open { display: grid; pointer-events: auto; }
.drop a, .drop button {
  background: none;
  border: 0;
  text-align: left;
  color: var(--text);
  padding: 0.55rem 0.65rem;
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.88rem;
}
.drop a:hover, .drop button:hover { background: var(--side-2); color: var(--text); }
.drop p { margin: 0; padding: 0.55rem 0.65rem; color: var(--mute); font-size: 0.86rem; }

.content { padding: 1.25rem 1.4rem 3rem; width: min(1180px, 100%); margin: 0 auto; }

.page-head { margin-bottom: 1.15rem; }
.page-head p { margin: 0.35rem 0 0; color: var(--mute); font-size: 13px; line-height: 1.45; max-width: 54rem; }
.page-head h1 {
  margin: 0;
  font-family: var(--font);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 800;
  color: #fff;
}
.page-head h1::after {
  content: "";
  display: block;
  width: 2.25rem;
  height: 2px;
  margin-top: 0.5rem;
  background: #e8c547;
}
.page-head .page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-top: 0.65rem;
}
.page-head .page-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.6rem;
  padding: 0 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.page-head .page-chip.is-live {
  border-color: rgba(232, 197, 71, 0.4);
  color: #e8c547;
  box-shadow: inset 0 -2px 0 #e8c547;
}
.page-head .page-chip.is-down {
  border-color: rgba(212, 69, 58, 0.4);
  color: #f0a8a2;
}

.widgets { display: grid; grid-template-columns: 1.6fr 0.9fr; gap: 0.7rem; margin-bottom: 1.15rem; }
.desk {
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.95fr;
  gap: 0.7rem;
  margin-bottom: 1.15rem;
}
.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  padding: 0.75rem 0.85rem 0.15rem;
  flex: 1;
}
.quick-panel .quick-grid {
  padding-bottom: 0.85rem;
}
.quick-grid a {
  display: grid;
  gap: 0.12rem;
  align-content: center;
  min-height: 3.35rem;
  padding: 0.55rem 0.65rem;
  background: rgba(12, 12, 14, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  text-align: left;
  transition: border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}
.quick-grid a strong {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.quick-grid a em {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.quick-grid a:hover {
  border-color: rgba(232, 197, 71, 0.45);
  background: rgba(232, 197, 71, 0.1);
  color: #fff;
  box-shadow: inset 0 -2px 0 #e8c547;
}
.dash-list { display: grid; gap: 0.45rem; }
.dash-row {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.12rem 0.65rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
}
a.dash-row:hover { border-color: var(--blue); color: inherit; }
.dash-row span { grid-row: 1 / span 2; }
.dash-row b {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-row em {
  font-style: normal;
  font-size: 11px;
  color: var(--mute);
}
@media (max-width: 1100px) {
  .desk { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .widgets { grid-template-columns: 1fr; }
  .chars { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .desk { grid-template-columns: 1fr; }
}

.card {
  background: rgba(12, 12, 14, 0.9);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  border: 1px solid rgba(232, 197, 71, 0.28);
  box-shadow:
    inset 0 -2px 0 rgba(232, 197, 71, 0.2),
    0 14px 36px rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  padding: 0.95rem 1rem;
}
.card h3 { margin: 0 0 0.55rem; font-size: 15px; font-weight: 700; }
.card p { margin: 0; color: var(--mute); font-size: 13px; line-height: 1.5; }

.join-city {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(232, 197, 71, 0.1), transparent 55%),
    rgba(12, 12, 14, 0.86);
}
.join-city.is-live { border-color: rgba(232, 197, 71, 0.4); }
.join-city.is-down { border-color: rgba(255, 255, 255, 0.14); }
.join-city-h {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
}
.join-city-h .kicker {
  margin: 0 0 0.2rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8c547;
}
.join-city h3 { margin: 0; }
.join-body {
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem 1.05rem;
  flex: 1;
}
.join-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 24px;
  padding: 0 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  flex-shrink: 0;
}
.join-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: none;
}
.join-live.is-on {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}
.join-live.is-on i {
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  animation: join-pulse 1.8s ease-out infinite;
}
@keyframes join-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
  100% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .join-live.is-on i { animation: none; }
}
.join-load {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 0.65rem;
}
.join-load-n {
  display: flex;
  align-items: baseline;
  gap: 0.12rem;
  line-height: 1;
}
.join-load-n b {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.join-load-n small {
  font-size: 12px;
  font-weight: 700;
  color: var(--mute);
}
.join-meter-wrap {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}
.join-meter-wrap em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}
.join-meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.join-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2f7bff, #5a9bff);
  border-radius: inherit;
  min-width: 0;
}
.join-city.is-down .join-meter span { background: var(--dim); }
.join-console {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.55rem 0.5rem 0.6rem;
  background: rgba(8, 18, 32, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.join-console code {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}
.join-console .btn {
  height: 30px;
  padding: 0 0.65rem;
  font-size: 11px;
}
.join-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  counter-reset: join-step;
}
.join-steps li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.5rem;
  align-items: start;
  font-size: 12px;
  line-height: 1.4;
  color: var(--mute);
  counter-increment: join-step;
}
.join-steps li::before {
  content: counter(join-step);
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 4px;
  background: var(--blue-soft);
  border: 1px solid rgba(47, 123, 255, 0.28);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
}
.join-steps b { color: var(--text); font-weight: 700; }
.join-launch {
  width: 100%;
  margin-top: 0;
}
.join-city .dash-panel-foot,
.file-panel .dash-panel-foot {
  margin-top: auto;
}
.file-who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.file-who .avatar {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  flex-shrink: 0;
  font-size: 0.85rem;
  object-fit: cover;
  object-position: center 18%;
}
.file-who h3 { margin: 0; }
.file-kv {
  display: grid;
  gap: 0;
  margin: 0;
  flex: 1;
}
.file-kv > div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: baseline;
  padding: 0.7rem 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 0;
}
.file-kv > div:first-child { border-top: 0; }
.file-kv dt {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.file-kv dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.req-shell { display: grid; gap: 1rem; }
.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
}
.req-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
a.req-card:hover {
  border-color: rgba(232, 197, 71, 0.45);
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}
.req-card.is-closed { opacity: 0.72; }
.req-card-media {
  position: relative;
  height: 132px;
  background-size: cover;
  background-position: center;
  background-color: #121826;
}
.req-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 18, 32, 0.72));
  pointer-events: none;
}
.req-card-badges {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}
.req-stamp {
  display: inline-flex;
  align-items: center;
  height: 1.55rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 18, 32, 0.62);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.req-stamp.is-open {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.18);
  color: #6ee7b7;
}
.req-stamp.is-closed { color: var(--mute); }
.req-stamp.is-date { letter-spacing: 0.04em; font-weight: 600; }
.req-card-body {
  padding: 0.9rem 1rem 0.7rem;
  display: grid;
  gap: 0.35rem;
  flex: 1;
}
.req-card-body h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
}
.req-card-body p {
  margin: 0;
  color: var(--mute);
  font-size: 0.84rem;
  line-height: 1.45;
}
.req-card-foot {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.12);
}
.req-card-foot em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  flex: 1;
}
.req-card.is-closed .req-card-foot em { color: var(--mute); }
.req-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  flex: 1;
  min-width: 0;
}
.req-status-strip span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}
.req-status-strip b {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}
.req-mine-list {
  display: grid;
  gap: 0.85rem;
}
.req-mine-card { padding: 0; overflow: hidden; }
.req-mine-card .dash-panel-head h3 {
  margin: 0.15rem 0 0;
  font-size: 1.12rem;
}
.req-mine-note {
  margin: 0;
  padding: 0.75rem 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.12);
}
.req-mine-kv {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.req-mine-kv > div {
  grid-template-columns: 7.5rem minmax(0, 1fr);
}
.req-mine-kv dd {
  white-space: pre-wrap;
  overflow: visible;
  text-overflow: unset;
  font-weight: 500;
  line-height: 1.45;
}
.req-form-hero {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.req-form-hero-media {
  min-height: 160px;
  background-size: cover;
  background-position: center;
  background-color: #121826;
}
.req-form-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.req-form-hero .dash-panel-head {
  border-bottom: 0;
  background: transparent;
}
.req-form-hero .crumb {
  display: inline-flex;
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  text-decoration: none;
}
.req-form-hero .crumb:hover { color: var(--gold); }
.req-form-hero h1 {
  margin: 0.1rem 0 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}
@media (max-width: 720px) {
  .req-form-hero { grid-template-columns: 1fr; }
  .req-form-hero-media { min-height: 120px; }
}
.chars { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.char-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
a.char-card:hover {
  border-color: rgba(232, 197, 71, 0.45);
  transform: translateY(-2px);
  color: inherit;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.char-card-media {
  position: relative;
  overflow: hidden;
  background: #0c1624;
}
.char-card .cover {
  height: 148px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  background-color: #121826;
}
.char-card .cover.is-face {
  height: 220px;
  background-image: none;
}
.char-card .cover.is-city {
  filter: saturate(1.05);
}
.char-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  position: absolute;
  inset: 0;
  image-rendering: auto;
  transform: scale(1.02);
}
.char-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 18, 32, 0.05) 0%, transparent 35%, rgba(8, 18, 32, 0.88) 100%),
    radial-gradient(ellipse 90% 55% at 50% 0%, transparent 40%, rgba(8, 18, 32, 0.35) 100%);
}
.char-card .cover::after { display: none; }
.char-card-slot {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 18, 32, 0.55);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.char-card-nameplate {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.75rem;
  z-index: 2;
  display: grid;
  gap: 0.15rem;
}
.char-card-nameplate h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  letter-spacing: 0.01em;
}
.char-card-nameplate span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.char-card .body {
  padding: 0.85rem 0.95rem 1rem;
  display: grid;
  gap: 0.75rem;
}
.char-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.char-pills span {
  display: grid;
  gap: 0.12rem;
  padding: 0.45rem 0.55rem;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  min-width: 0;
}
.char-pills em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.char-pills b {
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.char-open {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 9px;
  border: 1px solid rgba(232, 197, 71, 0.28);
  background: rgba(232, 197, 71, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  box-sizing: border-box;
}
.char-open::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
a.char-card:hover .char-open {
  border-color: rgba(232, 197, 71, 0.55);
  background: rgba(232, 197, 71, 0.14);
}

/* Dashboard roster / papers panels */
.dash-panel {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.dash-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.9rem 1.05rem;
  border-bottom: 1px solid rgba(232, 197, 71, 0.28);
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.07), transparent 70%),
    rgba(12, 12, 14, 0.5);
  box-shadow: inset 0 -2px 0 rgba(232, 197, 71, 0.4);
}
.dash-panel-head h3 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8c547;
}
.dash-panel-head p {
  margin: 0.28rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.35;
}
.dash-panel-count {
  min-width: 1.85rem;
  height: 1.85rem;
  padding: 0 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(232, 197, 71, 0.4);
  background: rgba(232, 197, 71, 0.1);
  color: #e8c547;
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  box-shadow: inset 0 -2px 0 #e8c547;
}
.dash-empty {
  padding: 1.2rem 1.05rem;
  flex: 1;
}
.dash-empty strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
}
.dash-empty p {
  margin: 0.35rem 0 0;
  color: var(--mute);
  font-size: 0.84rem;
  line-height: 1.45;
}
.dash-panel-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.85rem 1.05rem;
  margin-top: auto;
  border-top: 1px solid rgba(232, 197, 71, 0.22);
  background: rgba(0, 0, 0, 0.28);
}
.roster-list,
.paper-list {
  display: grid;
  gap: 0;
  flex: 1;
}
.roster-row,
.paper-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: inherit;
  text-decoration: none;
  transition: background 0.12s ease;
}
.roster-row:first-child,
.paper-row:first-child { border-top: 0; }
.roster-row:hover,
.paper-row:hover {
  background: rgba(232, 197, 71, 0.08);
  color: inherit;
}
.roster-kind {
  min-width: 3.4rem;
  text-align: center;
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.roster-kind[data-kind="Job"] {
  border-color: rgba(47, 123, 255, 0.4);
  background: rgba(47, 123, 255, 0.14);
  color: #9ec0ff;
}
.roster-kind[data-kind="Gang"] {
  border-color: rgba(232, 197, 71, 0.4);
  background: rgba(232, 197, 71, 0.12);
  color: var(--gold);
}
.roster-copy,
.paper-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}
.roster-copy strong,
.paper-copy strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.roster-copy em,
.paper-copy em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.roster-chev {
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid var(--mute);
  border-bottom: 2px solid var(--mute);
  transform: rotate(-45deg);
  opacity: 0.7;
}
.paper-id {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.paper-row .tag {
  grid-row: auto;
}

/* Settings page panels */
.sound-panel .dash-panel-head {
  border-bottom: 0;
  align-items: center;
}
.sound-seg {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.22);
  gap: 0.15rem;
  flex-shrink: 0;
}
.sound-seg-btn {
  height: 32px;
  min-width: 3.4rem;
  padding: 0 0.85rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--mute);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.sound-seg-btn.is-on {
  background: rgba(232, 197, 71, 0.18);
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(232, 197, 71, 0.4);
}
.sound-seg-btn:hover:not(.is-on) { color: var(--text); }
.set-rose {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem 1.05rem 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(232, 197, 71, 0.05);
}
.set-rose p {
  margin: 0;
  color: var(--mute);
  font-size: 0.84rem;
  line-height: 1.45;
}
.set-rose p b { color: var(--gold); }
.set-form-panel .set-form {
  padding: 0.95rem 1.05rem 1.05rem;
  max-width: none;
}
.link-panel .dash-panel-head p b { color: var(--text); font-weight: 700; }
.link-pill {
  display: inline-flex;
  align-items: center;
  height: 1.7rem;
  padding: 0 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--mute);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.link-pill.is-on {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.12);
  color: #6ee7b7;
}
.link-body {
  padding: 0.85rem 1.05rem 1.05rem;
  display: grid;
  gap: 0.65rem;
}
.link-note {
  margin: 0;
  color: var(--mute);
  font-size: 0.84rem;
  line-height: 1.45;
}
.dash-panel-foot.is-inline {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.license-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 18, 32, 0.4);
}
.license-chip em {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.license-chip code {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
}
.set-char-list { display: grid; }
.set-char-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: inherit;
  text-decoration: none;
  transition: background 0.12s ease;
}
.set-char-row:first-child { border-top: 0; }
.set-char-row:hover {
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
}
.set-char-face {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(47, 123, 255, 0.25);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.set-char-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.set-char-face span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}
.set-char-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}
.set-char-copy strong {
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.set-char-copy em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.set-char-money {
  display: grid;
  justify-items: end;
  gap: 0.1rem;
  flex-shrink: 0;
}
.set-char-money b {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  font-size: 0.92rem;
}
.set-char-money span {
  font-size: 0.68rem;
  color: var(--mute);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .set-char-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "face copy chev"
      "face money chev";
  }
  .set-char-face { grid-area: face; }
  .set-char-copy { grid-area: copy; }
  .set-char-money { grid-area: money; justify-items: start; }
  .set-char-row .roster-chev { grid-area: chev; }
}

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem 0.7rem; }
.stat { font-size: 0.78rem; color: var(--mute); }
.stat b { display: block; color: var(--text); font-size: 0.88rem; font-weight: 600; }

.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.12rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}
.tag.pending { color: var(--warn); border-color: rgba(234, 179, 8, 0.3); }
.tag.accepted { color: var(--ok); border-color: rgba(34, 197, 94, 0.3); }
.tag.denied { color: var(--danger); border-color: rgba(239, 68, 68, 0.3); }

.form { display: grid; gap: 0.95rem; max-width: 640px; }
.form.wide { max-width: 760px; }
.form-lede { margin: 0; color: var(--mute); font-size: 0.88rem; line-height: 1.45; }
label { display: grid; gap: 0.32rem; font-size: 0.78rem; font-weight: 600; color: var(--mute); }
label .hint { font-weight: 500; color: #9aa3b5; }
input, textarea, select {
  background: var(--input-bg);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  font-size: 0.95rem;
}
/* Native open lists often paint a light panel; keep option ink dark so they stay readable. */
select option,
select optgroup {
  color: #102038;
  background-color: #fff;
}
textarea { min-height: 8.5rem; resize: vertical; }
textarea.is-short { min-height: 5.2rem; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); }
.req-kv { margin-top: 0.75rem; }
.req-kv dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.req-kv dd { margin: 0.2rem 0 0; color: var(--text); white-space: pre-wrap; line-height: 1.45; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.city-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.15rem;
}
.city-stats .stat {
  position: relative;
  overflow: hidden;
  padding: 0.95rem 1rem 0.9rem;
  background: rgba(12, 12, 14, 0.9);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  border: 1px solid rgba(232, 197, 71, 0.28);
  border-radius: 6px;
  font-size: inherit;
  color: inherit;
  box-shadow:
    inset 0 -2px 0 rgba(232, 197, 71, 0.35),
    0 12px 28px rgba(0, 0, 0, 0.35);
}
.city-stats .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  bottom: 0.85rem;
  width: 2px;
  border-radius: 0;
  background: rgba(232, 197, 71, 0.55);
}
.city-stats .stat[data-tone="time"]::before,
.city-stats .stat[data-tone="chars"]::before,
.city-stats .stat[data-tone="fleet"]::before,
.city-stats .stat[data-tone="money"]::before {
  background: #e8c547;
}
.city-stats .stat label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.35rem;
  padding-left: 0.45rem;
}
.city-stats .stat b {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  padding-left: 0.45rem;
  line-height: 1.15;
}
.city-stats .stat[data-tone="money"] b { color: #e8c547; }
.city-stats .stat em {
  display: block;
  margin-top: 0.4rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 600;
  padding-left: 0.45rem;
  line-height: 1.35;
}
@media (max-width: 860px) {
  .city-stats { grid-template-columns: 1fr 1fr; }
}

.rules article { border-top: 1px solid var(--line); padding: 0.9rem 0 0.2rem; }
.rules h2 { margin: 0 0 0.3rem; font-size: 1rem; }
.rules p { margin: 0; color: var(--mute); }

.rules-wrap { width: min(980px, 92vw); }
.rules-shell {
  display: grid;
  gap: 1rem;
}
.rules-hero h1,
.guide-hero h1 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.rules-hero .kicker {
  margin: 0 0 0.15rem;
  color: var(--gold);
}
.rules-hero-note {
  margin: 0;
  max-width: 36rem;
  color: var(--mute);
  font-size: 0.86rem;
  line-height: 1.45;
}
.rules-list {
  display: grid;
  gap: 0.7rem;
}
.rules-card {
  padding: 0;
  overflow: hidden;
  scroll-margin-top: 8.5rem;
}
.rules-card-h {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(115deg, rgba(232, 197, 71, 0.1), transparent 48%),
    rgba(255, 255, 255, 0.03);
}
.rules-num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  border: 1px solid rgba(232, 197, 71, 0.4);
  background: rgba(232, 197, 71, 0.12);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.rules-card-h h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
}
.rules-card-h p {
  margin: 0.2rem 0 0;
  color: var(--mute);
  font-size: 0.78rem;
  line-height: 1.35;
}
.rules-body {
  margin: 0;
  padding: 0.95rem 1.05rem 1.05rem;
  color: var(--mute);
  font-size: 0.94rem;
  line-height: 1.55;
}
.rules-foot .dash-panel-head h3 { margin: 0; }
.ucp .content:has(.rules-shell) { width: min(980px, 100%); }

.row { display: flex; gap: 0.55rem; flex-wrap: wrap; }
.list p { margin: 0 0 0.45rem; }
code { color: #e8c547; font-size: 0.88rem; }

.staff-card textarea { width: 100%; margin-top: 0.7rem; }
.queue-h { font-size: 0.95rem; margin: 1.25rem 0 0.7rem; }
@media (max-width: 820px) {
  :root { --ucp-bar: 68px; }
  .ucp-wordmark { height: 40px; }
  .ucp-who-text em { display: none; }
  .ucp-tools .ucp-orb:first-child { display: none; }
  .ucp-tabs { display: none; }
  .ucp-chrome .btn.site-ghost { display: none; }
  .site-live { display: none; }
  .ucp-cluster .ucp-brand.is-compact {
    width: auto;
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
  }
  .ucp-cluster .ucp-mark {
    width: auto;
    height: 58px;
    max-height: calc(var(--ucp-bar) - 8px);
    max-width: min(170px, 42vw);
  }
  body.nav-open .ucp-main { padding-left: 0; }
  body.nav-open .ucp-scrim { display: block; }
  body.nav-open .ucp-drawer { box-shadow: 18px 0 50px rgba(0, 0, 0, 0.4); }
}
@media (min-width: 821px) {
  .ucp-drawer { transform: none; }
  .ucp-main { padding-left: var(--side-w); }
  .ucp-burger { display: none; }
}

/* ------------------------------------------------------------------ */
/* Public landing                                                       */
/* ------------------------------------------------------------------ */

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
}
.site-main {
  flex: 1;
  padding-top: var(--ucp-chrome);
}
.site-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 40px;
  padding: 0 0.85rem 0 0.7rem;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}
.led {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(60, 154, 74, 0.18);
  flex-shrink: 0;
}
.led.is-off { background: var(--danger); box-shadow: 0 0 0 3px rgba(212, 69, 58, 0.18); }
.site-ghost { color: var(--text); }
.site-top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 5vw;
  pointer-events: auto;
  background: linear-gradient(180deg, rgba(11, 13, 18, 0.96), rgba(11, 13, 18, 0.72) 70%, rgba(11, 13, 18, 0.2));
}
body.is-landing .site-top {
  position: absolute;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(11, 13, 18, 0.92) 0%, rgba(11, 13, 18, 0.35) 70%, transparent);
}
.site-brand { display: flex; gap: 0.7rem; align-items: center; color: var(--text); }
.site-brand img {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
.site-alpha { margin-left: 0.15rem; }
.site-nav { display: flex; gap: 1.25rem; align-items: center; font-size: 0.88rem; font-weight: 600; pointer-events: auto; }
.site-nav a { color: var(--mute); position: relative; z-index: 2; }
.site-nav a:hover { color: #fff; }
.site-nav .btn { color: #fff; }
.site-foot {
  margin-top: auto;
  overflow: visible;
  border-top: 1px solid rgba(232, 197, 71, 0.28);
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.05), transparent 40%),
    rgba(12, 12, 14, 0.94);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  box-shadow: inset 0 2px 0 rgba(232, 197, 71, 0.45);
}
.site-foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.05rem 0 1.15rem;
  overflow: visible;
}
.site-foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1 1 12rem;
  min-width: 12rem;
  max-width: 100%;
  overflow: visible;
  color: inherit;
  text-decoration: none;
}
.site-foot-brand:hover { color: inherit; }
.site-foot-brand img {
  width: auto;
  height: 40px;
  max-width: 96px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  overflow: visible;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.28));
}
.site-foot-brand span {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  overflow: visible;
}
.site-foot-brand strong {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--chrome-fg, #fff);
  line-height: 1.1;
}
.site-foot-brand em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--chrome-muted, rgba(255, 255, 255, 0.62));
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.site-foot-brand em.foot-phase {
  color: var(--gold, #e8c547);
  letter-spacing: 0.08em;
}
.site-foot-nav {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.15rem;
  flex: 2 1 16rem;
}
.site-foot-nav a {
  display: inline-flex;
  align-items: center;
  height: 1.85rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  color: var(--chrome-muted, rgba(255, 255, 255, 0.72));
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}
.site-foot-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}
.site-foot-meta {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 10rem;
}
.site-foot-connect {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  height: 1.85rem;
  padding: 0 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(232, 197, 71, 0.4);
  background: rgba(232, 197, 71, 0.1);
  color: var(--gold, #e8c547);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.site-foot-credit {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chrome-muted, rgba(255, 255, 255, 0.5));
  text-align: right;
}
@media (max-width: 860px) {
  .site-foot-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 0 1.15rem;
  }
  .site-foot-brand,
  .site-foot-nav,
  .site-foot-meta {
    flex: 1 1 auto;
    width: 100%;
  }
  .site-foot-nav { justify-content: flex-start; }
  .site-foot-meta { justify-items: start; }
  .site-foot-credit { text-align: left; }
}

.land { background: transparent; }
.land-hero {
  position: relative;
  min-height: calc(100vh - var(--ucp-chrome));
  display: grid;
  align-items: end;
  overflow: hidden;
}
.land-slides { position: absolute; inset: 0; }
.land-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.2s ease, transform 9s linear;
  pointer-events: none;
}
.land-slides img.is-on { opacity: 1; transform: scale(1); }
.land-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.94) 0%, rgba(5, 10, 20, 0.72) 34%, rgba(5, 7, 11, 0.18) 68%, rgba(5, 7, 11, 0.55) 100%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.18) 0%, transparent 28%, rgba(5, 7, 11, 0.9) 82%, var(--bg) 100%);
}
.land-rose {
  position: absolute;
  right: max(2vw, 1rem);
  top: 46%;
  width: min(38vw, 420px);
  transform: translateY(-50%);
  opacity: 0.22;
  filter: drop-shadow(0 0 40px var(--blue-glow));
  pointer-events: none;
  z-index: 1;
}
.land-hero-inner {
  position: relative; z-index: 2;
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 4.5rem 0 4.2rem;
}
.land-docket { max-width: 40rem; }
.land-docket h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0.35rem 0 1.05rem;
  text-shadow: 0 0 32px var(--blue-glow), 0 12px 36px rgba(0, 0, 0, 0.55);
}
.land-lede {
  max-width: 34rem;
  margin: 0 0 1.45rem;
  color: #c5cbd6;
  font-size: 1.08rem;
  line-height: 1.55;
}
.land-lede b { color: var(--gold); font-weight: 700; }
.land-docket .row { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.15rem; }
.land-docket .btn.ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(5, 7, 11, 0.45);
  color: #fff;
}
.land-connect {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(47, 123, 255, 0.38);
  background: rgba(8, 12, 22, 0.78);
  border-radius: var(--radius);
  box-shadow: 0 0 24px rgba(47, 123, 255, 0.12);
  max-width: 34rem;
}
.land-connect span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.land-connect code {
  flex: 1;
  min-width: 12rem;
  color: var(--text);
  font-size: 0.92rem;
  background: transparent;
}
.land-connect button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: var(--radius);
  padding: 0.32rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.land-connect button:hover { border-color: var(--blue); color: var(--blue); }
.land-gate {
  margin: 0.85rem 0 0;
  color: var(--mute);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.land-panel {
  position: relative;
  z-index: 2;
  background: var(--bg);
  border-top: 1px solid rgba(47, 123, 255, 0.16);
}
.land-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4rem;
  height: 2px;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, var(--gold), var(--blue));
}
.land-body { padding: 3.2rem 0 4.2rem; }
.wrap.land-body { padding: 3.2rem 0 4.2rem; }
.land-enter header,
.land-places header { margin-bottom: 1.4rem; max-width: 38rem; }
.land-enter h2,
.land-places h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0.35rem 0 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.land-steps {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  background: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.land-steps li {
  margin: 0;
  padding: 1.15rem 1.1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.land-steps b {
  display: block;
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.55rem;
}
.land-steps h3 {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.land-steps p { margin: 0; color: var(--mute); font-size: 0.9rem; line-height: 1.5; }

.land-play {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}
.land-play article {
  padding: 1.2rem 1.15rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.land-play h3 {
  margin: 0.7rem 0 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.land-play p { margin: 0; color: var(--mute); font-size: 0.9rem; line-height: 1.5; }
.land-key {
  display: inline-grid;
  place-items: center;
  min-width: 2.15rem;
  height: 2.15rem;
  padding: 0 0.4rem;
  border-radius: var(--radius);
  border: 1px solid rgba(47, 123, 255, 0.28);
  background: #121826;
  box-shadow: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}
.land-key.is-mark {
  border-color: rgba(240, 196, 20, 0.45);
  color: var(--gold);
  background: rgba(240, 196, 20, 0.08);
  box-shadow: none;
}

.alpha-note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 0 0 2.4rem;
  padding: 1.05rem 1.15rem;
  background: rgba(232, 194, 32, 0.08);
  border: 1px solid rgba(232, 194, 32, 0.32);
  border-radius: var(--radius);
}
.alpha-note h3 {
  margin: 0 0 0.3rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
.alpha-note p { margin: 0; color: var(--mute); font-size: 0.9rem; line-height: 1.5; }
.alpha-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  margin-top: 0.12rem;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(232, 194, 32, 0.45);
  background: #080b12;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.land-places-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.7rem;
  min-height: 420px;
}
.land-places-grid article {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 180px;
  border: 1px solid var(--line);
}
.land-places-grid article:first-child {
  grid-row: 1 / span 2;
  min-height: 380px;
}
.land-places-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 180px;
}
.land-places-grid span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 2.2rem 0.95rem 0.9rem;
  display: grid;
  gap: 0.15rem;
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.35;
  background: linear-gradient(180deg, transparent, rgba(9, 11, 16, 0.92));
}
.land-places-grid b {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.land-places-grid em {
  font-style: normal;
  color: #d5dae4;
}

.hero-status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(12, 16, 22, 0.7);
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  color: var(--mute);
}
.kicker svg { width: 13px; height: 13px; flex-shrink: 0; }
.wrap { width: min(1140px, 92vw); margin: 0 auto; padding: 2rem 0 4rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.guide-wrap { width: min(980px, 92vw); }
.guide-shell {
  display: grid;
  gap: 1rem;
}
.guide-hero {
  margin: 0;
}
.guide-hero h1 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.guide-hero .kicker {
  margin: 0 0 0.15rem;
  color: var(--gold);
}
.guide-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}
.guide-hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.05rem 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.guide {
  color: #c5cbd8;
  font-size: 1rem;
  line-height: 1.65;
  display: grid;
  gap: 0;
}
.guide h2 {
  margin: 1.75rem 0 0.85rem;
  padding: 0.85rem 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  scroll-margin-top: 8.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(115deg, rgba(232, 197, 71, 0.1), transparent 48%),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}
.guide h2:first-of-type { margin-top: 1.1rem; }
.guide h3 {
  margin: 1.25rem 0 0.55rem;
  font-size: 0.98rem;
  color: var(--gold);
  scroll-margin-top: 8.5rem;
}
.guide p, .guide li { color: var(--mute); }
.guide p { margin: 0 0 0.85rem; }
.guide ol, .guide ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.guide li { margin: 0 0 0.35rem; }
.guide strong { color: var(--text); font-weight: 650; }
.guide-lede {
  margin: 0 0 1rem !important;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: var(--mute);
}
.guide-cmd {
  display: grid;
  grid-template-columns: minmax(7.5rem, max-content) minmax(0, 1fr);
  gap: 0.65rem 0.85rem;
  align-items: start;
  margin: 0 0 0.4rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.guide-cmd code {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.15rem 0.5rem;
  border-radius: 7px;
  border: 1px solid rgba(232, 197, 71, 0.35);
  background: rgba(232, 197, 71, 0.1);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.guide-cmd.is-key code {
  border-color: rgba(47, 123, 255, 0.4);
  background: rgba(47, 123, 255, 0.14);
  color: #9ec0ff;
}
.guide-cmd span {
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.45;
}
.guide-cmd span strong,
.guide-cmd span em { color: var(--text); }
.guide-toc {
  display: block;
  margin: 0 0 0.35rem;
  padding: 0;
  overflow: hidden;
}
.guide-toc .dash-panel-head {
  padding-bottom: 0.75rem;
}
.guide-toc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1.05rem 1.05rem;
}
.guide-toc-links a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.guide-toc-links a:hover {
  border-color: rgba(232, 197, 71, 0.5);
  background: rgba(232, 197, 71, 0.1);
  color: #fff;
}
.faq {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  margin: 0 0 0.45rem;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  color: var(--text);
  font-weight: 650;
  font-size: 0.92rem;
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid var(--mute);
  border-bottom: 2px solid var(--mute);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.2rem;
}
.faq summary:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.faq-body {
  margin: 0;
  padding: 0 0.9rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.7rem;
}
.faq-body p { margin: 0 0 0.55rem; }
.faq-body p:last-child { margin-bottom: 0; }
.guide-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5rem;
  margin: 0 0 1rem;
}
.guide-links > a {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.guide-links > a:hover {
  border-color: rgba(232, 197, 71, 0.45);
  background: rgba(232, 197, 71, 0.08);
  color: inherit;
}
.guide-links strong {
  font-size: 0.88rem;
  color: var(--text);
}
.guide-links em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}
.guide-end {
  margin: 0.4rem 0 0 !important;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(232, 197, 71, 0.28);
  background: rgba(232, 197, 71, 0.08);
  color: var(--text) !important;
}
.ucp .guide-wrap, .ucp .guide { width: auto; }
.ucp .content:has(.guide-shell) { width: min(980px, 100%); }
@media (max-width: 720px) {
  .guide-cmd {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .guide-hero-foot { flex-direction: column; align-items: stretch; }
}

.page-head.tight { margin-bottom: 0.85rem; }
.page-head.tight h1 { font-size: 1.05rem; }
.page-head.tight h1::after { margin-top: 0.4rem; width: 1.75rem; }

.char-hero {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  margin-bottom: 1rem;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(232, 197, 71, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.1);
}
.char-hero-media {
  position: relative;
  min-height: 240px;
  background: #0c1624;
  overflow: hidden;
}
.char-hero .cover {
  position: absolute;
  inset: 0;
  min-height: 0;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #121826;
  overflow: hidden;
}
.char-hero .cover.is-face {
  background-image: none;
}
.char-hero .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  position: absolute;
  inset: 0;
  image-rendering: auto;
}
.char-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 55%, rgba(8, 18, 32, 0.35));
}
.char-hero-media .char-card-slot {
  z-index: 2;
}
.char-hero-copy {
  padding: 1.05rem 1.15rem 1.15rem;
  display: grid;
  align-content: start;
  gap: 0.55rem;
}
.char-hero-copy .crumb {
  display: inline-flex;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  text-decoration: none;
  width: fit-content;
}
.char-hero-copy .crumb:hover { color: var(--gold); }
.char-hero-copy h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.char-hero-meta {
  margin: 0;
  color: var(--mute);
  font-size: 0.82rem;
}
.char-hero .char-pills {
  margin-top: 0.25rem;
}
.char-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.char-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1.1rem;
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}
.char-subnav a {
  padding: 0.55rem 0.9rem;
  border-radius: 9px;
  color: var(--mute);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.char-subnav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.char-subnav a.is-on {
  color: #fff;
  background: rgba(232, 197, 71, 0.14);
  border-color: rgba(232, 197, 71, 0.4);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0 0 1.1rem;
  padding: 0.3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.subnav a {
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  color: var(--mute);
  font-size: 0.85rem;
  font-weight: 600;
}
.subnav a:hover { color: var(--text); background: var(--chrome-hover); }
.subnav a.is-on {
  color: #fff;
  background: var(--blue);
}

.dossier-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}
.lic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.95rem 1.05rem 0.35rem;
}
.lic-chip {
  display: grid;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.lic-chip.is-on {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.1);
}
.lic-chip em {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.lic-chip.is-on em { color: #6ee7b7; }
.lic-chip b {
  font-size: 0.9rem;
  color: var(--text);
}
.lic-note {
  margin: 0;
  padding: 0.75rem 1.05rem 1.05rem;
  color: var(--mute);
  font-size: 0.84rem;
  line-height: 1.45;
}
.item-list { display: grid; }
.item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.item-row:first-child { border-top: 0; }
.item-row strong {
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--text);
}
.item-row b {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}
.prop-card {
  padding: 0;
  overflow: hidden;
}
.prop-card-h {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.prop-card-h h3 {
  margin: 0;
  font-size: 0.98rem;
}
.prop-card-h p {
  margin: 0.15rem 0 0;
  color: var(--mute);
  font-size: 0.78rem;
}
.prop-card .char-pills {
  padding: 0.85rem 1rem 1rem;
}
.job-focus {
  display: grid;
  gap: 0.2rem;
  padding: 0.35rem 1.05rem 0.85rem;
}
.job-focus strong {
  font-size: 1.2rem;
  color: var(--text);
}
.job-focus em {
  font-style: normal;
  color: var(--mute);
  font-size: 0.84rem;
}
.roster-row.is-static { cursor: default; }
.roster-row.is-static:hover { background: transparent; }
.veh-list { display: grid; }
.veh-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.veh-row:first-child { border-top: 0; }
.veh-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}
.veh-copy strong {
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.veh-copy em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.veh-stats {
  display: grid;
  justify-items: end;
  gap: 0.25rem;
}
.veh-stats span:last-child {
  font-size: 0.7rem;
  color: var(--mute);
  white-space: nowrap;
}

.kv { display: grid; gap: 0.55rem; margin: 0; }
.kv > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.6rem;
  align-items: baseline;
}
.kv dt { margin: 0; color: var(--mute); font-size: 0.78rem; font-weight: 600; }
.kv dd { margin: 0; color: var(--text); font-size: 0.92rem; }

.table-wrap { overflow: auto; margin-top: 0.55rem; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.data-table th {
  text-align: left;
  color: var(--mute);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.45rem 0.55rem 0.45rem 0;
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 0.55rem 0.55rem 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}
.data-table code {
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
}
.empty-note p { margin: 0; }

@media (max-width: 980px) {
  .land-rose { opacity: 0.12; width: min(52vw, 280px); top: 38%; }
  .land-steps,
  .land-play { grid-template-columns: 1fr; }
  .land-places-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .land-places-grid article:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 240px;
  }
}

@media (max-width: 860px) {
  .char-hero { grid-template-columns: 1fr; }
  .char-hero-media { min-height: 200px; }
  .char-hero-copy { padding: 1rem 1.05rem 1.1rem; }
  .dossier-grid { grid-template-columns: 1fr; }
  .kv > div { grid-template-columns: 1fr; gap: 0.1rem; }
  .veh-row {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "plate copy"
      "plate stats";
  }
  .veh-row .rose-veh-plate { grid-area: plate; }
  .veh-copy { grid-area: copy; }
  .veh-stats { grid-area: stats; justify-items: start; }
  .site-nav { flex-wrap: wrap; justify-content: flex-end; gap: 0.7rem 1rem; }
  .site-alpha { display: none; }
  .site-live { display: none; }
  .land-hero-inner { padding: 3.2rem 0 3.2rem; }
  .land-docket h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .land-places-grid { grid-template-columns: 1fr; }
  .land-connect { max-width: none; }
  .land-rose { display: none; }
}

.content.is-wide {
  width: 100%;
  max-width: none;
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
#biz-root {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
#biz-root .biz-desk { flex: 1; }
.mute { color: var(--mute); font-size: 0.82rem; }
.biz-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}
.biz-desk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  min-height: 560px;
  height: calc(100vh - var(--ucp-chrome) - 2.4rem);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
}
.biz-map {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: #071018;
  cursor: crosshair;
  user-select: none;
}
.biz-map-canvas { position: absolute; inset: 0; }
.biz-map .leaflet-container {
  width: 100%;
  height: 100%;
  background: #0a1520;
  font-family: inherit;
}
.biz-map .leaflet-tile-pane { image-rendering: auto; }
.biz-map .leaflet-tile { max-width: none; max-height: none; }
.biz-map .leaflet-bar a {
  background: #171c26;
  color: var(--text);
  border-bottom-color: var(--line);
}
.biz-map .leaflet-bar a:hover { background: #1c2330; color: #fff; }
.biz-map .leaflet-control-layers {
  background: rgba(16, 19, 26, 0.94);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  padding: 0.35rem 0.55rem;
}
.biz-map .leaflet-control-layers-expanded { padding: 0.35rem 0.55rem; }
.biz-map .leaflet-control-layers-list { margin: 0; }
.biz-map .leaflet-control-layers-base { margin: 0; }
.biz-map .leaflet-control-layers-separator { display: none; }
.biz-map .leaflet-control-layers-base label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  height: 21px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}
.leaflet-div-icon.biz-lpin {
  background: transparent;
  border: none;
}
.gta-blip {
  display: block;
  position: relative;
  flex-shrink: 0;
  filter: drop-shadow(0 0 0.6px var(--pin, #fff)) drop-shadow(0 0 2px var(--pin, #fff)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85));
}
.gta-blip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  pointer-events: none;
}
.biz-lpin.is-on .gta-blip {
  filter: drop-shadow(0 0 3px #fff) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85));
}
.biz-lpin.is-draft .gta-blip { outline: 2px dashed #fff; outline-offset: 2px; }
.leaflet-tooltip.biz-blip-tip {
  background: rgba(7, 16, 24, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  box-shadow: none;
}
.biz-hud {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  z-index: 3;
  pointer-events: none;
  background: rgba(7, 16, 24, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  font-size: 0.75rem;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.biz-side {
  overflow-x: hidden;
  overflow-y: auto;
  min-width: 0;
  border-left: 1px solid var(--line);
  background: var(--side);
  padding: 0.85rem 0.9rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.biz-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.35rem 0.55rem;
  background: rgba(16, 19, 26, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  min-height: 32px;
}
.biz-search span {
  flex-shrink: 0;
  color: var(--mute);
  font-size: 13px;
  font-weight: 500;
}
.biz-search, .biz-form, .biz-list { min-width: 0; max-width: 100%; }
.biz-search input {
  flex: 1;
  width: auto;
  min-width: 0;
  height: 21px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  outline: none;
  box-shadow: none;
}
.biz-search input::placeholder { color: var(--mute); }
.biz-list {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  max-height: 9.5rem;
  overflow: auto;
}
.biz-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text);
  padding: 0.4rem 0.45rem;
  cursor: pointer;
}
.biz-item .gta-blip { width: 20px; height: 20px; }
.biz-item strong, .biz-item em { display: block; }
.biz-item em { color: var(--mute); font-style: normal; font-size: 0.72rem; }
.biz-item:hover { background: var(--side-2); }
.biz-item.is-on { background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.25); }
.biz-form { display: grid; gap: 0.7rem; }
.biz-form h3 { margin: 0.2rem 0 0; font-size: 0.95rem; }
.biz-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.biz-steps li { min-width: 0; }
.biz-steps li button {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--mute);
  padding: 0.45rem 0.15rem 0.4rem;
  cursor: pointer;
}
.biz-steps li button b {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  background: var(--side-2);
  color: var(--text);
}
.biz-steps li button span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.biz-steps li.is-on button { border-color: var(--blue); color: var(--text); background: rgba(59, 130, 246, 0.1); }
.biz-steps li.is-on button b { background: var(--blue); color: #fff; }
.biz-steps li.is-done button b { background: #22c55e; color: #052e16; }
.biz-map.is-picking { box-shadow: inset 0 0 0 2px rgba(59, 130, 246, 0.45); }
.biz-form textarea { min-height: 5.2rem; }
.biz-form .err { min-height: 0; }
.biz-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.55rem; }
.biz-coords { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.45rem; }
.biz-coords-paste input {
  width: 100%;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.78rem;
}
.biz-kicker {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.biz-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
}
.biz-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--card-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 0.28rem 0.5rem 0.28rem 0.32rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}
.biz-icon em { font-style: normal; }
.biz-icon.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.biz-swatches { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.biz-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #0b0d12;
  background: var(--sw);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.biz-swatch.is-on { box-shadow: 0 0 0 2px #fff; }
.biz-interiors { display: grid; gap: 0.35rem; }
.biz-interior {
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  color: var(--text);
  cursor: pointer;
}
.biz-interior strong, .biz-interior em { display: block; }
.biz-interior em { color: var(--mute); font-style: normal; font-size: 0.75rem; margin-top: 0.15rem; }
.biz-interior.is-on { border-color: var(--blue); background: rgba(59, 130, 246, 0.1); }
.biz-actions {
  margin-top: 0.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.45rem;
}
.biz-actions .btn {
  flex: none;
  min-width: 0;
  width: 100%;
  padding: 0.65rem 0.5rem;
  font-size: 0.82rem;
}
@media (max-width: 1100px) {
  .biz-desk { grid-template-columns: 1fr; height: auto; }
  .biz-map { min-height: 420px; height: 52vh; }
  .biz-side { border-left: 0; border-top: 1px solid var(--line); }
}

/* Brand polish — logo colours already live on :root. */
body.look-pause .site-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  text-transform: none;
  letter-spacing: 0.03em;
  font-weight: 700;
}
body.look-pause .site-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  box-shadow: inset 0 -2px 0 #e8c547;
}
body.look-pause .site-foot {
  letter-spacing: 0;
  text-transform: none;
  font-size: inherit;
}
body.look-pause .side-link {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}
body.look-pause .drop {
  background: rgba(14, 28, 44, 0.72);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 0.25rem;
  width: 240px;
  box-shadow: var(--shadow);
}
body.look-pause .drop a,
body.look-pause .drop button {
  border-radius: 6px;
  padding: 0.68rem 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 700;
}
body.look-pause .drop a:hover,
body.look-pause .drop button:hover {
  background: var(--blue);
  color: #fff;
}
body.look-pause a.req-card:hover,
body.look-pause a.char-card:hover { border-color: rgba(232, 197, 71, 0.55); }

.tag.claimed { color: var(--blue); border-color: rgba(96, 165, 250, 0.35); }
.ticket-card .ticket-top h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.ticket-card .ticket-top p { margin: 0; }
.ticket-body {
  margin: 0.7rem 0 0;
  white-space: pre-wrap;
  line-height: 1.45;
  font-size: 0.92rem;
}
.ticket-thread { margin-top: 0.85rem; display: grid; gap: 0.55rem; }
.ticket-note {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
}
.ticket-note header {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--mute);
  font-size: 0.75rem;
}
.ticket-note p { margin: 0.35rem 0 0; font-size: 0.9rem; white-space: pre-wrap; }
.ticket-img { max-width: 100%; border-radius: 6px; margin-top: 0.45rem; display: block; }
.ticket-follow { margin-top: 0.85rem; }
table.plain { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
table.plain th, table.plain td { text-align: left; padding: 0.4rem 0.5rem; border-bottom: 1px solid var(--line); }
table.plain th { color: var(--mute); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ------------------------------------------------------------------ */
/* Radar HUD — street bar, landing stage, rail label                    */
/* ------------------------------------------------------------------ */

.street-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  height: var(--ucp-mast);
  padding: 0 1.1rem;
  background: rgba(12, 12, 14, 0.92);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  border-bottom: 1px solid rgba(232, 197, 71, 0.28);
  box-shadow: inset 0 -2px 0 rgba(232, 197, 71, 0.55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chrome-fg);
  text-shadow: none;
}
.street-bar .rose {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 1;
  flex-shrink: 0;
}
.street-bar .place { letter-spacing: 0.08em; color: #fff; }
.street-bar .zone { color: var(--gold); font-weight: 600; letter-spacing: 0.12em; }
.street-bar .zone.trail {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.street-bar .trail .crumb {
  color: inherit;
  text-decoration: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  white-space: nowrap;
}
.street-bar .trail a.crumb:hover { color: var(--gold); }
.street-bar .trail .crumb.is-here {
  color: var(--chrome-fg);
  font-weight: 700;
}
.street-bar .trail-sep {
  opacity: 0.42;
  font-weight: 500;
  flex-shrink: 0;
}
.street-bar .sep {
  width: 1px;
  height: 14px;
  background: var(--line-strong);
  flex-shrink: 0;
}
.street-bar .data {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--chrome-muted);
  font-weight: 500;
}
.street-bar .data b { color: var(--gold); font-weight: 700; }
.street-bar .street-roses {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
  padding: 0.15rem 0.45rem 0.15rem 0.25rem;
  margin: -0.15rem 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.street-bar .street-roses:hover {
  background: rgba(232, 197, 71, 0.12);
  border-color: rgba(232, 197, 71, 0.45);
}
.street-bar .street-roses img,
.street-bar .street-roses .points-mark {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
  color: var(--gold);
}
.street-bar .street-roses b {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.street-bar .street-roses em {
  font-style: normal;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--chrome-muted);
  text-transform: uppercase;
}

/* Landing — same HUD chrome as in-game overlay */
body.is-landing .site-main {
  padding-top: 0;
}
body.is-landing .ucp-head {
  --chrome-fg: #ffffff;
  --chrome-muted: rgba(255, 255, 255, 0.72);
  --chrome-hover: rgba(232, 197, 71, 0.12);
  --orb-bg: rgba(12, 12, 14, 0.86);
  --orb-line: rgba(232, 197, 71, 0.4);
  --ink: rgba(12, 12, 14, 0.9);
  --ink-92: rgba(12, 12, 14, 0.96);
  --panel: rgba(12, 12, 14, 0.86);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(232, 197, 71, 0.5);
  --gold: #e8c547;
}
body.is-landing .ucp-chrome {
  background: rgba(12, 12, 14, 0.9);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  border-bottom: 1px solid rgba(232, 197, 71, 0.35);
  box-shadow: inset 0 -2px 0 rgba(232, 197, 71, 0.55);
}
body.is-landing .street-bar {
  background: rgba(12, 12, 14, 0.94);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  border-bottom: 1px solid rgba(232, 197, 71, 0.28);
  box-shadow: inset 0 -2px 0 rgba(232, 197, 71, 0.55);
  color: #fff;
  text-shadow: none;
}
body.is-landing .street-bar .zone,
body.is-landing .street-bar .data {
  color: rgba(255, 255, 255, 0.72);
}
body.is-landing .street-bar .data b { color: #e8c547; }
body.is-landing .street-bar .sep {
  background: rgba(255, 255, 255, 0.2);
}
body.is-landing .site-live {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 197, 71, 0.35);
}
body.is-landing .ucp-tab {
  color: rgba(255, 255, 255, 0.72);
  text-shadow: none;
}
body.is-landing .ucp-tab.is-on {
  color: #fff;
  background: rgba(232, 197, 71, 0.12);
  border-color: rgba(232, 197, 71, 0.4);
  box-shadow: inset 0 -2px 0 #e8c547;
  text-shadow: none;
}
body.is-landing a.ucp-tab:hover {
  color: #fff;
  background: rgba(232, 197, 71, 0.1);
}
body.is-landing a.ucp-tab.is-on:hover {
  background: rgba(232, 197, 71, 0.16);
  color: #fff;
}
body.is-landing .ucp-orb {
  color: #fff;
  background: rgba(12, 12, 14, 0.86);
  border-color: rgba(232, 197, 71, 0.4);
}
body.is-landing .ucp-orb:hover,
body.is-landing .ucp-orb[aria-pressed="true"] {
  color: #fff;
  background: rgba(232, 197, 71, 0.12);
  border-color: rgba(232, 197, 71, 0.55);
  box-shadow: inset 0 -2px 0 #e8c547;
}
body.is-landing .site-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  text-shadow: none;
}
body.is-landing .site-ghost:hover {
  color: #fff;
  background: rgba(232, 197, 71, 0.12);
  border-color: rgba(232, 197, 71, 0.45);
  box-shadow: inset 0 -2px 0 #e8c547;
  text-shadow: none;
}
body.is-landing .ucp-chrome .btn.primary {
  background: rgba(232, 197, 71, 0.14);
  border-color: rgba(232, 197, 71, 0.45);
  box-shadow: inset 0 -2px 0 #e8c547;
}
body.is-landing .map-file .btn.primary,
body.is-landing .map-file .btn.ghost {
  border-radius: 6px;
  height: 42px;
  padding: 0 1.15rem;
}
body.is-landing .map-file .btn.primary {
  background: rgba(232, 197, 71, 0.14);
  border: 1px solid rgba(232, 197, 71, 0.45);
  color: #fff;
  box-shadow: inset 0 -2px 0 #e8c547;
  text-shadow: none;
}
body.is-landing .map-file .btn.primary:hover {
  background: rgba(232, 197, 71, 0.22);
  border-color: rgba(232, 197, 71, 0.6);
  color: #fff;
  box-shadow: inset 0 -2px 0 #e8c547;
}
body.is-landing .map-file .btn.ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}
body.is-landing .map-file .btn.ghost:hover {
  background: rgba(232, 197, 71, 0.12);
  border-color: rgba(232, 197, 71, 0.4);
  color: #fff;
  box-shadow: inset 0 -2px 0 #e8c547;
}
body.is-landing .map-file .hud-connect {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto 0.95rem;
  padding: 0.55rem 0.55rem 0.55rem 0.65rem;
  background: rgba(12, 12, 14, 0.9);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  border: 1px solid rgba(232, 197, 71, 0.35);
  border-radius: 6px;
  box-shadow:
    inset 0 -2px 0 #e8c547,
    0 14px 36px rgba(0, 0, 0, 0.4);
}
body.is-landing .map-file .hud-connect .hud-key {
  min-width: 36px;
  height: 36px;
  background: rgba(232, 197, 71, 0.12);
  border: 1px solid rgba(232, 197, 71, 0.4);
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  box-shadow: inset 0 -2px 0 #e8c547;
}
body.is-landing .map-file .hud-connect-cmd {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  text-align: left;
}
body.is-landing .map-file .hud-connect-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8c547;
}
body.is-landing .map-file .hud-connect code {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: none;
  text-shadow: none;
}
body.is-landing .map-file .hud-connect .btn.ghost {
  height: 36px;
  padding: 0 0.9rem;
  font-size: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  flex-shrink: 0;
}
body.is-landing .map-file .hud-connect .btn.ghost:hover {
  background: rgba(232, 197, 71, 0.12);
  border-color: rgba(232, 197, 71, 0.4);
  box-shadow: inset 0 -2px 0 #e8c547;
  color: #fff;
}
body.is-landing .map-file .brief-meta .hud-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
}
body.is-landing .map-file .brief-meta .hud-chip.is-on {
  background: rgba(232, 197, 71, 0.12);
  border-color: rgba(232, 197, 71, 0.4);
  color: #fff;
  box-shadow: inset 0 -2px 0 #e8c547;
}
body.is-landing .map-file .brief-meta .hud-chip.is-gold {
  color: #e8c547;
  border-color: rgba(232, 197, 71, 0.45);
}
body.is-landing .stage {
  min-height: 100vh;
  padding-top: calc(var(--ucp-chrome) + 1.1rem);
  background: transparent;
}
body.is-landing .stage::before,
body.is-landing .stage::after {
  display: none;
}
body.is-landing .stage-grid,
body.is-landing .pause-desk {
  min-height: min(560px, calc(100vh - var(--ucp-chrome) - 3.2rem));
  padding-top: 1.2rem;
}

.pre-alpha { display: none !important; }

.pre-alpha-panel {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin: 0 0 1.15rem;
  padding: 0.9rem 1rem;
  background: rgba(12, 12, 14, 0.9);
  border: 1px solid rgba(232, 197, 71, 0.4);
  border-radius: 6px;
  box-shadow: inset 0 -2px 0 #e8c547;
}
.pre-alpha-panel b {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 22px;
  margin-top: 0.1rem;
  padding: 0 0.5rem;
  border-radius: 4px;
  background: rgba(232, 197, 71, 0.16);
  border: 1px solid rgba(232, 197, 71, 0.5);
  color: #e8c547;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: inset 0 -2px 0 #e8c547;
}
.pre-alpha-panel p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; line-height: 1.5; }

.rail-label {
  margin: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8c547;
  line-height: 1.2;
}
.rail-label::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: 0.45rem;
  background: #e8c547;
}

.hud-key {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 0.35rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  box-shadow: inset 0 -2px 0 #e8c547;
}
.hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 24px;
  padding: 0 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
}
.hud-chip.is-on {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.36);
  color: #fff;
  box-shadow: inset 0 -2px 0 #e8c547;
}
.hud-chip.is-gold { color: #e8c547; border-color: rgba(232, 197, 71, 0.45); }

.stage {
  position: relative;
  min-height: calc(100vh - var(--ucp-chrome));
  padding: 1.4rem 1.25rem 2rem;
  overflow: hidden;
  background: #14161a;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/img/gtav/beach.jpg?v=1") center 45% / cover no-repeat;
  filter: saturate(0.9) contrast(1.02) brightness(0.88);
  transform: scale(1.04);
  pointer-events: none;
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(28, 30, 36, 0.32) 0%, rgba(28, 30, 36, 0.1) 42%, rgba(28, 30, 36, 0.48) 100%),
    radial-gradient(ellipse 70% 55% at 50% 48%, transparent 22%, rgba(28, 30, 36, 0.22) 100%);
  pointer-events: none;
}
.stage-grid,
.pause-desk {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 36rem);
  gap: 0.7rem;
  max-width: 1280px;
  margin: 0 auto;
  align-content: center;
  justify-content: center;
  justify-items: center;
  width: 100%;
  padding-top: 2.4rem;
  min-height: min(560px, calc(100vh - var(--ucp-chrome) - 3.2rem));
}
.pause-desk {
  isolation: isolate;
}

.map-file {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.map-file .kicker {
  justify-content: center;
  margin: 0 0 0.7rem;
  color: rgba(255, 255, 255, 0.62);
}
.map-file h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 14ch;
  margin: 0;
  color: #fff;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.55);
}
.map-file .lede {
  margin: 0.85rem 0 1.2rem;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.map-file .lede b { color: #fff; }
.map-file .hud-actions {
  justify-content: center;
  margin: 0 0 0.9rem;
}
.map-file .hud-connect {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto 0.95rem;
}
.map-file .brief-meta { justify-content: center; }

.radar-stack { display: grid; gap: 0.7rem; }
.radar-frame {
  position: relative;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.radar-street {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  margin-bottom: 0.7rem;
  padding: 0.45rem 0.7rem;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.radar-street b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px #000;
}
.radar-street span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.radar {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid var(--line);
}
.radar svg { width: 100%; height: 100%; display: block; }
.radar-north {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.radar-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.radar-stats .stat {
  padding: 0.7rem 0.75rem 0.65rem;
  background: var(--ink-92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.radar-stats .stat label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.28rem;
}
.radar-stats .stat b {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px #000;
  color: #fff;
}
.radar-stats .stat em {
  font-style: normal;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}
.capacity {
  height: 6px;
  margin-top: 0.5rem;
  background: #2a2a2a;
  border-radius: 2px;
  overflow: hidden;
}
.capacity i { display: block; height: 100%; background: var(--blue); }

.hud-help {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  background: var(--ink-92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}
.hud-help b { font-weight: 700; color: #fff; }

.brief {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.35rem 1.3rem 1.25rem;
  background: var(--ink-92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.brief h1 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 14ch;
  margin: 0;
}
.lede {
  margin: 0.9rem 0 1.2rem;
  max-width: 38rem;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.lede b { color: #fff; font-weight: 700; }
.hud-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.hud-connect {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.8rem;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
}
.hud-connect .label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}
.hud-connect code {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}
.hud-connect .btn { height: 32px; padding: 0 0.7rem; font-size: 11px; }
.brief-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.hud-block { padding: 0.4rem 0 2.4rem; scroll-margin-top: calc(var(--ucp-chrome) + 12px); }
.hud-block-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.9rem;
}
.hud-block-h h2 {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 700;
}
.hud-block-h p { margin: 0; font-size: 13px; color: var(--dim); }

.hud-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.hud-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.85rem;
  padding: 1rem 1rem 1.05rem;
  background: var(--ink-92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hud-step:hover { border-color: rgba(47, 123, 255, 0.45); }
.hud-step .n {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.hud-step:hover .n { background: var(--blue); border-color: var(--blue); }
.hud-step h3 { font-size: 15px; margin: 0 0 0.28rem; font-weight: 700; }
.hud-step p { margin: 0; font-size: 13px; color: var(--mute); line-height: 1.5; }
.hud-step p + p { margin-top: 0.35rem; }
.hud-step-cmd { margin-top: 0.4rem !important; }
.hud-step code,
.hud-step-cmd code {
  display: inline-block;
  max-width: 100%;
  overflow-x: auto;
  color: #fff;
  white-space: nowrap;
  vertical-align: middle;
}

.feeds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}
.feed {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  min-height: 148px;
  margin: 0;
}
.feed img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04) brightness(0.96);
  transition: filter 0.2s ease, transform 0.25s ease;
  display: block;
}
.feed:hover img { filter: saturate(0.95) brightness(0.96); transform: scale(1.03); }
.feed:hover { border-color: var(--blue); }
.feed figcaption {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.5rem;
  background: var(--ink-92);
  border-radius: var(--radius);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.feed figcaption b { color: var(--gold); font-weight: 700; }

.copy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}
.copy-item {
  padding: 0.15rem 0 0;
  background: none;
  border: 0;
  border-radius: 0;
}
.copy-item h3 { font-size: 15px; margin: 0.45rem 0 0.35rem; }
.copy-item p { margin: 0; font-size: 13px; color: var(--mute); line-height: 1.5; }
.alpha-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--line);
}
.alpha-note p {
  margin: 0;
  max-width: 40rem;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mute);
}

.land { background: transparent; }
.wrap.hud-wrap { width: min(1280px, calc(100% - 2.5rem)); padding: 0 0 1.2rem; }

/* Landing — city stage with HUD ink scrim */
body.is-landing .land {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0c0e12;
}
body.is-landing .land::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/img/gtav/beach.jpg?v=1") center 42% / cover no-repeat;
  filter: saturate(0.85) contrast(1.05) brightness(0.58);
  transform: scale(1.03);
  pointer-events: none;
}
body.is-landing .land::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg,
      rgba(12, 12, 14, 0.78) 0%,
      rgba(12, 12, 14, 0.42) 22%,
      rgba(12, 12, 14, 0.35) 55%,
      rgba(12, 12, 14, 0.72) 100%),
    radial-gradient(ellipse 80% 50% at 50% 28%, transparent 35%, rgba(12, 12, 14, 0.35) 100%);
  pointer-events: none;
}
body.is-landing .land > * {
  position: relative;
  z-index: 1;
}
body.is-landing .wrap.hud-wrap {
  position: relative;
  z-index: 1;
  margin-top: -1.4rem;
  padding: 0 0 2.4rem;
}
body.is-landing .hud-block {
  padding: 0.85rem 0 2.6rem;
}
body.is-landing .hud-block-h {
  align-items: flex-end;
  margin: 0 0 1.05rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(232, 197, 71, 0.28);
}
body.is-landing .hud-block-h h2 {
  color: #e8c547;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-shadow: none;
}
body.is-landing .hud-block-h h2::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: 0.45rem;
  background: #e8c547;
  border-radius: 0;
  box-shadow: none;
}
body.is-landing .hud-block-h p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

body.is-landing .hud-steps { gap: 0.85rem; }
body.is-landing .hud-step {
  gap: 0.95rem;
  padding: 1.1rem 1.05rem 1.15rem;
  background: rgba(12, 12, 14, 0.86);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  border: 1px solid rgba(232, 197, 71, 0.28);
  border-radius: 6px;
  box-shadow:
    inset 0 -2px 0 transparent,
    0 14px 36px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
body.is-landing .hud-step:hover {
  border-color: rgba(232, 197, 71, 0.5);
  box-shadow:
    inset 0 -2px 0 #e8c547,
    0 16px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}
body.is-landing .hud-step .n {
  width: 42px;
  height: 42px;
  background: rgba(232, 197, 71, 0.1);
  border: 1px solid rgba(232, 197, 71, 0.4);
  border-radius: 6px;
  color: #fff;
  box-shadow: inset 0 -2px 0 #e8c547;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
body.is-landing .hud-step:hover .n {
  background: rgba(232, 197, 71, 0.18);
  border-color: rgba(232, 197, 71, 0.55);
  box-shadow: inset 0 -2px 0 #e8c547;
}
body.is-landing .hud-step h3 { color: #fff; }
body.is-landing .hud-step p { color: rgba(255, 255, 255, 0.72); }
body.is-landing .hud-step a { color: #e8c547; }
body.is-landing .hud-step a:hover { color: #f0d56a; }
body.is-landing .hud-step code,
body.is-landing .hud-step-cmd code {
  display: inline-block;
  max-width: 100%;
  overflow-x: auto;
  color: #fff;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  white-space: nowrap;
  vertical-align: middle;
}
body.is-landing .hud-step .hud-key {
  background: rgba(232, 197, 71, 0.12);
  border: 1px solid rgba(232, 197, 71, 0.4);
  box-shadow: inset 0 -2px 0 #e8c547;
}

body.is-landing .feeds { gap: 0.85rem; }
body.is-landing .feed {
  min-height: 168px;
  border-radius: 6px;
  border: 1px solid rgba(232, 197, 71, 0.28);
  background: rgba(12, 12, 14, 0.7);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
body.is-landing .feed img {
  height: 168px;
  filter: saturate(0.95) contrast(1.05) brightness(0.88);
}
body.is-landing .feed:hover {
  border-color: rgba(232, 197, 71, 0.5);
  box-shadow:
    inset 0 -2px 0 #e8c547,
    0 18px 42px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}
body.is-landing .feed:hover img {
  filter: saturate(1) contrast(1.05) brightness(0.95);
  transform: scale(1.04);
}
body.is-landing .feed figcaption {
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 0.42rem 0.55rem;
  background: rgba(12, 12, 14, 0.9);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  border: 1px solid rgba(232, 197, 71, 0.3);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 -2px 0 #e8c547;
}
body.is-landing .feed figcaption b {
  color: #e8c547;
  text-shadow: none;
}

body.is-landing .copy-grid { gap: 0.85rem; }
body.is-landing .copy-item {
  padding: 1.1rem 1.05rem 1.15rem;
  background: rgba(12, 12, 14, 0.86);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  border: 1px solid rgba(232, 197, 71, 0.28);
  border-radius: 6px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
body.is-landing .copy-item:hover {
  border-color: rgba(232, 197, 71, 0.5);
  box-shadow:
    inset 0 -2px 0 #e8c547,
    0 16px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}
body.is-landing .copy-item .hud-chip {
  background: rgba(232, 197, 71, 0.1);
  border: 1px solid rgba(232, 197, 71, 0.4);
  color: #fff;
  border-radius: 6px;
  box-shadow: inset 0 -2px 0 #e8c547;
}
body.is-landing .copy-item .hud-chip.is-gold {
  color: #e8c547;
  border-color: rgba(232, 197, 71, 0.45);
  box-shadow: inset 0 -2px 0 #e8c547;
}
body.is-landing .copy-item h3 {
  margin: 0.7rem 0 0.4rem;
  color: #fff;
}
body.is-landing .copy-item p { color: rgba(255, 255, 255, 0.72); }

body.is-landing .alpha-note {
  margin-top: 1.15rem;
  padding: 1rem 1.05rem;
  border-top: 0;
  background: rgba(12, 12, 14, 0.9);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  border: 1px solid rgba(232, 197, 71, 0.35);
  border-radius: 6px;
  box-shadow:
    inset 0 -2px 0 #e8c547,
    0 14px 36px rgba(0, 0, 0, 0.4);
}
body.is-landing .alpha-note p {
  color: rgba(255, 255, 255, 0.78);
  text-shadow: none;
}
body.is-landing .alpha-note .btn.primary {
  height: 42px;
  padding: 0 1.15rem;
  border-radius: 6px;
  background: rgba(232, 197, 71, 0.14);
  border: 1px solid rgba(232, 197, 71, 0.45);
  color: #fff;
  box-shadow: inset 0 -2px 0 #e8c547;
  text-shadow: none;
}
body.is-landing .alpha-note .btn.primary:hover {
  background: rgba(232, 197, 71, 0.22);
  border-color: rgba(232, 197, 71, 0.6);
  color: #fff;
  box-shadow: inset 0 -2px 0 #e8c547;
}

@media (max-width: 980px) {
  .stage-grid,
  .pause-desk { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hud-steps, .feeds, .copy-grid { grid-template-columns: 1fr 1fr; }
  body.is-landing .feeds { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .street-bar { font-size: 10px; gap: 0.45rem; overflow: hidden; }
  .street-bar .data span:not(:last-child) { display: none; }
  .hud-steps, .feeds, .radar-stats, .copy-grid { grid-template-columns: 1fr; }
  .map-file h1, .brief h1 { font-size: 2.05rem; }
  .hud-connect { flex-wrap: wrap; }
  body.is-landing .wrap.hud-wrap { margin-top: -1.2rem; }
  body.is-landing .hud-block-h { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  body.is-landing .feed img { height: 180px; }
  body.is-landing .feed { min-height: 180px; }
}

.donate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1rem;
  align-items: start;
}

/* —— +Points Store page —— */
.rs-page {
  display: grid;
  gap: 1.25rem;
}

.rs-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 1.35rem 1.25rem;
  border-radius: 6px;
  border: 1px solid rgba(232, 197, 71, 0.35);
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.08), transparent 55%),
    rgba(12, 12, 14, 0.92);
  box-shadow:
    inset 0 -2px 0 rgba(232, 197, 71, 0.55),
    0 14px 36px rgba(0, 0, 0, 0.35);
  animation: rs-rise 0.45s ease-out both;
}

.rs-hero-glow {
  position: absolute;
  right: -8%;
  top: -40%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 197, 71, 0.14), transparent 68%);
  pointer-events: none;
}

.rs-hero-brand {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
}

.rs-hero-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  color: #e8c547;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}
.rs-hero-mark.points-mark {
  width: 36px;
  height: 36px;
  margin-top: 0.2rem;
}

.rs-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8c547;
}

.rs-hero h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}
.rs-hero h1::after {
  content: "";
  display: block;
  width: 2.25rem;
  height: 2px;
  margin-top: 0.45rem;
  background: #e8c547;
}

.rs-hero-lede {
  margin: 0.55rem 0 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.45;
}

.rs-balance {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(232, 197, 71, 0.45);
  background: rgba(232, 197, 71, 0.1);
  box-shadow: inset 0 -2px 0 #e8c547;
  color: #e8c547;
}

.rs-balance img,
.rs-balance .points-mark {
  width: 22px;
  height: 22px;
  object-fit: contain;
  color: #e8c547;
  flex-shrink: 0;
}

.rs-balance span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.rs-balance b {
  display: block;
  margin-top: 0.1rem;
  font-size: 1.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #e8c547;
}

.rs-earn {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  animation: rs-rise 0.5s ease-out 0.08s both;
}

.rs-earn-item {
  padding: 0.9rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(232, 197, 71, 0.28);
  background: rgba(12, 12, 14, 0.9);
  box-shadow: inset 0 -2px 0 rgba(232, 197, 71, 0.35);
}

.rs-earn-item span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.rs-earn-item strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.rs-earn-item em {
  display: block;
  margin-top: 0.25rem;
  font-style: normal;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}

.rs-earn-item a {
  color: #e8c547;
  text-decoration: none;
  font-weight: 600;
}

.rs-earn-item a:hover { color: #f0d56a; }

.rs-shelf {
  display: grid;
  gap: 0.85rem;
}

.rs-shelf-head h2 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8c547;
}
.rs-shelf-head h2::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: 0.4rem;
  background: #e8c547;
}

.rs-shelf-head p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.rs-list {
  display: grid;
  gap: 0.85rem;
}

.rs-item {
  padding: 1.1rem 1.15rem 1.15rem;
  border-radius: 6px;
  border: 1px solid rgba(232, 197, 71, 0.28);
  background: rgba(12, 12, 14, 0.9);
  box-shadow:
    inset 0 -2px 0 rgba(232, 197, 71, 0.25),
    0 12px 28px rgba(0, 0, 0, 0.3);
  animation: rs-rise 0.5s ease-out both;
  animation-delay: calc(0.12s + (var(--rs-i, 0) * 0.06s));
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.rs-item:hover {
  border-color: rgba(232, 197, 71, 0.5);
  box-shadow:
    inset 0 -2px 0 #e8c547,
    0 14px 32px rgba(0, 0, 0, 0.35);
}

.rs-item[data-tone="account"],
.rs-item[data-tone="character"],
.rs-item[data-tone="vehicle"] {
  border-left: 2px solid #e8c547;
}

.rs-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rs-item-copy {
  min-width: 0;
}

.rs-tag {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(232, 197, 71, 0.35);
  background: rgba(232, 197, 71, 0.1);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e8c547;
}

.rs-item h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.rs-item-copy p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 40rem;
}

.rs-price {
  flex-shrink: 0;
  display: grid;
  justify-items: end;
  gap: 0.1rem;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  border: 1px solid rgba(232, 197, 71, 0.45);
  background: rgba(232, 197, 71, 0.1);
  box-shadow: inset 0 -2px 0 #e8c547;
}

.rs-price b {
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #e8c547;
  line-height: 1;
}

.rs-price i {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.rs-form {
  display: grid;
  gap: 0.75rem;
  max-width: 32rem;
}

.rs-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.rs-led {
  animation: rs-rise 0.55s ease-out 0.25s both;
}

@keyframes rs-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rs-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes rs-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@media (max-width: 860px) {
  .rs-hero {
    flex-direction: column;
    align-items: stretch;
  }
  .rs-balance { width: 100%; }
  .rs-earn { grid-template-columns: 1fr; }
  .rs-name-row { grid-template-columns: 1fr; }
  .rs-item-top { flex-direction: column; }
  .rs-price { align-self: flex-start; justify-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  .rs-hero,
  .rs-earn,
  .rs-item,
  .rs-led,
  .rs-hero-mark,
  .rs-hero-glow {
    animation: none !important;
  }
  .rs-item:hover { transform: none; }
}

/* +Points Store — vehicle picker */
.rose-cost {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  color: var(--mute);
}
.rose-cost b {
  color: var(--gold);
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}
.rose-field {
  display: grid;
  gap: 0.4rem;
}
.rose-field-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.rose-veh {
  position: relative;
  z-index: 4;
}
.rose-veh-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  border: 1px solid rgba(232, 197, 71, 0.28);
  background: rgba(12, 12, 14, 0.85);
  color: #fff;
  cursor: pointer;
  text-align: left;
  box-shadow: inset 0 -2px 0 rgba(232, 197, 71, 0.3);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rose-veh-trigger:hover,
.rose-veh.is-open .rose-veh-trigger {
  border-color: rgba(232, 197, 71, 0.55);
  box-shadow: inset 0 -2px 0 #e8c547;
}
.rose-veh-face {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  flex: 1;
}
.rose-veh-plate {
  flex-shrink: 0;
  min-width: 4.6rem;
  padding: 0.38rem 0.5rem;
  border-radius: 4px;
  background: linear-gradient(180deg, #f4f1e4 0%, #e4dfc8 100%);
  border: 1px solid rgba(40, 36, 22, 0.35);
  color: #1a1810;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}
.rose-veh-plate.is-empty {
  opacity: 0.55;
  letter-spacing: 0.2em;
}
.rose-veh-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}
.rose-veh-copy strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rose-veh-copy em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rose-veh-chev {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid rgba(232, 197, 71, 0.75);
  border-bottom: 2px solid rgba(232, 197, 71, 0.75);
  transform: rotate(45deg);
  margin-top: -0.2rem;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.rose-veh.is-open .rose-veh-chev {
  transform: rotate(225deg);
  margin-top: 0.2rem;
}
.rose-veh-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.4rem);
  max-height: 16rem;
  overflow: auto;
  padding: 0.35rem;
  border-radius: 6px;
  border: 1px solid rgba(232, 197, 71, 0.35);
  background: rgba(12, 12, 14, 0.98);
  box-shadow:
    inset 0 -2px 0 rgba(232, 197, 71, 0.35),
    0 18px 40px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 0.25rem;
  z-index: 8;
}
.rose-veh-menu[hidden] { display: none; }
.rose-veh-opt {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.5rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.rose-veh-opt:hover,
.rose-veh-opt:focus-visible {
  background: rgba(232, 197, 71, 0.08);
  border-color: rgba(232, 197, 71, 0.25);
  outline: none;
}
.rose-veh-opt.is-on {
  background: rgba(232, 197, 71, 0.12);
  border-color: rgba(232, 197, 71, 0.4);
  box-shadow: inset 0 -2px 0 #e8c547;
}
.rose-veh-empty {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 6px;
  border: 1px dashed rgba(232, 197, 71, 0.35);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.4;
  background: rgba(12, 12, 14, 0.7);
}
.rose-plate-input {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 700;
}

/* +Points Store — purchase CTAs */
.btn-rose {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 3.15rem;
  padding: 0.55rem 0.65rem 0.55rem 0.7rem;
  margin: 0;
  border-radius: 6px;
  border: 1px solid rgba(232, 197, 71, 0.45);
  background: rgba(232, 197, 71, 0.1);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 #e8c547;
  transition: border-color 0.15s ease, background 0.15s ease;
  font: inherit;
  text-align: left;
}
.btn-rose:hover {
  border-color: rgba(232, 197, 71, 0.75);
  background: rgba(232, 197, 71, 0.16);
  color: #fff;
}
.btn-rose:focus-visible {
  outline: 2px solid #e8c547;
  outline-offset: 2px;
}
.btn-rose:disabled {
  opacity: 0.45;
  cursor: default;
  box-shadow: inset 0 -2px 0 rgba(232, 197, 71, 0.25);
}
.btn-rose img,
.btn-rose .points-mark {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  color: #e8c547;
}
.btn-rose-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}
.btn-rose-copy strong {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}
.btn-rose-copy em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.btn-rose-price {
  display: grid;
  justify-items: end;
  gap: 0.05rem;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(232, 197, 71, 0.4);
  background: rgba(12, 12, 14, 0.55);
  flex-shrink: 0;
}
.btn-rose-price b {
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #e8c547;
  line-height: 1;
}
.btn-rose-price i {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.btn-rose-chev {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #e8c547;
  border-bottom: 2px solid #e8c547;
  transform: rotate(-45deg);
  margin-right: 0.35rem;
  flex-shrink: 0;
}
.btn-rose.is-inline {
  margin-top: 0.75rem;
}
.form.rose-buy .btn-rose {
  margin-top: 0.15rem;
}

/* +Points Store — activity ledger */
.rose-led {
  margin-top: 1rem;
  padding: 0;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(232, 197, 71, 0.28);
  background: rgba(12, 12, 14, 0.9);
  box-shadow: inset 0 -2px 0 rgba(232, 197, 71, 0.25);
}
.rose-led-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(232, 197, 71, 0.28);
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.07), transparent 70%),
    rgba(12, 12, 14, 0.5);
  box-shadow: inset 0 -2px 0 rgba(232, 197, 71, 0.4);
}
.rose-led-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.rose-led-title img,
.rose-led-title .points-mark {
  width: 22px;
  height: 22px;
  object-fit: contain;
  color: #e8c547;
  flex-shrink: 0;
}
.rose-led-title h3 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8c547;
}
.rose-led-title p {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}
.rose-led-bal {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem 0.35rem 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(232, 197, 71, 0.4);
  background: rgba(232, 197, 71, 0.1);
  flex-shrink: 0;
  box-shadow: inset 0 -2px 0 #e8c547;
}
.rose-led-bal img,
.rose-led-bal .points-mark {
  width: 14px;
  height: 14px;
  object-fit: contain;
  color: #e8c547;
}
.rose-led-bal b {
  color: #e8c547;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
.rose-led-bal em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.rose-led-empty {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.15rem;
  padding: 1.35rem 1.15rem;
  min-height: 7.5rem;
}
.rose-led-empty > img,
.rose-led-empty > .points-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
  color: #e8c547;
  opacity: 0.9;
}
.rose-led-empty strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.rose-led-empty p {
  margin: 0.35rem 0 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
  line-height: 1.45;
}
.rose-led-empty p b { color: #e8c547; }
.rose-led-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}
.rose-led-list {
  display: grid;
  gap: 0;
}
.rose-led-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  border-top: 1px solid rgba(232, 197, 71, 0.12);
}
.rose-led-row:first-child { border-top: 0; }
.rose-led-row:hover {
  background: rgba(232, 197, 71, 0.05);
}
.rose-led-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid rgba(232, 197, 71, 0.28);
  background: rgba(232, 197, 71, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rose-led-badge[data-reason="playtime"] {
  border-color: rgba(232, 197, 71, 0.35);
  background: rgba(232, 197, 71, 0.1);
  color: #e8c547;
}
.rose-led-badge[data-reason="donate"] {
  border-color: rgba(232, 197, 71, 0.5);
  background: rgba(232, 197, 71, 0.14);
  color: #e8c547;
}
.rose-led-badge[data-reason="purchase"] {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.rose-led-badge[data-reason="event"],
.rose-led-badge[data-reason="staff"] {
  border-color: rgba(232, 197, 71, 0.4);
  background: rgba(232, 197, 71, 0.12);
  color: #f0d56a;
}
.rose-led-main {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.rose-led-main strong {
  font-size: 0.9rem;
  font-weight: 650;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rose-led-main em {
  font-style: normal;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}
.rose-led-nums {
  display: grid;
  justify-items: end;
  gap: 0.1rem;
  flex-shrink: 0;
}
.rose-led-delta {
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}
.rose-led-row.is-gain .rose-led-delta { color: #e8c547; }
.rose-led-row.is-spend .rose-led-delta { color: #f0a8a8; }
.rose-led-nums span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
  .rose-led-empty {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .rose-led-actions { justify-content: flex-start; }
  .rose-led-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "badge nums"
      "main nums";
  }
  .rose-led-badge { grid-area: badge; justify-self: start; }
  .rose-led-main { grid-area: main; }
  .rose-led-nums { grid-area: nums; align-self: center; }
}
.donate-amts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}
.donate-amt {
  height: 38px;
  min-width: 3.4rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.donate-amt:hover {
  border-color: rgba(232, 197, 71, 0.45);
  color: #fff;
  background: rgba(232, 197, 71, 0.08);
}
.donate-amt.is-on {
  background: rgba(232, 197, 71, 0.16);
  border-color: rgba(232, 197, 71, 0.55);
  color: var(--gold);
}
.donate-custom {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 0.9rem;
  color: var(--mute);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.donate-custom input {
  height: 44px;
  padding: 0 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(8, 18, 32, 0.4);
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
}
.donate-custom input:focus {
  outline: none;
  border-color: rgba(232, 197, 71, 0.55);
}
.donate-form { margin: 0; }
.btn-paypal {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 3.15rem;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #009cde 0%, #0070ba 100%);
  border: 1px solid #005ea6;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.btn-paypal:hover {
  background: linear-gradient(180deg, #00aef5 0%, #003087 100%);
  border-color: #003087;
  color: #fff;
}
.btn-paypal-copy {
  display: grid;
  gap: 0.1rem;
}
.btn-paypal-copy strong {
  font-size: 0.95rem;
  font-weight: 700;
}
.btn-paypal-copy em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.donate-mail {
  margin: 0.85rem 0 0 !important;
  font-size: 0.75rem !important;
  color: var(--mute) !important;
  letter-spacing: 0.02em;
}
.donate-wrap { width: min(980px, 92vw); }
.donate-shell { display: grid; gap: 1rem; }
.donate-hero h1 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.donate-hero .kicker {
  margin: 0 0 0.15rem;
  color: var(--gold);
}
.donate-hero-note {
  margin: 0;
  max-width: 34rem;
  color: var(--mute);
  font-size: 0.86rem;
  line-height: 1.45;
}
.donate-pay,
.donate-roses {
  min-height: 100%;
}
.donate-body {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem 1.05rem 1.1rem;
}
.donate-body > p {
  margin: 0;
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.5;
}
.donate-rate {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(232, 197, 71, 0.35);
  background: rgba(232, 197, 71, 0.1);
}
.donate-rate b {
  font-size: 1.35rem;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.donate-rate span { color: var(--mute); font-weight: 700; }
.donate-rate img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.donate-rate strong {
  color: var(--text);
  font-size: 1rem;
}
.donate-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}
.donate-points li {
  position: relative;
  padding: 0.45rem 0.65rem 0.45rem 1.55rem;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--mute);
  font-size: 0.84rem;
  line-height: 1.4;
}
.donate-points li::before {
  content: "";
  position: absolute;
  left: 0.65rem;
  top: 0.75rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
}
.donate-roses .btn-rose { width: 100%; }
.donate-roses .file-who .avatar {
  width: 36px;
  height: 36px;
  background: transparent;
  box-shadow: none;
}
.ucp .content:has(.donate-shell) { width: min(980px, 100%); }
.fac-shell { display: grid; gap: 1rem; }
.fac-hero h1 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.fac-hero .kicker {
  margin: 0 0 0.15rem;
  color: var(--gold);
}
.fac-hero .crumb {
  display: inline-flex;
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  text-decoration: none;
}
.fac-hero .crumb:hover { color: var(--gold); }
.fac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.85rem;
}
.fac-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}
a.fac-card:hover {
  border-color: rgba(232, 197, 71, 0.45);
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}
.fac-card-h {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  padding: 0.85rem 1rem 0.55rem;
}
.fac-swatch {
  width: 12px;
  height: 12px;
  border-radius: 99px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}
.fac-card-body {
  padding: 0 1rem 0.85rem;
  display: grid;
  gap: 0.2rem;
  flex: 1;
}
.fac-card-body h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.fac-card-body p {
  margin: 0;
  color: var(--mute);
  font-size: 0.82rem;
}
.fac-card-foot {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding: 0.7rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.12);
}
.fac-card-foot b {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
}
.fac-card-foot em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  flex: 1;
}
.fac-seat-list,
.fac-rank-list,
.fac-member-list { display: grid; }
.fac-seat-row,
.fac-rank-row,
.fac-member-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.fac-seat-row:first-child,
.fac-rank-row:first-child,
.fac-member-row:first-child { border-top: 0; }
.fac-member-row {
  grid-template-columns: minmax(0, 1.2fr) minmax(7rem, 0.8fr) auto;
}
.fac-seat-copy,
.fac-rank-copy,
.fac-member-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}
.fac-seat-copy strong,
.fac-rank-copy strong,
.fac-member-copy strong {
  font-size: 0.92rem;
  color: var(--text);
}
.fac-seat-copy em,
.fac-rank-copy em,
.fac-member-copy em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--mute);
}
.fac-rank-row b {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.fac-member-rank select {
  width: 100%;
  min-width: 0;
}
.fac-member-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}
.fac-hire {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.fac-hire label { margin: 0; }
#fac-hire {
  margin: 0;
  padding: 0.95rem 1.05rem 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: none;
  background: rgba(0, 0, 0, 0.12);
}
#fac-hire h3 { margin: 0 0 0.35rem; }
@media (max-width: 800px) {
  .donate-grid { grid-template-columns: 1fr; }
  .fac-hire { grid-template-columns: 1fr; }
  .fac-member-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .fac-member-acts { justify-content: flex-start; }
}

html[data-theme="light"] .pre-alpha-panel {
  background: rgba(232, 194, 32, 0.16);
  border-color: rgba(180, 140, 10, 0.4);
}
html[data-theme="light"] .ucp-chrome {
  background: linear-gradient(180deg, rgba(12, 12, 14, 0.28) 0%, rgba(12, 12, 14, 0.08) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}
html[data-theme="light"] .street-bar {
  background: rgba(12, 12, 14, 0.18);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
}
html[data-theme="light"] .ucp-head {
  --chrome-fg: #ffffff;
  --chrome-muted: rgba(255, 255, 255, 0.82);
  --chrome-hover: rgba(255, 255, 255, 0.14);
  --orb-bg: rgba(255, 255, 255, 0.16);
  --orb-line: rgba(255, 255, 255, 0.32);
  --panel: rgba(255, 255, 255, 0.16);
  --line: rgba(255, 255, 255, 0.22);
  --line-strong: rgba(255, 255, 255, 0.38);
  --gold: #e8c547;
}
html[data-theme="light"] .ucp-tab { color: rgba(255, 255, 255, 0.82); }
html[data-theme="light"] a.ucp-tab:hover { color: #fff; }
html[data-theme="light"] .site-live { color: rgba(255, 255, 255, 0.9); }
html[data-theme="light"] .ucp-drawer {
  background: rgba(255, 255, 255, 0.92);
  border-right-color: rgba(18, 40, 64, 0.14);
  box-shadow:
    inset -2px 0 0 rgba(184, 115, 15, 0.45),
    12px 0 36px rgba(18, 40, 64, 0.08);
}
html[data-theme="light"] .side-nav-head {
  background:
    linear-gradient(180deg, rgba(184, 115, 15, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(184, 115, 15, 0.28);
  box-shadow: inset 0 -2px 0 rgba(184, 115, 15, 0.4);
}
html[data-theme="light"] .rail-label { color: #b8730f; }
html[data-theme="light"] .rail-label::after { background: #b8730f; }
html[data-theme="light"] .card,
html[data-theme="light"] .req-card,
html[data-theme="light"] .char-card,
html[data-theme="light"] .fac-card,
html[data-theme="light"] .city-stats .stat {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(18, 40, 64, 0.12);
}
html[data-theme="light"] .drop {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(18, 40, 64, 0.12);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .site-foot {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 45%),
    rgba(255, 255, 255, 0.72);
  border-top-color: rgba(18, 40, 64, 0.12);
}
html[data-theme="light"] .site-foot-brand strong { color: #102038; }
html[data-theme="light"] .site-foot-brand em,
html[data-theme="light"] .site-foot-credit { color: rgba(16, 32, 56, 0.55); }
html[data-theme="light"] .site-foot-nav a { color: rgba(16, 32, 56, 0.62); }
html[data-theme="light"] .site-foot-nav a:hover {
  color: #102038;
  background: rgba(16, 32, 56, 0.06);
  border-color: rgba(16, 32, 56, 0.12);
}
html[data-theme="light"] .hud-key,
html[data-theme="light"] .hud-chip,
html[data-theme="light"] .hud-step .n {
  background: rgba(16, 32, 56, 0.08);
  border-color: rgba(16, 32, 56, 0.14);
  color: #102038;
  box-shadow: none;
}
html[data-theme="light"] .hud-chip.is-on,
html[data-theme="light"] .hud-step:hover .n {
  color: #fff;
}
html[data-theme="light"] body,
html[data-theme="light"] {
  background:
    radial-gradient(ellipse 90% 55% at 50% -12%, rgba(150, 195, 235, 0.45), transparent 58%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(47, 123, 255, 0.1), transparent 52%),
    var(--bg);
}
html[data-theme="light"] .join-live.is-on { color: #fff; }
html[data-theme="light"] .join-console .hud-key { color: #fff; }
html[data-theme="light"] .ucp-wordmark { display: none; }
html[data-theme="light"] .ucp-brand-type { display: flex; }
html[data-theme="light"] .ucp-tab { color: rgba(255, 255, 255, 0.82); }
html[data-theme="light"] .ucp-tab.is-on { color: #fff; }
html[data-theme="light"] a.ucp-tab:hover { color: #fff; }
html[data-theme="light"] a.ucp-tab.is-on:hover { color: #fff; }
html[data-theme="light"] .site-live { color: rgba(255, 255, 255, 0.9); }
html[data-theme="light"] .side-link,
html[data-theme="light"] a.side-link,
html[data-theme="light"] .side-fold > summary {
  color: #121826;
}
html[data-theme="light"] .side-link svg { color: #121826; opacity: 0.8; }
html[data-theme="light"] .side-link.is-on,
html[data-theme="light"] a.side-link.is-on,
html[data-theme="light"] .side-link.is-on:hover,
html[data-theme="light"] a.side-link.is-on:hover {
  color: #102038;
  background: rgba(184, 115, 15, 0.12);
  box-shadow: inset 0 -2px 0 #b8730f;
}
html[data-theme="light"] .side-link.is-on svg,
html[data-theme="light"] a.side-link.is-on svg {
  color: #b8730f;
}
html[data-theme="light"] .street-bar {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
}
html[data-theme="light"] .auth-page::before {
  filter: saturate(1.05) contrast(1.02) brightness(1.05);
}
html[data-theme="light"] .auth-page::after {
  background:
    linear-gradient(180deg, rgba(12, 12, 14, 0.18) 0%, rgba(12, 12, 14, 0.04) 34%, rgba(12, 12, 14, 0.45) 100%),
    radial-gradient(ellipse 70% 55% at 50% 42%, transparent 28%, rgba(12, 12, 14, 0.22) 100%);
}
html[data-theme="light"] .auth-panel {
  background: rgba(12, 12, 14, 0.78);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}
html[data-theme="light"] .radar-street b,
html[data-theme="light"] .radar-stats .stat b { text-shadow: none; color: var(--text); }
html[data-theme="light"] .radar-north { color: var(--text); }
html[data-theme="light"] .hud-help { color: var(--chrome-muted); }
html[data-theme="light"] .hud-help b { color: var(--text); }
html[data-theme="light"] .site-nav a:hover { color: var(--text); }
html[data-theme="light"] .drop { box-shadow: var(--shadow); }
html[data-theme="light"] .lede,
html[data-theme="light"] .lede b { color: var(--text); }
html[data-theme="light"] .map-file h1,
html[data-theme="light"] .map-file .lede,
html[data-theme="light"] .map-file .lede b { color: #fff; }
html[data-theme="light"] .map-file .kicker { color: rgba(255, 255, 255, 0.62); }
html[data-theme="light"] .guide-toc a:hover,
html[data-theme="light"] .faq summary:hover,
html[data-theme="light"] .char-hero-copy .crumb:hover { color: var(--text); }

.theme-picks {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.7rem;
}
.card:has(.theme-picks) { margin-bottom: 1.15rem; }
.theme-pick {
  height: 36px;
  padding: 0 0.95rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.theme-pick.is-on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.theme-pick:hover:not(.is-on) { border-color: var(--blue); color: var(--blue); }

/* ------------------------------------------------------------------ */
/* Maze Bank — GTA maze-bank.com red / white / black                  */
/* Keep fully opaque paper — never inherit site glass tokens.         */
/* ------------------------------------------------------------------ */

html:has(body.is-maze),
body.is-maze,
body.is-maze #app {
  background: #d4d4d4 !important;
  background-image: none !important;
  color: #111 !important;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}
body.is-maze * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.maze {
  --maze-red: #d61f26;
  --maze-red-2: #b7181e;
  --maze-ink: #111111;
  --maze-mute: #5a5a5a;
  --maze-line: #111111;
  --maze-paper: #ffffff;
  --bg: #d4d4d4;
  --card: #ffffff;
  --ink: #ffffff;
  --ink-92: #ffffff;
  --panel: #ffffff;
  --input-bg: #ffffff;
  --text: #111111;
  --mute: #5a5a5a;
  --line: #111111;
  --radius: 0px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 1.4rem 1rem 2rem;
  overflow-x: hidden;
  background-color: #d4d4d4;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(0, 0, 0, 0.035) 14px 16px),
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(0, 0, 0, 0.035) 14px 16px);
}
.maze *,
.maze *::before,
.maze *::after { box-sizing: border-box; }
.maze a { color: var(--maze-red); }
.maze a:hover { color: var(--maze-red-2); }
.maze-sheet {
  width: min(960px, 100%);
  max-width: 100%;
  margin: 0 auto;
  background: #ffffff !important;
  background-image: none !important;
  border-top: 4px solid var(--maze-red);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 2.8rem);
  overflow: hidden;
  isolation: isolate;
  position: relative;
}
.maze-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem 0.85rem;
  background: #fff;
}
.maze-brand { display: block; flex-shrink: 0; color: inherit !important; }
.maze-logo {
  display: block;
  height: 72px;
  width: auto;
  max-width: min(280px, 55vw);
  object-fit: contain;
  object-position: left center;
}
.maze-head-act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
  text-align: right;
  min-width: 0;
}
.maze-balance {
  margin: 0;
  color: var(--maze-ink);
  font-size: 0.95rem;
  font-weight: 500;
}
.maze-balance b { font-weight: 700; }
.maze-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--maze-ink) !important;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.maze-link:hover { color: var(--maze-red) !important; }
.maze-userbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  margin: 0;
  padding: 0.55rem 1.35rem;
  background: var(--maze-red);
  color: #fff;
  font-weight: 700;
}
.maze-userbar span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 500;
  pointer-events: none;
  white-space: nowrap;
}
.maze-main {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 1.1rem 1.35rem 1.6rem;
  background: #fff;
  overflow-x: hidden;
}
.maze-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.35rem 1.1rem;
  border-top: 1px solid #ddd;
  color: var(--maze-mute);
  font-size: 0.75rem;
  background: #fff;
}
.maze-foot a { color: var(--maze-ink); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }

.maze.is-login .maze-main {
  display: grid;
  place-items: start center;
  padding-top: 1.4rem;
}
.maze-gate {
  width: min(640px, 100%);
  display: grid;
  gap: 1.2rem;
}
.maze-gate-copy h1 {
  margin: 0.15rem 0 0.45rem;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--maze-ink);
  text-transform: none;
}
.maze-gate-copy p { margin: 0; color: var(--maze-mute); max-width: 42ch; line-height: 1.5; }
.maze-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maze-red);
}
.maze-panel, .maze-card {
  background: #fff;
  border: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-shadow: none;
  border-radius: 0;
}
.maze-panel h2, .maze-card h2 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maze-ink);
}
.maze-form { display: grid; gap: 0.7rem; width: 100%; max-width: 100%; }
.maze-form label {
  display: grid;
  gap: 0.28rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--maze-mute);
  min-width: 0;
}
.maze input,
.maze textarea,
.maze select,
.maze-form input,
.maze-form select,
.maze-form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #fff !important;
  border: 1px solid #111 !important;
  color: #111 !important;
  border-radius: 0 !important;
  padding: 0.62rem 0.7rem;
  font: inherit;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  box-shadow: none !important;
}
.maze-form select { padding-right: 2.25rem; }
.maze select option,
.maze select optgroup,
.maze-form select option,
.maze-form select optgroup {
  color: #111;
  background-color: #fff;
}
.maze-form input:focus, .maze-form select:focus {
  outline: 2px solid var(--maze-red);
  border-color: var(--maze-red) !important;
}
.maze-btn {
  appearance: none;
  border: 1px solid #111;
  background: var(--maze-red);
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
  border-radius: 0;
  box-shadow: none;
}
.maze-btn:hover { background: var(--maze-red-2); color: #fff; }
.maze-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.maze-btn.ghost {
  background: #fff;
  color: var(--maze-ink);
}
.maze-btn.ghost:hover { background: #f3f3f3; color: var(--maze-ink); }
.maze-or { color: var(--maze-mute); }
.maze-err { min-height: 1.1rem; margin: 0; color: var(--maze-red); font-size: 0.82rem; }
.maze-ok { min-height: 1.1rem; margin: 0; color: #1a7a32; font-size: 0.82rem; }
.maze-switch { margin: 0.85rem 0 0; color: var(--maze-mute); font-size: 0.82rem; }
.maze-loading, .maze-error { padding: 2rem 0; text-align: center; color: var(--maze-mute); }

.maze-app {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: start;
}
.maze-rail {
  padding: 0;
  background: transparent;
  border: 0;
  min-width: 0;
}
.maze-sec { margin: 0 0 1.15rem; }
.maze-sec:last-child { margin-bottom: 0; }
.maze-sec h2 {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maze-red);
}
.maze-sec .maze-mute { margin: 0; font-size: 0.8rem; }
.maze-hello {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--maze-ink);
}
.maze-acc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid #111;
  color: var(--maze-ink);
  padding: 0.65rem 0.7rem;
  margin-bottom: 0.4rem;
  cursor: pointer;
  border-radius: 0;
  box-shadow: none;
}
.maze-acc strong, .maze-acc em { display: block; min-width: 0; overflow-wrap: anywhere; }
.maze-acc em { color: var(--maze-mute); font-style: normal; font-size: 0.7rem; margin-top: 0.15rem; }
.maze-acc b { color: var(--maze-ink); font-size: 0.95rem; white-space: nowrap; }
.maze-acc:hover { background: #f6f6f6; }
.maze-acc.is-on {
  background: var(--maze-red);
  border-color: #111;
  color: #fff;
}
.maze-acc.is-on em, .maze-acc.is-on b { color: #fff; }
.maze-desk {
  padding: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.maze-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  padding: 0 0 1rem;
  margin-bottom: 1rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #ddd;
  width: 100%;
  max-width: 100%;
}
.maze-hero h1 {
  margin: 0;
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--maze-ink);
}
.maze-hero p { margin: 0.25rem 0 0; color: var(--maze-mute); font-size: 0.82rem; }
.maze-routing { color: var(--maze-ink); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.maze-copy {
  margin-top: 0.55rem;
  background: #fff;
  border: 1px solid #111;
  color: var(--maze-ink);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  border-radius: 0;
}
.maze-copy:hover { background: var(--maze-red); color: #fff; border-color: #111; }
.maze-hero-bal { display: grid; justify-items: end; gap: 0.3rem; }
.maze-hero-bal b {
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0;
  color: var(--maze-ink);
}
.maze-hero-bal em { color: var(--maze-mute); font-style: normal; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.maze-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maze-mute);
}
.maze-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6c6c6c;
}
.maze-chip.is-live { color: #1a7a32; }
.maze-chip.is-live i { background: #1a7a32; }
.maze-chip.is-frozen { color: var(--maze-red); }
.maze-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.6rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.maze-lede { margin: 0 0 0.9rem; color: var(--maze-mute); font-size: 0.85rem; }
.maze-lede code { color: var(--maze-ink); }
.maze-split {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 0.7rem;
  width: 100%;
  max-width: 100%;
}
.maze-hint { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--maze-mute); }
.maze-matches { display: grid; gap: 0.28rem; }
.maze-matches:empty { display: none; }
.maze-matches button {
  display: grid;
  text-align: left;
  padding: 0.5rem 0.65rem;
  background: #fff;
  border: 1px solid #111;
  color: inherit;
  cursor: pointer;
  border-radius: 0;
}
.maze-matches button em { color: var(--maze-mute); font-style: normal; font-size: 0.75rem; }
.maze-matches button:hover { background: #f6f6f6; }
.maze-mute { color: var(--maze-mute); }
.maze-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: 0.55rem;
  -webkit-overflow-scrolling: touch;
}
.maze-statement {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.maze-statement table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.maze-statement th, .maze-statement td {
  text-align: left;
  padding: 0.5rem 0.45rem;
  border-bottom: 1px solid #ddd;
  white-space: nowrap;
}
.maze-statement th {
  color: var(--maze-mute);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.maze-tx.withdraw { color: var(--maze-red); font-weight: 700; }
.maze-tx.deposit { color: #1a7a32; font-weight: 700; }
.maze-form .maze-btn { justify-self: start; min-width: 180px; }

@media (max-width: 980px) {
  .maze-gate, .maze-app, .maze-grid, .maze-hero, .maze-split { grid-template-columns: 1fr; }
  .maze-hero-bal { justify-items: start; }
  .maze-head { flex-wrap: wrap; }
  .maze-logo { height: 56px; }
  .maze-userbar span { position: static; transform: none; }
}
