/*
 * Matchday Hotels experience layer
 * Modern journey-led interface layered over the existing functional styles.
 */

:root {
  --paper: #f6f6f3;
  --paper-2: #ffffff;
  --ink: #0a0b0c;
  --muted: #62666d;
  --line: #dedfdc;
  --dark: #08090a;
  --fire: #ff4e1a;
  --gold: #ffb000;
  --blue: #1557d5;
  --green: #118445;
  --surface: #ffffff;
  --surface-soft: #f0f1ee;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 55px rgba(13, 17, 23, .09);
  --shadow-hover: 0 22px 60px rgba(13, 17, 23, .15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Aptos, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 5% 0, color-mix(in srgb, var(--club-primary) 8%, transparent), transparent 30rem),
    radial-gradient(circle at 95% 20%, rgba(255, 78, 26, .05), transparent 26rem);
}

button,
input,
select,
textarea {
  font: inherit;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.article-hero h1,
.section-lead h2,
.hotel-card h3,
.pub-card h3,
.parking-card h3,
.evidence-card h3,
.news-card h3,
.coverage-grid h3,
.club-identity-copy h2,
.ticket-main h3,
.big-ticket h2 {
  font-family: Inter, Aptos Display, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.035em;
}

:focus-visible {
  outline: 3px solid #ffb000;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  left: 16px;
  top: -80px;
  padding: 12px 16px;
  border-radius: 10px;
  color: #fff;
  background: #1557d5;
  font-weight: 800;
  text-decoration: none;
  transition: top .18s ease;
}

.skip-link:focus {
  top: 12px;
}

.hidden {
  display: none !important;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  max-width: none;
  min-height: 78px;
  margin: 0;
  padding: 0 clamp(18px, 4vw, 68px);
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
  align-items: center;
  gap: 28px;
  color: #fff;
  background: rgba(8, 9, 10, .96);
  border: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--blue) 0 50%, var(--fire) 50% 100%);
  font-size: 1.08rem;
  font-weight: 950;
  letter-spacing: -.08em;
}

.brand-name {
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  font-weight: 950;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 8px;
}

.site-header nav a {
  position: relative;
  min-height: 78px;
  padding: 0 15px;
  display: grid;
  place-items: center;
  color: #c8cacf;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 750;
  transition: color .18s ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: #fff;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--fire);
  transform: scaleX(0);
  transition: transform .18s ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after,
.site-header nav a[href="#home"]:first-child::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.live-status,
.my-trips-link {
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  color: #e8e9e9;
  background: rgba(255, 255, 255, .05);
  font-size: .76rem;
  font-weight: 750;
  text-decoration: none;
}

.live-status:hover,
.my-trips-link:hover {
  background: rgba(255, 255, 255, .1);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35d06f;
  box-shadow: 0 0 0 5px rgba(53, 208, 111, .12);
}

.my-trips-link span {
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: .68rem;
}

.site-header .button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}

main {
  max-width: 1480px;
  margin: 0 auto;
  padding: 28px clamp(16px, 3vw, 42px) 100px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

#homeView.active {
  display: flex;
  flex-direction: column;
}

.hero { order: 1; }
.trip-shortcuts { order: 2; }
.fixture-section { order: 3; }
.club-identity { order: 4; }
.club-news-section { order: 5; }
.coverage-section { order: 6; }
.chant-ribbon { order: 7; }
.why-panel { order: 8; }
.alert-banner { order: 9; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, .75fr);
  gap: 18px;
  align-items: stretch;
  padding: 0;
}

.hero-media {
  position: relative;
  min-height: 625px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, .92) 0, rgba(5, 8, 12, .62) 48%, rgba(5, 8, 12, .12) 78%),
    linear-gradient(0deg, rgba(5, 8, 12, .74), transparent 52%),
    url("assets/stadium-day.webp") center / cover no-repeat;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--club-primary) 28%, transparent), transparent 50%),
    linear-gradient(0deg, rgba(5, 8, 12, .7), transparent 60%);
}

.hero-photo-content {
  width: 100%;
  padding: clamp(32px, 5.2vw, 76px);
}

.tour-label {
  width: max-content;
  max-width: 100%;
  margin: 0 0 24px;
  padding: 8px 12px;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: #fff;
  background: rgba(6, 7, 9, .5);
  backdrop-filter: blur(10px);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tour-label.tifo-long {
  font-size: .68rem;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(4rem, 7.5vw, 7.4rem);
  font-weight: 900;
  line-height: .87;
  letter-spacing: -.075em;
  text-wrap: balance;
}

.hero h1 span {
  color: #fff;
  text-shadow: 0 3px 30px rgba(0, 0, 0, .35);
}

.hero-photo-content > p {
  max-width: 580px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.55;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-proof span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(8, 9, 10, .52);
  font-size: .75rem;
  font-weight: 750;
  backdrop-filter: blur(8px);
}

.journey-panel {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.journey-status {
  min-height: 60px;
  padding: 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #fff;
  background: var(--dark);
  font-size: .73rem;
  letter-spacing: .07em;
}

.journey-status span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 900;
}

.journey-status i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fire);
  box-shadow: 0 0 0 5px rgba(255, 78, 26, .14);
}

.journey-status strong {
  text-align: right;
  font-size: .74rem;
  font-weight: 800;
}

.journey-content {
  flex: 1;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
}

