:root {
  color-scheme: light;
  --bg-main: #edf2f8;
  --bg-alt: #f9fbff;
  --ink: #111a2a;
  --ink-muted: #5a667e;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(18, 29, 47, 0.12);
  --line-strong: rgba(18, 29, 47, 0.22);
  --primary: #1f74f2;
  --primary-2: #11b39a;
  --chip-bg: rgba(248, 251, 255, 0.95);
  --card-bg: linear-gradient(152deg, rgba(255, 255, 255, 0.95), rgba(250, 253, 255, 0.84));
  --radius: 20px;
  --shadow-soft: 0 18px 54px rgba(31, 49, 79, 0.12);
  --shadow-card: 0 14px 38px rgba(23, 38, 63, 0.1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg-main: #090f1b;
  --bg-alt: #101b2c;
  --ink: #e9efff;
  --ink-muted: #94a5c2;
  --surface: rgba(17, 28, 45, 0.74);
  --surface-strong: rgba(20, 33, 55, 0.94);
  --line: rgba(163, 185, 219, 0.2);
  --line-strong: rgba(183, 205, 239, 0.32);
  --primary: #46a1ff;
  --primary-2: #3dd8b9;
  --chip-bg: rgba(20, 34, 56, 0.92);
  --card-bg: linear-gradient(152deg, rgba(22, 35, 56, 0.95), rgba(15, 26, 43, 0.9));
  --shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.42);
  --shadow-card: 0 18px 46px rgba(0, 0, 0, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at -7% -15%, rgba(66, 160, 255, 0.32), transparent 68%),
    radial-gradient(900px 560px at 110% -12%, rgba(18, 199, 165, 0.25), transparent 62%),
    linear-gradient(152deg, var(--bg-main) 0%, var(--bg-alt) 100%);
  position: relative;
  transition: color 0.32s ease, background 0.4s ease, background-color 0.4s ease;
}

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

:root[data-theme="dark"] body {
  background:
    radial-gradient(760px 460px at -5% -12%, rgba(69, 158, 255, 0.23), transparent 64%),
    radial-gradient(860px 520px at 104% -16%, rgba(61, 216, 185, 0.2), transparent 58%),
    linear-gradient(158deg, var(--bg-main) 0%, var(--bg-alt) 100%);
}

.noise,
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.noise {
  opacity: 0.16;
  background-image: repeating-radial-gradient(
    circle at 0 0,
    rgba(16, 33, 57, 0.08) 0,
    rgba(16, 33, 57, 0.08) 1px,
    transparent 1px,
    transparent 3px
  );
}

:root[data-theme="dark"] .noise {
  opacity: 0.24;
  background-image: repeating-radial-gradient(
    circle at 0 0,
    rgba(185, 205, 234, 0.1) 0,
    rgba(185, 205, 234, 0.1) 1px,
    transparent 1px,
    transparent 3px
  );
}

.grid-overlay {
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(17, 37, 64, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 37, 64, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 42% 14%, black 10%, transparent 72%);
}

:root[data-theme="dark"] .grid-overlay {
  background-image:
    linear-gradient(rgba(157, 182, 219, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 182, 219, 0.09) 1px, transparent 1px);
}

.glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(92px);
  pointer-events: none;
  z-index: 0;
}

.glow-left {
  width: 300px;
  height: 300px;
  left: -2%;
  top: 26%;
  background: rgba(64, 146, 255, 0.35);
}

.glow-right {
  width: 320px;
  height: 320px;
  right: -1%;
  top: 58%;
  background: rgba(19, 185, 158, 0.26);
}

:root[data-theme="dark"] .glow-left {
  background: rgba(86, 165, 255, 0.24);
}

:root[data-theme="dark"] .glow-right {
  background: rgba(61, 216, 185, 0.24);
}

.topbar,
main,
footer {
  position: relative;
  z-index: 1;
}

