/* ==========================================================================
   MEDIATIONENHANCEMENTS.ONLINE — British Sportsbook Regulatory Ledger UI
   Publisher: OU Levala Farmerid (Estonia) | Region: United Kingdom (GB 18+)
   Featured Brands: William Hill (UKGC #39225) & Betfred (UKGC #39544)
   ========================================================================== */

:root {
  --navy-950: #030811;
  --navy-900: #06101f;
  --navy-850: #0a192f;
  --navy-800: #0f2342;
  --navy-750: #163059;

  --surface-panel: #0b182d;
  --surface-raised: #112442;
  --surface-recessed: #071222;
  --surface-deep: #040b16;

  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --gold-600: #ca8a04;
  --gold-500: #eab308;
  --gold-400: #facc15;
  --gold-300: #fde047;
  --gold-tint: rgba(234, 179, 8, 0.14);
  --gold-line: rgba(234, 179, 8, 0.42);

  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-tint: rgba(16, 185, 129, 0.14);
  --emerald-line: rgba(16, 185, 129, 0.4);

  --sky-400: #38bdf8;
  --sky-tint: rgba(56, 189, 248, 0.14);

  --red-700: #b91c1c;
  --red-600: #dc2626;
  --red-500: #ef4444;
  --amber-400: #fbbf24;

  --line-subtle: rgba(148, 163, 184, 0.16);
  --line-medium: rgba(148, 163, 184, 0.26);
  --line-strong: rgba(255, 255, 255, 0.15);

  --corner-xs: 6px;
  --corner-sm: 10px;
  --corner-md: 14px;
  --corner-lg: 18px;
  --corner-xl: 22px;

  --elev-sm: 0 4px 12px rgba(0, 0, 0, 0.32);
  --elev-md: 0 12px 28px rgba(2, 6, 16, 0.55);
  --elev-lg: 0 20px 44px rgba(2, 6, 18, 0.72);

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-code: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --shell-max: 1300px;
  --ease-out: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   1. RESET & BASE SAFEGUARDS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--navy-950);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  background-color: var(--navy-900);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  overflow-x: hidden;
}

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

svg {
  flex-shrink: 0;
}

.glyph {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.glyph-sm {
  width: 15px;
  height: 15px;
}

ul, ol {
  list-style: none;
}

a {
  color: var(--gold-400);
  text-decoration: none;
  transition: color var(--ease-out), background-color var(--ease-out), border-color var(--ease-out), transform var(--ease-out);
}

a:hover {
  color: var(--gold-300);
}

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-white);
  line-height: 1.18;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

p, li, dd, dt {
  overflow-wrap: break-word;
}

table, td, th, .score-num, .proof-figure, .calc-out-num {
  font-variant-numeric: tabular-nums;
}

.ukb-shell {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   2. REGULATORY TOPBAR & COMMAND HEADER
   ========================================================================== */
.regulatory-topbar {
  background-color: var(--navy-950);
  border-bottom: 1px solid rgba(234, 179, 8, 0.24);
  padding: 6px 0;
  font-size: 0.74rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 220;
}

.regulatory-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.regulatory-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.age-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--red-600);
  color: var(--text-white);
  font-family: var(--font-code);
  font-weight: 700;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.04em;
}

.licence-stamp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: var(--emerald-tint);
  color: var(--emerald-400);
  border: 1px solid var(--emerald-line);
  font-family: var(--font-code);
  font-weight: 600;
  font-size: 0.68rem;
  padding: 2px 9px;
  border-radius: 6px;
}

.regulatory-inline-copy {
  color: var(--text-secondary);
  font-size: 0.74rem;
}

.regulatory-inline-copy a {
  color: var(--gold-400);
  font-weight: 600;
}

.geo-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--surface-recessed);
  border: 1px solid var(--line-subtle);
  padding: 2px 10px;
  border-radius: 6px;
  font-family: var(--font-code);
  font-size: 0.69rem;
  color: var(--text-secondary);
}

.geo-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--emerald-400);
}

.geo-toggle-control {
  background-color: var(--gold-tint);
  border: 1px solid var(--gold-line);
  color: var(--gold-300);
  font-family: var(--font-code);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color var(--ease-out), color var(--ease-out);
}

.geo-toggle-control:hover {
  background-color: var(--gold-500);
  color: var(--navy-950);
}

/* Sticky Command Header */
.portal-header {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 12px 0;
  background-color: var(--navy-950);
  border-bottom: 1px solid rgba(234, 179, 8, 0.2);
}

.header-frame {
  background-color: var(--surface-panel);
  border: 1px solid rgba(234, 179, 8, 0.34);
  border-top: 2px solid var(--gold-500);
  border-radius: 16px;
  padding: 10px 18px;
  box-shadow: var(--elev-md);
  position: relative;
}

.header-top-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand Identity */
.portal-emblem-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--text-white);
  flex-shrink: 1;
  min-width: 0;
  max-width: 100%;
}

.colophon-emblem-link {
  margin-bottom: 14px;
}

.emblem-shield {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  padding: 2px;
  background-color: var(--gold-500);
  border: 1px solid var(--gold-300);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.emblem-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.emblem-shield .emblem-img {
  width: 100%;
  height: 100%;
}

.emblem-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.emblem-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  letter-spacing: -0.03em;
  color: var(--text-white);
  white-space: nowrap;
}

