:root {
  color-scheme: light;
  --bg: #f5f7fa;
  --ink: #07182b;
  --muted: #627086;
  --line: #dfe5ec;
  --panel: #ffffff;
  --brand: #c99a2e;
  --brand-dark: #07182b;
  --navy: #07182b;
  --navy-2: #0d2741;
  --blue: #07182b;
  --green: #c99a2e;
  --gold: #c99a2e;
  --soft-gold: #f5ecd8;
  --shadow: 0 14px 30px rgba(7, 24, 43, 0.12);
  --radius: 8px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  background: var(--bg);
  overflow-x: hidden;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  min-width: 0;
}

body.native-embedded {
  --safe-bottom: 0px;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  min-height: 100vh;
  padding-bottom: calc(88px + var(--safe-bottom));
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(201, 154, 46, 0.24);
  background: rgba(7, 24, 43, 0.96);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
}

.brand-mark {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-mark img {
  width: 82px;
  height: auto;
  flex: 0 0 auto;
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong,
.brand-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 18px;
}

.brand-copy span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 700;
}

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

.desktop-nav a,
.source-link {
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  padding: 10px 13px;
}

.desktop-nav a.active {
  color: var(--navy);
  background: var(--brand);
}

.source-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(201, 154, 46, 0.5);
}

.source-link:focus-visible,
.desktop-nav a:focus-visible,
.tabbar a:focus-visible,
.story-card:focus-visible {
  outline: 3px solid rgba(201, 154, 46, 0.5);
  outline-offset: 3px;
}

.lead-band {
  background: var(--navy);
}

.lead {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
}

.hero-story {
  position: relative;
  display: flex;
  min-height: 390px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--navy-2);
  box-shadow: var(--shadow);
}

.hero-story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-story::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 24, 43, 0.88), rgba(7, 24, 43, 0.2)),
    linear-gradient(0deg, rgba(7, 24, 43, 0.7), transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  max-width: 660px;
  padding: 28px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-content .kicker {
  color: var(--brand);
}

.kicker::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin: 0;
  overflow-wrap: break-word;
}

h1 {
  margin-top: 12px;
  font-size: 56px;
  line-height: 0.95;
}

.hero-content p {
  max-width: 560px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.45;
}

.lead-stack {
  display: grid;
  min-width: 0;
  gap: 16px;
}

.lead-side-stories {
  display: grid;
  min-width: 0;
  gap: 16px;
}

.lead > *,
.video-hero > *,
.weather-page > *,
.story-grid > *,
.sports-grid > *,
.video-grid > *,
.score-strip > *,
.alert-strip > * {
  min-width: 0;
}

.headline-card,
.weather-mini {
  min-height: 0;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.headline-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  color: var(--ink);
}

.headline-card img {
  width: 118px;
  height: 100%;
  min-height: 124px;
  object-fit: cover;
}

.headline-card-content {
  min-width: 0;
  padding: 16px;
}

.headline-card h3,
.story-card h3,
.video-card h3 {
  font-size: 17px;
  line-height: 1.16;
}

.headline-card p,
.story-card p,
.video-card p,
.weather-mini p,
.section-heading p,
.weather-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.headline-card p {
  margin-top: 8px;
}

.weather-mini {
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 18px;
  border-top: 5px solid var(--brand);
}

.weather-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.weather-mini-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
}

.weather-current strong {
  font-size: 44px;
  line-height: 1;
}

.weather-current span {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.page-section {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 38px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: 24px;
  line-height: 1.08;
}

.section-heading p {
  max-width: 520px;
}

.story-grid,
.sports-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.story-card,
.video-card,
.score-card,
.forecast-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 8px 20px rgba(7, 24, 43, 0.06);
}

.story-card img,
.video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #d8d3ca;
}

.story-card-content,
.video-card-content {
  display: block;
  padding: 22px 24px 24px;
}

.score-card,
.forecast-card {
  padding: 17px;
}

.story-card-content .kicker,
.video-card-content .kicker {
  margin-bottom: 8px;
}

.story-card p,
.video-card p {
  margin-top: 8px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: var(--soft-gold);
  color: var(--navy);
  padding: 4px 9px;
}

.exclusive-section {
  padding-bottom: 12px;
}

.exclusive-section .section-heading {
  align-items: flex-start;
  text-align: left;
}

.exclusive-section .section-heading > div {
  min-width: 0;
}

.notification-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.notification-button.is-enabled {
  background: var(--brand);
  color: var(--navy);
}

.settings-page {
  min-height: calc(100vh - 70px);
  background: #ffffff;
}

.settings-hero {
  color: #ffffff;
  background: var(--navy);
}

