/* HoopPact "scoreboard" presentation layer (2026-11-14).
   Appearance and layout only. Loaded after the existing stylesheets on every
   shared-header page. Remove with tools/apply_scoreboard_theme.py --remove. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* ---------- 1. Tokens ---------- */
html[data-hp-theme] {
  --sb-navy: #142d4b;
  --sb-accent: #b8480c;
  --sb-accent-ink: #ffffff;
  --sb-font: "HP Greek", Inter, "Segoe UI", "Noto Sans", system-ui, sans-serif;
}
html[data-hp-theme="light"] {
  --sb-bg: #f4f6f8;
  --sb-surface: #ffffff;
  --sb-surface-2: #eaeef3;
  --sb-line: #dde2e8;
  --sb-line-strong: #c5ccd5;
  --sb-ink: #0f1b2d;
  --sb-muted: #55606e;
  --sb-link: #1d5480;
  --sb-accent-text: #b8480c;
  --hp-bg: #f4f6f8;
  --hp-bg-elev: #eef1f5;
  --hp-panel: #ffffff;
  --hp-panel-2: #eaeef3;
  --hp-text: #0f1b2d;
  --hp-muted: #55606e;
  --hp-faint: #55606e;
  --hp-line: #dde2e8;
  --hp-accent: #b8480c;
}
html[data-hp-theme="dark"] {
  --sb-bg: #101820;
  --sb-surface: #172534;
  --sb-surface-2: #22344a;
  --sb-line: #2c3e52;
  --sb-line-strong: #3d5168;
  --sb-ink: #f1f1f1;
  --sb-muted: #b8c2cc;
  --sb-link: #91caff;
  --sb-accent-text: #ffb38a;
}

/* ---------- 2. Type: one family, tabular figures ---------- */
html[data-hp-theme] body,
html[data-hp-theme] body :is(h1, h2, h3, h4, p, a, li, dt, dd, th, td, label, span, small, strong, b, div, caption, summary),
html[data-hp-theme] body :is(button, input, select, textarea) {
  font-family: var(--sb-font) !important;
}
html[data-hp-theme] body { font-variant-numeric: tabular-nums; }
html[data-hp-theme] body :is(h1, h2, h3) { letter-spacing: -0.01em; }

