:root {
  color-scheme: light;
  --background: #f3f5f3;
  --paper: #f3f5f3;
  --surface: #ffffff;
  --surface-2: #edf1ef;
  --surface-3: #e4eae7;
  --surface-soft: #f7f9f7;
  --panel: #ffffff;
  --ink: #0b1820;
  --night: #0b1820;
  --text: #162229;
  --muted: #68747a;
  --muted-light: #a9b4b9;
  --line: #dbe1de;
  --line-soft: #e9edeb;
  --yellow: #f0d934;
  --yellow-strong: #d6bd1f;
  --yellow-soft: rgba(240, 217, 52, .16);
  --yellow-text: #6f6000;
  --green: #1f7659;
  --good: #1f7659;
  --red: #c14949;
  --danger: #b53b36;
  --blue: #28688f;
  --shadow: 0 16px 48px rgba(9, 26, 35, .075);
  --shadow-soft: 0 8px 24px rgba(9, 26, 35, .055);
  --radius-lg: 22px;
  --radius: 15px;
  --radius-sm: 10px;
}

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

.mp-premium-frame {
  position: relative;
}

.mp-premium-frame::before {
  position: absolute;
  z-index: 4;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--mp-premium-angle),
    rgba(240, 217, 52, .24),
    #f0d934 14%,
    #35cbb9 29%,
    rgba(40, 104, 143, .26) 48%,
    #35cbb9 64%,
    #f0d934 82%,
    rgba(240, 217, 52, .24)
  );
  content: "";
  pointer-events: none;
  -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;
  animation: mp-premium-orbit 8s linear infinite;
}

@keyframes mp-premium-orbit {
  to { --mp-premium-angle: 1turn; }
}

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

html { overflow-x: clip; background: var(--paper); scroll-behavior: smooth; }
body {
  min-width: 320px;
  color: var(--text);
  background: var(--paper) !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(31, 118, 89, .38) !important; outline-offset: 3px; }

