/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Fira+Sans:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --background: #0a0f1b;
  --foreground: #dbe7ff;
  --card: #0f1628;
  --card-foreground: #e7efff;
  --popover: #121b31;
  --popover-foreground: #9db0d8;
  --primary: #1e40af;
  --primary-foreground: #e5edff;
  --secondary: #17223d;
  --secondary-foreground: #fafafa;
  --muted: #11192d;
  --muted-foreground: #8ea2cc;
  --accent: #23345c;
  --accent-foreground: #fafafa;
  --destructive: #5b1f1f;
  --border: #25365f;
  --ring: #3b82f6;
  --title-yellow: #facc15;
  --title-yellow-soft: rgba(250, 204, 21, 0.24);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--foreground);
  font-family: "Fira Sans", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
  background:
    radial-gradient(900px 420px at 5% -10%, rgba(0, 98, 57, 0.35), transparent 65%),
    radial-gradient(900px 440px at 95% -15%, rgba(59, 130, 246, 0.25), transparent 70%),
    var(--background);
}

a { color: inherit; text-decoration: none; }

.container { padding: 16px; max-width: 1500px; margin: 0 auto; }
.panel { border: 1px solid var(--border); background: rgba(23, 23, 23, 0.92); border-radius: 14px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.section-title {
  margin: 0;
  color: var(--title-yellow);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 16px;
}
.subtle-title {
  color: var(--title-yellow);
  font-weight: 700;
  margin: 0;
  font-size: 15px;
}
.input, .select {
  border: 1px solid var(--border);
  background: var(--popover);
  color: var(--foreground);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
}
.button {
  border: 1px solid var(--border);
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
}
.button.secondary { background: var(--secondary); color: var(--secondary-foreground); }

.icon-btn {
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--foreground);
  border-radius: 8px;
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  font-size: 12px;
}

.icon-btn.active {
  border-color: var(--title-yellow);
  color: var(--title-yellow);
  background: rgba(250, 204, 21, 0.1);
}

.toolbar {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(250, 204, 21, 0.1), rgba(37, 99, 235, 0.12));
}

.rivalry-strip {
  margin: 10px 0 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.rivalry-chip {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  background: rgba(15, 23, 42, 0.55);
}

.rivalry-chip.leader {
  border-color: rgba(250, 204, 21, 0.7);
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.2) inset;
}

.rivalry-chip span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
}

.grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}
.card { padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.badge { font-size: 12px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--border); }
.badge { font-size: 13px; }
.high { background: rgba(202, 50, 20, 0.22); }
.mid { background: rgba(245, 158, 11, 0.2); }

.arena-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-gap: 14px;
  gap: 14px;
}

.arena-card {
  position: relative;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background:
    linear-gradient(160deg, rgba(12, 18, 35, 0.88), rgba(8, 20, 18, 0.85));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  transition: transform 280ms ease, border-color 240ms ease, box-shadow 240ms ease;
  cursor: pointer;
  animation: cardRise 360ms ease both;
}

.arena-card.momentum-up {
  animation: cardRise 360ms ease both, gainPulse 1100ms ease;
}

.arena-card.momentum-down {
  animation: cardRise 360ms ease both, dropPulse 1100ms ease;
}

.arena-card:hover {
  border-color: rgba(250, 204, 21, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.arena-card.rank-1 {
  border-color: rgba(250, 204, 21, 0.6);
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.28), 0 16px 34px rgba(250, 204, 21, 0.12);
}

.arena-card.rank-2 {
  border-color: rgba(59, 130, 246, 0.55);
}

.arena-card.rank-3 {
  border-color: rgba(34, 197, 94, 0.5);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: grid;
  place-items: center;
  z-index: 50;
  padding: 14px;
}

.modal-card {
  width: min(920px, 100%);
  max-height: 82vh;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  padding: 12px;
}

.modal-list {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.modal-row {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--muted);
  padding: 8px;
}

.arena-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.rank-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 8px;
  background: var(--title-yellow-soft);
  color: var(--title-yellow);
  font-size: 12px;
  font-weight: 700;
}