/* ---------- 3. Light surfaces: cool neutral instead of cream ---------- */
html[data-hp-theme="light"] body,
html[data-hp-theme="light"] body.cq-on-landing,
html[data-hp-theme="light"] body.hp-games-page { background: var(--sb-bg) !important; color: var(--sb-ink); }
html[data-hp-theme="light"] body .cq-site-bg { display: none !important; }
html[data-hp-theme="light"] body .header-controls,
html[data-hp-theme="light"] body.cq-on-landing .header-controls { background: var(--sb-surface) !important; border-bottom: 1px solid var(--sb-line) !important; }
html[data-hp-theme="light"] body #siteTrustStrip,
html[data-hp-theme="light"] body #siteTrustStrip .trust-bar { background: var(--sb-bg) !important; }
html[data-hp-theme="light"] body #hpPortal .hp-section,
html[data-hp-theme="light"] body .hp-panel,
html[data-hp-theme="light"] body .card,
html[data-hp-theme="light"] body .static-page table,
html[data-hp-theme="light"] body #pageLeaderboard,
html[data-hp-theme="light"] body .lb-table,
html[data-hp-theme="light"] body #hpPlayerContract,
html[data-hp-theme="light"] body .hp-team-head,
html[data-hp-theme="light"] body .hp-club-directory,
html[data-hp-theme="light"] body .gs-controls,
html[data-hp-theme="light"] body .gs-game,
html[data-hp-theme="light"] body .gs-empty,
html[data-hp-theme="light"] body .ps-controls,
html[data-hp-theme="light"] body .ps-table,
html[data-hp-theme="light"] body .ps-guide { background: var(--sb-surface) !important; border-color: var(--sb-line) !important; }
html[data-hp-theme="light"] body .card > .hd,
html[data-hp-theme="light"] body .card > .tabs,
html[data-hp-theme="light"] body .hp-panel > h2,
html[data-hp-theme="light"] body #hpClubFinancials > h2 { background: var(--sb-surface) !important; border-color: var(--sb-line) !important; }
html[data-hp-theme="light"] body :is(.hp-table, .ps-table, .lb-table, table) thead th,
html[data-hp-theme="light"] body .ps-table th { background: var(--sb-surface-2) !important; color: var(--sb-ink) !important; border-color: var(--sb-line) !important; }
html[data-hp-theme="light"] body :is(.hp-table, .ps-table) td { border-color: var(--sb-line) !important; }
html[data-hp-theme="light"] body :is(.hp-table, .ps-table) tbody tr:nth-child(even) > td { background: #f7f9fb !important; }
html[data-hp-theme="light"] body :is(.hp-table, .ps-table) tbody tr:nth-child(odd) > td { background: var(--sb-surface) !important; }
html[data-hp-theme="light"] body :is(input:not([type="checkbox"]):not([type="radio"]), select),
html[data-hp-theme="light"] body #hpPortal .hp-welcome .hp-search-input,
html[data-hp-theme="light"] body .gs-filters select,
html[data-hp-theme="light"] body .ps-controls :is(input, select) { background: var(--sb-surface) !important; border: 1px solid var(--sb-line-strong) !important; color: var(--sb-ink) !important; border-radius: 6px !important; }
html[data-hp-theme="light"] body select option { background: #ffffff !important; color: var(--sb-ink) !important; }
html[data-hp-theme="light"] body .btn:not(.active):not([aria-pressed="true"]):not(.hp-primary-action):not(#hpCompareBuild):not(.hp-search-btn):not(#gsMenu):not(#hpxMenu):not(#gsEnglish):not(#gsGreek):not(#psEnglish):not(#psGreek) { background: var(--sb-surface) !important; border-color: var(--sb-line-strong) !important; color: var(--sb-ink) !important; }
html[data-hp-theme="light"] body .gs-code,
html[data-hp-theme="light"] body .hp-club-tile b,
html[data-hp-theme="light"] body .badge { background: var(--sb-surface-2) !important; border-color: transparent !important; color: var(--sb-ink) !important; }

/* Primary actions use one accent */
html[data-hp-theme] body :is(.hp-search-btn, #hpCompareBuild, .hp-primary-action) { background: var(--sb-accent) !important; border-color: var(--sb-accent) !important; color: #fff !important; }
html[data-hp-theme] body #hpCompareBuild:disabled { opacity: 0.45 !important; }

/* ---------- 4. One header on every page ---------- */
html[data-hp-theme] body .site-header { background: var(--sb-navy) !important; height: auto !important; min-height: 0 !important; }
html[data-hp-theme] body .site-header .header-primary {
  display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 4px 20px !important;
  min-height: 56px !important; height: auto !important; max-width: 1280px !important; margin: 0 auto !important;
  padding: 0 20px !important; box-sizing: border-box !important; background: var(--sb-navy) !important;
}
html[data-hp-theme] body .site-header .header-brand { display: flex !important; align-items: center !important; gap: 10px !important; margin: 0 !important; color: #fff !important; text-decoration: none !important; font-size: 18px !important; font-weight: 700 !important; min-height: 44px; }
html[data-hp-theme] body .site-header .header-brand .logo { width: 32px !important; height: 32px !important; border-radius: 6px !important; background: var(--sb-accent) !important; color: #fff !important; display: grid !important; place-items: center !important; font-size: 13px !important; font-weight: 800 !important; }
html[data-hp-theme] body .site-header .header-brand span { color: #fff !important; }
html[data-hp-theme] body .site-header .header-nav { display: flex !important; align-items: stretch !important; gap: 2px !important; margin: 0 auto 0 12px !important; padding: 0 !important; position: static !important; width: auto !important; height: auto !important; order: 0 !important; flex-wrap: nowrap !important; }
html[data-hp-theme] body .site-header .header-nav .nav-link { display: flex !important; align-items: center !important; height: 56px !important; padding: 0 12px !important; font-size: 14px !important; font-weight: 600 !important; color: #d5dde6 !important; background: transparent !important; border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important; text-decoration: none !important; box-sizing: border-box !important; }
html[data-hp-theme] body .site-header .header-nav .nav-link:hover { color: #fff !important; }
html[data-hp-theme] body .site-header .header-nav .nav-link.active { color: #fff !important; border-bottom-color: #ff8a4a !important; }
html[data-hp-theme] body .site-header .header-nav .nav-link span { color: inherit !important; }

/* language switch: same control everywhere */
html[data-hp-theme] body .site-header :is(.hpx-lang, .gs-language) { display: flex !important; gap: 0 !important; margin: 0 !important; padding: 0 !important; background: transparent !important; border: 1px solid #4a617b !important; border-radius: 6px !important; overflow: hidden; order: 5; }
html[data-hp-theme] body .site-header :is(.hpx-lang .langbtn, .gs-language .btn) { min-width: 40px !important; height: 34px !important; padding: 0 8px !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: #d5dde6 !important; font-size: 12px !important; font-weight: 700 !important; line-height: 1 !important; box-shadow: none !important; cursor: pointer; }
html[data-hp-theme] body .site-header :is(.hpx-lang .langbtn.active, .gs-language .btn[aria-pressed="true"]) { background: var(--sb-accent) !important; color: #fff !important; }

/* theme picker */
html[data-hp-theme] body .hp-theme-picker { display: flex !important; align-items: center !important; gap: 8px !important; margin: 0 !important; position: static !important; order: 6; color: #d5dde6 !important; font-size: 12px !important; font-weight: 600 !important; }
html[data-hp-theme] body .hp-theme-picker span { color: inherit !important; }
html[data-hp-theme] body :is(.site-header, .mobile-drawer) .hp-theme-picker select#hpThemePreference { height: 34px !important; min-height: 0 !important; width: auto !important; padding: 0 8px !important; background: transparent !important; color: #fff !important; border: 1px solid #4a617b !important; border-radius: 6px !important; font-size: 12px !important; font-weight: 600 !important; color-scheme: dark !important; }
html[data-hp-theme] body :is(.site-header, .mobile-drawer) .hp-theme-picker select#hpThemePreference option { background: #142d4b !important; color: #fff !important; }

/* menu button (mobile) */
html[data-hp-theme] body .site-header :is(#mobileNavBtn, #gsMenu, #hpxMenu) { display: none !important; order: 7; width: 44px !important; height: 44px !important; padding: 0 !important; margin: 0 -8px 0 0 !important; border: 0 !important; border-radius: 6px !important; color: transparent !important; font-size: 0 !important; cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 6h16M3 11h16M3 16h16'/%3E%3C/svg%3E") center / 22px no-repeat !important; }
html[data-hp-theme] body .site-header :is(#mobileNavBtn, #gsMenu, #hpxMenu) svg { display: none !important; }

/* second row (search / copy link) on the app pages */
html[data-hp-theme] body .header-controls .header-controls-inner { max-width: 1280px !important; margin: 0 auto !important; padding: 8px 20px !important; box-sizing: border-box !important; display: flex !important; align-items: center !important; gap: 12px !important; }
html[data-hp-theme] body .header-controls .controls-left { flex: 1 1 auto !important; min-width: 0 !important; }
html[data-hp-theme] body .header-controls #cqSearchHome { max-width: 480px; }
html[data-hp-theme="light"] body .header-controls #copyLinkBtn { color: var(--sb-muted) !important; background: transparent !important; border-color: var(--sb-line-strong) !important; font-size: 12px !important; padding: 6px 10px !important; }
html[data-hp-theme] body.cq-on-landing .header-controls { display: none !important; }

@media (max-width: 860px) {
  html[data-hp-theme] body .site-header .header-primary { padding: 0 16px !important; gap: 0 8px !important; }
  html[data-hp-theme] body .site-header .header-brand { margin-right: auto !important; }
  html[data-hp-theme] body .site-header :is(#mobileNavBtn, #gsMenu, #hpxMenu) { display: block !important; }
  html[data-hp-theme] body .site-header .header-primary > .hp-theme-picker { display: none !important; }
  /* app pages: links live in the drawer */
  html[data-hp-theme] body .site-header #mainNav { display: none !important; }
  /* standalone pages: links drop below the bar */
  html[data-hp-theme] body .site-header :is(#gsNav, #psNav) { display: none !important; order: 20 !important; width: 100% !important; margin: 0 -16px !important; padding: 4px 16px 12px !important; flex: 1 0 calc(100% + 32px) !important; flex-direction: column !important; border-top: 1px solid #2b4563; box-sizing: border-box !important; }
  html[data-hp-theme] body .site-header :is(#gsNav, #psNav).open { display: flex !important; }
  html[data-hp-theme] body .site-header :is(#gsNav, #psNav) .nav-link { height: 48px !important; padding: 0 4px !important; font-size: 16px !important; border-bottom: 0 !important; border-left: 3px solid transparent !important; padding-left: 12px !important; }
  html[data-hp-theme] body .site-header :is(#gsNav, #psNav) .nav-link.active { border-left-color: #ff8a4a !important; }
  html[data-hp-theme] body .site-header :is(#gsNav, #psNav) .nav-link:is(.active, :not(.active)) { border-bottom: 0 !important; }
  html[data-hp-theme] body .site-header :is(#gsNav, #psNav) .nav-link::after { display: none !important; }
  html[data-hp-theme] body .site-header :is(#gsNav, #psNav) .hp-theme-picker { display: flex !important; padding: 12px 4px 0 15px; font-size: 14px !important; }
  html[data-hp-theme] body .header-controls .header-controls-inner { padding: 8px 16px !important; }
  html[data-hp-theme] body .header-controls #copyLinkBtn { display: none !important; }
  html[data-hp-theme] body .header-controls #cqSearchHome { max-width: none; }
}

/* drawer: readable in both themes */
html[data-hp-theme] body .mobile-drawer { background: var(--sb-navy) !important; color: #fff !important; }
html[data-hp-theme] body .mobile-drawer .mobile-drawer-head { border-color: #2b4563 !important; }
html[data-hp-theme] body .mobile-drawer :is(.title, .mobile-drawer-close) { color: #fff !important; }
html[data-hp-theme] body .mobile-drawer .mobile-drawer-close { width: 44px !important; height: 44px !important; background: transparent !important; border: 0 !important; font-size: 26px !important; }
html[data-hp-theme] body .mobile-drawer .nav-link { color: #e6ecf2 !important; background: transparent !important; min-height: 48px; font-size: 16px !important; font-weight: 600 !important; border-radius: 0 !important; }
html[data-hp-theme] body .mobile-drawer .nav-link span { color: inherit !important; }
html[data-hp-theme] body .mobile-drawer .nav-link.active { color: #fff !important; background: rgba(255, 255, 255, 0.08) !important; border-left: 3px solid #ff8a4a !important; }
html[data-hp-theme] body .mobile-drawer .nav-link--sub { font-weight: 500 !important; font-size: 15px !important; }
html[data-hp-theme] body .mobile-drawer .mobile-drawer-subhd,
html[data-hp-theme] body .mobile-drawer .mobile-drawer-subhd span { color: #a9b8c8 !important; }
html[data-hp-theme] body .mobile-drawer .mobile-drawer-divider { background: #2b4563 !important; border-color: #2b4563 !important; }
html[data-hp-theme] body .mobile-drawer .mobile-drawer-action,
html[data-hp-theme] body .mobile-drawer .mobile-drawer-action span { color: #e6ecf2 !important; }
html[data-hp-theme] body .mobile-drawer .mobile-drawer-action { min-height: 44px; background: transparent !important; text-align: left; }
html[data-hp-theme] body .mobile-drawer .langtoggle { border: 1px solid #4a617b !important; border-radius: 6px; display: inline-flex !important; overflow: hidden; background: transparent !important; padding: 0 !important; }
html[data-hp-theme] body .mobile-drawer .langtoggle .langbtn { min-width: 48px; height: 40px; background: transparent !important; color: #d5dde6 !important; border: 0 !important; border-radius: 0 !important; font-weight: 700 !important; }
html[data-hp-theme] body .mobile-drawer .langtoggle .langbtn.active { background: var(--sb-accent) !important; color: #fff !important; }
html[data-hp-theme] body .mobile-drawer .hp-theme-picker { display: flex !important; margin: 4px 12px 16px !important; font-size: 14px !important; }

/* ---------- 5. Footer: links you can read ---------- */
html[data-hp-theme] body .site-footer { background: var(--sb-navy) !important; color: #c9d3df !important; }
html[data-hp-theme] body .site-footer :is(h3, h4, h3 span, h4 span) { color: #fff !important; }
html[data-hp-theme] body .site-footer :is(p, p span, li, li span, .footer-bottom, .footer-bottom span) { color: #c9d3df !important; opacity: 1 !important; }
html[data-hp-theme] body .site-footer a,
html[data-hp-theme] body .site-footer a span { color: #fff !important; text-decoration: underline !important; text-underline-offset: 3px; }
html[data-hp-theme] body .site-footer .footer-links a { display: inline-block; padding: 6px 0; }

/* ---------- 6. Home ---------- */
html[data-hp-theme] body #hpPortal { display: flex !important; flex-direction: column !important; gap: 16px !important; max-width: 1280px !important; margin: 0 auto !important; padding: 16px 20px 40px !important; box-sizing: border-box !important; }
html[data-hp-theme] body #hpPortal > * { margin: 0 !important; }
html[data-hp-theme] body #hpPortal .hp-welcome { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 4px 0 0 !important; border-radius: 0 !important; min-height: 0 !important; }
html[data-hp-theme] body #hpPortal .hp-welcome-copy { padding: 0 !important; max-width: 720px !important; }
html[data-hp-theme] body #hpPortal .hp-welcome .hp-eyebrow { color: var(--sb-muted) !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: 0.06em !important; margin: 0 0 4px !important; }
html[data-hp-theme] body #hpPortal .hp-welcome h1 { color: var(--sb-ink) !important; font-size: 26px !important; line-height: 1.2 !important; font-weight: 800 !important; margin: 0 0 12px !important; }
html[data-hp-theme] body #hpPortal .hp-welcome-actions > label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html[data-hp-theme] body #hpPortal .hp-welcome-actions { margin: 0 !important; padding: 0 !important; }
html[data-hp-theme] body #hpPortal .hp-welcome .hp-search-input { height: 48px !important; font-size: 16px !important; }
html[data-hp-theme] body #hpPortal .hp-welcome .hp-search-btn { height: 48px !important; border-radius: 6px !important; font-weight: 700 !important; }

.hpx-home { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hpx-card { background: var(--sb-surface); border: 1px solid var(--sb-line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.hpx-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 16px 12px; }
.hpx-head h2 { margin: 0 !important; font-size: 16px !important; font-weight: 700 !important; color: var(--sb-ink) !important; }
.hpx-head span { font-size: 12px; color: var(--sb-muted); white-space: nowrap; }
.hpx-row { display: grid; align-items: center; padding: 10px 16px; border-top: 1px solid var(--sb-line); text-decoration: none !important; color: var(--sb-ink) !important; }
.hpx-row:hover { background: var(--sb-surface-2); }
.hpx-res { grid-template-columns: minmax(0, 1fr) 40px; row-gap: 6px; }
.hpx-side { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; font-weight: 500; color: var(--sb-muted); }
.hpx-side span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hpx-pts { font-size: 16px; font-weight: 500; text-align: right; color: var(--sb-muted); }
.hpx-side.win, .hpx-pts.win { color: var(--sb-ink); font-weight: 800; }
.hpx-side.win { font-weight: 700; }
.hpx-abbr { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 24px; border-radius: 4px; background: var(--sb-surface-2); color: var(--sb-ink); font-size: 11px; font-weight: 700; letter-spacing: 0.02em; }
.hpx-next { grid-template-columns: 52px minmax(0, 1fr); column-gap: 12px; min-height: 44px; }
.hpx-next time { font-size: 15px; font-weight: 700; color: var(--sb-ink); }
.hpx-next .hpx-pair { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--sb-muted); }
.hpx-next .hpx-pair span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-hp-theme] body a.hpx-more { margin-top: auto; display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 16px; border-top: 1px solid var(--sb-line); font-size: 14px; font-weight: 600; color: var(--sb-accent-text) !important; text-decoration: none !important; }
html[data-hp-theme] body a.hpx-more::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); margin-right: 4px; }
html[data-hp-theme] body a.hpx-more:hover { background: var(--sb-surface-2); }
.hpx-leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--sb-line); border-top: 1px solid var(--sb-line); flex: 1; }
.hpx-leader { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; background: var(--sb-surface); text-decoration: none !important; min-width: 0; }
.hpx-leader:hover { background: var(--sb-surface-2); }
.hpx-leader small { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--sb-muted); }
.hpx-leader b { font-size: 28px; font-weight: 800; line-height: 1.1; color: var(--sb-ink); }
.hpx-leader strong { font-size: 14px; font-weight: 600; color: var(--sb-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hpx-leader em { font-style: normal; font-size: 12px; color: var(--sb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hpx-empty { padding: 12px 16px 16px; margin: 0; border-top: 1px solid var(--sb-line); font-size: 14px; color: var(--sb-muted); }
.hpx-compare { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 8px; background: var(--sb-navy); text-decoration: none !important; }
.hpx-compare strong { display: block; font-size: 16px; font-weight: 700; color: #fff; }
.hpx-compare span { display: block; font-size: 13px; color: #c9d3df; margin-top: 2px; }
.hpx-compare::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid #fff; border-top: 2px solid #fff; transform: rotate(45deg); margin-right: 6px; }

/* club directory: compact badges */
html[data-hp-theme] body #hpClubDirectory { border: 1px solid var(--sb-line) !important; border-radius: 8px !important; padding: 0 0 16px !important; overflow: hidden; box-shadow: none !important; }
html[data-hp-theme] body #hpClubDirectory > h2 { display: flex !important; align-items: baseline !important; justify-content: space-between !important; margin: 0 !important; padding: 14px 16px 12px !important; font-size: 16px !important; font-weight: 700 !important; color: var(--sb-ink) !important; border: 0 !important; background: transparent !important; }
html[data-hp-theme] body #hpClubDirectory > h2 span { font-size: 12px !important; font-weight: 400 !important; color: var(--sb-muted) !important; }
html[data-hp-theme] body #hpClubDirectory .hp-clubs-strip { display: grid !important; grid-template-columns: repeat(10, minmax(0, 1fr)) !important; gap: 8px !important; padding: 0 16px !important; border: 0 !important; background: transparent !important; }
html[data-hp-theme] body #hpClubDirectory .hp-club-tile { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 4px !important; min-height: 60px !important; padding: 8px 4px !important; border: 0 !important; border-radius: 6px !important; background: var(--sb-surface-2) !important; text-decoration: none !important; box-shadow: none !important; }
html[data-hp-theme] body #hpClubDirectory .hp-club-tile:hover { outline: 2px solid var(--sb-accent); }
html[data-hp-theme] body #hpClubDirectory .hp-club-tile b { background: transparent !important; border: 0 !important; padding: 0 !important; width: auto !important; height: auto !important; min-width: 0 !important; font-size: 14px !important; font-weight: 800 !important; color: var(--sb-ink) !important; }
html[data-hp-theme] body #hpClubDirectory .hp-club-tile span { font-size: 11px !important; line-height: 1.2 !important; color: var(--sb-muted) !important; text-align: center !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* budgets */
html[data-hp-theme] body #hpClubFinancials { border: 1px solid var(--sb-line) !important; border-radius: 8px !important; overflow: hidden; padding: 0 0 8px !important; box-shadow: none !important; }
html[data-hp-theme] body #hpClubFinancials > h2 { margin: 0 !important; padding: 14px 16px 12px !important; font-size: 16px !important; font-weight: 700 !important; color: var(--sb-ink) !important; border: 0 !important; }
html[data-hp-theme] body #hpClubFinancials .hp-budget-columns { padding: 0 16px !important; gap: 0 24px !important; }
html[data-hp-theme] body #hpClubFinancials table { font-size: 14px !important; }
html[data-hp-theme] body #hpClubFinancials :is(th, td) { padding: 9px 8px !important; }
html[data-hp-theme] body #hpClubFinancials thead th { background: transparent !important; border-bottom: 1px solid var(--sb-line) !important; }
html[data-hp-theme] body #hpClubFinancials th { font-size: 11px !important; letter-spacing: 0.06em !important; color: var(--sb-muted) !important; }
html[data-hp-theme] body #hpClubFinancials :is(th, td):not(:first-child) { text-align: right !important; }
html[data-hp-theme] body #hpClubFinancials td.hpx-na { font-size: 0 !important; color: transparent !important; }
html[data-hp-theme] body #hpClubFinancials td.hpx-na > * { display: none !important; }
html[data-hp-theme] body #hpClubFinancials td.hpx-na::after { content: "—"; font-size: 14px; color: var(--sb-muted); }
html[data-hp-theme] body #hpClubFinancials .hp-note { padding: 0 16px !important; margin: 10px 0 0 !important; font-size: 12px !important; color: var(--sb-muted) !important; }

@media (max-width: 1000px) { .hpx-home { grid-template-columns: 1fr 1fr; } .hpx-home > :nth-child(3) { grid-column: 1 / -1; } .hpx-home > :nth-child(3) .hpx-leaders { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) {
  html[data-hp-theme] body #hpPortal { padding: 12px 0 24px !important; gap: 12px !important; }
  html[data-hp-theme] body #hpPortal .hp-welcome { padding: 4px 16px 0 !important; }
  html[data-hp-theme] body #hpPortal .hp-welcome h1 { font-size: 20px !important; margin-bottom: 10px !important; }
  .hpx-home { grid-template-columns: 1fr; gap: 12px; }
  .hpx-home > :nth-child(3) .hpx-leaders { grid-template-columns: 1fr 1fr; }
  .hpx-card, html[data-hp-theme] body #hpClubDirectory, html[data-hp-theme] body #hpClubFinancials { border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; }
  .hpx-compare { margin: 0 16px !important; }
  html[data-hp-theme] body #hpClubDirectory .hp-clubs-strip { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  html[data-hp-theme] body #hpClubDirectory .hp-club-tile { min-height: 44px !important; padding: 4px !important; }
  html[data-hp-theme] body #hpClubDirectory .hp-club-tile b { font-size: 13px !important; }
  html[data-hp-theme] body #hpClubDirectory .hp-club-tile span { display: none !important; }
  html[data-hp-theme] body #hpClubFinancials .hp-budget-columns { display: block !important; padding: 0 !important; }
  html[data-hp-theme] body #hpClubFinancials :is(th, td):first-child { padding-left: 16px !important; }
  html[data-hp-theme] body #hpClubFinancials :is(th, td):last-child { padding-right: 16px !important; }
}

/* ---------- 7. Games ---------- */
html[data-hp-theme] body #gsMain { max-width: 1280px !important; box-sizing: border-box; }
html[data-hp-theme] body .gs-heading { padding: 8px 0 16px !important; }
html[data-hp-theme] body .gs-heading h1 { font-size: 28px !important; font-weight: 800 !important; color: var(--sb-ink) !important; margin: 2px 0 4px !important; }
html[data-hp-theme] body .gs-tabs .btn { min-height: 40px; border-radius: 6px !important; font-weight: 600 !important; }
html[data-hp-theme] body .gs-tabs .btn.active { background: var(--sb-navy) !important; color: #fff !important; border-color: var(--sb-navy) !important; }
html[data-hp-theme] body .gs-score { color: var(--sb-ink) !important; font-weight: 500 !important; }
html[data-hp-theme] body .gs-score .w { font-weight: 800; }
html[data-hp-theme] body .gs-score .l { color: var(--sb-muted); }
html[data-hp-theme] body .gs-game.hpx-final .gs-team:not(.hpx-win) a { font-weight: 500 !important; color: var(--sb-muted) !important; }
html[data-hp-theme] body .gs-team a { color: var(--sb-ink) !important; text-decoration: none !important; }
html[data-hp-theme] body .gs-team a:hover { text-decoration: underline !important; }
html[data-hp-theme] body .gs-code { border-radius: 4px !important; width: 40px !important; height: 26px !important; font-weight: 700 !important; }
html[data-hp-theme] body .gs-team .hpx-tpts { display: none; }
html[data-hp-theme] body #hpxGsFilterBtn, html[data-hp-theme] body #hpxPsFilterBtn { display: none; }
html[data-hp-theme] body .gs-game-bottom a, html[data-hp-theme] body .gs-footer a, html[data-hp-theme] body .gs-zone-help summary { color: var(--sb-link) !important; }

@media (max-width: 700px) {
  html[data-hp-theme] body #gsMain { padding: 12px 0 32px !important; }
  html[data-hp-theme] body .gs-heading { padding: 4px 16px 10px !important; }
  html[data-hp-theme] body .gs-heading h1 { font-size: 22px !important; }
  html[data-hp-theme] body .gs-heading > p:not(.hp-eyebrow) { display: none !important; }
  html[data-hp-theme] body .gs-controls { padding: 12px 16px !important; border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; }
  html[data-hp-theme] body .gs-tabs { gap: 6px !important; flex-wrap: nowrap !important; }
  html[data-hp-theme] body .gs-tabs .btn { flex: 1 1 0; padding: 0 6px !important; font-size: 13px !important; white-space: nowrap; }
  html[data-hp-theme] body .gs-round-nav { margin-top: 10px !important; flex-wrap: nowrap !important; gap: 8px !important; }
  html[data-hp-theme] body .gs-round-nav :is(#gsPrevious, #gsNext) { width: 44px; height: 44px; padding: 0 !important; font-size: 20px !important; flex: none; }
  html[data-hp-theme] body .gs-round-nav p { text-align: center; font-size: 15px; min-width: 0 !important; }
  html[data-hp-theme] body #hpxGsFilterBtn { display: inline-flex; align-items: center; justify-content: center; flex: none; height: 44px; padding: 0 12px !important; font-size: 13px !important; font-weight: 600 !important; border-radius: 6px !important; }
  html[data-hp-theme] body .gs-controls:not(.hpx-open) :is(.gs-filters, #gsZoneHelp, #gsReset) { display: none !important; }
  html[data-hp-theme] body .gs-controls.hpx-open .gs-round-nav { flex-wrap: wrap !important; }
  html[data-hp-theme] body .gs-controls.hpx-open #gsReset { width: 100%; order: 9; min-height: 44px; }
  html[data-hp-theme] body .gs-filters { margin-top: 12px !important; }
  html[data-hp-theme] body .gs-filters select { height: 44px !important; }
  html[data-hp-theme] body #gsCount { margin: 12px 16px 4px !important; font-size: 12px !important; }
  html[data-hp-theme] body .gs-day { margin: 12px 0 16px !important; }
  html[data-hp-theme] body .gs-day h2 { font-size: 13px !important; font-weight: 700 !important; color: var(--sb-muted) !important; margin: 0 !important; padding: 8px 16px !important; }
  html[data-hp-theme] body .gs-day ul { gap: 0 !important; border-top: 1px solid var(--sb-line); }
  html[data-hp-theme] body .gs-game { padding: 10px 16px 8px !important; border: 0 !important; border-bottom: 1px solid var(--sb-line) !important; border-radius: 0 !important; }
  html[data-hp-theme] body .gs-game-top { margin: 0 !important; }
  html[data-hp-theme] body .gs-game-top > span:first-child,
  html[data-hp-theme] body .gs-game-top .gs-status:is(.final, .scheduled) { display: none !important; }
  html[data-hp-theme] body .gs-scoreline { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 6px !important; }
  html[data-hp-theme] body .gs-game.hpx-timed .gs-scoreline { grid-template-columns: 52px minmax(0, 1fr) !important; column-gap: 12px !important; }
  html[data-hp-theme] body .gs-game.hpx-timed .gs-score { grid-row: 1 / span 2; grid-column: 1; align-self: center; text-align: left !important; font-size: 15px !important; font-weight: 700 !important; }
  html[data-hp-theme] body .gs-game.hpx-timed .gs-team { grid-column: 2; }
  html[data-hp-theme] body .gs-game.hpx-final .gs-score { display: none !important; }
  html[data-hp-theme] body .gs-team, html[data-hp-theme] body .gs-team.away { flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; text-align: left !important; gap: 8px !important; font-size: 14px !important; min-height: 26px; }
  html[data-hp-theme] body .gs-team > div { min-width: 0; flex: 1 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html[data-hp-theme] body .gs-team small { display: none !important; }
  html[data-hp-theme] body .gs-code { width: 40px !important; height: 24px !important; font-size: 11px !important; }
  html[data-hp-theme] body .gs-game.hpx-final .gs-team .hpx-tpts { display: block; flex: none; margin-left: auto; font-size: 16px; font-weight: 500; color: var(--sb-muted); }
  html[data-hp-theme] body .gs-game.hpx-final .gs-team.hpx-win .hpx-tpts { font-weight: 800; color: var(--sb-ink); }
  html[data-hp-theme] body .gs-game-bottom { margin-top: 6px !important; font-size: 11px !important; flex-wrap: nowrap !important; align-items: center; }
  html[data-hp-theme] body .gs-game-bottom span { max-width: none !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  html[data-hp-theme] body .gs-game-bottom a { flex: none; padding: 6px 0; }
  html[data-hp-theme] body .gs-footer { margin: 16px 16px 0 !important; }
}

/* ---------- 8. Player stats ---------- */
html[data-hp-theme] body #psMain { margin-top: 16px !important; }
html[data-hp-theme] body #psMain > h1 { font-size: 28px !important; font-weight: 800 !important; color: var(--sb-ink) !important; margin: 8px 0 4px !important; }
html[data-hp-theme] body #psMain > p[data-lang] { color: var(--sb-muted) !important; margin: 0 0 14px !important; }
html[data-hp-theme] body .ps-scroll { max-height: none !important; overflow-x: auto !important; overflow-y: visible !important; border: 1px solid var(--sb-line); border-radius: 8px; }
html[data-hp-theme] body .ps-table caption { padding: 10px 12px !important; font-size: 13px !important; color: var(--sb-muted) !important; background: var(--sb-surface); }
html[data-hp-theme] body .ps-table th { position: static !important; }
html[data-hp-theme] body .ps-table th button { color: var(--sb-ink) !important; font-size: 12px !important; letter-spacing: 0.02em; min-height: 28px; }
html[data-hp-theme] body .ps-table a { color: var(--sb-ink) !important; text-decoration: none !important; }
html[data-hp-theme] body .ps-table a:hover { text-decoration: underline !important; }
html[data-hp-theme] body .ps-table td:nth-child(2) a { font-weight: 400 !important; color: var(--sb-muted) !important; }
html[data-hp-theme] body .ps-table :is(td, th).hpx-sorted { font-weight: 800 !important; color: var(--sb-ink) !important; }
html[data-hp-theme="light"] body .ps-table tbody td.hpx-sorted { background: #eef2f6 !important; }
html[data-hp-theme="dark"] body .ps-table tbody td.hpx-sorted { background: #22344a !important; }
html[data-hp-theme] body .ps-table .hpx-club { display: none; }
html[data-hp-theme] body .ps-pagination .btn { min-height: 40px; border-radius: 6px !important; }

@media (max-width: 700px) {
  html[data-hp-theme] body #psMain { padding: 0 !important; margin-top: 12px !important; display: flex; flex-direction: column; }
  html[data-hp-theme] body #psMain > h1 { font-size: 22px !important; padding: 0 16px; }
  html[data-hp-theme] body #psMain > p[data-lang] { display: none !important; }
  html[data-hp-theme] body #psMain > .ps-guide { order: 8; margin: 8px 16px 0 !important; }
  html[data-hp-theme] body #psMain > #psFoot { order: 9; padding: 0 16px 24px; font-size: 12px !important; }
  html[data-hp-theme] body .ps-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; padding: 10px 16px 12px !important; border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; margin-top: 8px; }
  html[data-hp-theme] body .ps-controls :is(input, select) { min-height: 44px !important; font-size: 16px !important; }
  html[data-hp-theme] body .ps-controls:not(.hpx-open) > :not([for="ps-search"]):not(#hpxPsFilterBtn) { display: none !important; }
  html[data-hp-theme] body .ps-controls:not(.hpx-open) { grid-template-columns: minmax(0, 1fr) auto !important; align-items: end; }
  html[data-hp-theme] body .ps-controls.hpx-open > [for="ps-search"] { grid-column: 1; grid-row: 1; }
  html[data-hp-theme] body #hpxPsFilterBtn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 14px !important; font-size: 14px !important; font-weight: 600 !important; border-radius: 6px !important; align-self: end; grid-row: 1; grid-column: 2; }
  html[data-hp-theme] body .ps-scroll { border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; }
  html[data-hp-theme] body .ps-table :is(th, td):nth-child(2),
  html[data-hp-theme] body .ps-table :is(th, td):nth-child(3) { display: none !important; }
  html[data-hp-theme] body .ps-table :is(th, td):first-child { position: sticky !important; left: 0; z-index: 2; min-width: 148px; max-width: 148px; white-space: normal !important; padding-left: 16px !important; box-shadow: 1px 0 0 var(--sb-line); }
  html[data-hp-theme] body .ps-table .hpx-club { display: block; font-size: 11px; font-weight: 400; color: var(--sb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html[data-hp-theme] body .ps-table :is(th, td).hpx-sorted { position: sticky !important; right: 0; z-index: 2; box-shadow: -1px 0 0 var(--sb-line); padding-right: 16px !important; }
  html[data-hp-theme] body .ps-table :is(th, td) { padding: 8px 10px !important; }
  html[data-hp-theme] body .ps-pagination { padding: 0 16px; }
  html[data-hp-theme] body .ps-pagination .btn { min-height: 44px; }
}

/* ---------- 9. Player profile ---------- */
html[data-hp-theme] body #viewPlayer .card > .hd { border-bottom: 1px solid var(--sb-line) !important; }
html[data-hp-theme] body #viewPlayer #playerName { color: var(--sb-ink) !important; font-weight: 800 !important; }
html[data-hp-theme] body #viewPlayer #playerTrustLayer { border-left: 0 !important; border: 1px solid var(--sb-line) !important; border-radius: 8px !important; background: var(--sb-surface) !important; box-shadow: none !important; }
html[data-hp-theme] body #viewPlayer .player-salary-amt,
html[data-hp-theme] body #viewPlayer .player-salary-amt * { color: var(--sb-ink) !important; font-weight: 800 !important; }
html[data-hp-theme] body #viewPlayer .player-contract-phase,
html[data-hp-theme] body #viewPlayer .player-contract-phase * { font-size: 11px !important; letter-spacing: 0.06em !important; color: var(--sb-muted) !important; }
html[data-hp-theme] body #hpSeasonOverview h3 { margin: 0 0 8px !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: 0.04em; color: var(--sb-muted) !important; }
html[data-hp-theme] body #hpSeasonOverview .hp-table { width: auto !important; }
html[data-hp-theme] body #hpSeasonOverview .hp-table :is(th, td) { text-align: left !important; padding: 6px 22px 6px 0 !important; background: transparent !important; border: 0 !important; }
html[data-hp-theme] body #hpSeasonOverview .hp-table thead th,
html[data-hp-theme] body #hpSeasonOverview .hp-table thead th * { background: transparent !important; font-size: 11px !important; color: var(--sb-muted) !important; }
html[data-hp-theme] body #hpSeasonOverview .hp-table tbody td { font-size: 22px !important; font-weight: 800 !important; color: var(--sb-ink) !important; background: transparent !important; }
html[data-hp-theme] body #hpSeasonOverview #hpOpenStatistics { margin-top: 10px !important; }
@media (min-width: 1000px) {
  html[data-hp-theme] body #viewPlayer .card > .bd { display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px 20px; align-items: start; }
  html[data-hp-theme] body #viewPlayer .card > .bd > * { margin: 0 !important; min-width: 0; }
  html[data-hp-theme] body #viewPlayer .card > .bd > #playerTrustLayer { grid-column: 1; grid-row: 1; }
  html[data-hp-theme] body #viewPlayer .card > .bd > #hpPlayerJersey { grid-column: 1; grid-row: 2; }
  html[data-hp-theme] body #viewPlayer .card > .bd > #hpPlayerContract { grid-column: 2; grid-row: 1 / span 3; }
  html[data-hp-theme] body #viewPlayer .card > .bd > .hr { display: none !important; }
  html[data-hp-theme] body #viewPlayer #hpPlayerContract .hp-contract-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  html[data-hp-theme] body #viewPlayer #hpPlayerContract .hp-contract-grid > div:last-child { grid-column: 1 / -1; }
}
html[data-hp-theme] body #hpxDetailBtn { display: none; }
html[data-hp-theme] body #viewPlayer .hpx-dup { display: none !important; }
html[data-hp-theme] body #viewPlayer .card > .tabs { overflow-x: auto; scrollbar-width: none; }
html[data-hp-theme] body #viewPlayer .card > .tabs .tab { white-space: nowrap; }
html[data-hp-theme] body #viewPlayer .card > .tabs .tab.active { border-bottom-color: var(--sb-accent) !important; color: var(--sb-ink) !important; }

@media (max-width: 700px) {
  html[data-hp-theme] body #viewPlayer.container { padding-left: 0 !important; padding-right: 0 !important; }
  html[data-hp-theme] body #viewPlayer #breadcrumb { padding: 0 16px; }
  html[data-hp-theme] body #viewPlayer .card { border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; }
  html[data-hp-theme] body #viewPlayer .card > .hd { padding: 14px 16px !important; }
  html[data-hp-theme] body #viewPlayer .card > .bd { padding: 12px 16px 16px !important; }
  html[data-hp-theme] body #viewPlayer .hp-player-photo a img, html[data-hp-theme] body #viewPlayer #playerAvatar { max-width: 88px !important; }
  html[data-hp-theme] body #viewPlayer #playerName { font-size: 24px !important; line-height: 1.15 !important; }
  html[data-hp-theme] body #viewPlayer #playerTrustLayer { padding: 12px 16px !important; margin: 0 !important; }
  html[data-hp-theme] body #hpSeasonOverview .hp-table { width: 100% !important; table-layout: fixed; }
  html[data-hp-theme] body #hpSeasonOverview .hp-table :is(th, td) { padding-right: 2px !important; }
  html[data-hp-theme] body #hpSeasonOverview .hp-table tbody td { font-size: 14px !important; letter-spacing: -0.02em; }
  html[data-hp-theme] body #hpSeasonOverview .hp-table thead th, html[data-hp-theme] body #hpSeasonOverview .hp-table thead th * { font-size: 10px !important; padding-left: 0 !important; padding-right: 0 !important; }
  html[data-hp-theme] body #hpSeasonOverview .hp-table-scroll { overflow: visible !important; }
  html[data-hp-theme] body #tab_profile > .card > .hd { display: none !important; }
  html[data-hp-theme] body #tab_profile > .card > .bd { padding: 14px 16px !important; }
  html[data-hp-theme] body #hpxDetailBtn { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; margin-top: 12px; padding: 0 14px !important; font-size: 14px !important; font-weight: 600 !important; border-radius: 6px !important; }
  html[data-hp-theme] body #hpxDetailBtn::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -4px 4px 0 0; }
  html[data-hp-theme] body .bd.hpx-detail-open #hpxDetailBtn::after { transform: rotate(-135deg); margin-top: 4px; }
  html[data-hp-theme] body #viewPlayer .bd > .hr { display: none !important; }
  html[data-hp-theme] body #viewPlayer .card > .tabs .tab { padding: 0 12px !important; font-size: 14px !important; min-height: 44px; display: flex; align-items: center; }
  html[data-hp-theme] body #viewPlayer [id^="tab_"] { padding: 0 !important; }
}

/* ---------- 10. Compare ---------- */
html[data-hp-theme="light"] body :is(.hp-compare-controls, .hp-compare-filters, .hp-compare-person) { background: var(--sb-surface) !important; border-color: var(--sb-line) !important; }
html[data-hp-theme] body .hp-compare-person { border: 1px solid var(--sb-line) !important; border-top: 3px solid var(--sb-accent) !important; border-radius: 8px !important; }
html[data-hp-theme] body .hp-compare-table { table-layout: fixed !important; width: 100% !important; }
html[data-hp-theme] body .hp-compare-table :is(td, th) { white-space: normal !important; overflow-wrap: anywhere; vertical-align: top !important; }
html[data-hp-theme] body .hp-compare-table td * { white-space: normal !important; overflow-wrap: anywhere; position: static !important; }
html[data-hp-theme="light"] body .hp-compare-table tbody th[scope="row"] { background: transparent !important; color: var(--sb-muted) !important; }
html[data-hp-theme="light"] body .hp-compare-table tbody tr > * { background: var(--sb-surface) !important; border-color: var(--sb-line) !important; }
html[data-hp-theme] body .hp-compare-table tbody td { font-weight: 600 !important; }
html[data-hp-theme] body .hp-compare-categories .btn.active,
html[data-hp-theme] body .hp-compare-categories .btn[aria-pressed="true"] { background: var(--sb-navy) !important; color: #fff !important; border-color: var(--sb-navy) !important; }
@media (max-width: 700px) {
  html[data-hp-theme] body .hp-compare-table :is(td, th):first-child { width: 30%; }
  html[data-hp-theme] body .hp-compare-table :is(td, th) { padding: 8px 6px !important; font-size: 13px !important; }
  html[data-hp-theme] body .hp-compare-page-heading { padding-top: 8px !important; padding-bottom: 8px !important; }
  html[data-hp-theme] body .hp-compare-page-heading h1 { font-size: 22px !important; }
}

/* ---------- 11. Small repairs ---------- */
/* standalone pages: a menu label that carried an inline display:none stayed blank in Greek */
html[data-hp-theme] body .site-header :is(#gsNav, #psNav) .nav-link span[data-lang]:not([hidden]) { display: inline !important; }
html[data-hp-theme] body[data-ps-lang="en"] .site-header #psNav .nav-link span[data-lang="el"],
html[data-hp-theme] body[data-ps-lang="el"] .site-header #psNav .nav-link span[data-lang="en"] { display: none !important; }
html[data-hp-theme="light"] body .hp-compare-table tbody tr:nth-child(n) > :is(th, td) { background: var(--sb-surface) !important; }
html[data-hp-theme="light"] body .hp-compare-table tbody tr:nth-child(even) > :is(th, td) { background: #f7f9fb !important; }
@media (max-width: 700px) {
  html[data-hp-theme] body #hpClubFinancials th { white-space: normal !important; font-size: 10px !important; line-height: 1.25 !important; vertical-align: bottom !important; }
  html[data-hp-theme] body #hpClubFinancials :is(th, td):not(:first-child) { width: 27%; }
}
html[data-hp-theme="light"] body :is(.hp-team-kpis, .hp-tabs) { background: var(--sb-surface) !important; border-color: var(--sb-line) !important; }
html[data-hp-theme="light"] body .hp-team-kpis > * { background: var(--sb-surface) !important; border-color: var(--sb-line) !important; }
html[data-hp-theme="light"] body .hp-tabs button.active { background: var(--sb-surface) !important; color: var(--sb-ink) !important; box-shadow: inset 0 -3px 0 var(--sb-accent) !important; }
html[data-hp-theme="light"] body table tbody tr { background: transparent !important; }
html[data-hp-theme="light"] body table tbody tr:nth-child(even) > :is(td, th) { background: #f7f9fb !important; }
html[data-hp-theme="light"] body table tbody tr:nth-child(odd) > :is(td, th) { background: var(--sb-surface) !important; }
@media (max-width: 860px) {
  html[data-hp-theme] body .site-header :is(#gsNav, #psNav) .nav-link { box-shadow: none !important; border-bottom-width: 0 !important; border-top: 0 !important; border-right: 0 !important; }
}

/* ---------- 13. Next games on a phone: team names wrap instead of being cut ---------- */
@media (max-width: 700px) {
  .hpx-next .hpx-pair { flex-wrap: wrap; row-gap: 2px; }
  .hpx-next .hpx-pair span:last-child { flex: 1 1 100%; white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; }
  .hpx-next .hpx-pair .hpx-abbr { height: 22px; }
}