.eyebrow {
  margin: 0 0 9px;
  display: block;
  color: var(--fire);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.eyebrow.light {
  color: #ffbe7a;
}

.journey-content > h2 {
  margin: 0 0 22px;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 880;
  line-height: 1;
}

.club-picker {
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 10px;
  border: 0;
  background: transparent;
}

.club-picker label {
  margin: 0;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.club-picker select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 38px 0 13px;
  border: 1px solid #cfd1d2;
  border-radius: 11px;
  color: var(--ink);
  background: #fff;
  font-weight: 750;
}

.club-picker label:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.club-picker #divisionSelect { grid-column: 1; grid-row: 2; }
.club-picker label:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.club-picker #teamSelect { grid-column: 2; grid-row: 2; }

.hero-fixture-card {
  margin-top: 20px;
  padding: 17px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7f8f6;
}

.fixture-club-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: var(--club-on-primary);
  background:
    linear-gradient(145deg, var(--club-primary), color-mix(in srgb, var(--club-primary) 65%, #000));
  box-shadow: inset 0 0 0 3px var(--club-accent);
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .04em;
}

.hero-fixture-card span {
  color: var(--blue);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-fixture-card h3 {
  margin: 3px 0 4px;
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.hero-fixture-card p {
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: .78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.journey-route {
  position: relative;
  margin: 22px 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  list-style: none;
}

.journey-route::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 8px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--fire), var(--blue), var(--fire));
}

.journey-route li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: .65rem;
  font-weight: 750;
}

.route-dot {
  width: 17px;
  height: 17px;
  display: block;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px currentColor;
}

.route-blue {
  color: var(--blue);
  background: var(--blue);
}

.route-orange {
  color: var(--fire);
  background: var(--fire);
}

.button {
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -.01em;
  text-decoration: none;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    background .16s ease,
    color .16s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--fire);
  border-color: var(--fire);
  box-shadow: 0 9px 22px rgba(255, 78, 26, .19);
}

.button-primary:hover {
  filter: none;
  background: #e93c09;
  box-shadow: 0 12px 28px rgba(255, 78, 26, .26);
}

.button-ghost {
  color: var(--ink);
  background: transparent;
  border-color: #aeb1b4;
}

.button-ghost:hover {
  background: #f1f2ef;
}

.button-paper {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.hero-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.journey-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: .72rem;
  text-align: center;
}

.journey-note > span:first-child {
  color: var(--green);
}

.trip-shortcuts {
  margin: 18px 0 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trip-shortcuts button {
  min-width: 0;
  min-height: 100px;
  padding: 16px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  box-shadow: 0 6px 20px rgba(13, 17, 23, .04);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.trip-shortcuts button:hover,
.trip-shortcuts button:focus-visible {
  transform: translateY(-4px);
  border-color: #b8bbc0;
  box-shadow: var(--shadow);
}

.shortcut-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--blue);
  background: rgba(21, 87, 213, .1);
}

.shortcut-icon.orange {
  color: var(--fire);
  background: rgba(255, 78, 26, .1);
}

.shortcut-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trip-shortcuts b,
.trip-shortcuts small {
  display: block;
}

.trip-shortcuts b {
  font-size: .95rem;
}

.trip-shortcuts small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: .69rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trip-shortcuts > button > i {
  color: var(--blue);
  font-size: 1.25rem;
  font-style: normal;
}

.section-heading,
.section-lead {
  margin: 38px 0 17px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.section-heading h2,
.section-lead h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  font-weight: 880;
  line-height: .98;
}

.section-lead p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.text-button {
  min-height: 44px;
  border: 0;
  color: var(--blue);
  background: transparent;
  font-weight: 850;
}

.fixture-section {
  padding: 8px 0 42px;
}

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

.match-ticket {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr) 126px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(13, 17, 23, .05);
  transition: transform .18s ease, box-shadow .18s ease;
}

.match-ticket:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.match-ticket::before,
.match-ticket::after {
  display: none;
}