.topbar {
  max-width: 1180px;
  margin: 16px auto 0;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 80%, transparent);
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--surface-strong) 90%, transparent), color-mix(in srgb, var(--surface) 88%, transparent));
  backdrop-filter: blur(16px);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-family: "Sora", sans-serif;
  background: linear-gradient(140deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 28px rgba(17, 116, 242, 0.35);
}

.brand-name {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 9px 12px;
  border-radius: 10px;
  transition: background-color 0.24s ease, color 0.24s ease;
}

.nav a:hover {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

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

.theme-btn,
.cta,
.mini-btn {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.24s ease;
}

.theme-btn:hover,
.cta:hover,
.mini-btn:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.theme-btn {
  padding: 10px 13px;
}

.mini-btn {
  font-size: 13px;
  padding: 9px 11px;
}

.theme-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(145deg, #162235 0%, #5e718d 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22);
}

:root[data-theme="dark"] .theme-dot {
  background: linear-gradient(145deg, #f9d285 0%, #fcae5f 100%);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.18);
}

.cta {
  padding: 11px 14px;
}

.cta.primary {
  border: none;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 26px rgba(17, 116, 242, 0.34);
  background-size: 140% 140%;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background-position 0.34s ease;
}

:root[data-theme="dark"] .cta.primary {
  box-shadow: 0 10px 24px rgba(67, 161, 255, 0.25);
}

.cta.primary:hover {
  background-position: 100% 50%;
}

.cta.ghost {
  width: auto;
  background: color-mix(in srgb, var(--surface-strong) 80%, transparent);
}

body.modal-open {
  overflow: hidden;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--ink);
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.host-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
}

.host-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 24, 0.52);
  backdrop-filter: blur(4px);
}

.host-modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  padding: 20px;
}

.host-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.host-modal-head h2 {
  margin-top: 5px;
  font-size: 30px;
}

.host-modal-note {
  margin: 10px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.5;
}

.host-form {
  margin-top: 14px;
}

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

.host-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.host-open {
  grid-column: 1 / -1;
}

.host-form-msg {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.host-form-msg.error {
  color: #cb4a4a;
}

.host-form-msg.success {
  color: #139069;
}

:root[data-theme="dark"] .host-form-msg.error {
  color: #ff9f9f;
}

:root[data-theme="dark"] .host-form-msg.success {
  color: #72f2cb;
}

.host-form-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 20px 40px;
}

.hero {
  position: relative;
  overflow: clip;
  border-radius: 28px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 76%, transparent);
  background:
    radial-gradient(620px 320px at 100% -10%, rgba(17, 116, 242, 0.18), transparent 70%),
    radial-gradient(520px 280px at -5% 110%, rgba(17, 179, 154, 0.14), transparent 72%),
    var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 38px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -110px;
  bottom: -160px;
  border-radius: 999px;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 24%, transparent) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.9;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary-2);
}

h1,
h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  margin-top: 8px;
  font-size: clamp(34px, 5.3vw, 58px);
  line-height: 1.04;
  max-width: 760px;
}

.subtitle {
  margin: 14px 0 0;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 690px;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero-spotlight {
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--surface-strong) 94%, transparent), color-mix(in srgb, var(--chip-bg) 92%, transparent));
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spotlight-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary);
}

.hero-spotlight h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-family: "Sora", sans-serif;
}

.spotlight-meta {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
}

.spotlight-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spotlight-pills span {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--chip-bg);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.spotlight-pills span:first-child {
  border-color: color-mix(in srgb, var(--spot, var(--primary)) 48%, var(--line));
  background: color-mix(in srgb, var(--spot, var(--primary)) 20%, var(--chip-bg));
}

