/*-----------------------------------*\
  #NBSEsports Core Site Styles
\*-----------------------------------*/

/*
  File map for contributors
  1. Design tokens: colors, typography, spacing, shadows, theme overrides.
  2. Reset and shared primitives: containers, buttons, cards, forms, utilities.
  3. Global layout sections: header, hero, partner strip, tournament cards, match
     blocks, newsletter, footer, dialogs, and detail-page patterns.
  4. Responsive rules: breakpoint-only layout changes for the global sections.
  5. Home page redesign: scoped rules that only apply below `.home-page`.

  Keep shared visual constants in `:root`, and keep one-off component values
  next to the component. Light mode should override tokens instead of duplicating
  whole component rules whenever possible.
*/

/*-----------------------------------*\
  #DESIGN TOKENS
\*-----------------------------------*/

:root {
  /* Brand hues: derived tokens keep accent changes consistent across the UI. */
  --theme-accent-h: 198;
  --theme-accent-s: 100%;
  --theme-accent-l: 58%;
  --theme-accent: hsl(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l));
  --theme-accent-75: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.75);
  --theme-accent-soft: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.12);
  --theme-accent-soft-strong: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.14);
  --theme-accent-glow: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.22);
  --theme-accent-border: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.24);
  --theme-accent-border-strong: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.35);
  --theme-accent-focus: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.5);
  --theme-accent-ring: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.14);
  --theme-accent-sheen: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.03);
  --theme-accent-text: var(--theme-accent);

  --theme-secondary-h: 258;
  --theme-secondary-s: 92%;
  --theme-secondary-l: 66%;
  --theme-secondary: hsl(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l));
  --theme-secondary-soft: hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.12);
  --theme-secondary-glow: hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.24);
  --theme-secondary-border: hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.34);
  --theme-energy-gradient: linear-gradient(90deg, transparent 0%, var(--theme-secondary) 28%, var(--theme-accent) 72%, transparent 100%);
  --theme-energy-fill: linear-gradient(135deg, var(--theme-secondary) 0%, var(--theme-accent) 100%);

  /* Legacy palette names still back older component rules. Prefer theme-* tokens for new work. */
  --raisin-black-1: hsl(0, 0%, 16%);
  --raisin-black-2: hsl(236, 17%, 17%);
  --raisin-black-3: hsl(280, 11%, 11%);
  --raisin-black-4: hsl(280, 8%, 15%);
  --english-violet: hsl(274, 21%, 23%);
  --eerie-black-1: hsl(277, 25%, 10%);
  --eerie-black-2: hsl(280, 7%, 8%);
  --roman-silver:  hsl(220, 6%, 59%);
  --quick-silver:  hsl(0, 1%, 65%);
  --light-gray-1:  hsl(0, 0%, 80%);
  --light-gray-2:  hsl(0, 2%, 82%);
  --marigold_75:   var(--theme-accent-75);
  --xiketic_90:    hsla(280, 37%, 8%, 0.9);
  --cultured-2:    hsl(0, 0%, 97%);
  --marigold:      var(--theme-accent);
  --platinum:      hsl(0, 0%, 89%);
  --dim-gray:      hsl(0, 0%, 42%);
  --white_15:      hsla(0, 0%, 100%, 0.15);
  --white_10:      hsla(0, 0%, 100%, 0.10);
  --xiketic:       hsl(277, 25%, 10%);
  --silver:        hsl(0, 0%, 78%);
  --white:         hsl(0, 0%, 100%);
  --jet:           hsl(236, 13%, 23%);
  --theme-surface-overlay: hsla(0, 0%, 100%, 0.03);
  --theme-surface-soft: hsla(0, 0%, 100%, 0.04);
  --theme-surface-soft-alt: hsla(0, 0%, 100%, 0.035);
  --theme-surface-strong: hsla(0, 0%, 100%, 0.06);
  --theme-border-subtle: hsla(0, 0%, 100%, 0.06);
  --theme-border-regular: hsla(0, 0%, 100%, 0.08);
  --theme-text-muted: var(--quick-silver);
  --theme-text-subtle: var(--roman-silver);
  --theme-text-inverse: hsl(0, 0%, 100%);
  --theme-border-emphasis: hsla(0, 0%, 100%, 0.1);
  --theme-brand-stroke: #007C9E;

  /* Status and feedback colors shared by forms, admin panels, and match/tournament states. */
  --theme-success: hsl(150, 65%, 40%);
  --theme-success-contrast: hsl(150, 90%, 90%);
  --theme-success-soft: hsla(150, 65%, 40%, 0.16);
  --theme-success-border: hsla(150, 65%, 40%, 0.28);
  --theme-success-focus: hsla(150, 65%, 40%, 0.24);

  --theme-danger: hsl(0, 80%, 60%);
  --theme-danger-contrast: hsl(0, 100%, 92%);
  --theme-danger-text: hsl(0, 100%, 84%);
  --theme-danger-soft: hsla(0, 80%, 60%, 0.14);
  --theme-danger-border: hsla(0, 80%, 60%, 0.28);
  --theme-danger-focus: hsla(0, 80%, 60%, 0.24);

  --theme-status-pending: var(--theme-accent);
  --theme-status-approved: var(--theme-success);
  --theme-status-rejected: var(--theme-danger);
  --theme-status-upcoming-bg: rgba(41, 191, 255, 0.12);
  --theme-status-upcoming-border: rgba(41, 191, 255, 0.3);
  --theme-status-upcoming-text: var(--marigold);
  --theme-status-ongoing-bg: rgba(64, 189, 149, 0.12);
  --theme-status-ongoing-border: rgba(64, 189, 149, 0.3);
  --theme-status-ongoing-text: #62f0c3;
  --theme-status-completed-bg: rgba(143, 155, 179, 0.14);
  --theme-status-completed-border: rgba(143, 155, 179, 0.32);
  --theme-status-completed-text: var(--light-gray-1);
  --theme-status-cancelled-bg: rgba(255, 93, 93, 0.12);
  --theme-status-cancelled-border: rgba(255, 93, 93, 0.28);
  --theme-status-cancelled-text: #ff9d9d;
  --theme-status-draft-bg: rgba(255, 255, 255, 0.08);
  --theme-status-draft-border: var(--white_15);
  --theme-status-draft-text: var(--light-gray-1);
  --theme-status-scheduled-bg: rgba(255, 176, 32, 0.12);
  --theme-status-scheduled-border: rgba(255, 176, 32, 0.28);
  --theme-status-scheduled-text: #ffd27d;
  --theme-status-published-bg: rgba(64, 189, 149, 0.12);
  --theme-status-published-border: rgba(64, 189, 149, 0.3);
  --theme-status-published-text: #62f0c3;
  --theme-status-neutral-bg: rgba(255, 255, 255, 0.08);
  --theme-status-neutral-border: var(--white_15);
  --theme-status-neutral-text: var(--light-gray-1);
  --theme-badge-live-bg: #d32f2f;
  --theme-badge-live-text: var(--theme-text-inverse);
  --theme-badge-scheduled-text: var(--eerie-black-1);
  --theme-badge-done-text: var(--theme-text-inverse);
  --theme-form-error-text: #ff9d9d;
  --theme-form-error-border: rgba(255, 93, 93, 0.28);
  --theme-form-error-bg: rgba(255, 93, 93, 0.08);
  --theme-form-error-contrast: #ffd4d4;
  --theme-dialog-backdrop: rgba(5, 8, 16, 0.78);
  --theme-dialog-panel: linear-gradient(180deg, var(--theme-surface-overlay), transparent 36%), var(--gradient-card);
  --theme-auth-feedback-border: #b3261e;
  --theme-auth-feedback-bg: rgba(179, 38, 30, 0.16);
  --theme-card-art-default-hue: 260;
  --theme-card-art-start-s: 35%;
  --theme-card-art-start-l: 14%;
  --theme-card-art-end-h: 280;
  --theme-card-art-end-s: 20%;
  --theme-card-art-end-l: 8%;
  --theme-card-art-tall-default-hue: 274;
  --theme-card-art-tall-start-s: 30%;
  --theme-card-art-tall-start-l: 16%;
  --theme-card-art-tall-end-h: 280;
  --theme-card-art-tall-end-s: 20%;
  --theme-card-art-tall-end-l: 8%;
  --theme-card-shop-default-hue: 280;
  --theme-card-shop-start-s: 20%;
  --theme-card-shop-start-l: 14%;
  --theme-card-shop-end-h: 274;
  --theme-card-shop-end-s: 28%;
  --theme-card-shop-end-l: 10%;
  --theme-card-blog-default-hue: 277;
  --theme-card-blog-start-s: 30%;
  --theme-card-blog-start-l: 15%;
  --theme-card-blog-end-h: 260;
  --theme-card-blog-end-s: 25%;
  --theme-card-blog-end-l: 10%;
  --theme-card-home-tournament-default-hue: 260;
  --theme-card-home-tournament-start-s: 30%;
  --theme-card-home-tournament-start-l: 16%;
  --theme-card-home-tournament-end-h: 280;
  --theme-card-home-tournament-end-s: 20%;
  --theme-card-home-tournament-end-l: 8%;
  --theme-card-home-placeholder-default-hue: 260;
  --theme-card-home-placeholder-start-s: 30%;
  --theme-card-home-placeholder-start-l: 16%;
  --theme-card-home-placeholder-end-h: 280;
  --theme-card-home-placeholder-end-s: 20%;
  --theme-card-home-placeholder-end-l: 8%;

  /* Social brand colors are used only for recognisable platform affordances. */
  --social-twitter: #1da1f2;
  --social-discord: #5865f2;
  --social-twitch: #9146ff;
  --social-youtube: #ff0000;
  --social-instagram: #e4405f;
  --social-tiktok: #69c9d0;

  /* Typography scale: rem values assume the reset's 10px root font size. */
  --ff-oxanium: 'Rajdhani', sans-serif;
  --ff-poppins: 'Space Grotesk', sans-serif;

  --fs-1: clamp(4rem, 8vw, 7rem);
  --fs-2: clamp(3.4rem, 6vw, 4.5rem);
  --fs-3: clamp(2.8rem, 4.6vw, 3.6rem);
  --fs-4: clamp(2.2rem, 3.2vw, 2.4rem);
  --fs-5: clamp(2rem, 3vw, 2.2rem);
  --fs-6: clamp(1.8rem, 2.5vw, 2rem);
  --fs-7: clamp(1.55rem, 2.1vw, 1.6rem);
  --fs-8: clamp(1.45rem, 1.9vw, 1.5rem);
  --fs-9: clamp(1.35rem, 1.8vw, 1.4rem);
  --fs-10: clamp(1.25rem, 1.6vw, 1.3rem);
  --fs-11: clamp(1.15rem, 1.5vw, 1.2rem);

  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-800: 800;

  --section-padding: clamp(64px, 10vw, 120px);
  --section-rhythm: 18px;
  --section-rhythm-lg: 28px;
  --container-max: 1230px;
  --container-gutter: clamp(16px, 4vw, 32px);
  --header-offset: 68px;

  /* Surface recipes. Override these in light mode instead of rewriting components. */
  --gradient-bg:
    radial-gradient(circle at 18% 18%, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.14) 0%, transparent 24%),
    radial-gradient(circle at 82% 16%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.14) 0%, transparent 26%),
    radial-gradient(ellipse at 60% 50%, hsl(274, 30%, 16%) 0%, hsl(280, 11%, 8%) 70%);
  --gradient-card:
    linear-gradient(135deg, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.08) 0%, transparent 34%),
    linear-gradient(135deg, hsl(280, 14%, 14%) 0%, hsl(277, 20%, 10%) 58%, hsl(236, 24%, 10%) 100%);
  --gradient-hero:
    radial-gradient(circle at 18% 20%, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.16) 0%, transparent 30%),
    radial-gradient(circle at 80% 16%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.18) 0%, transparent 28%),
    linear-gradient(135deg, hsl(277, 35%, 12%) 0%, hsl(250, 25%, 8%) 50%, hsl(280, 15%, 6%) 100%);
  --theme-page-bg: var(--raisin-black-3);
  --theme-header-top-bg: linear-gradient(90deg, var(--eerie-black-1), var(--raisin-black-2));
  --theme-header-nav-bg: var(--raisin-black-2);
  --theme-header-outline: hsla(0, 0%, 0%, 0.2);
  --theme-navbar-bg: var(--eerie-black-1);
  --theme-floating-bg: var(--gradient-card);
  --theme-search-bg: hsla(222, 18%, 11%, 0.95);
  --theme-section-wrapper-bg: linear-gradient(180deg, hsl(274, 28%, 14%) 0%, hsl(0, 0%, 97%) 100%);
  --theme-footer-bottom-bg: var(--eerie-black-2);
  --theme-card-content-overlay: linear-gradient(180deg, transparent 0%, rgba(7, 8, 14, 0.82) 12%, rgba(7, 8, 14, 0.94) 100%);
  --theme-news-overview-metric-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  --theme-news-filter-bg: rgba(255, 255, 255, 0.03);
  --theme-news-filter-hover-bg: rgba(255, 181, 39, 0.12);
  --theme-news-filter-active-border: var(--theme-accent-border-strong);
  --theme-news-side-panel-bg: rgba(6, 10, 18, 0.72);
  --theme-news-badge-bg: rgba(8, 12, 24, 0.82);
  --theme-news-badge-border: rgba(255, 255, 255, 0.14);
  --theme-news-pill-bg: rgba(0, 124, 158, 0.16);
  --theme-news-pill-border: rgba(0, 124, 158, 0.38);
  --theme-news-pill-text: #b8f3ff;
  --theme-news-card-surface: linear-gradient(180deg, hsla(0, 0%, 100%, 0.03) 0%, hsla(0, 0%, 100%, 0.015) 100%);
  --theme-news-card-shadow: 0 18px 48px hsla(0, 0%, 0%, 0.18);
  --theme-news-card-muted-shadow: 0 14px 40px hsla(0, 0%, 0%, 0.12);
  --theme-news-card-hover-border: var(--theme-accent-border);
  --theme-news-card-hover-shadow: 0 24px 56px hsla(0, 0%, 0%, 0.22);
  --theme-news-spotlight-bg:
    radial-gradient(circle at top right, rgba(0, 124, 158, 0.18), transparent 42%),
    linear-gradient(180deg, var(--theme-surface-overlay), transparent 34%),
    var(--gradient-card);
  --theme-modal-backdrop: rgba(6, 8, 18, 0.84);
  --theme-modal-border: var(--theme-border-emphasis);
  --theme-modal-surface:
    radial-gradient(circle at top right, rgba(0, 124, 158, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%),
    linear-gradient(180deg, rgba(7, 8, 14, 0.98), rgba(11, 12, 18, 0.98));
  --theme-modal-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --theme-modal-close-hover-border: var(--theme-accent-border-strong);
  --theme-modal-close-bg: rgba(8, 12, 24, 0.8);
  --theme-modal-scroll-track: rgba(255, 255, 255, 0.05);
  --theme-modal-scroll-thumb: linear-gradient(180deg, rgba(0, 124, 158, 0.96), rgba(0, 124, 158, 0.68));
  --theme-modal-scroll-thumb-border: rgba(8, 12, 24, 0.28);
  --theme-news-link-card-bg: rgba(8, 12, 24, 0.72);
  --theme-toast-bg: rgba(8, 12, 24, 0.94);
  --theme-toast-border: var(--theme-accent-border);
  --theme-toast-error-border: var(--theme-danger-border);
  --theme-toast-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  --theme-live-banner-bg:
    linear-gradient(135deg, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.11) 0%, transparent 34%),
    linear-gradient(135deg, hsl(260, 40%, 12%) 0%, hsl(280, 30%, 8%) 50%, hsl(250, 35%, 10%) 100%);
  --theme-live-subtitle-text: var(--theme-text-inverse);
  --theme-shop-section-bg: linear-gradient(135deg, hsl(274, 25%, 10%) 0%, hsl(280, 15%, 7%) 100%);
  --theme-admin-flash-surface: hsla(280, 15%, 12%, 0.94);
  --theme-home-page-bg:
    radial-gradient(circle at 12% 12%, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.08) 0%, transparent 24%),
    radial-gradient(circle at 88% 10%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.09) 0%, transparent 24%),
    linear-gradient(180deg, hsl(252, 30%, 8%) 0%, hsl(276, 19%, 7%) 28%, hsl(270, 18%, 6%) 100%);
  --theme-home-section-bg:
    radial-gradient(circle at 18% 16%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.08) 0%, transparent 20%),
    linear-gradient(180deg, hsl(274, 23%, 8%) 0%, hsl(272, 19%, 7%) 52%, hsl(270, 16%, 6%) 100%);
  --theme-home-stat-bg:
    linear-gradient(180deg, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.08) 0%, transparent 56%),
    linear-gradient(180deg, hsla(0, 0%, 100%, 0.03) 0%, hsla(0, 0%, 100%, 0.015) 100%);
  --theme-home-emblem-bg:
    radial-gradient(circle at 50% 50%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.1) 0%, transparent 42%),
    linear-gradient(160deg, hsl(255, 31%, 10%) 0%, hsl(278, 26%, 8%) 52%, hsl(228, 29%, 8%) 100%);
  --theme-home-command-bg:
    linear-gradient(180deg, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.08) 0%, transparent 60%),
    linear-gradient(180deg, hsla(0, 0%, 100%, 0.03) 0%, hsla(0, 0%, 100%, 0.015) 100%);
  --theme-home-brand-badge-bg:
    linear-gradient(135deg, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.08) 0%, transparent 42%),
    linear-gradient(180deg, hsla(0, 0%, 100%, 0.03) 0%, hsla(0, 0%, 100%, 0.015) 100%);
  --theme-home-stat-shadow: 0 24px 60px hsla(0, 0%, 0%, 0.2);
  --theme-home-card-bg: linear-gradient(180deg, hsla(0, 0%, 100%, 0.03) 0%, hsla(0, 0%, 100%, 0.015) 100%);
  --theme-home-card-shadow: 0 28px 70px hsla(0, 0%, 0%, 0.2);
  --theme-home-card-overlay: linear-gradient(180deg, transparent 0%, rgba(6, 8, 14, 0.88) 18%, rgba(6, 8, 14, 0.96) 100%);
  --theme-home-card-art-label: hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.15);
  --theme-home-card-art-label-shadow: none;
  --theme-home-emblem-frame: hsla(0, 0%, 100%, 0.05);
  --theme-home-emblem-shadow: 0 32px 80px hsla(0, 0%, 0%, 0.28);
  --theme-home-command-shadow: 0 24px 60px hsla(0, 0%, 0%, 0.18);
  --theme-home-live-placeholder-bg:
    radial-gradient(circle at top, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.12) 0%, transparent 38%),
    linear-gradient(180deg, rgba(10, 12, 20, 0.82) 0%, rgba(10, 12, 20, 0.92) 100%);
  --theme-home-stream-queue-bg:
    linear-gradient(180deg, hsla(0, 0%, 100%, 0.025) 0%, transparent 100%),
    rgba(7, 8, 14, 0.74);
  --theme-home-featured-link-bg:
    linear-gradient(135deg, hsla(0, 0%, 100%, 0.03) 0%, transparent 48%),
    rgba(8, 8, 15, 0.76);
  --theme-home-featured-link-active-bg:
    linear-gradient(135deg, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.12) 0%, transparent 44%),
    rgba(8, 8, 15, 0.86);
  --theme-home-featured-overlay: linear-gradient(180deg, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.16) 0%, rgba(7, 8, 14, 0.94) 100%);
  --theme-home-tournament-surface: linear-gradient(180deg, hsla(0, 0%, 100%, 0.04) 0%, rgba(6, 8, 14, 0.88) 56%, rgba(6, 8, 14, 0.96) 100%);
  --theme-home-tournament-shadow: 0 28px 70px hsla(0, 0%, 0%, 0.2);
  --theme-home-tournament-art-overlay:
    radial-gradient(circle at top right, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.14) 0%, transparent 28%),
    linear-gradient(180deg, transparent 0%, rgba(4, 6, 10, 0.18) 42%, rgba(4, 6, 10, 0.94) 100%);
  --theme-home-tournament-overlay: linear-gradient(180deg, rgba(8, 10, 16, 0.12) 0%, rgba(8, 10, 16, 0.34) 38%, rgba(8, 10, 16, 0.92) 100%);
  --theme-home-tournament-stat-border: hsla(0, 0%, 100%, 0.08);
  --theme-home-tournament-stat-bg: linear-gradient(180deg, hsla(0, 0%, 100%, 0.06) 0%, hsla(0, 0%, 100%, 0.02) 100%);
  --theme-home-empty-bg:
    radial-gradient(circle at top right, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.1) 0%, transparent 28%),
    linear-gradient(180deg, hsla(0, 0%, 100%, 0.03) 0%, hsla(0, 0%, 100%, 0.015) 100%);
  --theme-home-empty-shadow: 0 30px 90px hsla(0, 0%, 0%, 0.22);
  --theme-home-placeholder-surface: linear-gradient(180deg, rgba(6, 8, 14, 0.18) 0%, rgba(6, 8, 14, 0.9) 100%);
  --theme-home-placeholder-overlay: linear-gradient(180deg, transparent 0%, rgba(6, 8, 14, 0.24) 40%, rgba(6, 8, 14, 0.92) 100%);
  --theme-home-placeholder-chip-border: hsla(0, 0%, 100%, 0.12);
  --theme-home-placeholder-chip-bg: hsla(0, 0%, 100%, 0.06);
  --theme-home-placeholder-chip-text: var(--light-gray-1);
  --theme-home-placeholder-shadow: 0 24px 60px hsla(0, 0%, 0%, 0.18);
  --theme-home-newsletter-bg:
    radial-gradient(circle at 0% 0%, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.14) 0%, transparent 28%),
    linear-gradient(135deg, hsl(260, 28%, 10%) 0%, hsl(278, 18%, 8%) 100%);
  --theme-home-newsletter-shadow: 0 30px 80px hsla(0, 0%, 0%, 0.24);
  --theme-home-newsletter-input-bg: hsla(0, 0%, 100%, 0.06);
  --theme-home-broadcast-bg:
    radial-gradient(circle at top right, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.12) 0%, transparent 28%),
    linear-gradient(180deg, hsla(0, 0%, 100%, 0.03) 0%, hsla(0, 0%, 100%, 0.015) 100%);
  --theme-home-broadcast-shadow: 0 30px 90px hsla(0, 0%, 0%, 0.22);
  --theme-home-live-stage-ring: inset 0 1px 0 hsla(0, 0%, 100%, 0.05);
  --theme-home-section-highlight-bg:
    radial-gradient(circle at 80% 0%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.08) 0%, transparent 24%),
    linear-gradient(180deg, hsla(0, 0%, 100%, 0.02) 0%, transparent 32%);

  --shadow-1: 0px 2px 8px 0px hsla(0,0%,0%,0.2), inset 0px 2px 8px 0px hsla(0,0%,0%,0.4);
  --shadow-2: 0px 5px 10px 1px hsla(0,0%,0%,0.4);
  --shadow-3: 0px 5px 10px 1px hsla(219,98%,17%,0.2);
  --shadow-4: 0px 5px 10px 1px hsla(0,0%,0%,0.15);

  --transition: 0.25s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