.ticket-date {
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 0;
  color: var(--club-on-primary);
  background:
    linear-gradient(155deg, var(--club-primary), color-mix(in srgb, var(--club-primary) 65%, #000));
  text-align: center;
}

.ticket-date strong {
  font-family: inherit;
  font-size: 2rem;
  font-weight: 900;
}

.ticket-date span {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.ticket-main {
  padding: 21px;
}

.ticket-main small {
  color: var(--blue);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.ticket-main h3 {
  margin: 8px 0;
  font-size: 1.3rem;
  font-weight: 850;
}

.ticket-main p {
  margin: 6px 0;
  color: var(--muted);
  font-size: .84rem;
}

.ticket-actions {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ticket-actions .button {
  min-height: 40px;
  padding: 0 12px;
  font-size: .75rem;
}

.ticket-stub {
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 0;
  border-left: 1px solid var(--line);
  background: #f4f4f1;
  text-align: center;
}

.ticket-stub::after {
  display: none;
}

.ticket-stub b {
  color: var(--fire);
  font-size: .64rem;
}

.ticket-stub strong {
  font-size: 1.02rem;
}

.ticket-stub span {
  color: var(--muted);
  font-size: .66rem;
}

.status-pill {
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--green) !important;
  background: #e9f7ed;
  font-size: .62rem !important;
  font-weight: 900;
}

.status-pill.changed {
  color: #a8300f !important;
  background: #fff0e9;
}

.club-identity {
  --club-pattern: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 24px 0 0;
  padding: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
  gap: 30px;
  border: 0;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(125deg, rgba(8, 9, 10, .96), rgba(8, 9, 10, .73)),
    url("assets/stadium-night.webp") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.club-identity::before {
  width: 430px;
  height: 430px;
  right: -140px;
  top: -220px;
  border: 80px solid color-mix(in srgb, var(--club-primary) 75%, transparent);
  border-radius: 50%;
  background: transparent;
  opacity: .4;
  transform: none;
}

.club-identity::after {
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--fire));
  opacity: 1;
}

.club-identity-copy h2 {
  max-width: 16ch;
  margin: .15em 0;
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  font-weight: 900;
  line-height: .9;
  text-transform: none;
}

.club-identity-copy > p {
  max-width: 68ch;
  color: rgba(255, 255, 255, .82);
  font-size: 1.04rem;
  font-weight: 650;
  line-height: 1.65;
}

.club-identity-facts {
  margin: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.club-identity-facts span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: .72rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.club-identity-editorial {
  max-width: 74ch;
  display: grid;
  gap: 10px;
}

.club-identity-editorial article {
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-left: 3px solid var(--fire);
  border-radius: 11px;
  background: rgba(8, 9, 10, .48);
  backdrop-filter: blur(9px);
}

.club-identity-editorial h3,
.club-identity-editorial p {
  margin: .15em 0;
}

.club-identity-editorial h3 {
  font-size: .95rem;
}

.club-identity-editorial p {
  color: rgba(255, 255, 255, .78);
  font-size: .87rem;
  line-height: 1.55;
}

.club-link-grid a {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 9px;
  background: rgba(255, 255, 255, .06);
}

.ground-travel-card {
  align-self: start;
  padding: 24px;
  border: 0;
  border-radius: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
  backdrop-filter: blur(10px);
}

.ground-travel-card h3 {
  margin: .2em 0;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 880;
}

.station-item {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.chant-ribbon {
  margin: 22px 0 6px;
  padding: 12px 15px;
  display: flex;
  gap: 9px;
  overflow: auto;
  border: 0;
  border-radius: 14px;
  color: var(--muted);
  background: #e9eae7;
  font-size: .76rem;
  font-weight: 750;
  white-space: nowrap;
  scrollbar-width: none;
}

.chant-ribbon::-webkit-scrollbar {
  display: none;
}

.chant-ribbon span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
}

.coverage-section,
.club-news-section {
  margin: 36px 0 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 10px 35px rgba(13, 17, 23, .05);
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}

.coverage-grid article,
.news-card,
.video-card,
.guide-card {
  min-height: 190px;
  padding: 19px;
  border: 1px solid #272a2f;
  border-radius: 16px;
  color: #fff;
  background: #101216;
}

.coverage-grid article {
  border-top: 1px solid #272a2f;
}

.coverage-grid b,
.news-card > a,
.video-card a,
.guide-card a {
  color: #78a4ff;
}

.coverage-grid h3 {
  margin: 13px 0 8px;
  font-size: 1.25rem;
  font-weight: 820;
}

.coverage-grid p,
.news-card p,
.video-card p,
.guide-card p {
  color: #c5c8ce;
  line-height: 1.55;
}

.release-note,
.news-brief {
  margin: 16px 0 0;
  padding: 15px 17px;
  border: 0;
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: #eff4ff;
  font-size: .9rem;
  line-height: 1.6;
}

.news-grid {
  gap: 11px;
}

.news-card {
  border-top: 1px solid #272a2f;
}

.news-card .tag,
.tag {
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.news-item-list small,
.social-news-links a,
.news-source-link {
  color: #8aaffc;
}

.why-panel,
.alert-banner {
  margin-top: 34px;
  padding: clamp(26px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  border: 0;
  border-radius: var(--radius-lg);
  color: #fff;
  background: #0e1013;
}

.why-panel h2,
.alert-banner h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 880;
  line-height: 1;
}

.why-grid article {
  min-height: 82px;
  padding: 15px;
  border: 1px solid #2c3036;
  border-radius: 13px;
  background: #171a1f;
}

.alert-banner {
  background:
    linear-gradient(110deg, rgba(8, 9, 10, .94), rgba(8, 9, 10, .62)),
    url("assets/city-arrival.webp") center 45% / cover no-repeat;
}

.page-heading {
  max-width: 900px;
  padding: 55px 0 30px;
}

.page-heading h1,
.content-page h1 {
  margin: 0 0 18px;
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 900;
  line-height: .88;
}

.page-heading p {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.08rem;
}

.club-division {
  margin-bottom: 34px;
}

.club-division-heading {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
}

.club-division-heading h2 {
  margin: 0;
  font-size: 1.8rem;
}

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

.club-tile {
  min-height: 154px;
  padding: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 0;
  border-radius: 17px;
  text-align: left;
  box-shadow: 0 6px 18px rgba(13, 17, 23, .1);
  transition: transform .17s ease, box-shadow .17s ease;
}

.club-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.club-tile span {
  width: 48px;
  height: 48px;
  margin-bottom: auto;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 14px;
  background: rgba(0, 0, 0, .16);
  font-size: .7rem;
  font-weight: 950;
}

.club-tile b {
  margin-top: 15px;
  font-size: 1rem;
}

.club-tile small {
  margin-top: 3px;
  opacity: .75;
  font-size: .7rem;
}

.metric-grid,
.principles-grid {
  gap: 11px;
}

.metric-grid article,
.principles-grid article,
.report-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(13, 17, 23, .04);
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

th {
  background: #f0f1ee;
}

th,
td {
  border-bottom-color: var(--line);
}

.article-view {
  padding-top: 10px;
}

.back-link {
  min-height: 44px;
  color: var(--blue);
}

.article-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .6fr);
  border: 0;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(100deg, rgba(8, 9, 10, .95), rgba(8, 9, 10, .75) 52%, rgba(8, 9, 10, .45)),
    url("assets/stadium-night.webp") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--fire));
}

.article-hero-copy {
  padding: clamp(30px, 5vw, 68px);
}

.article-hero h1 {
  margin: 10px 0 20px;
  color: #fff;
  font-size: clamp(3.3rem, 7vw, 6.4rem);
  font-weight: 900;
  line-height: .87;
}

.article-hero p {
  color: #d4d7dc;
}

.match-meta {
  margin-top: 25px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  background: rgba(8, 9, 10, .35);
  backdrop-filter: blur(8px);
}

.match-meta div {
  padding: 14px;
  border-right: 1px solid rgba(255, 255, 255, .18);
}

.big-ticket {
  position: relative;
  align-self: center;
  margin: 26px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 20px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .22);
  transform: none;
  backdrop-filter: blur(16px);
}

