:root {
  --ink: #111423;
  --ink-soft: #3d4051;
  --muted: #70706a;
  --line: #dfdfd7;
  --paper: #fbfaf4;
  --paper-deep: #f0efe4;
  --white: #ffffff;
  --navy: #111846;
  --orange: #f09a24;
  --red: #f09a24;
  --red-dark: #111846;
  --green: #0f7b57;
  --green-soft: #d9efe5;
  --gold: #f7bd4a;
  --blue: #111846;
  --shadow: 0 18px 50px rgba(21, 21, 21, 0.12);
  --radius: 8px;
  --container: 1180px;
  --header-height: 112px;
  --team-anchor-offset: 260px;
  --font-display: "Arial Rounded MT Bold", "Aptos Display", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --section-line: rgba(17, 24, 70, 0.14);
  --section-wash: rgba(255, 255, 255, 0.46);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #fffdf8 0, #f7f1e7 52%, #fbfaf4 100%);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.45;
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.skip-link:focus {
  top: 12px;
  left: 12px;
  z-index: 30;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--white);
  background: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 250, 247, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.top-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  gap: 18px;
  padding: 6px 18px;
  color: var(--paper);
  background: var(--ink);
  font-size: 13px;
}

.top-strip span {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.text-button,
.link-button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header-main {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  max-width: var(--container);
  min-height: 76px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-decoration: none;
}

.brand-lockup {
  width: 190px;
  height: 62px;
  object-fit: contain;
}

.brand-mark {
  display: none;
  place-items: center;
  width: 54px;
  height: 54px;
  overflow: hidden;
  background: var(--paper);
  border: 0;
  border-radius: 12px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  display: none;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: none;
}

.global-search,
.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid var(--ink);
  background: var(--white);
}

.global-search input,
.hero-search input {
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.global-search button,
.hero-search button,
.account-button,
.content-header > button,
.planner-header button,
.surface-panel > button,
.auth-panel button,
.mobile-filter-row button,
.results-toolbar button,
.filter-panel button:not(.text-button),
.item-actions button,
.food-card button,
.venue-card button,
.plan-row button,
.rating-actions button,
.quick-actions button {
  min-height: 42px;
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 7px;
  font-family: var(--font-display);
  font-weight: 800;
}

.global-search button,
.hero-search button {
  height: 44px;
  border-radius: 0;
}

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

.desktop-nav button,
.desktop-nav a,
.mega-menu button,
.mobile-bottom-nav button {
  color: var(--ink);
  background: transparent;
  border: 0;
}

.desktop-nav button,
.desktop-nav a {
  padding: 10px 8px;
  font-family: var(--font-display);
  font-weight: 750;
  text-decoration: none;
}

.account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  text-decoration: none;
}

.icon-button,
.mobile-menu-button {
  display: none;
}

.mobile-search-wrap {
  display: none;
  padding: 0 16px 14px;
}

.suggestion-panel {
  position: absolute;
  top: 108px;
  left: 50%;
  display: none;
  width: min(720px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - 140px));
  overflow: auto;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.suggestion-panel.open {
  display: block;
}

.suggestion-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
  width: 100%;
  padding: 12px;
  text-align: left;
  background: var(--white);
  border: 0;
  border-bottom: 1px solid var(--line);
}

.suggestion-item img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 5px;
}

.suggestion-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 950;
}

.suggestion-item strong {
  display: block;
}

.suggestion-item span {
  color: var(--muted);
  font-size: 13px;
}

.mega-menu {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 26px;
  border-top: 1px solid var(--line);
}

.mega-menu.open {
  display: grid;
}

.mega-menu h2 {
  margin: 0 0 8px;
  font-size: 13px;
  text-transform: uppercase;
}

.mega-menu button {
  display: block;
  width: 100%;
  padding: 8px 0;
  text-align: left;
}

.app-shell {
  min-height: calc(100vh - var(--header-height));
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(680px, calc(100vh - 112px));
  color: var(--white);
  background: var(--ink);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.84), rgba(21, 21, 21, 0.34)),
    linear-gradient(0deg, rgba(21, 21, 21, 0.86), rgba(21, 21, 21, 0));
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 64px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
  font-family: var(--font-display);
}

h1 {
  max-width: 780px;
  font-size: 76px;
  font-weight: 950;
}

h2 {
  font-size: 34px;
  font-weight: 950;
}

h3 {
  font-size: 18px;
}

.hero-search {
  width: min(760px, 100%);
  margin-top: 26px;
  border: 0;
}

.hero-search input {
  height: 58px;
  font-size: 16px;
}