.settings-hero-inner,
.settings-content {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

.settings-hero-inner {
  padding: 42px 0 38px;
}

.settings-hero h1 {
  margin-top: 10px;
  font-size: 44px;
  line-height: 1;
}

.settings-hero p {
  max-width: 600px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.settings-content {
  padding: 8px 0 48px;
}

.settings-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.settings-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.settings-section-heading h2 {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.1;
}

.settings-section-heading p,
.settings-privacy {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.settings-list {
  border-top: 1px solid var(--line);
}

.settings-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.settings-master-row {
  min-height: 78px;
  border-top: 1px solid var(--line);
}

.settings-row > span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.settings-row strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 950;
}

.settings-row small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.settings-row input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.settings-row i {
  position: relative;
  width: 48px;
  height: 28px;
  border-radius: 14px;
  background: #b8c0ca;
  transition: background 160ms ease;
}

.settings-row i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(7, 24, 43, 0.28);
  content: '';
  transition: transform 160ms ease;
}

.settings-row input:checked + i {
  background: var(--brand);
}

.settings-row input:checked + i::after {
  transform: translateX(20px);
}

.settings-row input:disabled + i {
  opacity: 0.48;
}

.settings-row input:focus-visible + i {
  box-shadow: 0 0 0 3px rgba(201, 154, 46, 0.3);
}

.settings-action,
.settings-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: var(--radius);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.settings-action {
  border: 0;
  color: #ffffff;
  background: var(--navy);
}

.settings-action.is-enabled {
  color: var(--navy);
  background: var(--brand);
}

.settings-secondary {
  border: 1px solid var(--line);
  color: var(--navy);
  background: #ffffff;
}

.settings-action:disabled {
  opacity: 0.62;
  cursor: wait;
}

.settings-location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.settings-privacy {
  max-width: 620px;
  margin-top: 16px;
}

.empty-exclusive {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
  border: 1px dashed rgba(7, 24, 43, 0.22);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 24px;
  color: var(--muted);
  font-weight: 800;
}

.story-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.story-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  background: var(--soft-gold);
  color: var(--navy);
  padding: 0 13px;
  font-size: 13px;
  font-weight: 950;
}

.weather-band {
  background: #eef2f6;
}

.weather-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.weather-hero,
.weather-detail {
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}

.weather-hero {
  min-height: 330px;
  padding: 24px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(7, 24, 43, 0.94), rgba(13, 39, 65, 0.9) 58%, rgba(201, 154, 46, 0.34)),
    url("https://static.wixstatic.com/media/bfed6a_3e7346583ad04ab0954e8b6878c428ac%7Emv2.jpg/v1/fit/w_2500,h_1330,al_c/bfed6a_3e7346583ad04ab0954e8b6878c428ac%7Emv2.jpg")
      center / cover;
}

.weather-hero h1 {
  margin-top: 18px;
}

.weather-hero .weather-copy {
  max-width: 420px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.84);
}

.big-temp {
  margin-top: 28px;
  font-size: 76px;
  font-weight: 950;
  line-height: 0.9;
}

.weather-detail {
  padding: 18px;
}

.forecast-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.forecast-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.forecast-card strong,
.score-card strong {
  display: block;
  font-size: 16px;
}

.forecast-card span,
.score-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

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

.alert-strip div {
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 14px;
}

.alert-strip strong {
  display: block;
  color: var(--brand-dark);
  font-size: 14px;
}

.alert-strip span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.score-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.feed-status {
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.brief-schedule { display: grid; gap: 16px; padding: 18px 0; }
.brief-schedule[hidden] { display: none; }
.brief-schedule label { display: grid; gap: 8px; font-weight: 600; }
.brief-schedule label[hidden] { display: none; }
.brief-schedule input, .brief-schedule select { min-height: 48px; width: 100%; padding: 10px; border: 1px solid #CBD3DD; border-radius: 6px; font: inherit; color: #07182B; background: #FFFFFF; }
.brief-story { padding: 12px 0; border-bottom: 1px solid #DFE5EC; }
.brief-story h4 { font-size: 18px; margin: 0 0 8px; }
.story-reader-image[hidden] { display: none; }

body.story-reader-open {
  overflow: hidden;
}

.story-reader {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  color: var(--ink);
}

.story-reader.open {
  display: grid;
  place-items: center;
  padding: 24px;
}

.story-reader-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 43, 0.64);
  backdrop-filter: blur(4px);
}

.story-reader-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(800px, 100%);
  height: min(960px, calc(100dvh - 48px));
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  outline: none;
}

.story-reader-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 60px;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding: 6px 24px;
}

.story-reader-source {
  display: flex;
  align-items: center;
}

.story-reader-source img {
  display: block;
  width: 46px;
  height: 34px;
  object-fit: contain;
}

.story-reader-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #ffffff;
  padding: 0 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.story-reader-close img {
  width: 22px;
  height: 22px;
  filter: invert(1);
}

.story-reader-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.story-reader-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.story-reader-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  margin: 24px 0;
  object-fit: contain;
  background: var(--bg);
}

