@property --mp-tactile-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  color-scheme: light;
  --background: #e3ebe7;
  --paper: #e3ebe7;
  --surface: #f5f8f5;
  --surface-2: #e9f0ec;
  --surface-3: #d5e0da;
  --surface-soft: #f8faf8;
  --panel: #f5f8f5;
  --ink: #10262a;
  --night: #07191c;
  --text: #173136;
  --muted: #647a79;
  --muted-light: #9aadaa;
  --line: rgba(38, 72, 72, .14);
  --line-soft: rgba(38, 72, 72, .09);
  --yellow: #d9ff4b;
  --yellow-strong: #c5ee35;
  --yellow-soft: rgba(217, 255, 75, .18);
  --yellow-text: #556b00;
  --green: #267b70;
  --good: #267b70;
  --red: #c85255;
  --danger: #b94343;
  --blue: #5e9fc4;
  --mint: #68dec8;
  --lime: #d9ff4b;
  --coral: #ff7f73;
  --lavender: #bba5ff;
  --sky: #8bd8ff;
  --petrol-950: #07191c;
  --petrol-900: #0a2226;
  --petrol-800: #123238;
  --shadow: 15px 15px 34px rgba(159, 177, 168, .45), -13px -13px 30px rgba(255, 255, 255, .72);
  --shadow-soft: 9px 10px 22px rgba(159, 177, 168, .31), -8px -8px 20px rgba(255, 255, 255, .58);
  --shadow-clay: 0 22px 42px rgba(32, 70, 67, .13), inset 0 2px 1px rgba(255, 255, 255, .88), inset 0 -5px 12px rgba(68, 94, 86, .1);
  --radius-lg: 27px;
  --radius: 19px;
  --radius-sm: 13px;
}

