      *,
      *::before,
      *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }
      :root {
        --bg: #07070d;
        --surface: #111118;
        --surface2: #1a1a25;
        --border: rgba(255, 255, 255, 0.14);
        --accent: #f0c040;
        --accent2: #e05a20;
        --text: #f0ede8;
        --muted: #b4b4c4;
        --radius: 16px;
        --font-d: "Bebas Neue", sans-serif;
        --font-b: "DM Sans", sans-serif;
        --green: #3cc850;
        --red: #dc3c3c;
        --blue: #4090f0;
      }
      html {
        scroll-behavior: smooth;
      }
      body {
        background: var(--bg);
        color: var(--text);
        font-family: var(--font-b);
        min-height: 100dvh;
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
      }
      .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
      }
      .skip-link {
        position: fixed;
        top: 12px;
        left: 12px;
        z-index: 3000;
        padding: 10px 14px;
        border-radius: 999px;
        background: var(--accent);
        color: #000;
        text-decoration: none;
        font-weight: 700;
        transform: translateY(-150%);
        transition: transform 0.2s ease;
      }
      .skip-link:focus {
        transform: translateY(0);
      }
      :focus-visible {
        outline: 3px solid rgba(240, 192, 64, 0.95);
        outline-offset: 3px;
      }
      body::before {
        content: "";
        position: fixed;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
        pointer-events: none;
        z-index: 9999;
        opacity: 0.5;
      }
      body.splash-active {
        overflow: hidden;
      }

      /* SPLASH */
      #splash {
        position: fixed;
        inset: 0;
        padding: 24px;
        background: #0a0a0f;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2000;
        overflow: hidden;
        transition:
          opacity 0.75s ease,
          visibility 0.75s ease;
      }
      #splash::before {
        content: "";
        position: absolute;
        left: -20%;
        right: -20%;
        bottom: -16%;
        height: 64%;
        background:
          linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
          linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
        background-size: 72px 72px;
        transform: perspective(900px) rotateX(72deg);
        transform-origin: bottom;
        opacity: 0.22;
        animation: splashSweep 18s linear infinite;
      }
      #splash::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at center, transparent 34%, rgba(10, 10, 15, 0.42) 100%);
        pointer-events: none;
      }
      #splash.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
      }
      #splash.hidden .splash-panel {
        transform: translateY(22px) scale(0.97);
        opacity: 0;
      }
      .splash-panel {
        position: relative;
        z-index: 1;
        width: min(100%, 420px);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 22px;
        padding: 12px 10px;
        transition:
          transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
          opacity 0.45s ease;
      }
      .splash-logo-image {
        display: block;
        width: min(100%, 240px);
        height: auto;
        filter: drop-shadow(0 0 28px rgba(240, 192, 64, 0.16));
      }
      .splash-progress-track {
        position: relative;
        width: 100%;
        height: 12px;
        padding: 2px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.08);
        overflow: hidden;
        box-shadow:
          0 18px 40px rgba(0, 0, 0, 0.28),
          inset 0 1px 0 rgba(255, 255, 255, 0.05);
      }
      .splash-progress-bar {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 999px;
        background: linear-gradient(90deg, var(--accent2) 0%, var(--accent) 55%, #fff0b4 100%);
        box-shadow: 0 0 24px rgba(240, 192, 64, 0.35);
        transform: scaleX(0.06);
        transform-origin: left;
      }
      .splash-progress-bar::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
        transform: translateX(-100%);
        animation: splashShimmer 1.5s linear infinite;
      }
      .splash-progress-value {
        color: rgba(240, 237, 232, 0.82);
        font-family: var(--font-d);
        font-size: 24px;
        letter-spacing: 2px;
        line-height: 1;
        font-variant-numeric: tabular-nums;
      }
      @keyframes splashShimmer {
        to {
          transform: translateX(100%);
        }
      }
      @keyframes splashSweep {
        from {
          background-position: 0 0, 0 0;
        }
        to {
          background-position: 0 72px, 72px 0;
        }
      }
      @media (max-width: 680px) {
        #splash {
          padding: 18px;
        }
        .splash-panel {
          width: min(100%, 340px);
          gap: 18px;
        }
      }
      @media (max-width: 520px) {
        .splash-logo-image {
          width: min(100%, 210px);
        }
      }
      @media (prefers-reduced-motion: reduce) {
        html {
          scroll-behavior: auto;
        }
        *,
        *::before,
        *::after {
          animation-duration: 0.01ms !important;
          animation-iteration-count: 1 !important;
          transition-duration: 0.01ms !important;
        }
        #splash,
        .splash-panel,
        .splash-progress-bar::after,
        #splash::before {
          animation: none !important;
          transition: none !important;
        }
      }

      /* HEADER */
      header {
        position: sticky;
        top: 0;
        z-index: 100;
        background: rgba(7, 7, 13, 0.88);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        padding: 12px 16px;
      }
      .header-inner {
        max-width: 1180px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
      }
      .logo {
        font-family: var(--font-d);
        font-size: 26px;
        letter-spacing: 2px;
        flex-shrink: 0;
      }
      .logo-sport {
        color: var(--accent);
      }
      .logo-explorer {
        color: var(--accent2);
      }
      .logo-full {
        display: none;
      }
      .search-wrap {
        flex: 1;
        position: relative;
        min-width: 0;
      }
      .search-wrap svg {
        position: absolute;
        left: 11px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--muted);
        pointer-events: none;
      }
      #search {
        width: 100%;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 50px;
        padding: 9px 14px 9px 36px;
        color: var(--text);
        font-family: var(--font-b);
        font-size: 14px;
        outline: none;
        transition: border-color 0.2s;
      }
      #search::placeholder {
        color: var(--muted);
      }
      #search:focus {
        border-color: var(--accent);
      }
      #search:focus-visible,
      .profile-input:focus-visible,
      .filter-select:focus-visible,
      .sort-btn:focus-visible,
      .lang-btn:focus-visible,
      .nav-btn:focus-visible,
      .compare-pick:focus-visible,
      .quiz-opt:focus-visible,
      .quiz-next:focus-visible,
      .save-btn:focus-visible,
      .secondary-btn:focus-visible,
      .m-tab:focus-visible,
      .video-item:focus-visible,
      .csl-tag:focus-visible,
      .lvl-btn:focus-visible,
      .ps-toggle:focus-visible,
      .modal-close:focus-visible,
      .compare-option:focus-visible,
      .compare-close:focus-visible,
      .map-select:focus-visible {
        outline: none;
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(240, 192, 64, 0.24);
      }
      .lang-btn {
        flex-shrink: 0;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 7px 10px;
        color: var(--text);
        font-size: 12px;
        cursor: pointer;
        letter-spacing: 1px;
        transition: border-color 0.2s;
      }
      .lang-btn:hover,
      .lang-btn:focus-visible {
        border-color: var(--accent);
      }
      .desktop-nav {
        display: none;
      }
      .desktop-nav .nav-btn {
        min-width: auto;
        flex: 0 0 auto;
        flex-direction: row;
        gap: 0;
        padding: 10px 0;
        font-size: 12px;
        letter-spacing: 1px;
      }
      .desktop-nav .nav-btn svg {
        display: none;
      }

      /* MAIN */
      main {
        padding: 0 14px 100px;
        max-width: 1180px;
        margin: 0 auto;
      }

      /* HERO */
      .hero {
        padding: 28px 0 20px;
        animation: fadeUp 0.6s ease both;
      }
      .hero-eyebrow {
        font-size: 11px;
        letter-spacing: 3px;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: 8px;
      }
      .hero-title {
        font-family: var(--font-d);
        font-size: clamp(36px, 10vw, 54px);
        line-height: 0.95;
        letter-spacing: 1px;
      }
      .hero-title span {
        color: var(--accent2);
      }
      .hero-desc {
        margin-top: 10px;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.6;
        max-width: 420px;
      }
      .hero-panel {
        margin-top: 18px;
        padding: 18px;
        position: relative;
        isolation: isolate;
        border-radius: 24px;
        border: 1px solid var(--border);
        min-height: 220px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        background: url("../assets/sports/hero-encyclopedia.png") center / cover no-repeat;
        overflow: hidden;
      }
      .hero-panel::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
          linear-gradient(180deg, rgba(7, 7, 13, 0.34), rgba(7, 7, 13, 0.88)),
          radial-gradient(circle at top right, rgba(240, 192, 64, 0.16), transparent 34%);
        pointer-events: none;
      }
      .hero-panel > * {
        position: relative;
        z-index: 1;
      }
      .hero-panel-title {
        font-family: var(--font-d);
        font-size: 20px;
        letter-spacing: 1px;
        margin-bottom: 8px;
      }
      .hero-panel-copy {
        color: var(--muted);
        font-size: 13px;
        line-height: 1.7;
      }

      .sort-row {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        margin: 12px 0 16px;
      }
      .filter-select {
        min-width: 180px;
        max-width: 100%;
        background: var(--surface);
        border: 1px solid var(--border);
        color: var(--text);
        border-radius: 999px;
        padding: 10px 38px 10px 14px;
        font-family: var(--font-b);
        font-size: 13px;
        cursor: pointer;
        transition: all 0.2s ease;
        appearance: none;
        -webkit-appearance: none;
        background-image:
          linear-gradient(45deg, transparent 50%, var(--muted) 50%),
          linear-gradient(135deg, var(--muted) 50%, transparent 50%);
        background-position:
          calc(100% - 18px) calc(50% - 2px),
          calc(100% - 13px) calc(50% - 2px);
        background-size: 6px 6px, 6px 6px;
        background-repeat: no-repeat;
      }
      .filter-select:hover,
      .filter-select:focus {
        border-color: var(--accent);
        outline: none;
      }
      .sort-btn {
        background: var(--surface);
        border: 1px solid var(--border);
        color: var(--text);
        border-radius: 999px;
        padding: 10px 16px;
        font-family: var(--font-b);
        font-size: 13px;
        cursor: pointer;
        transition: all 0.2s ease;
      }
      .sort-btn:hover {
        border-color: var(--accent);
      }
      .sort-btn.active {
        background: var(--accent);
        color: #000;
        border-color: var(--accent);
      }
      .field-label {
        font-size: 12px;
        color: var(--muted);
      }
      @media (max-width: 560px) {
        .sort-row {
          justify-content: stretch;
        }
        .filter-select,
        .sort-btn {
          flex: 1 1 100%;
        }
      }

      /* GRID */
      .sports-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 11px;
        animation: fadeUp 0.5s 0.2s ease both;
      }
      @media (min-width: 500px) {
        .sports-grid {
          grid-template-columns: 1fr 1fr 1fr;
        }
      }
      @media (min-width: 980px) {
        .sports-grid {
          grid-template-columns: repeat(4, minmax(0, 1fr));
        }
      }
      @media (max-width: 560px) {
      }

      .sport-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 16px 13px;
        cursor: pointer;
        transition:
          transform 0.2s,
          border-color 0.2s,
          box-shadow 0.2s;
        display: flex;
        flex-direction: column;
        gap: 7px;
        position: relative;
        overflow: hidden;
      }
      .sport-open {
        appearance: none;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
        width: 100%;
        padding: 0;
        background: none;
        border: none;
        color: inherit;
        font: inherit;
        text-align: left;
        cursor: pointer;
      }
      .sport-media,
      .sport-name,
      .sport-cat,
      .sport-diff {
        position: relative;
        z-index: 1;
      }
      .sport-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
          135deg,
          rgba(240, 192, 64, 0.05),
          transparent
        );
        opacity: 0;
        transition: opacity 0.3s;
      }
      .sport-card:hover {
        transform: translateY(-3px);
        border-color: rgba(240, 192, 64, 0.3);
        box-shadow: 0 8px 28px rgba(240, 192, 64, 0.07);
      }
      .sport-card:focus-within {
        transform: translateY(-3px);
        border-color: rgba(240, 192, 64, 0.42);
        box-shadow: 0 8px 28px rgba(240, 192, 64, 0.1);
      }
      .sport-card:hover::before {
        opacity: 1;
      }
      .sport-card:active {
        transform: scale(0.97);
      }
      .sport-media {
        aspect-ratio: 4 / 3;
        border-radius: 14px;
        overflow: hidden;
        background: linear-gradient(135deg, rgba(240, 192, 64, 0.12), rgba(10, 10, 15, 0.9));
      }
      .sport-media-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
      .sport-emoji-badge {
        position: absolute;
        left: 10px;
        bottom: 10px;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        background: rgba(7, 7, 13, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(10px);
      }
      .sport-emoji {
        font-size: 30px;
        line-height: 1;
      }
      .sport-name {
        font-family: var(--font-d);
        font-size: 17px;
        letter-spacing: 0.5px;
        line-height: 1.1;
      }
      .sport-cat {
        font-size: 10px;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--muted);
      }
      .sport-diff {
        display: flex;
        gap: 3px;
        margin-top: 2px;
      }
      .diff-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--border);
      }
      .diff-dot.filled {
        background: var(--accent);
      }
      .fav-btn {
        position: absolute;
        top: 9px;
        right: 9px;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(7, 7, 13, 0.76);
        border: 1px solid rgba(255, 255, 255, 0.12);
        cursor: pointer;
        font-size: 15px;
        transition: transform 0.15s;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text);
      }
      .fav-btn:active {
        transform: scale(1.3);
      }

      /* MODAL */
      .modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.78);
        backdrop-filter: blur(12px);
        z-index: 200;
        opacity: 0;
        visibility: hidden;
        transition:
          opacity 0.3s,
          visibility 0.3s;
        display: flex;
        align-items: flex-end;
      }
      .modal-overlay.open {
        opacity: 1;
        visibility: visible;
      }
      .modal {
        background: var(--surface);
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        width: 100%;
        max-height: 93dvh;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.32, 1.15, 0.7, 1);
        padding-bottom: env(safe-area-inset-bottom, 24px);
      }
      .modal-overlay.open .modal {
        transform: translateY(0);
      }
      .modal-handle {
        width: 40px;
        height: 4px;
        border-radius: 99px;
        background: var(--border);
        margin: 14px auto 0;
      }
      .modal-header {
        padding: 18px 18px 0;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
      }
      .modal-emoji {
        font-size: 52px;
        line-height: 1;
      }
      .modal-close {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: var(--surface2);
        border: 1px solid var(--border);
        color: var(--muted);
        font-size: 17px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
      }
      .modal-title {
        font-family: var(--font-d);
        font-size: 38px;
        letter-spacing: 1px;
        line-height: 0.95;
        margin-top: 6px;
        padding: 0 18px;
      }
      .modal-cat {
        font-size: 11px;
        letter-spacing: 3px;
        text-transform: uppercase;
        color: var(--accent);
        padding: 4px 18px 0;
      }
      .modal-body {
        padding: 18px;
      }

      /* MODAL TABS */
      .modal-tabs {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        scrollbar-width: none;
        margin-bottom: 18px;
        padding-bottom: 2px;
      }
      .modal-tabs::-webkit-scrollbar {
        display: none;
      }
      .m-tab {
        flex-shrink: 0;
        padding: 7px 14px;
        border-radius: 50px;
        border: 1px solid var(--border);
        background: transparent;
        color: var(--muted);
        font-family: var(--font-b);
        font-size: 12px;
        cursor: pointer;
        transition: all 0.2s;
      }
      .m-tab.active {
        background: var(--surface2);
        border-color: var(--accent);
        color: var(--accent);
      }
      .m-tab[aria-selected="true"] {
        background: var(--surface2);
        border-color: var(--accent);
        color: var(--accent);
      }
      .tab-panel {
        display: none;
      }
      .tab-panel.active {
        display: block;
      }

      .tag-row {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 18px;
      }
      .tag {
        padding: 4px 11px;
        border-radius: 50px;
        background: var(--surface2);
        border: 1px solid var(--border);
        font-size: 12px;
        color: var(--muted);
      }
      .tag.hl {
        border-color: var(--accent2);
        color: var(--accent2);
      }
      .section {
        margin-bottom: 22px;
      }
      .section-title {
        font-family: var(--font-d);
        font-size: 21px;
        letter-spacing: 0.5px;
        margin-bottom: 9px;
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .section-title::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--border);
      }
      .section p {
        color: var(--muted);
        font-size: 14px;
        line-height: 1.7;
      }
      .insight-grid {
        display: grid;
        gap: 10px;
      }
      .insight-card {
        background: var(--surface2);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 13px;
      }
      .insight-label {
        font-size: 10px;
        letter-spacing: 1.4px;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 6px;
      }
      .insight-value {
        font-size: 13px;
        line-height: 1.65;
        color: var(--text);
      }
      .rules-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 9px;
      }
      .rules-list li {
        display: flex;
        gap: 11px;
        background: var(--surface2);
        border-radius: 10px;
        padding: 11px 13px;
        font-size: 13px;
        line-height: 1.5;
        color: var(--muted);
      }
      .rule-num {
        font-family: var(--font-d);
        font-size: 20px;
        color: var(--accent);
        flex-shrink: 0;
        line-height: 1;
      }
      .disciplines-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
      }
      .disc-card {
        background: var(--surface2);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 11px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        overflow: hidden;
      }
      .disc-name {
        font-weight: 600;
        font-size: 13px;
        margin-bottom: 4px;
      }
      .disc-desc {
        font-size: 11px;
        color: var(--muted);
        line-height: 1.4;
      }
      .disc-spotlight {
        border-top: 1px solid var(--border);
        padding-top: 10px;
        display: grid;
        gap: 10px;
        min-width: 0;
      }
      .disc-spotlight-media {
        width: 100%;
        aspect-ratio: 3 / 4;
        max-height: clamp(260px, 50vw, 360px);
        border-radius: 10px;
        overflow: hidden;
        background: rgba(10, 10, 15, 0.9);
      }
      .disc-spotlight-photo {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
        object-position: center center;
      }
      .disc-spotlight-label {
        font-size: 10px;
        letter-spacing: 1.4px;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: 4px;
      }
      .disc-spotlight-name {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 4px;
        color: var(--text);
      }
      .disc-spotlight-desc {
        font-size: 12px;
        line-height: 1.5;
        color: var(--muted);
      }
      .gallery-grid {
        display: grid;
        gap: 12px;
      }
      .gallery-card {
        background: var(--surface2);
        border: 1px solid var(--border);
        border-radius: 16px;
        overflow: hidden;
      }
      .gallery-media {
        width: 100%;
        display: block;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        background: linear-gradient(135deg, rgba(240, 192, 64, 0.12), rgba(10, 10, 15, 0.9));
      }
      .gallery-card.info-only {
        padding: 13px;
      }
      .gallery-card.info-only .gallery-caption {
        padding: 0;
      }
      .gallery-caption {
        padding: 13px;
      }
      .gallery-label {
        font-size: 10px;
        letter-spacing: 1.4px;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 5px;
      }
      .gallery-text {
        font-size: 13px;
        line-height: 1.6;
        color: var(--muted);
      }
      .quick-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
      }
      .quick-card {
        background: var(--surface2);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 12px;
      }
      .quick-label {
        font-size: 10px;
        letter-spacing: 1.4px;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 5px;
      }
      .quick-value {
        font-size: 13px;
        line-height: 1.5;
        color: var(--text);
      }
      .explain-grid,
      .rule-highlight-grid {
        display: grid;
        gap: 10px;
      }
      .explain-card,
      .rule-highlight-card {
        background: var(--surface2);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 13px;
      }
      .explain-card h4,
      .rule-highlight-card h4 {
        font-size: 13px;
        margin-bottom: 6px;
        color: var(--text);
      }
      .explain-card p,
      .rule-highlight-card p {
        font-size: 13px;
        line-height: 1.6;
        color: var(--muted);
      }
      .disc-intro {
        font-size: 13px;
        line-height: 1.6;
        color: var(--muted);
        margin-bottom: 12px;
      }
      .fun-fact {
        background: linear-gradient(
          135deg,
          rgba(240, 192, 64, 0.08),
          rgba(224, 90, 32, 0.08)
        );
        border: 1px solid rgba(240, 192, 64, 0.2);
        border-radius: 12px;
        padding: 15px;
        font-size: 13px;
        line-height: 1.6;
        color: var(--text);
        position: relative;
        overflow: hidden;
      }
      .fun-fact::before {
        content: "💡";
        font-size: 26px;
        position: absolute;
        right: 12px;
        bottom: 8px;
        opacity: 0.3;
      }

      /* VIDEO LIST */
      .video-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      .video-item {
        display: flex;
        align-items: center;
        gap: 12px;
        background: var(--surface2);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 13px;
        cursor: pointer;
        text-decoration: none;
        transition: border-color 0.2s;
      }
      .video-item:hover {
        border-color: rgba(255, 60, 60, 0.4);
      }
      .video-thumb {
        width: 48px;
        height: 36px;
        background: rgba(255, 60, 60, 0.15);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        flex-shrink: 0;
      }
      .video-info .vt {
        font-size: 13px;
        font-weight: 500;
        color: var(--text);
        margin-bottom: 3px;
      }
      .video-info .vs {
        font-size: 11px;
        color: var(--muted);
      }

      /* COMPARE */
      .compare-sel {
        display: flex;
        gap: 8px;
        margin-bottom: 16px;
      }
      .compare-pick {
        appearance: none;
        flex: 1;
        background: var(--surface2);
        border: 1px solid var(--border);
        border-radius: 12px;
        color: inherit;
        font: inherit;
        padding: 10px;
        cursor: pointer;
        text-align: center;
        transition: border-color 0.2s;
      }
      .compare-pick:hover {
        border-color: var(--accent);
      }
      .compare-pick.selected {
        border-color: var(--accent);
        background: rgba(240, 192, 64, 0.06);
      }
      .compare-pick .cp-emoji {
        font-size: 28px;
        margin-bottom: 4px;
      }
      .compare-pick .cp-name {
        font-size: 13px;
        font-weight: 600;
      }
      .compare-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 13px;
      }
      .compare-table caption {
        margin-bottom: 10px;
        text-align: left;
      }
      .compare-table thead th {
        font-family: var(--font-d);
        font-size: 16px;
        letter-spacing: 0.5px;
        padding: 10px;
        text-align: center;
        border-bottom: 1px solid var(--border);
      }
      .compare-table td,
      .compare-table tbody th {
        padding: 9px 10px;
        border-bottom: 1px solid var(--border);
        color: var(--muted);
        vertical-align: top;
      }
      .compare-table tbody th {
        color: var(--text);
        font: inherit;
        font-weight: 500;
        white-space: nowrap;
        text-align: left;
      }
      .compare-table td:not(:first-child) {
        text-align: center;
      }
      .compare-table tr:last-child td,
      .compare-table tr:last-child th {
        border-bottom: none;
      }
      .cmp-badge {
        display: inline-block;
        padding: 3px 10px;
        border-radius: 50px;
        font-size: 11px;
      }
      .cmp-green {
        background: rgba(60, 200, 80, 0.15);
        color: var(--green);
        border: 1px solid rgba(60, 200, 80, 0.3);
      }
      .cmp-blue {
        background: rgba(64, 144, 240, 0.12);
        color: var(--blue);
        border: 1px solid rgba(64, 144, 240, 0.3);
      }
      .compare-overlay {
        position: fixed;
        inset: 0;
        z-index: 500;
        display: flex;
        align-items: flex-end;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
      }
      .compare-dialog {
        width: 100%;
        max-height: 78dvh;
        overflow-y: auto;
        padding: 20px;
        border-radius: 24px 24px 0 0;
        background: var(--surface);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
      }
      .compare-dialog-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 14px;
      }
      .compare-dialog-title {
        font-family: var(--font-d);
        font-size: 28px;
        letter-spacing: 0.5px;
      }
      .compare-close {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
        border-radius: 50%;
        border: 1px solid var(--border);
        background: var(--surface2);
        color: var(--text);
        cursor: pointer;
      }
      .compare-option-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
      }
      .compare-option {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        min-height: 90px;
        padding: 12px;
        border-radius: 12px;
        border: 1px solid var(--border);
        background: var(--surface2);
        color: var(--text);
        cursor: pointer;
      }
      .compare-option:hover {
        border-color: var(--accent);
      }
      .compare-option-emoji {
        font-size: 24px;
      }
      .compare-option-name {
        font-size: 12px;
        font-weight: 600;
        text-align: center;
      }
      .compare-cancel {
        margin-top: 16px;
        width: 100%;
      }
      @media (max-width: 560px) {
        .compare-option-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
      }

      /* CALENDAR */
      .cal-filter {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        scrollbar-width: none;
        margin-bottom: 14px;
        padding-bottom: 4px;
      }
      .cal-filter::-webkit-scrollbar {
        display: none;
      }
      .cal-pill {
        flex-shrink: 0;
        padding: 6px 13px;
        border-radius: 50px;
        border: 1px solid var(--border);
        background: var(--surface);
        color: var(--muted);
        font-size: 12px;
        cursor: pointer;
        transition: all 0.2s;
        white-space: nowrap;
      }
      .cal-pill.active {
        background: var(--accent);
        border-color: var(--accent);
        color: #000;
        font-weight: 700;
      }
      .event-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      .event-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-left: 3px solid var(--accent);
        border-radius: 12px;
        padding: 14px;
        display: flex;
        gap: 14px;
        align-items: flex-start;
      }
      .event-date-box {
        text-align: center;
        flex-shrink: 0;
        background: var(--surface2);
        border-radius: 10px;
        padding: 8px 12px;
        min-width: 52px;
      }
      .event-date-box .eday {
        font-family: var(--font-d);
        font-size: 26px;
        line-height: 1;
        color: var(--accent);
      }
      .event-date-box .emon {
        font-size: 10px;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: var(--muted);
      }
      .event-sport-media {
        width: 84px;
        height: 84px;
        flex-shrink: 0;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid var(--border);
        background: var(--surface2);
      }
      .event-sport-thumb {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
      .event-info {
        min-width: 0;
      }
      .event-info .etitle {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 3px;
      }
      .event-info .eloc {
        font-size: 12px;
        color: var(--muted);
      }
      .event-info .esport {
        display: inline-block;
        margin-top: 5px;
        padding: 2px 9px;
        border-radius: 50px;
        background: var(--surface2);
        border: 1px solid var(--border);
        font-size: 11px;
        color: var(--muted);
      }
      .event-card.soon {
        border-left-color: var(--accent2);
      }
      .event-card.happening {
        border-left-color: var(--green);
        animation: glow 2s ease infinite;
      }
      @keyframes glow {
        0%,
        100% {
          box-shadow: 0 0 0 rgba(60, 200, 80, 0);
        }
        50% {
          box-shadow: 0 0 12px rgba(60, 200, 80, 0.2);
        }
      }

      /* MAP */
      .map-controls {
        margin-bottom: 12px;
      }
      .map-select {
        width: 100%;
        max-width: 280px;
        padding: 10px 44px 10px 14px;
        border-radius: 999px;
        border: 1px solid var(--border);
        background: var(--surface);
        color: var(--text);
        font: inherit;
        appearance: none;
        -webkit-appearance: none;
        background-image:
          linear-gradient(45deg, transparent 50%, var(--muted) 50%),
          linear-gradient(135deg, var(--muted) 50%, transparent 50%);
        background-position:
          calc(100% - 20px) calc(50% - 2px),
          calc(100% - 15px) calc(50% - 2px);
        background-size: 6px 6px, 6px 6px;
        background-repeat: no-repeat;
      }
      #world-map-wrap {
        position: relative;
        width: 100%;
        overflow: hidden;
        border-radius: 18px;
        background:
          radial-gradient(circle at top left, rgba(64, 144, 240, 0.12), transparent 26%),
          linear-gradient(180deg, #0d1724, #101826);
        border: 1px solid var(--border);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
      }
      #world-map-wrap svg {
        width: 100%;
        height: auto;
        display: block;
        touch-action: manipulation;
      }
      .map-base {
        fill: rgba(95, 140, 196, 0.14);
        stroke: rgba(95, 140, 196, 0.28);
        stroke-width: 1.2;
      }
      .map-grid {
        stroke: rgba(255, 255, 255, 0.05);
        stroke-width: 1;
      }
      .map-route {
        stroke: rgba(240, 192, 64, 0.08);
        stroke-width: 1.3;
      }
      .map-country {
        fill: var(--surface);
        stroke: var(--border);
        stroke-width: 0.5;
        cursor: pointer;
        transition: fill 0.2s;
      }
      .map-country:hover,
      .map-country.active {
        fill: rgba(240, 192, 64, 0.4);
      }
      .map-tooltip {
        position: absolute;
        background: rgba(7, 7, 13, 0.95);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 10px 13px;
        font-size: 13px;
        pointer-events: none;
        z-index: 10;
        max-width: 200px;
        display: none;
      }
      .map-tooltip.visible {
        display: block;
      }
      .map-legend {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
      }
      .map-legend-item {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        color: var(--muted);
      }
      .map-legend-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
      }
      .country-sport-list {
        margin-top: 14px;
        background: var(--surface2);
        border-radius: 12px;
        padding: 14px;
        display: none;
      }
      .country-sport-list.visible {
        display: block;
      }
      .csl-title {
        font-family: var(--font-d);
        font-size: 20px;
        margin-bottom: 10px;
      }
      .csl-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }
      .csl-tag {
        appearance: none;
        padding: 6px 13px;
        border-radius: 50px;
        background: var(--surface);
        border: 1px solid var(--border);
        font-size: 13px;
        cursor: pointer;
        transition: border-color 0.2s;
        color: var(--text);
      }
      .csl-tag:hover {
        border-color: var(--accent);
      }

      /* PROFILE */
      #profile-view.view-active {
        display: grid !important;
        grid-template-columns: minmax(290px, 340px) minmax(0, 1fr);
        gap: 24px;
        align-items: start;
        position: relative;
      }
      #profile-view.profile-page::before {
        content: "";
        position: absolute;
        inset: -12px -16px auto auto;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(240, 192, 64, 0.12), transparent 68%);
        pointer-events: none;
        filter: blur(6px);
      }
      .profile-page-title {
        grid-column: 1 / -1;
        margin-bottom: 0;
        max-width: 12ch;
      }
      .profile-section {
        margin-bottom: 22px;
      }
      .profile-panel {
        position: relative;
        overflow: hidden;
        padding: 22px;
        border-radius: 28px;
        border: 1px solid rgba(240, 192, 64, 0.12);
        background:
          linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
          radial-gradient(circle at top right, rgba(240, 192, 64, 0.12), transparent 38%),
          var(--surface);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
        backdrop-filter: blur(10px);
      }
      .profile-panel::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        border: 1px solid rgba(255, 255, 255, 0.03);
        pointer-events: none;
      }
      .profile-panel-primary {
        position: sticky;
        top: 92px;
        margin-bottom: 0;
      }
      .profile-panel-sports {
        margin-bottom: 0;
      }
      .profile-avatar {
        width: 88px;
        height: 88px;
        border-radius: 24px;
        background:
          radial-gradient(circle at top left, rgba(255, 255, 255, 0.35), transparent 40%),
          linear-gradient(135deg, var(--accent), var(--accent2));
        box-shadow: 0 20px 40px rgba(240, 192, 64, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 38px;
        margin-bottom: 16px;
      }
      .profile-input {
        width: 100%;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 13px 16px;
        color: var(--text);
        font-family: var(--font-b);
        font-size: 15px;
        outline: none;
        margin-bottom: 12px;
        transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
      }
      .profile-input:focus {
        border-color: var(--accent);
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 0 0 0 4px rgba(240, 192, 64, 0.08);
      }
      .profile-status {
        min-height: 0;
        margin-bottom: 16px;
        font-size: 12px;
        color: var(--accent);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 0;
      }
      .profile-status:empty {
        display: none;
        margin-bottom: 0;
      }
      .profile-status:not(:empty) {
        padding: 8px 12px;
        border-radius: 999px;
        border: 1px solid rgba(240, 192, 64, 0.16);
        background: rgba(240, 192, 64, 0.08);
      }
      .profile-sports-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
        gap: 12px;
        margin-top: 14px;
      }
      .ps-card {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 146px;
        background:
          linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
          var(--surface2);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 18px;
        padding: 14px;
        transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease,
          background 0.2s ease;
        text-align: left;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
      }
      .ps-card:hover {
        border-color: var(--accent);
        transform: translateY(-2px);
        box-shadow: 0 20px 34px rgba(0, 0, 0, 0.18);
      }
      .ps-card.selected {
        background:
          radial-gradient(circle at top right, rgba(240, 192, 64, 0.18), transparent 42%),
          rgba(240, 192, 64, 0.08);
        border-color: var(--accent);
        box-shadow: 0 22px 42px rgba(240, 192, 64, 0.12);
      }
      .ps-card.selected::after {
        content: "●";
        position: absolute;
        top: 12px;
        right: 12px;
        color: var(--accent);
        font-size: 10px;
      }
      .ps-toggle {
        width: 100%;
        padding: 0;
        border: none;
        background: none;
        color: inherit;
        font: inherit;
        cursor: pointer;
        text-align: inherit;
        display: block;
      }
      .ps-card .ps-e {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.05);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 25px;
        margin-bottom: 10px;
      }
      .ps-card .ps-n {
        font-size: 13px;
        font-weight: 700;
        line-height: 1.35;
      }
      .ps-card .ps-lvl {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 10px;
        color: var(--muted);
        margin-top: 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
      }
      .level-sel {
        display: flex;
        gap: 6px;
        margin-top: 12px;
      }
      .lvl-btn {
        flex: 1;
        padding: 7px 5px;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: var(--surface);
        color: var(--muted);
        font-size: 11px;
        cursor: pointer;
        transition: all 0.2s;
        text-align: center;
      }
      .lvl-btn.active {
        background: var(--accent);
        border-color: var(--accent);
        color: #000;
        font-weight: 700;
      }
      .stats-row {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 12px;
        margin-bottom: 20px;
      }
      .stat-box {
        background:
          linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
          rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 18px;
        padding: 15px 14px;
        text-align: left;
      }
      .stat-box .sv {
        font-family: var(--font-d);
        font-size: 32px;
        color: var(--accent);
        line-height: 1;
      }
      .stat-box .sl {
        font-size: 11px;
        color: var(--muted);
        margin-top: 8px;
        text-transform: uppercase;
        letter-spacing: 1px;
      }
      .save-btn {
        width: 100%;
        background: linear-gradient(135deg, var(--accent), var(--accent2));
        color: #000;
        font-weight: 700;
        font-size: 14px;
        border: none;
        border-radius: 16px;
        padding: 14px 16px;
        cursor: pointer;
        transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
        box-shadow: 0 16px 34px rgba(240, 192, 64, 0.24);
      }
      .profile-actions {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 10px;
        margin-top: 12px;
      }
      .secondary-btn {
        width: 100%;
        background: rgba(255, 255, 255, 0.03);
        color: var(--text);
        font-weight: 600;
        font-size: 13px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        padding: 12px;
        cursor: pointer;
        transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
      }
      .secondary-btn:hover {
        border-color: var(--accent);
        color: var(--accent);
      }
      .save-btn:hover {
        opacity: 0.9;
        transform: translateY(-1px);
        box-shadow: 0 22px 40px rgba(240, 192, 64, 0.28);
      }
      .profile-section-title {
        justify-content: space-between;
        margin-bottom: 0 !important;
      }
      .profile-count-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 34px;
        height: 34px;
        padding: 0 12px;
        border-radius: 999px;
        border: 1px solid rgba(240, 192, 64, 0.18);
        background: rgba(240, 192, 64, 0.08);
        color: var(--accent);
        font-family: var(--font-d);
        font-size: 18px;
        line-height: 1;
      }
      @media (max-width: 980px) {
        #profile-view.view-active {
          grid-template-columns: 1fr;
        }
        .profile-panel-primary {
          position: relative;
          top: auto;
        }
      }
      @media (max-width: 560px) {
        .stats-row {
          grid-template-columns: 1fr;
        }
        .profile-actions {
          grid-template-columns: 1fr;
        }
        .profile-sports-grid {
          grid-template-columns: 1fr 1fr;
        }
      }
      @media (max-width: 420px) {
        .profile-sports-grid {
          grid-template-columns: 1fr;
        }
      }

      /* QUIZ */
      .quiz-header-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 18px;
      }
      .quiz-header-row .view-title {
        margin-bottom: 0;
      }
      .quiz-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 22px;
      }
      .quiz-q {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.5;
        margin-bottom: 18px;
      }
      .quiz-opts {
        display: flex;
        flex-direction: column;
        gap: 9px;
      }
      .quiz-opt {
        background: var(--surface2);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 13px 15px;
        text-align: left;
        color: var(--text);
        font-family: var(--font-b);
        font-size: 14px;
        cursor: pointer;
        transition: all 0.2s;
      }
      .quiz-opt:hover {
        border-color: var(--accent);
      }
      .quiz-opt.correct {
        background: rgba(60, 200, 80, 0.15);
        border-color: #3cc850;
        color: #3cc850;
      }
      .quiz-opt.wrong {
        background: rgba(220, 60, 60, 0.15);
        border-color: #dc3c3c;
        color: #dc3c3c;
      }
      .quiz-opt:disabled {
        cursor: default;
      }
      .quiz-next {
        background: var(--surface2);
        border: 1px solid var(--border);
        border-radius: 50px;
        padding: 11px 22px;
        color: var(--text);
        font-family: var(--font-b);
        font-size: 13px;
        cursor: pointer;
        margin-top: 14px;
        transition: border-color 0.2s;
        display: none;
      }
      .quiz-next:hover {
        border-color: var(--accent);
      }
      .quiz-next.visible {
        display: inline-block;
      }
      .progress-bar {
        height: 4px;
        background: var(--surface2);
        border-radius: 99px;
        margin-bottom: 16px;
        overflow: hidden;
      }
      .quiz-status-card {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 16px;
        margin-bottom: 14px;
        padding: 14px 16px;
        border-radius: 18px;
        border: 1px solid rgba(240, 192, 64, 0.16);
        background:
          linear-gradient(135deg, rgba(240, 192, 64, 0.1), rgba(240, 192, 64, 0.02)),
          var(--surface);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
      }
      .quiz-status-item {
        min-width: 0;
      }
      .quiz-status-label {
        color: var(--muted);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        margin-bottom: 6px;
      }
      .quiz-status-value {
        color: var(--text);
        font-family: var(--font-d);
        font-size: 27px;
        line-height: 1;
      }
      .quiz-status-separator {
        width: 1px;
        align-self: stretch;
        background: linear-gradient(180deg, transparent, rgba(240, 192, 64, 0.3), transparent);
      }
      .quiz-best-score-card {
        min-width: 168px;
        padding: 12px 14px;
        border-radius: 16px;
        border: 1px solid rgba(240, 192, 64, 0.24);
        background:
          radial-gradient(circle at top right, rgba(240, 192, 64, 0.18), transparent 54%),
          linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
          var(--surface);
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
      }
      .quiz-best-score-label {
        color: var(--muted);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        margin-bottom: 6px;
      }
      .quiz-best-score-value {
        color: var(--accent);
        font-family: var(--font-d);
        font-size: 28px;
        line-height: 1;
      }
      .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, var(--accent), var(--accent2));
        border-radius: 99px;
        transition: width 0.4s ease;
      }
      @media (max-width: 680px) {
        .quiz-header-row {
          flex-direction: column;
          align-items: stretch;
        }
        .quiz-status-card {
          grid-template-columns: 1fr;
          gap: 12px;
        }
        .quiz-status-separator {
          width: 100%;
          height: 1px;
        }
        .quiz-best-score-card {
          min-width: 0;
        }
      }

      /* VIEWS */
      #fav-view,
      #quiz-view,
      #compare-view,
      #map-view,
      #cal-view,
      #profile-view {
        display: none;
        padding: 22px 0;
      }
      .view-active {
        display: block !important;
      }
      .view-title {
        font-family: var(--font-d);
        font-size: 34px;
        letter-spacing: 1px;
        margin-bottom: 18px;
      }
      .empty-state {
        text-align: center;
        padding: 50px 20px;
        color: var(--muted);
      }
      .empty-state .big {
        font-size: 52px;
        margin-bottom: 10px;
      }

      /* BOTTOM NAV */
      .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(7, 7, 13, 0.92);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border);
        display: flex;
        padding-bottom: env(safe-area-inset-bottom, 0);
        z-index: 100;
        overflow: hidden;
        scrollbar-width: none;
      }
      .bottom-nav::-webkit-scrollbar {
        display: none;
      }
      .nav-btn {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 10px 0;
        background: none;
        border: none;
        color: var(--muted);
        font-size: 9px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        cursor: pointer;
        transition: color 0.2s;
        white-space: nowrap;
      }
      .nav-btn svg {
        width: 20px;
        height: 20px;
      }
      .nav-btn.active {
        color: var(--accent);
      }
      .nav-btn:active {
        transform: scale(0.92);
      }
      .mobile-more-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(3, 3, 8, 0.72);
        backdrop-filter: blur(8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
        z-index: 98;
      }
      .mobile-more-backdrop.open {
        opacity: 1;
        pointer-events: auto;
      }
      .mobile-more-sheet {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(74px + env(safe-area-inset-bottom, 0px));
        display: grid;
        gap: 8px;
        padding: 10px;
        border: 1px solid rgba(240, 192, 64, 0.18);
        border-radius: 20px;
        background:
          linear-gradient(180deg, rgba(22, 22, 31, 0.99), rgba(12, 12, 18, 0.99));
        box-shadow:
          0 24px 60px rgba(0, 0, 0, 0.55),
          0 0 0 1px rgba(255, 255, 255, 0.04) inset;
        opacity: 0;
        transform: translateY(12px);
        pointer-events: none;
        transition:
          opacity 0.2s ease,
          transform 0.2s ease;
        z-index: 99;
      }
      .mobile-more-sheet.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
      }
      .mobile-more-sheet .nav-btn {
        flex: none;
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        padding: 14px 16px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.045);
        border: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 12px;
        letter-spacing: 0.8px;
      }
      .mobile-more-sheet .nav-btn.active {
        background: rgba(240, 192, 64, 0.12);
        border-color: rgba(240, 192, 64, 0.22);
      }
      .mobile-more-sheet .nav-btn svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
      }

      /* NO RESULTS */
      .no-results {
        text-align: center;
        padding: 36px 20px;
        color: var(--muted);
      }

      /* LANG DROPDOWN */
      .lang-dropdown {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 12px;
        overflow: hidden;
        z-index: 999;
        display: none;
        min-width: 130px;
      }
      .lang-dropdown.open {
        display: block;
      }
      .lang-opt {
        width: 100%;
        border: none;
        background: none;
        color: var(--text);
        text-align: left;
        padding: 10px 16px;
        font-size: 13px;
        cursor: pointer;
        transition: background 0.15s;
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .lang-opt:hover {
        background: var(--surface2);
      }
      .lang-opt.active {
        color: var(--accent);
      }
      .lang-wrap {
        position: relative;
      }

      /* ANIM */
      @keyframes fadeUp {
        from {
          opacity: 0;
          transform: translateY(14px);
        }
        to {
          opacity: 1;
          transform: none;
        }
      }
      @media (min-width: 640px) {
        .explain-grid,
        .rule-highlight-grid,
        .insight-grid {
          grid-template-columns: 1fr 1fr;
        }
      }
      @media (min-width: 900px) {
        main {
          padding-bottom: 40px;
        }
        .header-inner {
          display: grid;
          grid-template-columns: auto auto minmax(280px, 1fr) auto;
          grid-template-areas: "brand nav search lang";
          row-gap: 0;
          column-gap: 14px;
          align-items: center;
          padding: 2px 0;
        }
        .logo {
          grid-area: brand;
          font-size: 22px;
          white-space: nowrap;
          margin-right: 28px;
        }
        .logo-short {
          display: none;
        }
        .logo-full {
          display: inline;
        }
        .desktop-nav {
          grid-area: nav;
          display: flex;
          align-items: center;
          gap: 18px;
          justify-content: flex-start;
          min-width: 0;
          margin-left: 22px;
          margin-right: 10px;
        }
        .desktop-nav .nav-btn {
          border-bottom: 2px solid transparent;
          border-radius: 0;
          padding: 10px 0;
          font-size: 11px;
          letter-spacing: 0.9px;
        }
        .desktop-nav .nav-btn.active {
          border-bottom-color: var(--accent);
        }
        .search-wrap {
          grid-area: search;
          max-width: 300px;
          width: 100%;
          justify-self: end;
        }
        #search {
          height: 36px;
          padding-left: 34px;
          font-size: 12px;
        }
        .search-wrap svg {
          left: 12px;
        }
        .lang-wrap {
          grid-area: lang;
          justify-self: end;
          margin-left: 4px;
        }
        .lang-btn {
          min-width: 68px;
          height: 38px;
          border-radius: 10px;
          font-size: 11px;
          padding: 6px 9px;
        }
        .bottom-nav {
          display: none;
        }
        .mobile-more-backdrop,
        .mobile-more-sheet {
          display: none;
        }
        .hero {
          display: grid;
          grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
          grid-template-areas:
            "eyebrow panel"
            "title panel"
            "desc panel";
          gap: 14px 42px;
          align-items: start;
          padding: 54px 0 30px;
        }
        .hero-eyebrow {
          grid-area: eyebrow;
          margin-bottom: 0;
          align-self: end;
        }
        .hero-title {
          grid-area: title;
          max-width: 620px;
        }
        .hero-desc {
          grid-area: desc;
          max-width: 560px;
          margin-top: 0;
        }
        .hero-panel {
          grid-area: panel;
          margin-top: 8px;
          min-height: 100%;
          display: flex;
          flex-direction: column;
          justify-content: center;
        }
        .modal-overlay {
          align-items: center;
          justify-content: center;
          padding: 24px;
        }
        .modal {
          max-width: 980px;
          border-radius: 24px;
          border: 1px solid var(--border);
          box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
        }
      }
      @media (max-width: 520px) {
        .quick-grid {
          grid-template-columns: 1fr;
        }
      }

      .modal::-webkit-scrollbar {
        width: 4px;
      }
      .modal::-webkit-scrollbar-track {
        background: transparent;
      }
      .modal::-webkit-scrollbar-thumb {
        background: var(--border);
        border-radius: 99px;
      }

      /* MAP — mobile */
      @media (max-width: 560px) {
        #world-map-wrap {
          border-radius: 12px;
        }
        .csl-tag {
          padding: 8px 14px;
          font-size: 14px;
        }
      }