.metric-positive-high { color: #f87171; font-weight: 700; }
.metric-positive-mid { color: #facc15; font-weight: 700; }
.metric-positive-low { color: #86efac; font-weight: 700; }

.table-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.bar { display: grid; grid-template-columns: repeat(10, 1fr); grid-gap: 3px; gap: 3px; }
.cell { height: 10px; border-radius: 3px; background: #3b3b3b; }
.cell.on.green { background: #22c55e; }
.cell.on.purple { background: #a855f7; }
.cell.on.yellow { background: #eab308; }
.cell.on.red { background: #ef4444; }

table { width: 100%; border-collapse: collapse; margin-top: 12px; }
th, td { border-bottom: 1px solid var(--border); padding: 8px 8px; text-align: left; font-size: 12px; }
th, td { font-size: 13px; }
th {
  color: var(--title-yellow);
  font-weight: 700;
  background: rgba(250, 204, 21, 0.06);
}

.th-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.th-actions {
  display: inline-flex;
  gap: 4px;
}

.dest-cell {
  max-width: 280px;
  white-space: normal;
  word-break: break-word;
  line-height: 1.25;
}

.dest-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dest-tag-g {
  display: inline-grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  border: 1px solid rgba(248, 81, 73, 0.55);
  background: rgba(248, 81, 73, 0.14);
  color: #f85149;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.dest-copy-btn {
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--foreground);
  border-radius: 4px;
  width: 18px;
  height: 18px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  font-size: 10px;
  line-height: 1;
}

.limits-hero {
  margin-top: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  grid-gap: 10px;
  gap: 10px;
  background: linear-gradient(145deg, rgba(30, 64, 175, 0.2), rgba(15, 23, 42, 0.85));
}

.limits-stat {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  background: rgba(11, 20, 40, 0.75);
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}

.limits-stat strong {
  font-family: "Fira Code", monospace;
  font-size: 16px;
  color: var(--foreground);
}

.limits-stat-label {
  font-size: 11px;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.limits-panel {
  background: linear-gradient(180deg, rgba(17, 25, 45, 0.88), rgba(11, 18, 33, 0.94));
}

.limits-controls {
  justify-content: space-between;
}

.limits-control-label {
  font-size: 12px;
  color: var(--muted-foreground);
  text-transform: uppercase;
}

.limits-num-col {
  text-align: right;
  font-family: "Fira Code", monospace;
}

/* Variant C: Limits page */
.vc-limits {
  --vc-bg-canvas: #0D1117;
  --vc-bg-topbar: #0A0E14;
  --vc-bg-toolbar: #0B0F15;
  --vc-bg-row-hover: #0F1621;
  --vc-bg-element: #161B22;
  --vc-border-struct: #1C2333;
  --vc-border-inter: #30363D;
  --vc-txt-primary: #E6EDF3;
  --vc-txt-secondary: #C9D1D9;
  --vc-txt-dest: #8B949E;
  --vc-txt-muted: #6E7681;
  --vc-txt-minimal: #484F58;
  --vc-txt-col-header: #3D444D;
  --vc-orange: #F97316;
  --vc-blue: #58A6FF;
  --vc-green: #22C55E;
  --vc-red: #F85149;
  background: var(--vc-bg-canvas);
  border: 1px solid var(--vc-border-struct);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 12px;
  font-family: "DM Sans", sans-serif;
}

.vc-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--vc-bg-canvas);
  border-top: 1px solid var(--vc-border-struct);
  border-bottom: 1px solid var(--vc-border-struct);
}

.vc-kpi-cell {
  padding: 10px 16px;
  border-right: 1px solid var(--vc-border-struct);
  display: grid;
  grid-gap: 3px;
  gap: 3px;
}

.vc-kpi-cell:last-child { border-right: none; }

.vc-kpi-label {
  font-size: 10px;
  color: var(--vc-txt-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vc-kpi-value {
  font-family: "IBM Plex Mono", monospace;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--vc-txt-primary);
}

.vc-kpi-value.orange { color: var(--vc-orange); }

.vc-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: var(--vc-bg-toolbar);
  border-top: 1px solid var(--vc-border-struct);
  border-bottom: 1px solid var(--vc-border-struct);
}

.vc-chip {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--vc-bg-element);
  border: 1px solid var(--vc-border-inter);
  color: var(--vc-txt-muted);
  cursor: pointer;
}

.vc-chip.active {
  color: var(--vc-orange);
  background: #1A1208;
  border-color: #52300A;
}

.vc-search {
  width: 150px;
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid var(--vc-border-inter);
  background: var(--vc-bg-element);
  color: var(--vc-txt-muted);
}

.vc-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--vc-bg-canvas);
}

.vc-table th {
  background: var(--vc-bg-topbar);
  color: var(--vc-txt-col-header);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 9px;
  font-weight: 500;
  padding: 5px 16px;
  border-bottom: 1px solid var(--vc-border-struct);
}

.vc-table td {
  font-size: 11px;
  padding: 6px 16px;
  border-bottom: 1px solid #111820;
}

.vc-table tr:hover td {
  background: var(--vc-bg-row-hover);
  transition: background 0.1s;
}

.vc-destination {
  color: var(--vc-txt-dest);
  max-width: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vc-daily {
  text-align: right;
  color: var(--vc-orange);
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: -0.02em;
}

.vc-hourly {
  text-align: right;
  color: var(--vc-blue);
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: -0.02em;
}

.vc-util-cell {
  text-align: right;
  color: var(--vc-txt-muted);
  font-size: 9px;
}

.vc-util-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.vc-util-track {
  width: 30px;
  height: 3px;
  background: var(--vc-border-struct);
  border-radius: 2px;
  overflow: hidden;
}

.vc-util-fill {
  height: 100%;
  border-radius: 2px;
}

.vc-util-fill.low { background: var(--vc-green); }
.vc-util-fill.medium { background: var(--vc-orange); }
.vc-util-fill.high { background: var(--vc-red); }

@media (max-width: 768px) {
  .vc-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .vc-toolbar { flex-direction: column; align-items: stretch; }
  .vc-search { width: 100%; }
}

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

@keyframes gainPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24); }
  40% { box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.35), 0 16px 34px rgba(34, 197, 94, 0.25); }
}