.big-ticket::before,
.big-ticket::after,
.big-ticket .barcode {
  display: none;
}

.big-ticket h2 {
  margin: 13px 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: .95;
}

.big-ticket > small:last-child {
  display: block;
  margin-top: 24px;
  color: #a9c3fa;
}

.article-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 88px;
}

.hotel-grid,
.pub-grid,
.parking-grid,
.evidence-grid {
  gap: 13px;
}

.hotel-card,
.pub-card,
.parking-card,
.evidence-card {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(13, 17, 23, .05);
}

.hotel-card,
.matchday-pub-card,
.parking-card {
  min-height: 0;
}

.pub-card,
.parking-card {
  border-top: 1px solid var(--line);
}

.hotel-card h3,
.pub-card h3,
.parking-card h3,
.evidence-card h3 {
  font-size: 1.26rem;
  font-weight: 840;
}

.hotel-score,
.area-score,
.matchday-score {
  color: var(--club-on-primary);
  background: var(--club-primary);
}

.area-score {
  width: 58px;
  height: 58px;
}

.tag,
.venue-facts span {
  border-radius: 999px;
  background: #eef0ed;
}

.venue-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8f8f6;
}

.venue-item strong {
  font-family: inherit;
}

.warning {
  border-left: 4px solid #db8500;
  border-radius: 0 10px 10px 0;
  background: #fff5dc;
}

.guide-status-bar {
  padding: 13px 15px;
  border: 1px solid #ced9f4;
  border-left: 4px solid var(--blue);
  border-radius: 0 13px 13px 0;
  background: #f0f4ff;
}

.matchday-source-links {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.travel-panel {
  gap: 13px;
}

.travel-ticket {
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}

.travel-ticket::after {
  color: var(--blue);
}

.travel-route span {
  border-color: var(--blue);
}

.history-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.forum-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f0f1ee;
}

footer {
  padding: 42px clamp(18px, 4vw, 68px) 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  border-top: 1px solid #292c31;
  color: #fff;
  background: #08090a;
}