html {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
  --theme-accent-h: 196;
  --theme-accent-s: 100%;
  --theme-accent-l: 48%;
  --theme-secondary-h: 258;
  --theme-secondary-s: 92%;
  --theme-secondary-l: 58%;
  --raisin-black-1: hsl(214, 28%, 92%);
  --raisin-black-2: hsl(0, 0%, 100%);
  --raisin-black-3: hsl(210, 33%, 98%);
  --raisin-black-4: hsl(210, 34%, 95%);
  --english-violet: hsl(216, 26%, 80%);
  --eerie-black-1: hsl(215, 46%, 11%);
  --eerie-black-2: hsl(214, 30%, 92%);
  --roman-silver: hsl(216, 16%, 36%);
  --quick-silver: hsl(216, 17%, 30%);
  --light-gray-1: hsl(216, 38%, 15%);
  --light-gray-2: hsl(216, 22%, 24%);
  --xiketic_90: hsla(0, 0%, 100%, 0.92);
  --platinum: hsl(210, 30%, 90%);
  --dim-gray: hsl(216, 10%, 42%);
  --white_15: hsla(214, 34%, 18%, 0.12);
  --white_10: hsla(214, 34%, 18%, 0.08);
  --xiketic: hsl(214, 34%, 18%);
  --silver: hsl(216, 18%, 40%);
  --white: hsl(215, 46%, 11%);
  --jet: hsl(216, 16%, 28%);
  --theme-surface-overlay: hsla(214, 40%, 16%, 0.05);
  --theme-surface-soft: hsla(214, 40%, 16%, 0.07);
  --theme-surface-soft-alt: hsla(214, 40%, 16%, 0.05);
  --theme-surface-strong: hsla(214, 40%, 16%, 0.11);
  --theme-border-subtle: hsla(214, 34%, 18%, 0.14);
  --theme-border-regular: hsla(214, 34%, 18%, 0.22);
  --theme-text-muted: hsl(216, 18%, 34%);
  --theme-text-subtle: hsl(216, 16%, 42%);
  --theme-border-emphasis: hsla(214, 34%, 18%, 0.28);
  --theme-accent-text: hsl(var(--theme-accent-h), 100%, 31%);
  --theme-accent-glow: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.24);
  --theme-accent-border: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.34);
  --theme-accent-border-strong: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.5);
  --theme-accent-focus: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.62);
  --theme-accent-ring: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.22);
  --theme-secondary-glow: hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.22);
  --theme-secondary-border: hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.42);
  --gradient-bg:
    radial-gradient(circle at 12% 10%, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.10) 0%, transparent 25%),
    radial-gradient(circle at 88% 8%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.14) 0%, transparent 27%),
    linear-gradient(145deg, hsl(204, 46%, 99%) 0%, hsl(206, 48%, 97%) 48%, hsl(213, 34%, 94%) 100%);
  --gradient-card:
    linear-gradient(135deg, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.10) 0%, transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(241, 247, 253, 0.98) 100%);
  --gradient-hero:
    radial-gradient(circle at 18% 20%, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.12) 0%, transparent 28%),
    radial-gradient(circle at 80% 16%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.12) 0%, transparent 26%),
    linear-gradient(135deg, hsl(210, 48%, 99%) 0%, hsl(212, 40%, 97%) 54%, hsl(210, 38%, 95%) 100%);
  --theme-page-bg: hsl(207, 44%, 97%);
  --theme-header-top-bg: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.98));
  --theme-header-nav-bg: rgba(255, 255, 255, 0.96);
  --theme-header-outline: hsla(214, 28%, 22%, 0.08);
  --theme-navbar-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(244, 248, 252, 0.98) 100%);
  --theme-floating-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(244, 248, 252, 0.98) 100%);
  --theme-search-bg: rgba(244, 248, 252, 0.96);
  --theme-section-wrapper-bg: linear-gradient(180deg, hsl(210, 42%, 99%) 0%, hsl(210, 30%, 96%) 100%);
  --theme-footer-bottom-bg: hsl(210, 32%, 93%);
  --theme-card-content-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(247, 250, 253, 0.92) 18%, rgba(243, 246, 250, 0.98) 100%);
  --theme-news-overview-metric-bg: linear-gradient(180deg, rgba(20, 34, 52, 0.04), rgba(20, 34, 52, 0.02));
  --theme-news-filter-bg: rgba(20, 34, 52, 0.04);
  --theme-news-filter-hover-bg: rgba(0, 124, 158, 0.10);
  --theme-news-side-panel-bg: rgba(255, 255, 255, 0.78);
  --theme-news-badge-bg: rgba(255, 255, 255, 0.88);
  --theme-news-badge-border: rgba(20, 34, 52, 0.10);
  --theme-news-pill-text: hsl(var(--theme-accent-h), 72%, 28%);
  --theme-news-card-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 252, 0.92) 100%);
  --theme-news-card-shadow: 0 18px 42px rgba(20, 34, 52, 0.13), 0 2px 0 rgba(255, 255, 255, 0.85) inset;
  --theme-news-card-muted-shadow: 0 14px 34px rgba(20, 34, 52, 0.11);
  --theme-news-card-hover-shadow: 0 24px 54px rgba(20, 34, 52, 0.18), 0 0 0 1px var(--theme-accent-border);
  --theme-news-link-card-bg: rgba(255, 255, 255, 0.82);
  --theme-modal-backdrop: rgba(18, 30, 48, 0.18);
  --theme-modal-border: var(--theme-border-regular);
  --theme-modal-surface:
    radial-gradient(circle at top right, rgba(0, 124, 158, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.99));
  --theme-modal-close-bg: rgba(255, 255, 255, 0.86);
  --theme-modal-shadow: 0 24px 60px rgba(20, 34, 52, 0.14);
  --theme-modal-scroll-track: rgba(20, 34, 52, 0.08);
  --theme-modal-scroll-thumb: linear-gradient(180deg, rgba(0, 124, 158, 0.88), rgba(0, 124, 158, 0.62));
  --theme-modal-scroll-thumb-border: rgba(255, 255, 255, 0.72);
  --theme-toast-bg: rgba(255, 255, 255, 0.96);
  --theme-toast-shadow: 0 14px 38px rgba(20, 34, 52, 0.12);
  --theme-dialog-backdrop: rgba(18, 30, 48, 0.28);
  --theme-dialog-panel:
    radial-gradient(circle at top right, rgba(0, 124, 158, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.99));
  --theme-admin-flash-surface: rgba(255, 255, 255, 0.94);
  --theme-home-page-bg:
    radial-gradient(circle at 12% 12%, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.10) 0%, transparent 24%),
    radial-gradient(circle at 88% 10%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.12) 0%, transparent 24%),
    linear-gradient(180deg, hsl(210, 48%, 99%) 0%, hsl(210, 38%, 97%) 28%, hsl(210, 32%, 95%) 100%);
  --theme-home-section-bg:
    radial-gradient(circle at 18% 8%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.08) 0%, transparent 24%),
    linear-gradient(180deg, hsl(204, 48%, 99%) 0%, hsl(207, 42%, 97%) 52%, hsl(212, 32%, 95%) 100%);
  --theme-home-stat-bg:
    linear-gradient(180deg, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.08) 0%, transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 248, 252, 0.95) 100%);
  --theme-home-emblem-bg:
    radial-gradient(circle at 50% 50%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.08) 0%, transparent 42%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 253, 0.98) 52%, rgba(239, 245, 250, 0.98) 100%);
  --theme-home-command-bg:
    linear-gradient(180deg, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 252, 0.96) 100%);
  --theme-home-brand-badge-bg:
    linear-gradient(135deg, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.08) 0%, transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 248, 252, 0.92) 100%);
  --theme-home-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 252, 0.96) 100%);
  --theme-home-card-shadow: 0 24px 52px rgba(20, 34, 52, 0.14), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  --theme-home-card-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(247, 250, 253, 0.92) 18%, rgba(243, 246, 250, 0.98) 100%);
  --theme-home-card-art-label: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.44);
  --theme-home-card-art-label-shadow: 0 0 20px hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.16);
  --theme-home-stat-shadow: 0 20px 46px rgba(20, 34, 52, 0.13), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  --theme-home-emblem-frame: hsla(214, 34%, 18%, 0.06);
  --theme-home-emblem-shadow: 0 24px 52px rgba(20, 34, 52, 0.12);
  --theme-home-command-shadow: 0 20px 46px rgba(20, 34, 52, 0.13), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  --theme-home-live-placeholder-bg:
    radial-gradient(circle at top, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.10) 0%, transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 248, 252, 0.98) 100%);
  --theme-home-stream-queue-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, transparent 100%),
    rgba(244, 248, 252, 0.92);
  --theme-home-featured-link-bg:
    linear-gradient(135deg, rgba(20, 34, 52, 0.04) 0%, transparent 48%),
    rgba(255, 255, 255, 0.88);
  --theme-home-featured-link-active-bg:
    linear-gradient(135deg, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.10) 0%, transparent 44%),
    rgba(255, 255, 255, 0.96);
  --theme-home-featured-overlay: linear-gradient(180deg, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.10) 0%, rgba(247, 250, 253, 0.94) 100%);
  --theme-home-tournament-surface:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(245, 250, 255, 0.98) 100%);
  --theme-home-tournament-shadow: 0 24px 54px rgba(18, 46, 74, 0.13), 0 1px 0 rgba(255, 255, 255, 0.96) inset;
  --theme-home-tournament-art-overlay:
    radial-gradient(circle at 10% 0%, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.12) 0%, transparent 26%),
    radial-gradient(circle at 100% 0%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.18) 0%, transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(225, 243, 255, 0.46) 100%);
  --theme-home-tournament-overlay:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(246, 251, 255, 0.58) 34%, rgba(255, 255, 255, 0.94) 100%);
  --theme-home-tournament-stat-border: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.28);
  --theme-home-tournament-stat-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(225, 241, 253, 0.86) 100%);
  --theme-home-empty-bg:
    radial-gradient(circle at 0% 0%, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.16) 0%, transparent 34%),
    radial-gradient(circle at 100% 100%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.16) 0%, transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 252, 0.95) 100%);
  --theme-home-empty-shadow: 0 24px 56px rgba(20, 34, 52, 0.10);
  --theme-home-placeholder-surface:
    radial-gradient(circle at top left, hsla(var(--card-hue, var(--theme-card-home-placeholder-default-hue)), 78%, 62%, 0.22) 0%, transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.90) 0%, rgba(244, 248, 252, 0.92) 100%);
  --theme-home-placeholder-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(247, 250, 253, 0.12) 34%, rgba(243, 246, 250, 0.70) 100%);
  --theme-home-placeholder-chip-border: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.24);
  --theme-home-placeholder-chip-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(241, 247, 255, 0.78) 100%);
  --theme-home-placeholder-chip-text: hsl(var(--theme-accent-h), 72%, 28%);
  --theme-home-placeholder-shadow: 0 18px 42px rgba(20, 34, 52, 0.10);
  --theme-home-newsletter-bg:
    radial-gradient(circle at 0% 0%, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.10) 0%, transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 252, 0.96) 100%);
  --theme-home-newsletter-shadow: 0 24px 56px rgba(20, 34, 52, 0.12);
  --theme-home-newsletter-input-bg: hsla(214, 34%, 18%, 0.06);
  --theme-home-broadcast-shadow: 0 24px 56px rgba(20, 34, 52, 0.10);
  --theme-home-live-stage-ring: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  --theme-home-section-highlight-bg:
    radial-gradient(circle at 80% 0%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.10) 0%, transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 32%);
  --shadow-1: 0 20px 52px rgba(20, 34, 52, 0.14), 0 2px 0 rgba(255, 255, 255, 0.92) inset;
  --shadow-2: 0 18px 44px rgba(20, 34, 52, 0.16), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  --shadow-3: 0 16px 38px rgba(0, 140, 191, 0.16), 0 0 0 1px var(--theme-accent-border);
  --shadow-4: 0 14px 34px rgba(20, 34, 52, 0.13);
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

li { list-style: none; }

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

a, img, span, time, input, button, ion-icon { display: block; }

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

input, button, textarea { background: none; border: none; font: inherit; }

input { width: 100%; }

textarea {
  width: 100%;
  max-width: 100%;
}

button { cursor: pointer; }

[hidden] { display: none !important; }

ion-icon { pointer-events: none; }

.ion-icon-fallback {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

address { font-style: normal; }

html { font-family: var(--ff-poppins); font-size: 10px; scroll-behavior: smooth; }

body {
  background: var(--gradient-bg);
  color: var(--light-gray-1);
  font-size: 1.6rem;
  line-height: 1.5;
  overflow-x: hidden;
}

body.news-modal-open { overflow: hidden; }

:focus-visible { outline-offset: 4px; }

/*-----------------------------------*\
  #REUSED STYLES
\*-----------------------------------*/

.container {
  width: min(100%, var(--container-max));
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

.section {
  padding-block: var(--section-padding);
  position: relative;
}

/*
  Page rhythm: list pages and nested detail pages share the same compact gap
  between the hero and each following content section. Section bottom padding
  still carries the page's vertical breathing room.
*/
.page-hero ~ .section {
  padding-block-start: clamp(var(--section-rhythm), 3vw, var(--section-rhythm-lg));
}

html[data-theme="light"] .section:not(.page-hero) {
  background:
    linear-gradient(180deg, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.025), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(235, 243, 251, 0.22));
  box-shadow: inset 0 1px 0 rgba(20, 34, 52, 0.07);
}

.h1, .h2, .h3 {
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-weight: var(--fw-800);
  line-height: 1;
}

.h1 { font-size: var(--fs-2); letter-spacing: clamp(-1px, -0.2vw, -3px); }
.h2 { font-size: var(--fs-3); }
.h3 { font-size: var(--fs-6); text-transform: uppercase; }

html[data-theme="light"] :is(.h1, .h2, .h3, .section-title, .section-title-left) {
  color: hsl(215, 54%, 10%);
  font-weight: var(--fw-800);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

:is(.h1, .h2, .h3, .card-price) .span { display: inline-block; color: var(--marigold); }

.btn {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  color: var(--eerie-black-1);
  font-size: var(--fs-8);
  text-transform: uppercase;
  font-weight: var(--fw-700);
  min-height: clamp(48px, 7vw, 55px);
  padding-inline: clamp(20px, 4vw, 35px);
  width: fit-content;
  max-width: 100%;
  text-align: center;
}

html[data-theme="light"] .btn {
  filter: drop-shadow(0 14px 22px rgba(0, 144, 199, 0.18));
}

.skewBg { position: relative; z-index: 1; }

.skewBg::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: skewX(var(--skewX, -16deg));
  background-color: var(--bg, var(--marigold));
  z-index: -1;
  box-shadow: 0 0 0 1px var(--theme-accent-border), 0 12px 26px var(--theme-accent-ring);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: calc(100% + 8px);
  width: 5px;
  transform: skewX(-16deg) translateX(var(--translateX, 0));
  background-color: var(--marigold);
  transition: var(--transition);
  box-shadow: 0 0 18px var(--theme-accent-glow);
}

.btn:is(:hover, :focus)::after { --translateX: -13px; }

.has-scrollbar {
  display: flex;
  gap: clamp(16px, 3vw, 30px);
  overflow-x: auto;
  padding-block-end: 30px;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: var(--container-gutter);
}

.has-scrollbar::-webkit-scrollbar { height: 10px; }
.has-scrollbar::-webkit-scrollbar-track { outline: 3px solid var(--marigold); }
.has-scrollbar::-webkit-scrollbar-thumb { background-color: var(--marigold); }
.has-scrollbar::-webkit-scrollbar-button { width: calc(25% - 40px); }

.section-subtitle, .section-title { position: relative; text-align: center; text-transform: uppercase; }

.section-subtitle {
  color: var(--silver);
  font-size: var(--fs-9);
  font-weight: var(--fw-700);
  margin-block-end: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: var(--theme-energy-gradient);
}

.scrollbar-item { min-width: min(100%, 320px); scroll-snap-align: start; }

.card-banner { background-color: var(--eerie-black-2); }

.img-holder { aspect-ratio: var(--width) / var(--height); }

.img-cover { width: 100%; height: 100%; object-fit: cover; }

.card-badge {
  min-height: 30px;
  color: var(--eerie-black-1);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  max-width: max-content;
  display: grid;
  align-items: center;
  padding-inline: 20px;
}

.card-badge::before {
  --skewX: -10deg;
  background: var(--theme-energy-fill);
}

.w-100 { width: 100%; }

.section-text {
  color: var(--color, var(--light-gray-1));
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  max-width: 65ch;
  margin-inline: auto;
  text-align: center;
  line-height: 1.8;
}

html[data-theme="light"] .section-text {
  color: hsl(216, 28%, 23%);
}

.btn-surface {
  --bg: var(--raisin-black-2);
  color: var(--white);
}

.btn-surface::after {
  display: none;
}

.btn-compact {
  min-height: auto;
  padding: 6px 14px;
  font-size: var(--fs-9);
}

.cluster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cluster-actions--aligned-center {
  align-items: center;
}

.cluster-actions--aligned-end {
  align-items: flex-end;
}

.link-back {
  font-size: var(--fs-8);
}

.required-mark {
  color: var(--theme-accent);
}

.optional-note {
  opacity: 0.5;
  font-weight: 400;
}

.field-help {
  opacity: 0.5;
  font-weight: 400;
  font-size: 0.85em;
}

.section-text-note {
  font-size: var(--fs-8);
  margin-top: 6px;
  max-width: 68ch;
}

.section-text-meta {
  font-size: var(--fs-9);
  margin-top: 4px;
}

.section-text-soft {
  opacity: 0.7;
}

.section-text-muted {
  opacity: 0.6;
}

.opacity-muted {
  opacity: 0.6;
}

.inline-button-link {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-decoration: underline;
}

.notice-warning {
  color: var(--theme-accent);
  font-size: var(--fs-8);
  margin-top: 10px;
}

.feedback-text {
  margin-top: 16px;
  font-size: var(--fs-8);
}

.text-disabled-field {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-shell--flush {
  padding: 0;
}

.auth-card--narrow {
  max-width: 520px;
}

.section-block-lg {
  margin-bottom: var(--section-rhythm-lg);
}

.section-block-md {
  margin-bottom: var(--section-rhythm);
}

.section-block-xl {
  margin-bottom: calc(var(--section-rhythm-lg) + var(--section-rhythm));
}

.section-block-top-lg {
  margin-top: var(--section-rhythm-lg);
}

.social-link {
  display: grid;
  place-content: center;
  background-color: var(--jet);
  transition: var(--transition);
}

.social-link ion-icon { color: currentColor; }

.social-link--twitter { color: var(--social-twitter); }
.social-link--discord { color: var(--social-discord); }
.social-link--twitch { color: var(--social-twitch); }
.social-link--youtube { color: var(--social-youtube); }
.social-link--instagram { color: var(--social-instagram); }
.social-link--tiktok { color: var(--social-tiktok); }

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header-top, .cart-btn, .header-bottom::before, .navbar-link::before { display: none; }

.header { position: relative; min-height: 1px; }

.header-bottom {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  width: 100%;
  background-color: var(--theme-header-nav-bg);
  padding-block: 12px;
  z-index: 4;
}

.header-bottom.active {
  position: fixed;
  top: 0;
  animation: slideIn 0.5s var(--cubic-out) forwards;
}

@keyframes slideIn {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}

.header-bottom .container {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 0.28em, 14px);
  --logo-stroke-color: var(--marigold);
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: clamp(2.8rem, 7.8vw, 3.9rem);
  font-weight: var(--fw-800);
  line-height: 1;
  min-width: 0;
  white-space: nowrap;
  -webkit-text-stroke: 0.5px var(--logo-stroke-color);
  text-shadow: none;
}

.logo-mark {
  display: block;
  width: auto;
  height: clamp(3.5rem, 8.6vw, 6rem);
  flex: 0 0 auto;
  object-fit: contain;
  transform: translateY(-0.18em);
}

.logo .span {
  color: var(--white);
  display: inline-block;
  line-height: 0.94;
  --logo-stroke-color: var(--theme-brand-stroke);
  -webkit-text-stroke: 0.8px var(--logo-stroke-color);
  text-shadow: none;
}

.mobile-site-status-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  max-width: min(42vw, 190px);
  padding: 4px 8px;
  border: 1px solid var(--theme-accent-border);
  color: var(--marigold);
  font-family: var(--ff-oxanium);
  font-size: 1.05rem;
  font-weight: var(--fw-800);
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  flex: 0 1 auto;
}