.spotlight-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.spotlight-foot p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-metrics {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-metrics div {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  padding: 14px;
}

.hero-metrics span {
  font-family: "Sora", sans-serif;
  font-size: 31px;
  line-height: 1;
}

.hero-metrics p {
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.panel {
  margin-top: 20px;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.filters {
  padding: 22px;
}

.filter-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.filter-top h2 {
  margin-top: 5px;
  font-size: 29px;
}

.filter-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.filter-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  font-weight: 800;
}

input,
select {
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);
  background: color-mix(in srgb, var(--surface-strong) 90%, transparent);
  color: var(--ink);
  font: inherit;
  padding: 12px;
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

input::placeholder {
  color: color-mix(in srgb, var(--ink-muted) 68%, transparent);
}

input:focus,
select:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--primary) 64%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent);
}

.quick-chip-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-date-row {
  margin-top: 10px;
}

.quick-chip {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 11px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.24s ease, background-color 0.24s ease;
}

.quick-chip:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--primary) 30%, var(--line));
}

.quick-chip.active {
  border-color: color-mix(in srgb, var(--primary) 42%, var(--line));
  background: color-mix(in srgb, var(--primary) 18%, var(--surface-strong));
}

.quick-date-chip {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.active-filters {
  margin-top: 10px;
  min-height: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.active-filter-empty {
  color: var(--ink-muted);
  font-size: 13px;
}

.active-filter-tag {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--chip-bg);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.22s ease;
}

.active-filter-tag:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--primary) 36%, var(--line));
}

.active-filter-tag span {
  font-size: 15px;
  line-height: 1;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 600;
}

.toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--primary);
}

.utility-row {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
}

.utility-controls {
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
}

.filter-row.compact {
  min-width: 210px;
}

.view-switch {
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);
  background: color-mix(in srgb, var(--surface-strong) 90%, transparent);
  padding: 3px;
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.view-btn {
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.view-btn.active {
  color: var(--ink);
  background: color-mix(in srgb, var(--primary) 15%, var(--surface-strong));
}

.sports-strip {
  margin-top: 24px;
}

.sports-strip h2 {
  font-size: 34px;
}

.sports-chips {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--chip-bg);
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.chip .count {
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  padding: 3px 7px;
  font-size: 12px;
}

.launch-note {
  margin-top: 10px;
  color: var(--ink-muted);
}

.results-head {
  margin-top: 26px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.results-head h2 {
  font-size: 33px;
}

#resultMeta {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
}

.grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.grid[data-view="list"] {
  grid-template-columns: 1fr;
}

.map-panel {
  margin-top: 14px;
}

.map-shell {
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--line-strong) 70%, transparent);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  padding: 16px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.map-canvas-wrap {
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--line));
  overflow: hidden;
  min-height: 340px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.map-canvas {
  width: 100%;
  height: 100%;
  min-height: 340px;
  background: color-mix(in srgb, var(--surface-strong) 85%, transparent);
}

.map-side-note {
  margin: 8px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.map-legend {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-legend span {
  border: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
  border-radius: 999px;
  background: var(--chip-bg);
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--swatch, var(--primary));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.map-event-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map-event-item {
  border: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);
  border-radius: 12px;
  background: var(--chip-bg);
  padding: 9px 10px;
}

.map-event-item h4 {
  margin: 0;
  font-size: 13px;
  font-family: "Sora", sans-serif;
}

.map-event-item p {
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-size: 12px;
}

.leaflet-container {
  font-family: "Manrope", sans-serif;
}

:root[data-theme="dark"] .leaflet-popup-content-wrapper,
:root[data-theme="dark"] .leaflet-popup-tip {
  background: #13223a;
  color: #e9efff;
}

:root[data-theme="dark"] .leaflet-control-zoom a {
  background: #1a2f4e;
  color: #e9efff;
  border-color: #2f4a73;
}

:root[data-theme="dark"] .leaflet-control-attribution {
  background: rgba(16, 26, 42, 0.7);
  color: #d3def2;
}

.map-canvas {
  border-radius: 16px;
  overflow: hidden;
}

.map-side {
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 70%, transparent);
  background: var(--surface-strong);
  padding: 16px;
  align-self: start;
  position: sticky;
  top: 14px;
}

.map-side h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 19px;
}