.story-reader-body {
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.story-reader-content {
  width: min(100%, 736px);
  margin: 0 auto;
  padding: 32px 32px calc(40px + var(--safe-bottom));
  overflow-wrap: anywhere;
}

.story-reader-category {
  color: #806117;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  text-transform: uppercase;
}

.story-reader-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.story-reader-meta time {
  overflow-wrap: anywhere;
}

.story-reader-body h2 {
  margin: 12px 0 0;
  color: var(--navy);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.18;
  text-wrap: pretty;
}

.story-reader-body p {
  margin: 0 0 22px;
  color: #253245;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
}

.story-reader-full {
  margin-top: 0;
}

.story-reader-full p {
  color: #20242b;
}

.story-reader-body .story-reader-lead {
  margin-top: 24px;
}

.story-reader-lead:empty,
.story-reader-status:empty,
.story-reader-meta:not(:has(time:not([hidden]))) {
  display: none;
}

.story-reader-body .story-reader-status {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 20px 0 0;
}

.story-reader-full h3 {
  margin: 28px 0 16px;
  font-size: 22px;
  line-height: 1.3;
}

.story-reader-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.story-reader-actions:not(:has(button:not([hidden]), a:not([hidden]))) {
  display: none;
}

.story-reader-actions button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: var(--navy);
  padding: 10px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.story-reader-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.story-reader-full .story-links {
  display: grid;
  gap: 8px;
  padding: 16px 0;
}

.story-reader-full .story-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.score-card {
  border-top: 4px solid var(--brand);
}

.score-card:nth-child(2) {
  border-top-color: var(--navy);
}

.score-card:nth-child(3) {
  border-top-color: var(--brand);
}

.score-card:nth-child(4) {
  border-top-color: var(--navy);
}

.video-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 16px;
}

.video-feature {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--navy);
}

.video-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-feature::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.58);
}

.video-feature-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: 330px;
  padding: 24px;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
}

.play-badge::before {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #ffffff;
  content: "";
}

.video-feature h1 {
  margin-top: 18px;
}

.video-side {
  display: grid;
  gap: 12px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 110px;
  color: var(--muted);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  font-size: 13px;
  font-weight: 750;
}

.tabbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  padding: 10px 12px calc(10px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(7, 24, 43, 0.14);
  backdrop-filter: blur(18px);
}

body.native-embedded .tabbar {
  display: none;
}

body.native-embedded .app-shell { padding-bottom: 0; min-height: 100dvh; }
body.native-embedded .footer { padding-bottom: 24px; }
body.native-embedded .desktop-nav { display: none; }
body.native-embedded .card-overlay { padding-bottom: 24px; }
body.native-embedded .action-rail { bottom: 24px; }
body.native-embedded .story-reader-top { padding-top: 6px; }

.business-page h1 { font-size: 32px; line-height: 1.15; margin: 0; }
.business-empty { grid-column: 1 / -1; padding: 40px 20px; text-align: center; }
.business-empty img { width: 88px; height: 88px; object-fit: contain; background: var(--navy); padding: 12px; border-radius: 8px; }
.business-empty h2 { font-size: 22px; margin: 18px 0 8px; }
.business-empty p { color: var(--muted); line-height: 1.6; }

