:root {
  --bg0: #0f0e17;
  --bg1: #15131f;
  --ink: #f4f2f8;
  --dim: #a09aac;
  --accent: #b98cff;
  --accent2: #5ee0d0;
  --gold: #ffb454;
  --up: #5ee08a;
  --down: #ff6b8a;
  --line: rgba(255, 255, 255, .07);
  --card: #15131f;
  --bar: #1b1830;
  --surface: #181622;
  --surface2: #11101a;
  --line-soft: rgba(255, 255, 255, .07);
  --radius: 14px;
  --control-radius: 10px;
  --tile-radius: 10px;
  --mono: "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Pretendard", "Apple SD Gothic Neo", sans-serif;
  --shadow: 0 22px 70px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .025);
  --shadow-soft: 0 14px 42px rgba(0, 0, 0, .24);
  --focus: 0 0 0 3px rgba(185, 140, 255, .22), 0 0 0 1px rgba(185, 140, 255, .58);
  --accent-readable: var(--accent);
  --accent2-readable: var(--accent2);
  --gold-readable: var(--gold);
  --up-readable: var(--up);
  --down-readable: var(--down);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg0: #f5f5f7;
  --bg1: #ffffff;
  --ink: #1d1d1f;
  --dim: #6e6e73;
  --line: rgba(0, 0, 0, .09);
  --card: #ffffff;
  --bar: #f5f5f7;
  --surface: #ffffff;
  --surface2: #ececf0;
  --line-soft: rgba(0, 0, 0, .08);
  --shadow: 0 22px 54px rgba(0, 0, 0, .09), inset 0 1px 0 rgba(255, 255, 255, .8);
  --shadow-soft: 0 12px 28px rgba(0, 0, 0, .08);
  --focus: 0 0 0 3px rgba(107, 77, 199, .18), 0 0 0 1px rgba(107, 77, 199, .52);
  --accent-readable: #6d3edb;
  --accent2-readable: #007c75;
  --gold-readable: #965900;
  --up-readable: #118a44;
  --down-readable: #c92d54;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  background:
    radial-gradient(circle at 50% -18%, rgba(255, 255, 255, .055), transparent 34%),
    linear-gradient(180deg, var(--bg1), var(--bg0) 38%, var(--bg0) 100%);
  background-size: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  display: none;
  pointer-events: none;
}

body::before {
  z-index: -2;
  opacity: .8;
  filter: blur(36px);
  background:
    linear-gradient(115deg, transparent 0 14%, rgba(185, 140, 255, .16) 25%, transparent 44%),
    linear-gradient(245deg, transparent 0 28%, rgba(94, 224, 208, .13) 48%, transparent 68%),
    linear-gradient(12deg, transparent 0 42%, rgba(255, 180, 84, .1) 58%, transparent 76%);
  animation: auroraDrift 18s ease-in-out infinite alternate;
}

body::after {
  z-index: -1;
  background:
    radial-gradient(1px 1px at 7% 18%, rgba(255,255,255,.44) 50%, transparent 51%),
    radial-gradient(1px 1px at 24% 66%, rgba(185,140,255,.42) 50%, transparent 51%),
    radial-gradient(1px 1px at 48% 22%, rgba(94,224,208,.38) 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 78%, rgba(255,180,84,.38) 50%, transparent 51%),
    radial-gradient(1px 1px at 91% 38%, rgba(255,255,255,.34) 50%, transparent 51%);
  background-size: 320px 320px, 380px 380px, 420px 420px, 360px 360px, 460px 460px;
  opacity: .72;
}

::selection {
  background: color-mix(in srgb, var(--accent2) 35%, transparent);
  color: var(--ink);
}

* {
  scrollbar-color: color-mix(in srgb, var(--ink) 24%, transparent) transparent;
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 24%, transparent);
  background-clip: padding-box;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

strong,
b {
  color: var(--ink);
}

:focus-visible {
  outline: 0;
  box-shadow: var(--focus);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--card);
  color: var(--ink);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(160px, max-content) 1fr max-content;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 10px clamp(14px, 4vw, 36px);
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg1) 88%, transparent), color-mix(in srgb, var(--bg1) 70%, transparent));
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--tile-radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, transparent), color-mix(in srgb, var(--bar) 96%, transparent));
  color: var(--accent-readable);
  font-size: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 24px rgba(0, 0, 0, .16);
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.brand-copy small {
  color: var(--dim);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.topnav {
  display: flex;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.topnav::-webkit-scrollbar {
  display: none;
}

.topnav a {
  position: relative;
  flex: 0 0 auto;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: var(--control-radius);
  color: var(--dim);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(.3);
  transform-origin: center;
  transition: opacity .16s ease, transform .16s ease;
}

.topnav a:hover,
.topnav a[aria-current="page"] {
  border-color: var(--line-soft);
  background: color-mix(in srgb, var(--bar) 78%, transparent);
  color: var(--ink);
  transform: translateY(-1px);
}

.topnav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.icon-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: var(--control-radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, transparent), color-mix(in srgb, var(--surface2) 92%, transparent)) padding-box,
    linear-gradient(135deg, color-mix(in srgb, var(--ink) 11%, var(--line)), color-mix(in srgb, var(--ink) 4%, var(--line))) border-box;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, filter .16s ease, border-color .16s ease;
}

.icon-button {
  width: 38px;
  padding: 0;
  font-size: 18px;
}

.button {
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 700;
}

.button.primary {
  color: #080710;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 94%, #ffffff 10%), var(--accent)) padding-box,
    linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,.12)) border-box;
  box-shadow: 0 12px 26px rgba(185, 140, 255, .18), inset 0 1px 0 rgba(255,255,255,.34);
}

.button.secondary {
  color: var(--ink);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card) 72%, transparent), color-mix(in srgb, var(--surface2) 78%, transparent)) padding-box,
    linear-gradient(135deg, var(--line-soft), color-mix(in srgb, var(--ink) 6%, var(--line))) border-box;
}

.button.danger {
  color: var(--down-readable);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--down) 10%, transparent), transparent) padding-box,
    linear-gradient(135deg, color-mix(in srgb, var(--down) 60%, var(--line)), var(--line)) border-box;
}

.icon-button:hover,
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
}

.button.primary:hover {
  filter: saturate(1.08) brightness(1.04);
}

.icon-button:active,
.button:active {
  transform: translateY(0);
}

.button:disabled,
button:disabled {
  cursor: not-allowed;
  filter: grayscale(.3);
  opacity: .48;
}

.app-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(16px, 3vw, 32px);
}

.loading-screen {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 54vh;
  gap: 12px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card) 96%, transparent), color-mix(in srgb, var(--surface2) 94%, transparent)) padding-box,
    linear-gradient(135deg, var(--line-soft), color-mix(in srgb, var(--ink) 4%, transparent)) border-box;
  color: var(--dim);
  box-shadow: var(--shadow-soft);
}

.loading-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  animation: shimmer 1.5s ease-in-out infinite;
}

.spinner {
  width: 34px;
  height: 34px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

.page {
  display: grid;
  gap: 18px;
}

.page > * {
  animation: surfaceIn .44s ease both;
}

.page > *:nth-child(2) { animation-delay: .04s; }
.page > *:nth-child(3) { animation-delay: .08s; }
.page > *:nth-child(4) { animation-delay: .12s; }
.page > *:nth-child(5) { animation-delay: .16s; }

.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.page-kicker,
.eyebrow {
  margin: 0 0 7px;
  color: var(--accent2-readable);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.page-title {
  margin: 0;
  font-size: 46px;
  line-height: 1.06;
  font-weight: 780;
}

.page-subtitle,
.muted {
  color: var(--dim);
}

.page-subtitle {
  max-width: 760px;
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.65;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
  gap: 16px;
  align-items: stretch;
}

.hero-panel,
.panel,
.card,
.metric,
.toolbar,
.note,
.drawer-panel,
.palette-panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card) 96%, transparent), color-mix(in srgb, var(--surface2) 94%, transparent));
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 318px;
  overflow: hidden;
  padding: 42px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .04), transparent 36%),
    linear-gradient(250deg, rgba(185, 140, 255, .08), transparent 42%);
  pointer-events: none;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 64%, transparent), transparent);
  opacity: .8;
}

.hero-panel > * {
  position: relative;
}

.hero-line {
  max-width: 900px;
  margin: 0;
  font-size: 52px;
  line-height: 1.04;
  font-weight: 820;
}

.hero-line strong {
  color: transparent;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-actions,
.actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.creator-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 318px;
  padding: 22px;
}

.creator-avatar {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 1px solid var(--line-soft);
  border-radius: var(--tile-radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--bar) 94%, transparent));
  color: var(--gold-readable);
  font-size: 38px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 14px 30px rgba(0, 0, 0, .14);
}

.creator-card h2,
.panel h2,
.card h3,
.metric h3 {
  margin: 0;
}

.creator-card p,
.card p,
.note p {
  margin: 0;
  color: var(--dim);
  line-height: 1.6;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.panel {
  min-width: 0;
  padding: 18px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.panel-head h2,
.panel-head h3 {
  margin: 0;
  line-height: 1.12;
}

.grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.card {
  min-width: 0;
  padding: 14px;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.card:hover,
.metric:hover,
.event-item:hover,
.calendar-day:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .035);
}

.card-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.metric {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 16px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.metric::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 72%, transparent), transparent);
  opacity: .72;
}

.metric h3 {
  color: var(--dim);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 28px;
  line-height: 1.08;
  font-variant-numeric: tabular-nums;
}

.metric small {
  display: block;
  margin-top: 5px;
  color: var(--dim);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  box-shadow: var(--shadow-soft);
}

.toolbar-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.field,
.select,
.textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line-soft);
  border-radius: var(--control-radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 82%, transparent), color-mix(in srgb, var(--surface2) 90%, transparent));
  color: var(--ink);
  padding: 9px 11px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.field:focus,
.select:focus,
.textarea:focus {
  border-color: color-mix(in srgb, var(--accent) 58%, var(--line));
}

.textarea {
  min-height: 86px;
  resize: vertical;
}

.field.compact,
.select.compact {
  width: auto;
  min-width: 148px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.form-field {
  display: grid;
  grid-column: span 3;
  gap: 6px;
}

.form-field.wide {
  grid-column: span 6;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--dim);
  font-size: 12px;
  font-weight: 650;
}

input[type="range"] {
  accent-color: var(--accent2);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface2) 62%, transparent);
  color: var(--dim);
  padding: 5px 10px;
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease, background .16s ease, transform .16s ease;
}

.chip:hover {
  transform: translateY(-1px);
  color: var(--ink);
}

.chip[aria-pressed="true"],
.chip.active {
  border-color: color-mix(in srgb, var(--accent) 58%, var(--line));
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  color: var(--ink);
}

.segmented {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line-soft);
  border-radius: var(--control-radius);
  background: color-mix(in srgb, var(--bg0) 44%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.segmented button {
  min-height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--dim);
  padding: 5px 10px;
  cursor: pointer;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}

.segmented button:hover {
  color: var(--ink);
}

