:root {
      --bg: #100d4f;
      --bg-2: #17105f;
      --panel: #29246f;
      --panel-2: #38337f;
      --text: #f7f6ff;
      --muted: #c9c6e8;
      --line: rgba(255,255,255,.10);
      --accent: #97c83d;
      --accent-2: #b5e45d;
      --white: #ffffff;
      --shadow: 0 18px 45px rgba(0,0,0,.24);
      --radius: 18px;
      --radius-sm: 12px;
      --max: 1180px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: linear-gradient(180deg, #0e0b46 0%, var(--bg) 28%, #120f52 100%);
      color: var(--text);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; }
    .container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
    .topbar .container { width: min(1440px, calc(100% - 56px)); }
    .topbar {
      position: sticky; top: 0; z-index: 20;
      background: #09042e;
      border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .nav {
      min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px;
    }
    .brand {
      display:flex; align-items:center; gap:12px; font-weight: 800; letter-spacing:.02em;
      font-size: 1.02rem;
    }
    .brand-mark {
      display:grid; place-items:center; width: 38px; height: 38px; border-radius: 12px;
      color: #0d1230;
    }
    .brand-mark svg {
      width: 38px; height: 38px; display:block;
    }
    .brand-mark rect { fill: #111827; }
    .brand-mark circle { fill: #facc15; }
    .brand-mark path { fill: none; stroke: #facc15; stroke-width: 5; stroke-linecap: round; }
    .brand-mark text {
      fill: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 34px; font-weight: 800;
    }
    .nav-links { display:flex; align-items:center; gap: clamp(16px, 2vw, 32px); flex-wrap: nowrap; }
    .nav-links a {
      display:flex; align-items:center; gap: 10px; color: var(--white);
      font-size: clamp(1rem, 1.08vw, 1.18rem); line-height:1; font-weight: 900;
      letter-spacing: 0; white-space: nowrap; opacity: .96;
      transition: opacity .18s ease, transform .18s ease;
    }
    .nav-links a:hover, .nav-links a.active { opacity: 1; transform: translateY(-1px); }
    .nav-icon {
      width: 30px; height: 30px; flex: 0 0 30px; display:grid; place-items:center;
      border-radius: 8px; background: rgba(255,255,255,.14); color: #ffffff;
    }
    .nav-icon svg {
      width: 22px; height: 22px; display:block; fill: var(--icon-fill, none); stroke: var(--icon-stroke, currentColor);
      stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
    }
    .nav-links a:nth-child(1) .nav-icon { --icon-fill: rgba(255,205,64,.34); --icon-stroke: #ffd84d; }
    .nav-links a:nth-child(2) .nav-icon { --icon-fill: rgba(125,216,255,.28); --icon-stroke: #7dd8ff; }
    .nav-links a:nth-child(3) .nav-icon { --icon-fill: rgba(181,228,93,.30); --icon-stroke: #b5e45d; }
    .nav-links a:nth-child(4) .nav-icon { --icon-fill: rgba(255,255,255,.22); --icon-stroke: #ffffff; }
    .nav-actions { display:flex; align-items:center; gap: 10px; }
    .btn {
      display: inline-flex; align-items:center; justify-content:center; gap: 8px;
      min-height: 46px; padding: 0 18px; border-radius: 12px;
      background: var(--accent); color: #14200a; font-weight: 800;
      transition: transform .18s ease, background .18s ease;
      border: 0; cursor:pointer;
    }
    .btn:hover { transform: translateY(-1px); background: var(--accent-2); }
    .btn-outline {
      color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.35);
    }
    .hero { padding: 24px 0 24px; }
    .hero-panel {
      position: relative; min-height: 300px;
      padding: 22px; border-radius: 24px;
      background:
        linear-gradient(90deg, rgba(33,26,126,.98) 0%, rgba(33,26,126,.94) 48%, rgba(33,26,126,.42) 69%, rgba(33,26,126,.10) 100%),
        url("/assets/img/fantasy_cricket.png") right center / auto 100% no-repeat,
        linear-gradient(135deg, #231a83, #2c2488 60%, #21206f);
      box-shadow: var(--shadow);
      border: 1px solid var(--line);
      overflow: hidden;
    }
    .hero-panel > * { position: relative; z-index: 1; }
    .eyebrow {
      display:inline-flex; align-items:center; gap:8px;
      padding: 6px 12px; border-radius: 999px;
      background: rgba(255,255,255,.10); color: var(--white); font-size:.84rem; font-weight:700;
    }
    h1 { max-width: 880px; font-size: clamp(1.85rem, 2.1vw, 3rem); line-height:1.14; margin: 12px 0 14px; }
    .lead { max-width: 820px; color: var(--muted); font-size: 1.12rem; margin: 0 0 24px; }
    .hero-actions { display:flex; gap: 12px; flex-wrap: wrap; }
    .tabs {
      margin: 22px 0 18px; display:grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
      padding: 8px; border-radius: 16px; background: rgba(255,255,255,.08); border:1px solid var(--line);
    }
    .tab {
      min-height: 52px; display:grid; place-items:center; text-align:center;
      border-radius: 12px; background: rgba(255,255,255,.06); color: var(--muted); font-weight: 800;
      transition: background .18s ease, color .18s ease, transform .18s ease;
    }
    .tab:hover { color: var(--white); background: rgba(255,255,255,.10); transform: translateY(-1px); }
    .tab.active { background: var(--accent); color: #15210c; }
    .grid {
      display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
    }
    .feature-card {
      min-height: 280px; padding: 18px; border-radius: var(--radius);
      background: linear-gradient(180deg, rgba(62,55,132,.95), rgba(44,39,107,.98));
      border: 1px solid var(--line);
      box-shadow: 0 14px 32px rgba(0,0,0,.18);
      display:flex; flex-direction:column;
    }
    .feature-card[hidden], section.content[hidden] { display:none; }
    .feature-top { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom: 12px; }
    .feature-icon {
      width: 52px; height: 52px; border-radius: 16px; display:grid; place-items:center;
      font-size: 1.5rem; background: rgba(255,255,255,.12);
    }
    .feature-badge {
      font-size:.78rem; font-weight:800; color:#e8ffd0; padding: 6px 10px; border-radius:999px;
      background: rgba(151,200,61,.18); border:1px solid rgba(151,200,61,.35);
    }
    .feature-card h3 { margin: 0 0 8px; font-size: 1.18rem; line-height:1.3; }
    .feature-card p { margin:0; color: var(--muted); font-size:.95rem; flex: 1; }
    .feature-metrics {
      display:grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 14px 0 14px;
    }
    .feature-metrics span {
      display:grid; place-items:center; text-align:center; min-height: 42px;
      border-radius: 10px; background: rgba(255,255,255,.08); color: var(--white); font-size:.82rem; font-weight:700;
      padding: 6px;
    }
    .btn-card { width:100%; }
    section.content { padding: 46px 0 0; }
    .section-head { margin-bottom: 18px; }
    .section-head h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); margin: 0 0 8px; line-height:1.2; }
    .section-head p { color: var(--muted); margin:0; max-width: 820px; }
    .split {
      display:grid; grid-template-columns: 1.1fr .9fr; gap: 18px;
    }
    .panel {
      border-radius: 20px; padding: 24px;
      background: rgba(43,38,106,.92); border: 1px solid var(--line); box-shadow: 0 14px 32px rgba(0,0,0,.16);
    }
    .panel h3 { margin-top:0; margin-bottom: 10px; font-size: 1.25rem; }
    .panel p, .panel li { color: var(--muted); }
    .checklist { margin: 14px 0 0; padding-left: 18px; }
    .mini-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .mini-card {
      border-radius: 16px; padding: 18px; background: rgba(255,255,255,.07); border:1px solid var(--line);
    }
    .mini-card strong { display:block; margin-bottom: 6px; font-size: 1.02rem; }
    .review-grid {
      display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    }
    .review-card {
      min-height: 280px; border-radius: 18px; padding: 20px;
      background: linear-gradient(180deg, rgba(62,55,132,.95), rgba(43,38,106,.98));
      border: 1px solid var(--line); box-shadow: 0 14px 32px rgba(0,0,0,.16);
      display:flex; flex-direction:column; gap: 12px;
    }
    .review-head {
      display:flex; align-items:flex-start; justify-content:space-between; gap: 12px;
    }
    .review-head strong { display:block; font-size: 1.04rem; line-height:1.25; }
    .review-head span {
      color: var(--muted); font-size: .82rem; font-weight: 700; text-align:right;
    }
    .review-stars { color: var(--accent-2); letter-spacing: .08em; font-size: 1.05rem; }
    .review-card p { color: var(--muted); margin: 0; flex: 1; }
    .review-card small {
      display:block; color: var(--white); font-weight: 800; line-height:1.45;
      padding-top: 12px; border-top: 1px solid var(--line);
    }
    .faq { display:grid; gap: 12px; }
    details {
      border-radius: 16px; padding: 16px 18px; background: rgba(43,38,106,.92); border:1px solid var(--line);
    }
    summary { cursor:pointer; font-weight:800; }
    details p { color: var(--muted); margin-bottom: 0; }
    .cta {
      margin: 46px 0; padding: 28px; border-radius: 24px;
      display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
      background: linear-gradient(135deg, rgba(151,200,61,.22), rgba(255,255,255,.08));
      border:1px solid rgba(151,200,61,.35);
    }
    .cta h2 { margin:0 0 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
    .cta p { margin:0; color: var(--muted); }
    .footer {
      padding: 28px 0 44px; border-top:1px solid var(--line); color: var(--muted); font-size:.92rem;
    }
    .footer-grid { display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; }
    .notice {
      margin-top: 12px; padding: 14px 16px; border-radius: 14px;
      background: rgba(255,255,255,.06); border:1px solid var(--line);
    }
    .footer-links {
      display:flex; flex-wrap:wrap; gap: 10px 16px; margin-top: 10px;
      font-weight: 800;
    }
    .footer-links a { color: var(--text); }
    .trust-grid {
      display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    }
    .trust-card {
      border-radius: 16px; padding: 18px; background: rgba(255,255,255,.07); border:1px solid var(--line);
    }
    .trust-card strong { display:block; margin-bottom: 6px; font-size: 1.02rem; }
    .trust-card span { color: var(--muted); display:block; }
    .policy-list {
      display:grid; gap: 12px; margin: 0; padding-left: 18px;
    }
    .policy-list li { color: var(--muted); }
    .editor-note {
      margin: 18px 0 0; padding: 14px 16px; border-radius: 14px;
      background: rgba(151,200,61,.14); border: 1px solid rgba(151,200,61,.28);
      color: var(--text); font-weight: 800;
    }
    @media (max-width: 980px) {
      .split { grid-template-columns: 1fr; }
      .grid, .review-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
      .tabs { grid-template-columns: repeat(2, 1fr); }
      .nav-links { display:none; }
    }
    @media (max-width: 760px) {
      .container { width: min(100% - 22px, var(--max)); }
      .topbar .container { width: min(100% - 22px, var(--max)); }
      .hero-panel {
        min-height: unset; padding: 24px;
        background:
          linear-gradient(180deg, rgba(33,26,126,.98) 0%, rgba(33,26,126,.92) 72%, rgba(33,26,126,.80) 100%),
          url("/assets/img/fantasy_cricket.png") right bottom / 78% auto no-repeat,
          linear-gradient(135deg, #231a83, #2c2488 60%, #21206f);
      }
      .grid, .mini-grid, .tabs, .review-grid, .trust-grid { grid-template-columns: 1fr; }
      .feature-card { min-height: unset; }
      .nav {
        min-height: 74px; padding: 10px 0; flex-wrap: wrap; gap: 10px;
      }
      .brand {
        flex: 1 1 100%;
        font-size: 1.25rem;
      }
      .brand-mark,
      .brand-mark svg {
        width: 44px;
        height: 44px;
      }
      .nav-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
      }
      .nav-actions .btn {
        min-height: 42px;
        padding: 0 12px;
        border-radius: 12px;
        font-size: .82rem;
        line-height: 1;
        text-align: center;
        white-space: nowrap;
      }
    }

    @media (max-width: 380px) {
      .nav-actions {
        grid-template-columns: 1fr;
      }
      .nav-actions .btn {
        min-height: 40px;
      }
    }

    /* PREMIUM GRID TOGGLE AND ACTIVE MATCH CARD STYLING */
    .grid-toggle {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin: 24px auto;
      background: rgba(255, 255, 255, 0.05);
      padding: 6px;
      border-radius: 30px;
      border: 1px solid var(--line);
      max-width: max-content;
      position: relative;
      z-index: 10;
    }
    .grid-toggle[hidden] {
      display: none;
    }
    .toggle-btn {
      background: transparent;
      border: none;
      color: var(--muted);
      padding: 10px 22px;
      font-size: 0.95rem;
      font-weight: 800;
      border-radius: 20px;
      cursor: pointer;
      transition: all 0.25s ease;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .toggle-btn:hover {
      color: var(--white);
      background: rgba(255, 255, 255, 0.04);
    }
    .toggle-btn.active {
      background: var(--accent);
      color: #14200a;
      box-shadow: 0 4px 15px rgba(151, 200, 61, 0.35);
    }
    .match-card {
      min-height: 290px;
      padding: 20px;
      border-radius: var(--radius);
      background: linear-gradient(185deg, rgba(46, 39, 114, 0.9), rgba(27, 21, 80, 0.98));
      border: 1px solid rgba(255, 255, 255, 0.12);
      box-shadow: 0 15px 35px rgba(0,0,0,0.3);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

    .match-title,
    .match-time strong {
      color: #182235;
    }
    .match-time {
      background: #edf4fb;
      color: var(--muted);
    }
    .status-result,
    .match-result {
      color: var(--accent-2);
    }

    .match-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; height: 3px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
      opacity: 0.7;
    }
    .match-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(151,200,61,0.2);
      border-color: rgba(151, 200, 61, 0.4);
    }
    .match-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.82rem;
      color: var(--muted);
      border-bottom: 1px solid rgba(255,255,255,0.08);
      padding-bottom: 10px;
      margin-bottom: 14px;
    }
    .match-type {
      background: rgba(255, 255, 255, 0.1);
      padding: 3px 8px;
      border-radius: 4px;
      font-weight: 700;
      text-transform: uppercase;
      font-size: 0.75rem;
    }
    .match-status {
      display: flex;
      align-items: center;
      gap: 6px;
      font-weight: 800;
    }
    .status-live {
      color: #ff4a4a;
      text-shadow: 0 0 8px rgba(255,74,74,0.4);
    }
    .status-live::before {
      content: '';
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background-color: #ff4a4a;
      animation: pulse-live 1.5s infinite;
    }
    @keyframes pulse-live {
      0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255,74,74,0.7); }
      70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255,74,74,0); }
      100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255,74,74,0); }
    }

    .match-title {
      min-height: 42px;
      margin: -2px 0 10px;
      color: var(--white);
      font-size: 1rem;
      font-weight: 900;
      line-height: 1.28;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .match-time {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 12px;
      padding: 8px 10px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.07);
      color: var(--muted);
      font-size: 0.82rem;
    }
    .match-time strong {
      color: var(--white);
      font-size: 0.84rem;
      text-align: right;
    }
    .status-result {
      color: var(--accent-2);
    }
    .status-upcoming {
      color: var(--muted);
    }
    .match-result {
      min-height: 34px;
      color: var(--accent-2);
      font-size: 0.88rem;
      font-weight: 800;
      line-height: 1.35;
      text-align: center;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .match-teams {
      display: flex;
      flex-direction: column;
      gap: 12px;
      flex-grow: 1;
      justify-content: center;
    }
    .team-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }
    .team-info {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .team-logo {
      width: 32px;
      height: 32px;
      object-fit: contain;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
      padding: 2px;
      border: 1px solid rgba(255,255,255,0.1);
    }
    .team-name {
      font-weight: 800;
      font-size: 1.05rem;
      color: var(--white);
    }
    .team-score {
      font-weight: 900;
      font-size: 1.1rem;
      color: var(--accent-2);
      font-family: monospace;
      text-align: right;
    }
    .match-footer {
      margin-top: 14px;
      padding-top: 12px;
      border-top: 1px solid rgba(255,255,255,0.08);
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .venue-info {
      font-size: 0.8rem;
      color: var(--muted);
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* TEAM PROFILE CARD STYLING */
    .team-profile-card {
      min-height: 290px;
      padding: 20px;
      border-radius: var(--radius);
      background: linear-gradient(180deg, rgba(50, 43, 120, 0.95), rgba(30, 24, 85, 0.98));
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 14px 32px rgba(0,0,0,0.2);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }
    .team-profile-card:hover {
      transform: translateY(-5px);
      border-color: var(--accent);
      box-shadow: 0 18px 36px rgba(151, 200, 61, 0.15);
    }
    .team-profile-header {
      display: flex;
      align-items: center;
      gap: 14px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      padding-bottom: 12px;
      margin-bottom: 12px;
    }
    .team-profile-logo {
      width: 48px;
      height: 48px;
      object-fit: contain;
      background: rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 4px;
      border: 1px solid rgba(255, 255, 255, 0.15);
    }
    .team-profile-title h3 {
      margin: 0;
      font-size: 1.12rem;
      font-weight: 900;
      color: var(--white);
    }
    .team-profile-title span {
      font-size: 0.8rem;
      color: var(--accent-2);
      font-weight: 700;
    }
    .team-profile-details {
      display: flex;
      flex-direction: column;
      gap: 8px;
      font-size: 0.88rem;
      color: var(--muted);
      flex-grow: 1;
      justify-content: center;
    }
    .team-profile-details div {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .team-profile-details strong {
      color: var(--white);
    }

    /* SKELETON SHIMMER LOADER STYLING */
    .skeleton-card {
      min-height: 290px;
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.06);
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      overflow: hidden;
    }
    .skeleton-shimmer {
      position: absolute;
      top: 0; left: -150%; width: 150%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
      animation: shimmer 1.6s infinite;
    }
    @keyframes shimmer {
      0% { left: -150%; }
      100% { left: 150%; }
    }
    .skeleton-line {
      height: 14px;
      background: rgba(255, 255, 255, 0.08);
      border-radius: 4px;
    }
    .skeleton-line.short { width: 40%; }
    .skeleton-line.medium { width: 70%; }
    .skeleton-line.long { width: 100%; }
    .skeleton-circle {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
    }
    .skeleton-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }
    .skeleton-body {
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      gap: 15px;
      justify-content: center;
    }
    .skeleton-row {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .match-page {
      padding: 28px 0 50px;
    }
    .match-detail-hero {
      min-height: 260px;
      padding: 26px;
      border-radius: 24px;
      background:
        linear-gradient(90deg, rgba(33,26,126,.98) 0%, rgba(33,26,126,.92) 62%, rgba(33,26,126,.70) 100%),
        url("/assets/img/fantasy_cricket.png") right center / auto 100% no-repeat,
        linear-gradient(135deg, #231a83, #2c2488 60%, #21206f);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 18px;
    }
    .match-detail-hero h1 {
      margin-bottom: 10px;
      max-width: 900px;
    }
    .match-detail-hero p {
      margin: 0;
      max-width: 760px;
      color: var(--accent-2);
      font-size: 1.08rem;
      font-weight: 800;
    }
    .back-link {
      display: inline-flex;
      margin-bottom: 12px;
      color: var(--muted);
      font-weight: 800;
    }
    .back-link:hover {
      color: var(--white);
    }
    .match-detail-grid {
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 18px;
      margin-top: 18px;
    }
    .detail-score-panel h3,
    .match-facts h3 {
      margin-bottom: 14px;
    }
    .detail-teams {
      display: grid;
      gap: 12px;
    }
    .detail-team {
      display: grid;
      grid-template-columns: 48px minmax(0, 1fr) auto;
      align-items: center;
      gap: 12px;
      padding: 12px;
      border-radius: 14px;
      background: rgba(255,255,255,.07);
      border: 1px solid var(--line);
    }
    .detail-team img {
      width: 48px;
      height: 48px;
      object-fit: contain;
      border-radius: 50%;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.12);
      padding: 3px;
    }
    .detail-team strong {
      display: block;
      font-size: 1.14rem;
      line-height: 1.2;
    }
    .detail-team span {
      display: block;
      color: var(--muted);
      font-size: .88rem;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .detail-team b {
      color: var(--accent-2);
      font-size: 1.12rem;
      font-family: monospace;
      white-space: nowrap;
    }
    .match-facts dl {
      display: grid;
      gap: 10px;
      margin: 0;
    }
    .match-facts dl div {
      display: grid;
      grid-template-columns: 96px minmax(0, 1fr);
      gap: 12px;
      padding: 10px 0;
      border-bottom: 1px solid var(--line);
    }
    .match-facts dl div:last-child {
      border-bottom: 0;
    }
    .match-facts dt {
      color: var(--muted);
      font-weight: 800;
    }
    .match-facts dd {
      margin: 0;
      color: var(--white);
      font-weight: 800;
    }
    .scorecard-section {
      margin-top: 34px;
    }
    .scorecard-block {
      margin-bottom: 18px;
      padding: 20px;
      border-radius: 20px;
      background: rgba(43,38,106,.92);
      border: 1px solid var(--line);
      box-shadow: 0 14px 32px rgba(0,0,0,.16);
    }
    .scorecard-block h3 {
      margin: 0 0 14px;
    }
    .table-wrap {
      overflow-x: auto;
      margin-top: 12px;
      border-radius: 14px;
      border: 1px solid var(--line);
    }
    .score-table {
      width: 100%;
      min-width: 720px;
      border-collapse: collapse;
      background: rgba(255,255,255,.04);
    }
    .score-table th,
    .score-table td {
      padding: 10px 12px;
      text-align: left;
      border-bottom: 1px solid var(--line);
      font-size: .9rem;
    }
    .score-table th {
      color: var(--accent-2);
      background: rgba(255,255,255,.06);
      font-weight: 900;
    }
    .score-table td {
      color: var(--muted);
    }
    .score-table tr:last-child td {
      border-bottom: 0;
    }
    .match-detail-loading {
      max-width: 720px;
      margin: 40px auto;
    }

    @media (max-width: 760px) {
      .match-detail-hero {
        min-height: unset;
        padding: 22px;
        align-items: flex-start;
        flex-direction: column;
        background:
          linear-gradient(180deg, rgba(33,26,126,.98) 0%, rgba(33,26,126,.92) 72%, rgba(33,26,126,.82) 100%),
          url("/assets/img/fantasy_cricket.png") right bottom / 78% auto no-repeat,
          linear-gradient(135deg, #231a83, #2c2488 60%, #21206f);
      }
      .match-detail-grid {
        grid-template-columns: 1fr;
      }
      .detail-team {
        grid-template-columns: 42px minmax(0, 1fr);
      }
      .detail-team img {
        width: 42px;
        height: 42px;
      }
      .detail-team b {
        grid-column: 2;
        justify-self: start;
      }
      .match-facts dl div {
        grid-template-columns: 1fr;
        gap: 3px;
      }
    }

    /* Light theme preview. Dark original is backed up in assets/css/main.dark-backup.css */
    :root {
      --bg: #f3f7fb;
      --bg-2: #e8f0f8;
      --panel: #ffffff;
      --panel-2: #edf4fb;
      --text: #182235;
      --muted: #5d687c;
      --line: rgba(26, 42, 68, .12);
      --accent: #9bd137;
      --accent-2: #5f9f16;
      --white: #182235;
      --shadow: 0 18px 45px rgba(45, 72, 105, .12);
    }
    body {
      background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 42%, #eef5fb 100%);
      color: var(--text);
    }
    .topbar {
      background: rgba(255,255,255,.94);
      border-bottom-color: rgba(26,42,68,.10);
      box-shadow: 0 8px 28px rgba(35,58,92,.08);
      backdrop-filter: blur(14px);
    }
    .brand-mark rect { fill: #15223a; }
    .brand-mark circle { fill: #9bd137; }
    .brand-mark path { stroke: #9bd137; }
    .nav-links a {
      color: #1d2a3f;
    }
    .nav-icon {
      background: #edf4fb;
      color: #243149;
      border: 1px solid rgba(26,42,68,.08);
    }
    .nav-links a:nth-child(1) .nav-icon { --icon-fill: rgba(245,184,49,.28); --icon-stroke: #c88a09; }
    .nav-links a:nth-child(2) .nav-icon { --icon-fill: rgba(45,130,196,.20); --icon-stroke: #2474ad; }
    .nav-links a:nth-child(3) .nav-icon { --icon-fill: rgba(111,174,28,.22); --icon-stroke: #5f9f16; }
    .nav-links a:nth-child(4) .nav-icon { --icon-fill: rgba(64,82,110,.14); --icon-stroke: #40526e; }
    .btn {
      background: var(--accent);
      color: #142106;
      box-shadow: 0 10px 22px rgba(103,157,27,.18);
    }
    .btn:hover {
      background: #8fc529;
    }
    .btn-outline {
      color: #1d2a3f;
      background: rgba(255,255,255,.72);
      border-color: rgba(26,42,68,.18);
      box-shadow: none;
    }
    .hero-panel,
    .match-detail-hero {
      background:
        linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 48%, rgba(228,239,251,.72) 72%, rgba(214,232,248,.46) 100%),
        url("/assets/img/fantasy_cricket.png") right center / auto 100% no-repeat,
        linear-gradient(135deg, #ffffff, #eaf4ff 58%, #dfeefa);
      border-color: rgba(26,42,68,.10);
      box-shadow: var(--shadow);
    }
    .eyebrow {
      background: #e8f1fb;
      color: #2b3d5d;
      border: 1px solid rgba(26,42,68,.08);
    }
    .lead,
    .section-head p,
    .panel p,
    .panel li,
    .review-head span,
    .review-card p,
    details p,
    .cta p,
    .footer,
    .venue-info,
    .team-profile-details,
    .match-header,
    .detail-team span,
    .score-table td,
    .back-link {
      color: var(--muted);
    }
    .tabs,
    .grid-toggle {
      background: rgba(255,255,255,.72);
      border-color: rgba(26,42,68,.10);
      box-shadow: 0 12px 30px rgba(45,72,105,.08);
    }
    .tab {
      background: #eef5fb;
      color: #536179;
    }
    .tab:hover {
      color: #182235;
      background: #e2edf7;
    }
    .tab.active,
    .toggle-btn.active {
      background: var(--accent);
      color: #142106;
      box-shadow: 0 8px 18px rgba(103,157,27,.20);
    }
    .toggle-btn {
      color: #536179;
    }
    .toggle-btn:hover {
      color: #182235;
      background: #e9f1f9;
    }
    .feature-card,
    .review-card,
    .panel,
    details,
    .team-profile-card,
    .match-card,
    .scorecard-block {
      background: linear-gradient(180deg, #ffffff, #f8fbff);
      border-color: rgba(26,42,68,.10);
      box-shadow: 0 14px 32px rgba(45,72,105,.10);
    }
    .feature-icon,
    .mini-card,
    .feature-metrics span,
    .detail-team,
    .team-profile-logo,
    .team-logo,
    .match-type {
      background: #edf4fb;
      border-color: rgba(26,42,68,.10);
      color: #243149;
    }
    .feature-badge,
    .team-profile-title span {
      color: #4f8913;
      background: rgba(155,209,55,.18);
      border-color: rgba(95,159,22,.24);
    }
    .feature-card h3,
    .review-head strong,
    .mini-card strong,
    .team-name,
    .team-profile-title h3,
    .team-profile-details strong,
    .match-facts dd,
    .detail-team strong {
      color: #182235;
    }
    .feature-card p {
      color: var(--muted);
    }
    .team-score,
    .detail-team b,
    .match-detail-hero p,
    .review-stars,
    .score-table th {
      color: var(--accent-2);
    }

    .match-title,
    .match-time strong {
      color: #182235;
    }
    .match-time {
      background: #edf4fb;
      color: var(--muted);
    }
    .status-result,
    .match-result {
      color: var(--accent-2);
    }

    .match-card::before {
      background: linear-gradient(90deg, transparent, rgba(95,159,22,.78), transparent);
    }
    .match-card:hover,
    .team-profile-card:hover {
      border-color: rgba(95,159,22,.35);
      box-shadow: 0 20px 40px rgba(95,159,22,.13);
    }
    .match-header,
    .match-footer,
    .team-profile-header,
    .review-card small,
    .match-facts dl div,
    .score-table th,
    .score-table td {
      border-color: rgba(26,42,68,.10);
    }
    .review-card small {
      color: #25334a;
    }
    .cta {
      background: linear-gradient(135deg, rgba(155,209,55,.22), rgba(255,255,255,.85));
      border-color: rgba(95,159,22,.24);
      box-shadow: 0 16px 34px rgba(45,72,105,.09);
    }
    .notice {
      background: #ffffff;
      border-color: rgba(26,42,68,.10);
    }
    .trust-card {
      background: #ffffff;
      border-color: rgba(26,42,68,.10);
      box-shadow: 0 14px 32px rgba(45,72,105,.08);
    }
    .trust-card span,
    .policy-list li {
      color: var(--muted);
    }
    .editor-note {
      background: rgba(155,209,55,.20);
      border-color: rgba(95,159,22,.24);
    }
    .skeleton-card {
      background: #eef5fb;
      border-color: rgba(26,42,68,.08);
    }
    .skeleton-shimmer {
      background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
    }
    .skeleton-line,
    .skeleton-circle {
      background: rgba(26,42,68,.10);
    }
    .table-wrap {
      border-color: rgba(26,42,68,.10);
    }
    .score-table {
      background: #ffffff;
    }
    .score-table th {
      background: #eef5fb;
    }

    @media (max-width: 760px) {
      .hero-panel,
      .match-detail-hero {
        background:
          linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.91) 68%, rgba(234,244,255,.78) 100%),
          url("/assets/img/fantasy_cricket.png") right bottom / 78% auto no-repeat,
          linear-gradient(135deg, #ffffff, #eaf4ff 58%, #dfeefa);
      }
    }
