.elementor-6435 .elementor-element.elementor-element-e24f4eb{--display:flex;}/* Start custom CSS for html, class: .elementor-element-746983d *//* ============================================================
       RESET & BASE
    ============================================================ */
    .best-betting-widget *, .best-betting-widget *::before, .best-betting-widget *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --bg:           #070a12;
      --surface:      #0f141c;
      --surface-2:    #161d28;
      --surface-3:    #1d2636;
      --text:         #eef0f6;
      --text-2:       #c0c7d6;
      --muted:        #64748b;
      --accent:       #2563eb;
      --accent-lt:    #3b82f6;
      --accent-soft:  #60a5fa;
      --accent-glow:  rgba(37,99,235,.22);
      --green:        #22c55e;
      --green-s:      rgba(34,197,94,.13);
      --green-b:      rgba(34,197,94,.25);
      --amber:        #f59e0b;
      --danger:       #ef4444;
      --danger-s:     rgba(239,68,68,.13);
      --grad:         linear-gradient(135deg,#2563eb 0%,#3b82f6 100%);
      --grad-s:       linear-gradient(135deg,rgba(37,99,235,.12) 0%,rgba(59,130,246,.06) 100%);
      --glass:        rgba(10,14,20,.75);
      --glass-b:      rgba(255,255,255,.07);
      --glass-b2:     rgba(255,255,255,.13);
      --sh-sm:        0 4px 18px rgba(0,0,0,.28);
      --sh-md:        0 10px 36px rgba(0,0,0,.38);
      --sh-lg:        0 24px 64px rgba(0,0,0,.48);
      --sh-glow:      0 0 48px rgba(37,99,235,.14);
      --r-xs:  8px;
      --r-sm: 12px;
      --r:    16px;
      --r-lg: 20px;
      --r-xl: 26px;
      --ease: cubic-bezier(.4,0,.2,1);
      --spring: cubic-bezier(.34,1.56,.64,1);
      --dur: .28s;
    }

    .best-betting-widget[data-theme="light"] {
      --bg:        #f0f4fc;
      --surface:   #ffffff;
      --surface-2: #f0f4fc;
      --surface-3: #e2e8f4;
      --text:      #0f172a;
      --text-2:    #374151;
      --muted:     #64748b;
      --accent-soft: #2563eb;
      --glass:     rgba(255,255,255,.8);
      --glass-b:   rgba(0,0,0,.07);
      --glass-b2:  rgba(0,0,0,.14);
      --sh-sm:     0 4px 18px rgba(0,0,0,.07);
      --sh-md:     0 10px 36px rgba(0,0,0,.09);
      --sh-lg:     0 24px 64px rgba(0,0,0,.12);
      --sh-glow:   0 0 48px rgba(37,99,235,.08);
      --accent-glow: rgba(37,99,235,.12);
      --grad-s:    linear-gradient(135deg,rgba(37,99,235,.08) 0%,rgba(59,130,246,.04) 100%);
    }

    .best-betting-widget {
      /* بک‌گراند کل صفحه: از لبه تا لبه viewport (حتی داخل کانتینر) */
      width: 100vw;
      max-width: 100vw;
      min-height: 100vh;
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
      padding-left: calc(50vw - 50%);
      padding-right: calc(50vw - 50%);
      box-sizing: border-box;
      font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
      color: var(--text);
      line-height: 1.7;
      font-size: 15px;
      font-weight: 400;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
      position: relative;
    }
    /* لایهٔ ثابت: بالا و پایین و کل viewport همیشه پس‌زمینه تم */
    .best-betting-widget::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: -2;
      background: var(--bg);
    }
    @media (max-width: 480px) { .best-betting-widget { font-size: 14px; } }

    .best-betting-widget a { color: inherit; text-decoration: none; }
    .best-betting-widget img { max-width: 100%; display: block; }
    .best-betting-widget button, .best-betting-widget select, .best-betting-widget input, .best-betting-widget textarea { font-family: inherit; }

    .best-betting-widget ::-webkit-scrollbar { width: 5px; height: 5px; }
    .best-betting-widget ::-webkit-scrollbar-track { background: transparent; }
    .best-betting-widget ::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 99px; }
    .best-betting-widget ::-webkit-scrollbar-thumb:hover { background: var(--muted); }
    .best-betting-widget ::selection { background: rgba(37,99,235,.28); }

    /* ============================================================
       AMBIENT GLOW BACKGROUND
    ============================================================ */
    .best-betting-widget .ambient {
      position: fixed; inset: 0; z-index: -1;
      overflow: hidden; pointer-events: none;
    }
    .best-betting-widget .ambient span {
      position: absolute; border-radius: 50%;
      filter: blur(110px); opacity: .3;
    }
    .best-betting-widget .ambient span:nth-child(1) {
      width: 560px; height: 560px;
      background: #2563eb;
      top: -180px; right: -80px;
      animation: amb 22s ease-in-out infinite;
    }
    .best-betting-widget .ambient span:nth-child(2) {
      width: 440px; height: 440px;
      background: #3b82f6;
      bottom: -120px; left: -80px;
      animation: amb 28s ease-in-out infinite reverse;
    }
    .best-betting-widget .ambient span:nth-child(3) {
      width: 300px; height: 300px;
      background: #60a5fa;
      top: 50%; left: 40%;
      animation: amb 18s ease-in-out infinite 4s;
      opacity: .2;
    }
    .best-betting-widget[data-theme="light"] .ambient span { opacity: .1; }
    @keyframes amb {
      0%,100% { transform: translate(0,0) scale(1); }
      33%      { transform: translate(35px,-25px) scale(1.06); }
      66%      { transform: translate(-18px,18px) scale(.94); }
    }

    /* ============================================================
       LAYOUT
    ============================================================ */
    .best-betting-widget .container {
      max-width: 1180px;
      margin: 0 auto;
      padding-inline: clamp(14px, 3.5vw, 28px);
    }

    /* ============================================================
       HEADER
    ============================================================ */
    .best-betting-widget .header {
      position: sticky; top: clamp(12px, 3vw, 24px); z-index: 100;
      margin: 0 clamp(12px, 3vw, 24px) clamp(12px, 3vw, 24px);
      border-radius: var(--r-lg);
      background: var(--surface);
      border: 1px solid var(--glass-b);
      box-shadow: var(--sh-sm);
      transition: transform .35s var(--ease), box-shadow var(--dur) var(--ease);
    }
    .best-betting-widget .header.scrolled { box-shadow: var(--sh-md); }
    .best-betting-widget .header.header-hidden { transform: translateY(calc(-100% - clamp(12px, 3vw, 24px))); }
    .best-betting-widget .header-open-btn {
      display: none;
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 99;
      align-items: center;
      gap: 8px;
      padding: 12px 20px;
      border-radius: 99px;
      border: 1px solid var(--glass-b);
      background: var(--surface);
      color: var(--text);
      font-family: inherit;
      font-size: 14px;
      font-weight: 600;
      box-shadow: var(--sh-md);
      cursor: pointer;
      transition: all var(--dur) var(--ease);
    }
    .best-betting-widget .header-open-btn:hover { background: var(--surface-2); border-color: var(--accent); color: var(--accent-lt); }
    .best-betting-widget .header-open-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
    @media (min-width: 769px) {
      .best-betting-widget .header-open-btn { display: none !important; }
    }
    @media (max-width: 768px) {
      .best-betting-widget.header-collapsed .header-open-btn { display: flex; }
    }
    .best-betting-widget .header-wrap { padding: 16px 0 14px; }
    @media (max-width: 768px) {
      .best-betting-widget .header {
        position: fixed;
        top: 12px;
        left: 12px;
        right: 12px;
        margin: 0;
        width: auto;
      }
      .best-betting-widget .header.header-hidden { transform: translateY(calc(-100% - 24px)); }
      .best-betting-widget .header .container { padding-inline: 18px; }
      .best-betting-widget .header-wrap { padding: 20px 0 18px; display: flex; flex-direction: column; align-items: center; }
      .best-betting-widget .header .topbar { flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; }
      .best-betting-widget .header .brand {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 8px 10px;
        justify-items: center;
        align-items: center;
        width: 100%;
        max-width: 320px;
      }
      .best-betting-widget .header .brand-pill { order: -1; grid-column: 1 / -1; }
      .best-betting-widget .header .h-fields { margin-top: 14px; padding-top: 14px; width: 100%; max-width: 100%; }
      .best-betting-widget .header .stats-strip { margin-top: 14px; justify-content: center; width: 100%; }
    }
    .best-betting-widget .header-spacer { transition: min-height .35s var(--ease); }

    /* --- Row 1: brand + toggle --- */
    .topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }
    .header-actions {
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }
    .brand-icon {
      width: 36px; height: 36px;
      flex-shrink: 0;
      border-radius: var(--r-xs);
      background: var(--grad);
      display: grid; place-items: center;
      box-shadow: 0 3px 10px rgba(37,99,235,.3);
    }
    .brand-icon svg { width: 18px; height: 18px; color: #fff; }
    .brand-text {
      font-weight: 800;
      font-size: clamp(.88rem, 2vw, 1.1rem);
      letter-spacing: -.03em;
      color: var(--text);
      white-space: nowrap;
    }
    .brand-pill {
      flex-shrink: 0;
      display: inline-flex; align-items: center; gap: 5px;
      background: var(--green-s);
      border: 1px solid var(--green-b);
      color: var(--green);
      font-size: 10px; font-weight: 700;
      padding: 3px 9px; border-radius: 99px;
      white-space: nowrap;
    }
    .brand-pill::before {
      content: '';
      width: 5px; height: 5px; border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 5px var(--green);
      animation: blink 1.8s ease-in-out infinite;
    }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:.4} }

    .theme-toggle {
      width: 36px; height: 36px;
      min-width: 36px; min-height: 36px;
      aspect-ratio: 1 / 1;
      padding: 0; margin: 0;
      flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      border-radius: 50%;
      border: 1px solid var(--glass-b);
      background: var(--surface-2);
      color: var(--text-2);
      cursor: pointer;
      transition: all var(--dur) var(--ease);
    }
    .theme-toggle:hover {
      background: var(--surface-3);
      color: var(--text);
      border-color: var(--glass-b2);
    }
    .theme-toggle svg {
      width: 17px; height: 17px;
      flex-shrink: 0;
      display: block;
      transition: transform .35s var(--spring);
    }
    .theme-toggle:active svg { transform: rotate(25deg) scale(.85); }
    .header-home-btn {
      width: 36px; height: 36px;
      min-width: 36px; min-height: 36px;
      aspect-ratio: 1 / 1;
      flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      border-radius: 50%;
      border: 1px solid var(--glass-b);
      background: var(--surface-2);
      color: var(--text-2);
      transition: all var(--dur) var(--ease);
    }
    .header-home-btn:hover {
      background: var(--surface-3);
      color: var(--text);
      border-color: var(--glass-b2);
    }
    .header-home-btn svg { width: 17px; height: 17px; flex-shrink: 0; display: block; }
    .theme-ic-moon { display: none !important; }
    .best-betting-widget[data-theme="light"] .theme-ic-sun { display: none !important; }
    .best-betting-widget[data-theme="light"] .theme-ic-moon { display: block !important; }

    /* --- Row 2: filters (همه هم‌ارتفاع ۴۴px) --- */
    .best-betting-widget .h-fields {
      --field-h: 44px;
      display: grid;
      grid-template-columns: 1fr 220px 195px;
      gap: 10px;
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid var(--glass-b);
    }
    @media (max-width: 900px) {
      .best-betting-widget .h-fields { grid-template-columns: 1fr 1fr; }
      .best-betting-widget .h-fields .search-wrap { grid-column: 1 / -1; }
    }
    @media (max-width: 480px) {
      .best-betting-widget .h-fields { grid-template-columns: 1fr; }
    }

    .best-betting-widget .search-wrap { position: relative; }
    .best-betting-widget .search-wrap .ic-search {
      position: absolute; left: 14px; top: 50%;
      transform: translateY(-50%);
      width: 16px; height: 16px;
      color: var(--muted); pointer-events: none;
      transition: color var(--dur) var(--ease);
    }
    .best-betting-widget .search-wrap:focus-within .ic-search { color: var(--accent); }

    .best-betting-widget .input, .select {
      width: 100%;
      border: 1px solid var(--glass-b);
      background: var(--surface-2);
      color: var(--text);
      border-radius: var(--r-sm);
      font-size: 13px;
      font-weight: 500;
      transition: all var(--dur) var(--ease);
      box-sizing: border-box;
    }
    .best-betting-widget .h-fields .input {
      background: rgba(37, 99, 235, .12);
      border-color: rgba(37, 99, 235, .2);
    }
    .best-betting-widget .h-fields .input::placeholder { color: var(--muted); }
    .best-betting-widget[data-theme="light"] .h-fields .input {
      background: rgba(37, 99, 235, .08);
      border-color: rgba(37, 99, 235, .18);
    }
    .best-betting-widget .h-fields .input,
    .best-betting-widget .h-fields .select {
      height: var(--field-h);
      padding-top: 0;
      padding-bottom: 0;
      line-height: calc(var(--field-h) - 2px);
    }
    .best-betting-widget .input {
      padding: 10px 14px 10px 40px;
    }
    .best-betting-widget .input::placeholder { color: var(--muted); }
    .best-betting-widget .input:focus, .select:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px var(--accent-glow);
    }
    textarea.input {
      padding: 10px 14px; line-height: 1.5; resize: vertical;
    }

    .best-betting-widget .select {
      padding: 10px 16px 10px 36px;
      cursor: pointer;
      appearance: none; -webkit-appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: left 12px center;
      text-align: right;
    }
    .best-betting-widget .select option { background: var(--surface-2); }

    /* --- Row 3: stats pills --- */
    .best-betting-widget .stats-strip {
      display: flex; gap: 8px; flex-wrap: wrap;
      margin-top: 12px;
    }
    .best-betting-widget .stat-pill {
      display: inline-flex; align-items: center; gap: 5px;
      background: var(--surface-2);
      border: 1px solid var(--glass-b);
      padding: 5px 11px; border-radius: 99px;
      font-size: 11.5px; font-weight: 600; color: var(--text-2);
    }
    .best-betting-widget .s-dot {
      width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
    }
    .best-betting-widget .s-dot.g { background: var(--green); box-shadow: 0 0 6px rgba(34,197,94,.5); }
    .best-betting-widget .s-dot.a { background: var(--amber); }
    .best-betting-widget .s-dot.p { background: var(--accent); }

    /* ============================================================
       BUTTONS
    ============================================================ */
    .btn {
      display: inline-flex; align-items: center; justify-content: center;
      gap: 6px;
      border: none; border-radius: var(--r-sm);
      padding: 11px 17px;
      font-weight: 600; font-size: 13.5px;
      cursor: pointer;
      transition: all var(--dur) var(--ease);
      white-space: nowrap;
      text-align: center;
      position: relative; overflow: hidden;
    }
    .btn svg { width: 15px; height: 15px; flex-shrink: 0; }
    .btn:active { transform: scale(.97); }

    .btn-grad {
      background: var(--grad);
      color: #fff;
      box-shadow: 0 4px 16px var(--accent-glow);
    }
    .btn-grad:hover { box-shadow: 0 6px 24px rgba(37,99,235,.38); transform: translateY(-1px); }

    .btn-green {
      background: var(--green);
      color: #fff;
      box-shadow: 0 4px 14px rgba(34,197,94,.22);
    }
    .btn-green:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(34,197,94,.32); }

    .btn-ghost {
      background: transparent;
      color: var(--text-2);
      border: 1px solid var(--glass-b);
    }
    .btn-ghost:hover { background: var(--surface-2); border-color: var(--glass-b2); color: var(--text); }
    .btn-ghost.on {
      background: var(--accent-glow);
      border-color: rgba(37,99,235,.32);
      color: var(--accent-lt);
    }
    .btn-ghost.on-green {
      background: var(--green-s);
      border-color: var(--green-b);
      color: var(--green);
    }

    .btn-sm { padding: 8px 13px; font-size: 12.5px; border-radius: var(--r-xs); }
    .btn-sm svg { width: 13px; height: 13px; }

    .btn-danger-soft {
      background: var(--danger-s);
      border: 1px solid rgba(239,68,68,.2);
      color: var(--danger);
    }
    .btn-danger-soft:hover { background: var(--danger); color: #fff; border-color: var(--danger); }

    /* ============================================================
       CARDS GRID
    ============================================================ */
    .best-betting-widget #list { padding-top: 26px; padding-bottom: 28px; }

    .best-betting-widget .grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
      gap: 18px;
    }

    /* Card */
    .best-betting-widget .card {
      position: relative;
      background: var(--surface);
      border: 1px solid var(--glass-b);
      border-radius: var(--r-lg);
      padding: 20px;
      display: flex; flex-direction: column; gap: 14px;
      transition: transform var(--dur) var(--ease),
                  box-shadow var(--dur) var(--ease),
                  border-color var(--dur) var(--ease);
      animation: cIn .45s var(--ease) both;
      animation-delay: calc(var(--i,0) * 35ms);
    }
    @keyframes cIn { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }

    /* Gradient border on hover */
    .best-betting-widget .card::after {
      content: '';
      position: absolute; inset: -1px;
      border-radius: inherit;
      padding: 1px;
      background: var(--grad);
      -webkit-mask: linear-gradient(#fff 0 0) content-box,
                    linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0;
      transition: opacity .35s var(--ease);
      pointer-events: none;
    }
    .best-betting-widget .card:hover {
      transform: translateY(-3px);
      box-shadow: var(--sh-md), var(--sh-glow);
      border-color: transparent;
    }
    .best-betting-widget .card:hover::after { opacity: 1; }

    /* Rank badge */
    .best-betting-widget .card-rank {
      position: absolute;
      top: 14px; left: 14px;
      width: 26px; height: 26px;
      border-radius: var(--r-xs);
      display: grid; place-items: center;
      font-size: 11px; font-weight: 900;
      z-index: 2; flex-shrink: 0;
    }
    .rank-1 { background: linear-gradient(135deg,#fcd34d,#f59e0b); color: #78350f; }
    .rank-2 { background: linear-gradient(135deg,#d1d5db,#9ca3af); color: #111827; }
    .rank-3 { background: linear-gradient(135deg,#d97706,#b45309); color: #fff; }

    /* Card head: logo + info */
    .best-betting-widget .card-head {
      display: grid;
      grid-template-columns: 58px 1fr;
      gap: 13px;
      align-items: center;
    }

    .best-betting-widget .logo-box {
      width: 58px; height: 58px;
      border-radius: var(--r-sm);
      background: var(--surface-2);
      border: 1px solid var(--glass-b);
      overflow: hidden;
      display: grid; place-items: center;
      flex-shrink: 0;
    }
    .best-betting-widget[data-theme="light"] .logo-box {
      background: rgba(22, 25, 35, .55);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-color: rgba(255,255,255,.25);
      box-shadow: 0 2px 12px rgba(0,0,0,.08) inset;
    }
    .best-betting-widget .logo-box img { width: 100%; height: 100%; object-fit: contain; }

    .best-betting-widget .card-info { min-width: 0; }
    .best-betting-widget .card-name {
      font-weight: 700;
      font-size: 1rem;
      letter-spacing: -.02em;
      color: var(--text);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .best-betting-widget .card-en {
      font-size: 11.5px; font-weight: 500;
      color: var(--muted); margin-top: 3px;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }

    /* Rating bar */
    .rating-row {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 10px;
    }
    .rating-track {
      height: 5px; border-radius: 99px;
      background: var(--surface-3); overflow: hidden;
    }
    .rating-fill {
      height: 100%; border-radius: inherit;
      background: var(--grad);
    }
    .rating-label {
      font-size: 12.5px; font-weight: 800;
      color: var(--accent-lt);
      min-width: 44px; text-align: center;
    }

    /* Meta chips row */
    .best-betting-widget .meta-row { display: flex; gap: 7px; flex-wrap: wrap; }
    .best-betting-widget .mc {
      display: inline-flex; align-items: center; gap: 5px;
      font-size: 11.5px; font-weight: 600;
      padding: 5px 10px; border-radius: 99px;
      border: 1px solid var(--glass-b);
      background: var(--surface-2); color: var(--text-2);
    }
    .best-betting-widget .mc svg { width: 12px; height: 12px; flex-shrink: 0; }
    .best-betting-widget .mc.hi {
      background: var(--green-s);
      border-color: var(--green-b);
      color: var(--green);
    }
    .best-betting-widget .mc.hi-amber {
      background: rgba(245,158,11,.12);
      border-color: rgba(245,158,11,.25);
      color: var(--amber);
    }

    /* Card action rows */
    .best-betting-widget .card-btns {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .best-betting-widget .card-btns-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 7px;
    }

    /* ============================================================
       COMPARE BAR (sticky bottom)
    ============================================================ */
    .best-betting-widget .compare-bar {
      position: fixed; bottom: 0; left: 0; right: 0;
      z-index: 90;
      background: var(--glass);
      backdrop-filter: blur(22px) saturate(1.4);
      -webkit-backdrop-filter: blur(22px) saturate(1.4);
      border-top: 1px solid var(--glass-b);
      box-shadow: 0 -6px 28px rgba(0,0,0,.22);
      display: none;
      animation: slideUp .28s var(--ease);
    }
    @keyframes slideUp { from{transform:translateY(100%);opacity:0} to{transform:translateY(0);opacity:1} }

    .best-betting-widget .compare-inner {
      max-width: 1180px; margin: 0 auto;
      padding: 13px clamp(14px,3.5vw,28px);
      display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
    }
    .best-betting-widget .cmp-chips { display: flex; gap: 7px; flex-wrap: wrap; flex: 1; min-width: 0; }
    .best-betting-widget .cmp-chip {
      display: inline-flex; align-items: center; gap: 7px;
      background: var(--surface-2);
      border: 1px solid var(--glass-b);
      padding: 7px 13px; border-radius: 99px;
      font-size: 12.5px; font-weight: 600;
    }
    .best-betting-widget .cmp-chip-x {
      width: 20px; height: 20px;
      min-width: 20px; min-height: 20px;
      aspect-ratio: 1 / 1;
      padding: 0; margin: 0;
      display: flex; align-items: center; justify-content: center;
      border-radius: 50%;
      background: var(--danger-s);
      border: none;
      color: var(--danger);
      cursor: pointer;
      transition: all var(--dur) var(--ease);
      flex-shrink: 0;
    }
    .best-betting-widget .cmp-chip-x svg { width: 10px; height: 10px; flex-shrink: 0; display: block; }
    .best-betting-widget .cmp-chip-x:hover { background: var(--danger); color: #fff; }

    .best-betting-widget.has-bar footer { margin-bottom: 76px; }

    /* ============================================================
       COMPARE SECTION
    ============================================================ */
    .best-betting-widget .compare-section { margin-top: 28px; }
    .best-betting-widget #compareSection {
      background: var(--surface);
      border: 1px solid var(--glass-b);
      border-radius: var(--r-lg);
      padding: clamp(18px,2.5vw,26px);
      box-shadow: var(--sh-sm);
    }
    .best-betting-widget .cmp-title {
      font-size: 1.1rem; font-weight: 800; color: var(--text);
      display: flex; align-items: center; gap: 10px;
      margin-bottom: 18px;
    }
    .best-betting-widget .cmp-title::before {
      content: '';
      width: 4px; height: 20px;
      border-radius: 99px;
      background: var(--grad);
      flex-shrink: 0;
    }
    .table-wrap {
      overflow-x: auto; -webkit-overflow-scrolling: touch;
      border-radius: var(--r-sm);
      border: 1px solid var(--glass-b);
    }
    .best-betting-widget .cmp-table { width: 100%; min-width: 400px; border-collapse: collapse; font-size: 13px; }
    .best-betting-widget .cmp-table th, .cmp-table td {
      padding: 13px 15px;
      border-bottom: 1px solid var(--glass-b);
      text-align: right;
    }
    .best-betting-widget .cmp-table th {
      background: var(--surface-2);
      color: var(--muted);
      font-weight: 700; font-size: 11.5px;
      text-transform: uppercase; letter-spacing: .03em;
    }
    .best-betting-widget .cmp-table tbody tr { transition: background var(--dur) var(--ease); }
    .best-betting-widget .cmp-table tbody tr:hover { background: var(--surface-2); }
    .best-betting-widget .cmp-table tbody tr:last-child td { border-bottom: none; }
    .best-betting-widget .cmp-table a { color: var(--accent-lt); font-weight: 600; }
    .best-betting-widget .cmp-table a:hover { text-decoration: underline; }

    /* ============================================================
       MODAL  — centered via position:fixed + transform
    ============================================================ */
    .best-betting-widget dialog#modal {
      border: none; padding: 0;
      border-radius: var(--r-xl);
      width: min(580px, 94vw);
      max-height: min(92dvh, 92vh);
      overflow: hidden;
      background: var(--surface);
      color: var(--text);
      box-shadow: var(--sh-lg), var(--sh-glow);
      position: fixed;
      inset: 0;
      margin: auto;
    }
    .best-betting-widget dialog#modal[open] { display: flex; flex-direction: column; }
    .best-betting-widget dialog#modal::backdrop {
      background: rgba(0,0,0,.58);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }

    .best-betting-widget .modal-head {
      display: flex; align-items: center; justify-content: space-between;
      gap: 12px;
      padding: 20px 24px;
      background: var(--grad-s);
      border-bottom: 1px solid var(--glass-b);
      flex-shrink: 0;
    }
    .best-betting-widget .modal-head-left { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
    .best-betting-widget .modal-logo {
      width: 50px; height: 50px; flex-shrink: 0;
      border-radius: var(--r-sm);
      background: var(--surface);
      border: 1px solid var(--glass-b);
      overflow: hidden;
      display: grid; place-items: center;
    }
    .best-betting-widget .modal-logo img { width: 100%; height: 100%; object-fit: contain; }
    .best-betting-widget .modal-name {
      font-size: 1.1rem; font-weight: 800;
      color: var(--text);
      overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .best-betting-widget .modal-en { font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 2px; }

    /* Perfect circle close button */
    .best-betting-widget .modal-close-btn {
      width: 36px; height: 36px;
      min-width: 36px; min-height: 36px;
      aspect-ratio: 1 / 1;
      padding: 0; margin: 0;
      display: flex; align-items: center; justify-content: center;
      border-radius: 50%;
      border: 1px solid var(--glass-b);
      background: var(--surface);
      color: var(--muted);
      cursor: pointer;
      flex-shrink: 0;
      transition: all var(--dur) var(--ease);
    }
    .best-betting-widget .modal-close-btn svg {
      width: 16px; height: 16px;
      flex-shrink: 0;
      display: block;
    }
    .best-betting-widget .modal-close-btn:hover { background: var(--danger-s); border-color: rgba(239,68,68,.25); color: var(--danger); }

    .best-betting-widget .modal-body {
      display: grid;
      grid-template-columns: 1.25fr .75fr;
      gap: 24px;
      padding: 26px 24px;
      overflow-y: auto;
      flex: 1;
    }
    @media (max-width: 768px) {
      .best-betting-widget dialog#modal {
        width: 100%;
        max-width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        inset: 0;
        margin: 0;
      }
      .best-betting-widget .modal-body { grid-template-columns: 1fr; padding: 20px 16px; gap: 18px; }
      .best-betting-widget .modal-head { padding: 14px 16px; }
      .best-betting-widget .modal-name { white-space: normal; }
    }
    @media (max-width: 420px) {
      .best-betting-widget .modal-body { padding: 18px 14px; }
      .best-betting-widget .modal-head { padding: 14px 14px; }
    }

    .best-betting-widget .modal-sec-title {
      display: flex; align-items: center; gap: 8px;
      font-size: 11.5px; font-weight: 700;
      text-transform: uppercase; letter-spacing: .06em;
      color: var(--muted);
      margin: 18px 0 8px;
    }
    .best-betting-widget .modal-sec-title:first-of-type { margin-top: 0; }
    .best-betting-widget .modal-sec-title::before {
      content: '';
      width: 3px; height: 13px; border-radius: 99px;
      background: var(--grad); flex-shrink: 0;
    }
    .best-betting-widget .modal-desc { font-size: 13.5px; line-height: 1.85; color: var(--text-2); }
    .best-betting-widget .modal-note { font-size: 11px; color: var(--muted); margin-top: 8px; font-weight: 500; }
    .best-betting-widget .modal-badges { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
    .best-betting-widget .modal-body ul { padding-right: 18px; padding-left: 0; }
    .best-betting-widget .modal-body li { margin-bottom: 7px; font-size: 13px; color: var(--text-2); }
    .best-betting-widget .modal-body li a { color: var(--accent-lt); font-weight: 600; }
    .best-betting-widget .modal-body li a:hover { text-decoration: underline; }

    /* Sidebar cards */
    .best-betting-widget .modal-side { display: flex; flex-direction: column; gap: 12px; }
    .best-betting-widget .side-card {
      background: var(--surface-2);
      border: 1px solid var(--glass-b);
      border-radius: var(--r);
      padding: 16px;
    }
    .best-betting-widget .side-card .row-btns { display: flex; gap: 8px; }
    .best-betting-widget .side-card .row-btns .btn { flex: 1; min-width: 0; }
    .best-betting-widget .side-card .report-lbl {
      font-size: 12.5px; font-weight: 700;
      color: var(--text); display: block; margin-bottom: 9px;
    }
    .report-ok { font-size: 11.5px; color: var(--green); font-weight: 600; margin-top: 7px; min-height: 16px; }

    /* ============================================================
       EMPTY STATE
    ============================================================ */
    .best-betting-widget .empty-state {
      padding: clamp(40px,8vw,72px) 20px;
      text-align: center;
      border: 2px dashed var(--glass-b);
      border-radius: var(--r-lg);
      background: var(--grad-s);
      color: var(--muted); font-weight: 600; font-size: 14.5px;
    }
    .best-betting-widget .empty-icon { font-size: 44px; display: block; margin-bottom: 10px; opacity: .5; }

    /* ============================================================
       FOOTER
    ============================================================ */
    .best-betting-widget footer {
      margin-top: 44px;
      padding-block: 28px;
      border-top: 1px solid var(--glass-b);
      text-align: center;
      color: var(--muted); font-size: 12.5px; font-weight: 500;
    }

    /* ============================================================
       ICON HELPERS (inline SVG classes)
    ============================================================ */
    .best-betting-widget .ic { display: inline-block; vertical-align: middle; }/* End custom CSS */