.emblem-title span {
  color: var(--gold-400);
}

.emblem-sub {
  font-family: var(--font-code);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  margin-top: 2px;
}

/* Lower Navigation Dock */
.header-lower-dock {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.primary-nav-rail {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--surface-deep);
  border: 1px solid var(--line-subtle);
  padding: 4px;
  border-radius: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.primary-nav-rail::-webkit-scrollbar {
  display: none;
}

.dock-nav-item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 5px 11px;
  border-radius: 7px;
  white-space: nowrap;
}

.dock-nav-item:hover {
  color: var(--text-white);
  background-color: var(--surface-raised);
}

.dock-nav-item.active {
  background-color: var(--gold-500);
  color: var(--navy-950);
  font-weight: 800;
}

/* Header Right Controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.institutional-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: var(--surface-deep);
  border: 1px solid var(--line-subtle);
  padding: 4px 6px;
  border-radius: 8px;
}

.inst-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.inst-link:hover,
.inst-link.active {
  color: var(--gold-300);
  background-color: var(--gold-tint);
}

.safer-gambling-chip {
  display: inline-flex;
  align-items: center;
  background-color: var(--emerald-tint);
  border: 1px solid var(--emerald-line);
  color: var(--emerald-400);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 8px;
  white-space: nowrap;
}

.safer-gambling-chip:hover {
  background-color: var(--emerald-500);
  color: var(--navy-950);
}

.dock-scores-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.dock-score-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-code);
  font-size: 0.71rem;
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--surface-deep);
  border: 1px solid rgba(234, 179, 8, 0.25);
  padding: 5px 11px;
  border-radius: 8px;
  white-space: nowrap;
}

.dock-score-chip strong {
  color: var(--gold-400);
}

/* Mobile Menu Trigger */
.drawer-trigger {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--surface-raised);
  border: 1px solid var(--gold-line);
  color: var(--text-white);
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.trigger-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.trigger-bars span {
  display: block;
  width: 16px;
  height: 2px;
  background-color: var(--gold-400);
  border-radius: 2px;
  transition: transform var(--ease-out), opacity var(--ease-out);
}

.drawer-trigger[aria-expanded="true"] .trigger-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.drawer-trigger[aria-expanded="true"] .trigger-bars span:nth-child(2) {
  opacity: 0;
}

.drawer-trigger[aria-expanded="true"] .trigger-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Drawer */
.compact-nav-drawer {
  display: none;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-medium);
}

.compact-nav-drawer.open {
  display: block;
}

.compact-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.compact-nav-item {
  flex: 1 1 210px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background-color: var(--surface-deep);
  border: 1px solid var(--line-subtle);
  border-radius: var(--corner-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--text-primary);
}

.compact-nav-item:hover,
.compact-nav-item.active {
  border-color: var(--gold-500);
  color: var(--gold-400);
  background-color: var(--gold-tint);
}

.compact-drawer-foot {
  padding-top: 12px;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   3. INTERACTIVE ACTION LINKS
   ========================================================================== */
.act-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--ease-out), border-color var(--ease-out), color var(--ease-out), transform var(--ease-out);
  text-align: center;
  line-height: 1.25;
  white-space: nowrap;
}

.act-amber {
  background-color: var(--gold-500);
  border-color: var(--gold-400);
  color: var(--navy-950);
  font-weight: 800;
}

.act-amber:hover {
  background-color: var(--gold-400);
  color: var(--navy-950);
  transform: translateY(-1px);
}

.act-turf {
  background-color: var(--emerald-600);
  border-color: var(--emerald-500);
  color: var(--text-white);
  font-weight: 800;
}

.act-turf:hover {
  background-color: var(--emerald-500);
  color: var(--text-white);
  transform: translateY(-1px);
}

.act-ghost {
  background-color: var(--surface-panel);
  border-color: rgba(234, 179, 8, 0.38);
  color: var(--text-white);
}

.act-ghost:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
  background-color: var(--gold-tint);
}

.act-compact {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.act-prominent {
  padding: 14px 26px;
  font-size: 0.96rem;
}

/* ==========================================================================
   4. MASTHEAD STAGE & HEAD-TO-HEAD SUMMARY
   ========================================================================== */
.masthead-stage {
  position: relative;
  padding: clamp(2.5rem, 4.5vw, 4.25rem) 0 clamp(2.75rem, 4.8vw, 4.5rem);
  background-color: rgba(4, 10, 22, 0.86);
  background-image: url('../images/hero-bg.webp');
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(234, 179, 8, 0.24);
  overflow: hidden;
}

.masthead-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  position: relative;
  z-index: 2;
}

.masthead-lead {
  flex: 1 1 56%;
  min-width: 0;
}

.masthead-dateline {
  font-family: var(--font-code);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-400);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.masthead-headline {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 16px;
}

.masthead-summary {
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 64ch;
  line-height: 1.65;
}

.masthead-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.masthead-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.masthead-primary-row .act-link {
  flex: 1 1 240px;
}

.masthead-secondary-row .act-link {
  flex: 0 1 auto;
  background-color: var(--surface-panel);
  border-color: var(--line-medium);
  color: var(--text-secondary);
}