.segmented button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--ink) 10%, var(--bar));
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.status-pill,
.tag,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.status-pills {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.badge {
  color: var(--dim);
  background: color-mix(in srgb, var(--surface2) 60%, transparent);
}

.status-pill.pre,
.tag.tge,
.tag.points {
  border-color: color-mix(in srgb, var(--gold) 38%, var(--line));
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  color: var(--gold-readable);
}

.status-pill.post,
.tag.snapshot {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent-readable);
}

.status-pill.live,
.status-pill.tracking-live,
.tag.competition {
  border-color: color-mix(in srgb, var(--accent2) 36%, var(--line));
  background: color-mix(in srgb, var(--accent2) 10%, transparent);
  color: var(--accent2-readable);
}

.status-pill.tracking-pending {
  border-color: color-mix(in srgb, var(--gold) 42%, var(--line));
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  color: var(--gold-readable);
}

.status-pill.tracking-soon {
  border-color: color-mix(in srgb, var(--dim) 42%, var(--line));
  background: color-mix(in srgb, var(--dim) 10%, transparent);
  color: var(--dim);
}

.tag.update,
.tag.campaign,
.tag.fees-rebate {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--dim);
}

.status-pill.urgency-red,
.urgency-red .event-date,
.calendar-event.urgency-red {
  border-color: color-mix(in srgb, var(--down) 48%, var(--line));
  color: var(--down-readable);
}

.status-pill.urgency-amber,
.urgency-amber .event-date,
.calendar-event.urgency-amber {
  border-color: color-mix(in srgb, var(--gold) 48%, var(--line));
  color: var(--gold-readable);
}

.new-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid color-mix(in srgb, var(--gold) 38%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--gold) 14%, transparent);
  color: var(--gold-readable);
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 760;
}

.venue-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.venue-logo {
  --venue-a: var(--accent2);
  --venue-b: var(--accent);
  --venue-c: var(--gold);
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--tile-radius);
  background: color-mix(in srgb, #ffffff 94%, var(--surface2));
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), 0 9px 20px rgba(0, 0, 0, .18);
}

.venue-logo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: contain;
}

.venue-logo-fallback {
  display: none;
}

.venue-logo.is-fallback {
  padding: 0;
  border-color: color-mix(in srgb, var(--venue-a) 42%, rgba(255,255,255,.16));
  background: linear-gradient(135deg, var(--venue-a), var(--venue-b) 62%, var(--venue-c));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 9px 20px rgba(0, 0, 0, .18);
}

.venue-logo.is-fallback .venue-logo-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,.38);
}

.venue-title:hover .venue-logo,
.tier-card:hover .venue-logo {
  border-color: color-mix(in srgb, var(--accent) 32%, rgba(255,255,255,.14));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), 0 12px 24px rgba(0, 0, 0, .22);
}

.venue-title strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.venue-title small {
  display: block;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.35;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 90%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bar) 96%, transparent), color-mix(in srgb, var(--surface2) 96%, transparent));
  color: var(--dim);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(18px) saturate(140%);
}

th button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  font-weight: inherit;
  text-transform: inherit;
}

td {
  font-size: 14px;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tr:hover td {
  background: color-mix(in srgb, var(--ink) 5%, transparent);
}

.num,
.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.up { color: var(--up-readable); }
.down { color: var(--down-readable); }
.gold { color: var(--gold-readable); }
.accent { color: var(--accent2-readable); }

.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 12px;
}

.venue-card {
  display: grid;
  gap: 12px;
  min-height: 250px;
}

.venue-card .stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stat-box {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 10px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg0) 32%, transparent), color-mix(in srgb, var(--surface2) 68%, transparent));
}

.stat-box span {
  display: block;
  color: var(--dim);
  font-size: 11px;
  font-weight: 740;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.stat-box strong {
  display: block;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

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

.event-item {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card) 90%, transparent), color-mix(in srgb, var(--surface2) 90%, transparent));
  transition: transform .18s ease, box-shadow .18s ease;
}

.event-date {
  width: 68px;
  padding: 7px;
  border: 1px solid var(--line-soft);
  border-radius: var(--control-radius);
  background: color-mix(in srgb, var(--bg0) 42%, transparent);
  text-align: center;
}

.event-date strong {
  display: block;
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1.05;
}

.event-date span {
  color: var(--dim);
  font-size: 11px;
  text-transform: uppercase;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.calendar-weekday {
  color: var(--dim);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  min-height: 116px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card) 82%, transparent), color-mix(in srgb, var(--surface2) 88%, transparent));
  padding: 8px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.calendar-day.is-muted {
  opacity: .48;
}

.calendar-day-number {
  display: block;
  margin-bottom: 7px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 12px;
}

.calendar-event {
  display: grid;
  gap: 4px;
  width: 100%;
  margin-top: 5px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bar) 88%, transparent);
  color: var(--ink);
  padding: 6px;
  font-size: 12px;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.popover {
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg0) 62%, var(--card));
}

.portfolio-bars {
  display: grid;
  gap: 10px;
}

.contribution {
  display: grid;
  grid-template-columns: minmax(110px, 180px) 1fr max-content;
  align-items: center;
  gap: 10px;
}

.bar-track {
  height: 10px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg0) 50%, var(--bar));
}

.bar-fill {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.ledger-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.assumption-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.note {
  padding: 13px;
  box-shadow: var(--shadow-soft);
}

.tier-board {
  display: grid;
  gap: 10px;
}

.tier-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 96px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card) 90%, transparent), color-mix(in srgb, var(--surface2) 92%, transparent));
}

.tier-label {
  --tier-color: var(--dim);
  display: grid;
  place-items: center;
  border: 0;
  border-right: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tier-color) 14%, transparent), color-mix(in srgb, var(--bar) 92%, transparent));
  color: var(--tier-color);
  font-size: 30px;
  font-weight: 820;
  cursor: pointer;
}

.tier-label.s { --tier-color: var(--gold); }
.tier-label.a { --tier-color: var(--accent2); }
.tier-label.b { --tier-color: var(--accent); }
.tier-label.c { --tier-color: var(--up); }
.tier-label.d { --tier-color: #8db5ff; }
.tier-label.f { --tier-color: var(--down); }

.tier-drop {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  min-height: 96px;
  padding: 10px;
  transition: background .16s ease;
}

.tier-drop.drag-over {
  background: color-mix(in srgb, var(--accent2) 12%, transparent);
}

.tier-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 200px;
  min-height: 40px;
  border: 1px solid var(--line-soft);
  border-radius: var(--control-radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card) 94%, transparent), color-mix(in srgb, var(--surface2) 94%, transparent));
  color: var(--ink);
  padding: 6px 9px 6px 6px;
  cursor: grab;
  user-select: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.tier-card .venue-logo {
  width: 30px;
  height: 30px;
  font-size: 11px;
}

.tier-card.is-selected {
  border-color: color-mix(in srgb, var(--gold) 42%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, transparent), 0 14px 32px rgba(0,0,0,.2);
}

.tier-card:hover {
  transform: translateY(-1px);
}

.tier-card:active {
  cursor: grabbing;
}

.unranked-tray {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 76px;
  padding: 10px;
  border: 1px dashed color-mix(in srgb, var(--accent) 36%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 76%, transparent);
}

.histogram {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 5px;
  height: 72px;
}

.hist-bar {
  min-height: 3px;
  height: var(--h, 10%);
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--accent2), color-mix(in srgb, var(--accent2) 42%, var(--bar)));
}

.hist-bar.mine {
  background: linear-gradient(180deg, var(--gold), #ff7a45);
}

.insight-post {
  display: grid;
  gap: 12px;
}

.post-body {
  color: var(--ink);
  line-height: 1.68;
}

.post-body h2,
.post-body h3 {
  margin: 14px 0 8px;
}

.post-body p {
  margin: 0 0 10px;
}

.post-body ul {
  margin: 0 0 10px 20px;
}

.post-body a {
  color: var(--accent2-readable);
}

.drawer,
.command-palette {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.drawer[aria-hidden="false"],
.command-palette[aria-hidden="false"] {
  display: block;
}

.drawer-backdrop,
.palette-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 8, .54);
  backdrop-filter: blur(16px) saturate(130%);
  animation: fadeIn .16s ease;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(580px, 100%);
  height: 100%;
  overflow-y: auto;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  outline: 0;
  animation: drawerIn .2s ease;
}

.drawer-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--card) 82%, transparent);
  backdrop-filter: blur(22px) saturate(150%);
}

.drawer-head h2 {
  margin: 0;
}

.drawer-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.palette-panel {
  position: relative;
  width: min(640px, calc(100% - 28px));
  margin: 9vh auto;
  padding: 14px;
  animation: paletteIn .18s ease;
}

.palette-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.palette-head h2 {
  margin: 0;
}

.palette-results {
  display: grid;
  gap: 7px;
  max-height: 360px;
  margin-top: 10px;
  overflow-y: auto;
}

.palette-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--control-radius);
  background: color-mix(in srgb, var(--surface2) 46%, transparent);
  color: var(--ink);
  padding: 10px;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.palette-command:hover,
.palette-command[aria-selected="true"] {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, var(--bar));
  transform: translateY(-1px);
}

.kbd {
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  padding: 2px 6px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  background: color-mix(in srgb, var(--bg0) 48%, transparent);
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 140;
  max-width: min(380px, calc(100vw - 32px));
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card) 96%, transparent), color-mix(in srgb, var(--surface2) 92%, transparent));
  color: var(--ink);
  padding: 12px 14px;
  box-shadow: var(--shadow);
  transition: opacity .18s ease, transform .18s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.empty {
  display: grid;
  place-items: center;
  min-height: 130px;
  border: 1px dashed color-mix(in srgb, var(--ink) 18%, var(--line));
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ink) 4%, transparent), transparent 44%),
    color-mix(in srgb, var(--surface2) 58%, transparent);
  color: var(--dim);
  text-align: center;
  padding: 18px;
}

.automate-page .hero-panel {
  min-height: 300px;
}

.automate-page .hero-line {
  max-width: 780px;
}

.automate-checklist {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.automate-checklist li {
  position: relative;
  padding-left: 18px;
  color: var(--dim);
}

.automate-checklist li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent2-readable);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent2) 13%, transparent);
}

.warning-note {
  border-color: color-mix(in srgb, var(--gold) 34%, var(--line));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--gold) 9%, transparent), color-mix(in srgb, var(--surface2) 90%, transparent));
}

.warning-note strong,
.honest-warning span {
  color: var(--gold-readable);
}

.section-warning {
  margin: 0 0 14px;
  color: var(--dim);
  line-height: 1.65;
}

.automation-grid,
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.automation-card,
.strategy-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.automation-card .panel-head,
.strategy-card .panel-head {
  margin-bottom: 0;
}

.automation-card .badge {
  max-width: 220px;
  height: auto;
  min-height: 24px;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.automation-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.automation-meta .stat-box strong {
  font-size: 13px;
  line-height: 1.35;
}

.related-block {
  display: grid;
  gap: 8px;
}

.video-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.video-strip.is-compact {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.video-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  min-height: 76px;
  border: 1px solid var(--line-soft);
  border-radius: var(--control-radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 70%, transparent), color-mix(in srgb, var(--surface2) 78%, transparent));
  color: var(--ink);
  padding: 9px;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.video-strip.is-compact .video-card {
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 62px;
  padding: 8px;
}

.video-card:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent2) 34%, var(--line));
  box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
}

.video-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg0) 50%, var(--bar));
}

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