.footer-brand {
  align-self: start;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

footer p {
  grid-column: 1 / -1;
  margin: 0;
  color: #aeb2b9;
}

.footer-legal a {
  color: #dadddf;
}

dialog {
  width: min(900px, calc(100vw - 28px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 26px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 35px 110px rgba(0, 0, 0, .38);
}

dialog::backdrop {
  background: rgba(3, 4, 5, .76);
  backdrop-filter: blur(7px);
}

.automation-grid article {
  border: 1px solid var(--line);
  border-radius: 13px;
}

.dialog-label textarea,
.report-form input,
.report-form select,
.report-form textarea {
  min-height: 46px;
  border: 1px solid #bcc0c3;
  border-radius: 10px;
}

pre {
  border-radius: 12px;
  background: #101216;
}

.toast {
  bottom: 92px;
  max-width: calc(100vw - 28px);
  border-radius: 999px;
  background: #0d0f12;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}

.mobile-nav {
  display: none;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(350px, .8fr);
  }

  .hero-media {
    min-height: 600px;
  }

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

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

@media (max-width: 920px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    min-height: 68px;
    padding: 0 18px;
  }

  .header-actions .my-trips-link,
  .header-actions #installButton {
    display: none !important;
  }

  .live-status {
    min-height: 40px;
    padding: 0 11px;
  }

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

  .hero-media {
    min-height: 540px;
  }

  .journey-panel {
    min-height: 0;
  }

  .hero-actions {
    margin-top: 21px;
  }

  .fixture-grid,
  .hotel-grid,
  .pub-grid,
  .parking-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .club-identity,
  .article-hero {
    grid-template-columns: 1fr;
  }

  .big-ticket {
    margin-top: 0;
  }

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

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

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .site-header {
    min-height: 64px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand-name {
    font-size: .92rem;
  }

  .live-status {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .live-status #scorebarClub {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  main {
    padding: 14px 12px 72px;
  }

  .hero {
    gap: 11px;
  }

  .hero-media {
    min-height: 470px;
    border-radius: 21px;
    background-position: 62% center;
  }

  .hero-photo-content {
    padding: 24px;
  }

  .tour-label {
    margin-bottom: 18px;
  }

  .hero h1 {
    max-width: 8ch;
    margin-bottom: 17px;
    font-size: clamp(3.25rem, 15vw, 5.1rem);
    line-height: .88;
  }

  .hero-photo-content > p {
    max-width: 34ch;
    font-size: .98rem;
  }

  .hero-proof {
    gap: 6px;
  }

  .hero-proof span {
    padding: 6px 8px;
    font-size: .65rem;
  }

  .journey-panel {
    border-radius: 21px;
  }

  .journey-status {
    min-height: 52px;
    padding: 0 17px;
  }

  .journey-content {
    padding: 21px 17px;
  }

  .journey-content > h2 {
    font-size: 1.8rem;
  }

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

  .club-picker label:nth-of-type(1),
  .club-picker #divisionSelect,
  .club-picker label:nth-of-type(2),
  .club-picker #teamSelect {
    grid-column: 1;
    grid-row: auto;
  }

  .club-picker label:nth-of-type(2) {
    margin-top: 6px;
  }

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

  .hero-actions .button {
    min-height: 50px;
  }

  .trip-shortcuts {
    margin: 11px 0 25px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .trip-shortcuts button {
    min-height: 112px;
    padding: 13px;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto;
    gap: 9px;
  }

  .shortcut-icon {
    width: 42px;
    height: 42px;
  }

  .trip-shortcuts > button > i {
    display: none;
  }

  .trip-shortcuts button > span:nth-child(2) {
    grid-column: 1 / -1;
  }

  .trip-shortcuts small {
    white-space: normal;
  }

  .section-heading,
  .section-lead,
  .why-panel,
  .alert-banner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .section-heading,
  .section-lead {
    margin-top: 27px;
  }

  .section-heading h2,
  .section-lead h2 {
    font-size: clamp(2.15rem, 11vw, 3.25rem);
  }

  .fixture-section {
    padding-bottom: 24px;
  }

  .match-ticket {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 0;
  }

  .ticket-date {
    padding: 14px 8px;
  }

  .ticket-main {
    padding: 17px 14px;
  }

  .ticket-main h3 {
    font-size: 1.1rem;
  }

  .ticket-main p:nth-of-type(2) {
    display: none;
  }

  .ticket-stub {
    grid-column: 1 / -1;
    min-height: 55px;
    padding: 10px 13px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--line);
    border-left: 0;
    text-align: left;
  }

  .ticket-stub > span:not(.status-pill) {
    display: none;
  }

  .ticket-actions .train-link {
    display: none;
  }

  .club-identity,
  .coverage-section,
  .club-news-section,
  .why-panel,
  .alert-banner {
    border-radius: 21px;
  }

  .club-identity {
    padding: 24px 18px;
    gap: 18px;
  }

  .club-identity-copy h2 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .ground-travel-card {
    padding: 19px;
    border-radius: 16px;
  }

  .coverage-section,
  .club-news-section {
    padding: 19px 14px;
  }

  .coverage-grid,
  .club-division-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .coverage-grid article {
    min-height: 0;
  }

  .page-heading {
    padding-top: 36px;
  }

  .page-heading h1 {
    font-size: clamp(3.4rem, 18vw, 5.4rem);
  }

  .article-hero {
    border-radius: 21px;
  }

  .article-hero-copy {
    padding: 29px 18px;
  }

  .article-hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

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

  .match-meta div:nth-child(2n) {
    border-right: 0;
  }

  .big-ticket {
    margin: 0 18px 24px;
  }

  .article-section {
    padding: 34px 0;
  }

  .guide-status-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .mobile-nav {
    position: fixed;
    z-index: 120;
    left: 10px;
    right: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
    min-height: 62px;
    padding: 7px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 18px;
    background: rgba(8, 9, 10, .96);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
    backdrop-filter: blur(16px);
  }

  .mobile-nav a {
    min-height: 48px;
    padding: 5px 3px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1px;
    border-radius: 12px;
    color: #aeb2b9;
    text-decoration: none;
  }

  .mobile-nav a.active,
  .mobile-nav a:hover,
  .mobile-nav a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .1);
  }

  .mobile-nav span {
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    line-height: 1;
  }

  .mobile-nav svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-nav b {
    font-size: .62rem;
  }

  footer {
    padding: 38px 18px 98px;
  }

  dialog {
    padding: 20px 15px;
    border-radius: 19px;
  }

  .automation-grid,
  .report-form {
    grid-template-columns: 1fr;
  }

  .report-form .full {
    grid-column: auto;
  }
}

@media (max-width: 390px) {
  .brand-name {
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-media {
    min-height: 435px;
  }

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

  .trip-shortcuts button {
    min-height: 88px;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto;
  }

  .trip-shortcuts button > span:nth-child(2) {
    grid-column: 2;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* === Redesign pass: official badge + ground imagery system === */
.hero-media {
  background:
    linear-gradient(90deg, rgba(5, 8, 12, .92) 0, rgba(5, 8, 12, .62) 48%, rgba(5, 8, 12, .14) 78%),
    linear-gradient(0deg, rgba(5, 8, 12, .74), transparent 52%),
    var(--hero-image, url("assets/stadium-day.webp")) center / cover no-repeat;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto -6% -10% auto;
  width: min(38vw, 460px);
  aspect-ratio: 1;
  background: var(--hero-badge-watermark) center / contain no-repeat;
  opacity: .16;
  pointer-events: none;
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, .28));
}

.hero-media-has-ground::after {
  opacity: .22;
}

.club-mark-badge,
.ticket-club-badge,
.article-club-badge,
.big-ticket-badge,
.club-tile-badge,
.section-club-badge,
.heading-inline-badge,
.tiny-club-badge {
  display: block;
  object-fit: contain;
}

.fixture-club-mark {
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.club-mark-badge {
  width: 42px;
  height: 42px;
}

.hero-fixture-card {
  position: relative;
  overflow: hidden;
  grid-template-columns: 58px minmax(0, 1fr);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .88)),
    var(--fixture-card-image) center / cover no-repeat;
}