.masthead-secondary-row .act-link:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
  background-color: var(--gold-tint);
}

/* 4-Item Regulatory Proof Strip */
.masthead-proof-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.proof-entry {
  flex: 1 1 calc(25% - 8px);
  min-width: 135px;
  background-color: var(--surface-panel);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: var(--corner-sm);
  padding: 10px 12px;
}

.proof-figure {
  font-family: var(--font-code);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--gold-400);
  display: block;
  margin-bottom: 2px;
}

.proof-caption {
  font-size: 0.72rem;
  color: var(--text-secondary);
  display: block;
}

/* Right Column: Broadcast Head-to-Head Board */
.masthead-matchup-board {
  flex: 1 1 42%;
  min-width: 0;
  background-color: var(--surface-panel);
  border: 1.5px solid rgba(234, 179, 8, 0.48);
  border-radius: var(--corner-xl);
  padding: 22px;
  box-shadow: var(--elev-lg);
  position: relative;
}

.matchup-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-subtle);
}

.matchup-board-title {
  font-family: var(--font-code);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-300);
}

.matchup-status-stamp {
  font-family: var(--font-code);
  font-size: 0.69rem;
  font-weight: 700;
  color: var(--emerald-400);
  background-color: var(--emerald-tint);
  border: 1px solid var(--emerald-line);
  padding: 3px 10px;
  border-radius: 6px;
}

.matchup-operator-slot {
  background-color: var(--surface-recessed);
  border: 1px solid var(--line-medium);
  border-radius: var(--corner-md);
  padding: 16px;
  margin-bottom: 14px;
}

.matchup-operator-slot:last-child {
  margin-bottom: 0;
}

.matchup-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  position: relative;
  border-top: 1px solid var(--line-subtle);
  padding-top: 8px;
}

.matchup-divider span {
  font-family: var(--font-code);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-300);
}

.slot-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.slot-brand-img {
  width: 160px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.slot-rating-stamp {
  background-color: var(--gold-tint);
  border: 1px solid var(--gold-line);
  color: var(--gold-300);
  font-family: var(--font-code);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.slot-offer-headline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 4px;
}

.slot-offer-fineprint {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
}

/* ==========================================================================
   5. CHAPTER BLOCKS & EDITORIAL HEADINGS
   ========================================================================== */
.chapter-block {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line-subtle);
}

.chapter-tinted {
  background-color: var(--navy-950);
}

.chapter-intro {
  max-width: 820px;
  margin-bottom: 34px;
  border-left: 3px solid var(--gold-500);
  padding-left: 18px;
}

.chapter-heading {
  font-size: clamp(1.6rem, 2.7vw, 2.3rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
}

.chapter-lead {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   6. OPERATOR DOSSIERS (WILLIAM HILL VS BETFRED)
   ========================================================================== */
.dossier-chapter {
  background-color: var(--navy-900);
}

/* 2-Column Executive Summary Split */
.verdict-summary-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 16px;
  background-color: var(--surface-panel);
  border: 1px solid rgba(234, 179, 8, 0.34);
  border-radius: var(--corner-md);
  padding: 16px 20px;
  margin-bottom: 32px;
  box-shadow: var(--elev-sm);
}

.verdict-summary-cell {
  flex: 1 1 calc(50% - 8px);
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
  border-right: 1px solid var(--line-subtle);
}

.verdict-summary-cell:last-child {
  border-right: none;
}

.verdict-emblem {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--gold-tint);
  border: 1px solid var(--gold-line);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.verdict-meta-dt {
  display: block;
  font-family: var(--font-code);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.verdict-meta-dd {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-white);
}

/* Dossier Pair Layout */
.dossier-pair-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: stretch;
}

.operator-dossier {
  flex: 1 1 calc(50% - 15px);
  min-width: 0;
  background-color: var(--surface-panel);
  border: 1px solid var(--line-medium);
  border-radius: var(--corner-xl);
  overflow: hidden;
  box-shadow: var(--elev-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.operator-dossier.flagship-wh {
  border-color: rgba(234, 179, 8, 0.44);
}

.operator-dossier.flagship-bf {
  border-color: rgba(16, 185, 129, 0.4);
}

/* Top Crest Strip */
.dossier-crest-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 24px;
  font-family: var(--font-code);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.crest-wh {
  background-color: var(--gold-500);
  color: var(--navy-950);
}

.crest-bf {
  background-color: var(--emerald-600);
  color: var(--text-white);
}

.crest-bar-left {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.crest-bar-right {
  font-size: 0.68rem;
  background-color: rgba(0, 0, 0, 0.18);
  padding: 2px 9px;
  border-radius: 6px;
  color: inherit;
}

.dossier-main-content {
  padding: 24px 26px 18px;
}

/* Brand & Score Header */
.dossier-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-subtle);
}

.dossier-brand-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dossier-logo-frame,
.operator-logo-plaque {
  display: inline-flex;
  padding: 6px;
  background-color: var(--surface-deep);
  border: 1px solid var(--line-subtle);
  border-radius: 12px;
  width: fit-content;
}

.dossier-logo-frame img,
.operator-logo-plaque img {
  width: 190px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.dossier-brand-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dossier-operator-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-white);
}

