:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f1f4f8;
  --surface-tint: #edf5ff;
  --text: #111827;
  --muted: #5d6676;
  --subtle: #8a94a6;
  --line: #dbe2ec;
  --line-strong: #b8c2d2;
  --green: #08783f;
  --green-bg: #e8f8ef;
  --green-line: #b9e8c9;
  --amber: #8a5a00;
  --amber-bg: #fff5d8;
  --blue: #1457a8;
  --blue-bg: #eaf3ff;
  --red: #a5242d;
  --ink: #0b1220;
  --accent: #2457d6;
  --accent-soft: #eef4ff;
  --shadow: 0 18px 48px rgba(25, 35, 55, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.admin-page {
  background: #f4f7fb;
}

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

button,
input,
select {
  font: inherit;
}

.shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(18, 193, 111, 0.14));
}

.desktop-nav {
  display: flex;
  gap: 22px;
  margin-right: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover {
  color: var(--text);
}

.mobile-nav {
  display: none;
}

.run-status {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  padding: 8px 13px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(25, 35, 55, 0.05);
}

.control-band {
  padding: 36px 0 26px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 15% 10%, rgba(36, 87, 214, 0.10), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

.product-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.product-head p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}

.hero-proof-card,
.seo-proof-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  padding: 18px;
  box-shadow: 0 16px 38px rgba(25, 35, 55, 0.08);
}

.hero-proof-card strong,
.hero-proof-card span,
.hero-proof-card em,
.seo-proof-card strong,
.seo-proof-card span,
.seo-proof-card em {
  display: block;
}