.hero-fixture-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--club-primary), var(--club-accent));
}

.hero-team-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 2px;
}

.tiny-club-badge {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.hero-versus {
  margin: 0 8px;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.heading-inline-badge {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  vertical-align: middle;
}

#fixtureHeading,
#newsHeading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.match-ticket {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .92)),
    var(--ticket-card-image) center / cover no-repeat;
}

.ticket-club-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 10px 0 8px;
}

.ticket-club-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ticket-club-lockup.away {
  justify-content: flex-end;
  text-align: right;
}

.ticket-club-badge {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.ticket-club-label {
  display: block;
  margin-bottom: 2px;
  color: var(--blue);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ticket-main .ticket-club-lockup h3 {
  margin: 0;
  font-size: 1.02rem;
}

.ticket-versus-pill {
  padding: 8px 11px;
  border: 1px solid rgba(20, 27, 39, .08);
  border-radius: 999px;
  background: rgba(8, 9, 10, .04);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.club-tile {
  position: relative;
  background:
    linear-gradient(145deg, rgba(8, 9, 10, .08), rgba(8, 9, 10, 0)),
    var(--club-tile-image) center / cover no-repeat,
    linear-gradient(145deg, var(--club-primary), var(--club-secondary));
}

.club-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .22));
  pointer-events: none;
}

.club-tile > * {
  position: relative;
  z-index: 1;
}

.club-tile-top {
  width: 100%;
  margin-bottom: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.club-tile-badge {
  width: 58px;
  height: 58px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .16);
}

.club-tile-code {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(8, 9, 10, .18);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.club-identity {
  background:
    linear-gradient(125deg, rgba(8, 9, 10, .96), rgba(8, 9, 10, .76)),
    var(--club-ground-image, url("assets/stadium-night.webp")) center / cover no-repeat;
}

.club-identity::before {
  content: "";
  position: absolute;
  width: min(36vw, 420px);
  height: min(36vw, 420px);
  right: clamp(-90px, -3vw, -30px);
  top: clamp(-80px, -4vw, -20px);
  border: 0;
  border-radius: 0;
  background: var(--club-badge-watermark) center / contain no-repeat;
  opacity: .14;
}

#clubIdentityHeading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-club-badge {
  width: clamp(56px, 7vw, 84px);
  height: clamp(56px, 7vw, 84px);
  flex: 0 0 auto;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .24);
}

.article-hero {
  background:
    linear-gradient(100deg, rgba(8, 9, 10, .95), rgba(8, 9, 10, .78) 52%, rgba(8, 9, 10, .45)),
    var(--article-hero-image, url("assets/stadium-night.webp")) center / cover no-repeat;
}

.article-badge-row {
  margin: 12px 0 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.article-badge-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.article-badge-lockup.away {
  background: rgba(8, 9, 10, .22);
}

.article-club-badge,
.big-ticket-badge {
  width: 36px;
  height: 36px;
}

.article-badge-versus {
  color: #fff;
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.big-ticket-badges {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ground-gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ground-shot-card {
  min-height: 210px;
  overflow: hidden;
  border-radius: 18px;
  background: #101215;
  box-shadow: var(--shadow);
}

.ground-shot-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ground-shot-card.feature {
  grid-row: span 2;
  min-height: 434px;
}

.badge-fallback-text {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: inherit;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .ground-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ground-shot-card.feature {
    grid-row: auto;
    min-height: 260px;
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .ticket-club-row {
    grid-template-columns: 1fr;
  }

  .ticket-club-lockup.away {
    justify-content: flex-start;
    text-align: left;
  }

  .ticket-versus-pill {
    width: max-content;
  }

  #clubIdentityHeading {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-badge-row {
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .ground-gallery-grid {
    grid-template-columns: 1fr;
  }

  .ground-shot-card,
  .ground-shot-card.feature {
    min-height: 220px;
    grid-column: auto;
  }

  .hero-team-lockup {
    display: flex;
    margin: 2px 0;
  }

  .hero-versus {
    display: block;
    margin: 4px 0;
  }

  .article-badge-row {
    align-items: stretch;
    flex-direction: column;
  }
}

/* === Premium affiliate-ready pass === */
.breadcrumbs {
  width: min(100%, 1540px);
  margin: 0 auto;
  padding: 18px clamp(18px, 4vw, 68px) 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #6e7279;
  font-size: .78rem;
  font-weight: 750;
}

.breadcrumbs a {
  color: #3d4654;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.breadcrumbs i {
  color: #a5a8ad;
  font-style: normal;
}

.hero-media {
  background: #0a0d12;
}

.hero-background-image,
.article-hero-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-photo-content,
.article-hero-copy,
.big-ticket {
  position: relative;
  z-index: 2;
}

.hero-media::before {
  z-index: -1;
}

.article-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 9, 10, .96), rgba(8, 9, 10, .78) 52%, rgba(8, 9, 10, .48)),
    linear-gradient(0deg, rgba(8, 9, 10, .74), transparent 54%);
}

.content-freshness {
  width: max-content;
  max-width: 100%;
  margin: 18px 0 2px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(8, 9, 10, .36);
  color: rgba(255, 255, 255, .84);
  font-size: .73rem;
  backdrop-filter: blur(10px);
}

.freshness-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #46d47a;
  box-shadow: 0 0 0 5px rgba(70, 212, 122, .12);
}