.dossier-licence-link {
  font-family: var(--font-code);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold-300);
  background-color: var(--gold-tint);
  border: 1px solid rgba(234, 179, 8, 0.3);
  padding: 2px 9px;
  border-radius: 6px;
}

/* Score Medallion */
.dossier-score-plaque {
  background-color: var(--surface-recessed);
  border: 1.5px solid var(--gold-line);
  border-radius: 14px;
  padding: 12px 16px;
  text-align: center;
  flex-shrink: 0;
  min-width: 112px;
}

.score-num {
  font-family: var(--font-code);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.score-num small {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.score-stars {
  color: var(--gold-400);
  font-size: 0.82rem;
  letter-spacing: 2px;
  margin: 4px 0 2px;
}

.score-label {
  font-family: var(--font-code);
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* 4-Pillar Analytical Score Breakdown List */
.metric-bars-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  background-color: var(--surface-recessed);
  border: 1px solid var(--line-subtle);
  border-radius: var(--corner-md);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.metric-bar-row {
  flex: 1 1 calc(50% - 8px);
  min-width: 180px;
}

.metric-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.metric-bar-head strong {
  font-family: var(--font-code);
  font-size: 0.74rem;
  color: var(--gold-300);
}

.bar-track {
  display: block;
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: 6px;
}

.bar-fill.tone-gold {
  background-color: var(--gold-400);
}

.bar-fill.tone-emerald {
  background-color: var(--emerald-400);
}

/* Promotional Slip */
.promo-slip {
  position: relative;
  border-radius: var(--corner-md);
  padding: 18px 20px;
  margin-bottom: 18px;
  background-color: var(--surface-recessed);
}

.slip-wh {
  border: 1.5px dashed rgba(250, 204, 21, 0.55);
}

.slip-bf {
  border: 1.5px dashed rgba(52, 211, 153, 0.55);
}

.slip-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.slip-verified-stamp {
  display: inline-block;
  font-family: var(--font-code);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--navy-950);
  background-color: var(--gold-400);
  padding: 3px 10px;
  border-radius: 6px;
}

.slip-verified-stamp.stamp-emerald {
  background-color: var(--emerald-400);
  color: var(--navy-950);
}

.slip-code-note {
  font-family: var(--font-code);
  font-size: 0.72rem;
  color: var(--text-secondary);
  background-color: var(--surface-deep);
  border: 1px solid var(--line-strong);
  padding: 3px 10px;
  border-radius: 6px;
}

.slip-code-note strong {
  color: var(--gold-300);
}

.slip-offer-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.slip-offer-copy {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.slip-steps-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-subtle);
}

.slip-step-item {
  flex: 1 1 calc(50% - 4px);
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-code);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-primary);
  background-color: var(--surface-deep);
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid var(--line-subtle);
}

.slip-step-item em {
  font-style: normal;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--gold-400);
  color: var(--navy-950);
  font-weight: 800;
  font-size: 0.66rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 4-Tile Technical Specs DL */
.dossier-specs-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.spec-cell {
  flex: 1 1 calc(25% - 6px);
  min-width: 105px;
  background-color: var(--surface-recessed);
  border: 1px solid var(--line-subtle);
  border-radius: var(--corner-sm);
  padding: 10px 8px;
  text-align: center;
}

.spec-dt {
  display: block;
  font-family: var(--font-code);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.spec-dd {
  font-family: var(--font-code);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-white);
}

/* Merits & Limitations Split */
.merits-split {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 18px;
}

.merits-column {
  background-color: var(--surface-recessed);
  border-radius: var(--corner-md);
  padding: 16px;
  border: 1px solid var(--line-subtle);
  min-width: 0;
}

.merits-pos {
  flex: 1.12 1 240px;
  border-top: 3px solid var(--emerald-500);
}

.merits-neg {
  flex: 0.88 1 200px;
  border-top: 3px solid var(--amber-400);
}

.merits-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-code);
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-subtle);
}

.merits-pos .merits-heading {
  color: var(--emerald-400);
}

.merits-neg .merits-heading {
  color: var(--amber-400);
}

.merits-symbol {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  flex-shrink: 0;
}

.symbol-pos {
  background-color: var(--emerald-tint);
  border: 1px solid var(--emerald-400);
  color: var(--emerald-400);
}

.symbol-neg {
  background-color: rgba(251, 191, 36, 0.16);
  border: 1px solid var(--amber-400);
  color: var(--amber-400);
}

.merits-list li {
  font-size: 0.83rem;
  color: var(--text-secondary);
  margin-bottom: 9px;
  padding-left: 20px;
  position: relative;
  line-height: 1.48;
}

.merits-list li:last-child {
  margin-bottom: 0;
}

.merits-pos .merits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald-400);
  font-weight: 900;
}

.merits-neg .merits-list li::before {
  content: "•";
  position: absolute;
  left: 3px;
  top: 0;
  color: var(--amber-400);
  font-weight: 900;
}

/* UK Banking Strip */
.banking-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  background-color: var(--surface-recessed);
  border: 1px solid var(--line-subtle);
  border-radius: var(--corner-sm);
  padding: 10px 14px;
}

.banking-title {
  font-family: var(--font-code);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
}

.banking-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.banking-tags li {
  font-family: var(--font-code);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--surface-deep);
  border: 1px solid var(--line-subtle);
  padding: 3px 9px;
  border-radius: 6px;
}