.site-skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #071018;
  background: var(--yellow);
  font-size: .82rem;
  font-weight: 850;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .16s ease;
}
.site-skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  width: 100%;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  flex-direction: row;
  flex-wrap: nowrap;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  background: rgba(11, 24, 32, .97) !important;
  color: #f7f9f8;
  backdrop-filter: blur(18px);
}
.site-header .brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.site-header .brand img, .site-header .brand-mark { width: 38px; height: 38px; object-fit: contain; }
.site-header .brand span { display: grid; line-height: 1.05; }
.site-header .brand strong { color: #fff; font-size: 1.03rem; font-weight: 820; letter-spacing: -.025em; }
.site-header .brand small { margin-top: 4px; color: #8f9da3; font-size: .61rem; font-weight: 650; }
.site-header nav { display: flex; min-width: 0; align-self: stretch; align-items: center; gap: clamp(6px, 1.2vw, 20px); }
.site-header nav a {
  position: relative;
  display: inline-flex;
  height: 100%;
  padding: 0 4px;
  align-items: center;
  border: 0;
  border-radius: 0;
  color: #b9c2c5;
  background: transparent !important;
  font-size: .76rem;
  font-weight: 690;
  text-decoration: none;
}
.site-header nav a:hover, .site-header nav a.active { color: #fff; }
.site-header nav a.active::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--yellow); content: ""; }
.site-header nav a[href*="admin"] { margin-left: 5px; color: #819097; font-size: .67rem; }
.site-header .user-chip { margin-left: 7px; padding: 7px 10px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; color: var(--yellow); font-size: .66rem; }
.site-header .user-chip:empty { display: none; }
.v2-menu-button { display: none; width: 42px; height: 42px; padding: 8px; border: 0; border-radius: 9px; background: transparent; color: #fff; cursor: pointer; }
.v2-menu-button span { display: block; width: 23px; height: 2px; margin: 4px auto; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
.v2-menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.v2-menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.v2-menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

main { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { color: var(--green) !important; font-size: .67rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { color: var(--ink); }
.hero {
  position: relative;
  min-height: 360px;
  padding: 66px 0 50px;
  align-items: center;
}
.hero::before, .stats-hero::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: calc((100% - 100vw) / 2);
  bottom: 0;
  width: 58vw;
  background-image: linear-gradient(rgba(11, 24, 32, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 24, 32, .035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000 30%);
  content: "";
}
.hero h1, .stats-hero h1 { max-width: 880px; margin: 8px 0 18px; color: var(--ink); font-size: clamp(3.25rem, 6.4vw, 6.1rem); font-weight: 790; letter-spacing: -.062em; line-height: .92; }
.hero-copy, .stats-hero p:last-child { max-width: 720px; color: #59676e !important; font-size: 1rem; line-height: 1.7; }
.source-link { padding: 12px 16px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: #fff; box-shadow: var(--shadow-soft); font-size: .7rem; }
.source-link:hover { border-color: #aa9416; color: var(--green); }

.summary-grid { margin-bottom: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); }
.summary-grid article { border-color: var(--line-soft); background: #fff; }
.summary-grid span { color: var(--muted); font-size: .61rem; }
.summary-grid strong { color: var(--ink); font-size: clamp(1.35rem, 2vw, 2rem); letter-spacing: -.035em; }

.workspace, .statistics-workspace, .prediction-workspace, .content-card, .profile-card, .player-card-section, .panel, .game-card {
  border-color: var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
select, input, textarea {
  border-color: #cfd8d4 !important;
  color: var(--text) !important;
  background: #fff !important;
}
select:focus, input:focus, textarea:focus { border-color: var(--green) !important; box-shadow: 0 0 0 3px rgba(31, 118, 89, .1); outline: 0; }
label > span, .field { color: var(--muted); }
.button { min-height: 42px; border-radius: 9px; background: var(--yellow); color: var(--ink); font-size: .72rem; font-weight: 820; }
.button:hover { background: var(--yellow-strong); }
.button.secondary { border-color: var(--line); background: #fff; color: var(--ink); }
.button.secondary:hover { background: var(--surface-2); }

.toolbar, .statistics-toolbar, .fixture-toolbar, .analysis-toolbar, .portal-toolbar { border-color: var(--line); background: #f7f9f7 !important; }
.season-heading { border-color: var(--line); background: #fff; }
.tabs { border-color: var(--line); background: #fff; }
.tabs button { color: var(--muted); background: transparent; }
.tabs button.active { color: var(--ink); }
.tabs button.active::after { background: var(--yellow); }
.tabs button span,
.round-group-header h3,
.round-section-heading span,
.standings-table .position,
.confidence-chip.medium,
.meeting-detail-label,
.meeting-lineup-team h5 span,
.meeting-shirt,
.meeting-event-list strong,
.algorithm-grid article > span,
.external-summary-card span,
.unknown-minutes,
.error-state > span {
  color: var(--yellow-text);
}
.team:hover,
.team:focus-visible,
.player-profile-link:hover,
.player-profile-link:focus-visible,
.stats-team-link:hover,
.stats-team-link:focus-visible,
.stats-player-link:hover,
.stats-player-link:focus-visible,
.team-chip-list a:hover,
.career-table-wrap a:hover,
.external-summary-card > a,
.source-grid a,
.error-state a {
  color: var(--green);
}
.status, .statistics-status { color: var(--muted); background: #fff; }
.badge, .count-chip, .sample-chip, .confidence-chip { border-color: var(--line); color: var(--muted); background: var(--surface-2); }
.badge.available, .coverage-strip span.available { border-color: rgba(31, 118, 89, .25); color: var(--green); background: rgba(31, 118, 89, .07); }

.round-groups { background: #f7f9f7; }
.round-group { border-color: var(--line); background: #fff; box-shadow: var(--shadow-soft); }
.round-group-header { border-color: var(--line); background: #fff; }
.round-group.completed:not([open]) .round-group-header:hover, .match-row:hover, .match-row.open { background: #f7f9f7; }
.round-state.upcoming { color: #806c00; background: var(--yellow-soft); }
.round-state.completed { color: var(--muted); background: var(--surface-2); }
.round-chevron { color: var(--green); }
table { color: var(--text); }
.table-wrap, .table-scroll, .league-table-wrap, .career-table-wrap {
  scrollbar-color: #9eaaa5 #edf1ef;
  scrollbar-width: thin;
}
th { color: var(--muted) !important; background: #f3f6f4 !important; }
td, th { border-color: var(--line-soft) !important; }
.score { background: var(--yellow); color: var(--ink); box-shadow: none; }
.score.upcoming { color: var(--muted); background: var(--surface-2); }
.match-details, .detail-card, .coverage-content, .coverage-item { border-color: var(--line); background: #f7f9f7; }
.detail-header { border-color: var(--line); }
.detail-score { color: var(--ink); background: transparent; box-shadow: none; }
.player-list li, .event-list li, .stat-row { border-color: var(--line-soft); background: #fff; }
.shirt-number, .event-minute { color: var(--ink); background: var(--yellow); }

.statistics-main { padding-top: 0; }
.stats-hero { position: relative; min-height: 360px; padding: 66px 0 50px; overflow: visible; border: 0; border-radius: 0; background: transparent !important; box-shadow: none; }
.stats-hero-mark { border-color: var(--line); background: #fff; box-shadow: var(--shadow-soft); }
.stats-hero-mark span { background: linear-gradient(180deg, var(--yellow), #c7ae19); box-shadow: none; }
.coverage-strip { border-color: var(--line); background: #f7f9f7; }
.coverage-strip span { border-color: var(--line); color: var(--muted); }
.scope-summary { background: var(--line-soft); }
.scope-summary article { background: #fff; }
.scope-summary strong { color: var(--ink); }
.statistics-section, .statistics-section:nth-of-type(even) { border-color: var(--line); background: #fff; }
.ranking-card, .streak-card, .record-card, .pattern-grid article { border-color: var(--line); background: #f8faf8; }
.ranking-card-heading { border-color: var(--line); background: #f3f6f4; }
.ranking-card-heading > b, .ranking-card-heading span, .ranking-card li > b { color: #766400; }
.ranking-card li { border-color: var(--line-soft); color: var(--text); background: #fff; }
.ranking-position, .minute-rank, .goal-rank { color: var(--ink); background: var(--yellow); }
.ranking-bar, .formation-track, .minute-bar, .goal-bar { background: #dde4e0; }
.streak-card, .loss-streak { background: #f8faf8; }
.record-card > b, .pattern-grid strong { color: var(--ink); }

.method-note { border-color: rgba(194, 166, 10, .3); background: #fff9d5; }
.method-icon { color: var(--ink); background: var(--yellow); }
.prediction-workspace { border-color: var(--line); background: #fff; }
.fixture-browser { border-color: var(--line); background: #f7f9f7; }
.fixture-button { color: var(--text); background: #fff; box-shadow: 0 3px 10px rgba(9, 26, 35, .035); }
.fixture-button:hover { border-color: #bdc9c4; background: #fff; }
.fixture-button.active { border-color: #b9a216; background: #fffbe3; }
.analysis-panel { background: #fff; }
.prediction-card, .score-card, .form-card, .meetings-card, .model-card, .algorithm-card, .validation-card { border-color: var(--line); background: #f8faf8; }
.probability-track, .score-track, .factor-track { background: #dde4e0; }
.verdict { border-color: rgba(31, 118, 89, .18); background: rgba(31, 118, 89, .07); }
.score-value { color: var(--ink); background: var(--yellow); }
.metric-grid div, .h2h-summary article, .meeting-row, .meeting-detail, .meeting-detail-card, .algorithm-grid article, .validation-grid article { border-color: var(--line); background: #fff; }
.meeting-row:hover, .meeting-item.is-open .meeting-row { background: #f7f9f7; }
.meeting-score { color: var(--ink); background: var(--yellow); }
.meeting-data-chip { border-color: var(--line); color: var(--muted); background: var(--surface-2); }
.algorithm-card, .validation-card { background: #fff; }
.algorithm-grid { background: var(--line-soft); }

.portal-hero { min-height: 320px; padding: clamp(34px, 5vw, 58px); border-radius: var(--radius-lg); background: var(--ink) !important; color: #fff; box-shadow: 0 20px 48px rgba(9, 26, 35, .16); }
.portal-hero h1 { color: #fff; font-size: clamp(3rem, 6vw, 5.5rem); }
.portal-hero p:not(.eyebrow) { color: #aeb9bd; }
.portal-hero .eyebrow { color: var(--yellow) !important; }
.hero-stat { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .07); }
.game-card::before { width: 4px; background: var(--yellow); }
.game-number { border-radius: 10px; background: var(--ink); color: var(--yellow); }
.game-card p, .panel p { color: var(--muted); }
.auth-card, .account-panel { border-radius: var(--radius-lg); }
.summary-box { border-color: var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow-soft); }
.notice { border-radius: var(--radius-sm); }
.tag { color: var(--green); background: rgba(31, 118, 89, .09); }
.tag.muted { color: var(--muted); background: var(--surface-2); }
.legal-copy { max-width: 880px; margin-inline: auto; padding: clamp(28px, 5vw, 56px); }

.back-link { margin-top: 4px; color: var(--green) !important; }
.team-hero { border-radius: var(--radius-lg); box-shadow: 0 20px 48px rgba(9, 26, 35, .16); }
.team-hero .team-identity, .team-hero .team-identity h1 { color: #fff; }
.team-hero .team-identity p { color: #aeb9bd; }
.team-hero .hero-sources a { color: var(--yellow); }
.content-card, .profile-card { border-color: var(--line); background: #fff; }
.form-overview, .formation-card, .starters-card, .minute-leader-card, .goal-leader-card { border-color: var(--line); background: #f8faf8; }
.recent-match, .upcoming-match, .formation-row, .starter-ranking li, .minute-ranking li, .goal-ranking li, .stored-grid > div { border-color: var(--line-soft); background: #fff; }
.primary-formation { border-color: rgba(194, 166, 10, .25); background: #fff9d5; }
.profile-card dl > div { border-color: var(--line-soft); }
.league-table-wrap, .career-table-wrap { border-color: var(--line); }
.player-hero { border-color: #263b45; border-radius: var(--radius-lg); background: radial-gradient(circle at 16% 15%, rgba(240, 217, 52, .15), transparent 25rem), radial-gradient(circle at 92% 0, rgba(50, 131, 169, .2), transparent 28rem), var(--ink); box-shadow: 0 20px 48px rgba(9, 26, 35, .16); }
.player-hero h1, .player-hero .identity-facts strong { color: #fff; }
.player-hero .eyebrow { color: var(--yellow) !important; }
.player-hero .player-identity > p:not(.eyebrow) { color: #c7d2d7 !important; }
.player-hero .identity-facts span { border-color: rgba(255, 255, 255, .32); color: #b9c7cd; }
.portrait-wrap { border-color: rgba(255, 255, 255, .14); }
.player-card-section { border-color: var(--line); background: #fff; }
.team-chip-list > span, .external-summary-card, .source-grid a { border-color: var(--line); background: #f8faf8; }
.external-summary-card dl div { background: #edf1ef; }
.career-table-wrap th { background: #f3f6f4 !important; }

footer:not(.site-footer) {
  display: flex;
  width: 100%;
  min-height: 78px;
  margin-top: 54px;
  padding: 20px max(24px, calc((100vw - 1280px) / 2));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #73828a;
  background: #08141b;
  font-size: .61rem;
}
footer a { color: var(--yellow); }
.site-footer__legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.site-footer__legal a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: #c6d0d4;
  font-size: .67rem;
  font-weight: 750;
  text-decoration: none;
}
.site-footer__legal a:hover { color: var(--yellow); }

@media (max-width: 940px) {
  .site-header { min-height: 68px; padding-inline: 20px; align-items: center; flex-direction: row; flex-wrap: nowrap; }
  .v2-menu-button { display: block; margin-left: auto; }
  .site-header nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    height: auto;
    max-height: calc(100vh - 68px);
    padding: 14px 20px 22px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    background: var(--ink);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .18);
  }
  .site-header nav.v2-open { display: flex; }
  .site-header nav a { min-height: 44px; padding: 0 11px; }
  .site-header nav a.active::after { width: 3px; height: 22px; top: 11px; right: auto; bottom: auto; }
  .site-header .user-chip { margin: 8px 11px 0; align-self: flex-start; }
  main { width: min(100% - 32px, 1280px); }
  .hero, .stats-hero { min-height: 320px; padding-block: 52px 42px; }
  .stats-hero { grid-template-columns: minmax(0, 1fr) 200px; }
  .prediction-workspace { grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); }
}

@media (max-width: 700px) {
  main { width: min(100% - 24px, 1280px); }
  .site-header .brand small { display: none; }
  .hero::before, .stats-hero::before { right: 0; width: 100%; }
  .hero, .stats-hero { min-height: 0; padding-block: 42px 34px; }
  .hero h1, .stats-hero h1 { font-size: clamp(2.9rem, 14vw, 4.7rem); }
  .stats-hero h1 { font-size: clamp(2.5rem, 12vw, 4.7rem); }
  .hero-copy, .stats-hero p:last-child { font-size: .91rem; }
  .stats-hero { grid-template-columns: minmax(0, 1fr); }
  .stats-hero > div { min-width: 0; }
  .stats-hero-mark { display: none; }
  .summary-grid { border-radius: var(--radius); }
  .workspace, .statistics-workspace, .prediction-workspace, .content-card, .profile-card, .player-card-section, .panel, .game-card { border-radius: var(--radius); }
  .prediction-workspace { grid-template-columns: 1fr; }
  .fixture-browser { border-right: 0; border-bottom: 1px solid var(--line); }
  .portal-hero { min-height: 0; border-radius: var(--radius); }
  .portal-hero h1 { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(2rem, 9vw, 2.7rem); }
  .legal-copy { padding: 25px 20px; }
  .table-wrap::before,
  .table-scroll::before,
  .league-table-wrap::before,
  .career-table-wrap::before {
    position: sticky;
    z-index: 2;
    left: 8px;
    display: block;
    width: max-content;
    margin: 7px 8px 5px;
    padding: 3px 8px;
    border-radius: 999px;
    color: #53615c;
    background: #edf1ef;
    content: "Svep i sidled →";
    font-size: .66rem;
    font-weight: 730;
    pointer-events: none;
  }
  footer:not(.site-footer) { min-height: 96px; margin-top: 38px; padding-block: 24px; align-items: flex-start; flex-direction: column; }
  .site-footer__legal { flex-wrap: wrap; justify-content: flex-start; gap: 4px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Matchpuls liquid navigation ------------------------------------------------ */
.site-header.has-liquid-nav {
  min-height: 96px;
  overflow: visible;
}
.site-header.has-liquid-nav .brand,
.site-header__utilities { position: relative; z-index: 6; }
.site-scroll-progress {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, .045);
  pointer-events: none;
}
.site-scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, #35cbb9 0%, #63d1bc 38%, #f0d934 82%, #fff2a2 100%);
  box-shadow: 0 0 13px rgba(53, 203, 185, .48), 0 0 9px rgba(240, 217, 52, .54);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
@keyframes mp-scroll-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@supports (animation-timeline: scroll()) {
  .site-scroll-progress__bar {
    animation: mp-scroll-progress linear both;
    animation-timeline: scroll(root block);
  }
}
.site-header .liquid-nav {
  --liquid-glow-rgb: 240 217 52;
  --liquid-radius: 16px;
  --liquid-bead: 46px;
  --liquid-rise: 29px;
  position: absolute;
  z-index: 5;
  top: 30px;
  left: 50%;
  display: block;
  width: min(680px, calc(100% - 430px));
  min-width: 540px;
  height: 58px;
  padding: 0;
  align-self: auto;
  overflow: visible;
  border: 0;
  border-radius: var(--liquid-radius);
  background: #0b1921;
  box-shadow: none;
  touch-action: pan-y;
  transform: translateX(-50%);
  -webkit-tap-highlight-color: transparent;
}
.site-header .liquid-nav.is-ready { background: none; }
.liquid-nav__cast {
  position: absolute;
  inset: 46% 6% 5%;
  border-radius: 999px;
  background: #0b1921;
  box-shadow: 0 11px 24px -10px rgba(0, 0, 0, .82), 0 28px 48px -22px rgba(0, 0, 0, .9);
}
.liquid-nav__skin {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .42));
}
.liquid-nav__fill {
  fill: url(#mpLiquidPlate);
  stroke: url(#mpLiquidRim);
  stroke-width: 1;
}
.liquid-nav__bead {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--liquid-bead);
  height: var(--liquid-bead);
  margin: calc(var(--liquid-bead) / -2) 0 0 calc(var(--liquid-bead) / -2);
  border-radius: 50%;
  background: linear-gradient(155deg, color-mix(in srgb, rgb(var(--liquid-glow-rgb)) 72%, #fff), rgb(var(--liquid-glow-rgb)) 64%);
  box-shadow: 0 0 0 1px rgb(var(--liquid-glow-rgb) / .52), 0 0 24px 2px rgb(var(--liquid-glow-rgb) / .26), 0 9px 17px -7px rgba(0, 0, 0, .76), inset 0 0 0 1px rgba(255, 255, 255, .45);
  pointer-events: none;
  will-change: transform;
}
.liquid-nav:not(.is-ready) .liquid-nav__bead { opacity: 0; }
.liquid-nav__links {
  position: absolute;
  inset: 0;
  display: flex;
  padding-inline: clamp(30px, 7.5%, 50px);
}
.site-header .liquid-nav__link {
  --liquid-proximity: 0;
  position: relative;
  display: block;
  flex: 1;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 13px;
  color: #8fa0a8;
  background: none !important;
  cursor: pointer;
}
.site-header .liquid-nav__link:hover { color: #c7d1d5; }
.site-header .liquid-nav__link:focus-visible {
  border-radius: 12px;
  outline: 2px solid var(--liquid-accent) !important;
  outline-offset: -3px;
}
.liquid-nav__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: color-mix(in oklab, #8fa0a8 calc((1 - var(--liquid-proximity)) * 100%), #0b1820);
  transform: translate(-50%, -50%) translateY(calc(var(--liquid-proximity) * var(--liquid-rise) * -1));
  will-change: transform;
}
.liquid-nav__label {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  color: #72858e;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .02em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.liquid-nav__link[aria-current="page"] .liquid-nav__label {
  color: var(--liquid-accent);
  font-weight: 850;
}
.liquid-nav.is-dragging { cursor: grabbing; }
.liquid-nav.is-dragging .liquid-nav__label { color: var(--liquid-accent); }
.site-header__utilities {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 8px;
}
.site-header__utility-link {
  display: inline-flex;
  min-height: 36px;
  padding: 0 10px;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 999px;
  color: #91a0a7;
  font-size: .64rem;
  font-weight: 720;
  text-decoration: none;
}
.site-header__utility-link:hover { border-color: rgba(240, 217, 52, .34); color: var(--yellow); }
.site-header__utility-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.site-header__utility-link--account { border-color: rgba(53, 203, 185, .22); color: #d9e6e8; }
.site-header__utility-link--account:hover { border-color: rgba(53, 203, 185, .55); color: #72dfcf; }
.site-header__utility-link--account[data-account-state="authenticated"] { border-color: rgba(240, 217, 52, .3); color: var(--yellow); }
.site-header__utilities .user-chip { display: none; margin: 0; align-self: center; }

@media (max-width: 980px) {
  html.liquid-nav-ready body { padding-bottom: calc(98px + env(safe-area-inset-bottom)); }
  .site-header.has-liquid-nav {
    min-height: 68px;
    padding-inline: 20px;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-header .liquid-nav {
    position: fixed;
    z-index: 100;
    top: auto;
    right: auto;
    bottom: max(9px, env(safe-area-inset-bottom));
    display: block;
    width: min(620px, calc(100% - 20px));
    min-width: 0;
    height: 72px;
    max-height: none;
    padding: 0;
    overflow: visible;
    border-radius: var(--liquid-radius);
    background: #0b1921;
    box-shadow: none;
  }
  .site-header .liquid-nav.is-ready { display: block; background: none; }
  .site-header .liquid-nav__link { min-height: 0; padding: 0; }
  .liquid-nav__links { padding-inline: clamp(22px, 6.5%, 42px); }
  .liquid-nav__icon { width: 23px; height: 23px; }
  .liquid-nav__label { bottom: 7px; font-size: 9px; }
  .v2-menu-button { display: none !important; }
}

@media (max-width: 560px) {
  html.liquid-nav-ready body { padding-bottom: calc(94px + env(safe-area-inset-bottom)); }
  .site-header.has-liquid-nav { padding-inline: 14px; }
  .site-header .liquid-nav { bottom: max(6px, env(safe-area-inset-bottom)); width: calc(100% - 12px); height: 70px; }
  .liquid-nav__links { padding-inline: 15px; }
  .liquid-nav__icon { width: 21px; height: 21px; }
  .liquid-nav__label { opacity: 0; transform: translateY(4px); }
  .liquid-nav__link[aria-current="page"] .liquid-nav__label,
  .liquid-nav.is-dragging .liquid-nav__label { opacity: var(--liquid-proximity); transform: none; }
  .site-header__utility-link { width: 36px; padding: 0; justify-content: center; }
  .site-header__utility-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .site-header__utilities .user-chip { display: none; }
}