.hero-proof-card strong,
.seo-proof-card strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.hero-proof-card span,
.seo-proof-card span {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.hero-proof-card em,
.seo-proof-card em {
  margin-top: 13px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.world-cup-route .control-band {
  background:
    radial-gradient(circle at 14% 8%, rgba(249, 115, 22, 0.2), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(251, 146, 60, 0.16), transparent 27%),
    linear-gradient(180deg, #fffaf5 0%, #fff3e4 100%);
  border-bottom-color: #fed7aa;
}

.world-cup-route .product-head h1 {
  color: #7c2d12;
}

.world-cup-route .product-head .eyebrow,
.world-cup-route .section-head .eyebrow,
.world-cup-route .route-seo .eyebrow {
  color: #c2410c;
}

.world-cup-route .seo-proof-card {
  border-color: #fdba74;
  background: linear-gradient(180deg, #ffffff, #fff7ed);
  box-shadow: 0 18px 44px rgba(194, 65, 12, 0.12);
}

.world-cup-route .seo-proof-card em {
  border-top-color: #fed7aa;
  color: #c2410c;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px 210px;
  gap: 10px;
}

.search-box {
  display: flex;
  align-items: center;
  min-height: 56px;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 0 16px;
  box-shadow: 0 10px 25px rgba(25, 35, 55, 0.05);
}

.search-box span {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-box input,
select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

select {
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 0 12px;
  color: var(--muted);
  font-weight: 700;
}

.quick-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 0 4px;
}

.chip {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.chip.active,
.chip:hover {
  border-color: var(--text);
  background: var(--text);
  color: #ffffff;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.metric-strip div {
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  padding: 15px 16px;
}

.metric-strip span {
  display: block;
  margin-bottom: 6px;
  color: var(--subtle);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.metric-strip strong {
  font-size: 16px;
}

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

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
}

.section-head > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.match-list {
  display: grid;
  gap: 12px;
}

.load-more-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.secondary-action {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  padding: 10px 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(25, 35, 55, 0.05);
  cursor: pointer;
}

.secondary-action:hover {
  border-color: var(--blue);
}

.match-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(330px, 460px) 185px;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 15px;
  box-shadow: 0 8px 24px rgba(25, 35, 55, 0.04);
  transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.match-card.nl-feature-match {
  overflow: hidden;
  border-color: #fdba74;
  background:
    linear-gradient(90deg, rgba(255, 247, 237, 0.98), rgba(255, 255, 255, 0.98) 58%),
    #ffffff;
  box-shadow: 0 14px 34px rgba(194, 65, 12, 0.10);
}

.match-card.nl-feature-match::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #ae1c28 0 33%, #ffffff 33% 66%, #21468b 66% 100%);
}

.match-card.nl-feature-match:hover {
  border-color: #fb923c;
  box-shadow: 0 20px 48px rgba(194, 65, 12, 0.16);
}

.match-card.nl-feature-match .match-info h3 {
  color: #7c2d12;
}

.match-card.nl-feature-match .quality {
  border: 1px solid #fdba74;
  background: #fff7ed;
  color: #9a3412;
}

.oranje-match-info {
  align-items: start;
}

.oranje-match-copy {
  display: grid;
  gap: 8px;
}

.oranje-match-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #fdba74;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.oranje-match-kicker strong {
  color: #7c2d12;
}

.oranje-match-details {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #7c2d12;
  font-size: 12px;
  font-weight: 850;
}

.oranje-kickoff-label,
.oranje-match-details em {
  border-radius: 999px;
  padding: 5px 8px;
}

.oranje-kickoff-label {
  border: 1px solid #fdba74;
  background: #fff7ed;
  color: #9a3412;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.oranje-match-details strong {
  color: #7c2d12;
  font-size: 13px;
}

.oranje-match-details em {
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
  font-style: normal;
}

.odds-detail-card {
  display: grid;
  grid-template-columns: 1fr;
}

.odds-page-summary {
  margin-top: 12px;
}

.match-card:hover {
  border-color: rgba(36, 87, 214, 0.30);
  box-shadow: 0 18px 42px rgba(25, 35, 55, 0.12);
  transform: translateY(-1px);
}

.match-info {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.match-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.match-meta span {
  border-radius: 999px;
  background: var(--surface-soft);
  padding: 5px 8px;
}

.match-meta .oranje-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #fdba74;
  background: #fff7ed;
  color: #9a3412;
}

.match-meta .oranje-chip .country-flag {
  width: 20px;
  height: 13px;
}

.match-info h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.quality {
  align-self: start;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.quality.strong {
  background: var(--green-bg);
  color: var(--green);
}

.quality.good {
  background: var(--blue-bg);
  color: var(--blue);
}

.quality.thin {
  background: var(--amber-bg);
  color: var(--amber);
}

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

.odd-cell {
  min-height: 88px;
  border: 1px solid var(--green-line);
  border-radius: 10px;
  background: var(--green-bg);
  padding: 10px;
}

a.odd-cell {
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

a.odd-cell:hover {
  border-color: rgba(22, 163, 74, 0.45);
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.13);
  transform: translateY(-1px);
}

.match-card.is-target-match {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12), var(--shadow);
}

.odd-head {
  display: flex;
  justify-content: space-between;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.odd-value {
  margin-top: 8px;
  color: var(--text);
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
}

.odd-book,
.odd-edge {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
}

.odd-book {
  margin-top: 7px;
  color: var(--muted);
}

.odd-edge {
  margin-top: 4px;
  color: var(--green);
}

.match-actions {
  display: grid;
  gap: 10px;
}

.match-actions span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.compare-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--ink), #2457d6);
  color: #ffffff;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}

.compare-button:hover {
  background: linear-gradient(135deg, #172033, #1f4bc0);
}

.compare-button.full {
  width: 100%;
}

.secondary-link-button {
  margin-top: 8px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--text);
}

.secondary-link-button:hover {
  background: var(--surface-soft);
}

.hidden {
  display: none !important;
}

.insights {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 12px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 18px;
}

.panel h2 {
  margin-bottom: 14px;
  font-size: 17px;
}

.panel p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

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

.bookmaker-trust-card {
  display: grid;
  gap: 14px;
}

.bookmaker-trust-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.bookmaker-trust-head strong,
.bookmaker-trust-head span {
  display: block;
}

.bookmaker-trust-head strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.1;
}

.bookmaker-trust-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-align: right;
}

.bookmaker-logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bookmaker-logo-pill,
.bookmaker-more-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  color: var(--text);
  padding: 3px 10px 3px 4px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.bookmaker-more-pill {
  padding: 0 12px;
  color: var(--muted);
}

.bookmaker-logo-pill:hover,
.bookmaker-more-pill:hover {
  border-color: rgba(36, 87, 214, 0.35);
  box-shadow: 0 8px 22px rgba(25, 35, 55, 0.08);
  transform: translateY(-1px);
}

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

.bookmaker-directory-card,
.legal-block {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(25, 35, 55, 0.04);
}

.bookmaker-directory-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.bookmaker-directory-card:hover {
  border-color: rgba(36, 87, 214, 0.35);
  box-shadow: 0 18px 42px rgba(25, 35, 55, 0.12);
  transform: translateY(-1px);
}

.bookmaker-directory-card strong,
.bookmaker-directory-card span,
.bookmaker-directory-card em {
  display: block;
}

.bookmaker-directory-card strong {
  font-size: 17px;
}

.bookmaker-directory-card span,
.bookmaker-directory-card em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.legal-page {
  display: grid;
  gap: 12px;
}

.legal-block {
  padding: 18px;
}

.legal-block h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.legal-block p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.bookmaker-row,
.table-book {
  display: flex;
  align-items: center;
  gap: 10px;
}

a.bookmaker-row {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 7px;
  color: inherit;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

a.bookmaker-row:hover {
  border-color: var(--line);
  background: var(--surface-soft);
  transform: translateX(1px);
}

.bookmaker-logo {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 18px rgba(25, 35, 55, 0.08);
}

.bookmaker-logo.small {
  width: 32px;
  height: 28px;
  border-radius: 7px;
  font-size: 10px;
}

.bookmaker-logo.large {
  width: 58px;
  height: 48px;
  border-radius: 12px;
  font-size: 15px;
}

.bookmaker-logo.hero {
  width: 86px;
  height: 66px;
  border-radius: 16px;
  font-size: 20px;
}

.bookmaker-product-head {
  align-items: stretch;
}

.bookmaker-product-head h1 {
  margin-bottom: 12px;
}

.bookmaker-hero-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  align-self: stretch;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  padding: 18px;
  box-shadow: 0 16px 38px rgba(25, 35, 55, 0.08);
}

.bookmaker-hero-card strong,
.bookmaker-hero-card span {
  display: block;
}

.bookmaker-hero-card strong {
  font-size: 21px;
  line-height: 1.15;
}

.bookmaker-hero-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.bookmaker-hero-card .compare-button {
  grid-column: 1 / -1;
}

.bookmaker-profile-card {
  display: grid;
  gap: 12px;
}

.bookmaker-profile-card h2 {
  margin-bottom: 0;
}

.bookmaker-profile-card span:last-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.brand-toto { background: linear-gradient(135deg, #0056a8 0%, #eaf5ff 100%); color: #003a73; }
.brand-betcity { background: linear-gradient(135deg, #f7a600 0%, #fff4d7 100%); color: #5f3300; }
.brand-unibet { background: linear-gradient(135deg, #008943 0%, #e7fff0 100%); color: #003f20; }
.brand-jacks { background: linear-gradient(135deg, #d9232e 0%, #fff0f1 100%); color: #7a1017; }
.brand-711 { background: linear-gradient(135deg, #1d3f91 0%, #edf3ff 100%); color: #142c66; }
.brand-bet365 { background: linear-gradient(135deg, #0b6b3a 0%, #ffdc3d 100%); color: #083d24; }
.brand-onecasino { background: linear-gradient(135deg, #5b2ec7 0%, #f1eaff 100%); color: #351477; }
.brand-leovegas { background: linear-gradient(135deg, #ffd33d 0%, #fff4b8 100%); color: #2f2600; }
.brand-mgm { background: linear-gradient(135deg, #c9a34a 0%, #f6edcf 100%); color: #2f2410; }
.brand-betnation { background: linear-gradient(135deg, #00a6d6 0%, #eefaff 100%); color: #004a66; }
.brand-oranjepalace { background: linear-gradient(135deg, #f97316 0%, #fff7ed 100%); color: #7c2d12; }
.brand-starcasino { background: linear-gradient(135deg, #d91f2d 0%, #fff1f2 100%); color: #7f1d1d; }
.brand-888 { background: linear-gradient(135deg, #ff6a00 0%, #fff0e3 100%); color: #7a3100; }
.brand-comeon { background: linear-gradient(135deg, #00a88f 0%, #eafffb 100%); color: #004f46; }
.brand-tonybet { background: linear-gradient(135deg, #1f5fbf 0%, #eef4ff 100%); color: #173b75; }
.brand-vbet { background: linear-gradient(135deg, #202020 0%, #404040 100%); color: #ffd34d; }
.brand-zebet { background: linear-gradient(135deg, #0ea5e9 0%, #eef9ff 100%); color: #075075; }

.bookmaker-row strong,
.bookmaker-row span {
  display: block;
}

.bookmaker-row strong {
  font-size: 13px;
}

.bookmaker-row span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  padding: 34px;
  color: var(--muted);
  text-align: center;
}

.match-dialog {
  width: min(820px, calc(100% - 28px));
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 0;
  box-shadow: var(--shadow);
}

.match-dialog::backdrop {
  background: rgba(17, 24, 39, 0.46);
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 20px;
}

.dialog-head h2 {
  margin-bottom: 7px;
  font-size: 25px;
}

.dialog-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

.dialog-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.dialog-summary div {
  background: var(--green-bg);
  padding: 14px 18px;
}

.dialog-summary span,
.dialog-summary em {
  display: block;
}

.dialog-summary span {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.dialog-summary strong {
  display: block;
  margin-top: 6px;
  font-size: 25px;
}

.dialog-summary em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.odds-table-wrap {
  overflow-x: auto;
  padding: 16px 20px 20px;
}

.odds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.odds-table thead {
  background: #f8fbff;
}

.odds-table th,
.odds-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: right;
}

.odds-table th {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.odds-table th:first-child,
.odds-table td:first-child {
  text-align: left;
}

.table-book strong {
  font-size: 13px;
}

.table-book-link {
  color: inherit;
  text-decoration: none;
}

.table-book-link:hover strong,
.bookmaker-inline-link:hover {
  color: var(--blue);
}

.table-book em {
  border-radius: 999px;
  background: var(--blue-bg);
  color: var(--blue);
  padding: 4px 6px;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.bookmaker-inline-link {
  color: inherit;
  text-decoration: none;
}

.table-best {
  background: linear-gradient(180deg, #ecfff3, var(--green-bg));
  color: var(--green);
  font-weight: 800;
}

.table-odd-link {
  color: inherit;
  text-decoration: none;
}

.table-odd-link:hover {
  color: var(--blue);
}

.table-cta {
  display: inline-flex;
  justify-content: center;
  min-width: 84px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.table-cta:hover {
  border-color: var(--blue);
  background: var(--blue-bg);
}

.dialog-note {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.quality-dashboard {
  display: grid;
  gap: 18px;
}

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

.quality-cards div,
.quality-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(25, 35, 55, 0.06);
}

.quality-cards div {
  padding: 15px;
}

.quality-cards span {
  display: block;
  color: var(--subtle);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quality-cards strong {
  display: block;
  margin-top: 6px;
  font-size: 26px;
}

.quality-cards em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.quality-head {
  padding: 17px 18px 12px;
  border-bottom: 1px solid var(--line);
}

.quality-head h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.quality-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.quality-list {
  display: grid;
}

.admin-action-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}

.admin-action-row .compare-button {
  width: auto;
}

.admin-action-row button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.admin-action-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.quality-item {
  display: grid;
  gap: 5px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}

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

.quality-item strong {
  font-size: 14px;
}

.quality-item span,
.quality-item em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.admin-shell {
  padding: 28px 0 48px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: end;
  margin-bottom: 18px;
}

.admin-hero h1 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 46px);
}

.admin-hero p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-refresh-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 16px;
  box-shadow: 0 12px 34px rgba(25, 35, 55, 0.06);
}

.admin-refresh-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.admin-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
}

.admin-main {
  display: grid;
  align-content: start;
  gap: 12px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.admin-kv {
  display: grid;
  gap: 10px;
}

.admin-kv div {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
}

.admin-kv div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-kv span {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-kv strong {
  font-size: 14px;
}

.admin-issue-row:hover {
  background: var(--surface-soft);
}

.admin-inline-editor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.admin-inline-editor select,
.admin-inline-editor input {
  width: auto;
  min-width: 220px;
  min-height: 38px;
  border-radius: 8px;
  font-size: 13px;
}

.admin-inline-editor input {
  border: 1px solid var(--line);
  padding: 0 10px;
}

.mini-action {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: var(--text);
  color: #ffffff;
  padding: 0 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.mini-action.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.mini-action.secondary:hover {
  border-color: #fecaca;
  background: #fff1f2;
  color: #991b1b;
}

.mini-action:disabled {
  cursor: wait;
  opacity: 0.65;
}

.admin-inline-editor span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.route-seo {
  margin-top: 22px;
  margin-bottom: 30px;
}

.route-seo.hidden {
  display: none;
}

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

.route-seo-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 14px 34px rgba(25, 35, 55, 0.06);
}

.route-seo-card-wide {
  grid-column: 1 / -1;
}

.route-seo-card h2,
.route-seo-card h3 {
  margin: 0 0 10px;
  line-height: 1.2;
}

.route-seo-card h2 {
  font-size: 24px;
}

.route-seo-card h3 {
  font-size: 17px;
}

.route-seo-card p {
  max-width: 860px;
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.route-seo-card p:last-child {
  margin-bottom: 0;
}

.world-cup-route .route-seo-card {
  border-color: #fed7aa;
}

.route-seo-wk {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.route-seo-wk::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, #f97316, #fb923c);
}

.world-cup-route .route-seo-wk h2,
.world-cup-route .route-seo-wk h3 {
  color: #7c2d12;
}

.route-seo-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.route-seo-points span,
.route-seo-points a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 850;
}

.route-seo-points a {
  text-decoration: none;
}

.route-seo-points a:hover {
  border-color: #bcd0f7;
  color: var(--blue);
}

.world-cup-route .route-seo-points span,
.world-cup-route .route-seo-points a {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.world-cup-route .route-seo-points a:hover {
  border-color: #fb923c;
  color: #7c2d12;
}

.route-match-links {
  margin-top: 18px;
}

.route-match-links h3 {
  margin-bottom: 10px;
}

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

.route-match-link {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 114px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  padding: 13px;
  text-decoration: none;
}

.route-match-link:hover {
  background: var(--surface-soft);
}

.route-match-link strong {
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.25;
}

.route-match-link span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.route-match-link .route-match-competition {
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.country-flag {
  display: inline-block;
  width: 24px;
  height: 16px;
  flex: 0 0 auto;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 3px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.12);
  vertical-align: -3px;
}

.flagged-match-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.oranje-match-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.oranje-team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.oranje-team span:last-child {
  overflow-wrap: anywhere;
}

.oranje-versus {
  color: #c2410c;
  font-size: 18px;
  font-weight: 900;
}

.nl-wk-competition {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.flag-nl { background: linear-gradient(180deg, #ae1c28 0 33%, #ffffff 33% 66%, #21468b 66% 100%); }
.flag-jp { background: radial-gradient(circle at 50% 50%, #bc002d 0 30%, transparent 31%), #ffffff; }
.flag-se { background: linear-gradient(90deg, transparent 0 28%, #fecc00 28% 38%, transparent 38%), linear-gradient(180deg, #006aa7 0 42%, #fecc00 42% 58%, #006aa7 58% 100%); }
.flag-tn { background: radial-gradient(circle at 50% 50%, #ffffff 0 32%, transparent 33%), #e70013; }
.flag-mx { background: linear-gradient(90deg, #006847 0 33%, #ffffff 33% 66%, #ce1126 66% 100%); }
.flag-za { background: linear-gradient(180deg, #de3831 0 33%, #ffffff 33% 40%, #007a4d 40% 60%, #ffffff 60% 67%, #002395 67% 100%); }
.flag-kr { background: radial-gradient(circle at 50% 50%, #cd2e3a 0 25%, #0047a0 26% 42%, transparent 43%), #ffffff; }
.flag-cz { background: linear-gradient(180deg, #ffffff 0 50%, #d7141a 50% 100%); }
.flag-us { background: repeating-linear-gradient(180deg, #b22234 0 8%, #ffffff 8% 16%); }
.flag-py { background: linear-gradient(180deg, #d52b1e 0 33%, #ffffff 33% 66%, #0038a8 66% 100%); }
.flag-qa { background: linear-gradient(90deg, #ffffff 0 30%, #8d1b3d 30% 100%); }
.flag-ch { background: radial-gradient(circle at 50% 50%, #ffffff 0 20%, transparent 21%), #d52b1e; }
.flag-br { background: radial-gradient(circle at 50% 50%, #002776 0 18%, transparent 19%), radial-gradient(circle at 50% 50%, #ffdf00 0 38%, transparent 39%), #009b3a; }
.flag-ma { background: #c1272d; }
.flag-ht { background: linear-gradient(180deg, #00209f 0 50%, #d21034 50% 100%); }
.flag-sct { background: linear-gradient(45deg, transparent 0 43%, #ffffff 43% 57%, transparent 57%), linear-gradient(135deg, #0065bd 0 43%, #ffffff 43% 57%, #0065bd 57%); }
.flag-au { background: #012169; }
.flag-tr { background: radial-gradient(circle at 44% 50%, #ffffff 0 24%, transparent 25%), #e30a17; }
.flag-de { background: linear-gradient(180deg, #000000 0 33%, #dd0000 33% 66%, #ffce00 66% 100%); }
.flag-cw { background: linear-gradient(180deg, #002b7f 0 66%, #f9e814 66% 74%, #002b7f 74% 100%); }
.flag-ci { background: linear-gradient(90deg, #f77f00 0 33%, #ffffff 33% 66%, #009e60 66% 100%); }
.flag-ec { background: linear-gradient(180deg, #ffdd00 0 50%, #034ea2 50% 75%, #ed1c24 75% 100%); }

.nl-wk-panel {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  border: 1px solid #fdba74;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff7ed, #ffffff);
  padding: 16px;
}

.nl-wk-panel h3 {
  color: #7c2d12;
}

.nl-wk-panel p {
  margin-bottom: 0;
}

.nl-wk-panel .eyebrow,
.nl-wk-link .route-match-competition {
  color: #c2410c;
}

.nl-wk-link {
  position: relative;
  overflow: hidden;
  border-color: #fed7aa;
  background:
    linear-gradient(180deg, rgba(255, 247, 237, 0.88), #ffffff),
    #ffffff;
  box-shadow: 0 10px 24px rgba(194, 65, 12, 0.08);
}

.nl-wk-link::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #ae1c28 0 33%, #ffffff 33% 66%, #21468b 66% 100%);
}

.nl-wk-link strong {
  color: #7c2d12;
}

.nl-wk-link:hover {
  background: #fff7ed;
}

.bookmaker-seo-panel {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  border: 1px solid #cfe0ff;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  padding: 16px;
}

.bookmaker-seo-panel h3 {
  color: var(--text);
}

.bookmaker-seo-panel p {
  margin-bottom: 0;
}

.bookmaker-seo-panel .eyebrow,
.bookmaker-best-link .route-match-competition {
  color: var(--blue);
}

.bookmaker-best-link {
  border-color: #d9e6ff;
}

.bookmaker-best-link:hover {
  background: #f6f9ff;
}

.competition-cluster-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  border: 1px solid #d9e6ff;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  padding: 16px;
}

.competition-cluster-panel h3 {
  color: var(--text);
}

.competition-cluster-panel p {
  margin-bottom: 0;
}

.competition-cluster-panel .eyebrow {
  color: var(--blue);
}

.competition-day-signal {
  display: block;
  margin-top: 10px;
  border-left: 3px solid var(--blue);
  padding: 2px 0 2px 14px;
  font-weight: 750;
  line-height: 1.55;
}

.competition-cluster-links {
  margin-top: 2px;
}

.world-cup-route .competition-cluster-panel {
  border-color: #fed7aa;
  background: linear-gradient(180deg, #fff7ed, #ffffff);
}

.world-cup-route .competition-cluster-panel,
.world-cup-route .nl-wk-panel {
  margin-top: 14px;
  padding: 14px;
}

.world-cup-route .competition-cluster-panel .eyebrow,
.world-cup-route .competition-cluster-panel h3 {
  color: #9a3412;
}

.world-cup-route .competition-day-signal {
  border-left-color: #f97316;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.footer p {
  margin-bottom: 0;
}

.footer-contact {
  display: block;
  margin-top: 4px;
}

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

.footer-brand img {
  width: 30px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-brand strong {
  color: var(--text);
}

.footer a {
  margin-left: 16px;
  font-weight: 800;
}

.footer-contact a {
  margin-left: 0;
  color: var(--blue);
}

@media (max-width: 1080px) {
  .layout,
  .product-head,
  .toolbar,
  .match-card,
  .bookmaker-directory,
  .route-seo-grid,
  .route-match-grid,
  .admin-hero,
  .admin-grid {
    grid-template-columns: 1fr;
  }

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

  .insights {
    position: static;
  }

  .match-actions {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 24px, 1240px);
  }

  .desktop-nav,
  .run-status {
    display: none;
  }

  .topbar-inner {
    min-height: 52px;
    gap: 12px;
  }

  .brand {
    gap: 8px;
    font-size: 17px;
  }

  .brand-mark {
    width: 34px;
    height: 36px;
  }

  .mobile-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .mobile-nav a {
    flex: 1 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    padding: 8px 11px;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 8px 18px rgba(25, 35, 55, 0.05);
  }

  .control-band {
    padding: 16px 0 18px;
  }

  .product-head {
    gap: 12px;
    margin-bottom: 14px;
  }

  .eyebrow {
    margin-bottom: 5px;
    font-size: 10px;
  }

  h1 {
    font-size: 28px;
    line-height: 1.04;
  }

  .product-head p:last-child {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.38;
  }

  .hero-proof-card,
  .seo-proof-card {
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(25, 35, 55, 0.06);
  }

  .hero-proof-card strong,
  .seo-proof-card strong {
    font-size: 15px;
  }

  .hero-proof-card span,
  .seo-proof-card span {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.3;
  }

  .hero-proof-card em,
  .seo-proof-card em {
    margin-top: 8px;
    padding-top: 8px;
    font-size: 11px;
  }

  .toolbar {
    gap: 8px;
  }

  .search-box {
    min-height: 46px;
    border-radius: 10px;
    padding: 0 12px;
  }

  .search-box span {
    font-size: 10px;
  }

  select {
    min-height: 44px;
    border-radius: 10px;
    font-size: 13px;
  }

  .quick-filters {
    gap: 6px;
    padding: 10px 0 2px;
  }

  .chip {
    min-height: 30px;
    padding: 0 11px;
    font-size: 12px;
  }

  .metric-strip {
    margin-top: 10px;
    border-radius: 10px;
  }

  .metric-strip div {
    padding: 10px 11px;
  }

  .metric-strip span {
    margin-bottom: 4px;
    font-size: 10px;
  }

  .metric-strip strong {
    font-size: 15px;
  }

  .layout {
    gap: 18px;
    padding-top: 20px;
  }

  .metric-strip,
  .quality-cards {
    grid-template-columns: 1fr 1fr;
  }

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

  .dialog-summary div {
    padding: 12px;
  }

  .section-head {
    display: block;
    margin-bottom: 10px;
  }

  .section-head h2 {
    font-size: 22px;
  }

  .section-head > p {
    margin-top: 5px;
    margin-bottom: 0;
  }

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

  .bookmaker-logo.hero {
    width: 72px;
    height: 56px;
    font-size: 17px;
  }

  .match-info {
    display: grid;
  }

  .quality {
    justify-self: start;
  }

  .odds-grid {
    gap: 5px;
  }

  .odd-cell {
    min-height: 84px;
    padding: 9px 7px;
  }

  .odd-value {
    font-size: 20px;
  }

  .odds-table-wrap {
    padding: 12px;
  }

  .odds-table {
    min-width: 620px;
    font-size: 13px;
  }

  .odds-table th,
  .odds-table td {
    padding: 10px 8px;
  }

  .table-book {
    min-width: 150px;
  }

  .odd-head,
  .odd-book,
  .odd-edge {
    font-size: 10px;
  }

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

  .load-more-row {
    display: grid;
    text-align: center;
  }

  .route-seo {
    margin-top: 18px;
  }

  .route-seo-card {
    padding: 16px;
    border-radius: 14px;
  }

  .route-seo-card h2 {
    font-size: 20px;
  }

  .route-seo-points {
    display: grid;
  }

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

  .route-match-link {
    min-height: 0;
    padding: 12px;
  }

  .route-seo-wk::before {
    width: 4px;
  }

  .admin-action-row {
    display: grid;
  }

  .compare-button {
    width: 100%;
  }

  .footer-inner {
    display: grid;
  }

  .footer a {
    display: inline-block;
    margin: 14px 14px 0 0;
  }
}