.map-side ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.map-side li {
  border: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);
  border-radius: 12px;
  background: var(--chip-bg);
  padding: 9px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.map-side li strong {
  font-size: 12px;
}

.card {
  --sport-a: #1f74f2;
  --sport-b: #80b5ff;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--line-strong) 70%, transparent);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  animation: floatIn 450ms ease forwards;
  transition: transform 0.22s ease, border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(280px 180px at 110% -5%, color-mix(in srgb, var(--sport-a) 20%, transparent), transparent 70%),
    radial-gradient(220px 160px at -10% 105%, color-mix(in srgb, var(--sport-b) 16%, transparent), transparent 72%);
  pointer-events: none;
  opacity: 0.8;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 52px rgba(23, 37, 61, 0.17);
}

:root[data-theme="dark"] .card:hover {
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.card-media {
  border-radius: 15px;
  padding: 13px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.35), transparent 55%),
    linear-gradient(135deg, var(--sport-a), var(--sport-b));
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.media-icon-shell {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
}

.media-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.media-copy p {
  margin: 0;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.media-copy span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  opacity: 0.9;
}

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

.card-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.favorite-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--ink-muted);
  font: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, border-color 0.24s ease, color 0.24s ease, background-color 0.24s ease;
}

.favorite-btn:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, #e64e77 44%, var(--line));
  color: #e64e77;
}

.favorite-btn.active {
  color: #f85c85;
  border-color: color-mix(in srgb, #f85c85 50%, var(--line));
  background: color-mix(in srgb, #f85c85 14%, var(--surface-strong));
}

.date-tag {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.sport-tag {
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--sport-a) 42%, var(--line));
  background: color-mix(in srgb, var(--sport-a) 17%, transparent);
  color: color-mix(in srgb, var(--sport-a) 68%, var(--ink));
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 10px;
}

.card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.meta {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.42;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--chip-bg);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.pill.status-open {
  border-color: color-mix(in srgb, #12a77a 46%, var(--line));
  background: color-mix(in srgb, #12a77a 16%, var(--chip-bg));
}

.pill.status-closed {
  border-color: color-mix(in srgb, #c35f43 42%, var(--line));
  background: color-mix(in srgb, #c35f43 13%, var(--chip-bg));
}

.card-actions {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.fee {
  font-size: 15px;
  font-weight: 800;
}

.countdown {
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary-2) 16%, transparent);
  color: color-mix(in srgb, var(--primary-2) 76%, var(--ink));
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.card .cta.primary {
  width: 100%;
  margin-top: 2px;
  min-height: 42px;
}

.grid[data-view="list"] .card {
  padding: 16px;
}

.empty {
  margin-top: 18px;
  text-align: center;
  color: var(--ink-muted);
}

.hidden {
  display: none;
}

footer {
  max-width: 1180px;
  margin: 20px auto 30px;
  padding: 0 20px;
}

footer p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.992);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .card,
  .theme-btn,
  .cta,
  .mini-btn,
  .quick-chip,
  .active-filter-tag,
  .favorite-btn {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }

  .reveal {
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .utility-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-shell {
    grid-template-columns: 1fr;
  }

  .map-side {
    position: static;
    top: auto;
  }
}

@media (max-width: 820px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding: 24px 20px;
  }

  .host-form-grid {
    grid-template-columns: 1fr;
  }

  .host-field.full {
    grid-column: auto;
  }

  .host-open {
    grid-column: auto;
  }

  .host-form-actions {
    justify-content: stretch;
    flex-direction: column-reverse;
  }

  .host-form-actions .cta,
  .host-form-actions .mini-btn {
    width: 100%;
  }

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

  .filter-top {
    flex-direction: column;
  }

  .filter-top h2 {
    font-size: 24px;
  }

  .results-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .utility-controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .filter-row.compact {
    width: 100%;
    min-width: 0;
  }

  .view-switch {
    width: 100%;
  }

  .view-btn {
    width: 100%;
  }
}