.quick-push-section { width: min(1120px, calc(100% - 40px)); margin: 24px auto; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quick-push-section .admin-form { display: grid; gap: 16px; }
.push-city-search { position: relative; display: grid; gap: 8px; align-content: start; }
#quick-push-cities { display: grid; }
#quick-push-cities button { background: #FFF; border: 1px solid var(--line); text-align: left; min-height: 48px; padding: 12px; font: inherit; cursor: pointer; }
.push-review { border-left: 4px solid var(--gold); background: #FFF; padding: 20px; margin-top: 20px; overflow-wrap: anywhere; }
.push-review h3 { margin: 10px 0; font-size: 20px; }
.push-review p { line-height: 1.5; }
.push-review button { min-height: 48px; }
#quick-push-map { height: 420px; width: 100%; min-width: 0; margin-top: 16px; border: 1px solid var(--line); border-radius: 8px; z-index: 0; }
#quick-push-map .leaflet-bar a { width: 36px; height: 36px; line-height: 36px; }
#quick-push-map .leaflet-draw-toolbar a { background-position-x: 6px; }
#quick-push-map .leaflet-draw-toolbar a.leaflet-draw-draw-polygon { background-position: -26px -2px; }
#quick-push-map .leaflet-draw-toolbar a.leaflet-draw-draw-rectangle { background-position: -56px -2px; }
#quick-push-map .leaflet-draw-toolbar a.leaflet-draw-edit-edit { background-position: -146px -2px; }
#quick-push-map .leaflet-draw-toolbar a.leaflet-draw-edit-remove { background-position: -176px -2px; }
.push-diagnostics { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.push-diagnostics button { min-height: 44px; padding: 10px 16px; font: inherit; cursor: pointer; background: #FFF; color: var(--navy); border: 1px solid var(--line); border-radius: 8px; }

@media (max-width: 560px) {
  .quick-push-section { width: calc(100% - 32px); }
  .tabbar { padding: 4px 4px calc(4px + var(--safe-bottom)); }
  .tabbar-inner { gap: 2px; }
  .tabbar a { font-size: 11px; min-height: 56px; }
  .business-page h1 { font-size: 28px; }
  .admin-two-col { grid-template-columns: minmax(0, 1fr); }
  input, select, textarea { font-size: 16px; }
  .story-reader-panel { width: 100%; border-radius: 0; }
}

.tabbar-inner {
  display: grid;
  grid-template-columns: repeat(var(--tab-count, 4), minmax(0, 1fr));
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
}

.tabbar a {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 56px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #536176;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.tabbar a.active {
  color: var(--navy);
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(201, 154, 46, 0.24);
}

.status-note {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 800;
}

body[data-page="video"] {
  background: var(--navy);
}

.sponsor-slot[hidden], .sponsor-controls[hidden], .sponsor-preview[hidden] { display: none; }
.sponsor-slot { background: #fff; border-block: 1px solid var(--line); color: var(--navy); }
.sponsor-inner { width: min(100%, 840px); margin-inline: auto; padding: 8px 20px 16px; }
.sponsor-top { min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sponsor-label { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--muted); }
.sponsor-controls { display: flex; align-items: center; gap: 2px; }
.sponsor-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; background: transparent; color: var(--navy); border: 0; border-radius: 4px; cursor: pointer; }
.sponsor-controls button:hover { background: #f1f4f7; }
.sponsor-controls button:focus-visible, .sponsor-stage a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sponsor-controls button img { width: 20px; height: 20px; }
.sponsor-controls span { min-width: 36px; font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.sponsor-stage { width: 100%; aspect-ratio: 4 / 1; overflow: hidden; }
.sponsor-stage a, .sponsor-stage img { display: block; width: 100%; height: 100%; }
.sponsor-stage img { object-fit: contain; }
.sponsor-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 100%; height: 100%; background: #07182b; border: 1px solid #c99a2e; color: #fff; padding: 8px; text-align: center; }
.sponsor-placeholder span { font-size: 20px; font-weight: 700; line-height: 1.25; }
.sponsor-placeholder small { color: #e3bc60; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.business-page .sponsor-slot { margin-bottom: 24px; }
.sponsor-slot-video { position: fixed; z-index: 30; left: 50%; transform: translateX(-50%); width: min(100%, 620px); }
.sponsor-slot-video .sponsor-inner { max-width: 520px; padding: 0 16px 10px; }
body[data-page="video"] .card-youtube-wrap { top: var(--video-sponsor-top, calc(env(safe-area-inset-top, 0px) + 82px)); }
.admin-header-links { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-sponsors { margin-top: 24px; padding: 28px max(20px, calc((100% - 1116px) / 2)); background: #fff; border-block: 1px solid var(--line); scroll-margin-top: 20px; }
.admin-sponsor-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.sponsor-requirements { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0; }
.sponsor-requirements strong { color: var(--navy); display: block; }
.sponsor-preview { width: 100%; aspect-ratio: 4 / 1; object-fit: contain; background: #f1f4f7; border: 1px solid var(--line); }
.sponsor-pages { margin: 0; padding: 12px 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
.sponsor-pages legend { font-size: 13px; font-weight: 800; }
.admin-form .sponsor-pages label, .admin-form label.sponsor-active { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; }
.admin-form .sponsor-pages input, .admin-form .sponsor-active input { width: 20px; height: 20px; accent-color: var(--navy); flex-shrink: 0; }
.admin-form button:disabled, .sponsor-library button:disabled { opacity: 0.55; cursor: wait; }
.sponsor-library { min-width: 0; }
.sponsor-library-heading { display: flex; align-items: center; justify-content: space-between; }
.sponsor-library-heading h3 { margin: 0; font-size: 19px; }
.sponsor-library-heading button { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 4px; font-size: 24px; cursor: pointer; }
.sponsor-library-item { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 16px; background: #fff; }
.sponsor-library-item > img { width: 100%; height: auto; aspect-ratio: 4 / 1; object-fit: contain; background: #f1f4f7; display: block; }
.sponsor-item-info { padding: 14px; }
.sponsor-item-info h4 { margin: 0 0 6px; font-size: 17px; overflow-wrap: anywhere; }
.sponsor-item-info p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.sponsor-state { font-size: 12px; font-weight: 800; color: var(--muted); }
.sponsor-state.is-active { color: #21734b; }
.admin-sponsors .admin-story-actions button, .admin-sponsors .admin-actions button { min-height: 44px; }
@media (max-width: 720px) {
  .admin-sponsor-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sponsor-inner { padding-inline: 16px; }
  .admin-header-links .source-link { font-size: 12px; padding-inline: 10px; }
}

.updates-app-shell {
  min-height: 100dvh;
  background: var(--navy);
}

.updates-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 620px);
  min-height: 82px;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 22px 14px;
  transform: translateX(-50%);
  background: rgba(7, 24, 43, 0.9);
  color: #ffffff;
}

.updates-brand {
  display: inline-flex;
  align-items: center;
}

.updates-brand img {
  width: 76px;
  height: auto;
}

.updates-location-pill,
.updates-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 24, 43, 0.92);
  color: #ffffff;
  font: 900 20px/1 system-ui, sans-serif;
}

.updates-location-pill {
  max-width: min(58vw, 300px);
  gap: 10px;
  padding: 0 20px;
  overflow: hidden;
}

.updates-location-pill span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.updates-refresh {
  width: 52px;
  cursor: pointer;
}

.updates-feed {
  width: min(100%, 620px);
  height: 100dvh;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--navy);
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.updates-feed::-webkit-scrollbar {
  display: none;
}

.update-card {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: var(--navy);
  color: #ffffff;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.card-video-container,
.card-youtube-wrap,
.card-youtube-poster,
.card-youtube-embed,
.card-gradient,
.card-overlay {
  position: absolute;
  inset: 0;
}

.card-video-container {
  z-index: 0;
}

.card-youtube-wrap {
  top: calc(env(safe-area-inset-top, 0px) + 82px);
  bottom: 0;
  background: #061321;
}

.card-youtube-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04);
}

.card-youtube-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.18);
}

.card-youtube-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 11, 11, 0.78);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.44);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.card-youtube-play-btn::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 23px solid #ffffff;
  content: "";
  transform: translate(-40%, -50%);
}

.card-youtube-embed {
  z-index: 8;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000000;
}

.card-gradient {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0) 34%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.08) 54%);
  pointer-events: none;
}

.card-overlay {
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: calc(env(safe-area-inset-top, 0px) + 108px) 96px calc(env(safe-area-inset-bottom, 0px) + 112px) 20px;
  pointer-events: none;
}

.card-content-wrapper {
  width: min(100%, 380px);
  padding: 18px;
  border: 1px solid rgba(201, 154, 46, 0.22);
  border-radius: 22px;
  background: rgba(7, 24, 43, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  transform: translateY(14px);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.update-card.is-visible .card-content-wrapper {
  transform: translateY(0);
  opacity: 1;
}

.card-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #e2bd66);
  color: var(--navy);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 950;
}

.card-title {
  margin-top: 12px;
  font-size: 34px;
  line-height: 0.96;
  color: #ffffff;
}

.card-summary {
  display: -webkit-box;
  margin-top: 10px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

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

.meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 0 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: var(--navy);
  padding: 0 18px;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
}

.card-cta:disabled {
  cursor: default;
  opacity: 0.72;
}

.action-rail {
  position: absolute;
  right: 18px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 108px);
  z-index: 4;
  display: grid;
  gap: 14px;
}

.rail-action {
  display: grid;
  place-items: center;
  width: 58px;
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  background: rgba(7, 24, 43, 0.78);
  color: #ffffff;
  font: 900 24px/1 system-ui, sans-serif;
  cursor: pointer;
}

.rail-action span {
  margin-top: 4px;
  font-size: 10px;
}

.rail-action .rail-heart {
  margin-top: 0;
  font-size: 24px;
}

.rail-action.liked {
  color: var(--brand);
}

.rail-action:disabled {
  cursor: default;
  opacity: 0.78;
}

.updates-tabbar {
  background: rgba(7, 24, 43, 0.86);
  border-color: rgba(201, 154, 46, 0.2);
}

.updates-tabbar .tabbar-inner {
  max-width: 432px;
}

.updates-tabbar a {
  color: rgba(255, 255, 255, 0.68);
}

.updates-tabbar a.active {
  background: var(--brand);
  color: var(--navy);
}

.updates-tutorial {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(14px);
}

.updates-tutorial.is-hidden {
  display: none;
}

.updates-tutorial-card {
  width: min(calc(100vw - 32px), 420px);
  max-width: 100%;
  border: 1px solid rgba(201, 154, 46, 0.22);
  border-radius: 24px;
  background: rgba(7, 24, 43, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  color: #ffffff;
  padding: 18px;
}

.updates-tutorial-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.updates-tutorial-title {
  margin-top: 14px;
  font-size: 28px;
  line-height: 1.05;
}

.updates-tutorial-copy,
.updates-tutorial-footnote {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.updates-tutorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.updates-tutorial-tip {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  padding: 14px;
}

.updates-tutorial-tip strong {
  display: block;
  color: var(--brand);
  font-size: 26px;
}

.updates-tutorial-tip span,
.updates-tutorial-tip small {
  display: block;
}

.updates-tutorial-tip span {
  margin-top: 8px;
  font-weight: 950;
}

.updates-tutorial-tip small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.updates-tutorial-close {
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  border: 0;
  border-radius: 16px;
  background: var(--brand);
  color: var(--navy);
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
}

.wp-like-weather-page {
  --weather-header-height: 70px;
  background: #ffffff;
}

.wp-weather-hero {
  background: #ffffff;
  color: var(--navy);
  scroll-margin-top: var(--weather-header-height);
}

.wp-weather-hero-inner {
  display: grid;
  gap: 28px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
}

.weather-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.weather-heading h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
}

.weather-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
}

.wp-weather-current {
  min-width: 0;
}

.wp-weather-current .wp-kicker {
  color: #806117;
}

.wp-kicker {
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wp-hero-temp {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.wp-hero-weather-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.wp-hero-weather-icon {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.wp-hero-weather-row .wp-hero-temp {
  margin-top: 0;
}

.weather-condition-copy {
  min-width: 0;
}

.weather-condition-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.wp-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.wp-hero-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.wp-hero-stats strong {
  color: var(--navy);
  font-size: 14px;
}

.weather-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.weather-status:empty,
.wp-location-status:empty {
  display: none;
}

.wp-location-search {
  display: grid;
  gap: 8px;
  width: min(100%, 440px);
  margin: 0;
}

.wp-location-search label,
.wp-location-status {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.wp-location-search label {
  color: var(--navy);
}

.wp-location-input-row {
  display: flex;
  gap: 8px;
  min-width: 0;
}

.wp-location-input-row input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--navy);
  padding: 0 14px;
  font: 600 16px/1.3 Inter, ui-sans-serif, system-ui, sans-serif;
}

.wp-location-input-row input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(201, 154, 46, 0.3);
  outline: 0;
}

.wp-location-input-row button {
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--navy);
  padding: 0 18px;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.wp-location-results {
  display: grid;
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid rgba(201, 154, 46, 0.36);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.wp-location-result {
  display: grid;
  gap: 3px;
  width: 100%;
  min-height: 56px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  color: var(--navy);
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
}

.wp-location-result:last-child {
  border-bottom: 0;
}

.wp-location-result:hover,
.wp-location-result:focus-visible {
  background: var(--soft-gold);
  outline: 0;
}

.wp-location-result strong {
  font-size: 14px;
  line-height: 1.15;
}

.wp-location-result span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.wp-hero-news {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(18, 20, 26, 0.76);
  padding: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.wp-hero-news strong {
  color: #ffffff;
  font-size: 21px;
  line-height: 1.1;
}

.wp-hero-news span:last-child {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.38;
}

.wp-section-rail {
  position: sticky;
  top: var(--weather-header-height);
  z-index: 9;
  display: flex;
  gap: 4px;
  width: 100%;
  overflow-x: clip;
  border-bottom: 1px solid rgba(18, 31, 51, 0.1);
  background: #ffffff;
  padding: 0 max(16px, calc((100% - 1120px) / 2));
  scrollbar-width: none;
}

.wp-section-rail::-webkit-scrollbar {
  display: none;
}

.wp-section-tab {
  display: grid;
  place-items: center;
  min-height: 48px;
  min-width: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  padding: 12px 24px 9px;
  font-size: 14px;
  font-weight: 700;
}

.wp-section-tab.active {
  color: var(--navy);
  border-color: var(--gold);
}

.wp-content-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 32px;
}

.weather-section {
  min-width: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--weather-header-height) + 64px);
}

.weather-section:last-child {
  border-bottom: 0;
}

.wp-section-tab:focus-visible,
.wp-hourly-strip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.weather-section .wp-card-header h2 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.3;
}

