
    ::-webkit-scrollbar { width: 4px; height: 4px; }
    ::-webkit-scrollbar-track { background: #0f172a; }
    ::-webkit-scrollbar-thumb { background: #334155; border-radius: 2px; }
    @keyframes flash-green {
      0% { background-color: rgba(16,185,129,.4); border-color: #10b981; }
      100% { background-color: transparent; }
    }
    @keyframes flash-red {
      0% { background-color: rgba(239,68,68,.4); border-color: #ef4444; }
      100% { background-color: transparent; }
    }
    @keyframes marquee {
      0% { transform: translateX(0%); }
      100% { transform: translateX(-50%); }
    }
    .odds-up { animation: flash-green 1.2s ease-out; }
    .odds-down { animation: flash-red 1.2s ease-out; }
    .animate-marquee {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      width: max-content;
      animation: marquee 18s linear infinite;
      white-space: nowrap;
      will-change: transform;
    }
    #win-ticker-text, #win-ticker-amount {
      transition: opacity .18s ease;
    }
    .scrollbar-none { -ms-overflow-style: none; scrollbar-width: none; }
    .scrollbar-none::-webkit-scrollbar { display: none; }
    /* 投注单收起：只露出标题栏（约 3rem），可点击展开 */
    #quick-betslip.slip-collapsed {
      transform: translateY(calc(100% - 3rem));
    }
    #quick-betslip.slip-hidden {
      transform: translateY(100%);
      visibility: hidden;
      pointer-events: none;
      display: none;
    }
    #quick-betslip.slip-open {
      transform: translateY(0);
      visibility: visible;
      pointer-events: auto;
    }
    @keyframes live-pulse {
      0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(244,63,94,.45); }
      50% { opacity: .85; box-shadow: 0 0 0 4px rgba(244,63,94,0); }
    }
    @keyframes ai-glow {
      0%, 100% { box-shadow: 0 0 0 1px rgba(245,158,11,.55), 0 0 10px rgba(245,158,11,.35); }
      50% { box-shadow: 0 0 0 1px rgba(251,191,36,.85), 0 0 16px rgba(245,158,11,.55); }
    }
    @keyframes attack-fade {
      0%, 100% { opacity: .75; }
      50% { opacity: 1; }
    }
    .live-tv-btn { animation: live-pulse 1.6s ease-in-out infinite; }
    .ai-glow-btn {
      background: linear-gradient(135deg, rgba(245,158,11,.18), rgba(16,185,129,.12));
      border: 1px solid rgba(245,158,11,.45);
      animation: ai-glow 2.4s ease-in-out infinite;
    }
    .attack-line { animation: attack-fade 2s ease-in-out infinite; }
    @keyframes shimmer-x {
      0% { transform: translateX(-40%); opacity: .35; }
      50% { opacity: .7; }
      100% { transform: translateX(40%); opacity: .35; }
    }
    .super-boost-banner .shimmer-orb {
      animation: shimmer-x 3.2s ease-in-out infinite;
    }
    @keyframes wave-right {
      0% { opacity: .35; transform: translateX(-8%); }
      50% { opacity: .9; transform: translateX(0); }
      100% { opacity: .35; transform: translateX(6%); }
    }
    @keyframes wave-left {
      0% { opacity: .35; transform: translateX(8%); }
      50% { opacity: .9; transform: translateX(0); }
      100% { opacity: .35; transform: translateX(-6%); }
    }
    .attack-wave-right {
      animation: wave-right 1.4s ease-in-out infinite;
      background: linear-gradient(90deg, transparent, rgba(245,158,11,.18), rgba(245,158,11,.42));
    }
    .attack-wave-left {
      animation: wave-left 1.4s ease-in-out infinite;
      background: linear-gradient(270deg, transparent, rgba(16,185,129,.18), rgba(16,185,129,.42));
    }
    .football-node .ball-core {
      animation: live-pulse 1.2s ease-in-out infinite;
    }
    button, a, div { -webkit-tap-highlight-color: transparent; }
    .badge-crest {
      width: 28px; height: 28px; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
      font-size: 9px; font-weight: 800; letter-spacing: .02em; color: #fff; flex-shrink: 0;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
    }
    .team-logo {
      width: 28px; height: 28px; border-radius: 9999px; object-fit: contain; background: #fff;
      padding: 2px; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
    }
    .match-teams { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 8px; }
    .football-card .grid.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .football-card .grid.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .football-card .odds-box { min-width: 0; }
    .football-card .odds-box > div:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .logo-stack { display: flex; align-items: center; flex-shrink: 0; }
    .logo-stack img {
      width: 24px; height: 24px; border-radius: 9999px; object-fit: contain; background: #fff;
      padding: 2px; box-shadow: 0 0 0 2px #090d16;
    }
    .logo-stack img + img { margin-left: -7px; }
    .logo-stack.sm img { width: 18px; height: 18px; padding: 1px; }
    .logo-stack.sm img + img { margin-left: -5px; }
    .filter-row { scrollbar-width: none; }
    .filter-row::-webkit-scrollbar { display: none; }
    #mini-player.dragging { opacity: .92; cursor: grabbing; }
    .safe-pb { padding-bottom: max(0.5rem, env(safe-area-inset-bottom)); }

    /* ===== Stake 极致黑底 / 毛玻璃 / 霓虹发光 ===== */
    .bet-dark-bg { background-color: #090d16 !important; }
    .bet-card-glass {
      background-color: rgba(15, 23, 42, 0.85) !important;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }
    .neon-glow-emerald { box-shadow: 0 0 16px rgba(16, 185, 129, 0.35) !important; }
    .neon-glow-amber { box-shadow: 0 0 16px rgba(245, 158, 11, 0.35) !important; }
    .neon-glow-sky { box-shadow: 0 0 16px rgba(14, 165, 233, 0.35) !important; }
    .odds-box {
      background: #090d16 !important;
      border: 1px solid rgba(245, 158, 11, 0.3) !important;
      color: #f59e0b !important;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      font-weight: 900;
      box-shadow: inset 0 0 8px rgba(0,0,0,0.5);
    }
    .odds-box .odds-live,
    .odds-box .text-emerald-400 { color: #f59e0b !important; }
    .odds-box:hover { border-color: rgba(16, 185, 129, 0.55) !important; }
    .no-scrollbar::-webkit-scrollbar { display: none; }
    .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
    .dice-track-wrap { position: relative; }
    .dice-track-wrap input[type="range"] {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      margin: 0;
      opacity: 0;
      cursor: pointer;
      z-index: 5;
    }

    /* ===== 全局字体 / 排版 ===== */
    html { -webkit-text-size-adjust: 100%; }
    body {
      font-family: 'Outfit', 'Noto Sans SC', system-ui, sans-serif;
      letter-spacing: .01em;
      font-feature-settings: "tnum" 1, "ss01" 1;
    }
    .font-mono, code, .odds-box, [translate="no"].font-mono {
      font-family: 'JetBrains Mono', ui-monospace, monospace !important;
      letter-spacing: -.01em;
    }
    .font-black { font-weight: 800; }
    h2, h4, .font-black.text-xs { letter-spacing: .02em; }

    /* ===== 字号整体放大 ===== */
    .text-\[8px\] { font-size: 10px !important; }
    .text-\[9px\] { font-size: 11px !important; }
    .text-\[10px\] { font-size: 12px !important; line-height: 1.45; }
    .text-\[11px\] { font-size: 13px !important; line-height: 1.45; }
    .text-xs { font-size: 14px !important; line-height: 1.4 !important; }
    .text-sm { font-size: 15.5px !important; line-height: 1.45 !important; }
    .text-base { font-size: 17.5px !important; }
    .text-lg { font-size: 20px !important; }
    .text-2xl { font-size: 28px !important; }

    /* ===== 图片元素 ===== */
    .league-ico {
      width: 18px; height: 18px; border-radius: 9999px; object-fit: contain; background: #fff;
      padding: 1px; flex-shrink: 0;
    }
    .filter-chip { display: inline-flex; align-items: center; gap: 6px; }
    .sport-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 14px; font-weight: 800; font-size: 14px; color: #cbd5e1; background: rgba(15,23,42,.75); border: 1px solid rgba(51,65,85,.9); transition: all .2s; flex-shrink: 0; }
    .sport-chip .sport-ico { font-size: 18px; line-height: 1; }
    .sport-chip .sport-count { font-size: 11px; font-family: 'JetBrains Mono', monospace; color: #94a3b8; background: rgba(2,6,23,.6); padding: 1px 6px; border-radius: 999px; }
    .sport-chip .sport-count:empty { display: none; }
    .sport-chip.active { color: #04130d; background: linear-gradient(135deg,#34d399,#10b981); border-color: #34d399; box-shadow: 0 0 18px rgba(16,185,129,.45); }
    .sport-chip.active .sport-count { color: #04130d; background: rgba(255,255,255,.35); }
    .crypto-ico { width: 22px; height: 22px; }
    .tipster-avatar-img { width: 100%; height: 100%; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
    .hero-banner { position: relative; overflow: hidden; border-radius: 1.25rem; min-height: 150px; }
    .cover-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .cover-row .cover-hero, .cover-row .hero-content { min-height: 380px; }
    .hero-banner.cover-hero { min-height: 420px; border-radius: 18px; }
    .cover-row .hero-banner.cover-hero { min-height: 380px; border-color: rgba(255,255,255,.08) !important; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
    .cover-row .hero-content { display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; width: 100%; min-width: 0; box-sizing: border-box; }
    .cover-kicker { font-size: 11px; letter-spacing: .22em; font-weight: 700; color: #d1d5db; }
    .cover-title { margin-top: 6px; font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: #fff; max-width: 100%; }
    .cover-sub { margin-top: 8px; font-size: 12px; letter-spacing: .08em; color: #e2e8f0; }
    .cover-meta { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .cover-live { font-size: 10px; font-weight: 800; letter-spacing: .16em; color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 5px 9px; background: rgba(15,23,42,.35); }
    .hero-banner > img.hero-bg {
      position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
      animation: hero-zoom 18s ease-in-out infinite alternate;
    }
    .hero-banner.cover-hero > img.hero-bg { object-position: center 20%; animation: none; }
    .hero-banner::after {
      content: ""; position: absolute; inset: 0;
      background: linear-gradient(100deg, rgba(5,7,13,.92) 0%, rgba(5,7,13,.55) 55%, rgba(5,7,13,.15) 100%);
    }
    .hero-banner.cover-hero::after {
      background: linear-gradient(180deg, rgba(5,7,13,0) 38%, rgba(5,7,13,.45) 68%, rgba(5,7,13,.92) 100%);
    }
    #matches-container { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
    #matches-container.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0; }
    #matches-container > #matches-loading,
    #matches-container > #matches-error,
    #matches-container > .col-span-full { grid-column: 1 / -1; }
    #matches-container > article.football-card { height: 100%; }
    #section-football { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
    #section-football.hidden, #section-racing.hidden, #section-originals.hidden { display: none !important; }
    #section-football.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0; }
    #section-football > .cover-row,
    #section-football > .space-y-2,
    #section-football > #live-feed-status,
    #section-football > #matches-container,
    #section-football > .flex.items-center.justify-between,
    #section-football > .hover\:border-emerald-500\/40 { grid-column: 1 / -1; }
    #section-football > .bet-card-glass,
    #section-football > .relative.bet-card-glass,
    #section-football > .super-boost-banner { min-height: 100%; }
    #sport-filter-row, #league-filter-row { flex-wrap: wrap; overflow: visible; row-gap: 8px; }
    #section-football .space-y-2 > .flex { flex-wrap: wrap; overflow: visible; row-gap: 8px; }
    #section-football .space-y-2 > .grid { max-width: 480px; }
    .sport-chip, .filter-chip, .market-chip { min-height: 36px; }
    nav.fixed.bottom-0 .max-w-6xl { display: flex; justify-content: center; gap: 12px; }
    nav.fixed.bottom-0 button { flex-direction: row; gap: 8px; min-width: 120px; justify-content: center; border-radius: 12px; }
    @media (max-width: 900px) {
      #section-football, #matches-container, .cover-row { grid-template-columns: minmax(0, 1fr); }
      #section-football > *, .cover-row > *, .hero-banner, .hero-banner > img.hero-bg { min-width: 0; max-width: 100%; }
      .cover-row .hero-banner.cover-hero,
      .cover-row .cover-hero,
      .cover-row .hero-content { min-height: 240px; }
      main.max-w-6xl { padding-left: 12px; padding-right: 12px; }
      nav.fixed.bottom-0 .max-w-6xl { gap: 0; }
      nav.fixed.bottom-0 button { flex-direction: column; min-width: 0; flex: 1; gap: 2px; }
    }
    #tab-hall.home-page:not(.hidden) { display: flex; flex-direction: column; gap: 16px; }
    .tab-content.hidden { display: none !important; }
    #tab-hall.home-page.space-y-3\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0; }
    .hero-banner > .hero-content { position: relative; z-index: 1; }
    @keyframes hero-zoom { 0% { transform: scale(1); } 100% { transform: scale(1.12) translateX(-2%); } }

    /* ===== 卡片 / 按钮 新样式 ===== */
    .bet-card-glass {
      background: linear-gradient(160deg, rgba(17, 24, 39, .55), rgba(9, 13, 22, .45)) !important;
      backdrop-filter: blur(14px) saturate(160%);
      -webkit-backdrop-filter: blur(14px) saturate(160%);
      border-color: rgba(148, 163, 184, .14) !important;
      box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05);
    }
    .tipster-card {
      background: linear-gradient(160deg, rgba(17, 24, 39, .6), rgba(9, 13, 22, .5)) !important;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }
    .rounded-2xl { border-radius: 1.25rem; }
    .rounded-xl { border-radius: .9rem; }
    .odds-box {
      background: linear-gradient(180deg, rgba(9, 13, 22, .9), rgba(15, 23, 42, .9)) !important;
      transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
    }
    .odds-box:hover { transform: translateY(-1px); box-shadow: 0 0 14px rgba(245, 158, 11, .25), inset 0 0 8px rgba(0, 0, 0, .5); }
    button.bg-emerald-500, .bg-gradient-to-r.from-emerald-500 {
      background-image: linear-gradient(110deg, #10b981 0%, #34d399 45%, #10b981 55%, #059669 100%) !important;
      background-size: 220% 100% !important;
      animation: btn-shine 3.2s linear infinite;
    }
    @keyframes btn-shine { 0% { background-position: 100% 0; } 100% { background-position: -120% 0; } }

    /* ===== 动态背景 ===== */
    .bet-dark-bg { background-color: #05070d !important; }
    #bg-motion { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #070b14; }
    #bg-motion .blob {
      position: absolute; border-radius: 50%; filter: blur(60px); opacity: .9; mix-blend-mode: screen;
      will-change: transform;
    }
    #bg-motion .b1 { width: 60vmax; height: 60vmax; left: -20vmax; top: -15vmax;
      background: radial-gradient(circle, rgba(16,185,129,.55), transparent 65%); animation: drift1 22s ease-in-out infinite alternate; }
    #bg-motion .b2 { width: 55vmax; height: 55vmax; right: -20vmax; top: 25vh;
      background: radial-gradient(circle, rgba(245,158,11,.38), transparent 65%); animation: drift2 26s ease-in-out infinite alternate; }
    #bg-motion .b3 { width: 50vmax; height: 50vmax; left: 10vw; bottom: -25vmax;
      background: radial-gradient(circle, rgba(139,92,246,.42), transparent 65%); animation: drift3 30s ease-in-out infinite alternate; }
    @keyframes drift1 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(18vw, 22vh) scale(1.15); } }
    @keyframes drift2 { 0% { transform: translate(0,0) scale(1.1); } 100% { transform: translate(-22vw, -18vh) scale(.9); } }
    @keyframes drift3 { 0% { transform: translate(0,0) scale(.95); } 100% { transform: translate(15vw, -25vh) scale(1.2); } }
    #bg-motion .grid {
      position: absolute; inset: -50% -50% 0 -50%; height: 200%;
      background-image:
        linear-gradient(rgba(52,211,153,.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52,211,153,.14) 1px, transparent 1px);
      background-size: 44px 44px;
      transform: perspective(600px) rotateX(58deg);
      transform-origin: center top;
      animation: grid-move 6s linear infinite;
      mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 70%, transparent 100%);
      -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 70%, transparent 100%);
      top: 40%;
    }
    @keyframes grid-move { 0% { background-position: 0 0; } 100% { background-position: 0 44px; } }
    #bg-particles { position: absolute; inset: 0; width: 100%; height: 100%; }
    #bg-motion .bg-slides { position: absolute; inset: 0; }
    #bg-motion .bg-slide {
      position: absolute; inset: -6%; background-size: cover; background-position: center 42%;
      opacity: 0; transition: opacity 1.2s ease; will-change: opacity;
    }
    #bg-motion .bg-slide.show { opacity: .92; }
    #bg-motion .bg-shade { position: absolute; inset: 0;
      background: linear-gradient(180deg, rgba(5,7,13,.45) 0%, rgba(5,7,13,.62) 45%, rgba(5,7,13,.85) 100%); }
    #bg-motion .vignette { position: absolute; inset: 0;
      background: radial-gradient(ellipse at center, transparent 55%, rgba(5,7,13,.7) 100%); }
    /* phone-hall-bg */
    @media (max-width: 900px) {
      #bg-motion .blob, #bg-motion .grid, #bg-particles { display: none; }
      #bg-motion .bg-slide,
      #bg-motion .bg-slide.show {
        background-image: var(--phone-poster) !important;
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        opacity: 1;
      }
      #bg-motion .bg-shade {
        background: linear-gradient(180deg, rgba(5,7,13,.16) 0%, rgba(5,7,13,.34) 46%, rgba(5,7,13,.72) 100%);
      }
      #bg-motion .vignette {
        background: radial-gradient(ellipse at center, transparent 68%, rgba(5,7,13,.4) 100%);
      }
      #app-loader .poster,
      #app-loader .poster.phone-fill {
        background-image: var(--phone-poster) !important;
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        animation: none !important;
        transform: none !important;
      }
      #app-loader .ld-logo { display: none; }
      #app-loader .shade {
        background: linear-gradient(180deg, rgba(5,7,13,.02) 0%, rgba(5,7,13,.06) 62%, rgba(5,7,13,.88) 100%);
      }
      .cover-row .hero-banner.cover-hero,
      .cover-row .cover-hero,
      .hero-banner.cover-hero { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
      .hero-banner.cover-hero > img.hero-bg,
      .hero-banner > img.hero-bg { object-fit: contain; object-position: center center; background: #070b14; }
    }
    @media (prefers-reduced-motion: reduce) {
      #bg-motion .blob, #bg-motion .grid, button.bg-emerald-500, .bg-gradient-to-r.from-emerald-500 { animation: none !important; }
    }
  