.hero-search button {
  height: 58px;
  padding: 0 24px;
  background: var(--red);
  border-color: var(--red);
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quick-actions button {
  min-height: 38px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
}

.page-band,
.split-band,
.content-header,
.results-layout,
.planner-layout,
.map-layout,
.account-layout,
.profile-grid {
  width: min(var(--container), calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.page-band {
  padding: 46px 0;
  border-top: 1px solid var(--section-line);
  border-bottom: 1px solid rgba(17, 24, 70, 0.08);
}

.page-band + .page-band,
.page-band + .split-band,
.split-band + .page-band {
  margin-top: 4px;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 24px;
  padding: 28px 0 54px;
  border-top: 1px solid var(--section-line);
  border-bottom: 1px solid rgba(17, 24, 70, 0.08);
}

.section-heading,
.results-toolbar,
.filter-header,
.planner-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-heading.tight {
  align-items: center;
  margin-bottom: 12px;
}

.section-heading .link-button {
  min-width: max-content;
  color: var(--red-dark);
  font-weight: 850;
}

.card-grid,
.results-grid,
.venue-grid,
.profile-grid {
  display: grid;
  align-items: stretch;
  gap: 16px;
}

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

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

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

.all-venues {
  padding-bottom: 64px;
}

.venue-grid.all-venues {
  grid-template-columns: 1fr;
}

.venue-sport-section {
  display: grid;
  gap: 16px;
}

.food-card,
.venue-card,
.surface-panel,
.item-hero,
.nutrition-card,
.rating-panel,
.source-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.food-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.food-card.no-photo {
  align-self: start;
  height: auto;
}

.food-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
}

.food-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.food-card.no-photo .food-card-image {
  min-height: 76px;
  aspect-ratio: auto;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.food-card-image .badge-row {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
}

.food-card.no-photo .food-card-image .badge-row {
  right: 56px;
  bottom: 8px;
  left: 10px;
}

.food-card.no-photo .image-fallback {
  position: absolute;
  top: 11px;
  left: 10px;
  padding: 0;
  font-size: 11px;
  line-height: 1.1;
  text-align: left;
}

.image-save {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 32px !important;
  padding: 0 10px !important;
  color: var(--ink) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(21, 21, 21, 0.18) !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 22px rgba(21, 21, 21, 0.14);
  font-size: 13px;
  font-weight: 900;
}

.image-save.is-active {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
}

.food-card.no-photo .image-save {
  top: 8px;
  right: 8px;
  min-height: 28px !important;
  padding: 0 9px !important;
  font-size: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 24px;
  padding: 3px 8px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(21, 21, 21, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.badge abbr {
  text-decoration: none;
}

.badge.red {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.badge.green {
  background: var(--green-soft);
  border-color: #b7d8c5;
}

.badge.gold {
  background: #fff0b5;
  border-color: #e5ce74;
}

.tag-key {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  max-width: 940px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 850;
}

.tag-key > span:first-child {
  color: var(--ink);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0;
}

.tag-key-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.tag-key-link {
  min-height: 28px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-weight: inherit;
  text-decoration: none;
  cursor: pointer;
}

.tag-key-link:hover,
.tag-key-link:focus-visible,
.tag-key-link.active {
  color: var(--red-dark);
  outline: 2px solid rgba(17, 24, 70, 0.14);
  outline-offset: 2px;
}

.tag-key-item .badge {
  min-height: 22px;
  padding: 2px 7px;
  font-size: 11px;
}

.tag-key-item small {
  min-width: 22px;
  padding: 2px 6px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  text-align: center;
}

.food-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.food-card-copy {
  display: grid;
  gap: 6px;
  min-height: 172px;
}

.food-card.no-photo .food-card-copy {
  min-height: 132px;
}

.food-meta,
.venue-meta,
.micro-copy {
  color: var(--muted);
  font-size: 13px;
}

.team-meta {
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.food-card-description {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.selected-team-grid .food-card-description {
  min-height: calc(1.35em * 2);
}

.selected-team-grid .food-card.no-photo .food-card-description {
  min-height: 0;
}

.link-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  max-height: calc(1.35em * 2 + 4px);
  overflow: hidden;
  line-height: 1.35;
}

.link-meta button {
  min-height: 0 !important;
  padding: 0 !important;
  color: var(--muted) !important;
  text-align: left;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-weight: 500 !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.link-meta button:hover,
.link-meta button:focus-visible {
  color: var(--red-dark) !important;
}

.card-location-meta {
  display: grid;
  gap: 2px;
  min-height: calc(1.35em * 2 + 2px);
  line-height: 1.35;
}

.card-location-meta.has-venue {
  min-height: calc(1.35em * 3 + 4px);
}

.card-location-row {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-location-row button {
  display: inline-block;
  max-width: 100%;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  color: var(--muted) !important;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-weight: 500 !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.card-location-row button:hover,
.card-location-row button:focus-visible {
  color: var(--red-dark) !important;
}

.food-card h3 button,
.venue-card h3 button {
  padding: 0;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
}

.food-card h3 {
  margin: 0;
  min-height: calc(1.15em * 2);
}

.food-card h3 button {
  display: -webkit-box;
  overflow: hidden;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.food-stats,
.macro-grid,
.venue-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.food-stats div,
.food-stats .stat-button,
.macro-grid div,
.venue-stats div {
  padding: 7px 6px;
  background: var(--paper);
  border-radius: 6px;
}

.food-stats strong,
.food-stats .stat-button strong,
.macro-grid strong,
.venue-stats strong {
  display: block;
  font-size: 13px;
  line-height: 1.12;
  white-space: nowrap;
}

.food-stats span,
.food-stats .stat-button span,
.macro-grid span,
.venue-stats span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.food-stats .stat-button {
  min-width: 0;
  color: var(--ink);
  text-align: left;
  border: 0;
}

.food-stats .stat-button:hover,
.food-stats .stat-button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}

.card-actions,
.item-actions,
.contribution-actions,
.submission-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.card-actions button,
.item-actions button,
.contribution-actions button,
.submission-actions button {
  padding-right: 8px;
  padding-left: 8px;
}

.card-actions button:last-child,
.item-actions button.secondary,
.submission-actions button.secondary,
.surface-panel .secondary,
.auth-panel .secondary {
  color: var(--ink);
  background: var(--white);
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 16px;
}

.community-actions button {
  width: auto;
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 900;
}

.food-card.is-eaten {
  border-color: #9ac9ad;
  box-shadow: inset 0 0 0 1px #9ac9ad;
}

.food-card.is-saved {
  border-color: #ead17b;
}

.card-actions .save-button,
.item-actions .save-button {
  color: var(--ink);
  background: var(--white);
}

.card-actions .save-button.is-active,
.item-actions .save-button.is-active {
  color: var(--ink);
  background: #fff0b5;
  border-color: #e5ce74;
}

.save-button.is-active::before {
  content: "\2713";
  margin-right: 6px;
}

.card-actions button.success-button,
.item-actions button.success-button,
.plan-row button.success-button {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.report-link {
  align-self: flex-start;
  min-height: 0 !important;
  padding: 2px 0 !important;
  color: var(--muted) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 13px;
  font-weight: 800 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.report-link:hover,
.report-link:focus-visible,
.report-link.is-active {
  color: var(--red-dark) !important;
}

.success-button::before {
  content: "\2713";
  margin-right: 6px;
}

.pro-button::after {
  content: "Paid";
  margin-left: 8px;
  padding: 2px 6px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
}

.image-fallback {
  display: none;
  color: var(--muted);
  font-weight: 850;
}

.food-card-image.image-missing,
.item-hero.image-missing,
.item-hero-media.image-missing,
.list-item-media.image-missing,
.plan-row-media.image-missing {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(216, 58, 46, 0.08), rgba(31, 122, 77, 0.1)),
    var(--paper-deep);
}

.food-card-image.image-missing .image-fallback,
.item-hero-media.image-missing span,
.list-item-media.image-missing span,
.plan-row-media.image-missing span {
  display: block;
  padding: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.stacked-list {
  display: grid;
  gap: 10px;
}

.list-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.list-item img,
.list-item-media {
  width: 92px;
  height: 72px;
  object-fit: cover;
  border-radius: 5px;
}

.list-item h3 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.18;
}

.list-item button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 800;
}

.list-actions {
  display: grid;
  gap: 8px;
}

.list-actions .secondary {
  color: var(--muted);
  background: var(--white);
}

.surface-panel {
  padding: 22px;
}

.sports-band {
  padding: 22px 0 42px;
}

.compact-sports-band {
  padding: 18px 0 26px;
  border-top: 1px solid var(--section-line);
  border-bottom: 1px solid var(--section-line);
}

.sports-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 156px;
  border-top: 4px solid var(--gold);
}

.sports-card h2 {
  font-size: 26px;
}

.sports-card p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.sports-card button {
  justify-self: start;
  margin-top: 4px;
}

.account-teaser {
  align-self: stretch;
}

.account-teaser p {
  color: var(--ink-soft);
}

.venue-card {
  overflow: hidden;
}

.compact-venue-card {
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.compact-venue-card:hover,
.compact-venue-card:focus-visible {
  border-color: var(--team-secondary, var(--gold));
  outline: 0;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.venue-visual {
  position: relative;
  min-height: 188px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.venue-visual.no-photo {
  background:
    linear-gradient(135deg, rgba(13, 18, 39, 0.7), rgba(13, 18, 39, 0.18)),
    linear-gradient(135deg, var(--team-primary, var(--navy)), var(--team-secondary, var(--gold)));
}

.venue-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
  transform: scale(1.03);
}

.venue-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(13, 18, 39, 0.18), rgba(13, 18, 39, 0.82)),
    linear-gradient(90deg, rgba(13, 18, 39, 0.64), rgba(13, 18, 39, 0.12));
}

.venue-visual-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: space-between;
  min-height: 188px;
  height: 100%;
  padding: 18px;
}

.venue-visual span,
.venue-visual strong,
.venue-visual em {
  display: block;
}

.venue-visual span {
  width: max-content;
  padding: 4px 8px;
  color: var(--ink);
  background: var(--team-secondary, var(--gold));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.venue-visual strong {
  max-width: 14ch;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 0.96;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);
}

.venue-visual em {
  font-style: normal;
  font-weight: 800;
  opacity: 0.82;
}

.venue-card-body {
  padding: 16px;
}

.compact-venue-card .venue-card-body {
  padding: 14px 16px 16px;
}

.team-venue-card {
  border-top: 4px solid var(--team-primary, var(--navy));
}

.venue-card h3 {
  margin-bottom: 6px;
}

.compact-venue-card h3 {
  margin: 0;
  font-size: 20px;
}

.venue-card button {
  width: 100%;
  margin-top: 14px;
}

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

.donate-copy {
  border-bottom: 0;
}

.donation-card {
  margin-top: 48px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 22px;
  color: var(--ink-soft);
  position: relative;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
  content: "+";
}

.launch-plan-band {
  border-top: 1px solid var(--section-line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.content-header {
  padding: 42px 0 20px;
  border-bottom: 1px solid rgba(17, 24, 70, 0.08);
}

.content-header h1 {
  max-width: 840px;
  font-size: 68px;
}

.team-page-header {
  position: sticky;
  top: var(--header-height);
  z-index: 18;
  padding-top: 34px;
  padding-bottom: 18px;
  background: rgba(251, 250, 244, 0.97);
  backdrop-filter: blur(12px);
}

.team-page-header h1 {
  max-width: 760px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
}

.team-page-header .eyebrow {
  margin-bottom: 8px;
  color: var(--red-dark);
}

.content-header.compact-header {
  padding-bottom: 12px;
}

.content-header p:not(.eyebrow) {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 17px;
}

.results-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 70px;
}

.filter-panel {
  position: sticky;
  top: 132px;
  align-self: start;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.filter-panel h2 {
  font-size: 18px;
}

.filter-panel label,
.filter-panel fieldset,
.results-toolbar label,
.auth-panel label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel select,
.filter-panel input[type="range"],
.results-toolbar select,
.mobile-filter-row select,
.auth-panel input,
.auth-panel select {
  width: 100%;
}

select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea {
  border-radius: 4px;
}

.filter-panel select,
.results-toolbar select,
.mobile-filter-row select,
.auth-panel input,
.auth-panel select {
  min-height: 40px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.filter-panel fieldset {
  padding: 0;
  border: 0;
}

.filter-panel legend {
  margin-bottom: 7px;
}

.check-row {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 8px !important;
  margin-bottom: 8px !important;
  font-weight: 700 !important;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.active-filters .badge button {
  margin-left: 6px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.mobile-filter-row {
  display: none;
}

.item-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: start;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 68px;
}

.item-hero {
  overflow: hidden;
}

.item-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-credit-note {
  margin: -2px 18px 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.image-credit-note a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.price-source-note {
  margin-top: 10px;
}

.item-hero-media {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.item-copy,
.nutrition-card,
.rating-panel,
.source-panel {
  padding: 22px;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.location-actions button {
  min-height: 36px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 850;
}

.contribution-actions button,
.submission-actions button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 900;
}

.item-copy h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.item-copy p {
  color: var(--ink-soft);
}

.nutrition-card,
.rating-panel,
.source-panel {
  margin-top: 16px;
}

.macro-total {
  font-size: 56px;
  font-weight: 950;
  line-height: 1;
}

.rating-scale {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
  margin: 12px 0;
}

.rating-scale button {
  min-width: 0;
  min-height: 38px;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 850;
}

.rating-scale button.selected {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.rating-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.planner-layout,
.map-layout,
.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  padding-bottom: 70px;
}

.map-layout {
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
  align-items: start;
}

.sticky-summary {
  position: sticky;
  top: 132px;
  align-self: start;
}

.plan-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.plan-row img,
.plan-row-media {
  width: 72px;
  height: 58px;
  object-fit: cover;
  border-radius: 5px;
}

.plan-row button {
  min-height: 36px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--white);
}

.empty-state {
  padding: 24px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.empty-state-action {
  margin-top: 14px;
}

.empty-state-action button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-weight: 850;
}

.stadium-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  min-height: 0;
  padding: 16px;
  background: var(--ink);
  border-radius: var(--radius);
}

.map-zone {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 12px;
  color: var(--white);
  text-align: center;
  background: #254f3a;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  font-weight: 900;
}

.map-zone:nth-child(2n) {
  background: #374151;
}

.map-zone:nth-child(3n) {
  background: #7a2f29;
}

.map-zone.active {
  color: var(--ink);
  background: var(--gold);
}

.map-layout .surface-panel {
  padding: 18px;
}

.map-layout .stacked-list {
  display: grid;
  gap: 10px;
}

.account-layout {
  align-items: start;
  padding-top: 48px;
}

.account-copy {
  width: auto;
  margin: 0;
  padding: 0;
}

.auth-panel form {
  display: grid;
  gap: 10px;
}

.auth-stack {
  display: grid;
  gap: 18px;
}

.admin-login-form {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.role-upgrade-form {
  margin-top: 16px;
}

.contribution-form {
  display: grid;
  gap: 14px;
}

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

.field-grid label,
.contribution-form .report-note {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.field-grid input,
.field-grid select,
.contribution-form input[type="file"],
.contribution-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.auth-panel .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 72px;
}

.admin-review-guide,
.approved-task-panel,
.source-lead-review-panel,
.admin-automation-panel,
.approved-result-panel,
.admin-review-panel {
  grid-column: 1 / -1;
}

.review-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.review-step-list li {
  display: grid;
  gap: 5px;
  min-height: 96px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.review-step-list strong {
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.2;
}

.review-step-list span {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.4;
}

.admin-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.admin-review-actions button {
  min-height: 40px;
  padding: 0 14px;
}

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

.admin-stat-card {
  display: grid;
  gap: 5px;
  min-height: 104px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.admin-stat-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-stat-card strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
}

.admin-stat-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.35;
}

.history-item {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.history-item:last-child {
  border-bottom: 0;
}

.team-catalog-band,
.seo-section {
  display: grid;
  gap: 30px;
}

.team-catalog-band {
  padding-top: 34px;
  padding-bottom: 58px;
}

.team-league-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.team-league-tabs button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 900;
}

.team-league-tabs button.active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.league-team-section {
  display: grid;
  gap: 22px;
  padding: 26px 0 10px;
  border-top: 1px solid var(--section-line);
}

.league-team-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.league-catalog-title {
  margin: 0;
  padding-bottom: 10px;
  color: var(--ink);
  font-size: 24px;
  border-bottom: 1px solid var(--section-line);
}

.division-team-section {
  display: grid;
  gap: 12px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(17, 24, 70, 0.1);
}

.division-team-section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.division-team-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
}

.team-catalog-grid,
.seo-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.team-link-card,
.seo-team-grid a,
.seo-actions a {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.seo-team-grid a,
.seo-actions a {
  background: var(--white);
}

.team-link-card {
  width: 100%;
  position: relative;
  display: grid;
  gap: 6px;
  overflow: hidden;
  min-height: 82px;
  padding: 15px 16px;
  cursor: pointer;
  appearance: none;
  color: var(--team-card-text, var(--white));
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.08)),
    var(--team-primary, var(--navy));
  border-color: var(--team-primary, var(--navy));
  font: inherit;
  text-align: left;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.team-link-card::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--team-secondary, var(--gold));
  content: "";
}

.team-link-card strong {
  position: relative;
  z-index: 1;
  color: inherit;
  font-size: 16px;
}

.team-link-card span {
  position: relative;
  z-index: 1;
  color: var(--team-card-subtext, var(--gold));
  font-size: 13px;
  font-weight: 750;
}

.team-link-card:hover,
.team-link-card:focus-visible {
  color: var(--team-card-hover-text, var(--ink));
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
    var(--team-secondary, var(--gold));
  border-color: var(--team-secondary, var(--gold));
  outline: 0;
  transform: translateY(-2px);
}

.team-link-card:hover span,
.team-link-card:focus-visible span {
  color: inherit;
}

.seo-team-grid a:hover,
.seo-team-grid a:focus-visible {
  border-color: var(--orange);
  outline: 0;
  transform: translateY(-2px);
}

.team-link-card.active {
  color: var(--team-card-hover-text, var(--ink));
  background: var(--team-secondary, var(--gold));
  border-color: var(--gold);
  box-shadow:
    inset 0 0 0 2px var(--paper),
    0 10px 24px rgba(17, 20, 35, 0.14);
}

.team-status {
  color: inherit !important;
  font-weight: 850;
}

.team-empty-panel {
  margin: 24px 0 0;
}

.selected-team-menu {
  padding-top: 28px;
  border-top: 1px solid var(--section-line);
}

.selected-team-heading button {
  width: auto;
  min-width: max-content;
  min-height: 42px;
  padding: 0 14px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 900;
}

.selected-team-heading button:hover,
.selected-team-heading button:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.team-stand-jump {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 14px 0;
  border-top: 1px solid var(--section-line);
  border-bottom: 1px solid var(--section-line);
}

.team-stand-jump > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.team-stand-jump > p {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.team-jump-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(220px, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.team-jump-field {
  display: grid;
  gap: 6px;
}

.team-jump-field > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.team-jump-field select {
  width: 100%;
  min-height: 44px;
  padding: 0 36px 0 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-weight: 760;
}

.team-jump-form button {
  min-height: 44px;
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
}

.team-jump-field select:focus-visible,
.team-jump-form button:focus-visible,
.team-jump-form button:hover,
.team-section-jump a:hover,
.team-section-jump a:focus-visible {
  outline: 0;
}

.team-jump-field select:focus-visible {
  border-color: var(--red-dark);
  box-shadow: 0 0 0 3px rgba(17, 24, 70, 0.14);
}

.team-jump-form button:hover,
.team-jump-form button:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.team-stand-jump .tag-key {
  margin-top: 4px;
}

.team-section-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-section-jump a {
  min-height: 34px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.selected-team-stand-list,
.selected-team-section-list,
.team-tag-section-list {
  display: grid;
  gap: 28px;
}

.selected-team-stand,
.selected-team-section,
.team-tag-section,
.food-card[id^="team-stand-"],
.team-section-anchor {
  scroll-margin-top: calc(var(--header-height) + var(--team-anchor-offset));
}

.team-tag-results {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--section-line);
}

.team-tag-results-heading {
  margin-bottom: 0;
}

.team-tag-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--section-line);
}

.team-tag-heading > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-tag-heading h3 {
  margin: 0;
  font-size: 24px;
}

.team-tag-heading > span {
  flex: 0 0 auto;
  padding: 6px 10px;
  background: var(--paper-deep);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.team-route-panel {
  display: grid;
  gap: 22px;
  padding-top: 26px;
  border-top: 1px solid var(--section-line);
}

.team-route-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.team-route-heading h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.team-route-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
}

.team-route-heading button {
  flex: 0 0 auto;
}

.focused-team-stand-list {
  gap: 22px;
}

.team-section-anchor {
  display: block;
  grid-column: 1 / -1;
  height: 0;
  margin: 0;
  overflow: hidden;
}

.selected-team-stand {
  padding-top: 26px;
  border-top: 1px solid var(--section-line);
}

.selected-team-stand:first-child {
  padding-top: 0;
  border-top: 0;
}

.selected-team-stand-heading,
.team-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.selected-team-stand-heading h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.selected-team-stand-heading > span,
.team-section-heading > span {
  min-height: 34px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--paper-deep);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.team-section-jump {
  margin-bottom: 18px;
}

.team-section-heading {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.team-section-heading h4 {
  margin: 0;
  font-size: 19px;
}

.selected-team-section {
  display: grid;
  gap: 12px;
}

.selected-team-section:target {
  outline: 3px solid rgba(204, 48, 48, 0.22);
  outline-offset: 8px;
}

.stand-contribution {
  display: flex;
  justify-content: flex-start;
  padding-top: 6px;
}

.stand-contribution button {
  min-height: 34px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
}

.stand-contribution button:hover,
.stand-contribution button:focus-visible {
  color: var(--white);
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.team-empty-panel h2,
.team-empty-state h3 {
  margin-bottom: 10px;
}

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.empty-actions button {
  width: auto;
}

.seo-page {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 72px;
}

.seo-breadcrumb {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.seo-breadcrumb a {
  color: var(--red-dark);
  font-weight: 800;
}

.seo-hero {
  padding: clamp(36px, 7vw, 76px) 0 46px;
  border-bottom: 1px solid var(--line);
}

.seo-hero-compact {
  padding: clamp(22px, 4vw, 44px) 0 28px;
}

.seo-hero h1 {
  max-width: 900px;
}

.seo-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 18px;
}

.seo-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.seo-hero-stats span {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
}

.seo-hero-stats strong {
  margin-right: 4px;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.seo-actions a {
  min-height: 42px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  font-weight: 850;
}

.seo-actions.secondary-actions a {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

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

.seo-section h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.seo-section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.seo-section-heading-row p {
  max-width: 680px;
  margin: 8px 0 0;
}

.seo-inline-link {
  color: var(--red-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.seo-section p,
.seo-section li {
  color: var(--ink-soft);
}

.seo-keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.seo-keyword-list li,
.seo-team-grid a {
  padding: 10px 12px;
}

.seo-keyword-list li {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 750;
}

.seo-keyword-section {
  padding-top: 20px;
}

.seo-keyword-section h2 {
  font-size: 20px;
}

.seo-keyword-list.compact li {
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 700;
}

.seo-empty-menu {
  background: #fff7e8;
  border: 1px solid rgba(226, 139, 30, 0.28);
  border-radius: var(--radius);
  margin: 30px 0;
  padding: 28px;
}

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

.seo-item-list article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.seo-live-menu {
  padding-top: 26px;
}

.seo-menu-section {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.seo-stand-jump {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.seo-stand-jump > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.seo-stand-jump div,
.seo-section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-stand-jump a,
.seo-section-links a {
  min-height: 34px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.seo-stand-jump a:hover,
.seo-section-links a:hover,
.seo-item-location a:hover {
  border-color: var(--red-dark);
  color: var(--red-dark);
}

.seo-stand-jump small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 11px;
}

.seo-stand-list {
  display: grid;
  gap: 28px;
}

.seo-stand-group {
  scroll-margin-top: calc(var(--header-height) + 16px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.seo-stand-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.seo-stand-heading h3 {
  margin: 0;
  font-size: clamp(22px, 2.7vw, 30px);
}

.seo-stand-heading > span {
  min-height: 34px;
  padding: 7px 10px;
  background: var(--paper-deep);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.seo-section-links {
  margin: 0 0 14px;
}

.seo-item-list article {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.seo-item-list article:target {
  outline: 3px solid rgba(204, 48, 48, 0.24);
  outline-offset: 3px;
}

.seo-item-list h3,
.seo-item-list h4 {
  margin-bottom: 8px;
  font-size: 18px;
}

.seo-item-list p {
  margin: 0 0 8px;
  color: var(--muted);
}

.seo-item-list .seo-item-location {
  color: var(--ink-soft);
  font-weight: 750;
}

.seo-item-location a {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-item-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 10px 0;
}

.seo-item-stats span {
  min-height: 34px;
  padding: 7px 8px;
  background: var(--paper-deep);
  border-radius: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.seo-team-grid a {
  display: grid;
  gap: 4px;
  font-weight: 850;
}

.seo-team-grid a span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.mobile-bottom-nav {
  display: none;
}

.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(21, 21, 21, 0.54);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(520px, 100%);
  padding: 26px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.modal-card h2 {
  padding-right: 28px;
}

.modal-copy {
  color: var(--ink-soft);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 22px;
  line-height: 1;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.modal-actions button {
  min-height: 42px;
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-weight: 850;
}

.modal-actions button.secondary {
  color: var(--ink);
  background: var(--white);
}

.paywall-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.paywall-list span {
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.feature-grid,
.report-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.feature-grid span,
.report-options label,
.correction-row {
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 800;
}

.report-options label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-note {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.report-note textarea {
  width: 100%;
  padding: 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  resize: vertical;
}

.correction-callout {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  padding: 12px;
  background: #fff7df;
  border: 1px solid #ead17b;
  border-radius: var(--radius);
}

.correction-callout span,
.correction-row span {
  color: var(--ink-soft);
  font-size: 13px;
}

.correction-callout button {
  justify-self: start;
  min-height: 34px;
  padding: 0 10px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 7px;
  font-weight: 850;
}

.correction-callout.is-priority,
.correction-row.is-priority {
  background: var(--green-soft);
  border-color: #9ac9ad;
}

.correction-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.submission-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.approved-task-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.approved-task-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.approved-task-summary span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 10px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.approved-task-summary strong {
  color: var(--ink);
  font-family: var(--font-display);
}

.approved-task-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.approved-task-row strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.2;
}

.approved-task-row span {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.35;
}

.approved-task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.approved-task-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 850;
}

.approved-task-actions button {
  min-height: 34px;
  padding: 0 10px;
}

.approved-task-searches {
  grid-column: 1 / -1;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.approved-task-searches summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.approved-task-searches ol {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.35;
}

.research-result-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.research-result-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 850;
}

.research-result-form textarea {
  width: 100%;
  min-height: 180px;
  padding: 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  font: 13px/1.45 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  resize: vertical;
}

.admin-secret-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 14px;
}

.admin-secret-form label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 850;
}

.admin-secret-form input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.admin-backend-status {
  display: grid;
  gap: 3px;
  margin-top: 12px;
  padding: 10px 12px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.admin-backend-status span {
  width: fit-content;
  padding: 3px 8px;
  color: var(--ink);
  background: var(--green-soft);
  border: 1px solid #b7d8c5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.admin-backend-status.has-error span {
  background: #f9d5d0;
  border-color: #e6a9a1;
}

.admin-backend-status p,
.admin-backend-status small {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.automation-summary {
  margin-top: 14px;
}

.automation-details {
  margin-top: 12px;
}

.automation-details summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.source-lead-list {
  display: grid;
  gap: 0;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.source-lead-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.source-lead-summary span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 10px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.source-lead-summary strong {
  color: var(--ink);
  font-family: var(--font-display);
}

.reviewed-source-history {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.reviewed-source-history summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.reviewed-source-list {
  margin-top: 10px;
}

.compact-source-card {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.source-lead-card {
  display: grid;
  gap: 7px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.source-lead-card > div {
  display: grid;
  gap: 2px;
}

.source-lead-card strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.2;
}

.source-lead-card span,
.source-lead-card p,
.source-lead-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.source-lead-card p {
  margin: 0;
}

.source-lead-card small {
  width: fit-content;
  padding: 3px 8px;
  color: var(--ink);
  background: var(--paper-deep);
  border-radius: 999px;
  font-weight: 900;
}

.source-lead-link {
  width: fit-content;
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.correction-row,
.submission-row {
  display: grid;
  gap: 4px;
}

.submission-row {
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.submission-row span {
  color: var(--ink-soft);
  font-size: 13px;
}

.submission-detail-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.submission-detail-grid span,
.submission-detail-grid a {
  min-height: 26px;
  padding: 4px 8px;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.submission-detail-grid a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.source-lead-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-lead-review-status.accepted {
  background: #dff4df;
}

.source-lead-review-status.permission {
  background: #fff3c4;
}

.source-lead-review-status.rejected {
  background: #f9d5d0;
}

.source-lead-path-status {
  border: 1px dashed var(--line);
}

.submission-actions button.danger {
  color: var(--red-dark);
}

.embedded-evidence {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 10px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 6px;
}

.embedded-evidence > span {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
}

.embedded-evidence p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.embedded-evidence a {
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social-embed-frame {
  max-width: 100%;
  min-width: 0 !important;
  margin: 0 !important;
}

.source-lead-embed {
  background: var(--paper);
}

.submission-row.content_filter,
.submission-row.admin_review {
  background: #fff7df;
  border-color: #ead17b;
}

.submission-row.community_confirmed,
.submission-row.accepted {
  background: var(--green-soft);
  border-color: #9ac9ad;
}

.submission-row.admin_only,
.submission-row.rejected {
  background: #f7e8e6;
  border-color: #e4b7b2;
}

.admin-submission-list .submission-row {
  align-items: start;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 30px;
  }

  .content-header h1 {
    font-size: 56px;
  }

  .header-main {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
  }

  .desktop-nav,
  .header-main > .global-search {
    display: none;
  }

  .icon-button,
  .mobile-menu-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
  }

  .mobile-menu-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 2px 0;
    background: var(--ink);
  }

  .mobile-search-wrap {
    display: block;
  }

  .suggestion-panel {
    top: 142px;
  }

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

  .compact-grid,
  .results-grid,
  .venue-grid,
  .profile-grid,
  .admin-stat-grid,
  .team-catalog-grid,
  .seo-team-grid,
  .seo-item-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-layout,
  .item-detail-grid,
  .planner-layout,
  .map-layout,
  .account-layout,
  .donate-layout {
    grid-template-columns: 1fr;
  }

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

  .filter-panel {
    position: fixed;
    inset: auto 0 0;
    z-index: 35;
    display: none;
    max-height: 82vh;
    overflow: auto;
    border-radius: 16px 16px 0 0;
    box-shadow: var(--shadow);
  }

  .filter-panel.open {
    display: block;
  }

  .mobile-filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
  }

  .results-toolbar label {
    display: none;
  }

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

  .seo-section-heading-row,
  .seo-stand-heading,
  .selected-team-heading,
  .selected-team-stand-heading,
  .team-section-heading {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 152px;
    --team-anchor-offset: 320px;
  }

  .page-band,
  .split-band,
  .content-header,
  .results-layout,
  .planner-layout,
  .map-layout,
  .account-layout,
  .profile-grid {
    width: min(var(--container), calc(100% - 24px));
  }

  .surface-panel {
    padding: 16px;
  }

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

  .team-jump-form button {
    width: 100%;
  }

  body {
    padding-bottom: 64px;
  }

  .top-strip {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .header-main {
    min-height: 64px;
    padding: 0 16px;
  }

  .brand-name {
    display: none;
  }

  .brand-lockup {
    display: none;
  }

  .brand-mark {
    display: grid;
    width: 50px;
    height: 50px;
  }

  .account-button {
    min-width: 72px;
    padding: 0 10px;
  }

  .mega-menu {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .review-step-list,
  .approved-task-row,
  .source-lead-actions {
    grid-template-columns: 1fr;
  }

  .admin-secret-form,
  .compact-source-card {
    grid-template-columns: 1fr;
  }

  .source-lead-card,
  .approved-task-row,
  .admin-backend-status {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .source-lead-summary span,
  .approved-task-meta span,
  .tag-key-item {
    min-width: 0;
    white-space: normal;
  }

  .source-lead-actions button,
  .approved-task-actions button,
  .admin-secret-form button {
    width: 100%;
  }

  .hero {
    min-height: 580px;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(21, 21, 21, 0.92), rgba(21, 21, 21, 0.35)),
      linear-gradient(90deg, rgba(21, 21, 21, 0.55), rgba(21, 21, 21, 0.08));
  }

  .hero-content {
    padding: 44px 0 34px;
  }

  h1 {
    font-size: 44px;
  }

  .content-header h1 {
    font-size: 44px;
  }

  .hero-search {
    grid-template-columns: 1fr;
    background: transparent;
    gap: 8px;
  }

  .hero-search input,
  .hero-search button {
    width: 100%;
    height: 52px;
    border-radius: 4px;
  }

  .compact-grid,
  .results-grid,
  .venue-grid,
  .profile-grid,
  .admin-stat-grid,
  .team-catalog-grid,
  .seo-team-grid,
  .seo-item-list {
    grid-template-columns: 1fr;
  }

  .seo-section-heading-row,
  .seo-stand-heading,
  .selected-team-heading,
  .selected-team-stand-heading,
  .team-section-heading {
    flex-direction: column;
  }

  .seo-inline-link,
  .seo-stand-heading > span,
  .selected-team-stand-heading > span,
  .team-section-heading > span {
    white-space: normal;
  }

  .page-band {
    padding: 38px 0;
  }

  .content-header {
    padding: 34px 0 18px;
  }

  .list-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .list-item img {
    width: 72px;
    height: 62px;
  }

  .list-item button {
    grid-column: 1 / -1;
  }

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

  .card-actions,
  .item-actions {
    grid-template-columns: 1fr;
  }

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

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

  .map-zone {
    min-height: 78px;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 24;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 60px;
    background: var(--white);
    border-top: 1px solid var(--line);
  }

  .mobile-bottom-nav button {
    font-size: 12px;
    font-weight: 850;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