.header-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 12px;
  margin-left: auto;
  min-width: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.theme-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background-color: transparent;
  border: none;
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-9);
  font-weight: var(--fw-700);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
  transition: var(--transition);
}

.theme-toggle__content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.theme-toggle__icon-wrap {
  position: relative;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.theme-toggle__icon {
  position: absolute;
  inset: 0;
  font-size: 1.8rem;
  transition: opacity var(--transition), transform var(--transition);
}

.theme-toggle__icon--moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.theme-toggle__icon--sun {
  opacity: 0;
  transform: scale(0.7) rotate(-18deg);
}

html[data-theme="light"] .theme-toggle__icon--moon {
  opacity: 0;
  transform: scale(0.7) rotate(18deg);
}

html[data-theme="light"] .theme-toggle__icon--sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.theme-toggle__label {
  display: block;
  color: var(--theme-text-subtle);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  letter-spacing: 0.08em;
  transition: var(--transition);
}

.theme-toggle:is(:hover, :focus) {
  background-color: var(--white_10);
  color: var(--marigold);
}

.theme-toggle:is(:hover, :focus) .theme-toggle__label {
  color: var(--marigold);
}

.nav-toggle-btn {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 13px;
  position: relative;
  background-color: transparent;
  border: 0;
  color: var(--marigold);
  cursor: pointer;
  flex-shrink: 0;
  font-size: 2rem;
  transition: var(--transition);
}

.nav-toggle-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: skewX(-16deg);
  border: 1px solid var(--white_15);
  transition: var(--transition);
  pointer-events: none;
}

.nav-toggle-btn ion-icon,
.nav-toggle-btn .nav-menu-icon {
  color: var(--marigold);
  --ionicon-stroke-width: 80px;
}

.nav-menu-icon,
.nav-chevron-icon {
  width: 1em;
  height: 1em;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle-btn:is(:hover, :focus),
.nav-toggle-btn.active {
  color: var(--white);
}

.nav-toggle-btn:is(:hover, :focus)::before,
.nav-toggle-btn.active::before {
  border-color: var(--marigold);
}

.nav-toggle-btn.active .menu, .nav-toggle-btn .close { display: none; }
.nav-toggle-btn .menu, .nav-toggle-btn.active .close { display: block; }

.navbar {
  background: var(--theme-navbar-bg);
  color: var(--white);
  position: absolute;
  top: 100%; right: 0;
  width: 100%; max-width: 350px;
  visibility: hidden;
  max-height: 0;
  transition: 0.25s var(--cubic-out);
  overflow: hidden;
}

.navbar.active { visibility: visible; max-height: 500px; transition-duration: 0.5s; }

.navbar-list {
  display: flex;
  flex-direction: column;
  padding-block: 10px 14px;
}

.navbar-item:not(:last-child) { border-block-end: 1px solid var(--white_15); }

.navbar-item--account:not(:last-child) { border-block-end: none; }

.navbar-divider {
  height: 1px;
  margin: 10px 25px;
  background-color: var(--white_15);
}

.navbar-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 25px;
  transition: var(--transition);
}

.navbar-link:is(:hover, :focus) { background-color: var(--white_10); }

.navbar-link.active-link { color: var(--marigold); }

.navbar-item--features { position: relative; }

.navbar-features {
  width: 100%;
}

.navbar-features-toggle {
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  list-style: none;
}

.navbar-features-toggle::-webkit-details-marker { display: none; }

.navbar-features-toggle ion-icon,
.navbar-features-toggle .nav-chevron-icon {
  color: currentColor;
  font-size: 1.4rem;
  --ionicon-stroke-width: 80px;
  transition: var(--transition);
}

.navbar-features[open] .navbar-features-toggle ion-icon,
.navbar-features[open] .navbar-features-toggle .nav-chevron-icon {
  transform: rotate(180deg);
}

.navbar-features-panel {
  display: grid;
  background: var(--black_20);
  border-block-start: 1px solid var(--white_10);
}

.navbar-features-link {
  display: block;
  padding: 12px 25px 12px 40px;
  color: var(--light-gray-1);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-9);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  transition: var(--transition);
}

.navbar-features-link + .navbar-features-link {
  border-top: 1px solid var(--white_10);
}

.navbar-features-link:is(:hover, :focus),
.navbar-features-link.active-link {
  background-color: var(--white_10);
  color: var(--marigold);
}

html[data-theme="light"] .navbar-features-link {
  color: var(--theme-text-muted);
}

html[data-theme="light"] .navbar-features-link:is(:hover, :focus),
html[data-theme="light"] .navbar-features-link.active-link {
  background-color: var(--theme-news-filter-hover-bg);
  color: var(--theme-accent-text);
}

.navbar-search-trigger,
.navbar-user-trigger {
  display: grid;
  place-items: center;
  width: max-content;
  margin: 0;
  padding: 13px;
  position: relative;
  background-color: transparent;
  cursor: pointer;
  color: var(--marigold);
  flex-shrink: 0;
  transition: var(--transition);
}

.navbar-search-trigger::before,
.navbar-user-trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: skewX(-16deg);
  border: 1px solid var(--white_15);
  transition: var(--transition);
  pointer-events: none;
}

.navbar-search-trigger ion-icon,
.navbar-user-trigger ion-icon,
.navbar-search-trigger .search-icon,
.navbar-user-trigger .user-trigger-icon,
.navbar-user-trigger .user-trigger-chevron {
  color: var(--marigold);
  --ionicon-stroke-width: 80px;
}

.navbar-user-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 54px;
}

.search-icon {
  width: 1em;
  height: 1em;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.user-trigger-icon,
.user-trigger-chevron {
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.user-trigger-icon {
  width: 1.1em;
  height: 1.1em;
}

.user-trigger-chevron {
  width: 0.78em;
  height: 0.78em;
  transition: transform var(--transition);
}

.user-menu.active .user-trigger-chevron {
  transform: rotate(180deg);
}

.navbar-search-trigger:is(:hover, :focus),
.navbar-user-trigger:is(:hover, :focus),
.user-menu.active .navbar-user-trigger {
  color: var(--white);
}

.navbar-search-trigger:is(:hover, :focus)::before,
.navbar-user-trigger:is(:hover, :focus)::before,
.user-menu.active .navbar-user-trigger::before {
  border-color: var(--marigold);
}

.user-menu {
  position: relative;
  width: max-content;
  flex-shrink: 0;
}

.user-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  margin: 0;
  min-width: 220px;
  max-width: min(calc(100vw - (var(--container-gutter) * 2)), 320px);
  padding-block: 10px;
  background: var(--theme-floating-bg);
  border: 1px solid var(--theme-border-regular);
  border-radius: 8px;
  box-shadow: var(--shadow-2);
  overflow: hidden;
  z-index: 4;
}

.user-menu-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 18px 12px;
  background: var(--theme-surface-soft);
  border-bottom: 1px solid var(--white_10);
  text-align: left;
}

.user-menu-profile-label {
  width: 100%;
  color: var(--quick-silver);
  font-size: var(--fs-10);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.user-menu-profile-identity {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  max-width: 100%;
}

.user-menu-profile-name {
  min-width: 0;
  flex: 0 1 auto;
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-7);
  font-weight: var(--fw-700);
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-profile-separator {
  flex-shrink: 0;
  color: var(--quick-silver);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-10);
  font-weight: var(--fw-700);
  line-height: 1;
  white-space: pre;
}

.user-menu-profile-role {
  flex-shrink: 0;
  color: var(--marigold);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-10);
  font-weight: var(--fw-700);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.user-menu-entry {
  display: block;
  width: 100%;
  padding: 12px 18px;
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-9);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  white-space: nowrap;
}

.user-menu-entry + .user-menu-entry {
  border-top: 1px solid var(--white_10);
}

.user-menu-entry[href]:is(:hover, :focus) {
  background-color: var(--white_10);
  color: var(--marigold);
}

.user-menu-entry.active-link {
  background-color: var(--white_10);
  color: var(--marigold);
}

.user-menu-entry--toggle {
  cursor: pointer;
}

.user-menu-entry--toggle.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.user-menu-entry--toggle.theme-toggle .theme-toggle__content {
  flex: 1 1 auto;
}

.user-menu-entry--toggle.theme-toggle .theme-toggle__label {
  flex-shrink: 0;
  margin-inline-start: 16px;
  text-align: right;
  white-space: nowrap;
}

.user-menu-entry--placeholder {
  color: var(--quick-silver);
}

.navbar-link--utility {
  color: var(--light-gray-1);
  font-size: var(--fs-9);
}

.navbar-link--cta {
  justify-content: center;
  margin: 6px 25px 0;
  color: var(--eerie-black-1);
  font-weight: var(--fw-700);
}

.navbar-item--push .navbar-link { margin-top: 4px; }

.navbar-link--cta::before {
  display: block;
  opacity: 1;
  background: var(--theme-energy-fill);
}

.navbar-link--cta:is(:hover, :focus),
.navbar-link--cta.active-link {
  background-color: transparent;
  color: var(--eerie-black-1);
}

/*-----------------------------------*\
  #SEARCH BOX
\*-----------------------------------*/

.search-container {
  background-color: var(--theme-search-bg);
  position: fixed; inset: 0;
  display: flex; justify-content: center; align-items: center;
  padding-inline: clamp(16px, 5vw, 40px);
  z-index: 6;
  visibility: hidden; opacity: 0;
  transition: var(--transition);
}

.search-container.active { visibility: visible; opacity: 1; }

.search-container .input-wrapper { position: relative; max-width: 560px; width: 100%; }

.search-container .search-field {
  color: var(--white);
  font-size: 2rem;
  padding: 20px; padding-inline-end: 60px;
  border-block-end: 3px solid var(--white_10);
  outline: none;
  transition: var(--transition);
}

.search-container .search-field:focus { border-color: var(--light-gray-2); }
.search-container .search-field::-webkit-search-cancel-button { display: none; }

.search-container .search-submit {
  position: absolute; top: 50%; right: 20px;
  transform: translateY(-50%);
  font-size: 25px; color: var(--marigold);
}

.search-container .search-close { position: fixed; inset: 0; cursor: default; z-index: -1; }

/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero-banner { display: none; }

.hero {
  --section-padding: 60px;
  margin-block-start: var(--header-offset);
  background: var(--gradient-hero);
  text-align: center;
  min-height: calc(100svh - var(--header-offset));
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Geometric decorative lines */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 110px,
      hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.025) 110px,
      hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.025) 111px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 80px,
      hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.03) 80px,
      hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.03) 81px
    );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--theme-energy-gradient);
}

.hero-subtitle {
  color: var(--theme-secondary);
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  text-shadow: 0 0 18px var(--theme-secondary-glow);
}

.hero-title { margin-block: 15px 12px; }

.hero-text { color: var(--light-gray-2); margin-block-end: 45px; }

/* Hero visual - CSS geometric emblem replacing banner image */
.hero-visual {
  display: none;
  justify-content: center;
  align-items: center;
}

.hero-emblem {
  width: min(100%, clamp(250px, 50vw, 360px));
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 42px);
  isolation: isolate;
}

.hero-emblem::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border: clamp(3px, 0.55vw, 4px) solid var(--theme-accent);
  border-radius: 12px;
  background:
    linear-gradient(180deg, hsla(0, 0%, 100%, 0.06) 0%, transparent 100%),
    linear-gradient(160deg, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.06) 0%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.02) 100%);
  transform: skewX(-8deg);
  box-shadow:
    0 0 28px hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.26),
    0 0 54px hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.18),
    inset 0 0 40px hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.06);
  pointer-events: none;
}

.home-hero-emblem-mark {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, clamp(240px, 42vw, 324px));
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter:
    drop-shadow(0 18px 26px hsla(0, 0%, 0%, 0.28))
    drop-shadow(0 0 18px hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.28))
    drop-shadow(0 0 34px hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.14));
}

.hero-stats {
  display: flex;
  gap: clamp(18px, 4vw, 40px);
  margin-block-start: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats .stat {
  flex: 1 1 120px;
  min-width: 120px;
}

.hero-stats .stat strong {
  display: block;
  font-family: var(--ff-oxanium);
  font-size: var(--fs-3);
  font-weight: var(--fw-800);
  color: var(--marigold);
  line-height: 1;
}

.hero-stats .stat span {
  font-size: var(--fs-10);
  color: var(--roman-silver);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: var(--fw-600);
}

/*-----------------------------------*\
  #BRAND / PARTNERS
\*-----------------------------------*/

.brand {
  --section-padding: 60px;
  background: var(--gradient-bg);
}

.brand .has-scrollbar { padding-block-end: 0; }
.brand .has-scrollbar::-webkit-scrollbar { display: none; }

.brand-item { min-width: calc(50% - 10px); scroll-snap-align: start; }

/* CSS brand badge replacing logo images */
.brand-badge {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-oxanium);
  font-size: var(--fs-8);
  font-weight: var(--fw-700);
  color: var(--roman-silver);
  border: 1px solid var(--white_15);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
  padding-inline: 20px;
}

.brand-badge:hover { color: var(--marigold); border-color: var(--marigold); }

/*-----------------------------------*\
  #SECTION WRAPPER / LATEST TOURNAMENTS
\*-----------------------------------*/

.section-wrapper {
  position: relative;
  background-color: var(--cultured-2);
  z-index: 1;
}

.section-wrapper::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 57%;
  background: var(--theme-section-wrapper-bg);
  z-index: -1;
}

.latest-game .section-title { margin-block-end: 80px; }

.home-latest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-feature-card-gap);
  max-width: calc((var(--home-feature-card-width) * 3) + (var(--home-feature-card-gap) * 2));
  margin: 0 auto;
  padding: 0;
}

.home-latest-grid__item {
  width: 100%;
  max-width: var(--home-feature-card-width);
  justify-self: center;
}

.home-team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-feature-card-gap);
  max-width: calc((var(--home-feature-card-width) * 3) + (var(--home-feature-card-gap) * 2));
  margin: 0 auto;
  padding: 0;
}

.home-team-grid__item {
  width: 100%;
  max-width: var(--home-feature-card-width);
  justify-self: center;
}

.latest-game-card {
  position: relative;
  height: 100%;
  --theme-card-rest-shadow: var(--shadow-2);
  box-shadow: var(--theme-card-rest-shadow);
}

.latest-game-card .card-art {
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 34px) clamp(24px, 4vw, 34px) 0;
}

.latest-game-card .card-art .art-label {
  text-align: right;
  line-height: 0.95;
}

/* CSS gradient card art replacing game images */
.card-art {
  width: 100%;
  aspect-ratio: 400 / 470;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-oxanium);
  font-size: var(--fs-1);
  font-weight: var(--fw-800);
  color: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.15);
  letter-spacing: -4px;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.card-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    var(
      --card-gradient,
      linear-gradient(
        135deg,
        hsl(var(--card-hue, var(--theme-card-art-default-hue)), var(--card-start-s, var(--theme-card-art-start-s)), var(--card-start-l, var(--theme-card-art-start-l))) 0%,
        hsl(var(--card-end-hue, var(--theme-card-art-end-h)), var(--card-end-s, var(--theme-card-art-end-s)), var(--card-end-l, var(--theme-card-art-end-l))) 100%
      )
    );
}

.card-art .art-label {
  position: relative;
  z-index: 1;
  font-size: var(--fs-3);
  font-weight: var(--fw-800);
  color: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.2);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Geometric corner accent */
.card-art::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, transparent 50%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.12) 50%);
}

.latest-game-card .card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background-color: var(--xiketic_90);
  padding: 35px 25px;
}

.latest-game-card .card-badge { position: absolute; bottom: 100%; left: 25px; }

.latest-game-card__eyebrow,
.latest-game-card__meta {
  margin: 0;
  color: var(--light-gray-2);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.latest-game-card__eyebrow {
  margin-block-end: 10px;
}

.latest-game-card__meta {
  margin-block-end: 12px;
}

.latest-game-card .card-title { margin-block-end: 12px; transition: var(--transition); }

.latest-game-card .card-title:is(:hover, :focus) { color: var(--marigold); }

.latest-game-card .card-price { color: var(--silver); font-size: var(--fs-10); font-weight: var(--fw-600); }

.latest-game-card .card-price .span { margin-inline-start: 5px; }

/*-----------------------------------*\
  #LIVE MATCH
\*-----------------------------------*/

.live-match { padding-block-start: 0; overflow-x: hidden; }

.live-match .section-title { margin-block-end: 90px; }

.live-match-banner {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-3);
  background: var(--theme-live-banner-bg);
  aspect-ratio: 800 / 470;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-match-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 60px, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.02) 60px, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.02) 61px),
    repeating-linear-gradient(0deg, transparent, transparent 60px, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.02) 60px, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.02) 61px);
  z-index: 1;
  pointer-events: none;
}

.live-match-stream,
.live-match-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.live-match-stream iframe { border: none; }

.live-match-player {
  position: relative;
  padding-block-start: var(--section-padding);
  display: grid;
  gap: 24px;
}

.live-match-player::after {
  content: "LIVE";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -40%);
  font-size: 15rem;
  font-weight: var(--fw-600);
  color: var(--theme-secondary-soft);
  z-index: -1;
}

.live-match-player .player {
  width: 100%;
  display: flex;
  justify-content: center;
}

.live-match-player .player-2 { margin-inline-start: auto; }
.live-match-detail { margin-block: 50px; }

.live-match-subtitle {
  background: var(--theme-energy-fill);
  color: var(--theme-live-subtitle-text);
  font-size: var(--fs-9);
  text-transform: uppercase;
  font-weight: var(--fw-700);
  letter-spacing: 2px;
  padding: 4px 20px;
  max-width: max-content;
  margin-inline: auto;
  margin-block-end: 30px;
}

.live-match-time {
  color: var(--xiketic);
  font-size: var(--fs-1);
  font-weight: var(--fw-700);
  max-width: max-content;
  margin-inline: auto;
  line-height: 1;
}

.live-match-copy {
  color: var(--roman-silver);
  text-align: center;
  margin-block: 14px 24px;
}

/* CSS player silhouette blocks replacing player images */
.player-block {
  width: min(100%, 220px);
  min-height: clamp(180px, 40vw, 220px);
  background: linear-gradient(160deg, var(--english-violet) 0%, var(--eerie-black-1) 100%);
  border: 2px solid var(--marigold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.player-block .team-tag {
  font-family: var(--ff-oxanium);
  font-size: var(--fs-8);
  font-weight: var(--fw-800);
  color: var(--marigold);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.player-block ion-icon { font-size: 4rem; color: var(--roman-silver); }

.featured-stream-list {
  display: grid;
  gap: 14px;
  margin-block-start: 34px;
}

.featured-stream-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--white_15);
  background: var(--theme-home-featured-link-bg);
  transition: var(--transition);
}

.featured-stream-link:hover,
.featured-stream-link.is-active {
  border-color: var(--theme-secondary);
  background: var(--theme-home-featured-link-active-bg);
  box-shadow: 0 0 0 1px var(--theme-secondary-border), 0 0 24px var(--theme-secondary-glow);
  transform: translateY(-2px);
}

.featured-stream-link__title {
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-weight: var(--fw-700);
}

.featured-stream-link__meta {
  color: var(--roman-silver);
  font-size: var(--fs-10);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/*-----------------------------------*\
  #FEATURED TOURNAMENTS
\*-----------------------------------*/

.featured-game { background-color: var(--cultured-2); }

.featured-game .section-title { color: var(--xiketic); margin-block-end: 90px; }

.featured-game .has-scrollbar { gap: 0; }

.featured-game-card { position: relative; }

.featured-game-card :is(.card-content, .card-content-overlay) { position: absolute; }

.featured-game-card .card-content {
  bottom: 0; left: 0; right: 0;
  padding: 30px 35px;
  transition: var(--transition);
}

.featured-game-card .card-content-overlay {
  inset: 0;
  background-color: var(--marigold_75);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
}

.featured-game-card .card-title { margin-block-end: 5px; }

.featured-game-card .card-meta {
  color: var(--white);
  font-size: var(--fs-11);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.featured-game-card .card-content .card-meta { color: var(--platinum); }
.featured-game-card .card-content ion-icon { color: var(--marigold); font-size: 14px; }
.featured-game-card .card-icon { margin-block-end: 20px; }
.featured-game-card .card-content-overlay .card-title { color: var(--xiketic); }
.featured-game-card .card-content-overlay .span { color: var(--white); }

.featured-game-card:is(:hover, :focus-within) .card-content { opacity: 0; }
.featured-game-card:is(:hover, :focus-within) .card-content-overlay { opacity: 1; }

/* Tall card art for featured section */
.card-art-tall {
  width: 100%;
  aspect-ratio: 450 / 600;
  position: relative;
  overflow: hidden;
}

.card-art-tall::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    var(
      --card-gradient,
      linear-gradient(
        160deg,
        hsl(var(--card-hue, var(--theme-card-art-tall-default-hue)), var(--card-start-s, var(--theme-card-art-tall-start-s)), var(--card-start-l, var(--theme-card-art-tall-start-l))) 0%,
        hsl(var(--card-end-hue, var(--theme-card-art-tall-end-h)), var(--card-end-s, var(--theme-card-art-tall-end-s)), var(--card-end-l, var(--theme-card-art-tall-end-l))) 100%
      )
    );
}

.card-art-tall::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-oxanium);
  font-size: var(--fs-2);
  font-weight: var(--fw-800);
  color: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.1);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.card-icon-shape {
  width: 36px;
  height: 36px;
  background: var(--marigold);
  transform: rotate(45deg);
  margin-block-end: 20px;
  flex-shrink: 0;
}