.video-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.video-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.video-copy small {
  overflow: hidden;
  color: var(--dim);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.honest-warning {
  display: grid;
  gap: 5px;
  border: 1px solid color-mix(in srgb, var(--gold) 32%, var(--line));
  border-radius: var(--control-radius);
  background: color-mix(in srgb, var(--gold) 8%, transparent);
  padding: 10px;
}

.honest-warning span {
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.honest-warning p {
  margin: 0;
  color: var(--dim);
}

[hidden] {
  display: none !important;
}

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

@keyframes shimmer {
  to { transform: translateX(100%); }
}

@keyframes auroraDrift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1%, 0) scale(1.03); }
}

@keyframes drawerIn {
  from { transform: translateX(30px); opacity: .4; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes paletteIn {
  from { transform: translateY(12px) scale(.985); opacity: .4; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr max-content;
  }

  .topnav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    justify-self: stretch;
    width: 100%;
    order: 3;
  }

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

  .hero-line {
    font-size: 54px;
  }

  .page-title {
    font-size: 44px;
  }

  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8 {
    grid-column: span 12;
  }

  .form-field,
  .form-field.wide {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 14px;
  }

  .app-shell {
    padding: 14px;
  }

  .brand-copy small {
    display: none;
  }

  .page-head,
  .panel-head,
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .page-title {
    font-size: 34px;
  }

  .hero-panel,
  .creator-card,
  .panel {
    padding: 14px;
  }

  .hero-line {
    font-size: 38px;
    line-height: 1.04;
  }

  .toolbar-group,
  .inline-actions {
    width: 100%;
  }

  .field.compact,
  .select.compact,
  .button {
    width: 100%;
  }

  .event-item {
    grid-template-columns: 1fr;
  }

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

  .calendar-weekday {
    display: none;
  }

  .calendar-day {
    min-height: auto;
  }

  .form-field,
  .form-field.wide {
    grid-column: 1 / -1;
  }

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

  .tier-row {
    grid-template-columns: 52px 1fr;
  }

  .tier-label {
    font-size: 24px;
  }

  .venue-card .stats {
    grid-template-columns: 1fr;
  }

  .automation-meta {
    grid-template-columns: 1fr;
  }

  .video-strip,
  .video-strip.is-compact {
    grid-template-columns: 1fr;
  }

  .video-card,
  .video-strip.is-compact .video-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* ===== classic Aqua desk reskin ===== */
:root,
:root[data-theme="light"],
:root[data-theme="dark"] {
  --ui-mono: "Spline Sans Mono", monospace;
  --data-mono: "IBM Plex Mono", monospace;
  --display: "Syne", "Noto Sans KR", sans-serif;
  --body: "Noto Sans KR", "Spline Sans Mono", sans-serif;
  --bg0: #ece9dd;
  --bg1: #fbfbf6;
  --ink: #1d2b3a;
  --dim: #677482;
  --accent: #2f6fd0;
  --accent2: #177f9f;
  --gold: #b87516;
  --up: #1f8a3b;
  --down: #c0392b;
  --line: #c8c1b2;
  --card: #fbfbf6;
  --bar: #d4d0c8;
  --surface: #ffffff;
  --surface2: #ece9dd;
  --line-soft: #c7cfd9;
  --radius: 6px;
  --control-radius: 5px;
  --tile-radius: 8px;
  --mono: var(--data-mono);
  --sans: var(--body);
  --shadow: inset 0 1px 0 rgba(255, 255, 255, .84), 0 2px 7px rgba(50, 42, 28, .1);
  --shadow-soft: inset 0 1px 0 rgba(255, 255, 255, .78), 0 1px 4px rgba(50, 42, 28, .08);
  --focus: 0 0 0 3px rgba(47, 111, 208, .22), 0 0 0 1px #245bb0;
  --accent-readable: #245bb0;
  --accent2-readable: #0f718a;
  --gold-readable: #8a560a;
  --up-readable: #1f8a3b;
  --down-readable: #c0392b;
  color-scheme: light;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(12px, 2vw, 26px);
  color: var(--ink);
  font-family: var(--body);
  background:
    linear-gradient(180deg, rgba(8, 10, 14, .45), rgba(8, 10, 14, .12) 30%, rgba(8, 10, 14, .18) 64%, rgba(8, 10, 14, .5)),
    #0c1014 url("../assets/wallpaper.jpg") center center / cover no-repeat fixed;
}

body::before,
body::after {
  display: none;
}

* {
  scrollbar-color: #9bb6dd #d9d6c8;
}

*::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

*::-webkit-scrollbar-track {
  background: #d9d6c8;
  border-left: 1px solid #aaa794;
}

*::-webkit-scrollbar-thumb {
  border: 1px solid #6f8db9;
  border-radius: 2px;
  background: linear-gradient(180deg, #cdd9ee, #9bb6dd);
  background-clip: border-box;
}

strong,
b {
  color: #15263a;
}

::selection {
  background: rgba(106, 166, 234, .36);
  color: #12243a;
}

.desk-window {
  width: min(1480px, calc(100vw - clamp(24px, 4vw, 52px)));
  height: calc(100vh - clamp(24px, 4vw, 52px));
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #d4d0c8;
  border: 1px solid #1c1c1c;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
}

.aqua-titlebar {
  position: relative;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  background: repeating-linear-gradient(180deg, #eaeaea 0 1px, #cdcdcd 1px 2px);
  border-bottom: 1px solid #7a7a7a;
  color: #1a1a1a;
  font-family: var(--ui-mono);
  font-size: 12px;
  font-weight: 700;
  user-select: none;
}

.aqua-window-title {
  padding: 0 9px;
  line-height: 18px;
  background: #dcd9d0;
}

.desk-body {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ece9dd;
}

.topbar {
  position: relative;
  top: auto;
  z-index: 20;
  flex: 0 0 auto;
  min-height: 58px;
  padding: 9px 14px;
  grid-template-columns: max-content minmax(0, max-content) max-content;
  justify-content: space-between;
  gap: clamp(14px, 3vw, 32px);
  border-bottom: 1px solid #aaa794;
  background:
    linear-gradient(180deg, #f7f7f2, #e2dfd2 62%, #cecabc);
  backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(0, 0, 0, .12);
  font-family: var(--ui-mono);
}

.brand-lockup {
  gap: 9px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  overflow: hidden;
  padding: 2px;
  border: 1px solid rgba(0, 0, 0, .38);
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 2px 6px rgba(0, 0, 0, .18);
}

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

.brand-copy strong {
  font-family: "Archivo Black", var(--display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
}

.brand-copy small {
  color: #5f6975;
  font-family: var(--ui-mono);
}

.topnav {
  align-self: center;
  justify-self: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  gap: 4px;
  padding: 4px;
  border: 1px solid #b8b2a4;
  border-radius: 6px;
  background: #d8d4c7;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .16), inset 0 -1px 0 rgba(255, 255, 255, .5);
}

.topnav a {
  min-height: 34px;
  min-width: 104px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #263342;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.topnav a::after {
  display: none;
}

.topnav a:hover,
.topnav a[aria-current="page"] {
  border-color: #245bb0;
  color: #fff;
  background: linear-gradient(180deg, #6aa6ea, #2f6fd0);
  transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 2px rgba(0, 0, 0, .18);
}

.top-actions {
  gap: 7px;
}

.app-shell {
  width: 100%;
  max-width: none;
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
  margin: 0;
  padding: clamp(16px, 2.1vw, 30px);
  background: #ece9dd;
}

.skip-link {
  z-index: 1000;
  border: 1px solid #1c1c1c;
  border-radius: 5px;
  background: #fbfbf6;
  color: #1d2b3a;
  font-family: var(--ui-mono);
}

.icon-button,
.button {
  min-height: 30px;
  border-radius: 5px;
  font-family: var(--ui-mono);
  font-weight: 700;
}

.icon-button {
  width: 32px;
  color: #1a1a1a;
  border: 1px solid #8f887b;
  background: linear-gradient(180deg, #fff, #d8d4c7);
  box-shadow: inset 0 1px 0 #fff, 0 1px 1px rgba(0, 0, 0, .14);
}

.button {
  padding: 7px 12px;
  font-size: 12px;
  white-space: nowrap;
}

.button.primary {
  color: #fff;
  border: 1px solid #245bb0;
  background: linear-gradient(180deg, #6aa6ea, #2f6fd0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 1px 2px rgba(0, 0, 0, .2);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .28);
}

.button.secondary,
.button.danger {
  color: #1d2b3a;
  border: 1px solid #b8b2a4;
  background: linear-gradient(180deg, #fff, #e1ded2);
  box-shadow: inset 0 1px 0 #fff;
}

.button.danger {
  color: var(--down-readable);
}

.icon-button:hover,
.button:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 3px 9px rgba(47, 111, 208, .16);
}

.page {
  gap: 16px;
}

.page > * {
  animation: surfaceIn .28s ease both;
}

.page-kicker,
.eyebrow {
  color: #245bb0;
  font-family: var(--ui-mono);
  font-size: 11px;
  letter-spacing: .06em;
}

.page-title,
.hero-line,
.hero-panel h2,
.creator-card h2,
.panel h2 {
  font-family: var(--display);
  letter-spacing: 0;
}

.page-title {
  color: #15263a;
}

.hero-line {
  max-width: 900px;
  color: #132235;
  font-size: clamp(38px, 4.3vw, 58px);
  font-weight: 800;
  letter-spacing: 0;
}

.hero-line strong {
  color: #9a5e09;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.page-subtitle,
.muted,
.creator-card p,
.card p,
.note p {
  color: #5f6c79;
}

.hero {
  gap: 14px;
}

.hero-panel,
.panel,
.card,
.metric,
.toolbar,
.note,
.drawer-panel,
.palette-panel {
  border: 1px solid #c8c1b2;
  border-radius: 7px;
  background: linear-gradient(180deg, #fff, #fbfbf6);
  box-shadow: var(--shadow);
}

.hero-panel {
  min-height: 292px;
  padding: clamp(24px, 3vw, 42px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(251, 251, 246, .96)),
    repeating-linear-gradient(180deg, rgba(255,255,255,.38) 0 1px, rgba(210,205,190,.25) 1px 2px);
}

.hero-panel::before {
  background:
    linear-gradient(115deg, rgba(106, 166, 234, .17), transparent 38%),
    linear-gradient(250deg, rgba(255, 174, 58, .1), transparent 44%);
}

.hero-panel::after {
  background: linear-gradient(90deg, transparent, rgba(47, 111, 208, .54), transparent);
}

.creator-card {
  border: 1px solid #c8c1b2;
  border-radius: 7px;
  background: linear-gradient(180deg, #fbfbf6, #f2efe4);
}

.creator-avatar {
  overflow: hidden;
  padding: 2px;
  border-color: #9faab7;
  background: #fff;
}

.creator-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.panel {
  padding: 16px;
}

.panel-head {
  margin-bottom: 13px;
}

.card {
  padding: 13px;
  background: linear-gradient(180deg, #ffffff, #fbfbf6);
}

.card:hover,
.metric:hover,
.event-item:hover,
.calendar-day:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 7px 18px rgba(47, 111, 208, .15);
}

.metric {
  padding: 15px;
}

.metric::after {
  background: linear-gradient(90deg, transparent, rgba(47, 111, 208, .55), transparent);
}

.metric h3,
.stat-box span,
th,
label {
  color: #5f6c79;
  font-family: var(--ui-mono);
}

.metric strong,
.num,
.mono,
.stat-box strong,
.event-date strong,
.kbd {
  font-family: var(--data-mono);
}

.field,
.select,
.textarea {
  border: 1px solid #aaa794;
  border-radius: 4px;
  background: #fff;
  color: #1d2b3a;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .7);
}

.field:focus,
.select:focus,
.textarea:focus {
  border-color: #245bb0;
}

.toolbar,
.segmented,
.chip-row {
  font-family: var(--ui-mono);
}

.toolbar {
  background: linear-gradient(180deg, #f8f6ed, #e6e2d5);
}

.chip,
.segmented {
  border: 1px solid #b8b2a4;
  border-radius: 5px;
  background: #e3dfd1;
}

.chip {
  min-height: 30px;
  color: #4f5b68;
}

.chip[aria-pressed="true"],
.chip.active,
.segmented button[aria-pressed="true"] {
  border-color: #245bb0;
  color: #fff;
  background: linear-gradient(180deg, #6aa6ea, #2f6fd0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}

.segmented button {
  border-radius: 3px;
  color: #4f5b68;
}

.badge,
.status-pill,
.tag,
.new-badge {
  border-radius: 999px;
  font-family: var(--ui-mono);
  line-height: 1.2;
}

.badge {
  color: #4f5b68;
  background: #eeeadd;
}

.venue-logo {
  border-color: #c7cfd9;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 2px 5px rgba(0, 0, 0, .12);
}

.table-wrap,
.market-list {
  border: 1px solid #c8c1b2;
  border-radius: 6px;
  background: #fff;
}

th {
  background: linear-gradient(180deg, #e9e5d8, #d9d4c4);
  backdrop-filter: none;
}

td {
  color: #1d2b3a;
}

tr:hover td {
  background: rgba(47, 111, 208, .08);
}

.stat-box,
.event-item,
.calendar-day,
.calendar-event,
.popover,
.tier-row,
.tier-card,
.unranked-tray {
  border-color: #c8c1b2;
  background: linear-gradient(180deg, #fff, #fbfbf6);
}

.event-date {
  border-color: rgba(74, 255, 130, .28);
  background: rgba(12, 30, 14, .6);
}

.note,
.warning-note,
.strategy-disclaimer {
  background: rgba(14, 32, 12, .55);
}

.warning-note {
  border-color: #d4aa55;
}

.warning-note strong,
.honest-warning span {
  color: #d9ff6a;
}

.section-framing {
  margin: 0 0 14px;
  padding: 13px 14px;
  border: 1px solid rgba(74, 255, 130, .28);
  border-left: 4px solid #3bdc5a;
  border-radius: 6px;
  color: #bfeccb;
  background: rgba(10, 26, 12, .55);
  line-height: 1.68;
}

.honest-warning {
  border-color: rgba(74, 255, 130, .32);
  border-radius: 6px;
  background: rgba(18, 40, 12, .55);
}

.honest-warning p {
  color: #9fe0a8;
}

.automation-grid,
.strategy-grid {
  gap: 12px;
}

.venue-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 14px;
}

.venue-card {
  position: relative;
  align-content: start;
  gap: 12px;
  min-height: 0;
  overflow: hidden;
  padding: 14px;
}

.venue-card::after {
  content: "";
  position: absolute;
  inset: auto 12px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, transparent, var(--venue-a), transparent);
  opacity: .78;
  pointer-events: none;
}

.venue-card-head {
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
}

.venue-card-head .venue-title {
  min-width: 0;
}

.venue-card-head .status-pills {
  flex: 0 0 auto;
}

.venue-description {
  min-height: 63px;
  margin: 0;
  color: #5f6c79;
  line-height: 1.55;
}

.venue-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.venue-stats .stat-box {
  min-width: 0;
}

.venue-stats .stat-box strong {
  overflow-wrap: normal;
  word-break: normal;
}

.api-panel {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid #c8c1b2;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff, #f6f3e8);
}

.api-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.api-row span,
.api-table-meta b {
  color: #5f6c79;
  font-family: var(--ui-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.api-row strong {
  color: #15263a;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
}

.api-note {
  margin: 2px 0 0;
  color: #5f6c79;
  font-size: 12px;
  line-height: 1.5;
}

.venue-actions,
.table-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.venue-actions {
  margin-top: auto;
}

.explorer-table {
  min-width: 1180px;
}

.stacked-cell,
.api-table-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.stacked-cell small,
.api-table-meta span {
  color: #5f6c79;
  font-size: 12px;
  line-height: 1.35;
}

.api-table-meta span {
  overflow-wrap: normal;
  word-break: normal;
}

.venue-code-row td {
  padding: 0;
  background: #f6f3e8;
}

.table-codeblock {
  margin: 10px;
}

.automation-card,
.strategy-card {
  gap: 12px;
}

.automation-card .inline-actions {
  align-items: flex-start;
}

.automation-meta .stat-box strong {
  color: #15263a;
}

.prompt-shell {
  display: grid;
  gap: 8px;
  min-width: 0;
  flex: 1 1 100%;
}

.prompt-toggle {
  justify-self: start;
}

.codeblock {
  display: grid;
  gap: 12px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid #1c1c1c;
  border-radius: 6px;
  background: #050806;
  color: #b8ffd6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 2px 7px rgba(0, 0, 0, .18);
  white-space: normal;
  overflow: hidden;
}

.code-note {
  margin: 0 12px;
  color: rgba(184, 255, 214, .78);
  font: 500 11px/1.5 var(--data-mono);
}

.code-scroll {
  display: block;
  max-height: 300px;
  min-height: 0;
  margin: 0;
  overflow-x: auto;
  overflow-y: auto;
  padding: 12px;
  white-space: pre;
}

.codeblock code {
  display: block;
  color: #b8ffd6;
  font-family: var(--data-mono);
  font-size: 12px;
  line-height: 1.65;
  white-space: pre;
  text-shadow: 0 0 10px rgba(127, 224, 106, .24);
}

.codeblock .prompt-copy {
  justify-self: end;
  margin: 0 12px 12px;
  min-width: 86px;
}

.video-strip {
  gap: 10px;
}

.video-card {
  border-color: #c8c1b2;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff, #fbfbf6);
  color: #1d2b3a;
}

.video-card:hover {
  border-color: #6f8db9;
  box-shadow: 0 6px 16px rgba(47, 111, 208, .16);
}

.video-thumb {
  border-color: #b8b2a4;
  border-radius: 5px;
  background: #d9d6c8;
}

.video-guide-panel .video-strip {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.video-guide-panel .video-card {
  grid-template-columns: 1fr;
  align-items: start;
}

.video-guide-panel .video-thumb {
  width: 100%;
}

.video-guide-panel .video-copy strong {
  -webkit-line-clamp: 3;
}

.drawer-backdrop,
.palette-backdrop {
  background: rgba(8, 10, 14, .38);
  backdrop-filter: blur(7px) saturate(130%);
}

.drawer-panel {
  background: #d4d0c8;
  border-left: 1px solid #1c1c1c;
  border-radius: 0;
}

.drawer-head {
  border-bottom: 1px solid #7a7a7a;
  background: repeating-linear-gradient(180deg, #eaeaea 0 1px, #cdcdcd 1px 2px);
  backdrop-filter: none;
}

.drawer-body {
  background: #ece9dd;
}

.palette-panel {
  background: #d4d0c8;
  border: 1px solid #1c1c1c;
}

.palette-command {
  border-color: #c8c1b2;
  background: #fbfbf6;
  color: #1d2b3a;
}

.palette-command:hover,
.palette-command[aria-selected="true"] {
  border-color: #245bb0;
  background: #eaf2ff;
}

.kbd {
  border-color: #b8b2a4;
  background: #eeeadd;
}

.toast {
  border: 1px solid #1c1c1c;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff, #e7e3d7);
  color: #1d2b3a;
  font-family: var(--ui-mono);
}

.empty {
  border-color: #c8c1b2;
  background: #f6f3e8;
  color: #677482;
}

.loading-screen {
  border: 1px solid #c8c1b2;
  background: #fbfbf6;
}

.spinner {
  border-color: #c8c1b2;
  border-top-color: #2f6fd0;
}

@media (max-width: 980px) {
  body {
    align-items: stretch;
    padding: 8px;
  }

  .desk-window {
    width: calc(100vw - 16px);
    height: calc(100vh - 16px);
    min-height: 0;
  }

  .topbar {
    grid-template-columns: 1fr max-content;
  }

  .topnav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
  }

  .hero-line {
    font-size: clamp(36px, 8vw, 50px);
  }
}

@media (max-width: 680px) {
  .desk-window {
    border-radius: 5px;
  }

  .aqua-titlebar {
    min-height: 23px;
    flex-basis: 23px;
  }

  .aqua-window-title {
    max-width: 58vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar {
    min-height: auto;
    grid-auto-rows: auto;
    row-gap: 8px;
    padding: 8px;
  }

  .topnav {
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
  }

  .topnav a {
    min-width: max-content;
  }

  .app-shell {
    padding: 12px;
  }

  .hero-line {
    font-size: clamp(30px, 9vw, 36px);
    line-height: 1.08;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }

  .button {
    width: auto;
  }

  .venue-grid,
  .strategy-grid,
  .automation-grid {
    grid-template-columns: 1fr;
  }

  .venue-card-head {
    flex-wrap: wrap;
  }

  .venue-stats {
    grid-template-columns: 1fr;
  }

  .api-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .venue-actions,
  .table-actions {
    align-items: stretch;
  }

  .toolbar-group,
  .inline-actions {
    align-items: stretch;
  }

  .hero-actions .button,
  .inline-actions > .button,
  .automation-card .inline-actions .button,
  .prompt-toggle,
  .codeblock .prompt-copy {
    width: 100%;
  }

  .codeblock .prompt-copy {
    justify-self: stretch;
  }
}

/* ===== Pass A: matrix terminal desk skin ===== */
:root,
:root[data-theme="light"],
:root[data-theme="dark"] {
  --ui-mono: "Spline Sans Mono", "IBM Plex Mono", Consolas, monospace;
  --data-mono: "IBM Plex Mono", Consolas, monospace;
  --display: "IBM Plex Mono", Consolas, monospace;
  --body: "Spline Sans Mono", "IBM Plex Mono", Consolas, monospace;
  --bg0: #020604;
  --bg1: #04100a;
  --ink: #c8ffd8;
  --dim: #6fbf86;
  --accent: #5dff8f;
  --accent2: #7dffc0;
  --gold: #caff74;
  --up: #5dff8f;
  --down: #ff6b7a;
  --line: rgba(93, 255, 143, .24);
  --line-soft: rgba(93, 255, 143, .18);
  --card: rgba(4, 16, 10, .88);
  --bar: rgba(6, 26, 13, .88);
  --surface: rgba(4, 16, 10, .94);
  --surface2: rgba(2, 9, 5, .96);
  --radius: 6px;
  --control-radius: 4px;
  --tile-radius: 5px;
  --mono: var(--data-mono);
  --sans: var(--body);
  --shadow: 0 0 0 1px rgba(93, 255, 143, .08), 0 20px 46px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(125, 255, 192, .07);
  --shadow-soft: 0 0 0 1px rgba(93, 255, 143, .06), 0 12px 28px rgba(0, 0, 0, .34);
  --focus: 0 0 0 2px rgba(93, 255, 143, .45), 0 0 22px rgba(93, 255, 143, .18);
  --accent-readable: #7dffc0;
  --accent2-readable: #5dff8f;
  --gold-readable: #caff74;
  --up-readable: #5dff8f;
  --down-readable: #ff8b96;
  color-scheme: dark;
}

html,
body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

body {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  color: var(--ink);
  font-family: var(--body);
  background:
    radial-gradient(circle at 50% -20%, rgba(93, 255, 143, .12), transparent 30%),
    linear-gradient(180deg, rgba(0, 4, 2, .72), rgba(0, 10, 5, .58) 44%, rgba(0, 0, 0, .82)),
    #020604 url("../assets/wallpaper.jpg") center center / cover no-repeat fixed;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  display: block;
  pointer-events: none;
}

body::before {
  z-index: 0;
  opacity: .5;
  background:
    linear-gradient(rgba(93, 255, 143, .035) 50%, rgba(0, 0, 0, .18) 50%),
    linear-gradient(90deg, rgba(255, 0, 0, .018), rgba(0, 255, 0, .012), rgba(0, 0, 255, .018));
  background-size: 100% 4px, 6px 100%;
  mix-blend-mode: screen;
}

body::after {
  z-index: 0;
  background:
    radial-gradient(circle at center, transparent 0 58%, rgba(0, 0, 0, .58) 100%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, .44));
}

::selection {
  background: rgba(93, 255, 143, .32);
  color: #f0fff5;
}

* {
  scrollbar-color: rgba(93, 255, 143, .62) rgba(2, 9, 5, .78);
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background: rgba(2, 9, 5, .86);
  border-left: 1px solid rgba(93, 255, 143, .14);
}

*::-webkit-scrollbar-thumb {
  border: 2px solid rgba(2, 9, 5, .86);
  border-radius: 3px;
  background: rgba(93, 255, 143, .62);
}

strong,
b {
  color: #d7ffe2;
}

.desk-window {
  position: relative;
  z-index: 1;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(2, 8, 4, .72);
  border: 1px solid rgba(93, 255, 143, .42);
  border-radius: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .8), 0 28px 80px rgba(0, 0, 0, .72), 0 0 42px rgba(93, 255, 143, .08);
}

.aqua-titlebar {
  min-height: 28px;
  flex-basis: 28px;
  color: #9affb7;
  border-bottom: 1px solid rgba(93, 255, 143, .34);
  background:
    linear-gradient(180deg, rgba(8, 33, 17, .98), rgba(2, 10, 5, .98)),
    repeating-linear-gradient(90deg, rgba(93, 255, 143, .12) 0 1px, transparent 1px 12px);
  font-family: var(--ui-mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(93, 255, 143, .42);
}

.aqua-window-title {
  color: #9affb7;
  background: rgba(2, 10, 5, .9);
  border: 1px solid rgba(93, 255, 143, .22);
  line-height: 18px;
}

.desk-body {
  position: relative;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(2, 9, 5, .94), rgba(1, 5, 3, .9)),
    repeating-linear-gradient(0deg, rgba(93, 255, 143, .04) 0 1px, transparent 1px 24px);
}

.matrix-rain {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: .34;
  pointer-events: none;
  mix-blend-mode: screen;
}

.topbar,
.app-shell {
  position: relative;
  z-index: 1;
}

.topbar {
  grid-template-columns: minmax(160px, max-content) minmax(0, max-content);
  justify-content: space-between;
  border-bottom: 1px solid rgba(93, 255, 143, .28);
  background:
    linear-gradient(180deg, rgba(4, 16, 10, .96), rgba(2, 9, 5, .9)),
    repeating-linear-gradient(90deg, rgba(93, 255, 143, .05) 0 1px, transparent 1px 18px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .34);
}

.brand-mark,
.creator-avatar {
  border-color: rgba(93, 255, 143, .32);
  background: #020604;
  box-shadow: inset 0 0 0 1px rgba(93, 255, 143, .12), 0 0 18px rgba(93, 255, 143, .1);
}

.brand-copy strong,
.brand-copy small {
  color: var(--ink);
  font-family: var(--ui-mono);
  text-transform: uppercase;
}

.topnav {
  justify-self: end;
  border: 1px solid rgba(93, 255, 143, .28);
  border-radius: 5px;
  background: rgba(2, 9, 5, .8);
  box-shadow: inset 0 0 18px rgba(93, 255, 143, .04);
}

.topnav a {
  min-width: 96px;
  color: #8aeaa5;
  border-radius: 3px;
  font-family: var(--ui-mono);
  text-transform: uppercase;
}

.topnav a:hover,
.topnav a[aria-current="page"] {
  border-color: rgba(93, 255, 143, .68);
  color: #eaffef;
  background: rgba(8, 48, 22, .78);
  box-shadow: inset 0 0 18px rgba(93, 255, 143, .12), 0 0 18px rgba(93, 255, 143, .13);
}

.app-shell {
  background: transparent;
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
  overscroll-behavior: contain;
}

.hero-panel,
.panel,
.card,
.metric,
.toolbar,
.note,
.drawer-panel,
.palette-panel,
.table-wrap,
.market-list,
.event-item,
.calendar-day,
.calendar-event,
.popover,
.tier-row,
.tier-card,
.unranked-tray,
.stat-box,
.api-panel {
  border: 1px solid rgba(93, 255, 143, .24);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(4, 16, 10, .9), rgba(2, 9, 5, .94)),
    repeating-linear-gradient(0deg, rgba(93, 255, 143, .025) 0 1px, transparent 1px 18px);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  background:
    linear-gradient(115deg, rgba(93, 255, 143, .08), transparent 42%),
    repeating-linear-gradient(90deg, rgba(93, 255, 143, .04) 0 1px, transparent 1px 18px);
}

.hero-panel::after,
.metric::after,
.venue-card::after {
  background: linear-gradient(90deg, transparent, rgba(93, 255, 143, .78), transparent);
}

.hero-line,
.page-title,
.panel h2,
.creator-card h2 {
  color: #d7ffe2;
  font-family: var(--display);
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(93, 255, 143, .16);
}

.hero-line {
  font-size: 42px;
}

.hero-line strong {
  color: #5dff8f;
  background: none;
  text-shadow: 0 0 18px rgba(93, 255, 143, .34);
}

.page-kicker,
.eyebrow,
.metric h3,
.stat-box span,
th,
label,
.api-row span,
.api-table-meta b {
  color: #5dff8f;
  font-family: var(--ui-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.page-subtitle,
.muted,
.creator-card p,
.card p,
.note p,
.venue-description,
.api-note,
.stacked-cell small,
.api-table-meta span {
  color: #88c99a;
}

.icon-button,
.button,
.chip,
.segmented,
.field,
.select,
.textarea {
  border: 1px solid rgba(93, 255, 143, .34);
  border-radius: 4px;
  background: rgba(2, 20, 8, .82);
  color: #b8ffd0;
  box-shadow: inset 0 0 0 1px rgba(93, 255, 143, .06), 0 0 14px rgba(93, 255, 143, .06);
}

.icon-button,
.button {
  text-transform: uppercase;
}

.button.primary,
.button.secondary,
.button.danger {
  color: #c8ffd8;
  border-color: rgba(93, 255, 143, .58);
  background: linear-gradient(180deg, rgba(10, 54, 24, .94), rgba(3, 24, 10, .96));
  text-shadow: 0 0 12px rgba(93, 255, 143, .22);
}

.button.danger {
  color: #ff9aa4;
  border-color: rgba(255, 107, 122, .5);
}

.icon-button:hover,
.button:hover,
.chip:hover,
.chip[aria-pressed="true"],
.chip.active,
.segmented button[aria-pressed="true"] {
  color: #f0fff5;
  border-color: rgba(125, 255, 192, .8);
  background: rgba(11, 65, 28, .94);
  box-shadow: 0 0 22px rgba(93, 255, 143, .18), inset 0 0 18px rgba(93, 255, 143, .08);
}

.segmented button {
  color: #88c99a;
  border-radius: 3px;
}

.field,
.select,
.textarea {
  background: rgba(1, 8, 4, .88);
  color: var(--ink);
}

.field:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(125, 255, 192, .82);
}

.badge,
.status-pill,
.tag,
.new-badge {
  border: 1px solid rgba(93, 255, 143, .28);
  border-radius: 999px;
  background: rgba(4, 24, 11, .82);
  color: #8fffb0;
  font-family: var(--ui-mono);
}

.status-pill.pre,
.status-pill.post,
.tag.tge,
.tag.points,
.tag.snapshot,
.tag.update,
.tag.campaign,
.tag.fees-rebate,
.tag.listing,
.tag.competition,
.status-pill.live,
.status-pill.tracking-live {
  border-color: rgba(93, 255, 143, .42);
  background: rgba(7, 39, 17, .72);
  color: #9affb7;
}

.desk-feed-item {
  grid-template-columns: max-content minmax(0, 1fr) max-content;
}

.desk-feed-item .feed-logo {
  width: 38px;
  height: 38px;
}

.feed-meta {
  gap: 8px;
  margin-bottom: 5px;
}

.feed-source {
  white-space: nowrap;
}

.feed-note {
  margin: 12px 0 0;
  font-size: 12px;
}

.status-pill.tracking-pending {
  border-color: rgba(202, 255, 116, .46);
  background: rgba(36, 40, 8, .74);
  color: #e1ff93;
}

.status-pill.tracking-soon {
  border-color: rgba(136, 201, 154, .34);
  background: rgba(6, 19, 10, .74);
  color: #88c99a;
}

.venue-logo {
  border-color: rgba(93, 255, 143, .28);
  background: rgba(2, 9, 5, .94);
  color: #04100a;
  box-shadow: inset 0 0 0 1px rgba(93, 255, 143, .12), 0 0 16px rgba(93, 255, 143, .08);
}

.venue-logo img {
  position: relative;
  z-index: 1;
  background: rgba(2, 9, 5, .92);
}

.venue-logo:not(.has-image):not(.is-fallback) img {
  opacity: 0;
}

.venue-logo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--venue-a), rgba(93, 255, 143, .9));
  color: #021006;
  font-family: var(--data-mono);
  font-weight: 800;
}

.venue-logo.has-image:not(.is-fallback) .venue-logo-fallback {
  opacity: .16;
}

.venue-logo.is-fallback .venue-logo-fallback {
  opacity: 1;
  color: #021006;
  text-shadow: none;
}

th {
  background: rgba(4, 24, 11, .94);
  color: #5dff8f;
}

td {
  color: var(--ink);
  border-bottom-color: rgba(93, 255, 143, .12);
}

tr:hover td {
  background: rgba(93, 255, 143, .055);
}

.codeblock {
  border: 1px solid rgba(93, 255, 143, .36);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(0, 8, 3, .98), rgba(0, 4, 2, .98)),
    repeating-linear-gradient(0deg, rgba(93, 255, 143, .035) 0 1px, transparent 1px 18px);
  color: #b8ffd0;
  box-shadow: inset 0 0 24px rgba(93, 255, 143, .055), 0 0 20px rgba(0, 0, 0, .28);
}

.code-scroll {
  max-height: 320px;
  padding: 14px;
}

.codeblock code {
  color: #b8ffd0;
  font-family: var(--data-mono);
  font-size: 12px;
  line-height: 1.62;
  text-shadow: 0 0 12px rgba(93, 255, 143, .18);
}

.codeblock .prompt-copy {
  justify-self: end;
  margin: 0 12px 12px;
}

.drawer-backdrop,
.palette-backdrop {
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(8px);
}

.drawer-panel,
.palette-panel {
  background: rgba(2, 9, 5, .98);
}

.drawer-head {
  border-bottom: 1px solid rgba(93, 255, 143, .28);
  background: rgba(4, 16, 10, .98);
}

.drawer-body {
  background: rgba(2, 9, 5, .96);
}

.palette-command,
.kbd,
.empty {
  border-color: rgba(93, 255, 143, .22);
  background: rgba(3, 18, 8, .9);
  color: #a8faba;
}

.palette-command:hover,
.palette-command[aria-selected="true"] {
  border-color: rgba(125, 255, 192, .74);
  background: rgba(10, 54, 24, .92);
}

.toast {
  border: 1px solid rgba(93, 255, 143, .42);
  border-radius: 5px;
  background: rgba(2, 12, 5, .96);
  color: #c8ffd8;
  box-shadow: 0 0 24px rgba(93, 255, 143, .14);
}

.video-card,
.video-thumb {
  border-color: rgba(93, 255, 143, .24);
  background: rgba(2, 9, 5, .9);
  color: var(--ink);
}

.video-card:hover {
  border-color: rgba(125, 255, 192, .7);
  box-shadow: 0 0 24px rgba(93, 255, 143, .13);
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .topnav {
    grid-column: auto;
    justify-self: stretch;
    justify-content: flex-start;
    width: 100%;
  }

  .hero-line {
    font-size: 36px;
  }
}

@media (max-width: 680px) {
  .hero-line {
    font-size: 30px;
  }

  .topnav a {
    min-width: 88px;
  }
}

/* ===== UI polish pass — matrix terminal (additive) ===== */
.card { transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.card:hover {
  border-color: rgba(93, 255, 143, .5) !important;
  box-shadow: 0 0 0 1px rgba(93, 255, 143, .16), 0 16px 40px -20px rgba(0, 0, 0, .75), 0 0 28px -8px rgba(45, 211, 90, .28);
  transform: translateY(-2px);
}
.stat-box { transition: background .18s ease, border-color .18s ease; }
.stat-box:hover { border-color: rgba(93, 255, 143, .42); background: rgba(16, 40, 22, .55); }
.venue-stats .stat-box strong { letter-spacing: .2px; }
.button, button.venue-title, .chip, .topnav a {
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.button:hover, .chip:hover { box-shadow: 0 0 12px -2px rgba(45, 211, 90, .4); }
.button:focus-visible, .chip:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, a:focus-visible {
  outline: 2px solid rgba(125, 255, 192, .7); outline-offset: 2px;
}
input:focus, select:focus { border-color: rgba(93, 255, 143, .6) !important; box-shadow: 0 0 0 3px rgba(45, 211, 90, .14); }
table tbody tr { transition: background .14s ease; }
table tbody tr:hover { background: rgba(16, 40, 22, .5); }
@media (prefers-reduced-motion: reduce) {
  .card, .stat-box, .button, .chip, .topnav a, table tbody tr { transition: none; }
  .card:hover { transform: none; }
}

/* ===== premium layer 2 (grok) — numeric, glass, sheen, glow ===== */
.num, .kpi strong, .metric strong, td, .stat-box strong, .bar-value, .venue-stats strong {
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
}
.topbar, .panel-head { -webkit-backdrop-filter: blur(8px) saturate(1.1); backdrop-filter: blur(8px) saturate(1.1); }
.button.primary { position: relative; overflow: hidden; }
.button.primary::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .26), transparent);
  transform: translateX(-120%); transition: transform .6s ease;
}
.button.primary:hover::after { transform: translateX(120%); }
.metric strong, .kpi strong, .stat-box strong { text-shadow: 0 0 10px rgba(93, 255, 143, .15); }
@media (prefers-reduced-motion: reduce) { .button.primary::after { transition: none; } }

/* ============================================================= */
/* ===== mage OS — GLASS SKIN (retire matrix terminal) ========= */
/* Appended override block. Beats the matrix !important rules.    */
/* Color / surface / typography / radius / shadow / motion only. */
/* ============================================================= */
:root,
:root[data-theme="light"],
:root[data-theme="dark"] {
  --bg0: #0a0b12 !important;
  --bg1: #0c0d16 !important;
  --ink: #e9ebf2 !important;
  --dim: #aab0c2 !important;
  --accent: #6ad7ff !important;
  --accent2: #b388ff !important;
  --gold: #ffcf6a !important;
  --up: #54e39b !important;
  --down: #ff6b8a !important;
  --line: rgba(255, 255, 255, .10) !important;
  --line-soft: rgba(255, 255, 255, .08) !important;
  --card: rgba(20, 22, 32, .55) !important;
  --bar: rgba(20, 22, 32, .55) !important;
  --surface: rgba(20, 22, 32, .55) !important;
  --surface2: rgba(14, 16, 24, .6) !important;
  --radius: 16px !important;
  --control-radius: 10px !important;
  --tile-radius: 12px !important;
  --shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 24px 60px -22px rgba(0, 0, 0, .6) !important;
  --shadow-soft: inset 0 1px 0 rgba(255, 255, 255, .08), 0 14px 36px -18px rgba(0, 0, 0, .55) !important;
  --focus: 0 0 0 3px rgba(106, 215, 255, .25) !important;
  --accent-readable: #6ad7ff !important;
  --accent2-readable: #b388ff !important;
  --gold-readable: #ffcf6a !important;
  --up-readable: #54e39b !important;
  --down-readable: #ff6b8a !important;
  --mage-grad: linear-gradient(116deg, #6ad7ff, #b388ff 46%, #5cffb0);
  color-scheme: dark;
}

/* ---- Background: aurora blobs + grain over near-black ------- */
body {
  color: var(--ink) !important;
  background:
    radial-gradient(60% 50% at 12% 8%, rgba(106, 215, 255, .14), transparent 60%),
    radial-gradient(55% 45% at 88% 18%, rgba(179, 136, 255, .14), transparent 60%),
    radial-gradient(60% 55% at 50% 108%, rgba(92, 255, 176, .10), transparent 60%),
    linear-gradient(180deg, #0c0d16, #0a0b12 60%) !important;
}
body::before {
  display: block !important;
  z-index: 0 !important;
  opacity: .5 !important;
  mix-blend-mode: normal !important;
  background:
    radial-gradient(40% 40% at 20% 30%, rgba(106, 215, 255, .10), transparent 70%),
    radial-gradient(40% 40% at 80% 70%, rgba(179, 136, 255, .10), transparent 70%) !important;
}
body::after {
  display: block !important;
  z-index: 0 !important;
  opacity: .035 !important;
  mix-blend-mode: overlay !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>") !important;
  background-size: 200px 200px !important;
}
/* Embedded: keep transparent, no opaque bg */
html.embedded body,
html.embedded {
  background: transparent !important;
}

::selection {
  background: rgba(106, 215, 255, .30) !important;
  color: #ffffff !important;
}
* {
  scrollbar-color: rgba(255, 255, 255, .22) transparent !important;
}
*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .03) !important;
  border-left: 1px solid rgba(255, 255, 255, .08) !important;
}
*::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .18) !important;
  border: 2px solid transparent !important;
  border-radius: 8px !important;
}

strong, b { color: #ffffff !important; }

/* ---- Window shell / titlebar / body ------------------------ */
.desk-window {
  background: rgba(12, 13, 22, .72) !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 28px 80px -28px rgba(0, 0, 0, .7) !important;
}
.aqua-titlebar {
  color: #e9ebf2 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .10) !important;
  background: linear-gradient(180deg, rgba(20, 22, 32, .8), rgba(12, 13, 22, .7)) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  text-shadow: none !important;
}
.aqua-window-title {
  color: #e9ebf2 !important;
  background: rgba(255, 255, 255, .06) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
}
.desk-body {
  background:
    radial-gradient(60% 50% at 12% 0%, rgba(106, 215, 255, .07), transparent 60%),
    radial-gradient(55% 45% at 90% 5%, rgba(179, 136, 255, .07), transparent 60%),
    linear-gradient(180deg, rgba(12, 13, 22, .92), rgba(10, 11, 18, .92)) !important;
}

/* ---- Kill the matrix rain ---------------------------------- */
.matrix-rain,
#matrixRain {
  opacity: .06 !important;
  mix-blend-mode: normal !important;
  filter: hue-rotate(120deg) saturate(.5) !important;
}

/* ---- Topbar / nav ------------------------------------------ */
.topbar {
  border-bottom: 1px solid rgba(255, 255, 255, .10) !important;
  background: rgba(20, 22, 32, .55) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.4) !important;
  backdrop-filter: blur(22px) saturate(1.4) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 16px 40px -24px rgba(0, 0, 0, .6) !important;
}
.brand-mark,
.creator-avatar {
  border-color: rgba(255, 255, 255, .14) !important;
  background: rgba(255, 255, 255, .04) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 0 18px rgba(106, 215, 255, .12) !important;
}
.brand-copy strong { color: #ffffff !important; }
.brand-copy small { color: #aab0c2 !important; }
.topnav {
  border: 1px solid rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .05) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06) !important;
}
.topnav a {
  color: #aab0c2 !important;
  background: transparent !important;
}
.topnav a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, .08) !important;
  border-color: rgba(255, 255, 255, .18) !important;
  box-shadow: none !important;
}
.topnav a[aria-current="page"] {
  color: #06121e !important;
  background-image: var(--mage-grad) !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px -6px rgba(106, 215, 255, .5) !important;
  text-shadow: none !important;
}

/* ---- Glass surfaces: panels, cards, metrics, stat boxes ----- */
.hero-panel,
.panel,
.card,
.creator-card,
.metric,
.kpi,
.rankings-panel,
.arbital-panel,
.toolbar,
.note,
.warning-note,
.strategy-disclaimer,
.honest-warning,
.section-framing,
.drawer-panel,
.palette-panel,
.table-wrap,
.market-list,
.event-item,
.desk-feed-item,
.calendar-day,
.calendar-event,
.popover,
.tier-row,
.tier-card,
.unranked-tray,
.stat-box,
.api-panel,
.video-card,
.video-thumb {
  border: 1px solid rgba(255, 255, 255, .10) !important;
  border-radius: 16px !important;
  background: rgba(20, 22, 32, .55) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.4) !important;
  backdrop-filter: blur(22px) saturate(1.4) !important;
  color: #e9ebf2 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .10),
    0 24px 60px -22px rgba(0, 0, 0, .6) !important;
}
/* accent rim strips at top of hero/metric/venue cards */
.hero-panel::after,
.metric::after,
.venue-card::after {
  background: var(--mage-grad) !important;
  opacity: .85 !important;
}
.hero-panel::before {
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(106, 215, 255, .10), transparent 60%),
    radial-gradient(60% 80% at 100% 0%, rgba(179, 136, 255, .10), transparent 60%) !important;
}

/* ---- Headings / kickers / labels --------------------------- */
.hero-line,
.page-title,
.panel h2,
.creator-card h2 {
  color: #ffffff !important;
  letter-spacing: -.01em !important;
  text-shadow: none !important;
}
.hero-line strong {
  color: transparent !important;
  background: var(--mage-grad) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
}
.page-kicker,
.eyebrow,
.metric h3,
.stat-box span,
th,
label,
.api-row span,
.api-table-meta b {
  color: #aab0c2 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
}
.page-subtitle,
.muted,
.creator-card p,
.card p,
.note p,
.venue-description,
.api-note,
.stacked-cell small,
.api-table-meta span,
.honest-warning p,
.section-framing,
.empty,
.status,
.status-text {
  color: #aab0c2 !important;
}

/* ---- Inputs / secondary buttons / chips / segmented -------- */
.icon-button,
.button,
.chip,
.segmented,
.field,
.select,
.textarea,
input,
select,
textarea,
.kbd,
.palette-command {
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, .06) !important;
  color: #e9ebf2 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.segmented button {
  color: #aab0c2 !important;
  background: transparent !important;
  border-radius: 8px !important;
}
.icon-button:hover,
.button:hover,
.chip:hover {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, .22) !important;
  background: rgba(255, 255, 255, .10) !important;
  box-shadow: 0 0 0 1px rgba(106, 215, 255, .18) !important;
  transform: translateY(-1px);
}

/* active / pressed chips, tabs -> accent gradient */
.chip[aria-pressed="true"],
.chip.active,
.segmented button[aria-pressed="true"] {
  color: #06121e !important;
  background-image: var(--mage-grad) !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px -6px rgba(106, 215, 255, .5) !important;
  text-shadow: none !important;
}

/* primary / secondary / danger buttons */
.button.primary {
  color: #06121e !important;
  border: 0 !important;
  background-image: var(--mage-grad) !important;
  box-shadow: 0 8px 22px -8px rgba(106, 215, 255, .5) !important;
  text-shadow: none !important;
}
.button.primary:hover { transform: translateY(-1px); }
.button.primary::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent) !important;
}
.button.secondary {
  color: #e9ebf2 !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  background: rgba(255, 255, 255, .06) !important;
  text-shadow: none !important;
}
.button.danger {
  color: #ff6b8a !important;
  border-color: rgba(255, 107, 138, .45) !important;
  background: rgba(255, 107, 138, .08) !important;
  text-shadow: none !important;
}

/* focus rings */
.field:focus,
.select:focus,
.textarea:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(106, 215, 255, .6) !important;
  box-shadow: 0 0 0 3px rgba(106, 215, 255, .25) !important;
  outline: none !important;
}
.button:focus-visible,
.chip:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(106, 215, 255, .65) !important;
  outline-offset: 2px !important;
}

