:root {
  --bg: #0b0d12;
  --panel: #12151c;
  --card: #1a1f29;
  --card2: #20262f;
  --border: #2a313d;
  --fg: #e7ebf2;
  --muted: #8b94a6;
  --primary: #6d8cff;
  --green: #34c778;
  --amber: #f0a020;
  --red: #e0533d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font:
    14px/1.45 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 18, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 9px 16px;
}
.nav-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}
.nav-title b {
  font-size: 13px;
}
.nav-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.navgroup {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px 4px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
}
.navgroup .ng-label {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-right: 2px;
  white-space: nowrap;
}
.navgroup.amber {
  border-color: rgba(240, 160, 32, 0.4);
}
.navgroup.amber .ng-label {
  color: var(--amber);
}
.navgroup.primary {
  border-color: rgba(109, 140, 255, 0.4);
}
.navgroup.primary .ng-label {
  color: var(--primary);
}
.nav a {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  white-space: nowrap;
}
.nav a:hover {
  color: var(--fg);
  border-color: var(--primary);
}

.stage {
  display: flex;
  justify-content: center;
  padding: 28px 16px 64px;
}
.screen {
  display: none;
}
.screen.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cap {
  font-size: 11px;
  color: var(--muted);
  max-width: 330px;
  text-align: center;
}
.cap code {
  color: var(--primary);
  font-size: 10px;
}