/*-----------------------------------*\
  #TEAMS (shop layout)
\*-----------------------------------*/

.shop {
  background: var(--theme-shop-section-bg);
  position: relative;
}

.shop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 100px,
      hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.02) 100px,
      hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.02) 101px
    );
  pointer-events: none;
}

.shop .section-text { margin-block: 50px 60px; }

.shop .has-scrollbar {
  margin-inline: -15px;
  padding-inline: 15px;
  scroll-padding-inline-start: 15px;
}

.shop-card {
  --theme-card-rest-shadow: var(--shadow-4);
  box-shadow: var(--theme-card-rest-shadow);
  height: 100%;
}

/* CSS card banner replacing shop images */
.shop-card-banner {
  aspect-ratio: 300 / 260;
  background:
    var(
      --card-gradient,
      linear-gradient(
        135deg,
        hsl(var(--card-hue, var(--theme-card-shop-default-hue)), var(--card-start-s, var(--theme-card-shop-start-s)), var(--card-start-l, var(--theme-card-shop-start-l))) 0%,
        hsl(var(--card-end-hue, var(--theme-card-shop-end-h)), var(--card-end-s, var(--theme-card-shop-end-s)), var(--card-end-l, var(--theme-card-shop-end-l))) 100%
      )
    );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.shop-card-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.05) 0%, transparent 60%);
}

.shop-card-banner ion-icon {
  font-size: 5rem;
  color: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.3);
  position: relative;
  z-index: 1;
}

.shop-card .card-content { position: relative; padding: 25px; padding-block-start: 40px; }

.shop-card .card-badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
}

.shop-card .h3 { font-size: var(--fs-7); }

.shop-card .card-title { transition: var(--transition); margin-block-end: 10px; }

.shop-card .card-title:is(:hover, :focus) { color: var(--marigold); }

.shop-card .card-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--marigold);
}

.shop-card .card-price { font-family: var(--ff-oxanium); font-weight: var(--fw-800); }

.shop-card .card-btn {
  color: inherit;
  font-size: 18px;
  padding: 7px;
  border: 1px solid var(--english-violet);
  border-radius: 4px;
  transition: var(--transition);
}

.shop-card .card-btn:is(:hover, :focus) {
  background-color: var(--marigold);
  color: var(--xiketic);
  border-color: var(--marigold);
}

/*-----------------------------------*\
  #BLOG / MATCH RESULTS
\*-----------------------------------*/

.blog { background-color: var(--cultured-2); }

.blog .section-title { color: var(--xiketic); }

.blog .section-text { color: var(--dim-gray); margin-block: 50px 60px; }

.blog-list { display: grid; gap: 50px; }

.blog-card .card-banner { margin-block-end: 30px; }

/* CSS blog banner replacing blog images */
.blog-card-banner {
  aspect-ratio: 400 / 290;
  background:
    var(
      --card-gradient,
      linear-gradient(
        135deg,
        hsl(var(--card-hue, var(--theme-card-blog-default-hue)), var(--card-start-s, var(--theme-card-blog-start-s)), var(--card-start-l, var(--theme-card-blog-start-l))) 0%,
        hsl(var(--card-end-hue, var(--theme-card-blog-end-h)), var(--card-end-s, var(--theme-card-blog-end-s)), var(--card-end-l, var(--theme-card-blog-end-l))) 100%
      )
    );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-card-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -30deg,
      transparent,
      transparent 20px,
      hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.03) 20px,
      hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.03) 21px
    );
}

.blog-card-banner ion-icon {
  font-size: 5rem;
  color: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.25);
  position: relative;
  z-index: 1;
}

.blog-card .card-meta-list { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.blog-card .card-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--quick-silver);
  font-size: var(--fs-11);
  font-weight: var(--fw-600);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card .card-meta-item ion-icon { --ionicon-stroke-width: 50px; color: var(--marigold); }
.blog-card .card-meta-item a.item-text { transition: var(--transition); }
.blog-card .card-meta-item a.item-text:is(:hover, :focus) { color: var(--marigold); }

.blog-card .card-title {
  color: var(--raisin-black-1);
  font-size: var(--fs-5);
  font-family: var(--ff-oxanium);
  font-weight: var(--fw-800);
  text-transform: uppercase;
  line-height: 1.2;
  margin-block: 10px 15px;
  transition: var(--transition);
}

.blog-card .card-title:is(:hover, :focus) { color: var(--marigold); }

.blog-card .card-text { color: var(--dim-gray); font-size: var(--fs-8); font-weight: var(--fw-500); line-height: 1.8; margin-block-end: 25px; }

.blog-card .card-link {
  color: var(--raisin-black-1);
  font-size: var(--fs-9);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.blog-card .card-link ion-icon, .blog-card .card-link:is(:hover, :focus) { color: var(--marigold); }

.blog-page {
  position: relative;
}

.blog-page.news-hub-page {
  padding-block-start: clamp(var(--section-rhythm), 3vw, var(--section-rhythm-lg));
}

.blog-editorial-shell {
  display: grid;
  gap: var(--section-rhythm);
  margin-block-end: var(--section-rhythm);
}

.blog-editorial-banner,
.blog-editor-panel {
  padding: clamp(22px, 4vw, 34px);
  border-radius: 18px;
  border: 1px solid var(--theme-border-regular);
  background:
    linear-gradient(180deg, var(--theme-surface-overlay), transparent 34%),
    var(--gradient-card);
  box-shadow: var(--shadow-1);
}

.news-command-shell {
  display: block;
  grid-column: 1 / -1;
  padding-top: 10px;
  border-top: 1px solid var(--theme-border-subtle);
}

.news-command-bar {
  display: grid;
  gap: 10px;
}

.news-command-bar .btn {
  width: 100%;
  max-width: none;
  min-height: 44px;
}

.news-inline-editor-shell {
  margin-block-start: -2px;
}

html.has-news-hub-js .news-inline-editor-shell {
  display: none;
}

.blog-editorial-banner {
  display: grid;
  gap: 22px;
}

.blog-editorial-copy {
  display: grid;
  gap: 10px;
}

.blog-editorial-stats {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}

.blog-editorial-stat {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--theme-border-subtle);
  background: var(--theme-surface-soft-alt);
}

.blog-editorial-stat span {
  display: block;
  color: var(--quick-silver);
  font-size: var(--fs-10);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-editorial-stat strong {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  font-weight: var(--fw-800);
  line-height: 1;
}

.blog-editor-panel {
  display: grid;
  gap: 22px;
}

.blog-editor-panel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.blog-editor-form {
  display: grid;
  gap: 20px;
}

.blog-editor-grid {
  display: grid;
  gap: 16px;
}

.blog-editor-grid--news {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.blog-field {
  display: grid;
  gap: 8px;
}

.blog-field--full {
  grid-column: 1 / -1;
}

.blog-field span {
  color: var(--quick-silver);
  font-size: var(--fs-10);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-field :is(input, textarea, select) {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--theme-border-regular);
  background: var(--theme-surface-soft);
  color: var(--white);
  padding: 14px 16px;
}

.blog-field :is(input, select) {
  min-height: 50px;
}

.blog-field textarea {
  min-height: 130px;
  resize: vertical;
}

.blog-field select {
  appearance: none;
}

.blog-field select option {
  background: var(--eerie-black-2);
  color: var(--white);
}

.blog-field :is(input, textarea, select):focus {
  outline: none;
  border-color: var(--theme-accent-focus);
}

.blog-field-error {
  color: var(--theme-form-error-text);
  font-size: var(--fs-11);
}

.blog-form-errors {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--theme-form-error-border);
  background: var(--theme-form-error-bg);
  color: var(--theme-form-error-contrast);
  font-size: var(--fs-10);
}

.blog-toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-editor-note {
  color: var(--light-gray-2);
  font-size: var(--fs-10);
  line-height: 1.7;
}

.blog-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--theme-border-regular);
  background: var(--theme-surface-soft-alt);
  color: var(--light-gray-1);
}

.blog-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--marigold);
}

.blog-feed-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-block-end: var(--section-rhythm);
}

.blog-list--page {
  gap: var(--section-rhythm);
}

.blog-card--page {
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--theme-border-regular);
  background: var(--theme-news-card-surface);
  --theme-card-rest-shadow: var(--theme-news-card-shadow);
  box-shadow: var(--theme-card-rest-shadow);
}

.blog-card--page .card-content {
  padding: 24px;
  background: var(--theme-card-content-overlay);
}

.blog-card--page .card-title,
.blog-card--page .card-link {
  color: var(--white);
}

.blog-card--page .card-text {
  color: var(--light-gray-2);
}

.blog-card--page .card-title:is(:hover, :focus),
.blog-card--page .card-link:is(:hover, :focus) {
  color: var(--marigold);
}

.news-card--interactive {
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.news-card--interactive:hover,
.news-card--interactive:focus-within {
  transform: translateY(-4px);
  border-color: var(--theme-news-card-hover-border);
  box-shadow: var(--theme-news-card-hover-shadow);
}

.news-card--interactive:focus-visible {
  outline: 2px solid var(--theme-accent);
  outline-offset: 4px;
}

.blog-card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.blog-card-topline .card-meta-list {
  gap: 14px;
  row-gap: 8px;
}

.blog-card-context {
  color: var(--light-gray-2);
  font-size: var(--fs-10);
  font-weight: var(--fw-600);
  line-height: 1.7;
  margin-block-end: 18px;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.blog-manage-link,
.blog-delete-btn {
  color: var(--light-gray-1);
  font-size: var(--fs-10);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.blog-manage-link:is(:hover, :focus),
.blog-delete-btn:is(:hover, :focus) {
  color: var(--marigold);
}

.blog-delete-form {
  display: inline-flex;
}

.blog-delete-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.blog-card--muted {
  --theme-card-rest-shadow: var(--theme-news-card-muted-shadow);
  box-shadow: var(--theme-card-rest-shadow);
}

.blog-card--muted .blog-card-banner {
  filter: saturate(0.72) brightness(0.88);
}

.blog-empty-card {
  grid-column: 1 / -1;
}

.news-overview,
.news-filter-panel,
.news-spotlight,
.news-linked-panel {
  padding: clamp(22px, 4vw, 34px);
  border-radius: 18px;
  border: 1px solid var(--theme-border-regular);
  background:
    linear-gradient(180deg, var(--theme-surface-overlay), transparent 34%),
    var(--gradient-card);
  box-shadow: var(--shadow-1);
}

.news-overview,
.news-filter-panel {
  padding: clamp(14px, 2.4vw, 20px);
  border-radius: 12px;
}

.news-overview {
  display: grid;
  gap: 14px;
  margin-block: 0 var(--section-rhythm);
}

.news-overview-copy {
  display: grid;
  gap: 6px;
}

.news-overview .section-title-left,
.news-filter-panel .section-title-left {
  font-size: clamp(2.1rem, 2.6vw, 2.8rem);
  line-height: 0.95;
}

.news-overview .section-text,
.news-filter-panel .section-text {
  max-width: 54ch;
  font-size: var(--fs-9);
  line-height: 1.45;
}

.news-overview-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 8px;
}

.news-overview-metric {
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid var(--theme-border-subtle);
  background: var(--theme-news-overview-metric-bg);
}

.news-overview-metric span {
  display: block;
  color: var(--quick-silver);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.news-overview-metric strong {
  display: block;
  margin-top: 5px;
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: clamp(1.7rem, 2.1vw, 2.2rem);
  font-weight: var(--fw-800);
  line-height: 1;
}

.news-filter-panel {
  display: grid;
  gap: 12px;
  margin-block-end: 18px;
}

.news-filter-panel .blog-feed-head {
  margin-block-end: 0;
}

.news-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.news-filter-tab,
.news-context-chip,
.news-type-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--theme-border-regular);
  background: var(--theme-news-filter-bg);
  color: var(--light-gray-1);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  line-height: 1.2;
  transition: var(--transition);
}

.news-filter-tab,
.news-type-pill {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.news-context-chip {
  letter-spacing: 0.02em;
}

.news-filter-tab:hover,
.news-filter-tab:focus,
.news-filter-tab.is-active,
.news-context-chip:hover,
.news-context-chip:focus {
  border-color: var(--theme-news-filter-active-border);
  background: var(--theme-news-filter-hover-bg);
  color: var(--marigold);
}

.news-type-pill {
  border-color: var(--theme-news-pill-border);
  background: var(--theme-news-pill-bg);
  color: var(--theme-news-pill-text);
}

.news-spotlight {
  display: grid;
  gap: 24px;
  margin-block-end: var(--section-rhythm);
  background: var(--theme-news-spotlight-bg);
}

.news-spotlight-copy {
  display: grid;
  gap: 14px;
}

.news-spotlight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--light-gray-2);
  font-size: var(--fs-10);
  font-weight: var(--fw-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.news-spotlight h2 {
  font-family: var(--ff-oxanium);
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  font-weight: var(--fw-800);
  line-height: 0.98;
  text-transform: uppercase;
}

.news-spotlight h2 a {
  color: var(--white);
}

.news-spotlight h2 a:hover,
.news-spotlight h2 a:focus {
  color: var(--marigold);
}

.news-spotlight p {
  color: var(--light-gray-2);
  font-size: var(--fs-8);
  line-height: 1.8;
}

.news-spotlight-side {
  display: grid;
  gap: 14px;
}

.news-spotlight-panel {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--theme-border-regular);
  background: var(--theme-news-side-panel-bg);
}

.news-spotlight-panel span {
  display: block;
  color: var(--quick-silver);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.news-spotlight-panel strong {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-6);
  font-weight: var(--fw-800);
  line-height: 1.2;
}

.news-context-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block: 4px 20px;
}

.news-card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--theme-news-badge-bg);
  border: 1px solid var(--theme-news-badge-border);
  color: var(--white);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.news-modal {
  position: fixed;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 24px);
}

.news-modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--theme-modal-backdrop);
  backdrop-filter: blur(12px);
}

.news-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  min-height: min(720px, calc(100vh - 28px));
  max-height: calc(100vh - 28px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--theme-modal-border);
  background: var(--theme-modal-surface);
  box-shadow: var(--theme-modal-shadow);
}

.news-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--theme-border-regular);
  background: var(--theme-modal-close-bg);
  color: var(--white);
  transition: var(--transition);
}

.news-modal__close:hover,
.news-modal__close:focus {
  border-color: var(--theme-modal-close-hover-border);
  color: var(--marigold);
}

.news-modal__content {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding: clamp(22px, 4vw, 34px);
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--theme-accent) var(--theme-modal-scroll-track);
}

.news-modal__content::-webkit-scrollbar {
  width: 10px;
}

.news-modal__content::-webkit-scrollbar-track {
  background: var(--theme-modal-scroll-track);
  border-radius: 999px;
}

.news-modal__content::-webkit-scrollbar-thumb {
  background: var(--theme-modal-scroll-thumb);
  border-radius: 999px;
  border: 2px solid var(--theme-modal-scroll-thumb-border);
}

.news-modal__status {
  display: grid;
  place-items: center;
  min-height: 220px;
  color: var(--light-gray-1);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-5);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.news-modal-surface {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.news-modal-story {
  display: grid;
  gap: 28px;
}

.news-modal-story__hero {
  display: grid;
  gap: 14px;
  padding-right: clamp(0px, 5vw, 52px);
}

.news-modal-story__hero h2 {
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: clamp(3.2rem, 5vw, 5.4rem);
  font-weight: var(--fw-800);
  line-height: 0.98;
  text-transform: uppercase;
}

.news-modal-story__hero p {
  color: var(--light-gray-2);
  font-size: var(--fs-8);
  line-height: 1.8;
  max-width: 74ch;
}

.news-modal-story__meta {
  padding-right: clamp(0px, 5vw, 52px);
}

.news-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 13;
  max-width: min(420px, calc(100vw - 36px));
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--theme-toast-border);
  background: var(--theme-toast-bg);
  color: var(--white);
  box-shadow: var(--theme-toast-shadow);
}

.news-toast.is-error {
  border-color: var(--theme-toast-error-border);
}

.news-article-backlink {
  display: inline-flex;
  margin-block-end: 20px;
}

.news-article-layout {
  display: grid;
  gap: 26px;
}

.news-article-sidebar {
  display: grid;
  gap: 20px;
}

.news-linked-panel {
  display: grid;
  gap: 16px;
}

.news-linked-grid {
  display: grid;
  gap: 14px;
}

.news-link-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--theme-border-subtle);
  background: var(--theme-news-link-card-bg);
  transition: var(--transition);
}

.news-link-card:hover,
.news-link-card:focus {
  border-color: var(--theme-news-filter-active-border);
  transform: translateY(-2px);
}

.news-link-card span {
  color: var(--quick-silver);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.news-link-card strong {
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-6);
  font-weight: var(--fw-800);
  line-height: 1.2;
}

.news-link-card small {
  color: var(--light-gray-2);
  font-size: var(--fs-10);
  line-height: 1.6;
}

.news-link-card--static:hover,
.news-link-card--static:focus {
  border-color: var(--theme-border-subtle);
  transform: none;
}

.article-admin-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 18px 26px;
}

.article-delete-form {
  display: inline-flex;
}

/*-----------------------------------*\
  #NEWSLETTER
\*-----------------------------------*/

.newsletter { margin-block-end: 80px; }

.newsletter-card {
  background-color: var(--raisin-black-3);
  padding: 40px 15px;
  margin-block-start: -55px;
  border-radius: 80px;
}

.newsletter .h2 { font-size: var(--fs-4); text-transform: uppercase; text-align: center; margin-block-end: 30px; }

.newsletter .input-wrapper { max-width: 300px; margin-inline: auto; margin-block-end: 10px; }

.newsletter .email-field {
  font-size: var(--fs-9);
  color: var(--white);
  font-weight: var(--fw-500);
  padding: 17px 45px;
  padding-inline-end: 20px;
  outline: none;
}

.newsletter .input-wrapper ion-icon {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  left: 20px;
  color: var(--marigold);
  --ionicon-stroke-width: 50px;
}

.newsletter .input-wrapper::before { --bg: var(--raisin-black-4); --skewX: -20deg; }

.newsletter-btn {
  font-size: var(--fs-9);
  display: flex;
  align-items: center;
  gap: 5px;
  padding-inline: 20px;
  transition: var(--transition);
}

.newsletter-btn::after { display: none; }

.newsletter-btn::before { --skewX: -20deg; transition: var(--transition); }

.newsletter-btn:is(:hover, :focus) { color: var(--marigold); }
.newsletter-btn:is(:hover, :focus)::before { background-color: var(--white); }

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer { color: var(--roman-silver); }

.footer-top {
  padding-block-start: clamp(48px, 7vw, 72px);
  padding-block-end: var(--section-padding);
}

.footer-top .container { display: grid; gap: 50px; }

.footer .logo { margin-block-end: 35px; }

.footer-text, .footer .contact-item { font-size: var(--fs-8); font-weight: var(--fw-500); line-height: 1.8; }

.footer-text { margin-block-end: 15px; }

.contact-item:not(:last-child) { margin-block-end: 10px; }

.contact-item { display: flex; align-items: flex-start; gap: 10px; }

.contact-icon { margin-block-start: 3px; font-size: 17px; }

.footer-list-title {
  position: relative;
  color: var(--silver);
  font-family: var(--ff-oxanium);
  text-transform: uppercase;
  font-weight: var(--fw-800);
  padding-block-end: 20px;
  margin-block-end: 35px;
}

.footer-list-title::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 3px;
  background-color: var(--marigold);
}

.footer-link {
  font-size: var(--fs-9);
  max-width: max-content;
  transition: var(--transition);
  padding-block: 8px;
  font-weight: var(--fw-500);
}

.footer-link:is(:hover, :focus) { color: var(--marigold); transform: translateX(5px); }

.footer .social-wrapper { margin-block-end: 50px; }

.footer .social-list { display: flex; gap: 10px; }

.footer .social-link { padding: 10px; border-radius: 2px; }

.footer-newsletter { position: relative; }

.footer-newsletter .email-field {
  background-color: var(--raisin-black-4);
  padding: 12px 20px; padding-inline-end: 60px;
  font-size: var(--fs-9);
  color: var(--white);
}

.footer-btn {
  position: absolute;
  top: 0; right: 0;
  height: 100%; width: 53px;
  background-color: var(--marigold);
  color: var(--xiketic);
  display: grid;
  place-content: center;
}