.weather-section .wp-card-header small {
  font-size: 12px;
  font-weight: 500;
}

.wp-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(7, 24, 43, 0.07);
  padding: 24px;
}

.wp-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.wp-card-header span {
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.wp-card-header small {
  color: #647184;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.wp-news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wp-news-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #f8fafc;
}

.wp-news-item img {
  width: 116px;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
}

.wp-news-item span {
  min-width: 0;
  padding: 12px 12px 12px 0;
}

.wp-news-item small,
.wp-news-item strong,
.wp-news-item em {
  display: block;
}

.wp-news-item small {
  color: var(--brand);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.wp-news-item strong {
  margin-top: 5px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.16;
}

.wp-news-item em {
  margin-top: 8px;
  color: #647184;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.wp-conditions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin: 0;
}

.wp-conditions-grid .condition-tile {
  min-width: 0;
  border-left: 2px solid var(--line);
  padding: 0 0 0 14px;
}

.wp-conditions-grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.wp-conditions-grid dd {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.wp-forecast-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.wp-forecast-strip .forecast-card {
  min-height: 80px;
  grid-template-columns: minmax(0, 1fr) 52px 60px 94px;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.wp-forecast-strip .forecast-card:last-child {
  border-bottom: 0;
}

.forecast-description {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.wp-forecast-strip .forecast-description span {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.wp-forecast-strip .forecast-description strong {
  font-size: 15px;
}

.forecast-rain {
  text-align: center;
}

.forecast-rain small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 400;
}

.forecast-temperatures {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  font-variant-numeric: tabular-nums;
}

.wp-forecast-strip .forecast-temperatures strong,
.wp-forecast-strip .forecast-temperatures span {
  font-size: 18px;
  line-height: 1.3;
}

.forecast-icon,
.hour-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.wp-hourly-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 96px;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}

.hourly-card {
  display: grid;
  align-content: space-between;
  justify-items: center;
  grid-template-rows: 18px 48px 30px 18px auto;
  gap: 6px;
  min-height: 192px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  padding: 12px 8px;
  text-align: center;
  scroll-snap-align: start;
}

.hourly-card span {
  color: #647184;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.hourly-card strong {
  color: var(--navy);
  font-size: 26px;
  line-height: 1;
}

.hourly-card small,
.hourly-card em {
  color: #647184;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25;
}

.wp-radar-map-shell {
  position: relative;
  height: 420px;
  overflow: hidden;
  border: 1px solid rgba(18, 31, 51, 0.12);
  border-radius: 8px;
  background: #dbe4ee;
}

.wp-radar-map {
  position: absolute;
  inset: 0;
  cursor: grab;
}

.wp-radar-map:active {
  cursor: grabbing;
}

.wp-radar-map .leaflet-control-zoom {
  border: 1px solid rgba(7, 24, 43, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(7, 24, 43, 0.16);
}

.wp-radar-map.leaflet-container .leaflet-control-zoom a {
  background: #ffffff;
  color: var(--navy);
  font-weight: 950;
  width: 44px;
  height: 44px;
  line-height: 44px;
}

.wp-radar-map .leaflet-control-attribution {
  max-width: calc(100% - 16px);
  font-size: 10px;
  overflow-wrap: anywhere;
}

.wp-radar-map .leaflet-control-zoom a:hover {
  background: var(--brand);
  color: var(--navy);
}

.wp-radar-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(12, 18, 26, 0.58);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.wp-radar-overlay.hidden {
  display: none;
}

.admin-shell {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1160px, calc(100% - 40px));
  min-height: 76px;
  margin: 16px auto 0;
  border: 1px solid rgba(201, 154, 46, 0.24);
  border-radius: var(--radius);
  background: var(--navy);
  padding: 0 18px;
}

.admin-shell .brand-copy strong {
  color: #ffffff;
}

.admin-shell .brand-copy span {
  color: rgba(255, 255, 255, 0.76);
}

.admin-shell .source-link {
  border-color: rgba(201, 154, 46, 0.5);
  color: #ffffff;
}

.admin-access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 24px;
  width: min(1160px, calc(100% - 40px));
  margin: 18px auto 0;
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(7, 24, 43, 0.08);
}

.admin-access-copy {
  display: grid;
  gap: 7px;
}

.admin-access-copy h1 {
  margin: 0;
  color: var(--navy);
  font-size: 26px;
  line-height: 1;
}

.admin-access-copy p,
.admin-token-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.admin-token-control {
  display: grid;
  gap: 8px;
}

.admin-token-control > label {
  color: var(--navy);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-token-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.admin-token-input-row input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  color: var(--navy);
  padding: 0 12px;
  font: 800 14px/1.35 Inter, ui-sans-serif, system-ui, sans-serif;
}

.admin-token-input-row input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(201, 154, 46, 0.24);
  outline: 0;
}

.admin-token-input-row button {
  min-width: 68px;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  color: #ffffff;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.admin-token-status.is-saved {
  color: #2d6847;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 44px;
}

.admin-navigation-panel {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 44px;
}

.admin-navigation-panel .admin-panel-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.admin-tab-settings {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-tab-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  padding: 14px;
  cursor: pointer;
}

.admin-tab-toggle > span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-tab-toggle strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 950;
}

.admin-tab-toggle small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}