.partner-proof-section {
  order: 8;
  margin-top: 24px;
  padding: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  overflow: hidden;
  border: 1px solid #dfe2e7;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--club-primary) 12%, transparent), transparent 22rem),
    linear-gradient(145deg, #fff, #f4f5f2);
  box-shadow: var(--shadow);
}

.partner-proof-copy h2 {
  max-width: 15ch;
  margin: 8px 0 16px;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: .94;
}

.partner-proof-copy p {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

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

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

.partner-proof-grid article {
  min-height: 145px;
  padding: 21px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid #dfe2e7;
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 34px rgba(13, 17, 23, .06);
}

.partner-proof-grid strong {
  font-size: 1.08rem;
}

.partner-proof-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}

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

.club-identity-editorial .club-links-card,
.club-identity-editorial .club-sources-card,
.club-identity-editorial .club-faq-card {
  grid-column: 1 / -1;
}

.club-heritage-card {
  position: relative;
  min-height: 175px;
  overflow: hidden;
  isolation: isolate;
}

.club-heritage-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 180px;
  height: 180px;
  right: -22px;
  bottom: -38px;
  background: var(--club-heritage-image) center / contain no-repeat;
  opacity: .13;
  transform: rotate(-5deg);
}

.club-heritage-kicker {
  color: #ffbd63;
  font-size: .66rem;
  font-weight: 950;
  letter-spacing: .12em;
}

.supporter-lens-card {
  border-left-color: var(--blue) !important;
}

.club-mini-faq {
  display: grid;
  gap: 8px;
}

.club-mini-faq details,
.faq-list details {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
}

.club-mini-faq summary,
.faq-list summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.club-mini-faq summary::-webkit-details-marker,
.faq-list summary::-webkit-details-marker {
  display: none;
}

.club-mini-faq summary::after,
.faq-list summary::after {
  content: "+";
  float: right;
}

.club-mini-faq details[open] summary::after,
.faq-list details[open] summary::after {
  content: "–";
}

.club-mini-faq details p {
  padding: 0 16px 16px;
}

.commercial-trust-strip {
  margin-top: 24px;
  padding: clamp(24px, 3.5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid #d9dce2;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(21, 87, 213, .06), rgba(255, 78, 26, .05)),
    #fff;
  box-shadow: 0 14px 42px rgba(13, 17, 23, .06);
}

.commercial-trust-strip h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
}

.commercial-trust-strip p {
  max-width: 78ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.affiliate-mini-disclosure {
  margin: 12px 0;
  padding: 10px 12px;
  border-left: 3px solid var(--fire);
  border-radius: 8px;
  background: #f6f2ef;
  color: #66615e;
  font-size: .72rem;
  line-height: 1.45;
}

.supporter-intelligence-section {
  position: relative;
}

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

.supporter-intelligence-grid article {
  min-height: 220px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 30px rgba(13, 17, 23, .05);
}

.supporter-intelligence-grid article > span {
  color: var(--fire);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .1em;
}

.supporter-intelligence-grid h3 {
  margin: auto 0 9px;
  font-size: 1.1rem;
}

.supporter-intelligence-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.58;
}

.faq-list {
  max-width: 980px;
  display: grid;
  gap: 10px;
}

.faq-list details {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 8px 26px rgba(13, 17, 23, .04);
}

.faq-list summary {
  padding: 18px 20px;
  font-size: 1rem;
}