.footer-bottom { background-color: var(--theme-footer-bottom-bg); padding-block: 20px; text-align: center; }

.copyright { font-size: var(--fs-9); font-weight: var(--fw-500); line-height: 1.8; }

.copyright-link { display: inline-block; color: var(--marigold); }

/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 10px; right: 15px;
  background-color: var(--marigold);
  padding: 12px;
  z-index: 4;
  transition: var(--transition);
  opacity: 0; visibility: hidden;
  color: var(--xiketic);
  font-size: 2.4rem;
}

.back-top-btn.active { opacity: 1; visibility: visible; transform: translateY(-10px); }

/*-----------------------------------*\
  #SITE DIALOG
\*-----------------------------------*/

body.site-dialog-open { overflow: hidden; }

.site-dialog {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 20px;
}

.site-dialog[hidden] { display: none !important; }

.site-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: var(--theme-dialog-backdrop);
  backdrop-filter: blur(12px);
}

.site-dialog__panel {
  position: relative;
  width: min(100%, 480px);
  padding: clamp(22px, 4vw, 30px);
  border-radius: 16px;
  border: 1px solid var(--theme-modal-border);
  background: var(--theme-dialog-panel);
  box-shadow: var(--theme-modal-shadow);
  display: grid;
  gap: 18px;
}

.site-dialog__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.site-dialog__eyebrow {
  color: var(--theme-accent);
  font-size: var(--fs-10);
  font-weight: var(--fw-700);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-dialog__title {
  margin-top: 6px;
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: clamp(2.4rem, 3vw, 3rem);
  font-weight: var(--fw-800);
  line-height: 1.05;
}

.site-dialog__close {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--theme-border-regular);
  background: var(--theme-surface-soft);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  transition: var(--transition);
}

.site-dialog__message {
  color: var(--light-gray-1);
  font-size: var(--fs-9);
  line-height: 1.7;
}

.site-dialog__actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-dialog__button {
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--theme-border-regular);
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-10);
  font-weight: var(--fw-800);
  text-transform: uppercase;
  transition: var(--transition);
}

.site-dialog__button--primary {
  border-color: var(--theme-accent-border-strong);
  background: var(--theme-accent);
  color: var(--xiketic);
}

.site-dialog__button--secondary {
  background: var(--theme-surface-soft-alt);
}

.site-dialog__button:is(:hover, :focus-visible),
.site-dialog__close:is(:hover, :focus-visible) {
  border-color: var(--theme-accent-focus);
  box-shadow: 0 0 0 3px var(--theme-accent-ring);
  outline: none;
}

@media (max-width: 575px) {
  .site-dialog__actions {
    grid-template-columns: 1fr;
  }
}

/*-----------------------------------*\
  #NBS-SPECIFIC: DETAIL PAGES
\*-----------------------------------*/

.page-hero {
  background: var(--gradient-hero);
  padding-block: clamp(66px, 10vw, 86px) clamp(28px, 5vw, 42px);
  margin-block-start: var(--header-offset);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 110px,
      hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.025) 110px,
      hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.025) 111px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 80px,
      hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.03) 80px,
      hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.03) 81px
    );
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--theme-energy-gradient);
}

.page-hero .eyebrow { color: var(--theme-secondary); font-size: var(--fs-9); font-weight: var(--fw-700); text-transform: uppercase; letter-spacing: 2px; margin-block-end: 6px; position: relative; text-shadow: 0 0 16px var(--theme-secondary-glow); }

.page-hero h1 { font-family: var(--ff-oxanium); font-size: clamp(3.8rem, 7vw, 5.6rem); font-weight: var(--fw-800); color: var(--white); line-height: 1; margin-block-end: 8px; position: relative; }

.page-hero .lede {
  color: var(--light-gray-2);
  font-size: var(--fs-8);
  position: relative;
  max-width: 54ch;
  margin-inline: auto;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.tournament-detail-hero .container {
  display: grid;
  justify-items: center;
}

.tournament-meta-strip {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  width: min(100%, 920px);
  margin-block-start: clamp(18px, 3vw, 24px);
}

.tournament-meta-item {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--theme-border-regular);
  border-radius: 8px;
  background: var(--theme-surface-soft);
  text-align: left;
}

.tournament-meta-item span,
.tournament-meta-item strong {
  display: block;
  min-width: 0;
}

.tournament-meta-item span {
  margin-block-end: 6px;
  color: var(--roman-silver);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  text-transform: uppercase;
}

.tournament-meta-item strong {
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-8);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.tournament-details-section {
  padding-block-end: clamp(32px, 6vw, 58px);
}

.tournament-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 3vw, 24px);
}

.tournament-detail-panel {
  min-width: 0;
  padding: clamp(22px, 4vw, 30px);
  border: 1px solid var(--theme-border-regular);
  border-radius: 8px;
  background:
    linear-gradient(180deg, var(--theme-surface-overlay), transparent 36%),
    var(--gradient-card);
}

.tournament-detail-panel .section-title-left {
  margin-block-end: 12px;
}

.tournament-detail-heading {
  margin-block-end: 12px;
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-5);
  font-weight: var(--fw-800);
  line-height: 1.1;
  text-transform: uppercase;
}

.tournament-detail-copy {
  max-width: 76ch;
  margin-inline: 0;
  color: var(--light-gray-1);
  line-height: 1.75;
  text-align: left;
}

.tournament-main-grid > * {
  min-width: 0;
}

.tournament-main-grid {
  grid-template-columns: minmax(0, 1fr);
}

/* Score banner */
.score-banner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 20px;
  margin-block-start: 50px;
  max-width: 700px;
  margin-inline: auto;
  position: relative;
}

.score-team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.score-team.right { align-items: center; }

.score-team h2 { font-family: var(--ff-oxanium); font-size: var(--fs-4); font-weight: var(--fw-800); color: var(--white); text-transform: uppercase; }

.score-num { font-family: var(--ff-oxanium); font-size: var(--fs-1); font-weight: var(--fw-800); color: var(--marigold); line-height: 1; }

.score-divider { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.vs-label { font-family: var(--ff-oxanium); font-size: var(--fs-5); font-weight: var(--fw-800); color: var(--white_15); letter-spacing: 3px; }

/* Badges */
.badge { min-height: 28px; font-size: var(--fs-11); font-weight: var(--fw-700); text-transform: uppercase; max-width: max-content; display: grid; align-items: center; padding-inline: 16px; position: relative; z-index: 1; }

.badge::before { content: ""; position: absolute; inset: 0; transform: skewX(-10deg); z-index: -1; }

.badge-live { color: var(--theme-badge-live-text); }
.badge-live::before { background-color: var(--theme-badge-live-bg); }
.badge-sched { color: var(--theme-badge-scheduled-text); }
.badge-sched::before { background-color: var(--marigold); }
.badge-done { color: var(--theme-badge-done-text); }
.badge-done::before { background-color: var(--roman-silver); }

/* Live match center */
.match-watch-desk,
.live-match-center {
  padding-block-start: var(--section-rhythm);
}

.match-watch-desk,
.match-admin-stats,
.match-lines-section,
.match-editorial-section {
  padding-block: var(--section-rhythm);
}

.match-watch-desk .section-header,
.match-admin-stats .section-header,
.match-lines-section .section-header,
.match-editorial-section .section-header {
  margin-block-end: var(--section-rhythm);
}

.match-live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.match-stream-panel {
  min-width: 0;
}

.match-stream-panel .stream-frame.large,
.match-stream-panel .stream-placeholder.tall {
  min-height: clamp(300px, 58vw, 620px);
}

.match-live-sidebar {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.live-center-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.live-summary-panel,
.live-update-card {
  background-color: var(--raisin-black-4);
  border: 1px solid var(--white_15);
  border-left: 3px solid var(--marigold);
  padding: 20px;
}

.live-summary-panel {
  display: grid;
  grid-template-columns: minmax(160px, 0.65fr) minmax(0, 1.7fr) auto;
  gap: 18px;
  align-items: center;
}

.live-summary-heading,
.live-summary-details {
  min-width: 0;
}

.live-summary-label {
  color: var(--theme-secondary);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  margin-block-end: 8px;
}

.live-summary-panel h3 {
  font-family: var(--ff-oxanium);
  color: var(--white);
  font-size: var(--fs-5);
  text-transform: uppercase;
  margin-block-end: 14px;
}

.live-summary-meta,
.live-side-row,
.live-update-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.live-summary-meta span,
.live-side-row span,
.live-update-card footer span {
  background-color: var(--eerie-black-2);
  border: 1px solid var(--white_10);
  color: var(--roman-silver);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  padding: 7px 10px;
  text-transform: uppercase;
}

.live-summary-note {
  color: var(--light-gray-2);
  font-size: var(--fs-8);
  line-height: 1.55;
  margin-block: 10px 0;
}

.live-side-row {
  justify-content: flex-end;
}

.live-side-row strong { color: var(--marigold); }

.live-control-form {
  grid-column: 1 / -1;
  margin-block-start: var(--section-rhythm);
  padding-block-start: var(--section-rhythm);
  border-block-start: 1px solid var(--white_15);
}

.live-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.live-control-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.live-control-form label span {
  color: var(--roman-silver);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  text-transform: uppercase;
}

.live-control-form :is(input, select, textarea) {
  width: 100%;
  min-height: 38px;
  background-color: var(--eerie-black-2);
  border: 1px solid var(--white_15);
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-weight: var(--fw-700);
  padding: 9px 10px;
}

.live-control-form textarea {
  min-height: 84px;
  resize: vertical;
  font-family: var(--ff-space-grotesk);
  font-weight: var(--fw-500);
  line-height: 1.45;
}

.live-control-message {
  margin-block-start: 12px;
}

.live-control-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-block-start: 16px;
}

.live-control-actions .btn {
  min-height: 42px;
}

.live-timeline {
  display: grid;
  gap: 12px;
  align-content: start;
}

.live-update-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-block-end: 10px;
}

.live-update-card strong {
  font-family: var(--ff-oxanium);
  color: var(--white);
  font-size: var(--fs-9);
  text-transform: uppercase;
}

.live-update-card div span {
  color: var(--roman-silver);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
}

.live-update-card p {
  color: var(--light-gray-2);
  font-size: var(--fs-9);
  line-height: 1.5;
  margin-block-end: 12px;
}

.match-stat-editor {
  background-color: var(--raisin-black-4);
  border: 1px solid var(--white_15);
  padding: 20px;
}

.match-lines-grid {
  align-items: start;
}

.match-stat-editor-list {
  display: grid;
  gap: 10px;
}

.match-stat-editor-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) repeat(3, minmax(62px, 78px));
  align-items: center;
  gap: 8px;
  background-color: var(--eerie-black-2);
  border-left: 3px solid var(--marigold);
  padding: 12px;
}

.match-stat-editor-row > span {
  color: var(--white);
  font-weight: var(--fw-700);
  min-width: 0;
  overflow-wrap: anywhere;
}

.match-stat-editor-row label {
  display: grid;
  gap: 5px;
  color: var(--roman-silver);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  text-transform: uppercase;
}

.match-stat-editor-row input {
  width: 100%;
  min-height: 38px;
  background-color: var(--raisin-black-3);
  border: 1px solid var(--white_15);
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-weight: var(--fw-700);
  padding-inline: 8px;
}

.match-stat-editor-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-block-start: 20px;
}

/* KDA grid */
.kda-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-block-end: 20px; }

.kda-card { background-color: var(--raisin-black-4); border: 1px solid var(--white_15); padding: 20px 15px; text-align: center; display: flex; flex-direction: column; gap: 6px; }

.kda-card--accent { border-color: var(--marigold_75); }
.kda-card--accent strong { color: var(--white); }

.kda-card strong { font-family: var(--ff-oxanium); font-size: var(--fs-3); font-weight: var(--fw-800); color: var(--marigold); }

.kda-card span { font-size: var(--fs-11); font-weight: var(--fw-600); color: var(--roman-silver); text-transform: uppercase; letter-spacing: 1px; }

.divider { height: 1px; background-color: var(--white_15); margin-block: 20px; }

/* Card stack */
.card-stack { display: flex; flex-direction: column; gap: 12px; }

.stat-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background-color: var(--raisin-black-4);
  padding: 14px 20px;
  border-left: 3px solid var(--marigold);
}

.stat-line > * {
  min-width: 0;
}

.stat-line .p-name { font-weight: var(--fw-600); color: var(--white); font-size: var(--fs-8); }

.stat-line .kda { font-family: var(--ff-oxanium); font-size: var(--fs-8); font-weight: var(--fw-700); color: var(--marigold); }

.schedule-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: var(--raisin-black-4);
  padding: 16px 20px;
  border-left: 3px solid var(--marigold);
  gap: 14px;
}

.schedule-row > * {
  min-width: 0;
}

.schedule-row h4 { font-family: var(--ff-oxanium); font-size: var(--fs-8); font-weight: var(--fw-700); color: var(--white); text-transform: uppercase; margin-block-end: 4px; }

.schedule-row h4 a:hover { color: var(--marigold); }

.schedule-row .sub { font-size: var(--fs-11); color: var(--roman-silver); text-transform: uppercase; }

.schedule-row .time { font-family: var(--ff-oxanium); font-size: var(--fs-9); font-weight: var(--fw-700); color: var(--marigold); white-space: nowrap; }

.schedule-row-end {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Section header */
.section-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-block-end: var(--section-rhythm);
}

.section-header .eyebrow { color: var(--theme-secondary); font-size: var(--fs-10); font-weight: var(--fw-700); text-transform: uppercase; letter-spacing: 2px; margin-block-end: 8px; text-shadow: 0 0 14px var(--theme-secondary-glow); }

.section-header .section-title {
  text-align: left;
}

.section-header .section-title::after {
  left: 0;
  transform: none;
}

.section-title-left { font-family: var(--ff-oxanium); font-size: var(--fs-3); font-weight: var(--fw-800); color: var(--white); line-height: 1; text-transform: uppercase; }

.section-title-left .span { color: var(--marigold); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 40px); }
.grid-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }

/* Cards: shared shell first, then component-specific spacing/content. */
:is(.player-card, .team-card, .event-card) {
  background-color: var(--raisin-black-4);
  border: 1px solid var(--white_15);
  transition: var(--transition);
}

:is(.player-card, .team-card, .event-card):hover {
  border-color: var(--marigold);
}

:is(.player-card, .team-card) {
  padding: 25px 20px;
}

:is(.player-card .eyebrow.role, .team-card .eyebrow.region, .event-card .card-game) {
  font-size: var(--fs-11);
  color: var(--theme-secondary);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-block-end: 8px;
}

.player-card .nickname { font-family: var(--ff-oxanium); font-size: var(--fs-6); font-weight: var(--fw-800); color: var(--white); text-transform: uppercase; margin-block-end: 4px; }
.player-card .nickname a:hover { color: var(--marigold); }
.player-card .username { font-size: var(--fs-10); color: var(--roman-silver); margin-block-end: 10px; }
.player-card .record { font-size: var(--fs-10); color: var(--marigold); font-weight: var(--fw-600); }

.team-card h3 { font-family: var(--ff-oxanium); font-size: var(--fs-5); font-weight: var(--fw-800); color: var(--white); text-transform: uppercase; }
.team-card h3 a:hover { color: var(--marigold); }

.event-card { padding: 30px; }
.event-card h3 { font-family: var(--ff-oxanium); font-size: var(--fs-5); font-weight: var(--fw-800); color: var(--white); text-transform: uppercase; margin-block-end: 15px; transition: var(--transition); }
.event-card h3 a:hover { color: var(--marigold); }
.event-card .meta { display: flex; flex-wrap: wrap; gap: 15px; font-size: var(--fs-11); color: var(--roman-silver); font-weight: var(--fw-500); margin-block-end: 20px; }
.event-card .prize { font-family: var(--ff-oxanium); font-size: var(--fs-4); font-weight: var(--fw-800); color: var(--marigold); }

html[data-theme="light"] :is(
  .auth-card,
  .kda-card,
  .event-card,
  .team-card,
  .player-card,
  .blog-editor-panel,
  .news-filter-panel,
  .news-linked-panel,
  .blog-empty-card,
  .blog-card--page,
  .latest-game-card,
  .featured-game-card,
  .shop-card,
  .blog-card,
  .newsletter-card,
  .home-tournament-card,
  .home-placeholder-card,
  .support-nav,
  .support-intro,
  .support-card,
  .support-contact-panel,
  .tournament-detail-panel,
  .tournament-meta-item
) {
  border-color: var(--theme-border-regular);
  box-shadow: var(--theme-card-rest-shadow, var(--shadow-1));
}

html[data-theme="light"] :is(.event-card, .team-card, .player-card, .kda-card, .tournament-detail-panel) {
  background:
    linear-gradient(135deg, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.06), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 253, 0.96));
}

html[data-theme="light"] .tournament-meta-item {
  background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] :is(.event-card:hover, .team-card:hover, .player-card:hover) {
  border-color: var(--theme-accent-border-strong);
  box-shadow: var(--shadow-1), 0 0 0 1px var(--theme-accent-border), 0 0 28px var(--theme-accent-ring);
}

.match-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; background-color: var(--raisin-black-4); padding: 20px; border-left: 3px solid var(--marigold); transition: var(--transition); }
.match-row > * { min-width: 0; }
.match-row:hover { background-color: var(--english-violet); }
.match-row .team-name { font-family: var(--ff-oxanium); font-size: var(--fs-8); font-weight: var(--fw-700); color: var(--white); text-transform: uppercase; }
.match-row .team-name.right { text-align: right; }
.match-row .score { font-family: var(--ff-oxanium); font-size: var(--fs-5); font-weight: var(--fw-800); color: var(--marigold); text-align: center; white-space: nowrap; }

/* Stream */
.stream-frame { position: relative; overflow: hidden; background-color: var(--eerie-black-2); }
.stream-frame.large { aspect-ratio: 16/9; }
.stream-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

.stream-placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 15px; background: var(--gradient-card); border: 2px dashed var(--white_15); }
.stream-placeholder.tall { min-height: clamp(220px, 45vw, 300px); }
.stream-placeholder .ph-icon { font-size: 5rem; line-height: 1; }
.stream-placeholder p { color: var(--roman-silver); font-size: var(--fs-8); text-align: center; padding-inline: 20px; }

/* Stats split */
.stats-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.stats-split-col h3 { font-family: var(--ff-oxanium); font-size: var(--fs-7); font-weight: var(--fw-800); color: var(--white); text-transform: uppercase; margin-block-end: 15px; padding-block-end: 10px; border-block-end: 2px solid var(--marigold); }

/* Bracket */
.bracket-scroll { overflow-x: auto; padding-block-end: 20px; }
.bracket-scroll::-webkit-scrollbar { height: 8px; }
.bracket-scroll::-webkit-scrollbar-track { background: var(--raisin-black-4); }
.bracket-scroll::-webkit-scrollbar-thumb { background-color: var(--marigold); }

.bracket-board { display: flex; gap: 20px; min-width: max-content; }
.bracket-round { display: flex; flex-direction: column; gap: 15px; min-width: 200px; }
.bracket-round-title { font-family: var(--ff-oxanium); font-size: var(--fs-10); font-weight: var(--fw-800); color: var(--marigold); text-transform: uppercase; letter-spacing: 1px; padding-block-end: 10px; border-block-end: 1px solid var(--marigold); margin-block-end: 5px; }
.bracket-match { background-color: var(--raisin-black-4); border: 1px solid var(--white_15); padding: 12px 15px; transition: var(--transition); }
.bracket-match:hover { border-color: var(--marigold); }
.bracket-match a { display: block; }
.bm-row { display: flex; justify-content: space-between; align-items: center; padding-block: 4px; font-size: var(--fs-10); color: var(--white); font-weight: var(--fw-500); }
.bm-row:first-child { border-block-end: 1px solid var(--white_10); }
.bm-score { font-family: var(--ff-oxanium); font-weight: var(--fw-700); color: var(--marigold); }
.bm-status { font-size: var(--fs-11); color: var(--roman-silver); margin-block-start: 6px; text-align: right; }

.empty-state { color: var(--roman-silver); font-size: var(--fs-9); font-style: italic; text-align: center; padding-block: 20px; }

.empty-state-wide { grid-column: 1 / -1; }
.title-accent { color: var(--marigold); display: inline; }
.inline-accent { color: var(--marigold); }
.muted-meta { color: var(--roman-silver); font-size: var(--fs-11); }
.card-meta-text { margin-block-start: 8px; }
.card-meta-text-sm { margin-block-start: 4px; }
.inline-link-accent {
  color: var(--marigold);
  display: inline;
}

.inline-link-accent:hover,
.inline-link-accent:focus {
  color: var(--white);
}

.stat-link {
  display: inline;
  font-weight: var(--fw-600);
  transition: color var(--transition);
}

.stat-link:hover,
.stat-link:focus {
  color: var(--marigold);
}

.stat-subtext {
  color: var(--silver);
  font-size: var(--fs-11);
  margin-top: 0.3rem;
}

/* Support pages */
.support-section {
  background:
    linear-gradient(180deg, var(--theme-surface-overlay), transparent 34%),
    var(--theme-page-bg);
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
}

.support-nav {
  background: var(--gradient-card);
  border: 1px solid var(--white_15);
  padding: 28px;
}

.support-nav__title {
  margin-block-end: var(--section-rhythm);
}