/* ---- Badges / status pills / tags / new-badge -------------- */
.badge,
.status-pill,
.tag,
.new-badge {
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .06) !important;
  color: #e9ebf2 !important;
  text-shadow: none !important;
}
.status-pill.live,
.status-pill.tracking-live,
.status-pill.pre,
.status-pill.post,
.tag.tge,
.tag.points,
.tag.snapshot,
.tag.update,
.tag.campaign,
.tag.fees-rebate,
.tag.listing,
.tag.competition,
.new-badge {
  border-color: rgba(106, 215, 255, .35) !important;
  background: rgba(106, 215, 255, .12) !important;
  color: #6ad7ff !important;
}
.status-pill.tracking-pending {
  border-color: rgba(255, 207, 106, .4) !important;
  background: rgba(255, 207, 106, .12) !important;
  color: #ffcf6a !important;
}
.status-pill.tracking-soon {
  border-color: rgba(255, 255, 255, .14) !important;
  background: rgba(255, 255, 255, .05) !important;
  color: #aab0c2 !important;
}

/* ---- Venue logos / fallback -------------------------------- */
.venue-logo {
  border-color: rgba(255, 255, 255, .14) !important;
  background: rgba(255, 255, 255, .04) !important;
  color: #e9ebf2 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 0 16px rgba(106, 215, 255, .1) !important;
}
.venue-logo img { background: transparent !important; }
.venue-logo-fallback {
  background: var(--mage-grad) !important;
  color: #06121e !important;
}
.venue-logo.is-fallback .venue-logo-fallback { color: #06121e !important; }
.venue-card::after { background: var(--mage-grad) !important; }

/* ---- Tables ------------------------------------------------ */
th {
  background: rgba(255, 255, 255, .04) !important;
  color: #aab0c2 !important;
}
td {
  color: #e9ebf2 !important;
  border-bottom-color: rgba(255, 255, 255, .08) !important;
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: "tnum" 1 !important;
}
tr:hover td,
table tbody tr:hover {
  background: rgba(106, 215, 255, .07) !important;
}

/* ---- Bar fills / progress -> accent gradient + glow -------- */
.bar-fill,
.bar > span,
.progress > span,
.meter-fill {
  background: var(--mage-grad) !important;
  box-shadow: 0 0 14px -2px rgba(106, 215, 255, .45) !important;
}

/* ---- Notes / framing / warnings ---------------------------- */
.note,
.warning-note,
.strategy-disclaimer {
  background: rgba(20, 22, 32, .55) !important;
}
.warning-note {
  border-color: rgba(255, 207, 106, .4) !important;
}
.warning-note strong,
.honest-warning span {
  color: #ffcf6a !important;
}
.section-framing {
  border: 1px solid rgba(255, 255, 255, .10) !important;
  border-left: 4px solid #6ad7ff !important;
  color: #aab0c2 !important;
}
.honest-warning {
  border-color: rgba(255, 255, 255, .10) !important;
}

/* ---- Code blocks / toasts ---------------------------------- */
.codeblock {
  border: 1px solid rgba(255, 255, 255, .10) !important;
  background: rgba(10, 11, 18, .7) !important;
  color: #e9ebf2 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 40px -22px rgba(0, 0, 0, .6) !important;
}
.codeblock code {
  color: #c9d1e6 !important;
  text-shadow: none !important;
}
.toast {
  border: 1px solid rgba(255, 255, 255, .12) !important;
  background: rgba(20, 22, 32, .8) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  color: #e9ebf2 !important;
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .6) !important;
}