.phone {
  width: 332px;
  height: 712px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 46px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.topbar .logo {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 13px;
}
.topbar .actions {
  position: absolute;
  right: 12px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 2px;
}
.dhead {
  height: 46px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.dhead .back {
  font-size: 24px;
  line-height: 1;
  color: var(--primary);
  padding: 0 6px 3px;
  font-weight: 700;
}
.dhead .dtitle {
  font-weight: 800;
  font-size: 15px;
}
.dhead .dsub {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.dhead .right {
  position: absolute;
  right: 14px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}
.body {
  flex: 1;
  overflow: auto;
  padding: 14px;
}
.body::-webkit-scrollbar {
  width: 0;
}

.strip {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}
.strip .thumb {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: linear-gradient(135deg, #3a2a5e, #5e2a47);
  flex: none;
}
.strip .title {
  font-weight: 700;
  font-size: 14px;
}
.strip .when {
  color: var(--muted);
  font-size: 11px;
}
.strip .route {
  color: var(--muted);
  font-size: 10px;
  opacity: 0.85;
}
.pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  margin-top: 3px;
}
.pill.going {
  background: rgba(52, 199, 120, 0.18);
  color: var(--green);
}
.pill.none {
  background: rgba(139, 148, 166, 0.18);
  color: var(--muted);
}
.pill.days {
  background: rgba(109, 140, 255, 0.18);
  color: var(--primary);
  margin-left: 4px;
}

.shapes {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 2px auto 0;
}
.tile {
  position: absolute;
  width: 137px;
  height: 137px;
  padding: 11px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.tile .lbl {
  font-weight: 800;
  font-size: 14px;
  line-height: 1.1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.tile .dest {
  font-size: 9.5px;
  opacity: 0.92;
  font-weight: 600;
}
.tile:active {
  filter: brightness(1.15);
}
.tl {
  top: 0;
  left: 0;
  border-radius: 18px 18px 0 18px;
}
.tr {
  top: 0;
  right: 0;
  border-radius: 18px 18px 18px 0;
  align-items: flex-end;
  text-align: right;
}
.bl {
  bottom: 0;
  left: 0;
  border-radius: 18px 0 18px 18px;
  justify-content: flex-end;
}
.br {
  bottom: 0;
  right: 0;
  border-radius: 0 18px 18px 18px;
  align-items: flex-end;
  text-align: right;
  justify-content: flex-end;
}
.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 116px;
  height: 116px;
  border-radius: 50%;
  border: 3px solid var(--panel);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.center .lbl {
  font-weight: 800;
  font-size: 14px;
}
.center .dest {
  font-size: 9px;
  opacity: 0.92;
  font-weight: 600;
  margin-top: 2px;
}

.g-purple {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}
.g-cyan {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
}
.g-amber {
  background: linear-gradient(135deg, #d97706, #dc2626);
}
.g-emerald {
  background: linear-gradient(135deg, #10b981, #06b6d4);
}
.g-teal {
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
}
.g-center {
  background: linear-gradient(135deg, #3b82f6, #a855f7);
}
.g-indigo {
  background: linear-gradient(135deg, #2563eb, #6366f1);
}

.below {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.below .btn {
  border-radius: 13px;
  padding: 12px;
  text-align: center;
  font-weight: 800;
  font-size: 12px;
  color: #fff;
}
.below .btn .dest {
  display: block;
  font-size: 9px;
  opacity: 0.9;
  font-weight: 600;
  margin-top: 2px;
}
.orgonly {
  outline: 2px dashed rgba(255, 255, 255, 0.35);
  outline-offset: -4px;
}
.badge-org {
  font-size: 9px;
  color: #ffd;
  opacity: 0.85;
}

.sechead {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 4px 0 8px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
}
.lrow {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 4px;
  border-bottom: 1px solid var(--border);
}
.lrow:last-child {
  border-bottom: 0;
}
.av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 14px;
}
.av.sq {
  border-radius: 9px;
  background: linear-gradient(135deg, #444b5a, #2a313d);
}
.grow {
  flex: 1;
  min-width: 0;
}
.nm {
  font-weight: 700;
  font-size: 13px;
}
.mu {
  color: var(--muted);
  font-size: 11px;
}
.chev {
  color: var(--muted);
  font-size: 18px;
}
.rankbadge {
  font-size: 10px;
  font-weight: 800;
  color: var(--primary);
  background: rgba(109, 140, 255, 0.14);
  padding: 2px 6px;
  border-radius: 6px;
}
.tagdot {
  font-size: 11px;
}

.btnrow {
  display: flex;
  gap: 8px;
}
.b {
  flex: 1;
  text-align: center;
  font-weight: 800;
  font-size: 12px;
  padding: 11px;
  border-radius: 11px;
  border: 1px solid var(--border);
  color: var(--fg);
}
.b.pri {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}
.b.green {
  background: rgba(52, 199, 120, 0.16);
  color: var(--green);
  border-color: rgba(52, 199, 120, 0.4);
}
.b.amber {
  background: rgba(240, 160, 32, 0.16);
  color: var(--amber);
  border-color: rgba(240, 160, 32, 0.4);
}
.b.red {
  background: rgba(224, 83, 61, 0.16);
  color: var(--red);
  border-color: rgba(224, 83, 61, 0.4);
}
.b.sel.green {
  background: var(--green);
  color: #06210f;
  border-color: transparent;
}

.tier {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 8px;
}
.tier.sel {
  border-color: var(--primary);
  background: rgba(109, 140, 255, 0.08);
}
.radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--muted);
  flex: none;
}
.tier.sel .radio {
  border-color: var(--primary);
  background: radial-gradient(circle, var(--primary) 0 5px, transparent 6px);
}
.price {
  font-weight: 800;
  font-size: 12px;
}
.price.free {
  color: var(--green);
}
.barwrap {
  height: 8px;
  background: var(--card2);
  border-radius: 99px;
  overflow: hidden;
  margin: 8px 0 4px;
}
.bar {
  height: 100%;
  background: var(--green);
}
.bar.amber {
  background: var(--amber);
}

.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.ftile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 12px;
}
.ftile .fi {
  font-size: 18px;
}
.ftile .fn {
  font-weight: 800;
  font-size: 12px;
  margin-top: 5px;
}
.ftile .fd {
  color: var(--muted);
  font-size: 10px;
}

.mgrid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.mtile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
}
.mtile .mi {
  font-size: 17px;
}
.mtile .ml {
  font-size: 9.5px;
  font-weight: 700;
  margin-top: 4px;
  color: var(--fg);
}

.dayhdr {
  font-weight: 800;
  font-size: 12px;
  color: var(--primary);
  margin: 2px 0 8px;
}
.titem {
  display: flex;
  gap: 10px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--border);
}
.titem:last-child {
  border-bottom: 0;
}
.ttime {
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
  width: 62px;
  flex: none;
}
.tdesc {
  font-size: 12px;
}
.ord {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.via {
  font-size: 9px;
  font-weight: 800;
  color: var(--amber);
  background: rgba(240, 160, 32, 0.15);
  padding: 1px 5px;
  border-radius: 5px;
}
.statusbadge {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
}
.st-live {
  background: rgba(52, 199, 120, 0.18);
  color: var(--green);
}
.st-sched {
  background: rgba(109, 140, 255, 0.18);
  color: var(--primary);
}
.st-ended {
  background: rgba(139, 148, 166, 0.18);
  color: var(--muted);
}
.mapbox {
  height: 150px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background:
    radial-gradient(
      circle at 22% 35%,
      rgba(109, 140, 255, 0.5) 0 6px,
      transparent 7px
    ),
    radial-gradient(
      circle at 78% 68%,
      rgba(52, 199, 120, 0.5) 0 6px,
      transparent 7px
    ),
    linear-gradient(135deg, #16202b, #0f1620);
  position: relative;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-end;
}
.mapbox .poly {
  position: absolute;
  left: 22%;
  top: 35%;
  width: 56%;
  height: 33%;
  border-bottom: 2px dashed var(--primary);
  border-right: 2px dashed var(--primary);
  border-radius: 0 0 40px 0;
}
.mapbox .mtag {
  font-size: 10px;
  color: var(--muted);
  margin: 8px;
}
.qr {
  width: 150px;
  height: 150px;
  margin: 6px auto 12px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(90deg, #0b0d12 0 8px, #fff 8px 16px),
    repeating-linear-gradient(0deg, #0b0d12 0 8px, #fff 8px 16px);
  background-blend-mode: difference;
  border: 6px solid #fff;
}
.field {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.toggle {
  width: 42px;
  height: 24px;
  border-radius: 99px;
  background: var(--green);
  position: relative;
  flex: none;
}
.toggle::after {
  content: "";
  position: absolute;
  right: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
}
.livedot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
.filterpills {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.fpill {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 99px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.fpill.on {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}
.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  margin: 6px 0 14px;
}
.pcol {
  text-align: center;
}
.pbar {
  width: 54px;
  border-radius: 8px 8px 0 0;
  background: var(--card2);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
  font-weight: 800;
}
.menuwrap {
  max-width: 540px;
}
.menucard {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}
.menucard:hover {
  border-color: var(--primary);
}
.menucard .mt {
  font-weight: 800;
}
.menucard .md {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
.navbtn {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 7px 10px;
  margin-bottom: 12px;
}

/* ---- EXISTING (current reality, today) helpers ---- */
.exlabel {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(240, 160, 32, 0.15);
  border: 1px solid rgba(240, 160, 32, 0.4);
  border-radius: 999px;
  padding: 3px 9px;
  display: inline-block;
  margin-bottom: 10px;
}
.statusstack .b {
  display: block;
  margin-bottom: 8px;
}
.rr {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.rr .cell {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px;
  font-weight: 700;
  font-size: 13px;
}
.rr .cell.gsel {
  border: 2px solid var(--green);
  background: rgba(52, 199, 120, 0.12);
  color: var(--green);
}
.rr .ic {
  width: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
}
.isq {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--card2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex: none;
}
.irow {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 7px 0;
}
.kv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 13px;
}
.kv .k {
  color: var(--muted);
}
.kv .v {
  font-weight: 800;
}
.ehub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.etile {
  background: var(--card2);
  border-radius: 13px;
  padding: 14px 10px;
  text-align: center;
}
.etile .ei {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 7px;
  font-size: 18px;
}
.etile .en {
  font-weight: 800;
  font-size: 12px;
}
.etile .ed {
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}
.fab {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 22px;
  width: max-content;
  margin: 16px auto 4px;
  font-size: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.prlabel {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(109, 140, 255, 0.15);
  border: 1px solid rgba(109, 140, 255, 0.4);
  border-radius: 999px;
  padding: 3px 9px;
  display: inline-block;
  margin-bottom: 10px;
}
.gridsq {
  aspect-ratio: 1;
  border-radius: 4px;
  background: #262d38;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 800;
  color: var(--muted);
}
.gridsq.sel {
  background: var(--green);
  color: #06210f;
}
.gridsq.prem {
  background: rgba(240, 160, 32, 0.28);
  border: 1px solid rgba(240, 160, 32, 0.55);
}
.gridsq.taken {
  background: #171b22;
  opacity: 0.45;
}
.vbox {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid var(--border);
  flex: none;
  position: relative;
}
.vbox.on {
  border-color: var(--primary);
  background: var(--primary);
}
.vbox.on::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
/* ---- prominent in-event quick actions (hub) ---- */
.quickrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 14px;
}
.qbtn {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--primary);
  background: rgba(109, 140, 255, 0.1);
  border-radius: 14px;
  padding: 12px;
}
.qbtn:active {
  filter: brightness(1.15);
}
.qbtn .qi {
  font-size: 22px;
  flex: none;
}
.qbtn .qn {
  display: block;
  font-weight: 800;
  font-size: 12.5px;
  color: var(--fg);
}
.qbtn .qd {
  display: block;
  font-size: 9.5px;
  color: var(--muted);
  margin-top: 1px;
}