html { background: var(--paper); }
body {
  color: var(--text);
  background:
    radial-gradient(circle at 7% 7%, rgba(104, 222, 200, .2), transparent 27rem),
    radial-gradient(circle at 93% 10%, rgba(187, 165, 255, .17), transparent 30rem),
    linear-gradient(145deg, #eaf1ed 0%, #dce7e2 56%, #e8efeb 100%) fixed !important;
  font-family: Inter, ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { text-underline-offset: .18em; }
:focus-visible { outline-color: rgba(104, 222, 200, .68) !important; }
main { width: min(1320px, calc(100% - 48px)); }

/* Shared liquid glass header */
.site-header,
.site-header.has-liquid-nav {
  min-height: 88px;
  border-bottom-color: rgba(255, 255, 255, .09);
  background: rgba(7, 25, 28, .9) !important;
  box-shadow: 0 14px 35px rgba(7, 25, 28, .16);
  backdrop-filter: blur(22px) saturate(135%);
}
.site-header .brand { gap: 11px; }
.site-header .brand img,
.site-header .brand-mark {
  width: 48px;
  height: 48px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03));
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .24), 0 10px 24px rgba(0, 0, 0, .24);
}
.site-header .brand strong { color: #f7fbf9; }
.site-header .brand small { color: #8eaaa7; }
.site-header .liquid-nav {
  --liquid-glow-rgb: 217 255 75;
  top: 27px;
  width: min(650px, calc(100% - 440px));
  min-width: 520px;
  border-radius: 21px;
  background: #0a2226;
}
.liquid-nav__cast { background: #0a2226; }
.liquid-nav__skin { filter: drop-shadow(0 7px 15px rgba(0, 0, 0, .44)); }
.liquid-nav__bead {
  box-shadow: 0 0 0 1px rgb(var(--liquid-glow-rgb) / .6), 0 0 24px 3px rgb(var(--liquid-glow-rgb) / .3), 0 9px 17px -7px rgba(0, 0, 0, .76), inset 2px 2px 2px rgba(255, 255, 255, .62), inset -2px -3px 5px rgba(7, 25, 28, .18);
}
.liquid-nav__label { color: #78908e; }
.site-header__utility-link {
  min-height: 42px;
  padding-inline: 12px;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .14), 0 8px 17px rgba(0, 0, 0, .16);
}
.site-header__utility-link:hover { border-color: rgba(217, 255, 75, .36); color: var(--lime); }
.site-header__utility-link--account { border-color: rgba(104, 222, 200, .28); }
.site-header__utility-link--account:hover { border-color: rgba(104, 222, 200, .58); color: var(--mint); }
.site-header__utility-link--account[data-account-state="authenticated"] { border-color: rgba(217, 255, 75, .38); color: var(--lime); }
.site-scroll-progress__bar {
  background: linear-gradient(90deg, var(--mint), var(--sky) 36%, var(--lavender) 62%, var(--lime) 84%, #f5ffd0);
  box-shadow: 0 0 13px rgba(104, 222, 200, .5), 0 0 10px rgba(217, 255, 75, .46);
}

/* Typography and dark hero surfaces */
.eyebrow { color: var(--green) !important; letter-spacing: .14em; }
.hero,
.stats-hero,
.portal-hero,
.team-hero,
.player-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-block: 34px 22px;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 34px;
  color: #f7fbf9;
  background:
    radial-gradient(circle at 82% 12%, rgba(104, 222, 200, .18), transparent 17rem),
    radial-gradient(circle at 96% 90%, rgba(187, 165, 255, .14), transparent 23rem),
    linear-gradient(145deg, #0a2226, #12383a) !important;
  box-shadow: 0 26px 55px rgba(7, 25, 28, .19), inset 1px 1px 1px rgba(255, 255, 255, .12);
}
.hero::before,
.stats-hero::before {
  position: absolute;
  z-index: -1;
  top: auto;
  right: -150px;
  bottom: -230px;
  width: 470px;
  height: 470px;
  border: 78px solid rgba(217, 255, 75, .07);
  border-radius: 50%;
  background: none;
  mask-image: none;
  content: "";
}
.hero h1,
.stats-hero h1,
.portal-hero h1,
.team-hero h1,
.player-hero h1 { color: #f8fbfa !important; }
.hero .eyebrow,
.stats-hero .eyebrow,
.portal-hero .eyebrow,
.team-hero .eyebrow,
.player-hero .eyebrow { color: var(--lime) !important; }
.hero-copy,
.stats-hero p:last-child,
.portal-hero p:not(.eyebrow),
.team-hero p,
.player-hero p:not(.eyebrow) { color: #adc1be !important; }
.stats-hero-mark {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .15), 0 18px 36px rgba(0, 0, 0, .15);
}
.stats-hero-mark span { background: linear-gradient(180deg, var(--lime), var(--mint)); }

/* Clay controls */
.button,
.home-button--primary,
button.primary,
.primary-button {
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 15px;
  color: var(--petrol-950);
  background: linear-gradient(145deg, #edff91, var(--lime));
  box-shadow: 0 10px 19px rgba(118, 143, 29, .18), inset 2px 2px 2px rgba(255, 255, 255, .8), inset -2px -4px 7px rgba(121, 143, 31, .22);
}

/* Shared compact controls. These used to inherit square, page-local styles. */
.tabs button {
  border-radius: 13px 13px 0 0;
}
.checkbox-line input[type="checkbox"] {
  appearance: none;
  border: 1px solid rgba(49, 84, 82, .28) !important;
  border-radius: 6px !important;
  accent-color: var(--green);
  background: linear-gradient(145deg, #f7faf8, #dce6e1) !important;
  box-shadow: inset 2px 2px 4px rgba(159, 176, 168, .28), inset -2px -2px 4px rgba(255, 255, 255, .72);
  cursor: pointer;
}
.checkbox-line input[type="checkbox"]:checked {
  border-color: rgba(79, 101, 0, .38) !important;
  background-color: var(--lime) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2307191c' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.4' d='m3.2 8.1 3 3.1 6.6-7'/%3E%3C/svg%3E") !important;
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .7), 0 4px 9px rgba(85, 107, 0, .18);
}
.button:hover,
.home-button--primary:hover,
button.primary:hover,
.primary-button:hover { color: var(--petrol-950); background: linear-gradient(145deg, #f5ffb8, #d4fa43); transform: translateY(-1px); }
.button.secondary,
.button--secondary,
button.secondary {
  border-color: rgba(255, 255, 255, .72);
  color: var(--ink);
  background: linear-gradient(145deg, #f8fbf9, #e3ebe7);
  box-shadow: 6px 7px 14px rgba(157, 175, 166, .31), -5px -5px 12px rgba(255, 255, 255, .7);
}
select,
input,
textarea {
  border-color: rgba(49, 84, 82, .18) !important;
  border-radius: 13px !important;
  background: #eef4f0 !important;
  box-shadow: inset 4px 4px 8px rgba(159, 176, 168, .3), inset -4px -4px 8px rgba(255, 255, 255, .72);
}
select:focus,
input:focus,
textarea:focus { border-color: var(--mint) !important; box-shadow: inset 4px 4px 8px rgba(159, 176, 168, .24), 0 0 0 3px rgba(104, 222, 200, .16); }

/* Shared bento and neumorphic surfaces */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.summary-grid article,
.scope-summary article,
.game-onboarding article,
.home-meta > div {
  border: 1px solid rgba(255, 255, 255, .7) !important;
  border-radius: 22px;
  background: linear-gradient(145deg, #eef4f0, #d9e4de) !important;
  box-shadow: 8px 9px 20px rgba(160, 177, 169, .3), -8px -8px 18px rgba(255, 255, 255, .62);
}
.summary-grid article:first-child { background: linear-gradient(145deg, #efffa6, #d0ef3e) !important; }
.summary-grid article:first-child span { color: #53651c; }
.workspace,
.statistics-workspace,
.prediction-workspace,
.content-card,
.profile-card,
.player-card-section,
.panel,
.game-card,
.home-panel,
.home-insight,
.arcade-game-card,
.quick-game-card,
.arcade-leader-preview {
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #eef4f0, #d9e4de);
  box-shadow: var(--shadow);
}
.toolbar,
.statistics-toolbar,
.fixture-toolbar,
.analysis-toolbar,
.portal-toolbar,
.section-heading,
.season-heading {
  border-color: var(--line);
  background: rgba(245, 248, 245, .67) !important;
  backdrop-filter: blur(10px);
}
.tabs,
.neu-toggle {
  border-color: rgba(255, 255, 255, .7);
  border-radius: 16px;
  background: #d6e1dc;
  box-shadow: inset 4px 4px 8px rgba(152, 169, 161, .4), inset -4px -4px 8px rgba(255, 255, 255, .72);
}
.tabs button.active,
.neu-toggle button.is-active {
  border-radius: 11px;
  color: var(--ink);
  background: linear-gradient(145deg, #f8fbf9, #e4ebe7);
  box-shadow: 4px 4px 9px rgba(153, 169, 161, .38), -3px -3px 7px rgba(255, 255, 255, .86);
}
.tabs button.active::after { background: var(--lime); }
.round-groups,
.fixture-browser { background: transparent; }
.round-group,
.ranking-card,
.streak-card,
.record-card,
.pattern-grid article,
.prediction-card,
.score-card,
.form-card,
.meetings-card,
.model-card,
.algorithm-card,
.validation-card,
.formation-card,
.starters-card,
.minute-leader-card,
.goal-leader-card {
  border-color: rgba(255, 255, 255, .7);
  border-radius: 21px;
  background: linear-gradient(145deg, #f5f8f5, #e4ece8);
  box-shadow: var(--shadow-soft);
}
.round-group-header,
.ranking-card-heading,
.section-heading { border-color: var(--line); }
.round-group.completed:not([open]) .round-group-header:hover,
.match-row:hover,
.match-row.open,
.meeting-row:hover,
.meeting-item.is-open .meeting-row { background: rgba(255, 255, 255, .46); }
.score,
.meeting-score,
.ranking-position,
.minute-rank,
.goal-rank,
.shirt-number,
.event-minute,
.score-value {
  color: var(--petrol-950);
  background: linear-gradient(145deg, #efff96, var(--lime));
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .74), 4px 5px 10px rgba(133, 154, 48, .18);
}
.score.upcoming { color: var(--muted); background: #dce6e1; box-shadow: inset 3px 3px 6px rgba(159, 176, 168, .26); }
th { color: var(--muted) !important; background: rgba(229, 237, 233, .9) !important; }
td,
th { border-color: var(--line-soft) !important; }
.table-wrap,
.table-scroll,
.league-table-wrap,
.career-table-wrap { border-radius: 18px; }

/* Approved brand-aligned property glow */
.mp-premium-frame { position: relative; animation: mp-tactile-aura 6.2s ease-in-out infinite; }
.mp-premium-frame::before {
  position: absolute;
  z-index: 5;
  inset: 1px;
  padding: 3px;
  border-radius: inherit;
  background: conic-gradient(from var(--mp-tactile-angle), transparent 0 18%, var(--mint) 29%, var(--sky) 39%, var(--lavender) 48%, #f6ffd5 53%, var(--lime) 57%, var(--coral) 65%, transparent 78% 100%);
  filter: saturate(1.38) brightness(1.07) drop-shadow(0 0 6px rgba(246, 255, 213, .62)) drop-shadow(0 0 12px rgba(187, 165, 255, .42)) drop-shadow(0 0 18px rgba(104, 222, 200, .3));
  opacity: .58;
  pointer-events: none;
  content: "";
  animation: mp-tactile-orbit 6.2s ease-in-out infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
@keyframes mp-tactile-orbit {
  0%, 13% { --mp-tactile-angle: 0deg; opacity: .58; }
  48% { opacity: .94; }
  78%, 100% { --mp-tactile-angle: 360deg; opacity: .58; }
}
@keyframes mp-tactile-aura {
  0%, 18%, 100% { box-shadow: var(--shadow-clay), 0 0 0 1px rgba(104, 222, 200, .14), 0 0 18px 1px rgba(187, 165, 255, .12), 0 0 32px rgba(217, 255, 75, .08); }
  58% { box-shadow: var(--shadow-clay), 0 0 0 2px rgba(187, 165, 255, .26), 0 0 28px 4px rgba(104, 222, 200, .21), 0 0 52px 6px rgba(217, 255, 75, .13), 0 0 72px rgba(139, 216, 255, .1); }
}

/* Homepage bento */
.home-hero {
  grid-template-columns: minmax(0, 1.42fr) minmax(390px, .72fr);
  min-height: 0;
  padding-block: 34px 22px;
  gap: 22px;
  align-items: stretch;
}
.home-hero::before { display: none; }
.home-hero__copy {
  display: grid;
  min-height: 500px;
  padding: clamp(36px, 5vw, 66px);
  align-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 0, rgba(104, 222, 200, .18), transparent 16rem),
    radial-gradient(circle at 90% 105%, rgba(217, 255, 75, .11), transparent 23rem),
    linear-gradient(145deg, #0a2226, #12383a);
  box-shadow: 0 26px 55px rgba(7, 25, 28, .19), inset 1px 1px 1px rgba(255, 255, 255, .12);
}
.home-hero h1 { color: #f8fbfa; }
.home-hero__copy .eyebrow { color: var(--lime) !important; }
.home-hero__copy > p:not(.eyebrow) { color: #adc1be; }
.home-button--primary { color: var(--petrol-950); }
.home-button--text { color: #f1f7f5; }
.home-button--text span { color: var(--lime); }
.home-round-card {
  display: grid;
  min-height: 500px;
  align-content: space-between;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 34px;
  background: linear-gradient(145deg, #f5f8f5, #dce6e1);
  box-shadow: var(--shadow-clay);
}
.home-round-card::after { border-color: rgba(187, 165, 255, .18); }
.home-round-card__topline > span { background: rgba(255, 127, 115, .14); }
.home-round-card__number { border-color: var(--line); }
.home-round-card__metrics span { color: var(--muted); }
.home-meta {
  gap: 16px;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.home-meta > div { border-right: 1px solid rgba(255, 255, 255, .7); }
.home-meta > div:first-child { background: linear-gradient(145deg, #efffa6, #d0ef3e) !important; }
.favorite-bar {
  border-color: rgba(255, 255, 255, .7);
  border-radius: 22px;
  background: rgba(245, 248, 245, .68);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}
.favorite-star { border-radius: 15px; color: var(--petrol-950); background: #d9ceff; box-shadow: inset 2px 2px 2px rgba(255, 255, 255, .75), 5px 6px 12px rgba(76, 96, 88, .14); }
.home-panel { overflow: hidden; }
.home-panel > header { background: rgba(245, 248, 245, .52); }
.home-match:hover { background: rgba(255, 255, 255, .42); }
.home-feature,
.home-knowledge {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #0a2226, #12383a);
  box-shadow: 0 24px 54px rgba(7, 25, 28, .18), inset 1px 1px 1px rgba(255, 255, 255, .1);
}
.home-feature__match { background: rgba(255, 255, 255, .035); }
.home-insight__icon { color: var(--petrol-950); background: var(--lavender); border-radius: 15px; }

/* Predictions, statistics, teams and player cards */
.method-note {
  border-color: rgba(217, 255, 75, .42);
  border-radius: 19px;
  background: rgba(244, 255, 203, .72);
  box-shadow: var(--shadow-soft);
}
.method-icon { border-radius: 13px; background: var(--lime); }
.prediction-workspace { overflow: hidden; }
.fixture-button { border-radius: 16px; background: linear-gradient(145deg, #f7faf8, #e2ebe6); box-shadow: 4px 5px 10px rgba(159, 176, 168, .24); }
.fixture-button.active { border-color: rgba(104, 222, 200, .7); background: linear-gradient(145deg, #edfff9, #d7f2e9); }
.prediction-overview { align-items: start; }
.prediction-card { padding: 24px; }
.confidence-chip {
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 999px;
  background: linear-gradient(145deg, #f6faf7, #dce7e1);
  box-shadow: 4px 5px 10px rgba(126, 148, 138, .18), inset 1px 1px 1px rgba(255, 255, 255, .78);
}
.probability-track {
  height: 11px;
  background: #d1ddd7;
  box-shadow: inset 3px 3px 6px rgba(145, 163, 154, .42), inset -2px -2px 5px rgba(255, 255, 255, .62);
}
.probability-fill { background: linear-gradient(90deg, var(--lime), var(--mint)); }
.probability-row.draw .probability-fill { background: linear-gradient(90deg, #96aab2, var(--lavender)); }
.probability-row.away .probability-fill { background: linear-gradient(90deg, var(--sky), var(--mint)); }
.probability-row > strong {
  min-width: 54px;
  padding: 6px 7px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 10px;
  background: linear-gradient(145deg, #f7faf8, #dfe8e3);
  box-shadow: 3px 4px 8px rgba(126, 148, 138, .18), inset 1px 1px 1px rgba(255, 255, 255, .78);
}
.verdict { border-color: rgba(104, 222, 200, .32); border-radius: 18px; background: rgba(104, 222, 200, .1); }
.score-card { padding: 24px; }
.score-card h2 { color: var(--ink); letter-spacing: -.035em; }
.score-options { gap: 12px; }
.score-option {
  grid-template-columns: 64px minmax(90px, 1fr) 64px;
  min-height: 72px;
  padding: 11px 13px;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(250, 252, 250, .9), rgba(226, 235, 230, .94));
  box-shadow: 7px 8px 16px rgba(157, 175, 166, .28), -6px -6px 14px rgba(255, 255, 255, .65);
}
.score-option .score-value {
  display: grid;
  min-width: 58px;
  min-height: 48px;
  padding: 7px 9px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 15px;
  color: var(--petrol-950);
  background: linear-gradient(145deg, #efff96, var(--lime));
  box-shadow: inset 2px 2px 2px rgba(255, 255, 255, .78), inset -2px -4px 7px rgba(121, 143, 31, .2), 5px 6px 12px rgba(118, 143, 29, .17);
  font-size: 1.08rem;
  font-weight: 900;
}
.score-option .score-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #d1ddd7;
  box-shadow: inset 3px 3px 6px rgba(145, 163, 154, .42), inset -2px -2px 5px rgba(255, 255, 255, .62);
}
.score-option .score-track span {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), var(--sky) 58%, var(--lavender));
  box-shadow: 0 0 10px rgba(104, 222, 200, .45);
}
.score-option > strong {
  display: grid;
  min-height: 38px;
  padding: 5px 7px;
  place-items: center;
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, .62);
  box-shadow: 4px 5px 9px rgba(157, 175, 166, .22), inset 1px 1px 1px rgba(255, 255, 255, .72);
  font-weight: 850;
  text-align: center;
}
.coverage-strip,
.statistics-status,
.status { border-radius: 16px; background: rgba(245, 248, 245, .62); }
.team-hero,
.player-hero { margin-top: 28px; }
.form-overview,
.recent-match,
.upcoming-match,
.formation-row,
.starter-ranking li,
.minute-ranking li,
.goal-ranking li,
.stored-grid > div,
.external-summary-card,
.source-grid a,
.career-table-wrap {
  border-color: rgba(255, 255, 255, .66);
  border-radius: 17px;
  background: rgba(248, 250, 248, .72);
}
.primary-formation { border-color: rgba(217, 255, 75, .45); background: rgba(244, 255, 203, .66); }

/* Spelhub and account */
.portal-hero { min-height: 330px; }
.hero-stat { border-radius: 18px; background: rgba(255, 255, 255, .07); box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .12); }
.game-onboarding { gap: 14px; overflow: visible; border: 0; background: transparent; }
.game-onboarding article { border-radius: 19px; }
.game-onboarding article > span { border-radius: 12px; color: var(--petrol-950); background: var(--lavender); }
.game-card::before { width: 5px; background: linear-gradient(var(--mint), var(--lime)); }
.game-number { border-radius: 14px; color: var(--petrol-950); background: var(--lavender); box-shadow: inset 2px 2px 2px rgba(255, 255, 255, .72), 5px 6px 11px rgba(76, 96, 88, .14); }
.game-card__guide,
.portal-guide,
.summary-box { border-radius: 16px; background: rgba(245, 248, 245, .6); }

/* Arcade shell. Pixel playfields remain unchanged. */
.arcade-body {
  --pixel-yellow: var(--lime);
  --pixel-cyan: var(--mint);
  --pixel-night: var(--petrol-950);
  --pixel-blue: var(--petrol-800);
  --pixel-green: #42a970;
  --pixel-cream: #f7fbf5;
  background: transparent;
}
.arcade-body main { width: min(1320px, calc(100% - 48px)); }
.arcade-hero { grid-template-columns: minmax(0, 1fr) 280px; min-height: 390px; }
.arcade-hero h1 span { color: var(--lime); }
.arcade-hero__copy > p:last-child { color: #adc1be; }
.arcade-cabinet {
  border-color: rgba(255, 255, 255, .16);
  border-radius: 27px;
  background: linear-gradient(145deg, #15383c, #07191c);
  box-shadow: 0 24px 54px rgba(0, 0, 0, .24), inset 1px 1px 1px rgba(255, 255, 255, .13);
}
.arcade-cabinet::before { background: linear-gradient(90deg, var(--mint), var(--lavender), var(--lime)); }
.arcade-game-card { overflow: hidden; }
.arcade-game-card.featured { box-shadow: var(--shadow-clay); }
.arcade-game-card__copy { background: linear-gradient(145deg, rgba(248, 250, 248, .94), rgba(227, 236, 231, .95)); }
.arcade-game-meta span {
  border-color: rgba(255, 255, 255, .68);
  border-radius: 14px;
  background: linear-gradient(145deg, #eef4f0, #d9e4de);
  box-shadow: 4px 5px 11px rgba(126, 148, 138, .18), inset 1px 1px 1px rgba(255, 255, 255, .76);
}
.arcade-index,
.quick-symbol { border-radius: 15px; color: var(--petrol-950); background: var(--lavender); box-shadow: inset 2px 2px 2px rgba(255, 255, 255, .74), 5px 6px 12px rgba(76, 96, 88, .16); }
.quick-game-card:hover { border-color: rgba(104, 222, 200, .55); transform: translateY(-3px); }
.arcade-leader-preview { overflow: hidden; }
.arcade-leaders > * { border-color: var(--line-soft); }
.arcade-rating__buttons { gap: 5px; }
.arcade-rating__buttons button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 12px;
  color: #879997;
  background: linear-gradient(145deg, #f7faf8, #dce6e1);
  box-shadow: 4px 5px 10px rgba(126, 148, 138, .23), inset 1px 1px 1px rgba(255, 255, 255, .82);
  transition: color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.arcade-rating__buttons button:hover,
.arcade-rating__buttons button.selected {
  border-color: rgba(217, 255, 75, .72);
  color: #718d00;
  background: linear-gradient(145deg, #f2ffb3, var(--lime));
  box-shadow: 0 7px 15px rgba(92, 112, 14, .2), inset 1px 1px 1px rgba(255, 255, 255, .78);
  transform: translateY(-1px);
}
.arcade-rating.compact .arcade-rating__buttons button {
  width: 30px;
  height: 30px;
}
.penalty-heading,
.juggle-heading,
.quick-heading {
  margin-top: 32px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 27px;
  color: #f7fbf9;
  background: linear-gradient(145deg, #0a2226, #12383a);
  box-shadow: 0 24px 52px rgba(7, 25, 28, .18), inset 1px 1px 1px rgba(255, 255, 255, .11);
}
.penalty-heading h1,
.juggle-heading h1,
.quick-heading h1 { color: #fff; }
.penalty-heading > div > p:last-child,
.juggle-heading > div > p:last-child,
.quick-heading > div > p:last-child { color: #adc1be; }
.penalty-heading__meta,
.juggle-heading__meta,
.quick-heading__stats { border-color: rgba(255, 255, 255, .13); border-radius: 18px; background: rgba(255, 255, 255, .06); }
.penalty-heading__meta strong,
.juggle-heading__meta strong,
.quick-heading__stats strong { color: var(--lime); }
.penalty-heading__meta button,
.juggle-heading__meta button {
  border-color: rgba(255, 255, 255, .2);
  border-radius: 13px;
  color: #dceae7;
  background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .045));
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .15), 0 8px 16px rgba(0, 0, 0, .15);
}
.mode-button {
  border-color: rgba(7, 25, 28, .22);
  border-radius: 17px;
  background: linear-gradient(145deg, #f2f6f3, #d7e2dc);
  box-shadow: 7px 8px 16px rgba(7, 25, 28, .2), inset 1px 1px 1px rgba(255, 255, 255, .8);
}
.mode-button.active {
  border-color: rgba(113, 141, 0, .28);
  background: linear-gradient(145deg, #f2ffab, var(--lime));
}
.leaderboard-tabs {
  gap: 5px;
  padding: 5px;
  border-radius: 15px;
  background: rgba(7, 25, 28, .06);
}
.leaderboard-tabs button {
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
}
.leaderboard-tabs button.active {
  border-color: rgba(255, 255, 255, .74);
  background: linear-gradient(145deg, #f6faf7, #dce7e1);
  box-shadow: 4px 5px 10px rgba(126, 148, 138, .2), inset 1px 1px 1px rgba(255, 255, 255, .8);
}
.quick-start {
  border-color: rgba(113, 141, 0, .32);
  border-radius: 18px;
  background: linear-gradient(145deg, #efff99, var(--lime));
  box-shadow: 7px 8px 0 rgba(7, 25, 28, .92), inset 2px 2px 2px rgba(255, 255, 255, .74);
}
.quick-choices button {
  border-color: rgba(7, 25, 28, .3);
  border-radius: 13px;
  background: linear-gradient(145deg, #f5f9f6, #dbe6e0);
  box-shadow: 4px 5px 0 rgba(7, 25, 28, .78), inset 1px 1px 1px rgba(255, 255, 255, .78);
}
.quick-choices button:hover,
.quick-choices button:focus-visible { background: linear-gradient(145deg, #f2ffad, var(--lime)); }
.quick-choices button.correct { background: linear-gradient(145deg, #bff8e8, var(--mint)); }
.quick-choices button.wrong { background: linear-gradient(145deg, #ffc2bb, var(--coral)); }
.score-card,
.quick-card,
.penalty-rules,
.juggle-rules {
  border-color: rgba(255, 255, 255, .68);
  border-radius: 21px;
  background: linear-gradient(145deg, #eef4f0, #d9e4de);
  box-shadow: var(--shadow-soft);
}

footer:not(.site-footer) {
  border-top-color: rgba(255, 255, 255, .1);
  color: #7f9794;
  background: var(--petrol-950);
}
footer a { color: var(--lime); }

@media (max-width: 1080px) {
  .site-header .liquid-nav { width: min(610px, calc(100% - 360px)); min-width: 480px; }
  .site-header__utility-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .site-header__utility-link { width: 42px; padding: 0; justify-content: center; }
  .home-hero { grid-template-columns: minmax(0, 1.2fr) minmax(350px, .8fr); }
}

@media (max-width: 980px) {
  html.liquid-nav-ready body { padding-bottom: calc(106px + env(safe-area-inset-bottom)); }
  .site-header.has-liquid-nav {
    min-height: 68px;
    padding-inline: 18px;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-header .brand img,
  .site-header .brand-mark { width: 44px; height: 44px; border-radius: 15px; }
  .site-header .liquid-nav {
    top: auto;
    bottom: max(9px, env(safe-area-inset-bottom));
    width: min(620px, calc(100% - 20px));
    min-width: 0;
    height: 72px;
  }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero { grid-template-columns: 1fr; }
  .home-hero__copy,
  .home-round-card { min-height: 440px; }
  .home-round-card { width: 100%; }
}

@media (max-width: 700px) {
  main,
  .arcade-body main { width: min(100% - 24px, 1320px); }
  .hero,
  .stats-hero,
  .portal-hero,
  .team-hero,
  .player-hero { margin-top: 20px; padding: 30px 24px; border-radius: 27px; }
  .hero h1,
  .stats-hero h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .home-hero { padding-top: 20px; }
  .home-hero__copy,
  .home-round-card { min-height: 410px; padding: 28px 24px; border-radius: 27px; }
  .home-hero h1 { font-size: clamp(2.9rem, 14vw, 4.5rem); }
  .workspace,
  .statistics-workspace,
  .prediction-workspace,
  .content-card,
  .profile-card,
  .player-card-section,
  .panel,
  .game-card,
  .home-panel,
  .home-insight,
  .arcade-game-card,
  .quick-game-card,
  .arcade-leader-preview { border-radius: 21px; }
  .arcade-hero { grid-template-columns: 1fr; }
  .arcade-cabinet { justify-self: start; }
  .penalty-heading,
  .juggle-heading,
  .quick-heading { border-radius: 23px; }
}

@media (max-width: 560px) {
  .summary-grid { grid-template-columns: 1fr; }
  .site-header.has-liquid-nav { padding-inline: 12px; }
  .site-header .brand strong { font-size: .94rem; }
  .home-hero__copy,
  .home-round-card { min-height: 0; }
  .home-meta { grid-template-columns: 1fr; }
  .home-meta > div { border-bottom: 0 !important; }
  .arcade-cabinet { display: none; }
  .score-option { grid-template-columns: 56px minmax(54px, 1fr) 56px; padding-inline: 10px; gap: 9px; }
  .score-option .score-value { min-width: 52px; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .mp-premium-frame,
  .mp-premium-frame::before { animation: none !important; }
}

@media (prefers-contrast: more) {
  .workspace,
  .statistics-workspace,
  .prediction-workspace,
  .content-card,
  .profile-card,
  .player-card-section,
  .panel,
  .game-card,
  .home-panel,
  .arcade-game-card { border-color: #526a68; }
}
