:root {
  --navy-950: #020815;
  --navy-900: #06152d;
  --navy-850: #0a1d39;
  --navy-800: #102642;
  --navy-700: #163354;
  --teal-500: #15b8c1;
  --teal-400: #51d0d6;
  --teal-200: #d7fbfb;
  --coral-500: #ff664d;
  --coral-400: #ff826b;
  --cream-100: #fff8ed;
  --cream-200: #f7efe2;
  --paper: #ffffff;
  --ink: #071631;
  --muted: #60708a;
  --line: rgba(7, 22, 49, .12);
  --line-dark: rgba(255, 255, 255, .12);
  --shadow-sm: 0 10px 24px rgba(5, 14, 33, .10);
  --shadow-md: 0 22px 60px rgba(5, 14, 33, .18);
  --shadow-hot: 0 18px 38px rgba(255, 102, 77, .28);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 13px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% -10%, rgba(21, 184, 193, .14), transparent 28rem),
    radial-gradient(circle at 88% 6%, rgba(255, 102, 77, .16), transparent 28rem),
    linear-gradient(180deg, var(--cream-100), var(--cream-200) 42%, #f3f8f8 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 36px), var(--container)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 12px; z-index: 100; background: white; color: var(--ink); padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 21, 45, .95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  width: min(calc(100% - 36px), 1280px);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 210px; }
.brand img, .brand-mark-wrap {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-mark-wrap {
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.brand-mark-wrap img { width: 45px; height: 45px; }
.brand-text { display: grid; line-height: 1.02; }
.brand-text strong { color: white; font-size: 1.25rem; letter-spacing: -.05em; font-weight: 950; }
.brand-956 { color: var(--teal-400); }
.brand-text small { color: rgba(255,255,255,.68); font-weight: 800; font-size: .78rem; margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  color: rgba(255,255,255,.86);
  font-weight: 900;
  padding: 12px 16px;
  border-radius: 999px;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: var(--teal-500);
  box-shadow: 0 0 0 5px rgba(21,184,193,.12);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-menu-button { display: none; }

.button, button.primary, .primary, button.secondary, .secondary, button.ghost, .ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 950;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--coral-400), var(--coral-500));
  color: #fff;
  box-shadow: var(--shadow-hot);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover, button.primary:hover, .primary:hover { transform: translateY(-1px); box-shadow: 0 24px 46px rgba(255,102,77,.32); }
.button.small, button.small, .small { min-height: 38px; padding: 9px 14px; font-size: .86rem; }
.button.hot { padding-inline: 20px; }
.button.secondary, button.secondary, .secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.button.subtle {
  background: rgba(21,184,193,.10);
  color: #08777c;
  border: 1px solid rgba(21,184,193,.18);
  box-shadow: none;
}
.button.ghost, button.ghost, .ghost {
  background: rgba(255,255,255,.08);
  color: white;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: none;
}
.button.full { width: 100%; }
button.danger, .button.danger { background: #ba1f1f; box-shadow: 0 18px 35px rgba(186,31,31,.2); }

.hero-command {
  padding: 34px 0 54px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(255,248,237,.94) 0%, rgba(255,248,237,.98) 48%, rgba(222,249,250,.72) 100%);
  border-bottom: 1px solid rgba(7,22,49,.08);
}
.signal-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0 22px;
  scrollbar-width: none;
}
.signal-strip::-webkit-scrollbar { display: none; }
.signal-strip span {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(7,22,49,.09);
  color: #08777c;
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .10em;
  box-shadow: 0 12px 22px rgba(5,14,33,.05);
}
.signal-strip span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--coral-500);
  box-shadow: 0 0 0 4px rgba(21,184,193,.15);
}
.hero-deck {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .72fr);
  gap: 34px;
  align-items: stretch;
}
.hero-copyblock {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4.5vw, 52px);
  background:
    radial-gradient(circle at 12% 20%, rgba(21,184,193,.17), transparent 18rem),
    linear-gradient(140deg, rgba(255,255,255,.88), rgba(255,255,255,.62));
  border: 1px solid rgba(7,22,49,.10);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero-copyblock::before {
  content: "";
  position: absolute;
  right: -78px;
  top: 28px;
  width: 190px;
  height: 190px;
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(21,184,193,.20), rgba(255,102,77,.18));
  transform: rotate(15deg);
}
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #08777c;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  margin: 0 0 14px;
}
.eyebrow::before, .kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal-500), var(--coral-500));
  box-shadow: 0 0 0 5px rgba(21,184,193,.14);
}
.hero h1, .page-intro h1 {
  position: relative;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 6.25rem);
  line-height: .91;
  letter-spacing: -.085em;
  font-weight: 1000;
  max-width: 850px;
}
.hero h1 span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(100deg, var(--coral-500), var(--teal-500));
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-copy, .page-intro p {
  position: relative;
  margin: 22px 0 0;
  max-width: 690px;
  color: #263957;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.58;
  font-weight: 650;
}
.search-card {
  position: relative;
  margin-top: 28px;
  padding: 17px;
  border-radius: 28px;
  background: var(--navy-900);
  color: white;
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 24px 70px rgba(6,21,45,.30);
}
.search-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 4px 12px;
}
.search-label label, .search-label span {
  font-size: .8rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.search-label label { color: var(--teal-400); }
.search-label span { color: rgba(255,255,255,.54); }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.search-row input {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 17px 21px;
  min-height: 62px;
  color: var(--ink);
  background: #fff;
  font-size: 1.45rem;
  font-weight: 950;
  outline: none;
}
.search-row input:focus { box-shadow: 0 0 0 4px rgba(21,184,193,.30); }
.search-row button { min-width: 168px; }
.quick-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.86);
  padding: 9px 13px;
  font-weight: 900;
  font-size: .86rem;
}
.quick-primary .chip, .filter-bar select { background: rgba(255,255,255,.12); }
.chip:hover, .chip.active, .chip[aria-pressed="true"] {
  color: var(--navy-900);
  background: linear-gradient(135deg, var(--teal-400), var(--teal-500));
  border-color: transparent;
}
.filter-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 13px;
}
select, input, textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  outline: none;
}
.filter-bar select {
  color: white;
  border-color: rgba(255,255,255,.15);
  background: rgba(255,255,255,.10);
}
.filter-bar select option { color: var(--ink); }
.live-board {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: var(--radius-xl);
  padding: 22px;
  min-height: 100%;
  color: white;
  background:
    radial-gradient(circle at 85% 5%, rgba(21,184,193,.26), transparent 17rem),
    linear-gradient(155deg, var(--navy-950), var(--navy-850));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 28px 72px rgba(6,21,45,.34);
  position: relative;
  overflow: hidden;
}
.live-board::before {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 240px;
  height: 240px;
  background: linear-gradient(135deg, rgba(21,184,193,.22), rgba(255,102,77,.20));
  border-radius: 50%;
  filter: blur(2px);
}
.board-head, .rail-head, .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.board-head { position: relative; align-items: center; margin-bottom: 5px; }
.board-head div { display: flex; align-items: center; gap: 10px; }
.board-dot { width: 9px; height: 9px; border-radius: 999px; background: var(--teal-500); box-shadow: 0 0 0 6px rgba(21,184,193,.16); }
.board-head strong { font-size: .98rem; text-transform: uppercase; letter-spacing: .09em; }
.board-head a, .rail-link { color: var(--teal-400); font-weight: 950; }
.board-event {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  padding: 15px;
  border-radius: 21px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
}
.board-event::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 14px;
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--teal-500), var(--coral-500));
  opacity: .55;
}
.board-event.accent-b::after { background: linear-gradient(135deg, #3985ff, var(--teal-500)); }
.board-event.accent-c::after { background: linear-gradient(135deg, var(--coral-500), #ffd166); }
.board-date {
  display: grid;
  place-items: center;
  border-radius: 16px;
  min-height: 76px;
  background: rgba(21,184,193,.12);
  border: 1px solid rgba(21,184,193,.30);
  color: var(--teal-400);
}
.board-date small, .board-date span { text-transform: uppercase; font-size: .68rem; font-weight: 950; letter-spacing: .12em; }
.board-date strong { color: white; font-size: 1.55rem; line-height: .9; }
.board-copy h3 { margin: 0; font-size: 1.08rem; }
.board-copy p { margin: 5px 0 8px; color: rgba(255,255,255,.68); font-weight: 700; }
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 8px;
  margin: 3px 5px 0 0;
  font-size: .66rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .055em;
  color: var(--teal-400);
  background: rgba(21,184,193,.10);
  border: 1px solid rgba(21,184,193,.18);
}
.badge.free { color: #047d61; background: rgba(16,185,129,.13); border-color: rgba(16,185,129,.22); }
.badge.featured { color: var(--coral-500); background: rgba(255,102,77,.12); border-color: rgba(255,102,77,.22); }
.badge.category { color: var(--navy-900); background: rgba(81,208,214,.20); }
.board-footer {
  position: relative;
  margin-top: auto;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(21,184,193,.18), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.10);
  display: grid;
  gap: 4px;
}
.board-footer span { color: rgba(255,255,255,.66); font-weight: 700; }

.section { padding: 64px 0; }
.section.compact { padding: 46px 0; }
.dark-rail {
  padding: 48px 0;
  background:
    radial-gradient(circle at 14% -20%, rgba(21,184,193,.22), transparent 30rem),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: white;
}
.rail-head { margin-bottom: 22px; }
.rail-head h2, .section-heading h2, .host-strip h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1; letter-spacing: -.06em; }
.dark-rail .kicker { color: var(--teal-400); }
.featured-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.pick-card {
  position: relative;
  min-height: 220px;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)),
    radial-gradient(circle at 72% 8%, rgba(21,184,193,.16), transparent 9rem);
  border: 1px solid rgba(255,255,255,.11);
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(0,0,0,.18);
}
.pick-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--teal-500), var(--coral-500));
}
.pick-card h3 { margin: 32px 0 8px; font-size: 1.35rem; line-height: 1.05; }
.pick-card p { color: rgba(255,255,255,.70); line-height: 1.45; font-weight: 650; }
.city-host-section { background: rgba(255,255,255,.45); }
.discovery-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); gap: 28px; align-items: start; }
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.city-tile {
  min-height: 150px;
  padding: 18px;
  border: 0;
  border-radius: 25px;
  text-align: left;
  color: white;
  background:
    linear-gradient(135deg, rgba(6,21,45,.88), rgba(6,21,45,.44)),
    linear-gradient(135deg, #0d6d72, #ff664d);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
}
.city-tile::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.city-tile:hover { transform: translateY(-2px); }
.city-tile strong { position: relative; font-size: 1.32rem; letter-spacing: -.05em; }
.city-tile span { position: relative; color: rgba(255,255,255,.76); font-weight: 750; margin-top: 5px; }
.tile-edinburg { background: linear-gradient(135deg, rgba(6,21,45,.88), rgba(6,21,45,.48)), linear-gradient(135deg, #0d75aa, #15b8c1); }
.tile-mission { background: linear-gradient(135deg, rgba(6,21,45,.88), rgba(6,21,45,.48)), linear-gradient(135deg, #0e7a63, #ffd166); }
.tile-brownsville { background: linear-gradient(135deg, rgba(6,21,45,.88), rgba(6,21,45,.48)), linear-gradient(135deg, #6d5dfc, #15b8c1); }
.tile-harlingen { background: linear-gradient(135deg, rgba(6,21,45,.88), rgba(6,21,45,.48)), linear-gradient(135deg, #ff664d, #ffd166); }
.tile-spi { background: linear-gradient(135deg, rgba(6,21,45,.88), rgba(6,21,45,.48)), linear-gradient(135deg, #15b8c1, #0b7eb1); }
.host-strip {
  border-radius: var(--radius-xl);
  padding: 26px;
  background: #fff;
  border: 1px solid rgba(7,22,49,.10);
  box-shadow: var(--shadow-md);
}
.host-benefits { display: grid; gap: 12px; margin: 18px 0 22px; }
.host-benefit { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; padding: 13px; border-radius: 18px; background: #f7fbfb; border: 1px solid rgba(7,22,49,.08); }
.host-benefit i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 15px; font-style: normal; font-weight: 1000; color: var(--navy-900); background: var(--teal-200); }
.host-benefit h3 { margin: 0; font-size: 1rem; }
.host-benefit p { margin: 4px 0 0; color: var(--muted); font-weight: 650; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.trust-row { padding: 28px 0; background: var(--navy-900); color: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-item { padding: 18px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.10); display: grid; gap: 4px; }
.trust-item strong { color: var(--teal-400); font-size: 1.1rem; }
.trust-item span { color: rgba(255,255,255,.68); font-weight: 650; }
.results-section { background: #f7fbfb; }
.section-heading { margin-bottom: 20px; }
.muted { color: var(--muted); font-weight: 700; }
.city-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; }
.pill { display: inline-flex; gap: 8px; padding: 9px 12px; border-radius: 999px; background: #fff; border: 1px solid rgba(7,22,49,.08); color: #08777c; font-weight: 900; box-shadow: 0 8px 18px rgba(5,14,33,.05); }
.results-grid { display: grid; gap: 24px; }
.city-group { display: grid; gap: 13px; }
.city-header { display: flex; align-items: center; justify-content: space-between; padding: 0 2px; }
.city-header h3 { margin: 0; font-size: 1.5rem; letter-spacing: -.04em; }
.city-header span { color: var(--muted); font-weight: 850; }
.event-card {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 18px;
  align-items: stretch;
  padding: 14px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(7,22,49,.09);
  box-shadow: var(--shadow-sm);
}
.event-visual {
  position: relative;
  min-height: 132px;
  border-radius: 21px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900), var(--teal-500));
}
.event-visual[data-category="Food"] { background: linear-gradient(135deg, #51230d, var(--coral-500)); }
.event-visual[data-category="Markets"] { background: linear-gradient(135deg, #0e4e50, #ffd166); }
.event-visual[data-category="Family"] { background: linear-gradient(135deg, #223162, var(--teal-500)); }
.event-visual[data-category="Outdoors"] { background: linear-gradient(135deg, #075d60, #5ed683); }
.event-visual img { width: 100%; height: 100%; object-fit: cover; }
.event-visual::after { content: attr(data-category); position: absolute; right: 10px; bottom: 10px; color: white; font-weight: 950; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; opacity: .78; }
.date-tile { position: absolute; left: 10px; top: 10px; width: 62px; min-height: 78px; border-radius: 16px; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; text-align: center; box-shadow: var(--shadow-sm); }
.date-tile div { display: grid; gap: 0; }
.date-tile small { color: #08777c; font-weight: 950; text-transform: uppercase; font-size: .66rem; }
.date-tile span { font-size: 1.45rem; font-weight: 1000; }
.event-main h4 { margin: 4px 0 6px; font-size: 1.28rem; letter-spacing: -.04em; }
.event-main p { margin: 6px 0; color: var(--muted); line-height: 1.45; font-weight: 650; }
.event-meta { margin-top: 7px; }
.event-actions { display: grid; align-content: center; gap: 8px; min-width: 112px; }
.empty-state, .panel, .info-card, .form-panel, .cta-band {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(7,22,49,.09);
  box-shadow: var(--shadow-sm);
}
.empty-state { padding: 34px; text-align: center; }
.empty-state h3 { margin-top: 0; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card { padding: 24px; }
.number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 15px; background: var(--navy-900); color: var(--teal-400); font-weight: 1000; }
.info-card h3 { margin: 16px 0 8px; font-size: 1.18rem; }
.info-card p { color: var(--muted); font-weight: 650; line-height: 1.55; }

.page-wrap { padding: 44px 0 70px; }
.page-intro {
  padding: clamp(26px, 5vw, 54px);
  border-radius: var(--radius-xl);
  color: white;
  background:
    radial-gradient(circle at 80% 12%, rgba(21,184,193,.24), transparent 24rem),
    linear-gradient(135deg, var(--navy-950), var(--navy-850));
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,.12);
}
.page-intro h1 { color: white; font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 980px; }
.page-intro p { color: rgba(255,255,255,.72); }
.page-intro .kicker { color: var(--teal-400); }
.form-panel { padding: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
.form-panel label { display: grid; gap: 7px; color: var(--ink); font-weight: 900; }
.form-panel .wide { grid-column: 1 / -1; }
.form-panel input, .form-panel textarea, .form-panel select { width: 100%; }
textarea { min-height: 110px; resize: vertical; }
.token-note { color: var(--muted); font-size: .9rem; font-weight: 650; margin: 0; }
.admin-toolbar { grid-template-columns: 1.2fr .7fr auto auto; align-items: end; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.admin-tabs .chip { color: var(--ink); background: #fff; border: 1px solid rgba(7,22,49,.1); }
.admin-tabs .chip.active { color: var(--navy-900); background: var(--teal-400); }
.hidden { display: none !important; }
.admin-list, .source-list, .radar-stats { display: grid; gap: 14px; margin-top: 16px; }
.admin-item, .source-item, .run-item, .stat-card {
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(7,22,49,.09);
  box-shadow: var(--shadow-sm);
}
.admin-item h3, .source-item h3, .run-item h3 { margin: 0 0 8px; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.source-form { grid-template-columns: repeat(4, 1fr); }
.bulk-import-panel { grid-template-columns: repeat(3, 1fr); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 28px; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--muted); font-weight: 650; }
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.72); border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { width: min(calc(100% - 36px), 1280px); margin: 0 auto; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-weight: 800; }
.footer-inner a { color: var(--teal-400); }

@media (max-width: 1050px) {
  .hero-deck, .discovery-grid { grid-template-columns: 1fr; }
  .featured-strip { grid-template-columns: repeat(2, 1fr); }
  .live-board { min-height: auto; }
  .nav-links { position: fixed; inset: 78px 18px auto; display: none; flex-direction: column; padding: 16px; border-radius: 22px; background: var(--navy-900); border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .mobile-menu-button { display: inline-flex; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 70px; width: min(calc(100% - 24px), 1280px); }
  .brand { min-width: auto; }
  .brand img, .brand-mark-wrap { width: 44px; height: 44px; }
  .brand-mark-wrap img { width: 38px; height: 38px; }
  .brand-text strong { font-size: 1.05rem; }
  .brand-text small { font-size: .68rem; }
  .header-actions .hot { display: none; }
  .container { width: min(calc(100% - 24px), var(--container)); }
  .hero-command { padding-top: 20px; }
  .hero-copyblock { padding: 24px; border-radius: 26px; }
  .hero h1 { font-size: clamp(2.65rem, 16vw, 4.2rem); }
  .search-row { grid-template-columns: 1fr; }
  .search-row button { width: 100%; }
  .search-label { align-items: flex-start; flex-direction: column; gap: 4px; }
  .filter-bar { grid-template-columns: 1fr; }
  .live-board { padding: 16px; border-radius: 26px; }
  .board-event { grid-template-columns: 58px 1fr; }
  .board-event::after { display: none; }
  .featured-strip, .city-grid, .trust-grid, .info-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; }
  .event-actions { min-width: 0; grid-template-columns: repeat(2, 1fr); }
  .form-panel, .admin-toolbar, .source-form, .bulk-import-panel { grid-template-columns: 1fr; }
  .form-panel .wide { grid-column: auto; }
  .cta-band, .section-heading, .rail-head, .footer-inner { align-items: flex-start; flex-direction: column; }
}
.event-card .button.ghost { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.radar-stats { grid-template-columns: repeat(4, 1fr); }
.radar-stats article {
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(7,22,49,.09);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 4px;
}
.radar-stats article strong { font-size: 2rem; letter-spacing: -.05em; color: var(--navy-900); }
.radar-stats article span { color: var(--muted); font-weight: 800; }
.admin-card, .source-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(7,22,49,.09);
  box-shadow: var(--shadow-sm);
}
.admin-actions { display: flex; flex-wrap: wrap; align-content: center; justify-content: flex-end; gap: 8px; }
.error-note { color: #b91c1c; font-weight: 800; }
@media (max-width: 760px) {
  .radar-stats { grid-template-columns: 1fr; }
  .admin-card, .source-card { grid-template-columns: 1fr; }
  .admin-actions { justify-content: flex-start; }
}
.help-text { color: var(--muted); font-size: .86rem; font-weight: 650; margin-top: 4px; }
.form-message { margin: 0; font-weight: 850; }
.form-message.success { color: #047d61; }
.form-message.error { color: #b91c1c; }
.form-panel .quick-chips .chip, .panel .quick-chips .chip {
  color: var(--ink);
  background: #f7fbfb;
  border: 1px solid rgba(7,22,49,.10);
}
.form-panel .quick-chips .chip:has(input:checked), .panel .quick-chips .chip:has(input:checked) {
  background: var(--teal-200);
  border-color: rgba(21,184,193,.30);
}
.form-panel .quick-chips .chip input, .panel .quick-chips .chip input { accent-color: var(--teal-500); }
