@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #0d47a1;
  --blue-mid: #1565c0;
  --blue-soft: #e3f2fd;
  --ink: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.08);
  --bg: #f8fafc;
  --card: #ffffff;
  --yellow: #ffc107;
  --high: #2e7d32;
  --medium: #e65100;
  --low: #c62828;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(13, 71, 161, 0.08);
  --header: 72px;
  --max: 1080px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-bottom: 112px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16.5px;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); }
button, input { font: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid var(--line);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-right: auto;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 22%;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
}

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

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 12px;
}

.nav a[aria-current="page"],
.nav a:hover {
  background: rgba(13, 71, 161, 0.08);
  color: var(--blue);
}

.nav a.btn-accent,
.nav a.btn-accent:hover {
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 14px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 8px 12px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.btn-accent {
  background: var(--yellow);
  color: var(--ink);
}

.btn-accent:hover { filter: brightness(0.97); }

.btn-light {
  background: white;
  color: var(--blue);
}

.btn-outline {
  background: white;
  color: var(--blue);
  box-shadow: inset 0 0 0 1.5px rgba(13, 71, 161, 0.45);
}

.btn-outline:hover { background: var(--blue-soft); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero {
  margin-top: 22px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  color: white;
  border-radius: 28px;
  padding: 36px 28px 32px;
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  max-width: 16ch;
}

.hero p { margin: 0; max-width: 58ch; color: rgba(255, 255, 255, 0.92); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--yellow);
}

.hero-actions, .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.search {
  margin-top: 22px;
  background: white;
  border-radius: 16px;
  padding: 8px;
  display: flex;
  gap: 8px;
}

.search input {
  flex: 1;
  border: 0;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ink);
  outline: none;
  min-width: 0;
}

.search input:focus { box-shadow: inset 0 0 0 2px var(--blue-soft); }

.page-head { padding: 28px 0 8px; }
.page-head h1 {
  margin: 6px 0 8px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.lede { font-size: 18px; color: #334155; max-width: 68ch; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 8px;
}
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--blue); }