/* Dossier Footer */
.dossier-foot {
  margin-top: auto;
  padding: 18px 26px 24px;
  background-color: var(--surface-deep);
  border-top: 1px solid var(--line-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dossier-foot .act-link {
  width: 100%;
}

.dossier-trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-code);
  font-size: 0.7rem;
  color: var(--emerald-400);
}

.regulatory-footnote {
  display: block;
  font-size: 0.71rem;
  color: var(--text-muted);
  line-height: 1.5;
  background-color: var(--surface-recessed);
  padding: 11px 14px;
  border-radius: var(--corner-sm);
  border: 1px solid var(--line-subtle);
}

/* ==========================================================================
   7. HEAD-TO-HEAD TECHNICAL MATRIX TABLE
   ========================================================================== */
.matrix-scroll-frame {
  width: 100%;
  overflow-x: auto;
  background-color: var(--surface-panel);
  border: 1px solid var(--line-medium);
  border-radius: var(--corner-lg);
  box-shadow: var(--elev-md);
  -webkit-overflow-scrolling: touch;
}

.benchmark-matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: left;
}

.benchmark-matrix th,
.benchmark-matrix td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-subtle);
  vertical-align: middle;
  font-size: 0.9rem;
}

.benchmark-matrix thead th {
  background-color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-400);
  border-bottom: 2px solid var(--gold-line);
}

.benchmark-matrix tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.015);
}

.benchmark-matrix tbody tr:hover {
  background-color: rgba(234, 179, 8, 0.05);
}

.benchmark-matrix tbody tr:last-child td {
  border-bottom: none;
}

.criterion-col {
  font-weight: 700;
  color: var(--text-white);
  width: 26%;
}

.edge-stamp {
  display: inline-flex;
  align-items: center;
  background-color: var(--emerald-tint);
  color: var(--emerald-400);
  border: 1px solid var(--emerald-line);
  font-family: var(--font-code);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 6px;
  white-space: nowrap;
}

/* ==========================================================================
   8. INTERACTIVE WORKBENCH (MATCHMAKER & CALCULATOR)
   ========================================================================== */
.workbench-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
}

.workbench-module {
  flex: 1 1 calc(50% - 14px);
  min-width: 0;
  background-color: var(--surface-panel);
  border: 1px solid var(--line-medium);
  border-radius: var(--corner-lg);
  padding: 28px;
  box-shadow: var(--elev-md);
  display: flex;
  flex-direction: column;
}

.module-heading {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-white);
}

.module-lead {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.selector-tabs-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  border: none;
}

.selector-tab {
  flex: 1 1 calc(50% - 5px);
  min-width: 180px;
  background-color: var(--surface-recessed);
  border: 1px solid var(--line-medium);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.83rem;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: var(--corner-sm);
  cursor: pointer;
  transition: background-color var(--ease-out), border-color var(--ease-out), color var(--ease-out);
  text-align: left;
}

.selector-tab:hover,
.selector-tab.active {
  background-color: var(--gold-tint);
  border-color: var(--gold-500);
  color: var(--gold-300);
}

.matchmaker-result-panel {
  background-color: var(--surface-recessed);
  border: 1px solid var(--gold-line);
  border-radius: var(--corner-md);
  padding: 20px;
  margin-top: auto;
}

.matchmaker-focus-line {
  font-family: var(--font-code);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold-400);
  display: block;
  margin-bottom: 6px;
}

.matchmaker-pick-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
}

.matchmaker-pick-copy {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.calc-fields-split {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
  border: none;
}

.calc-fields-split > .field-unit {
  flex: 1 1 calc(50% - 7px);
  min-width: 180px;
  margin-bottom: 0;
}

.field-unit {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  border: none;
}

.field-caption {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.field-control,
.field-dropdown,
.field-multiline {
  width: 100%;
  background-color: var(--surface-recessed);
  border: 1px solid var(--line-medium);
  border-radius: var(--corner-sm);
  padding: 11px 14px;
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color var(--ease-out);
}

.field-control:focus,
.field-dropdown:focus,
.field-multiline:focus {
  border-color: var(--gold-400);
  outline: none;
}

.calc-output-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background-color: var(--surface-recessed);
  border: 1px solid var(--emerald-line);
  border-radius: var(--corner-md);
  padding: 16px;
  margin-top: auto;
}

.calc-output-cell {
  flex: 1 1 calc(50% - 6px);
  min-width: 140px;
  text-align: center;
}

.calc-out-dt {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.calc-out-num {
  font-family: var(--font-code);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--emerald-400);
}

/* ==========================================================================
   9. EDITORIAL GOVERNANCE SPLIT, QA ACCORDION & SUBPAGES
   ========================================================================== */
.governance-split-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
}

.governance-charter-panel {
  flex: 1.15 1 460px;
  background-color: var(--surface-panel);
  border: 1px solid var(--line-medium);
  border-radius: var(--corner-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.governance-charter-panel h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-white);
}

.governance-charter-panel p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.65;
}

.charter-ledger-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line-subtle);
  padding-top: 16px;
}

.charter-ledger-cell {
  flex: 1 1 calc(50% - 6px);
  min-width: 190px;
  background-color: var(--surface-recessed);
  border: 1px solid var(--line-subtle);
  border-radius: var(--corner-sm);
  padding: 12px 14px;
}

