:root {
      --navy: #071f4a;
      --navy-2: #0c356f;
      --blue: #1b8ee6;
      --sky: #dff2ff;
      --ice: #f3faff;
      --white: #fff;
      --ink: #0b1d38;
      --muted: #5b6b82;
      --line: #c8e3f7;
      --shadow: 0 18px 50px rgba(7, 31, 74, .12);
      --radius: 24px;
      --max: 1440px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--white);
      font-family: Arial, Helvetica, sans-serif;
      line-height: 1.6;
    }
    body.menu-open, body.modal-open { overflow: hidden; }
    img { display: block; max-width: 100%; }
    a { color: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    button { font: inherit; }
    .container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
    .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; left: 20px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--white); border-radius: 8px; }
    .skip-link:focus { top: 20px; }

    .site-header {
      position: sticky; top: 0; z-index: 100;
      background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line);
      backdrop-filter: blur(12px);
    }
    .nav {
      min-height: 76px; display: flex; align-items: center; gap: 34px;
    }
    .brand {
      align-items: center; gap: 10px; text-decoration: none;
      font-size: 25px; font-weight: 900; letter-spacing: -.8px; color: var(--navy);
    }
    .brand-mark {
      width: 38px; height: 38px; display: grid; place-items: center;
      border-radius: 12px; color: var(--white); background: linear-gradient(145deg, var(--blue), var(--navy));
      font-size: 18px; transform: skew(-8deg);
    }
    .nav-links { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
    .nav-links a { text-decoration: none; font-size: 14px; font-weight: 700; }
    .nav-links a:hover, .nav-links a:focus-visible { color: var(--blue); }
    .nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
    .menu-toggle {
      display: none; width: 44px; height: 44px; border: 0; border-radius: 50%;
      background: var(--sky); color: var(--navy); cursor: pointer;
    }
    .menu-toggle span, .menu-toggle::before, .menu-toggle::after {
      content: ""; display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor;
    }
    .btn {
      display: inline-flex; min-height: 46px; align-items: center; justify-content: center;
      padding: 11px 24px; border: 2px solid var(--navy); border-radius: 999px;
      text-decoration: none; font-size: 14px; font-weight: 800; transition: .2s ease;
    }
    .btn-primary { background: var(--navy); color: var(--white); }
    .btn-primary:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
    .btn-outline { color: var(--navy); background: var(--white); }
    .btn-outline:hover { color: var(--white); background: var(--navy); transform: translateY(-2px); }

    .promo { background: var(--sky); border-bottom: 1px solid var(--line); }
    .promo-inner { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 14px; text-align: center; font-size: 14px; }
    .promo strong { color: var(--navy); }
    .promo a { color: var(--navy-2); font-weight: 800; }
    .product-nav { border-bottom: 1px solid var(--line); background: var(--white); }
    .product-nav-inner { min-height: 62px; display: flex; align-items: center; gap: 26px; }
    .product-nav strong { font-size: 18px; margin-right: auto; }
    .product-nav a:not(.btn) { text-decoration: none; font-size: 14px; font-weight: 700; color: var(--muted); }

    .hero { padding: 48px 0 68px; background: linear-gradient(180deg, var(--white), var(--ice)); }
    .hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); gap: 56px; align-items: center; }
    .gallery {
      position: relative; min-height: 610px; display: grid; place-items: center; overflow: hidden;
      border-radius: 32px; background:
        radial-gradient(circle at 50% 42%, rgba(27,142,230,.32), transparent 40%),
        linear-gradient(145deg, var(--sky), var(--white));
    }
    .gallery::before, .gallery::after {
      content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(27,142,230,.2);
    }
    .gallery::before { width: 480px; height: 480px; }
    .gallery::after { width: 620px; height: 620px; }
    .gallery img { position: relative; z-index: 2; width: min(86%, 650px); height: auto; filter: drop-shadow(0 24px 24px rgba(7,31,74,.18)); }
    .gallery-badge {
      position: absolute; z-index: 3; left: 24px; top: 24px; padding: 8px 14px;
      color: var(--white); background: var(--navy); border-radius: 999px; font-size: 12px; font-weight: 800;
    }
    .eyebrow { margin: 0 0 10px; color: var(--blue); font-size: 13px; font-weight: 900; letter-spacing: 1.8px; text-transform: uppercase; }
    h1 { margin: 0; color: var(--navy); font-size: clamp(38px, 5vw, 68px); line-height: 1.03; letter-spacing: -2.5px; }
    .lead { margin: 22px 0; color: var(--muted); font-size: 18px; }
    .rating { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; font-size: 14px; }
    .stars { color: var(--blue); letter-spacing: 2px; }
    .info-panel { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
    .info-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
    .info-row:last-child { border-bottom: 0; }
    .info-label { display: flex; align-items: center; gap: 10px; font-weight: 700; }
    .dot { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px var(--sky); }
    .info-value { padding: 4px 10px; border-radius: 999px; color: var(--navy); background: var(--sky); font-size: 13px; font-weight: 800; }
    .offer-box { margin: 20px 0; padding: 20px; color: var(--white); border-radius: var(--radius); background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
    .offer-box strong { display: block; margin-bottom: 10px; color: #79c9ff; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
    .offer-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
    .offer-list li::before { content: "✓"; margin-right: 9px; color: #79c9ff; font-weight: 900; }
    .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

    .section { padding: 80px 0; }
    .section-soft { background: var(--ice); }
    .section-dark { color: var(--white); background: var(--navy); }
    .section-heading { max-width: 760px; margin: 0 auto 40px; text-align: center; }
    .section-heading.left { margin-inline: 0; text-align: left; }
    .section-heading h2 { margin: 0 0 12px; color: var(--navy); font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -1.2px; }
    .section-dark .section-heading h2 { color: var(--white); }
    .section-heading p { margin: 0; color: var(--muted); font-size: 17px; }
    .section-dark .section-heading p { color: #b8d1ec; }
    .feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .feature-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 30px rgba(7,31,74,.06); }
    .feature-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 16px; color: var(--white); background: linear-gradient(145deg, var(--blue), var(--navy)); font-weight: 900; }
    .feature-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 18px; }
    .feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

    .content-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 44px; align-items: start; }
    .article { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
    .article h2, .article h3 { color: var(--navy); line-height: 1.25; }
    .article h2 { margin: 0 0 18px; font-size: 32px; }
    .article h3 { margin-top: 30px; font-size: 22px; }
    .article p, .article li { color: #42536a; }
    .article a { color: var(--navy-2); font-weight: 800; }
    .article-image { margin: 28px 0; overflow: hidden; border-radius: 20px; background: var(--sky); }
    .article-image img { width: 100%; max-height: 420px; object-fit: cover; }
    .side-card { position: sticky; top: 166px; padding: 28px; border-radius: var(--radius); color: var(--white); background: linear-gradient(155deg, var(--navy), #105ba2); box-shadow: var(--shadow); }
    .side-card h2 { margin-top: 0; font-size: 25px; }
    .steps { margin: 24px 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 16px; }
    .steps li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; color: #d9ebfa; }
    .steps li::before { counter-increment: step; content: counter(step); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--navy); background: #7bcbff; font-weight: 900; }
    .side-card .btn { width: 100%; border-color: var(--white); }

    .reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .review { padding: 26px; border: 1px solid rgba(255,255,255,.17); border-radius: var(--radius); background: rgba(255,255,255,.07); }
    .review-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .review strong { color: var(--white); }
    .review p { color: #c9ddf0; font-size: 14px; }
    .review-title { margin: 10px 0 6px; color: #fff !important; font-weight: 800; font-size: 15px !important; }
    .review small { color: #8eb7db; }
    .faq { max-width: 980px; margin-inline: auto; display: grid; gap: 12px; }
    .faq-item { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--white); }
    .faq-question { width: 100%; display: flex; justify-content: space-between; gap: 18px; padding: 21px 24px; border: 0; color: var(--navy); background: var(--white); text-align: left; font-weight: 800; cursor: pointer; }
    .faq-question span { color: var(--blue); font-size: 22px; line-height: 1; }
    .faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
    .faq-answer > div { overflow: hidden; }
    .faq-answer p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
    .faq-item.open .faq-answer { grid-template-rows: 1fr; }

    .breadcrumb { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
    .breadcrumb ol { min-height: 60px; margin: 0; padding: 0; display: flex; align-items: center; gap: 12px; list-style: none; font-size: 13px; color: var(--muted); }
    .breadcrumb li + li::before { content: "›"; margin-right: 12px; color: var(--blue); }
    .breadcrumb a { text-decoration: none; }
    .site-footer { padding: 48px 0 96px; color: #d5e7f7; background: #04152f; }
    .footer-links-panel {
      padding: 28px 26px 10px;
      border: 1px solid rgba(120, 188, 236, .35);
      border-radius: 8px;
      background: linear-gradient(180deg, rgba(10, 40, 78, .55), rgba(4, 21, 47, .35));
    }
    .footer-links-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 22px 18px;
    }
    .footer-col h2 {
      display: flex; align-items: center; gap: 8px;
      margin: 0 0 12px; color: var(--white); font-size: 14px; font-weight: 800; letter-spacing: .2px;
    }
    .footer-ico {
      width: 22px; height: 22px; flex: 0 0 22px; border-radius: 5px;
      background: #0c356f center / 14px 14px no-repeat;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
    }
    .footer-ico-sports { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dff2ff' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 3a12 12 0 0 1 0 18M12 3a12 12 0 0 0 0 18M3 12h18'/%3E%3C/svg%3E"); }
    .footer-ico-casino { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff6b6b'%3E%3Crect x='3' y='3' width='8' height='8' rx='2'/%3E%3Crect x='13' y='13' width='8' height='8' rx='2' fill='%23ffd166'/%3E%3Ccircle cx='7' cy='7' r='1.2' fill='%23fff'/%3E%3Ccircle cx='17' cy='17' r='1.2' fill='%23333'/%3E%3C/svg%3E"); }
    .footer-ico-games { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffc857'%3E%3Cpath d='M7 4h10l1 4H6l1-4zm-2 6h14l-1.2 10H6.2L5 10z'/%3E%3C/svg%3E"); }
    .footer-ico-mobile { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dff2ff' stroke-width='2'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); }
    .footer-ico-about { background-color: #1b8ee6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Ctext x='12' y='16' text-anchor='middle' font-size='12' font-family='Arial' font-weight='700'%3ES%3C/text%3E%3C/svg%3E"); }
    .footer-ico-help { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2370c6ff' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9a2.5 2.5 0 1 1 3.9 2c-.8.5-1.4 1-1.4 2v.5M12 17h.01'/%3E%3C/svg%3E"); }
    .footer-ico-rules { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dff2ff' stroke-width='2'%3E%3Cpath d='M7 3h8l4 4v14H7z'/%3E%3Cpath d='M15 3v4h4M9 12h6M9 16h6'/%3E%3C/svg%3E"); }
    .footer-ico-league { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffc857'%3E%3Cpath d='M8 4h8v3a4 4 0 0 1-8 0V4zm-3 1h2v2a5 5 0 0 1-2-2zm14 0h-2v2a5 5 0 0 0 2-2zM10 13h4l1 7H9l1-7z'/%3E%3C/svg%3E"); }
    .footer-ico-learn { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dff2ff' stroke-width='2'%3E%3Cpath d='M4 5h7a3 3 0 0 1 3 3v11H7a3 3 0 0 0-3 3V5zm16 0h-7a3 3 0 0 0-3 3v11h7a3 3 0 0 1 3 3V5z'/%3E%3C/svg%3E"); }
    .footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
    .footer-col a {
      display: inline-flex; align-items: flex-start; gap: 6px;
      color: #e8f4ff; text-decoration: none; font-size: 13px; line-height: 1.35;
    }
    .footer-col a::before { content: "»"; color: #9ec9ea; font-weight: 700; line-height: 1.2; }
    .footer-col a:hover { color: #fff; }
    .footer-brand { margin-top: 28px; text-align: center; }
    .footer-brand .brand { justify-content: center; margin-bottom: 14px; }
    .footer-brand img { width: auto; height: 48px; }
    .footer-brand p { max-width: 980px; margin: 0 auto; color: #9cb8d3; font-size: 13px; line-height: 1.7; }
    .footer-brand strong { color: #e8f4ff; }
    .lang-switch {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 10px;
      margin-top: 28px;
      padding-top: 18px;
      border-top: 1px solid rgba(255,255,255,.12);
    }
    .lang-switch-label {
      color: #86a7c5;
      font-size: 13px;
      font-weight: 700;
      margin-right: 4px;
    }
    .lang-link {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
      padding: 6px 14px;
      border: 1px solid rgba(255,255,255,.22);
      border-radius: 999px;
      color: #c6dbef;
      text-decoration: none;
      font-size: 13px;
      font-weight: 700;
      transition: .2s ease;
    }
    .lang-link:hover {
      color: #fff;
      border-color: #70c6ff;
      background: rgba(27,142,230,.18);
    }
    .lang-link.is-active {
      color: #071f4a;
      background: #dff2ff;
      border-color: #dff2ff;
    }
    .copyright { margin-top: 16px; padding-top: 0; border-top: 0; color: #86a7c5; font-size: 13px; text-align: center; }
    .copyright a { color: #b9d1e8; text-decoration: none; }
    .copyright a:hover { color: #fff; }
    .mobile-cta { display: none; }

    .modal {
      position: fixed; z-index: 150; inset: 0; display: none; place-items: center; padding: 20px;
      background: rgba(3,16,38,.74); backdrop-filter: blur(6px);
    }
    .modal.open { display: grid; }
    .modal-card { position: relative; width: min(100%, 430px); overflow: hidden; border: 1px solid #70c6ff; border-radius: 26px; background: var(--white); box-shadow: 0 28px 90px rgba(0,0,0,.4); }
    .modal-card img { width: 100%; max-height: 520px; object-fit: cover; }
    .modal-body { padding: 20px; text-align: center; }
    .modal-body h2 { margin: 0 0 6px; color: var(--navy); }
    .modal-body p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
    .modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; color: var(--white); background: rgba(7,31,74,.88); cursor: pointer; font-size: 22px; }

    @media (max-width: 1100px) {
      .nav-links { gap: 16px; }
      .nav-links li:nth-child(n+4) { display: none; }
      .hero-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
      .gallery { min-height: 520px; }
      .feature-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-links-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }
    @media (max-width: 820px) {
      .container { width: min(calc(100% - 28px), var(--max)); }
      .menu-toggle { display: block; }
      .nav-links {
        position: fixed; top: 76px; left: 0; right: 0; max-height: 0; overflow: hidden;
        display: grid; gap: 0; background: var(--white); transition: max-height .25s ease; border-bottom: 1px solid transparent;
      }
      .nav-links.open { max-height: 560px; border-color: var(--line); }
      .nav-links li, .nav-links li:nth-child(n) { display: block; }
      .nav-links a { display: block; padding: 14px 24px; border-top: 1px solid var(--line); }
      .nav-actions .btn-outline { display: none; }
      .product-nav a:not(.btn) { display: none; }
      .hero { padding-top: 24px; }
      .hero-grid, .content-grid { grid-template-columns: 1fr; }
      .gallery { min-height: 430px; order: 0; }
      .hero-copy { order: 1; }
      .side-card { position: static; }
      .reviews { grid-template-columns: repeat(2, 1fr); }
      .footer-links-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .footer-links-panel { padding: 22px 18px 8px; }
    }
    @media (max-width: 560px) {
      .nav { min-height: 66px; }
      .brand { font-size: 21px; }
      .brand-mark { width: 34px; height: 34px; }
      .nav-actions .btn { display: none; }
      .nav-links { top: 66px; }
      .promo-inner { padding: 9px 0; font-size: 12px; }
      .product-nav-inner { min-height: 54px; }
      .product-nav .btn { min-height: 38px; padding: 8px 17px; }
      .gallery { min-height: 340px; border-radius: 22px; }
      .gallery::before { width: 300px; height: 300px; }
      .gallery::after { width: 390px; height: 390px; }
      h1 { font-size: 39px; letter-spacing: -1.4px; }
      .lead { font-size: 16px; }
      .hero-actions, .modal-actions { grid-template-columns: 1fr; }
      .section { padding: 58px 0; }
      .feature-grid, .reviews { grid-template-columns: 1fr; }
      .footer-links-grid { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
      .feature-card, .article { padding: 24px; }
      .reviews .review:nth-child(n+7) { display: none; }
      .mobile-cta {
        position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: grid;
        grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--line); background: rgba(255,255,255,.97);
      }
      .mobile-cta .btn { min-height: 44px; }
      .site-footer { padding-bottom: 110px; }
    }

.nav-links a.is-active { color: var(--blue); }
.page-hero { padding: 56px 0 28px; background: linear-gradient(180deg, var(--white), var(--ice)); }
.page-hero h1 { font-size: clamp(34px, 4.5vw, 54px); letter-spacing: -1.8px; }
.page-hero .lead { margin-bottom: 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-card { display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; box-shadow: 0 8px 30px rgba(7,31,74,.06); transition: .2s ease; }
.related-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.related-card strong { display: block; margin-bottom: 8px; color: var(--navy); font-size: 18px; }
.related-card span { color: var(--muted); font-size: 14px; }
.contact-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.contact-list li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--ice); }
@media (max-width: 820px) { .related-grid { grid-template-columns: 1fr; } }

a.feature-card { color: inherit; text-decoration: none; transition: .2s ease; }
a.feature-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.brand img { width: 100%; max-width: 200px; height: auto;margin: 0 auto; }
.footer-brand img { width: 100%; max-width: 200px; height: auto;margin: 0 auto; }

/* Hitung Parlay calculator */
.parlay-calc {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(223,242,255,.55), rgba(255,255,255,.95)),
    radial-gradient(circle at top right, rgba(27,142,230,.12), transparent 45%);
  box-shadow: var(--shadow);
}
.parlay-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.parlay-presets-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}
.parlay-preset-list { display: flex; flex-wrap: wrap; gap: 8px; }
.parlay-preset {
  min-width: 44px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}
.parlay-preset.is-active,
.parlay-preset:hover {
  border-color: var(--blue);
  background: var(--sky);
  color: var(--navy-2);
}
.parlay-count-note { margin: 0; color: var(--muted); font-size: 13px; }
.parlay-summary {
  display: grid;
  grid-template-columns: auto repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}
.parlay-summary-item {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.parlay-summary-item > span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.parlay-summary-item input,
.parlay-field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ice);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}
.parlay-summary-item strong {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 20px;
  letter-spacing: -.3px;
}
.parlay-out-odds strong { background: #d9f0ff; color: #0c356f; }
.parlay-out-final strong { background: #ffe3c4; color: #8a3b00; }
.parlay-out-final strong.is-win { background: #d9f7e5; color: #0f6b3a; }
.parlay-out-final strong.is-loss { background: #ffd7d7; color: #9b1c1c; }
.parlay-out-payout strong { background: #e8eef8; color: var(--navy); }
.parlay-btn {
  min-height: 48px;
  padding: 10px 16px;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
}
.parlay-btn-add { background: #1b8ee6; color: #fff; }
.parlay-btn-add:hover { background: #0c356f; }
.parlay-btn-danger { background: #e24b4b; color: #fff; }
.parlay-btn-danger:hover { background: #b72f2f; }
.parlay-list { display: grid; gap: 14px; }
.parlay-row {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
}
.parlay-row-top {
  display: grid;
  grid-template-columns: auto minmax(160px, 220px);
  gap: 12px;
  align-items: end;
}
.parlay-field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--navy); }
.parlay-results {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.parlay-results legend {
  padding: 0;
  margin: 0 0 8px;
  width: 100%;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
}
.parlay-results label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}
.parlay-row-odds {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.parlay-row-odds strong { color: var(--navy); }
.parlay-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.parlay-notes h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 16px;
}
.parlay-notes p,
.parlay-notes li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.parlay-notes ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.parlay-notes a { color: var(--blue); font-weight: 700; }

@media (max-width: 980px) {
  .parlay-summary { grid-template-columns: 1fr 1fr; }
  .parlay-btn-add { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .parlay-calc { padding: 18px; }
  .parlay-summary { grid-template-columns: 1fr; }
  .parlay-row-top { grid-template-columns: 1fr; }
  .parlay-notes { grid-template-columns: 1fr; }
}

/* Livescore page */
.livescore-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #071f4a, #0c356f);
  box-shadow: var(--shadow);
}
.livescore-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 16px 20px;
  color: #dff2ff;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.livescore-toolbar strong {
  font-size: 16px;
  letter-spacing: .2px;
}
.livescore-toolbar span {
  flex: 1;
  color: #9ec9ea;
  font-size: 13px;
}
.livescore-toolbar .btn {
  min-height: 40px;
  border-color: rgba(255,255,255,.35);
  color: #fff;
  background: transparent;
}
.livescore-toolbar .btn:hover {
  background: rgba(255,255,255,.1);
}
.livescore-league-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
}
.livescore-league {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #dff2ff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.livescore-league.is-active,
.livescore-league:hover {
  background: #1b8ee6;
  border-color: #1b8ee6;
  color: #fff;
}
.livescore-frame {
  position: relative;
  width: 100%;
  min-height: 720px;
  background: #04152f;
}
.livescore-frame iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  height: 72vh;
  border: 0;
  background: #fff;
}
.livescore-caption {
  margin: 0;
  padding: 12px 20px 16px;
  color: #9cb8d3;
  font-size: 12px;
}
.results-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.results-tab {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.results-tab.is-active,
.results-tab:hover {
  border-color: var(--blue);
  background: var(--sky);
  color: var(--navy-2);
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.result-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(7,31,74,.06);
}
.result-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.result-card-head em {
  font-style: normal;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e7f6ff;
  color: var(--blue);
}
.result-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.result-teams span {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.result-teams strong {
  min-width: 64px;
  padding: 8px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #0c356f, #071f4a);
  color: #fff;
  font-size: 18px;
  letter-spacing: -.4px;
}
.result-meta {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
@media (max-width: 980px) {
  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .livescore-frame,
  .livescore-frame iframe { min-height: 620px; }
}
@media (max-width: 640px) {
  .results-grid { grid-template-columns: 1fr; }
  .livescore-frame,
  .livescore-frame iframe { min-height: 560px; height: 68vh; }
  .results-actions .btn { width: 100%; }
}