.support-nav__link {
  display: block;
  color: var(--roman-silver);
  font-size: var(--fs-9);
  font-weight: var(--fw-600);
  padding-block: 10px;
  transition: color var(--transition), transform var(--transition);
}

.support-nav__link:is(:hover, :focus),
.support-nav__link.is-active {
  color: var(--marigold);
  transform: translateX(5px);
}

.support-content {
  display: grid;
  gap: 24px;
}

.support-intro {
  background-color: var(--raisin-black-4);
  border: 1px solid var(--white_15);
  padding: clamp(24px, 4vw, 36px);
}

.support-intro .eyebrow,
.support-contact-panel .eyebrow {
  color: var(--theme-secondary);
  font-size: var(--fs-10);
  font-weight: var(--fw-700);
  letter-spacing: 2px;
  margin-block-end: 10px;
  text-transform: uppercase;
}

.support-intro .section-title-left {
  margin-block-end: 16px;
}

.support-intro p:not(.eyebrow),
.support-contact-panel p:not(.eyebrow) {
  color: var(--light-gray-2);
  font-size: var(--fs-8);
  line-height: 1.7;
}

.support-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.support-card {
  background-color: var(--raisin-black-4);
  border: 1px solid var(--white_15);
  padding: 26px;
}

.support-card h3 {
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-6);
  font-weight: var(--fw-800);
  margin-block-end: 16px;
  text-transform: uppercase;
}

.support-card .eyebrow {
  color: var(--theme-secondary);
  font-size: var(--fs-10);
  font-weight: var(--fw-700);
  letter-spacing: 2px;
  margin-block-end: 12px;
  text-transform: uppercase;
}

.support-card p:not(.eyebrow) {
  color: var(--roman-silver);
  font-size: var(--fs-9);
  line-height: 1.65;
}

.support-card li {
  color: var(--roman-silver);
  font-size: var(--fs-9);
  line-height: 1.65;
  padding-inline-start: 18px;
  position: relative;
}

.support-card li:not(:last-child) {
  margin-block-end: 12px;
}

.support-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  background: var(--marigold);
}

.support-contact-panel {
  display: grid;
  gap: 22px;
  background:
    linear-gradient(135deg, var(--theme-accent-soft), transparent 42%),
    var(--raisin-black-4);
  border: 1px solid var(--theme-accent-border);
  padding: clamp(24px, 4vw, 34px);
}

.support-contact-copy {
  max-width: 560px;
}

.support-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.support-card--freelance-cta {
  align-content: start;
  display: grid;
  padding-block-end: 18px;
}

.support-card--freelance-cta .eyebrow {
  margin-block-end: 28px;
}

.support-card--freelance-cta h3 {
  margin-block-end: 24px;
}

.support-card--freelance-cta p:not(.eyebrow) {
  max-width: 390px;
}

.support-card--freelance-cta .support-contact-actions {
  gap: 24px;
  justify-content: flex-start;
  margin-block-start: 24px;
}

.support-card--freelance-cta .btn {
  min-width: 102px;
  min-height: 28px;
  padding-inline: 14px;
  font-size: var(--fs-10);
}

.support-secondary-link {
  color: var(--marigold);
  font-size: var(--fs-9);
  font-weight: var(--fw-700);
  transition: color var(--transition);
}

.support-secondary-link:is(:hover, :focus) {
  color: var(--white);
}

/* Coaching page */
.coaching-section {
  background:
    linear-gradient(180deg, var(--theme-surface-overlay), transparent 36%),
    var(--theme-page-bg);
}

.coaching-layout {
  display: grid;
  gap: clamp(24px, 4vw, 34px);
}

.coaching-card,
.coaching-process {
  background-color: var(--raisin-black-4);
  border: 1px solid var(--white_15);
}

.coaching-process {
  padding: clamp(24px, 4vw, 36px);
}

.coaching-card .eyebrow,
.coaching-process .eyebrow {
  color: var(--theme-secondary);
  font-size: var(--fs-10);
  font-weight: var(--fw-700);
  letter-spacing: 2px;
  margin-block-end: 10px;
  text-transform: uppercase;
}

.coaching-card p,
.coaching-process p {
  color: var(--light-gray-2);
  font-size: var(--fs-8);
  line-height: 1.7;
}

.coaching-card-grid,
.coaching-process__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.coaching-games {
  display: grid;
  gap: 18px;
}

.coaching-games__head {
  display: grid;
  gap: 12px;
  align-items: end;
}

.coaching-games__head .eyebrow {
  color: var(--theme-secondary);
  font-size: var(--fs-10);
  font-weight: var(--fw-700);
  letter-spacing: 2px;
  margin-block-end: 10px;
  text-transform: uppercase;
}

.coaching-game-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.coaching-game-card {
  --coaching-game-accent: var(--theme-secondary);
  --coaching-game-image: linear-gradient(135deg, rgba(0, 195, 255, 0.32), rgba(255, 186, 8, 0.16));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 5px 10px 11px;
  background: var(--raisin-black-4);
  border: 1px solid var(--white_10);
  border-radius: 8px;
  color: var(--white);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.coaching-game-card:is(:hover, :focus),
.coaching-game-card.is-selected {
  border-color: var(--coaching-game-accent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--coaching-game-accent) 58%, transparent),
    0 16px 34px rgba(0, 0, 0, 0.24);
  transform: translateY(-3px);
}

.coaching-game-card__media {
  position: absolute;
  inset: 0 0 20%;
  background:
    linear-gradient(180deg, rgba(9, 10, 18, 0.02) 0%, rgba(9, 10, 18, 0.24) 58%, var(--raisin-black-4) 100%),
    var(--coaching-game-image);
  background-position: center top;
  background-size: cover;
  filter: saturate(1.05);
  transform-origin: top center;
  transition: transform var(--transition);
}

.coaching-game-card:is(:hover, :focus) .coaching-game-card__media {
  transform: scale(1.05);
}

.coaching-game-card__content,
.coaching-game-card__description,
.coaching-game-card__badges {
  position: relative;
  z-index: 1;
}

.coaching-game-card__content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.coaching-game-card__icon {
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  width: 28px;
  aspect-ratio: 1;
  background: var(--coaching-game-accent);
  border-radius: 6px;
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-10);
  font-weight: var(--fw-800);
  overflow: hidden;
  text-transform: uppercase;
}

.coaching-game-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coaching-game-card__title {
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-5);
  font-weight: var(--fw-800);
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62);
}

.coaching-game-card__description {
  color: var(--light-gray-1);
  display: -webkit-box;
  font-size: var(--fs-10);
  line-height: 1.45;
  margin-block-start: 10px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.coaching-game-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  left: 10px;
  margin-block-start: 12px;
  position: absolute;
  right: 10px;
  top: 5px;
}

.coaching-game-card__badges span {
  background: rgba(9, 10, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  padding: 3px 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
  text-transform: uppercase;
}

.coaching-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(24px, 4vw, 32px);
}

.coaching-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  background: var(--theme-accent-soft);
  border: 1px solid var(--theme-accent-border);
  color: var(--marigold);
  font-size: 2.4rem;
}

.coaching-card h3,
.coaching-process h3 {
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-5);
  font-weight: var(--fw-800);
  line-height: 1;
  text-transform: uppercase;
}

.coaching-card ul {
  display: grid;
  gap: 10px;
  margin-block-start: 4px;
}

.coaching-card li {
  color: var(--roman-silver);
  font-size: var(--fs-9);
  line-height: 1.55;
  padding-inline-start: 18px;
  position: relative;
}

.coaching-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  aspect-ratio: 1;
  background: var(--marigold);
}

.coaching-process__steps {
  margin-block-start: 18px;
}

.coaching-process__steps > div {
  border-left: 2px solid var(--theme-secondary);
  padding-inline-start: 18px;
}

.coaching-process__steps span {
  display: inline-block;
  color: var(--marigold);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-8);
  font-weight: var(--fw-800);
  margin-block-end: 8px;
}

.coaching-game-detail,
.coaching-coach-browser,
.coach-profile-main {
  display: grid;
  gap: 18px;
}

.coaching-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px clamp(14px, 3vw, 28px);
  background-color: var(--raisin-black-4);
  border: 1px solid var(--white_15);
  padding: 14px clamp(14px, 3vw, 24px);
}

.coaching-detail-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--fs-10);
  font-weight: var(--fw-700);
  min-height: 38px;
  padding: 10px 8px;
  text-transform: uppercase;
  transition: color var(--transition), background-color var(--transition);
}

.coaching-detail-tabs a:is(:hover, :focus) {
  background-color: var(--theme-accent-soft);
  color: var(--marigold);
}

.coaching-game-detail,
.coaching-coach-browser,
.coaching-process {
  scroll-margin-top: calc(var(--header-offset) + 24px);
}

.coaching-game-banner,
.coaching-filter-form,
.coach-profile-card,
.coaching-form {
  background-color: var(--raisin-black-4);
  border: 1px solid var(--white_15);
  padding: clamp(22px, 4vw, 32px);
}

.coaching-game-banner {
  display: grid;
  gap: 22px;
  align-items: end;
}

.coaching-game-banner p:not(.eyebrow),
.coaching-section-head p {
  color: var(--light-gray-2);
  font-size: var(--fs-8);
  line-height: 1.7;
  max-width: 620px;
}

.coaching-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.coaching-action-row .btn,
.coach-card .btn,
.coaching-form .btn,
.coach-profile-main .btn {
  margin-inline: 0;
}

.coaching-action-row .btn {
  min-width: clamp(150px, 14.4vw, 179px);
}

.coaching-action-row .btn.btn-surface::before {
  box-shadow: inset 0 0 0 1px var(--theme-border-regular);
}

.coaching-text-link {
  color: var(--marigold);
  font-size: var(--fs-9);
  font-weight: var(--fw-700);
  text-transform: uppercase;
}

.coaching-text-link:is(:hover, :focus) {
  color: var(--white);
}

.coaching-back-link {
  display: inline-flex;
  margin-block-end: 18px;
}

.coaching-action-grid,
.coach-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.coaching-section-head .eyebrow,
.coach-profile-card dt,
.coaching-field span,
.coaching-filter-form span {
  color: var(--theme-secondary);
  font-size: var(--fs-10);
  font-weight: var(--fw-700);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.coaching-filter-form,
.coaching-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.coaching-form--request {
  max-width: 1080px;
  margin-inline: auto;
  gap: 18px 16px;
  padding: clamp(24px, 3vw, 32px);
}

.coaching-filter-form label,
.coaching-field {
  display: grid;
  align-content: start;
  gap: 8px;
}

.coaching-filter-form :is(input, select),
.coaching-field :is(input, select, textarea) {
  width: 100%;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--white_15);
  color: var(--white);
  padding-inline: 14px;
}

.coaching-field textarea {
  min-height: 130px;
  padding-block: 12px;
}

.coaching-field--tall textarea {
  min-height: 132px;
}

.coaching-filter-form select option,
.coaching-field select option {
  background: var(--raisin-black-4);
}

.coaching-filter-form :is(input, select):focus,
.coaching-field :is(input, select, textarea):focus {
  border-color: var(--theme-secondary);
}

.coaching-field small,
.coaching-form-errors {
  color: var(--theme-form-error-text);
  font-size: var(--fs-10);
}

.coaching-notice {
  background: var(--theme-accent-soft);
  border: 1px solid var(--theme-accent-border);
  color: var(--white);
  font-size: var(--fs-9);
  padding: 14px 16px;
}

.coach-card {
  display: grid;
  gap: 18px;
  align-content: start;
  background-color: var(--raisin-black-4);
  border: 1px solid var(--white_15);
  padding: 22px;
}

.coach-card__top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.coach-card__avatar,
.coach-profile-card__image {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--theme-accent-soft);
  border: 1px solid var(--theme-accent-border);
  color: var(--marigold);
  font-family: var(--ff-oxanium);
  font-weight: var(--fw-800);
  text-transform: uppercase;
}

.coach-card__avatar {
  flex: 0 0 56px;
  width: 56px;
  aspect-ratio: 1;
  font-size: var(--fs-5);
}

.coach-card__avatar img,
.coach-profile-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-card h3,
.coach-profile-card h2 {
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-weight: var(--fw-800);
  line-height: 1;
  text-transform: uppercase;
}

.coach-card p,
.coach-card dd,
.coach-profile-card dd,
.coaching-service-list p,
.coaching-review-list p {
  color: var(--light-gray-2);
  font-size: var(--fs-9);
  line-height: 1.6;
}

.coach-card dl,
.coach-profile-card dl {
  display: grid;
  gap: 12px;
}

.coach-card dl > div,
.coach-profile-card dl > div,
.coaching-service-list > div {
  display: grid;
  gap: 4px;
}

.coach-card dt {
  color: var(--roman-silver);
  font-size: var(--fs-10);
  font-weight: var(--fw-700);
  text-transform: uppercase;
}

.coach-profile-layout {
  display: grid;
  gap: 22px;
}

.coach-profile-card {
  display: grid;
  gap: 18px;
  align-content: start;
}

.coach-profile-card__image {
  width: 100%;
  aspect-ratio: 16 / 11;
  font-size: var(--fs-1);
}

.coaching-service-list,
.coaching-review-list {
  display: grid;
  gap: 14px;
}

.coaching-service-list > div {
  border: 1px solid var(--white_10);
  padding: 14px;
}

.coaching-service-list span,
.coaching-service-list strong,
.coaching-review-list cite {
  color: var(--white);
  font-size: var(--fs-9);
  font-weight: var(--fw-700);
}

.coaching-service-list strong {
  color: var(--marigold);
}

.coaching-review-list blockquote {
  border-left: 2px solid var(--theme-secondary);
  padding-inline-start: 14px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination-btn {
  min-height: 44px;
  padding-inline: 24px;
  font-size: var(--fs-10);
}

.pagination-status {
  color: var(--roman-silver);
  line-height: 1.5;
  font-size: var(--fs-9);
  text-align: center;
}

.section-topless { padding-top: 0; }

.page-hero ~ .section.section-topless {
  padding-block-start: clamp(var(--section-rhythm), 3vw, var(--section-rhythm-lg));
}
.footer-platform-mark {
  font-family: var(--ff-oxanium);
  font-size: 1.1rem;
  color: var(--roman-silver);
  letter-spacing: 3px;
  opacity: 0.4;
}

.blog-actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin-inline: auto;
}

.auth-shell--compact {
  max-width: 720px;
}

.auth-copy,
.auth-card {
  background-color: var(--raisin-black-4);
  border: 1px solid var(--white_15);
  padding: clamp(24px, 4vw, 40px);
}

.auth-card {
  box-shadow: var(--shadow-2);
}

html[data-theme="light"] :is(.auth-copy, .auth-card) {
  background:
    linear-gradient(135deg, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 253, 0.96));
  border-color: var(--theme-border-emphasis);
  box-shadow: var(--shadow-1);
}

.auth-card--center {
  text-align: center;
}

.auth-text {
  margin-inline: 0;
  margin-top: 18px;
  text-align: left;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-field span {
  color: var(--white);
  font-size: var(--fs-10);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.auth-field :is(input, select) {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--white_15);
  background-color: var(--eerie-black-2);
  color: var(--white);
}

.auth-field select {
  appearance: none;
}

.auth-field :is(input, select):focus {
  outline: none;
  border-color: var(--marigold);
}

.auth-submit {
  margin-top: 8px;
}

.auth-feedback {
  padding: 14px 16px;
  border: 1px solid var(--theme-auth-feedback-border);
  background-color: var(--theme-auth-feedback-bg);
  color: var(--white);
  font-size: var(--fs-10);
}

.auth-alt {
  margin-top: 20px;
  color: var(--roman-silver);
  font-size: var(--fs-10);
}

.auth-alt a {
  display: inline;
}

.article-shell {
  background-color: var(--raisin-black-4);
  border: 1px solid var(--white_15);
  padding: clamp(24px, 4vw, 40px);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--roman-silver);
  font-size: var(--fs-11);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--section-rhythm);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.article-meta .status-pill--draft { color: var(--light-gray-1); }
.article-meta .status-pill--scheduled { color: var(--theme-status-scheduled-text); }
.article-meta .status-pill--published { color: var(--theme-status-published-text); }

.article-summary {
  color: var(--light-gray-2);
  font-size: var(--fs-7);
  line-height: 1.8;
  margin-bottom: var(--section-rhythm);
}

.article-body {
  color: var(--light-gray-1);
  font-size: var(--fs-8);
  line-height: 1.9;
}

.article-body p + p {
  margin-top: 18px;
}

.article-body a {
  display: inline;
  color: var(--marigold);
}

.related-posts {
  margin-top: 48px;
}

.related-posts .grid-3 {
  margin-top: 24px;
}

.browse-toolbar {
  display: grid;
  gap: 14px;
  background-color: var(--raisin-black-4);
  border: 1px solid var(--white_15);
  padding: clamp(14px, 2.4vw, 20px);
  margin-bottom: var(--section-rhythm);
}

.browse-toolbar .eyebrow {
  margin-block-end: 5px;
}

.browse-toolbar .section-title-left {
  font-size: clamp(2.1rem, 2.6vw, 2.8rem);
  line-height: 0.95;
}

.browse-toolbar .muted-meta {
  margin-top: 5px;
  line-height: 1.45;
}

.browse-filter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.browse-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.browse-field span {
  color: var(--white);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.browse-field :is(input, select) {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--white_15);
  background-color: var(--eerie-black-2);
  color: var(--white);
}

.browse-field select {
  appearance: none;
}

.browse-field select option {
  background-color: var(--eerie-black-2);
  color: var(--white);
}

.browse-field :is(input, select):focus {
  outline: none;
  border-color: var(--marigold);
}

.browse-filter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: clamp(16px, 2.4vw, 24px);
  row-gap: 8px;
}

.browse-filter-actions .btn {
  margin-inline: 0;
  min-height: 44px;
  padding-inline: 20px;
}

.browse-clear {
  color: var(--roman-silver);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.browse-clear:hover,
.browse-clear:focus {
  color: var(--marigold);
}

.browse-results-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--section-rhythm);
  color: var(--roman-silver);
  font-size: var(--fs-10);
}

.browse-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding-inline: 14px;
  border: 1px solid transparent;
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 1px;
  max-width: 100%;
  text-align: center;
}

.status-pill--upcoming {
  background-color: var(--theme-status-upcoming-bg);
  border-color: var(--theme-status-upcoming-border);
  color: var(--theme-status-upcoming-text);
}

.status-pill--ongoing {
  background-color: var(--theme-status-ongoing-bg);
  border-color: var(--theme-status-ongoing-border);
  color: var(--theme-status-ongoing-text);
}

.status-pill--completed {
  background-color: var(--theme-status-completed-bg);
  border-color: var(--theme-status-completed-border);
  color: var(--theme-status-completed-text);
}

.status-pill--cancelled {
  background-color: var(--theme-status-cancelled-bg);
  border-color: var(--theme-status-cancelled-border);
  color: var(--theme-status-cancelled-text);
}

.status-pill--draft {
  background-color: var(--theme-status-draft-bg);
  border-color: var(--theme-status-draft-border);
  color: var(--theme-status-draft-text);
}

.status-pill--scheduled {
  background-color: var(--theme-status-scheduled-bg);
  border-color: var(--theme-status-scheduled-border);
  color: var(--theme-status-scheduled-text);
}

.status-pill--published {
  background-color: var(--theme-status-published-bg);
  border-color: var(--theme-status-published-border);
  color: var(--theme-status-published-text);
}

.status-pill--neutral {
  background-color: var(--theme-status-neutral-bg);
  border-color: var(--theme-status-neutral-border);
  color: var(--theme-status-neutral-text);
}

.leaderboard-feature {
  display: grid;
  gap: 24px;
  background:
    linear-gradient(135deg, var(--theme-accent-soft-strong), var(--theme-accent-sheen)),
    var(--gradient-card);
  border: 1px solid var(--theme-accent-border);
  padding: clamp(24px, 4vw, 36px);
  margin-bottom: var(--section-rhythm);
  --theme-card-rest-shadow: var(--shadow-2);
  box-shadow: var(--theme-card-rest-shadow);
}

.leaderboard-feature-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.leaderboard-feature-note {
  color: var(--light-gray-1);
  font-size: var(--fs-10);
  max-width: 48ch;
}

.leaderboard-feature-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.leaderboard-row {
  display: grid;
  gap: 18px;
  padding: 22px;
  background-color: var(--raisin-black-4);
  border: 1px solid var(--white_15);
  transition: var(--transition);
}

.leaderboard-row:hover {
  border-color: var(--marigold);
}

.leaderboard-identity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.leaderboard-rank {
  min-width: 72px;
  min-height: 72px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background-color: var(--eerie-black-2);
  border: 1px solid var(--theme-accent-border);
  color: var(--marigold);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-6);
  font-weight: var(--fw-800);
}

.leaderboard-name {
  font-family: var(--ff-oxanium);
  font-size: var(--fs-5);
  font-weight: var(--fw-800);
  color: var(--white);
  text-transform: uppercase;
}

.leaderboard-name a:hover,
.leaderboard-name a:focus,
.leaderboard-team a:hover,
.leaderboard-team a:focus {
  color: var(--marigold);
}

.leaderboard-team {
  margin-top: 4px;
  color: var(--roman-silver);
  font-size: var(--fs-10);
  overflow-wrap: anywhere;
}

.leaderboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}