.charter-ledger-cell dt {
  font-family: var(--font-code);
  font-size: 0.72rem;
  color: var(--gold-400);
  margin-bottom: 4px;
}

.charter-ledger-cell dd {
  font-size: 0.84rem;
  color: var(--text-primary);
  font-weight: 600;
}

.audit-protocol-list {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.protocol-step-item {
  background-color: var(--surface-panel);
  border: 1px solid var(--line-medium);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--corner-md);
  padding: 18px 20px;
}

.protocol-step-item h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.protocol-step-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Reader Inquiries Accordion */
.qa-accordion {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qa-entry {
  background-color: var(--surface-panel);
  border: 1px solid var(--line-medium);
  border-radius: var(--corner-md);
  overflow: hidden;
}

.qa-entry summary {
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-white);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.qa-entry summary::-webkit-details-marker {
  display: none;
}

.qa-entry summary::after {
  content: "+";
  font-family: var(--font-code);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-400);
  flex-shrink: 0;
}

.qa-entry[open] summary::after {
  content: "−";
}

.qa-response {
  padding: 14px 22px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--line-subtle);
}

/* Subpages Masthead & Prose */
.subpage-masthead {
  background-color: var(--navy-950);
  border-bottom: 1px solid var(--line-medium);
  padding: clamp(2.25rem, 4vw, 3.25rem) 0;
}

.trail-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-code);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.trail-nav a {
  color: var(--gold-400);
}

.subpage-split-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}

.editorial-document {
  flex: 2 1 540px;
  min-width: 0;
  background-color: var(--surface-panel);
  border: 1px solid var(--line-medium);
  border-radius: var(--corner-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--elev-md);
}

.editorial-document h2 {
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--text-white);
  margin: 26px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-subtle);
}

.editorial-document h2:first-child {
  margin-top: 0;
}

.editorial-document h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--gold-400);
  margin: 20px 0 8px;
}

.editorial-document p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.editorial-document ul {
  margin: 12px 0 18px 20px;
  list-style: disc;
  color: var(--text-secondary);
}

.editorial-document li {
  margin-bottom: 8px;
  font-size: 0.94rem;
}

.publisher-registry-aside {
  flex: 1 1 280px;
  min-width: 0;
  background-color: var(--surface-panel);
  border: 1px solid var(--gold-line);
  border-radius: var(--corner-lg);
  padding: 24px;
  box-shadow: var(--elev-md);
}

.registry-aside-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold-400);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-subtle);
}

.registry-dl {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.registry-row {
  border-bottom: 1px solid var(--line-subtle);
  padding-bottom: 10px;
}

.registry-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.registry-dt {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.registry-dd {
  font-family: var(--font-code);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-white);
  word-break: break-word;
}

/* ==========================================================================
   10. SAFE-MODE & COLOPHON FOOTER
   ========================================================================== */
body.safe-whitepage-mode .commercial-outbound {
  display: none !important;
}

.informational-mode-notice {
  display: none;
  background-color: var(--sky-tint);
  border: 1px solid var(--sky-400);
  color: #e0f2fe;
  padding: 13px 18px;
  border-radius: var(--corner-sm);
  margin-bottom: 20px;
  font-size: 0.86rem;
}

body.safe-whitepage-mode .informational-mode-notice {
  display: block;
}

.portal-colophon {
  margin-top: auto;
  background-color: var(--navy-950);
  border-top: 1px solid var(--line-medium);
  padding: 48px 0 28px;
  color: var(--text-secondary);
}

.safer-gambling-rail {
  background-color: var(--surface-panel);
  border: 1px solid var(--line-medium);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--corner-md);
  padding: 20px 24px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.sg-rail-copy {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 700px;
}

.sg-rail-copy p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.sg-helpline-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sg-helpline-link {
  display: inline-block;
  background-color: var(--surface-recessed);
  border: 1px solid var(--line-medium);
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-code);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-white);
}

.sg-helpline-link:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
}

.colophon-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.colophon-col {
  flex: 1 1 200px;
  min-width: 0;
  font-style: normal;
}

.colophon-col:first-child {
  flex: 1.4 1 260px;
}

.colophon-col:last-child {
  flex: 1.2 1 240px;
}

.colophon-heading {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 14px;
}

.colophon-nav-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.colophon-nav-list a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.colophon-nav-list a:hover {
  color: var(--gold-400);
}