.admin-tab-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-tab-toggle i {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 13px;
  background: #b8c0ca;
  transition: background 160ms ease;
}

.admin-tab-toggle i::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(7, 24, 43, 0.3);
  transition: transform 160ms ease;
}

.admin-tab-toggle input:checked + i {
  background: var(--brand);
}

.admin-tab-toggle input:checked + i::after {
  transform: translateX(20px);
}

.admin-tab-toggle input:focus-visible + i {
  box-shadow: 0 0 0 3px rgba(201, 154, 46, 0.28);
}

.admin-navigation-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.admin-navigation-actions button {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--navy);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.admin-navigation-actions .admin-status {
  margin: 0;
}

.admin-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(7, 24, 43, 0.07);
  padding: 22px;
}

.admin-panel-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.admin-panel-heading h1,
.admin-panel-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
}

.admin-form,
.admin-form label,
.admin-links {
  display: grid;
  gap: 10px;
}

.admin-form label span,
.admin-links-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  color: var(--navy);
  padding: 12px;
  font: 800 14px/1.35 Inter, ui-sans-serif, system-ui, sans-serif;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(201, 154, 46, 0.24);
  outline: 0;
}

.admin-two-col,
.admin-link-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-links-head,
.admin-actions,
.admin-story-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-links-head {
  justify-content: space-between;
}