.leaderboard-stat,
.leaderboard-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background-color: var(--eerie-black-2);
  border: 1px solid var(--white_10);
  text-align: center;
}

.leaderboard-stat span,
.leaderboard-metric span {
  color: var(--roman-silver);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.leaderboard-stat strong,
.leaderboard-metric strong {
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-5);
  font-weight: var(--fw-800);
}

.leaderboard-stat--accent,
.leaderboard-metric:first-child {
  border-color: var(--theme-accent-border);
}

.leaderboard-stat--accent strong,
.leaderboard-metric:first-child strong {
  color: var(--marigold);
}

:is(
  .page-hero h1,
  .section-title-left,
  .score-team h2,
  .event-card h3,
  .team-card h3,
  .player-card .nickname,
  .leaderboard-name,
  .home-tournament-card__title,
  .home-tournament-empty__copy h3,
  .blog-card .card-title
) {
  overflow-wrap: anywhere;
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

@media (min-width: 576px) {
  .header-actions { gap: 18px; }
  .brand-item { min-width: calc(33.33% - 13.33px); }
  .featured-game .scrollbar-item { min-width: 50%; }
  .blog-list { grid-template-columns: 75%; justify-content: center; }
  .tournament-meta-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top .container { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-wrapper { grid-column: 1 / 3; }
  .kda-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .score-banner { grid-template-columns: 1fr auto 1fr; gap: 30px; }
  .score-team { align-items: flex-start; text-align: left; }
  .score-team.right { align-items: flex-end; text-align: right; }
  .news-command-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .live-summary-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .live-side-row {
    justify-content: flex-start;
  }

  .match-stat-editor-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .match-stat-editor-row > span {
    grid-column: 1 / -1;
  }

  .news-modal {
    padding: 0;
  }

  .news-modal__dialog {
    width: 100%;
    min-height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border-inline: none;
  }

  .news-modal__content {
    padding: 82px 16px 22px;
  }

  .news-modal__close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .news-modal-story__hero,
  .news-modal-story__meta {
    padding-right: 0;
  }
}

@media (min-width: 768px) {
  .scrollbar-item { min-width: calc(50% - 15px); }
  .hero-text { max-width: 60ch; margin-inline: auto; }
  .brand-item { min-width: calc(25% - 15px); }
  .live-match-player::after { font-size: 30rem; }
  .blog-list { grid-template-columns: 1fr 1fr; }
  .newsletter :is(.input-wrapper, .newsletter-btn) { margin: 0; }
  .newsletter .input-wrapper { max-width: unset; width: 100%; }
  .newsletter .h2 { --fs-4: 2.6rem; }
  .newsletter-form { display: flex; gap: 10px; max-width: 500px; width: 100%; margin-inline: auto; }
  .footer-brand, .footer-wrapper { grid-column: auto; }
  .footer-bottom { text-align: left; }
  .footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
  .back-top-btn { bottom: 50px; right: 45px; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .tournament-main-grid { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .live-center-grid { grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr); }
  .stats-split { grid-template-columns: 1fr 1fr; }
  .auth-grid { grid-template-columns: 1fr 1fr; }
  .stat-line {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .schedule-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }
  .schedule-row-end {
    width: auto;
    justify-content: flex-end;
  }
  .browse-results-meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }
  .browse-filter-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .browse-filter-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .leaderboard-feature {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
  }
  .leaderboard-feature-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .support-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .support-contact-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .coaching-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .coaching-action-grid,
  .coach-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .coaching-filter-form {
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    align-items: end;
  }
  .coaching-field--full,
  .coaching-form .btn {
    grid-column: 1 / -1;
  }
  .coaching-games__head {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  }
  .coaching-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .coaching-process__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  :is(.header, .hero, .live-match) .container { max-width: unset; }
  .scrollbar-item { min-width: calc(33.33% - 20px); }
  .tournament-meta-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tournament-details-grid { grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr); }
  .tournament-main-grid { grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr); }

  .live-control-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .mobile-site-status-tag { display: none; }

  .header-top {
    display: block;
    background: var(--theme-header-top-bg);
    padding-block: 20px;
    border-block-end: 1px solid var(--white_10);
  }

  .header-top .container { display: flex; justify-content: space-between; align-items: center; }

  .countdown-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 8px;
    row-gap: 6px;
    color: var(--quick-silver);
    font-size: var(--fs-10);
    font-weight: var(--fw-600);
  }

  .countdown-text .span {
    display: inline-flex;
    align-items: center;
    color: var(--xiketic);
    font-size: 1.8rem;
    font-weight: var(--fw-700);
    line-height: 1;
    padding: 10px 20px;
    margin-inline: 0;
  }

  .site-status-tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border: 1px solid var(--theme-accent-border);
    color: var(--marigold);
    font-size: var(--fs-11);
    font-weight: var(--fw-800);
    letter-spacing: 1px;
    padding-inline: 10px;
    text-transform: uppercase;
  }

  .header :is(.social-wrapper, .social-list) { display: flex; align-items: center; }
  .header .social-wrapper { gap: 15px; }
  .header .social-list { gap: 10px; }

  .social-title { color: var(--white); font-family: var(--ff-oxanium); font-size: var(--fs-8); font-weight: var(--fw-700); }

  .header .social-link { font-size: var(--fs-9); padding: 8px 10px; }

  .header-bottom { outline: 1px solid var(--theme-header-outline); }

  .header-bottom::before { display: none; }

  .header-toolbar {
    justify-content: flex-end;
    flex: 1 1 auto;
  }

  .nav-toggle-btn { display: none; }

  .navbar, .navbar.active {
    all: unset;
    background: transparent;
    border: 0;
    box-shadow: none;
    flex: 0 1 auto;
    min-width: 0;
  }

  .navbar-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
    width: auto;
    padding-block: 0;
  }

  .navbar-item:not(:last-child) { border-block-end: none; }

  .navbar-divider { display: none; }

  .navbar-features { width: auto; }

  .navbar-features-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    padding-block: 8px;
    background: var(--theme-floating-bg);
    border: 1px solid var(--theme-border-regular);
    border-radius: 8px;
    box-shadow: var(--shadow-2);
    overflow: hidden;
    z-index: 4;
  }

  .navbar-features-link {
    padding: 12px 18px;
    color: var(--white);
    font-size: var(--fs-9);
    white-space: nowrap;
  }

  .navbar-item--account { flex-shrink: 0; }

  .navbar-link {
    color: var(--white);
    font-family: var(--ff-oxanium);
    font-size: var(--fs-11);
    text-transform: uppercase;
    font-weight: var(--fw-700);
    min-height: 40px;
    padding: 8px 16px;
  }

  .navbar-link::before { display: block; opacity: 0; transition: var(--transition); }

  .navbar-link--utility::before { display: none; }

  .navbar-link--utility {
    color: var(--light-gray-1);
    font-size: var(--fs-10);
  }

  .navbar-link--cta {
    margin: 0;
    padding-inline: 18px;
    color: var(--eerie-black-1);
  }

  .navbar-search-trigger,
  .navbar-user-trigger {
    padding: 13px;
  }

  .navbar-link--cta::before { opacity: 1; }

  .navbar-link:is(:hover, :focus) { background-color: transparent; color: var(--xiketic); }
  .navbar-link:is(:hover, :focus)::before { opacity: 1; }
  .navbar-link.active-link { color: var(--xiketic); }
  .navbar-link.active-link::before { opacity: 1; }

  .navbar-link--utility:is(:hover, :focus),
  .navbar-link--utility.active-link {
    color: var(--marigold);
  }

  .navbar-link--utility:is(:hover, :focus)::before,
  .navbar-link--utility.active-link::before {
    opacity: 0;
  }

  .navbar-link--cta:is(:hover, :focus),
  .navbar-link--cta.active-link {
    color: var(--eerie-black-1);
  }

  .navbar-search-trigger:is(:hover, :focus),
  .navbar-user-trigger:is(:hover, :focus),
  .user-menu.active .navbar-user-trigger {
    background-color: transparent;
    color: var(--white);
  }

  .navbar-search-trigger:is(:hover, :focus)::before,
  .navbar-user-trigger:is(:hover, :focus)::before,
  .user-menu.active .navbar-user-trigger::before {
    border-color: var(--marigold);
  }

  .hero { text-align: left; }
  .hero-visual { display: flex; }
  .hero .container { display: grid; grid-template-columns: 1fr 0.9fr; align-items: center; gap: 50px; }
  .btn { margin-inline: 0; }
  .hero-stats { gap: 60px; }
  .hero-stats { justify-content: flex-start; }

  .brand .has-scrollbar {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
    overflow: visible;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }

  .brand-item { min-width: 0; }
  .latest-game .has-scrollbar { padding-block-end: 0; }

  .live-match-player { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
  .live-match-detail { margin-block: 0; }
  .live-match-player .player { justify-content: flex-start; }
  .live-match-player .player-2 { justify-content: flex-end; }

  .featured-game .scrollbar-item { min-width: 33.33%; }
  .blog-list { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .auth-shell { grid-template-columns: 0.9fr 1.1fr; }
  .newsletter-form { max-width: 650px; }
  .footer .container { grid-template-columns: 1fr 0.7fr 0.7fr; column-gap: 80px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .news-command-bar { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .coaching-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .coaching-game-banner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .coaching-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .coaching-form--request .btn {
    grid-column: 1 / -1;
    justify-self: start;
    margin-block-start: 8px;
  }
  .coach-profile-layout {
    grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr);
    align-items: start;
  }
  .support-layout {
    grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  }
  .support-nav {
    position: sticky;
    top: calc(var(--header-offset) + 24px);
  }
}

@media (min-width: 1200px) {
  .container, :is(.header, .hero, .live-match) .container { max-width: var(--container-max); }
  .scrollbar-item { min-width: calc(25% - 22.5px); }
  .header-bottom::before { width: 270px; }
  .navbar-link { font-size: var(--fs-9); padding-inline: 25px; }
  .coaching-game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hero .container { grid-template-columns: 1fr 1fr; }
  .brand .has-scrollbar { gap: 30px; }
  .section-wrapper::before { height: 72%; }
  .featured-game .has-scrollbar { padding-block-end: 0; }
  .featured-game .scrollbar-item { min-width: 25%; }
  .newsletter-card { display: flex; justify-content: space-between; align-items: center; padding-inline: 70px; }
  .newsletter .h2 { margin-block-end: 0; }
  .newsletter-form { margin-inline: 0; }
  .footer .container { grid-template-columns: 1fr 0.7fr 0.7fr 1fr; }
}

@media (min-width: 768px) {
  .blog-editor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-overview {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: center;
  }

  .news-overview .section-text,
  .news-filter-panel .section-text {
    margin-inline: 0;
    text-align: left;
  }

  .news-filter-panel .blog-feed-head {
    align-items: flex-start;
  }

  .browse-filter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
  }

  .browse-field :is(input, select) {
    min-height: 38px;
    padding-block: 8px;
  }

  .browse-filter-actions .btn {
    min-height: 38px;
  }

  .news-spotlight {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    align-items: start;
  }

  .news-article-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: start;
  }

  .news-article-layout--modal {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  }

  .blog-editorial-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .blog-editorial-banner {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: end;
  }

  .blog-editor-grid--news {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/*-----------------------------------*\
  #HOME PAGE REDESIGN
\*-----------------------------------*/

.home-page {
  --home-feature-card-width: 325px;
  --home-feature-card-gap: clamp(16px, 3vw, 24px);
  position: relative;
  background: var(--theme-home-page-bg);
}

.home-page .section-subtitle {
  color: var(--theme-secondary);
  letter-spacing: 2px;
}

.home-page .section-text {
  color: var(--light-gray-2);
  max-width: 64ch;
}

.home-page .section-title {
  color: var(--white);
}

.home-page :is(.brand, .featured-game, .shop, .blog, .newsletter) .container,
.home-page .section-wrapper .container {
  position: relative;
  z-index: 1;
}

.home-section-head {
  margin-block-end: 42px;
}

.home-section-head--compact {
  max-width: 72ch;
  margin-inline: auto;
}

.home-section-head .section-title {
  margin-block-end: 18px;
}

.home-section-head .section-text {
  margin-top: 18px;
}

.home-hero {
  --section-padding: clamp(78px, 12vw, 138px);
  min-height: auto;
}

.home-page .hero .container {
  display: block;
  max-width: var(--container-max);
}

.home-hero-grid {
  display: grid;
  gap: 30px;
  align-items: start;
}

.home-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 18px;
  max-width: 620px;
  padding-block: 10px 0;
}

.home-hero .hero-title {
  max-width: 11ch;
  margin-block: 0;
  line-height: 0.92;
  text-wrap: balance;
}

.home-hero .hero-text {
  max-width: 54ch;
  color: var(--light-gray-1);
  margin-block-end: 0;
  font-size: clamp(1.55rem, 0.45vw + 1.42rem, 1.85rem);
  line-height: 1.75;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-block: 4px 2px;
}

.home-hero-actions .btn {
  margin-inline: 0;
  min-width: clamp(188px, 18vw, 224px);
}

.home-hero-actions .btn.btn-surface::before {
  box-shadow: inset 0 0 0 1px var(--theme-border-regular);
}

.home-page .home-hero-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-block-start: 34px;
}

.home-page .home-hero-stats .stat {
  min-width: 0;
  min-height: 124px;
  padding: 20px 18px 18px;
  border-radius: 20px;
  border: 1px solid var(--theme-border-regular);
  background: var(--theme-home-stat-bg);
  box-shadow: var(--theme-home-stat-shadow);
  display: grid;
  align-content: start;
  position: relative;
  overflow: hidden;
}

.home-page .home-hero-stats .stat::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--theme-secondary) 0%, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0) 75%);
  opacity: 0.65;
}

.home-stat-label,
.home-stat-copy {
  margin: 0;
}

.home-stat-label {
  color: var(--theme-secondary);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.home-page .home-hero-stats .stat strong {
  margin-block: 10px 8px;
  font-size: clamp(2.8rem, 2.2vw, 3.6rem);
}

.home-stat-copy {
  color: var(--theme-text-subtle);
  font-size: var(--fs-10);
  line-height: 1.5;
}

.home-page .home-hero-visual {
  display: grid;
  gap: 0;
  width: min(100%, 498px);
  margin-inline-start: auto;
  position: relative;
}

.home-hero-emblem-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(292px, 38vw, 382px);
  padding: 34px 32px 46px;
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--theme-border-regular);
  background: var(--theme-home-emblem-bg);
  box-shadow: var(--theme-home-emblem-shadow);
}

.home-hero-emblem-wrap::before {
  content: "";
  position: absolute;
  inset: 18px 18px 20px;
  z-index: 1;
  border: 1px solid var(--theme-home-emblem-frame);
  border-radius: 18px;
  pointer-events: none;
}

.home-hero-emblem-wrap::after {
  content: "";
  position: absolute;
  inset: 14% 20%;
  z-index: 0;
  background:
    radial-gradient(circle, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.28) 0%, transparent 58%),
    radial-gradient(circle at 30% 35%, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.18) 0%, transparent 44%);
  filter: blur(24px);
  opacity: 0.95;
  pointer-events: none;
}

.home-hero-emblem {
  margin-inline: auto;
  z-index: 2;
  width: min(100%, clamp(280px, 46vw, 392px));
}

.home-hero-emblem::after {
  content: "";
  position: absolute;
  inset: 14%;
  z-index: 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 45%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.32) 0%, transparent 34%),
    radial-gradient(circle at 34% 34%, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.2) 0%, transparent 46%),
    linear-gradient(180deg, hsla(0, 0%, 100%, 0.08) 0%, transparent 100%);
  transform: scale(1.04);
  filter: blur(8px);
  opacity: 0.94;
  pointer-events: none;
}

.home-brand {
  padding-block: clamp(34px, 6vw, 60px);
  background: transparent;
}

.home-page .brand .has-scrollbar {
  margin-top: 4px;
}

.home-page .brand-badge {
  min-height: 78px;
  border-radius: 18px;
  background: var(--theme-home-brand-badge-bg);
  border-color: var(--theme-border-regular);
  color: var(--light-gray-1);
}

.home-page .brand-badge:hover {
  border-color: var(--theme-secondary);
  color: var(--white);
  box-shadow: 0 0 0 1px var(--theme-secondary-border), 0 0 24px var(--theme-secondary-glow);
}

.home-page .section-wrapper {
  background: transparent;
}

.home-page .section-wrapper::before {
  inset: 0;
  width: auto;
  height: auto;
  background: var(--theme-home-section-bg);
}

.home-page .latest-game,
.home-page .live-match,
.home-page .featured-game,
.home-page .shop,
.home-page .blog {
  background: transparent;
}

.home-page .latest-game-card,
.home-page .featured-game-card,
.home-page .shop-card,
.home-page .blog-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--theme-border-regular);
  background: var(--theme-home-card-bg);
  --theme-card-rest-shadow: var(--theme-home-card-shadow);
  box-shadow: var(--theme-card-rest-shadow);
}

html[data-theme="light"] .home-page .latest-game-card {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  border-color: rgba(21, 46, 75, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 250, 255, 0.98) 100%);
  box-shadow: 0 24px 54px rgba(18, 46, 74, 0.13), 0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

html[data-theme="light"] .home-page .latest-game-card .card-art {
  min-height: 168px;
  aspect-ratio: auto;
  padding: 26px 30px 0;
  background:
    radial-gradient(circle at 14% 12%, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.18), transparent 34%),
    radial-gradient(circle at 88% 0%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.24), transparent 42%),
    linear-gradient(145deg, rgba(236, 248, 255, 0.96) 0%, rgba(214, 236, 250, 0.98) 100%);
  border-bottom: 1px solid rgba(0, 154, 214, 0.18);
}

html[data-theme="light"] .home-page .latest-game-card .card-art::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, transparent 42%),
    linear-gradient(
      135deg,
      hsla(var(--card-hue, var(--theme-card-art-default-hue)), 82%, 68%, 0.18) 0%,
      hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.18) 100%
    );
}

html[data-theme="light"] .home-page .latest-game-card .card-art::after {
  width: 120px;
  height: 120px;
  background:
    linear-gradient(135deg, transparent 48%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.18) 48%),
    linear-gradient(135deg, transparent 58%, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.14) 58%);
}

html[data-theme="light"] .home-page .latest-game-card .card-art .art-label {
  color: hsla(var(--theme-accent-h), 82%, 34%, 0.62);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  letter-spacing: 0.16em;
  text-shadow: 0 8px 24px rgba(0, 154, 214, 0.14);
}

.home-page .latest-game-card .card-content,
.home-page .featured-game-card .card-content,
.home-page .shop-card .card-content,
.home-page .blog-card .card-content {
  background: var(--theme-home-card-overlay);
}

html[data-theme="light"] .home-page .latest-game-card .card-content {
  position: relative;
  inset: auto;
  flex: 1;
  padding: 24px 25px 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 251, 255, 0.98) 100%);
}

html[data-theme="light"] .home-page .latest-game-card .card-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25px;
  right: 25px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--theme-secondary), var(--theme-accent));
  box-shadow: 0 8px 20px rgba(0, 154, 214, 0.16);
}

html[data-theme="light"] .home-page .latest-game-card .card-badge {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  margin-block-end: 20px;
  min-width: 108px;
  height: 32px;
  padding-inline: 16px;
  border: 0;
  background: transparent;
  color: var(--eerie-black-1);
  box-shadow: none;
}

html[data-theme="light"] .home-page .latest-game-card .card-badge::before {
  background: linear-gradient(135deg, var(--theme-accent) 0%, hsl(var(--theme-secondary-h), 88%, 60%) 100%);
  box-shadow: 0 10px 18px rgba(0, 154, 214, 0.16);
}

.home-page .latest-game-card .card-price,
.home-page .shop-card .card-price,
.home-page .blog-card .card-text {
  color: var(--light-gray-2);
}

.home-page .latest-game-card .card-price .span,
.home-page .featured-game-card .card-meta .span,
.home-page .shop-card .card-wrapper,
.home-page .blog-card .card-link {
  color: var(--white);
}

.home-page .latest-game-card .card-title,
.home-page .featured-game-card .card-title,
.home-page .shop-card .card-title,
.home-page .blog-card .card-title,
.home-page .blog-card .card-link {
  color: var(--white);
}

.home-page .latest-game-card .card-title:is(:hover, :focus),
.home-page .featured-game-card .card-title:is(:hover, :focus),
.home-page .shop-card .card-title:is(:hover, :focus),
.home-page .blog-card .card-title:is(:hover, :focus),
.home-page .blog-card .card-link:is(:hover, :focus) {
  color: var(--theme-secondary);
}

html[data-theme="light"] .home-page .latest-game-card__eyebrow {
  color: hsl(var(--theme-secondary-h), 82%, 42%);
}

html[data-theme="light"] .home-page .latest-game-card__meta {
  color: var(--theme-text-muted);
}

html[data-theme="light"] .home-page .latest-game-card .card-title {
  color: hsl(214, 46%, 11%);
}

html[data-theme="light"] .home-page .latest-game-card .card-title:is(:hover, :focus) {
  color: hsl(var(--theme-accent-h), 100%, 31%);
}

html[data-theme="light"] .home-page .latest-game-card .card-price {
  color: var(--theme-text-muted);
}

html[data-theme="light"] .home-page .latest-game-card .card-price .span {
  color: hsl(214, 46%, 11%);
}