.colophon-entity-notes {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.colophon-entity-notes p {
  margin-bottom: 6px;
}

.colophon-entity-notes strong {
  color: var(--text-secondary);
}

.colophon-legal-bar {
  padding-top: 24px;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1199px) {
  .institutional-nav {
    display: none;
  }

  .colophon-col,
  .colophon-col:first-child,
  .colophon-col:last-child {
    flex: 1 1 calc(50% - 16px);
  }
}

@media (max-width: 991px) {
  .header-lower-dock,
  .safer-gambling-chip,
  .act-wide-screen {
    display: none;
  }

  .drawer-trigger {
    display: inline-flex;
  }

  .masthead-layout,
  .dossier-pair-layout,
  .workbench-pair,
  .governance-split-layout,
  .subpage-split-layout,
  .verdict-summary-bar {
    flex-direction: column;
  }

  .masthead-lead,
  .masthead-matchup-board,
  .operator-dossier,
  .workbench-module,
  .governance-charter-panel,
  .audit-protocol-list,
  .editorial-document,
  .publisher-registry-aside,
  .verdict-summary-cell {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }

  .verdict-summary-cell {
    border-right: none;
    border-bottom: 1px solid var(--line-subtle);
    padding-bottom: 12px;
  }

  .verdict-summary-cell:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 767px) {
  .ukb-shell {
    padding: 0 14px;
  }

  .portal-header {
    padding: 8px 0;
  }

  .header-frame {
    padding: 10px 14px;
    border-radius: 14px;
  }

  .regulatory-inline-copy {
    display: none;
  }

  .masthead-proof-dl,
  .merits-split,
  .calc-fields-split,
  .selector-tabs-group,
  .metric-bars-list,
  .slip-steps-list,
  .charter-ledger-dl,
  .colophon-columns {
    flex-direction: column;
  }

  .proof-entry,
  .merits-column,
  .calc-fields-split > .field-unit,
  .selector-tab,
  .metric-bar-row,
  .slip-step-item,
  .charter-ledger-cell,
  .colophon-col,
  .colophon-col:first-child,
  .colophon-col:last-child {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }

  .colophon-columns {
    gap: 24px;
  }

  .safer-gambling-rail {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .sg-rail-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .matrix-scroll-frame {
    overflow-x: visible;
    background-color: transparent;
    border: none;
    box-shadow: none;
  }

  .benchmark-matrix {
    min-width: 0;
    width: 100%;
    display: block;
  }

  .benchmark-matrix thead {
    display: none;
  }

  .benchmark-matrix tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .benchmark-matrix tbody tr {
    display: flex;
    flex-direction: column;
    background-color: var(--surface-panel);
    border: 1px solid var(--line-medium);
    border-radius: var(--corner-md);
    padding: 14px;
    gap: 10px;
  }

  .benchmark-matrix tbody tr:nth-child(even) {
    background-color: var(--surface-panel);
  }

  .benchmark-matrix td {
    padding: 0;
    border-bottom: none;
    font-size: 0.84rem;
    display: block;
    width: 100%;
  }

  .benchmark-matrix td.criterion-col {
    width: 100%;
    font-family: var(--font-code);
    font-size: 0.74rem;
    color: var(--gold-400);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line-subtle);
  }

  .benchmark-matrix td:nth-child(2)::before {
    content: "William Hill (UKGC #39225)";
    display: block;
    font-family: var(--font-code);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gold-300);
    margin-bottom: 3px;
  }

  .benchmark-matrix td:nth-child(3) {
    padding-top: 8px;
    border-top: 1px dashed var(--line-subtle);
  }

  .benchmark-matrix td:nth-child(3)::before {
    content: "Betfred (UKGC #39544)";
    display: block;
    font-family: var(--font-code);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--emerald-400);
    margin-bottom: 3px;
  }

  .benchmark-matrix td .act-link {
    width: 100%;
  }

  .edge-stamp {
    margin-left: 4px;
    margin-top: 4px;
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .masthead-proof-dl {
    display: none !important;
  }

  .masthead-actions {
    margin-bottom: 0;
  }
}