.faq-list details p {
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.article-section,
.coverage-section,
.club-news-section,
.fixture-section,
.partner-proof-section,
.why-panel,
.alert-banner {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.hero,
.club-identity,
.article-hero {
  content-visibility: visible;
}

img {
  max-width: 100%;
}

.button,
.site-header nav a,
.mobile-nav a,
.club-tile {
  touch-action: manipulation;
}

@media (max-width: 1120px) {
  .partner-proof-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .breadcrumbs {
    padding-top: 12px;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .partner-proof-section {
    padding: 24px;
  }

  .partner-proof-grid,
  .club-identity-editorial,
  .supporter-intelligence-grid {
    grid-template-columns: 1fr;
  }

  .commercial-trust-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-freshness {
    width: 100%;
    align-items: flex-start;
    border-radius: 14px;
  }

  .supporter-intelligence-grid article {
    min-height: 170px;
  }
}

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

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

.fixture-chat-card,
.fixture-chat-empty {
  min-height: 230px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(13,17,23,.05);
}

.fixture-chat-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.fixture-chat-meta small {
  color: var(--muted);
  text-align: right;
  font-size: .68rem;
}

.fixture-chat-card h3,
.fixture-chat-empty h3 {
  margin: 26px 0 10px;
  font-size: 1.08rem;
}

.fixture-chat-card p,
.fixture-chat-empty p {
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.58;
}

.fixture-chat-card a {
  margin-top: auto;
  color: var(--blue);
  font-size: .79rem;
  font-weight: 850;
}

.fixture-chat-freshness {
  grid-column: 1 / -1;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .73rem;
}

@media (max-width: 980px) {
  .fixture-chat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .fixture-chat-grid {
    grid-template-columns: 1fr;
  }
}

.affiliate-policy-page {
  width: min(calc(100% - 36px), 980px);
  margin: 0 auto;
  padding: 40px 0 90px;
}

.affiliate-policy-page > .breadcrumbs {
  width: 100%;
  padding: 0 0 28px;
}

.affiliate-policy-page > h1 {
  max-width: 11ch;
  margin: 10px 0 26px;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: .87;
}

.affiliate-policy-page section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.affiliate-policy-page section h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.affiliate-policy-page p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.article-hero {
  isolation: isolate;
  background: #08090a;
}

/* Final image-loading override: real <img> elements own the LCP surfaces. */
.hero-media,
.article-hero {
  isolation: isolate;
  background: #0a0d12;
}

/* === Affiliate-ready functional pass: neutral homepage and focused fixture lists === */
.landing-view {
  display: none;
}

.landing-view.active {
  display: block;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(350px, .72fr);
  gap: 18px;
  align-items: stretch;
}

.landing-hero-media {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius-lg);
  color: #fff;
  background: #08090a;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.landing-hero-media > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 176, 0, .18), transparent 30%),
    linear-gradient(90deg, rgba(5, 8, 12, .95), rgba(5, 8, 12, .66) 56%, rgba(5, 8, 12, .2)),
    linear-gradient(0deg, rgba(5, 8, 12, .82), transparent 60%);
}

.landing-hero-copy {
  width: 100%;
  padding: clamp(34px, 5.5vw, 78px);
}

.landing-hero-copy h1 {
  max-width: 850px;
  margin: 12px 0 24px;
  color: #fff;
  font-size: clamp(3.7rem, 7vw, 7.2rem);
  font-weight: 950;
  line-height: .88;
  letter-spacing: -.075em;
}

.landing-hero-copy h1 span {
  color: #ffb000;
}

.landing-hero-copy > p {
  max-width: 650px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}

.landing-proof {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.landing-proof span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(8, 9, 10, .52);
  font-size: .75rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.landing-selector {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.landing-selector h2 {
  margin: 8px 0 12px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: .95;
}

.landing-selector > p {
  color: var(--muted);
}

.landing-club-picker {
  margin: 22px 0 16px;
  display: grid;
  gap: 7px;
}

.landing-club-picker label {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.landing-club-picker select {
  width: 100%;
  min-height: 50px;
  padding: 0 42px 0 14px;
  border: 1px solid #cfd1d2;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  font-weight: 750;
}

.landing-club-preview {
  min-height: 82px;
  margin-bottom: 16px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-soft);
}

.landing-preview-badge,
.landing-preview-placeholder {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: contain;
}

.landing-preview-placeholder {
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #1557d5, #ff4e1a);
  font-size: .85rem;
  font-weight: 950;
}

.landing-club-preview strong,
.landing-club-preview span {
  display: block;
}

.landing-club-preview span {
  margin-top: 3px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.4;
}

.landing-selector .button {
  width: 100%;
  justify-content: center;
}

.landing-selector > small {
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
}

.landing-how {
  padding: clamp(52px, 7vw, 90px) 0;
}

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

.landing-feature-grid article {
  min-height: 245px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(13, 17, 23, .05);
}

.landing-feature-grid b {
  color: var(--fire);
  font-size: .78rem;
  letter-spacing: .1em;
}

.landing-feature-grid h3 {
  margin: 38px 0 10px;
  font-size: 1.35rem;
}

.landing-feature-grid p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
}

.landing-trust-panel {
  margin-bottom: 36px;
  padding: clamp(30px, 5vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .65fr);
  gap: 35px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 176, 0, .14), transparent 25rem),
    #08090a;
  box-shadow: var(--shadow);
}

.landing-trust-panel h2 {
  margin: 8px 0 14px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: .92;
}

.landing-trust-panel p {
  max-width: 70ch;
  color: rgba(255, 255, 255, .76);
}

.landing-trust-points {
  display: grid;
  gap: 10px;
  align-content: center;
}

.landing-trust-points span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  font-size: .82rem;
  font-weight: 800;
}

.fixture-list-controls {
  grid-column: 1 / -1;
  padding: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border: 1px dashed #cdd0d3;
  border-radius: 16px;
  background: rgba(255, 255, 255, .68);
}

.fixture-list-controls small {
  color: var(--muted);
}

.matchday-scan-status {
  border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line));
  background: color-mix(in srgb, var(--gold) 7%, #fff);
}


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

  .landing-hero-media {
    min-height: 560px;
  }

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

@media (max-width: 760px) {
  .landing-hero-media {
    min-height: 500px;
  }

  .landing-hero-copy h1 {
    font-size: clamp(3.1rem, 14vw, 5rem);
  }

  .landing-feature-grid,
  .landing-trust-panel {
    grid-template-columns: 1fr;
  }

  .landing-feature-grid article {
    min-height: 210px;
  }
}

.merchant-system-note {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.merchant-system-note h3 {
  margin: 6px 0 8px;
}

.merchant-system-note p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
}

.merchant-system-note code {
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(8, 9, 10, .08);
}