html[data-theme="light"] .home-page .latest-game-card:is(:hover, :focus-within) {
  border-color: var(--theme-accent-border-strong);
  box-shadow:
    0 30px 64px rgba(18, 46, 74, 0.17),
    0 0 0 1px rgba(0, 154, 214, 0.18),
    0 0 28px rgba(0, 154, 214, 0.14);
  transform: translateY(-4px);
}

html[data-theme="light"] .home-page .latest-game-card:is(:hover, :focus-within) .card-art {
  filter: saturate(1.06);
}

.home-page .card-art::before,
.home-page .card-art-tall::before,
.home-page .shop-card-banner,
.home-page .blog-card-banner {
  filter: saturate(1.05);
}

.home-page .card-art .art-label,
.home-page .card-art-tall::after {
  color: var(--theme-home-card-art-label);
  text-shadow: var(--theme-home-card-art-label-shadow);
}

.home-page .live-match {
  padding-block-start: clamp(18px, 4vw, 40px);
}

.home-broadcast-shell {
  position: relative;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 30px;
  border: 1px solid var(--theme-border-regular);
  background: var(--theme-home-broadcast-bg);
  box-shadow: var(--theme-home-broadcast-shadow);
  overflow: hidden;
  isolation: isolate;
}

.home-broadcast-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 82px, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.025) 82px, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.025) 83px),
    repeating-linear-gradient(0deg, transparent, transparent 82px, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.025) 82px, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.025) 83px);
  opacity: 0.65;
  pointer-events: none;
}

.home-stream-grid {
  display: grid;
  gap: 22px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.home-stream-grid > * {
  min-width: 0;
}

.home-stream-stage {
  min-width: 0;
}

.home-page .live-match-banner {
  width: 100%;
  min-height: clamp(260px, 54vw, 520px);
  margin: 0;
  border: 1px solid var(--theme-border-regular);
  border-radius: 24px;
  box-shadow: var(--theme-home-live-stage-ring);
  isolation: isolate;
}

.home-page .live-match-stream,
.home-page .live-match-placeholder,
.home-page .live-match-stream iframe {
  width: 100%;
  height: 100%;
}

.home-page .live-match-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  border: 1px dashed hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.24);
  background: var(--theme-home-live-placeholder-bg);
}

.home-page .live-match-placeholder .ph-icon {
  font-size: clamp(3.8rem, 8vw, 5.8rem);
  line-height: 1;
  filter: drop-shadow(0 0 18px hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.28));
}

.home-page .live-match-placeholder p {
  max-width: 34ch;
  color: var(--light-gray-2);
}

.home-stream-sidebar {
  display: grid;
  gap: 18px;
  min-width: 0;
  align-content: start;
  position: relative;
  z-index: 1;
}

.home-stream-status {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--theme-border-regular);
  background: var(--theme-home-command-bg);
  box-shadow: var(--theme-home-command-shadow);
  min-width: 0;
  overflow: hidden;
}

.home-stream-status::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.45), transparent);
  pointer-events: none;
}

.home-stream-platform {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-block-end: 18px;
}

.home-stream-platform__icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid var(--theme-secondary-border);
  background: linear-gradient(135deg, hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.16) 0%, hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.08) 100%);
  color: var(--theme-secondary);
  font-size: 2.2rem;
}

.home-stream-platform__copy strong {
  display: block;
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-8);
  font-weight: var(--fw-700);
  text-transform: uppercase;
}

.home-stream-platform__label {
  display: block;
  color: var(--theme-text-subtle);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-block-end: 4px;
}

.home-stream-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-end: 16px;
}

.home-stream-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding-inline: 14px;
  border-radius: 999px;
  border: 1px solid var(--theme-secondary-border);
  background: hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.12);
  color: var(--white);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.home-stream-chip--ghost {
  border-color: var(--theme-border-regular);
  background: var(--theme-surface-overlay);
  color: var(--light-gray-2);
}

.home-page .live-match-time {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.98;
  margin-inline: 0;
  max-width: none;
  text-align: left;
  text-wrap: balance;
}

.home-page .live-match-time.is-empty {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  max-width: 11ch;
}

.home-page .live-match-copy {
  margin-block: 16px 24px;
  text-align: left;
  color: var(--light-gray-2);
  max-width: 34ch;
}

.home-page .home-stream-status .btn {
  margin-inline: 0;
}

.home-page .home-stream-queue {
  margin-block-start: 0;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid var(--theme-border-regular);
  background: var(--theme-home-stream-queue-bg);
}

.home-page .featured-stream-link {
  border-radius: 18px;
  border-color: var(--theme-border-regular);
  background: var(--theme-home-featured-link-bg);
}

.home-page .featured-stream-link__title {
  color: var(--white);
}

.home-page .featured-stream-link__meta {
  color: var(--light-gray-2);
}

.home-page .featured-game {
  position: relative;
}

.home-page .featured-game::before,
.home-page .blog::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--theme-home-section-highlight-bg);
  pointer-events: none;
}

.home-page .featured-game .section-title,
.home-page .blog .section-title {
  color: var(--white);
}

.home-tournament-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.home-tournament-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid var(--theme-border-regular);
  overflow: hidden;
  background: var(--theme-home-tournament-surface);
  --theme-card-rest-shadow: var(--theme-home-tournament-shadow);
  box-shadow: var(--theme-card-rest-shadow);
  isolation: isolate;
}

.home-tournament-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    var(--theme-home-tournament-art-overlay),
    var(
      --card-gradient,
      linear-gradient(
        160deg,
        hsl(var(--card-hue, var(--theme-card-home-tournament-default-hue)), var(--card-start-s, var(--theme-card-home-tournament-start-s)), var(--card-start-l, var(--theme-card-home-tournament-start-l))),
        hsl(var(--card-end-hue, var(--theme-card-home-tournament-end-h)), var(--card-end-s, var(--theme-card-home-tournament-end-s)), var(--card-end-l, var(--theme-card-home-tournament-end-l)))
      )
    );
  opacity: 0.95;
  z-index: -2;
}

.home-tournament-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--theme-home-tournament-overlay);
  z-index: -1;
}

html[data-theme="light"] .home-tournament-card {
  border-color: hsla(var(--theme-accent-h), 72%, 36%, 0.22);
}

html[data-theme="light"] .home-tournament-card:hover,
html[data-theme="light"] .home-tournament-card:focus-within {
  border-color: var(--theme-accent-border-strong);
  box-shadow: 0 30px 70px rgba(18, 46, 74, 0.18), 0 0 0 1px var(--theme-accent-border);
}

html[data-theme="light"] .home-tournament-card::before {
  background:
    var(--theme-home-tournament-art-overlay),
    linear-gradient(
      145deg,
      hsla(var(--theme-accent-h), 100%, 52%, 0.18) 0%,
      hsla(var(--theme-secondary-h), 92%, 58%, 0.08) 48%,
      rgba(255, 255, 255, 0.9) 100%
    );
  opacity: 1;
}

html[data-theme="light"] .home-tournament-card::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(240, 249, 255, 0.34) 34%, rgba(255, 255, 255, 0.92) 100%),
    linear-gradient(90deg, hsla(var(--theme-accent-h), 100%, 48%, 0.08), transparent 54%);
}

.home-tournament-card > * {
  min-width: 0;
}

html[data-theme="light"] .home-tournament-card > * {
  position: relative;
}

.home-tournament-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

html[data-theme="light"] .home-tournament-card__top::before {
  content: "";
  position: absolute;
  inset: -24px -24px auto -24px;
  height: 5px;
  background: linear-gradient(90deg, var(--theme-secondary), var(--theme-accent));
}

.home-tournament-card__game {
  margin: 0;
  color: var(--theme-secondary);
  font-size: var(--fs-10);
  font-weight: var(--fw-700);
  letter-spacing: 2px;
  text-transform: uppercase;
}

html[data-theme="light"] .home-tournament-card__game {
  color: var(--theme-secondary);
  text-shadow: 0 0 14px hsla(var(--theme-secondary-h), var(--theme-secondary-s), var(--theme-secondary-l), 0.16);
}

.home-tournament-card .status-pill {
  min-height: 32px;
  border-radius: 999px;
}

html[data-theme="light"] .home-tournament-card .status-pill {
  background: hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.12);
  border-color: var(--theme-accent-border);
  color: var(--theme-accent-text);
  box-shadow: 0 8px 18px rgba(0, 140, 191, 0.1);
}

.home-tournament-card__title {
  font-family: var(--ff-oxanium);
  font-size: clamp(2.4rem, 2.2vw, 3rem);
  font-weight: var(--fw-800);
  line-height: 1.02;
  max-width: 14ch;
}

.home-tournament-card__title a {
  color: var(--white);
}

.home-tournament-card__title a:is(:hover, :focus) {
  color: var(--theme-secondary);
}

.home-tournament-card__dates {
  margin: 0;
  color: var(--light-gray-2);
  font-size: var(--fs-10);
  text-transform: uppercase;
  letter-spacing: 1px;
}

html[data-theme="light"] .home-tournament-card__dates {
  color: hsl(214, 34%, 24%);
}

.home-tournament-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
}

.home-tournament-stat {
  min-width: 0;
  padding: 14px 12px;
  border-radius: 18px;
  border: 1px solid var(--theme-home-tournament-stat-border);
  background: var(--theme-home-tournament-stat-bg);
}

html[data-theme="light"] .home-tournament-stat {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 247, 255, 0.88));
  border-color: hsla(var(--theme-accent-h), 84%, 45%, 0.26);
  box-shadow: 0 10px 20px rgba(18, 46, 74, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.home-tournament-stat strong,
.home-tournament-stat span {
  display: block;
}

.home-tournament-stat strong {
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-8);
  font-weight: var(--fw-800);
  line-height: 1.1;
}

html[data-theme="light"] .home-tournament-stat strong {
  color: hsl(215, 54%, 10%);
}

.home-tournament-stat span {
  margin-top: 6px;
  color: var(--theme-text-subtle);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  letter-spacing: 1px;
  text-transform: uppercase;
}

html[data-theme="light"] .home-tournament-stat span {
  color: hsl(var(--theme-accent-h), 84%, 26%);
}

.home-tournament-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  width: max-content;
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: var(--fs-10);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.home-tournament-card__link ion-icon {
  color: var(--theme-secondary);
  font-size: 1.6rem;
}

html[data-theme="light"] .home-tournament-card__link {
  color: hsl(215, 54%, 10%);
  padding-block: 4px;
  border-bottom: 2px solid hsla(var(--theme-accent-h), var(--theme-accent-s), var(--theme-accent-l), 0.28);
}

.home-tournament-card__link:is(:hover, :focus) {
  color: var(--theme-secondary);
}

html[data-theme="light"] .home-tournament-card__link:is(:hover, :focus) {
  border-color: var(--theme-secondary);
  color: var(--theme-secondary);
}

.home-tournament-empty {
  position: relative;
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 32px);
  border-radius: 30px;
  border: 1px solid var(--theme-border-regular);
  background: var(--theme-home-empty-bg);
  box-shadow: var(--theme-home-empty-shadow);
  overflow: hidden;
  isolation: isolate;
}

.home-tournament-empty__copy {
  max-width: 52ch;
}

.home-tournament-empty__copy h3 {
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: clamp(3rem, 4vw, 4.6rem);
  font-weight: var(--fw-800);
  line-height: 0.98;
  max-width: 12ch;
  margin-block: 10px 14px;
}

.home-tournament-empty__copy p:last-of-type {
  color: var(--light-gray-2);
  max-width: 36ch;
  margin-bottom: 24px;
}

.home-tournament-empty__copy .btn {
  margin-inline: 0;
}

.home-placeholder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.home-placeholder-card {
  position: relative;
  min-height: 180px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--theme-border-regular);
  box-shadow: var(--theme-home-placeholder-shadow);
  overflow: hidden;
  background:
    var(--theme-home-placeholder-surface),
    var(
      --card-gradient,
      linear-gradient(
        160deg,
        hsl(var(--card-hue, var(--theme-card-home-placeholder-default-hue)), var(--card-start-s, var(--theme-card-home-placeholder-start-s)), var(--card-start-l, var(--theme-card-home-placeholder-start-l))),
        hsl(var(--card-end-hue, var(--theme-card-home-placeholder-end-h)), var(--card-end-s, var(--theme-card-home-placeholder-end-s)), var(--card-end-l, var(--theme-card-home-placeholder-end-l)))
      )
    );
}

.home-placeholder-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--theme-home-placeholder-overlay);
  pointer-events: none;
}

.home-placeholder-card > * {
  position: relative;
  z-index: 1;
}

.home-placeholder-card__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding-inline: 12px;
  border-radius: 999px;
  border: 1px solid var(--theme-home-placeholder-chip-border);
  background: var(--theme-home-placeholder-chip-bg);
  color: var(--theme-home-placeholder-chip-text);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.home-placeholder-card strong {
  display: block;
  margin-block: 18px 10px;
  color: var(--white);
  font-family: var(--ff-oxanium);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: var(--fw-800);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.home-placeholder-card p {
  color: var(--light-gray-2);
  max-width: 28ch;
}

.home-page .featured-game-card .card-content {
  bottom: 0;
}

.home-page .featured-game-card .card-meta {
  color: var(--light-gray-1);
}

.home-page .featured-game-card .card-content .card-meta {
  color: var(--light-gray-2);
}

.home-page .featured-game-card .card-content ion-icon {
  color: var(--theme-secondary);
}

.home-page .featured-game-card .card-content-overlay {
  background: var(--theme-home-featured-overlay);
  border: 1px solid var(--theme-secondary-border);
}

.home-page .featured-game-card .card-content-overlay .card-title,
.home-page .featured-game-card .card-content-overlay .span {
  color: var(--white);
}

.home-page .card-icon-shape {
  background: var(--theme-energy-fill);
}

.home-page .shop {
  position: relative;
}

.home-page .shop::before {
  opacity: 0.7;
}

.home-page .shop-card .card-content {
  padding-bottom: 28px;
}

.home-page .shop-card .card-wrapper {
  color: var(--white);
}

.home-page .shop-card .card-btn {
  border-color: var(--theme-border-regular);
  color: var(--theme-secondary);
}

.home-page .shop-card .card-btn:is(:hover, :focus) {
  background: var(--theme-energy-fill);
  color: var(--eerie-black-1);
  border-color: transparent;
}

.home-page .blog-list {
  gap: 24px;
}

.home-page .blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.home-page .blog-card .card-content {
  flex: 1;
  padding: 24px;
}

.home-page .blog-card .card-meta-item {
  color: var(--theme-text-subtle);
}

.home-page .blog-card .card-title,
.home-page .blog-card .card-link {
  color: var(--white);
}

.home-page .blog-card .card-text {
  color: var(--light-gray-2);
}

.home-page .newsletter {
  padding-block: 10px 90px;
  margin-block-end: 0;
  background: transparent;
}

.home-page .newsletter-card {
  margin-block-start: 0;
  padding: 30px 22px;
  border-radius: 28px;
  border: 1px solid var(--theme-border-regular);
  background: var(--theme-home-newsletter-bg);
  --theme-card-rest-shadow: var(--theme-home-newsletter-shadow);
  box-shadow: var(--theme-card-rest-shadow);
}

.home-newsletter-copy .section-subtitle {
  margin-block-end: 10px;
}

.home-page .newsletter .h2 {
  margin-block-end: 0;
  text-align: left;
}

.home-page .newsletter-form {
  margin-top: 24px;
}

.home-page .newsletter .input-wrapper::before {
  --bg: var(--theme-home-newsletter-input-bg);
}

.home-page .newsletter .email-field {
  color: var(--light-gray-1);
}

.home-page .newsletter-btn:is(:hover, :focus) {
  color: var(--eerie-black-1);
}

.home-page .newsletter-btn:is(:hover, :focus)::before {
  background: var(--theme-energy-fill);
}

:is(
  .latest-game-card,
  .featured-game-card,
  .shop-card,
  .blog-card,
  .blog-card--page,
  .newsletter-card,
  .kda-card,
  .event-card,
  .team-card,
  .player-card,
  .leaderboard-feature,
  .leaderboard-row,
  .bracket-match,
  .home-tournament-card,
  .home-placeholder-card
) {
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

:is(
  .latest-game-card,
  .featured-game-card,
  .shop-card,
  .blog-card,
  .blog-card--page,
  .newsletter-card,
  .kda-card,
  .event-card,
  .team-card,
  .player-card,
  .leaderboard-feature,
  .leaderboard-row,
  .bracket-match,
  .home-tournament-card,
  .home-placeholder-card
):is(:hover, :focus-within) {
  border-color: var(--theme-secondary);
  box-shadow: var(--theme-card-rest-shadow, 0 0 0 0 transparent), 0 0 0 1px var(--theme-secondary-border), 0 0 24px var(--theme-secondary-glow);
}

@media (min-width: 768px) {
  .home-page .home-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-latest-grid {
    grid-template-columns: repeat(2, minmax(0, var(--home-feature-card-width)));
  }

  .home-team-grid {
    grid-template-columns: repeat(2, minmax(0, var(--home-feature-card-width)));
  }

  .home-tournament-grid,
  .home-placeholder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    gap: 52px;
  }

  .home-page .home-hero-visual {
    align-self: stretch;
  }

  .home-stream-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 26px;
  }

  .home-tournament-empty {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    align-items: start;
  }

  .home-page .newsletter-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: 38px 34px;
  }

  .home-page .newsletter-form {
    flex: 0 1 540px;
    width: 100%;
    margin-top: 0;
  }
}

@media (min-width: 1200px) {
  .home-hero-grid {
    gap: 68px;
  }

  .home-latest-grid {
    grid-template-columns: repeat(3, minmax(0, var(--home-feature-card-width)));
  }

  .home-team-grid {
    grid-template-columns: repeat(3, minmax(0, var(--home-feature-card-width)));
  }

  .home-stream-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
  }

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

  .home-hero .hero-title {
    max-width: 10.5ch;
  }

  .home-page .home-hero-visual {
    width: min(100%, 530px);
  }

  .home-page .newsletter-card {
    padding-inline: 44px;
  }
}

@media (max-width: 767px) {
  html[data-theme="light"] .navbar {
    border: 1px solid var(--theme-border-regular);
    box-shadow: 0 18px 42px rgba(20, 34, 52, 0.14);
  }

  html[data-theme="light"] .navbar-link {
    color: var(--theme-text-muted);
  }

  html[data-theme="light"] .navbar-link:is(:hover, :focus),
  html[data-theme="light"] .navbar-link.active-link {
    background-color: var(--theme-news-filter-hover-bg);
    color: var(--theme-accent-text);
  }

  html[data-theme="light"] .navbar-features-panel {
    background: var(--theme-surface-soft-alt);
    border-block-start-color: var(--theme-border-subtle);
  }

  .home-hero-content {
    gap: 16px;
  }

  .home-hero-actions {
    gap: 12px;
  }

  .home-hero-actions .btn {
    min-width: 0;
    width: 100%;
  }

  .home-page .home-hero-stats {
    gap: 14px;
  }

  .home-hero-emblem-wrap {
    min-height: clamp(248px, 74vw, 320px);
    padding: 28px 22px 34px;
  }
  .page-hero {
    padding-block: clamp(60px, 16vw, 78px) clamp(22px, 7vw, 34px);
  }

  .page-hero .eyebrow {
    letter-spacing: 1.4px;
  }

  .page-hero h1 {
    line-height: 1.04;
  }

  .section-header {
    margin-block-end: var(--section-rhythm);
  }

  .score-banner {
    gap: 16px;
    margin-block-start: 34px;
  }

  .match-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .match-row .team-name.right,
  .match-row .score {
    text-align: left;
  }

  .schedule-row,
  .stat-line,
  .leaderboard-row,
  .leaderboard-feature,
  .article-shell,
  .browse-toolbar,
  .event-card,
  .team-card,
  .player-card {
    padding: 20px;
  }

  .schedule-row-end {
    width: 100%;
    justify-content: flex-start;
  }

  .leaderboard-rank {
    min-width: 60px;
    min-height: 60px;
  }

  .home-tournament-card__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-broadcast-shell,
  .home-tournament-empty {
    padding: 20px;
    border-radius: 24px;
  }

  .home-page .newsletter-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .home-page .live-match-banner {
    min-height: clamp(220px, 62vw, 360px);
  }
}

@media (max-width: 575px) {
  :root {
    --container-gutter: 14px;
  }

  .header-bottom {
    padding-block: 10px;
  }

  .header-bottom .container {
    flex-wrap: wrap;
    gap: 10px;
  }

  .mobile-site-status-tag {
    order: 3;
    width: 100%;
    max-width: none;
    min-height: 22px;
    font-size: 1rem;
  }

  .navbar-search-trigger,
  .navbar-user-trigger,
  .nav-toggle-btn {
    padding: 11px;
  }

  .nav-toggle-btn {
    font-size: 1.9rem;
  }

  .browse-filter-actions .btn,
  .article-admin-bar .btn,
  .pagination-btn {
    width: 100%;
  }

  .browse-clear,
  .pagination-status {
    width: 100%;
    text-align: center;
  }

  .kda-grid,
  .leaderboard-feature-metrics,
  .leaderboard-stats,
  .home-tournament-card__stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .score-team h2 {
    font-size: var(--fs-5);
  }

  .score-num {
    font-size: clamp(3.6rem, 14vw, 5rem);
  }

  .home-tournament-card,
  .home-placeholder-card {
    min-height: auto;
  }
}