@media (max-width: 575px) {
  .portal-header .emblem-sub {
    display: none;
  }

  .emblem-shield {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .emblem-img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .emblem-title {
    font-size: clamp(0.88rem, 4.3vw, 1.05rem);
    white-space: normal;
    line-height: 1.15;
  }

  .colophon-emblem-link .emblem-sub {
    white-space: normal;
    word-break: break-all;
  }

  .compact-nav-links {
    flex-direction: column;
  }

  .compact-nav-item {
    flex: 1 1 auto;
    width: 100%;
    padding: 10px 12px;
    font-size: 0.84rem;
  }

  .compact-drawer-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .compact-drawer-foot .act-link {
    width: 100%;
  }

  .act-link {
    white-space: normal;
    word-break: break-word;
    padding: 11px 16px;
    font-size: 0.85rem;
  }

  .act-prominent {
    padding: 12px 16px;
    font-size: 0.88rem;
  }

  .act-compact {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .masthead-stage {
    padding: 28px 0 32px;
  }

  .masthead-layout {
    gap: 24px;
  }

  .masthead-headline {
    font-size: clamp(1.42rem, 6.4vw, 1.85rem);
    line-height: 1.16;
  }

  .masthead-summary {
    font-size: 0.88rem;
    margin-bottom: 18px;
  }

  .masthead-actions,
  .masthead-action-row {
    flex-direction: column;
    gap: 10px;
  }

  .masthead-actions .act-link,
  .masthead-primary-row .act-link,
  .masthead-secondary-row .act-link {
    flex: 1 1 auto;
    width: 100%;
  }

  .masthead-matchup-board {
    padding: 16px 14px;
    border-radius: var(--corner-lg);
  }

  .matchup-board-head {
    flex-wrap: wrap;
    gap: 6px;
  }

  .matchup-operator-slot {
    padding: 14px 12px;
  }

  .slot-brand-img {
    width: 128px;
    height: 38px;
  }

  .chapter-block {
    padding: 36px 0;
  }

  .chapter-intro {
    margin-bottom: 24px;
  }

  .chapter-heading {
    font-size: clamp(1.32rem, 5.8vw, 1.65rem);
  }

  .chapter-lead {
    font-size: 0.88rem;
  }

  .verdict-summary-bar {
    padding: 14px;
    gap: 12px;
  }

  .verdict-summary-cell {
    padding: 4px 0 10px;
  }

  .dossier-crest-bar {
    padding: 9px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .dossier-main-content {
    padding: 16px 14px 12px;
  }

  .dossier-foot {
    padding: 14px;
  }

  .dossier-identity {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .dossier-logo-frame img {
    width: 156px;
    height: 45px;
  }

  .dossier-score-plaque {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
  }

  .score-num {
    font-size: 1.45rem;
  }

  .promo-slip {
    padding: 14px 12px;
  }

  .slip-offer-title {
    font-size: clamp(1.12rem, 5.2vw, 1.32rem);
  }

  .dossier-specs-dl,
  .calc-output-dl {
    flex-direction: column;
  }

  .spec-cell,
  .calc-output-cell {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }

  .spec-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    text-align: left;
    padding: 9px 12px;
  }

  .spec-dt {
    margin-bottom: 0;
  }

  .merits-column {
    padding: 14px 12px;
  }

  .banking-rail {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 12px;
  }

  .workbench-module,
  .governance-charter-panel,
  .protocol-step-item,
  .editorial-document,
  .publisher-registry-aside {
    padding: 18px 14px;
  }

  .qa-entry summary {
    padding: 14px;
    font-size: 0.9rem;
  }

  .qa-response {
    padding: 12px 14px 16px;
    font-size: 0.85rem;
  }

  .colophon-legal-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .ukb-shell {
    padding: 0 10px;
  }

  .regulatory-topbar {
    padding: 5px 0;
  }

  .regulatory-topbar-row {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .regulatory-cluster {
    justify-content: space-between;
  }

  .geo-indicator,
  .geo-toggle-control {
    font-size: 0.63rem;
    padding: 3px 8px;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .header-frame {
    padding: 8px 10px;
    border-radius: 12px;
  }

  .header-top-tier {
    gap: 8px;
  }

  .portal-emblem-link {
    gap: 8px;
  }

  .emblem-shield {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .emblem-img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
  }

  .emblem-title {
    font-size: 0.84rem;
  }

  .drawer-trigger {
    height: 34px;
    padding: 0 10px;
    font-size: 0.73rem;
    gap: 6px;
  }

  .masthead-headline {
    font-size: 1.32rem;
  }

  .masthead-summary {
    font-size: 0.83rem;
  }

  .masthead-matchup-board {
    padding: 12px 10px;
  }

  .matchup-operator-slot {
    padding: 12px 10px;
  }

  .slot-brand-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .slot-brand-img {
    width: 112px;
    height: 34px;
  }

  .slot-rating-stamp {
    font-size: 0.75rem;
    padding: 3px 8px;
  }

  .slot-offer-headline {
    font-size: 0.9rem;
  }

  .dossier-crest-bar {
    padding: 8px 11px;
    font-size: 0.65rem;
  }

  .crest-bar-right {
    font-size: 0.62rem;
  }

  .dossier-main-content {
    padding: 14px 11px 10px;
  }

  .dossier-foot {
    padding: 12px 11px 14px;
  }

  .dossier-logo-frame img {
    width: 138px;
    height: 40px;
  }

  .metric-bars-list {
    padding: 11px 10px;
  }

  .metric-bar-head {
    font-size: 0.69rem;
    flex-wrap: wrap;
  }

  .promo-slip {
    padding: 12px 10px;
  }

  .slip-offer-title {
    font-size: 1.05rem;
  }

  .slip-offer-copy {
    font-size: 0.79rem;
  }

  .spec-cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 8px 10px;
  }

  .merits-list li {
    font-size: 0.79rem;
    padding-left: 16px;
  }

  .dossier-trust-line {
    font-size: 0.64rem;
    gap: 5px;
  }

  .regulatory-footnote {
    font-size: 0.67rem;
    padding: 9px 10px;
  }

  .workbench-module,
  .governance-charter-panel,
  .protocol-step-item,
  .editorial-document,
  .publisher-registry-aside {
    padding: 14px 11px;
  }

  .matchmaker-result-panel,
  .calc-output-dl {
    padding: 12px 10px;
  }

  .safer-gambling-rail {
    padding: 12px;
  }

  .sg-helpline-link {
    font-size: 0.72rem;
    padding: 6px 10px;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 340px) {
  .ukb-shell {
    padding: 0 8px;
  }

  .header-frame {
    padding: 7px 8px;
  }

  .emblem-shield {
    width: 30px;
    height: 30px;
  }

  .emblem-img {
    width: 26px;
    height: 26px;
  }

  .emblem-title {
    font-size: 0.76rem;
  }

  .drawer-trigger {
    height: 30px;
    padding: 0 8px;
    font-size: 0.68rem;
  }

  .act-link,
  .act-prominent,
  .act-compact {
    padding: 9px 10px;
    font-size: 0.78rem;
  }

  .masthead-headline {
    font-size: 1.2rem;
  }

  .chapter-heading {
    font-size: 1.2rem;
  }

  .dossier-score-plaque {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