@keyframes dropPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24); }
  40% { box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.28), 0 16px 34px rgba(239, 68, 68, 0.2); }
}

@media (prefers-reduced-motion: reduce) {
  .arena-card {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1024px) {
  .rivalry-strip {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 768px) {
  .container { padding: 10px; }
  .limits-hero { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
  .limits-controls { gap: 8px; }
}

/* Gold Glasspool: stream page */
.gc-shell {
  --gc-bg-canvas: #111318;
  --gc-bg-topbar: #0d0f13;
  --gc-bg-arena: #0e1014;
  --gc-bg-topranks: #0c0e12;
  --gc-bg-toolbar: #0b0d11;
  --gc-bg-element: #121520;
  --gc-border-struct: #1e2130;
  --gc-border-inter: #252830;
  --gc-border-row: #1e2028;
  --gc-gold-100: #f0c040;
  --gc-gold-200: #e0b840;
  --gc-gold-300: #c8a030;
  --gc-gold-400: #c0a020;
  --gc-live: #22c55e;
  font-family: "Space Grotesk", sans-serif;
  background: var(--gc-bg-canvas);
  border: 1px solid var(--gc-border-struct);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
}

.container.gc-shell {
  max-width: none;
  width: 100%;
  margin: 0;
}
.gc-topbar { min-height: 42px; padding: 8px 12px; background: var(--gc-bg-topbar); border-bottom: 1px solid var(--gc-border-struct); display: flex; justify-content: space-between; align-items: center; }
.gc-topbar-left { gap: 8px; flex-wrap: nowrap; }
.gc-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gc-live); animation: pdot 2s ease-in-out infinite; }
.gc-live-dot.off { background: #6b7280; animation: none; }
.gc-brand { font-size: 15px; color: var(--gc-gold-100); letter-spacing: 0.06em; font-weight: 600; }
.gc-nav { display: inline-flex; gap: 6px; margin-left: 6px; }
.gc-nav-pill { font-size: 13px; color: #a4adbe; border: 1px solid var(--gc-border-inter); border-radius: 20px; padding: 4px 11px; }
.gc-nav-pill.active { color: var(--gc-gold-300); background: #1c1e2a; border-color: #3a3420; }
.gc-logout { border: 1px solid var(--gc-border-inter); border-radius: 20px; background: transparent; color: #c4cbda; font-size: 13px; padding: 4px 11px; cursor: pointer; }
.gc-arena-bar { min-height: 38px; padding: 8px 12px; background: var(--gc-bg-arena); border-bottom: 1px solid var(--gc-border-row); display: flex; justify-content: space-between; align-items: center; }
.gc-arena-title { margin: 0; font-size: 15px; letter-spacing: 0.06em; color: var(--gc-gold-200); text-transform: uppercase; }
.gc-count-pill { font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--gc-gold-300); background: #181600; border: 1px solid #2e2800; border-radius: 20px; padding: 2px 9px; }
.gc-topranks { margin: 0; border-bottom: 1px solid var(--gc-border-row); gap: 0; grid-template-columns: repeat(5, 1fr); }
.gc-rank-cell { border: none; border-right: 1px solid var(--gc-border-row); border-radius: 0; background: var(--gc-bg-topranks); padding: 8px 12px; gap: 1px; }
.gc-rank-cell:last-child { border-right: none; }
.gc-rank-cell:hover { background: #111420; }
.gc-rank-cell small { font-family: "IBM Plex Mono", monospace; font-size: 10px; color: #788096; letter-spacing: 0.08em; }
.gc-rank-cell span { font-size: 11px; color: #b0b7c8; }
.gc-rank-cell strong { font-family: "IBM Plex Mono", monospace; font-size: 15px; color: var(--gc-gold-300); }
.gc-toolbar { margin: 0; padding: 8px 12px; border-radius: 0; border-left: none; border-right: none; border-top: none; border-bottom: 1px solid var(--gc-border-row); background: var(--gc-bg-toolbar); }
.gc-chip-row { width: 100%; gap: 6px; }
.gc-chip { border: 1px solid var(--gc-border-inter); border-radius: 20px; background: transparent; color: #a9b1c2; padding: 4px 12px; font-size: 13px; font-family: "Space Grotesk", sans-serif; cursor: pointer; }
.gc-chip.active { background: #1a1800; border-color: #3a3000; color: #908020; }
.gc-select, .gc-search { border: 1px solid var(--gc-border-inter); border-radius: 6px; background: var(--gc-bg-element); color: #e2e7f1; padding: 5px 12px; font-size: 13px; font-family: "Space Grotesk", sans-serif; }
.gc-search { flex: 1 1; min-width: 180px; }
.gc-shell .arena-grid { margin-top: 0; padding: 10px; gap: 8px; grid-template-columns: repeat(4, 1fr); }
.gc-shell .arena-card { background: #0d0f16; border: 1px solid #1e2030; border-radius: 7px; padding: 8px; box-shadow: none; transition: border-color 0.15s; animation-duration: 280ms; }
.gc-shell .arena-card:hover { border-color: #2e3040; box-shadow: none; }
.gc-shell .arena-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; border-radius: 0; background: rgba(200, 160, 48, 0.45); }
.gc-shell .arena-card.rank-1::before, .gc-shell .arena-card.rank-2::before, .gc-shell .arena-card.rank-3::before { background: rgba(224, 96, 32, 0.7); }
.gc-card-head { margin-bottom: 5px; }
.gc-shell .rank-pill { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--gc-gold-300); border: 1px solid #2e2600; border-radius: 12px; background: #151200; padding: 1px 7px; letter-spacing: 0.04em; }
.gc-tags { gap: 4px; }
.gc-shell .badge { font-size: 10px; border-radius: 2px; padding: 1px 4px; }
.gc-shell .high { color: #b06000; background: #180e00; border-color: #2e1c00; }
.gc-shell .mid, .gc-mode-tag { color: #306080; background: #081018; border-color: #0e2030; }
.gc-tier-tag { color: #505820; background: #0e1000; border-color: #1e2000; }
.gc-card-dest { margin: 0 0 2px; font-size: 14px; font-weight: 600; color: #d0c898; }
.gc-card-sub { margin: 0 0 4px; color: #9aa3b7; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-details-row { margin: 0 0 4px; }
.gc-details-btn { width: auto; height: 22px; padding: 0 7px; border-radius: 3px; font-size: 12px; }
.gc-change-row { margin: 0 0 2px; font-size: 12px; color: #b9c3d8; }
.gc-change-value { color: #c8a030; font-family: "IBM Plex Mono", monospace; }
.gc-stat-row { display: flex; justify-content: space-between; margin-top: 2px; font-size: 11px; color: #b4bed2; }
.gc-stat-row span:last-child { font-family: "IBM Plex Mono", monospace; letter-spacing: 0.02em; }
.gc-progress { position: relative; width: 100%; height: 3px; margin: 2px 0; background: #151820; border-radius: 2px; overflow: hidden; }
.gc-progress-fill { display: block; height: 100%; border-radius: 2px; }
.gc-ts { margin: 3px 0 0; padding-top: 2px; border-top: 1px solid #1e2028; color: #8f99ae; font-size: 11px; font-family: "IBM Plex Mono", monospace; }

.gc-empty-note {
  margin: 8px 10px 0;
  padding: 8px 10px;
  border: 1px solid #3a3000;
  border-radius: 6px;
  background: #1a1800;
  color: #e7cf87;
  font-size: 13px;
}

@keyframes pdot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

@media (max-width: 1200px) { .gc-shell .arena-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 920px) {
  .gc-shell .arena-grid { grid-template-columns: repeat(2, 1fr); }
  .gc-topranks { grid-template-columns: 1fr; }
  .gc-rank-cell { border-right: none; border-bottom: 1px solid var(--gc-border-row); }
  .gc-rank-cell:last-child { border-bottom: none; }
}
@media (max-width: 640px) {
  .gc-topbar { height: auto; gap: 6px; flex-direction: column; align-items: flex-start; }
  .gc-nav { margin-left: 0; }
  .gc-shell .arena-grid { grid-template-columns: 1fr; }
}

/* Gold Glasspool: table page */
.gt-shell-wrap { padding-top: 8px; }
.gt-shell {
  background: #111318;
  border: 1px solid #1e2130;
  border-radius: 10px;
  overflow: hidden;
  font-family: "Space Grotesk", sans-serif;
}
.gt-topbar { background: #0d0f13; border-bottom: 1px solid #1e2130; padding: 9px 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gt-brand { font-size: 13px; font-weight: 600; color: #f0c040; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 7px; }
.gt-live-dot { width: 6px; height: 6px; border-radius: 999px; background: #22c55e; animation: pdot 2s ease-in-out infinite; }
.gt-live-dot.off { background: #6b7280; animation: none; }
.gt-mode-tag { font-size: 10px; color: #96a0b3; margin-left: 6px; }
.gt-nav { display: flex; gap: 4px; }
.gt-nav-btn { font-size: 11px; padding: 3px 11px; border-radius: 20px; border: 1px solid #252830; background: transparent; color: #a2adbf; cursor: pointer; transition: all .12s; }
.gt-nav-btn:hover { color: #c8a030; border-color: #3a3420; }
.gt-nav-btn.active { background: #1c1e2a; border-color: #3a3420; color: #c8a030; }
.gt-logout-btn { font-size: 11px; padding: 4px 12px; border-radius: 5px; border: 1px solid #2a2a18; background: #181400; color: #c8a030; cursor: pointer; transition: all .12s; }
.gt-logout-btn:hover { background: #201c00; border-color: #3a3600; }

.gt-section-bar { background: #0e1014; border-bottom: 1px solid #1e2028; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; }
.gt-section-title { font-size: 13px; font-weight: 600; color: #e0b840; letter-spacing: .06em; margin: 0; text-transform: uppercase; }
.gt-row-count { font-size: 11px; background: #181600; border: 1px solid #2e2800; border-radius: 20px; color: #806820; padding: 2px 10px; font-family: "IBM Plex Mono", monospace; }

.gt-toolbar { display: flex; align-items: center; gap: 6px; padding: 7px 16px; border-bottom: 1px solid #1e2028; background: #0b0d11; }
.gt-toolbar select, .gt-toolbar input { background: #121520; border: 1px solid #252830; border-radius: 5px; padding: 4px 9px; font-size: 11px; color: #d9e0ee; font-family: "Space Grotesk", sans-serif; outline: none; transition: border-color .12s; }
.gt-toolbar select:focus, .gt-toolbar input:focus { border-color: #c0a020; }
.gt-toolbar input { flex: 1 1; min-width: 160px; }
.gt-toolbar input::placeholder { color: #7f889a; }
.gt-sort-indicator { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.gt-sort-label { font-size: 11px; color: #8a93a5; font-family: "IBM Plex Mono", monospace; }
.gt-sort-val { font-size: 11px; color: #c0a020; font-family: "IBM Plex Mono", monospace; background: #1a1800; border: 1px solid #3a3000; border-radius: 3px; padding: 2px 8px; }

.gt-tbl-wrap { overflow-x: auto; }
.gt-table { width: 100%; border-collapse: collapse; margin-top: 0; }
.gt-table thead tr { background: #0a0e14; border-bottom: 1px solid #1e2028; }
.gt-table th { padding: 7px 12px; font-size: 10px; font-weight: 500; color: #7d8797; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; border-right: 1px solid #151820; -webkit-user-select: none; -moz-user-select: none; user-select: none; cursor: pointer; transition: color .12s; }
.gt-table th:last-child { border-right: none; }
.gt-table th:hover { color: #806820; }
.gt-table th.sort-active { color: #c8a030; }
.gt-th-inner { display: flex; align-items: center; gap: 4px; }
.gt-sort-arrows { display: flex; flex-direction: column; margin-left: 2px; opacity: .35; }
.gt-sort-arrows.active { opacity: 1; }
.gt-sa { font-size: 8px; line-height: 1.1; color: #c8a030; }
.gt-sa.dim { color: #2a2e18; }

.gt-table tbody tr { border-bottom: 1px solid #111820; transition: background .1s; }
.gt-table tbody tr:hover { background: #0f1621; }
.gt-table tbody tr:last-child { border-bottom: none; }
.gt-table td { padding: 7px 12px; font-size: 12px; color: #8b949e; border-right: 1px solid #0e1318; white-space: nowrap; }
.gt-table td:last-child { border-right: none; }

.td-time { font-family: "IBM Plex Mono", monospace; font-size: 10px; color: #727d90; }
.speed-badge { display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 600; border-radius: 3px; padding: 1px 7px; letter-spacing: .04em; border: 1px solid; }
.speed-HIGH { color: #b06000; background: #180e00; border-color: #2e1c00; }
.speed-MID { color: #806820; background: #141000; border-color: #2a2000; }
.td-tier { font-size: 10px; color: #7c8741; font-family: "IBM Plex Mono", monospace; }
.td-dest { color: #d0c898; font-size: 11px; font-weight: 500; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.td-origin { color: #a3adbc; max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.td-num, .td-pct { font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 500; text-align: right; }

.gt-tbl-wrap::-webkit-scrollbar { height: 4px; }
.gt-tbl-wrap::-webkit-scrollbar-track { background: #111318; }
.gt-tbl-wrap::-webkit-scrollbar-thumb { background: #252830; border-radius: 2px; }

.gt-empty-note { margin: 8px 10px; padding: 8px 10px; border: 1px solid #3a3000; border-radius: 6px; background: #1a1800; color: #e7cf87; font-size: 11px; }

@media (max-width: 900px) {
  .gt-topbar { flex-wrap: wrap; }
  .gt-toolbar { flex-wrap: wrap; }
  .gt-sort-indicator { margin-left: 0; }
}