/* ---- Drawers / command palette ----------------------------- */
.drawer-backdrop,
.palette-backdrop {
  background: rgba(6, 7, 12, .55) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.drawer-panel,
.palette-panel {
  background: rgba(16, 18, 28, .85) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.4) !important;
  backdrop-filter: blur(24px) saturate(1.4) !important;
}
.drawer-head {
  border-bottom: 1px solid rgba(255, 255, 255, .10) !important;
  background: rgba(20, 22, 32, .5) !important;
}
.drawer-body {
  background: transparent !important;
}
.palette-command,
.kbd,
.empty {
  border-color: rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .05) !important;
  color: #aab0c2 !important;
}
.palette-command:hover,
.palette-command[aria-selected="true"] {
  border-color: rgba(106, 215, 255, .5) !important;
  background: rgba(106, 215, 255, .1) !important;
  color: #ffffff !important;
}

/* ---- Video cards ------------------------------------------- */
.video-card:hover {
  border-color: rgba(106, 215, 255, .4) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .10),
    0 24px 60px -22px rgba(0, 0, 0, .6),
    0 0 0 1px rgba(106, 215, 255, .22) !important;
}

/* ---- Loading screen / spinner ------------------------------ */
.loading-screen {
  border: 1px solid rgba(255, 255, 255, .10) !important;
  background: rgba(12, 13, 22, .92) !important;
  color: #e9ebf2 !important;
}
.spinner {
  border-color: rgba(255, 255, 255, .14) !important;
  border-top-color: #6ad7ff !important;
}