.admin-link-row {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) auto;
  margin-top: 10px;
}

.admin-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.admin-check input {
  width: 18px;
  min-height: 18px;
}

.admin-form button,
.admin-story-actions button {
  min-height: 40px;
  border: 0;
  border-radius: var(--radius);
  background: var(--soft-gold);
  color: var(--navy);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.admin-form .admin-primary {
  background: var(--brand);
}

.admin-status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.admin-status.is-error {
  color: #a33a22;
}

.admin-story-list {
  display: grid;
  gap: 14px;
}

.admin-story-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #f8fafc;
}

.admin-story-item img,
.admin-story-placeholder {
  width: 116px;
  height: 100%;
  min-height: 132px;
}

.admin-story-item img {
  object-fit: cover;
}

.admin-story-placeholder {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--brand);
  font-size: 28px;
  font-weight: 950;
}

.admin-story-item div {
  min-width: 0;
  padding: 12px 12px 12px 0;
}

.admin-story-item strong,
.admin-story-item span,
.admin-story-item p {
  display: block;
}

.admin-story-item strong {
  color: var(--navy);
  font-size: 16px;
  line-height: 1.15;
}

.admin-story-item span,
.admin-story-item p,
.admin-empty {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.admin-story-item p {
  margin-top: 8px;
}

@media (max-width: 860px) {
  .admin-access {
    grid-template-columns: 1fr;
  }

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

  .desktop-nav,
  .source-link {
    display: none;
  }

  .lead,
  .video-hero,
  .weather-page {
    grid-template-columns: 1fr;
  }

  .hero-story,
  .video-feature {
    min-height: 320px;
  }

  h1 {
    font-size: 46px;
    line-height: 1;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .section-heading p {
    max-width: 100%;
  }

  .story-grid,
  .sports-grid,
  .video-grid,
  .score-strip,
  .alert-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wp-weather-hero-inner {
    grid-template-columns: 1fr;
  }

  .weather-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .wp-news-list {
    grid-template-columns: 1fr;
  }

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

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

@media (min-width: 861px) {
  .app-shell {
    padding-bottom: 0;
  }

  .tabbar {
    display: none;
  }

  .footer {
    padding-bottom: 26px;
  }
}

@media (max-width: 560px) {
  .admin-tab-settings {
    grid-template-columns: 1fr;
  }

  .topbar-inner,
  .lead,
  .page-section,
  .footer-inner,
  .admin-header,
  .admin-access,
  .admin-layout,
  .admin-navigation-panel,
  .settings-hero-inner,
  .settings-content {
    width: min(100% - 32px, 1120px);
  }

  .settings-hero-inner {
    padding: 30px 0 28px;
  }

  .settings-hero h1 {
    font-size: 36px;
  }

  .settings-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-inner {
    min-height: 62px;
  }

  .brand-mark img {
    width: 70px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy span {
    font-size: 11px;
  }

  .lead {
    padding: 14px 0;
  }

  .hero-story,
  .video-feature {
    min-height: 300px;
  }

  .hero-content,
  .video-feature-content {
    padding: 20px;
  }

  h1 {
    font-size: 34px;
  }

  .headline-card h3,
  .story-card h3,
  .video-card h3 {
    font-size: 16px;
  }

  .headline-card {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .headline-card img {
    width: 98px;
    min-height: 116px;
  }

  .story-grid,
  .sports-grid,
  .video-grid,
  .score-strip,
  .alert-strip {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .updates-header {
    min-height: 74px;
    padding: calc(env(safe-area-inset-top, 0px) + 12px) 14px 12px;
  }

  .updates-brand img {
    width: 64px;
  }

  .updates-location-pill {
    min-height: 46px;
    max-width: 54vw;
    padding: 0 14px;
    font-size: 16px;
  }

  .updates-refresh {
    width: 46px;
    min-height: 46px;
    font-size: 18px;
  }

  .card-youtube-wrap {
    top: calc(env(safe-area-inset-top, 0px) + 74px);
  }

  .card-overlay {
    padding-right: 78px;
    padding-left: 12px;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 98px);
  }

  .card-content-wrapper {
    border-radius: 22px;
    padding: 16px;
  }

  .card-title {
    font-size: 29px;
  }

  .card-summary {
    font-size: 14px;
  }

  .action-rail {
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 100px);
  }

  .rail-action {
    width: 52px;
    min-height: 52px;
    border-radius: 16px;
  }

  .updates-tutorial-card {
    width: min(calc(100vw - 32px), 300px);
    border-radius: 20px;
  }

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

  .weather-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .weather-heading h1 {
    font-size: 26px;
  }

  .wp-weather-hero-inner {
    width: min(100% - 32px, 1120px);
    padding: 20px 0;
    gap: 24px;
  }

  .wp-hero-temp {
    font-size: 54px;
  }

  .wp-hero-weather-row {
    display: grid;
    grid-template-columns: 56px auto minmax(0, 1fr);
    gap: 10px;
  }

  .wp-hero-weather-icon {
    width: 56px;
    height: 64px;
  }

  .weather-condition-copy h2 {
    font-size: 18px;
  }

  .wp-hero-stats {
    gap: 6px 10px;
  }

  .wp-location-search {
    width: 100%;
  }

  .wp-section-rail {
    padding-left: 16px;
    padding-right: 16px;
  }

  .wp-section-tab {
    flex: 1;
    padding-left: 8px;
    padding-right: 8px;
  }

  .wp-content-container {
    width: min(100% - 32px, 1120px);
  }

  .wp-card {
    padding: 16px;
  }

  .wp-card-header {
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .wp-card-header small {
    text-align: left;
  }

  .wp-news-item {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .wp-news-item img {
    width: 92px;
    min-height: 112px;
  }

  .wp-conditions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .wp-radar-map-shell {
    height: 320px;
  }

  .wp-forecast-strip .forecast-card {
    grid-template-columns: minmax(0, 1fr) 40px 36px 70px;
    gap: 8px;
  }

  .forecast-icon {
    width: 40px;
    height: 40px;
  }

  .forecast-temperatures {
    gap: 8px;
  }

  .wp-forecast-strip .forecast-temperatures strong,
  .wp-forecast-strip .forecast-temperatures span {
    font-size: 16px;
  }

  .admin-header .source-link {
    display: inline-flex;
  }

  .admin-panel {
    padding: 16px;
  }

  .admin-two-col,
  .admin-link-row {
    grid-template-columns: 1fr;
  }

  .admin-link-row button {
    width: 100%;
  }

  .admin-story-item {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .admin-story-item img,
  .admin-story-placeholder {
    width: 92px;
  }

  .wp-hourly-strip {
    grid-auto-columns: 96px;
  }

  .story-reader.open {
    padding: 0;
  }

  .story-reader-panel {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }

  .story-reader-top {
    padding: calc(6px + env(safe-area-inset-top, 0px)) 16px 6px;
  }

  .story-reader-content {
    padding: 24px 22px calc(32px + var(--safe-bottom));
  }

  .story-reader-image {
    margin: 22px -22px;
    width: calc(100% + 44px);
    max-width: none;
    max-height: 340px;
  }

  .story-reader-body {
    scrollbar-gutter: auto;
  }

  .story-reader-body h2 {
    font-size: 28px;
  }

  .story-reader-body p {
    font-size: 17px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .big-temp {
    font-size: 68px;
  }

  .footer-inner {
    align-items: start;
    flex-direction: column;
  }
}