.section { padding: 8px 0 20px; }
.section h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.grid-3, .grid-2, .stats {
  display: grid;
  gap: 12px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.stats { grid-template-columns: repeat(3, 1fr); margin: 18px 0 0; padding: 0; list-style: none; }

.card, .list-card, .pro-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card { padding: 18px; }
.card h3 { margin: 0 0 6px; letter-spacing: -0.02em; }
.card p, .pro-card p { margin: 0; color: #334155; }

.stat {
  background: white;
  color: var(--ink);
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.stat span { color: var(--muted); font-size: 14px; font-weight: 600; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
  padding-bottom: 28px;
}

.list-card { overflow: hidden; }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid var(--line);
}
.list-card > .row:first-child,
.list-card > a.row:first-of-type { border-top: 0; }
.row:hover { background: #f8fbff; }
.row__name { font-weight: 700; }
.row__meta { color: var(--muted); font-size: 14px; }

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.badge--high { background: #e8f5e9; color: var(--high); }
.badge--medium { background: #fff3e0; color: var(--medium); }
.badge--low { background: #ffebee; color: var(--low); }
.badge--closed, .badge--unknown { background: #f1f5f9; color: #64748b; }

.city-link {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  font-weight: 700;
}
.city-link span { color: var(--muted); font-weight: 600; font-size: 14px; }
.city-link:hover { border-color: rgba(13, 71, 161, 0.3); }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours th { color: var(--muted); font-weight: 600; width: 42%; }

.compare { width: 100%; border-collapse: collapse; background: white; border-radius: 20px; overflow: hidden; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th { background: #f8fbff; }

details.faq {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
  margin-top: 8px;
}
details.faq summary { cursor: pointer; font-weight: 700; }
details.faq p { margin: 8px 0 4px; color: #334155; }

.pro-banner {
  display: block;
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-radius: 20px;
  padding: 18px;
}
.pro-banner strong { display: block; font-size: 18px; letter-spacing: -0.02em; }
.pro-banner span { color: rgba(255, 255, 255, 0.9); }

.price {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.price strong { font-size: 32px; letter-spacing: -0.04em; }
.price .note { color: var(--muted); font-size: 14px; }
.price .btn-row { margin-top: auto; }
.price .btn { flex: 1 1 140px; }
.price--featured { outline: 2px solid var(--yellow); }

.ad-slot { display: none; margin: 16px 0; }
.ad-slot.is-on {
  display: block;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.ad-slot.is-on:has(ins[data-ad-status="unfilled"]) { display: none; }
.ad-label {
  margin: 0;
  padding: 6px 12px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.ad-slot.is-on .ad-unit { min-height: 90px; }
.ad-slot.is-house.is-on .ad-unit,
.ad-slot--rectangle.is-house.is-on .ad-unit,
.ad-slot--billboard.is-house.is-on .ad-unit {
  min-height: 0;
  height: auto;
  max-height: none;
}
.ad-slot.is-house .sponsor-card { margin: 0; box-shadow: none; border-radius: 0; }
.ad-slot--rectangle.is-on .ad-unit { min-height: 250px; }
.map-banner { padding: 16px 0 0; }
.ad-slot--billboard { margin: 0; }
.ad-slot--billboard.is-on .ad-unit { min-height: 280px; }
.ad-slot--anchor.is-on {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  margin: 0;
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  contain: layout size;
}
.ad-slot--anchor.is-on .ad-unit {
  height: 64px;
  min-height: 64px;
  max-height: 64px;
  overflow: hidden;
}
.ad-slot--anchor.is-house.is-on {
  contain: none;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
.ad-slot--anchor.is-house.is-on .ad-unit {
  height: auto;
  min-height: 0;
  max-height: none;
}
.ad-slot--anchor.is-house .sponsor-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
}
.ad-slot--anchor.is-house .sponsor-card p { margin: 0; }
.ad-slot--anchor.is-house .sponsor-card p:nth-child(2) {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.has-anchor-ad { padding-bottom: 96px; }

.letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 18px; }
.letters a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 800;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
}

.stock-fact { margin: 8px 0 0; font-size: 18px; }
.stock-fact data { font-weight: 800; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.map-stage {
  position: relative;
  height: calc(100dvh - var(--header));
  min-height: 480px;
  background: #dbe4ee;
}

.map-stage ~ .wrap { padding-top: 28px; }

.leaflet-tooltip {
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  border: 0;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 6px 10px;
}

#ov-map,
.map-stage .leaflet-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #dbe4ee;
  font-family: inherit;
}

.map-poster {
  position: absolute;
  inset: 0;
  z-index: 250;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.map-stage.is-live .map-poster {
  visibility: hidden;
}

.map-toolbar {
  position: absolute;
  z-index: 500;
  top: 12px;
  left: 12px;
  width: min(440px, calc(100% - 24px));
}

.map-search { margin: 0; box-shadow: var(--shadow); }
.map-results { margin-top: 8px; max-height: min(320px, 42vh); overflow: auto; border-radius: 16px; }
.map-results:empty { display: none; }

.map-legend {
  position: absolute;
  z-index: 500;
  left: 12px;
  bottom: 108px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
  padding: 8px 12px;
  list-style: none;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: -1px;
}
.swatch--high { background: #2e7d32; }
.swatch--medium { background: #f57c00; }
.swatch--low { background: #d32f2f; }
.swatch--unknown { background: #757575; }

.map-locate,
.map-chip,
.map-status {
  position: absolute;
  z-index: 500;
}

.map-locate {
  display: none;
  right: 12px;
  bottom: 108px;
  box-shadow: var(--shadow);
}

.map-chip,
.map-status {
  left: 50%;
  bottom: 108px;
  transform: translateX(-50%);
  max-width: min(420px, calc(100% - 180px));
  margin: 0;
  border: 0;
  background: white;
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  box-shadow: var(--shadow);
  text-align: center;
}

.map-chip { cursor: pointer; }
.map-status { color: var(--muted); font-weight: 600; }

.leaflet-div-icon.user-dot {
  width: 16px;
  height: 16px;
  background: #1976d2;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(25, 118, 210, 0.28);
}

.station-ad {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 16px;
}

.station-ad__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.station-ad__panel {
  position: relative;
  width: min(520px, 100%);
  max-height: min(92dvh, 760px);
  overflow: auto;
  background: white;
  border-radius: 24px;
  padding: 56px 18px 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.reward-note {
  margin: 0 0 12px;
  font-weight: 700;
}

.station-ad__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  border: 0;
  background: white;
  border-radius: 999px;
  min-width: 44px;
  min-height: 44px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--line);
}

.station-ad__creative { margin-top: 0; }
.station-ad__creative[hidden] { display: none !important; }
.station-ad__creative .ad-unit { min-height: 320px; }
.station-ad__creative:has(.ad-unit:empty) { display: none; }
.station-ad__info {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.station-ad__creative:has(.ad-unit:empty) + .station-ad__info {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.station-ad__info h2 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.station-ad__info p { margin: 0 0 14px; color: #334155; }
.station-ad__info .btn { width: 100%; }
.station-ad__info .btn.is-waiting {
  opacity: 0.55;
  pointer-events: none;
}

body.station-ad-open { overflow: hidden; }

@media (max-width: 900px) {
  .map-toolbar { width: calc(100% - 68px); }
  .map-locate { display: inline-flex; }
  .map-legend { display: none; }
  .map-chip,
  .map-status {
    left: 12px;
    right: 72px;
    bottom: 108px;
    transform: none;
    max-width: none;
  }
  .station-ad { place-items: end stretch; padding: 0; }
  .station-ad__panel {
    width: 100%;
    border-radius: 24px 24px 0 0;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }
}

.search-empty { color: var(--muted); margin: 8px 4px; }
.hero .search-empty { color: rgba(255, 255, 255, 0.92); }
.hero .list-card,
.hero .row,
.hero .row__name { color: var(--ink); }
.hero .row__meta { color: var(--muted); }
.route { white-space: pre-line; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 12px; }

.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}
.site-footer a { color: var(--ink); font-weight: 700; text-decoration: none; }
.site-footer h2 { font-size: 14px; margin: 0 0 8px; color: var(--ink); }
.footer-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-mark img {
  width: 36px;
  height: 36px;
  border-radius: 22%;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 6px; }
.advertise {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 20px;
}
.advertise h2 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.02em; }
.advertise p { margin: 0; color: var(--muted); }
.advertise .btn { flex: 0 0 auto; }

.portal-form { display: grid; gap: 12px; }
.portal-form h2 { margin: 0; }
.portal-form label { display: grid; gap: 6px; font-weight: 700; }
.portal-form input,
.portal-form textarea {
  width: 100%;
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 500;
  color: var(--ink);
  background: white;
}
.portal-form input:focus,
.portal-form textarea:focus { outline: 2px solid var(--blue-soft); }
.portal-note { margin: 0; color: var(--muted); }
.portal-slots { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.portal-slots label { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.btn:disabled { opacity: 0.55; cursor: default; }
body:has([data-ad-portal]) .advertise { display: none; }
body:has([data-ad-portal]) { padding-bottom: 48px; }
.portal-steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.portal-steps li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--muted);
}
.portal-steps li::before {
  counter-increment: portal-step;
  content: counter(portal-step);
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}
.portal-steps { counter-reset: portal-step; }
.portal-switch {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: #f1f5f9;
  border-radius: 14px;
}
.portal-switch button {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 11px;
  padding: 8px 10px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.portal-switch button[aria-selected="true"] {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}
.portal-banner {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
}
.portal-banner--ok { background: #e8f5e9; color: var(--high); }
.portal-banner--bad { background: #ffebee; color: var(--low); }
.portal-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 8px 0 16px;
}
.portal-bar p { margin: 0; font-weight: 700; }
.portal-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.portal-chips button, .portal-days .portal-chips button {
  border: 0;
  background: white;
  color: var(--blue);
  box-shadow: inset 0 0 0 1.5px rgba(13, 71, 161, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}
.portal-chips button[aria-pressed="true"], .portal-days .portal-chips button[aria-pressed="true"] {
  background: var(--blue);
  color: white;
  box-shadow: none;
}
.portal .card h3 { margin: 0 0 6px; }
.portal .list-card {
  background: white;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.portal .list-card:empty { display: none; }
.list-card button.row {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  background: white;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.list-card > button.row:first-child { border-top: 0; }
.row--city { background: #f8fbff; }
.row--selected { background: var(--blue-soft); }
.portal-compose {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 16px;
  align-items: start;
}
.portal-choice { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.portal-choice h2 { margin: 0; }
.portal-kicker {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.portal-price { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.portal-price span { font-size: 16px; font-weight: 600; color: var(--muted); }
.portal-count { font-weight: 600; color: var(--muted); font-size: 13px; }
.portal-file { display: grid; gap: 8px; }
.portal-file label {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1.5px rgba(13, 71, 161, 0.28);
  cursor: pointer;
  font-weight: 700;
}
.portal-file input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.portal-days { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.portal-days legend { font-weight: 800; }
.portal-preview { position: sticky; top: calc(var(--header) + 12px); }
.portal-inline { display: grid; gap: 8px; margin-top: 8px; }
.portal-inline input,
.btn-row input {
  width: 100%;
  max-width: 280px;
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: white;
}
@media (max-width: 860px) {
  .portal-compose, .portal-bar { grid-template-columns: 1fr; display: grid; }
  .portal-preview { position: static; }
}

.sponsor-card {
  margin: 0 0 16px;
  padding: 16px 18px;
  background: white;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line);
}
.sponsor-card p { margin: 0 0 8px; }
.sponsor-card__name { font-weight: 800; }
.sponsor-card__image {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 10px;
}
.site-footer .advertise a:not(.btn) { color: var(--blue); }

@media (max-width: 860px) {
  .grid-3, .grid-2, .stats, .layout, .footer-grid { grid-template-columns: 1fr; }
  .advertise { flex-direction: column; align-items: stretch; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
    background: rgba(248, 250, 252, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row__meta { grid-column: 1; }
  .hero { padding: 26px 18px; }
  .search { flex-direction: column; }
  .map-search { flex-direction: row; }
}