/* ---- Card / surface hover motion --------------------------- */
.card,
.metric,
.kpi,
.creator-card,
.venue-card,
.event-item,
.desk-feed-item,
.stat-box {
  transition:
    border-color .18s cubic-bezier(.22, 1, .36, 1),
    box-shadow .18s cubic-bezier(.22, 1, .36, 1),
    transform .18s cubic-bezier(.22, 1, .36, 1),
    background .18s cubic-bezier(.22, 1, .36, 1) !important;
}
.card:hover,
.metric:hover,
.venue-card:hover,
.creator-card:hover {
  border-color: rgba(255, 255, 255, .16) !important;
  transform: translateY(-3px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 30px 70px -24px rgba(0, 0, 0, .7),
    0 0 0 1px rgba(106, 215, 255, .22) !important;
}
.stat-box:hover {
  border-color: rgba(255, 255, 255, .16) !important;
  background: rgba(255, 255, 255, .06) !important;
}
.button:hover,
.chip:hover {
  box-shadow: 0 0 0 1px rgba(106, 215, 255, .2) !important;
}

/* ---- Numeric / glow cleanup (drop green text-shadows) ------ */
.num, .kpi strong, .metric strong, td, .stat-box strong, .bar-value, .venue-stats strong {
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: "tnum" 1 !important;
}
.metric strong,
.kpi strong,
.stat-box strong {
  color: #ffffff !important;
  text-shadow: none !important;
}
.hero-line,
.page-title,
.panel h2,
.creator-card h2,
.aqua-titlebar,
.codeblock code,
.eyebrow,
.page-kicker {
  text-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .card, .metric, .kpi, .creator-card, .venue-card,
  .event-item, .desk-feed-item, .stat-box,
  .button, .chip, .topnav a, table tbody tr {
    transition: none !important;
  }
  .card:hover, .metric:hover, .venue-card:hover, .creator-card:hover,
  .button:hover, .button.primary:hover, .chip:hover,
  .icon-button:hover { transform: none !important; }
  .button.primary::after { transition: none !important; }
}

/* GLASS COHESION v2 — kill matrix rain */
.matrix-rain, #matrixRain { display: none !important; }

/* LIQUID GLASS v3 — specular + frost */
.panel, .card, .kpi, .rankings-panel, .creator-card, .arbital-panel, .metric, .stat-box, .drawer-panel, .note, .event-item, .desk-feed-item {
  -webkit-backdrop-filter: blur(20px) saturate(170%) !important;
  backdrop-filter: blur(20px) saturate(170%) !important;
}
.panel, .card, .kpi, .rankings-panel, .creator-card, .arbital-panel {
  box-shadow: inset 0 1px 0.5px rgba(255,255,255,.2), 0 16px 40px -22px rgba(0,0,0,.55) !important;
}
.topbar {
  -webkit-backdrop-filter: blur(20px) saturate(175%) !important;
  backdrop-filter: blur(20px) saturate(175%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 26px rgba(0,0,0,.42) !important;
}

/* TYPOGRAPHY v4 — Inter prose */
:root { --font-inter: "Inter", -apple-system, system-ui, "Noto Sans KR", sans-serif; }
.page-subtitle, .hero-sub, .blurb, .creator-card p, .note p, .ad-desc, .muted, .card p, .venue-card p, .feed-note, .section-framing { font-family: var(--font-inter) !important; letter-spacing: -.006em; }
.hero-line, h1, h2, h3 { letter-spacing: -.02em; }
.num, td, .bar-value, .kpi strong, .metric strong, .stat-box strong { font-variant-numeric: tabular-nums; }

/* ============================================================
   BUBBBLY GLASS (ref bubbbly.com) — light-white over hub butterfly
   wallpaper. Overrides earlier dark/green skin. Last block wins.
   ============================================================ */
body { background: linear-gradient(rgba(6,8,14,.30), rgba(6,8,14,.46)), url("../assets/wallpaper-glass.jpg?v=3") center center / cover no-repeat fixed; }
.topbar, .hero-panel, .panel, .card, .venue-card, .drawer-panel, .kpi, .loading-screen {
  background: rgba(255,255,255,.09) !important;
  border: 1px solid rgba(255,255,255,.30) !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.36) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.3) !important; backdrop-filter: blur(20px) saturate(1.3) !important;
  color: #fff !important; border-radius: 18px !important;
}
.card:hover, .venue-card:hover { background: rgba(255,255,255,.15) !important; border-color: rgba(255,255,255,.5) !important; }
.metric, .chip, .panel-box, .segmented { background: rgba(255,255,255,.07) !important; border: 1px solid rgba(255,255,255,.40) !important; color:#fff !important; }
.button, .card-button, .icon-button { background: rgba(255,255,255,.08) !important; border:1px solid rgba(255,255,255,.42) !important; color:#fff !important; }
.button:hover, .card-button:hover, .icon-button:hover { background: rgba(255,255,255,.18) !important; }
.topbar a, .topnav a, .hero, .hero-sub, h1,h2,h3, .venue-card, .card, .metric, .kpi { color:#fff !important; text-shadow: 0 1px 2px rgba(0,0,0,.30); }
.eyebrow, small, .muted { color: rgba(255,255,255,.72) !important; }
table tbody tr:hover { background: rgba(255,255,255,.12) !important; }

/* brighter wallpaper + white-glass primary button (directive) */
body { background: linear-gradient(rgba(6,8,14,.10), rgba(6,8,14,.18)), url("../assets/wallpaper-glass.jpg?v=3") center center / cover no-repeat fixed !important; }
.button.primary { background: #ffffff !important; background-image: none !important; color: #14233b !important; box-shadow: 0 6px 18px -8px rgba(0,0,0,.4) !important; }
.button.primary::after { display: none !important; }
.chip.active { background: #ffffff !important; background-image: none !important; color: #14233b !important; }

/* PERF: lighter blur, no bg animations behind glass */
.topbar, .hero-panel, .panel, .card, .venue-card, .drawer-panel, .kpi, .loading-screen {
  -webkit-backdrop-filter: blur(9px) saturate(1.2) !important; backdrop-filter: blur(9px) saturate(1.2) !important;
}
.matrix-rain { display: none !important; }
[class*="aurora"], .glow-orb { animation: none !important; }
body { background-attachment: scroll !important; }

/* PERF: stop decorative animations */
[class*="aurora"], [class*="mg-"], [class*="mfx-"], .glow-orb, .shimmer, .spinner { animation: none !important; }

/* image #29 — desk fully transparent glass (vars were opaque dark) + monochrome */
:root {
  --card: rgba(255,255,255,.08) !important;
  --bar: rgba(255,255,255,.06) !important;
  --surface: rgba(255,255,255,.08) !important;
  --bg0: transparent !important;
  --bg1: transparent !important;
}
.card, .venue-card, .kpi, .panel, .hero-panel, .feed-item, .mover-card, .event,
.feed-card, .feed article, .movers article, .panel article, [class*="feed"], [class*="mover"] {
  background: rgba(255,255,255,.08) !important;
}
.topnav a[aria-current="page"] { background: #ffffff !important; background-image: none !important; color: #14233b !important; }
.topnav a[aria-current="page"]::after { display: none !important; }
.chip.active, .segmented .active, .toggle.active { background: #ffffff !important; background-image: none !important; color: #14233b !important; }
.tag, .badge, [class*="tag"], [class*="badge"] { background: rgba(255,255,255,.12) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.3) !important; }

/* terminal-typing boot animation — text appended via setTimeout (no canvas,
   no rAF, no interval); the chain stops the instant the loading-screen detaches */
.loading-screen {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 24px;
}
.load-term {
  width: 100%;
  max-width: 520px;
  padding: 22px;
  background: rgba(20, 24, 38, .5);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}
.load-term-head {
  margin: 0 0 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .55);
}
.load-pre {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  line-height: 1.7;
  color: #ffffff;
  white-space: pre-wrap;
  word-break: break-word;
}
.load-pre::after {
  content: "▌";
  color: #ffffff;
  animation: blink 0.9s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* image #32 — ALL desk buttons = transparent glass + white font (system-wide) */
.button, .button.primary, .card-button, .chip, .icon-button {
  background: rgba(255,255,255,.12) !important; background-image: none !important;
  color: #ffffff !important; border: 1px solid rgba(255,255,255,.4) !important;
  box-shadow: none !important; text-shadow: 0 1px 2px rgba(0,0,0,.4) !important;
}
.button:hover, .button.primary:hover, .card-button:hover, .chip:hover, .icon-button:hover { background: rgba(255,255,255,.22) !important; }
.button.primary::after { display: none !important; }
.topnav a[aria-current="page"] { background: rgba(255,255,255,.18) !important; background-image: none !important; color: #fff !important; }
.topnav a[aria-current="page"]::after { display: none !important; }
.chip.active, .segmented .active, .toggle.active { background: rgba(255,255,255,.24) !important; background-image: none !important; color: #ffffff !important; border-color: rgba(255,255,255,.6) !important; }

/* ============================================================
   image #34 — desk still dark: body::before/::after dark overlay layers
   and container bgs were hiding the wallpaper. Strip them so the butterfly
   glass shows through the translucent cards.
   ============================================================ */
body::before, body::after { display: none !important; background: none !important; }
.desk-window, .desk-body, .app-shell, .page { background: transparent !important; }
.desk-window::before, .desk-window::after,
.desk-body::before, .desk-body::after,
.app-shell::before, .app-shell::after { display: none !important; background: none !important; }
.topbar { background: rgba(255,255,255,.07) !important; }

/* image #34 (definitive) — embedded desk body MUST show the wallpaper.
   Higher-specificity rule (html.embedded body) + scroll attachment
   (fixed attachment fails to paint inside the hub iframe). */
html.embedded body, body {
  background-color: #0b0e16 !important;
  background-image: linear-gradient(rgba(6,8,14,.12), rgba(6,8,14,.22)), url("../assets/wallpaper-glass.jpg?v=3") !important;
  background-position: center center !important;
  background-size: cover, cover !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
}

/* readability over the bright butterfly wallpaper (keeps cards transparent) */
.desk-body { text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.card, .venue-card, .kpi, .panel, .hero-panel { background: rgba(16,20,32,.34) !important; }

/* image #35 — the desk inline <style> forces "matrix green" on note/strategy
   panels. Beat it with higher specificity (.desk-body prefix) -> glass + white. */
.desk-body .honest-warning, .desk-body .note, .desk-body .warning-note,
.desk-body .strategy-disclaimer, .desk-body .section-framing, .desk-body .event-date {
  background: rgba(16,20,32,.34) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
}
.desk-body .honest-warning p, .desk-body .note p, .desk-body .warning-note p,
.desk-body .strategy-disclaimer p, .desk-body .honest-warning span,
.desk-body .warning-note strong, .desk-body .section-framing, .desk-body .event-date {
  color: #ffffff !important;
}

/* ============================================================
   image #36/#37 — DIRECTIVE: unify everything to white glass / white
   border / white font. The remaining color came from the accent vars
   (--accent cyan, --accent2 purple, --mage-grad gradient) used across
   borders/dividers/toggles. Redefine them to white. + the Volume/OI
   toggle uses [aria-pressed], not .active.
   ============================================================ */
:root {
  --accent: rgba(255,255,255,.92) !important;
  --accent2: rgba(255,255,255,.7) !important;
  --accent-readable: #ffffff !important;
  --accent2-readable: rgba(255,255,255,.82) !important;
  --gold: #ffffff !important;
  --mage-grad: rgba(255,255,255,.22) !important;
}
/* segmented toggle (Volume / OI) active state */
[data-home-metric][aria-pressed="true"], [data-metric][aria-pressed="true"],
button[aria-pressed="true"], .segmented [aria-pressed="true"] {
  background: rgba(255,255,255,.24) !important; background-image: none !important;
  color: #ffffff !important; border: 1px solid rgba(255,255,255,.6) !important;
}
[data-home-metric][aria-pressed="false"], button[aria-pressed="false"] {
  background: rgba(255,255,255,.06) !important; color: rgba(255,255,255,.7) !important;
  border: 1px solid rgba(255,255,255,.2) !important;
}

/* logo boxes -> clean glass (no white margin) */
.venue-logo, .venue-mark { background: transparent !important; border-color: rgba(255,255,255,.14) !important; }
.venue-logo.is-fallback { background: rgba(255,255,255,.06) !important; }

/* ---- drawer: round venue card + stat boxes (were ~6px/sharp) to match glass UI ---- */
.venue-card { border-radius: 16px !important; }
.stat-box, .venue-stats .stat-box, .api-panel { border-radius: 11px !important; }
.drawer-panel { border-radius: 18px !important; }

/* ============================================================
   TITLEBAR TRAFFIC LIGHTS — standalone-only macOS controls
   (mirrors hub aqua.css POLISH v5 look; red dot = back to hub)
   ============================================================ */
html:not(.embedded) .titlebar-traffic {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}
html.embedded .titlebar-traffic { display: none !important; }
.titlebar-traffic .tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  display: inline-block;
  position: relative;
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .28), 0 0 6px rgba(0, 0, 0, .25);
  transition: filter .14s ease;
}
.titlebar-traffic .tl-close { background: #ff5f57; cursor: pointer; }
.titlebar-traffic .tl-min { background: #febc2e; }
.titlebar-traffic .tl-zoom { background: #28c840; }
.titlebar-traffic .tl-close::after {
  content: "\00d7";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 9px/1 -apple-system, sans-serif;
  color: rgba(0, 0, 0, .5);
  opacity: 0;
  transition: opacity .14s ease;
}
.titlebar-traffic:hover .tl-close::after { opacity: 1; }
.titlebar-traffic .tl-dot:hover { filter: brightness(1.12) saturate(1.1); }
.titlebar-traffic .tl-close:focus-visible {
  outline: 2px solid rgba(106, 215, 255, .6);
  outline-offset: 2px;
}

/* ============================================================
   LIVE METRICS (24h) — spread/funding block in the venue drawer.
   Data: coinmage777/mageos-data metrics.json (top-of-book, 5-min
   sampling). Additive block; inherits .panel/.table-wrap chrome.
   ============================================================ */
.live-metrics .panel-head h3 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .07em;
}
.live-metrics-table table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.live-metrics-table th,
.live-metrics-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
}
.live-metrics-table th {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dim);
}
.live-metrics-table tr:last-child td { border-bottom: 0; }
.live-metrics-table td.num { font-family: var(--mono); }
.live-metrics .fund-pos { color: var(--up-readable); }
.live-metrics .fund-neg { color: var(--down-readable); }
.live-metrics-foot {
  margin: 10px 2px 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
}
