    * { box-sizing: border-box; }
    button { outline: none !important; -webkit-tap-highlight-color: transparent !important; -webkit-focus-ring-color: transparent !important; }
    button:focus, button:active, button:focus-visible { outline: none !important; -webkit-tap-highlight-color: transparent !important; }
    input, textarea { -webkit-tap-highlight-color: transparent; }
    body { font-family: 'Poppins', sans-serif; background: radial-gradient(ellipse at 40% 30%, #1a6fb5 0%, #0d47a1 35%, #0a2a5c 65%, #051230 100%); min-height: 100vh; margin: 0; padding: 0; overflow-x: hidden; color: #fff; }
    .app { width: 100%; max-width: 480px; margin: 0 auto; padding-bottom: 80px; position: relative; z-index: 1; }
    .hero { text-align: center; padding: 10px 14px 4px; }
    .hero-img { width: 100%; max-width: 420px; max-height: 190px; object-fit: cover; border-radius: 16px; border: 1px solid rgba(255,215,0,.25); box-shadow: 0 6px 24px rgba(0,0,0,.35); }
    .hero-line { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px; color: #fff; margin: 10px 4px 2px; line-height: 1.4; }
    .hero-sub { display: block; font-size: 11px; color: rgba(255,255,255,.65); margin-bottom: 8px; }
    .hero-install { display: inline-block; background: #ffd700; color: #000; font-weight: 800; font-size: 13px; padding: 9px 18px; border-radius: 22px; text-decoration: none; margin-bottom: 4px; }
    .top-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; background: rgba(0,0,0,.30); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.05); }
    .menu-button { background: 0 0; border: none; color: #fff; font-size: 22px; cursor: pointer; padding: 4px 6px; }
    .online { font-size: 11px; color: #00E676; font-weight: 700; }
    #jackpotDisplay { width: calc(100% - 24px); margin: 8px auto; padding: 12px 14px; border-radius: 16px; background: linear-gradient(145deg, rgba(139,0,0,0.9) 0%, rgba(255,30,30,0.9) 100%); border: 1px solid rgba(255,80,80,0.8); text-align: center; }
    .jackpot-title { font-family: 'Orbitron', sans-serif; font-size: 18px; color: #ffd700; margin-bottom: 6px; }
    .jackpot-main-row { display: flex; justify-content: center; align-items: center; text-align: center; }
    .jackpot-main-row > div { flex: 1; }
    .jackpot-label { font-size: 10px; color: rgba(255,255,255,.9); margin-bottom: 2px; }
    #jackpotAmount { font-family: 'Orbitron', sans-serif; font-size: 20px; font-weight: 900; }
    #jackpotCountdown { font-family: 'Orbitron', sans-serif; font-size: 16px; color: #00E676; }
    .server-wallet-box { text-align: center; margin: 8px 12px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
    .server-wallet-label { font-size: 12px; color: rgba(255,255,255,.7); }
    .server-wallet-address { font-size: 13px; font-weight: 700; color: #64b5f6; word-break: break-all; }
    .main-play-button { display: block; width: 80%; max-width: 280px; margin: 12px auto; padding: 12px 18px; background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%); color: #fff; border: none; font-size: 16px; font-weight: 900; font-family: 'Poppins', sans-serif; border-radius: 18px; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 6px 0 #990000, 0 8px 24px rgba(255,65,108,0.5); transition: all 0.1s ease; }
    .main-play-button:active { transform: translateY(4px); box-shadow: 0 2px 0 #990000; }
    .main-play-button:disabled { opacity: 0.5; cursor: not-allowed; }
    .tap-zone { display: flex; flex-direction: column; align-items: center; padding: 16px 0; }
    #timerRule { background: rgba(13,35,75,0.85); border: 1px solid rgba(0,243,255,0.35); border-radius: 14px; padding: 8px 18px; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; box-shadow: 0 0 20px rgba(0,243,255,0.3); transition: border-color 0.3s, box-shadow 0.3s; }
    #timerRule strong { font-size: 24px; color: #00f3ff; font-family: 'Orbitron', sans-serif; text-shadow: 0 0 10px rgba(0,243,255,0.7); transition: color 0.3s; }
    #timerRule.warning { border-color: rgba(255,51,102,0.6); animation: pulse 1.5s infinite; }
    #timerRule.warning strong { color: #ff3366 !important; }
    @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }
    @keyframes pulseButton { 0%, 100% { transform: scale(1); box-shadow: 0 6px 0 #B34A00, 0 10px 28px rgba(255,122,0,.55), 0 0 30px rgba(255,215,0,.25); } 50% { transform: scale(1.045); box-shadow: 0 6px 0 #B34A00, 0 14px 42px rgba(255,122,0,.9), 0 0 60px rgba(255,215,0,.55); } }
    @keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
    #tapCounterDisplay { font-family: 'Orbitron', sans-serif; font-size: 20px; color: #64b5f6; font-weight: 900; }
    .tap-button { position: relative; width: 260px; height: 260px; border: 3.5px solid rgba(100,181,246,0.8); border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(100,181,246,0.4), rgba(255,255,255,0.12)); cursor: pointer; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 0 60px rgba(100,181,246,0.45); outline: none !important; -webkit-tap-highlight-color: transparent !important; -webkit-focus-ring-color: transparent !important; }
    .tap-button:focus, .tap-button:active, .tap-button:focus-visible, .tap-button.tap-active { outline: none !important; -webkit-tap-highlight-color: transparent !important; -webkit-focus-ring-color: transparent !important; }
    .tap-button:disabled { opacity: .6; cursor: not-allowed; }
    .tap-img-bg { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; position: absolute; inset: 0; }
    .leaderboard, .chat-section { background: rgba(13,35,75,0.85); border: 1px solid rgba(100,181,246,0.25); border-radius: 18px; padding: 12px; margin: 8px 12px; }
    .section-title { font-size: 13px; font-weight: 700; font-family: 'Orbitron', sans-serif; margin-bottom: 8px; }
    .leaderboard-item { background: rgba(255,255,255,0.05); padding: 6px 10px; border-radius: 12px; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; font-size: 12px; border-left: 3px solid #64b5f6; }
    .rank-badge { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(100,181,246,0.2); font-size: 11px; font-weight: 900; flex-shrink: 0; }
    .player-name { flex: 1; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .player-score { color: #64b5f6; font-weight: 900; font-family: 'Orbitron', sans-serif; white-space: nowrap; }
    .chat-messages { background: rgba(5,15,35,0.6); border-radius: 12px; padding: 8px; height: 115px; overflow-y: auto; margin-bottom: 8px; font-size: 12px; }
    .chat-message { background: rgba(255,255,255,0.08); padding: 6px 10px; border-radius: 10px; margin-bottom: 5px; color: #e2e8f0; word-break: break-word; }
    .chat-input-box { display: flex; gap: 6px; }
    .chat-input-box input { flex: 1; background: rgba(5,15,35,0.7); border: 1px solid rgba(100,181,246,0.25); border-radius: 12px; padding: 8px 12px; color: #fff; font-size: 12px; outline: none; font-family: 'Poppins', sans-serif; }
    .chat-input-box button { background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%); color: #fff; border: none; border-radius: 50%; width: 36px; height: 36px; cursor: pointer; flex-shrink: 0; }
    .legal-modal { position: fixed; inset: 0; background: rgba(0,0,0,.75); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 15px; backdrop-filter: blur(6px); }
    .legal-modal.show { display: flex; }
    .legal-content { background: rgba(5,18,48,.98); border: 1px solid #64b5f6; max-width: 420px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 18px; border-radius: 20px; color: #e0e0e0; }
    .legal-content h3 { color: #64b5f6; margin-top: 0; text-align: center; }
    .legal-content input { width: 100%; padding: 10px; margin: 8px 0; border-radius: 8px; border: 1px solid #64b5f6; background: #0a2a5c; color: #fff; font-size: 14px; font-family: 'Poppins', sans-serif; }
    #welcomeModal { position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 15px; }
    #welcomeModal .welcome-content { background: linear-gradient(145deg, #0d47a1, #1565c0); border-radius: 18px; max-width: 340px; width: 100%; padding: 20px; text-align: center; }
    #welcomeModal .welcome-btn { background: #64b5f6; color: #051230; border: none; padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; width: 100%; margin-top: 12px; font-family: 'Poppins', sans-serif; }
    .side-menu { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: rgba(5,18,48,.98); z-index: 1000; transition: left .3s ease; padding: 20px; overflow-y: auto; color: #e0e0e0; }
    .side-menu.show { left: 0; }
    .menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none; z-index: 999; }
    .menu-overlay.show { display: block; }
    .menu-nav-btn { display: block; width: 100%; background: 0 0; border: none; color: #e0e0e0; text-align: left; font-size: 14px; padding: 10px 12px; margin-bottom: 6px; cursor: pointer; border-radius: 8px; font-family: 'Poppins', sans-serif; }
    .menu-settings { margin: 10px 0 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.05); }
    .menu-settings-title { color: #64b5f6; font-weight: 700; font-size: 13px; margin-bottom: 8px; }
    .menu-setting-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #e0e0e0; font-size: 13px; padding: 6px 0; }
    .setting-btn { background: rgba(0,0,0,.35); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 5px 10px; font-size: 12px; font-weight: 700; cursor: pointer; }
    .menu-nav-btn:hover { background: rgba(100,181,246,.12); color: #64b5f6; }
    .trust-footer { text-align: center; padding: 12px; font-size: 12px; color: rgba(255,255,255,.6); }
    .trust-footer a { color: #64b5f6; text-decoration: none; }
    .bet-input-wrapper { position: relative; margin: 10px 0; }
    .bet-input-wrapper input { width: 100%; padding: 12px 50px 12px 12px; border-radius: 10px; border: 1.5px solid #64b5f6; background: #0a2a5c; color: #fff; font-size: 18px; font-weight: 700; font-family: 'Orbitron', sans-serif; text-align: center; outline: none; }
    .bet-input-wrapper .unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #64b5f6; font-size: 14px; font-weight: 700; }
    .bet-quick { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 8px 0; }
    .bet-quick button { padding: 6px 12px; border: 1px solid rgba(100,181,246,0.4); border-radius: 6px; background: rgba(255,255,255,0.06); color: #fff; font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 12px; cursor: pointer; transition: all 0.2s ease; }
    .warning-box { background: rgba(255,180,0,0.15); border: 1px solid rgba(255,180,0,0.5); border-radius: 10px; padding: 10px; margin: 10px 0; font-size: 11px; color: #ffcc44; text-align: center; }
    .info-line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 13px; }
    .info-line strong { color: #64b5f6; }
    .info-line:last-child { border-bottom: none; }
    .stat-card { background: rgba(0,230,118,0.1); border: 1px solid rgba(0,230,118,0.3); border-radius: 12px; padding: 12px; margin-bottom: 8px; text-align: center; }
    .stat-card .value { font-family: 'Orbitron', sans-serif; font-size: 22px; font-weight: 900; color: #00E676; }
    .stat-card .label { font-size: 11px; color: #aaa; margin-top: 4px; }
    #winnerTicker { width: 100%; max-width: 480px; margin: 0 auto; overflow: hidden; background: rgba(0,0,0,.4); border-bottom: 1px solid rgba(255,215,0,.2); border-top: 1px solid rgba(255,215,0,.2); height: 32px; position: relative; margin-bottom: 8px; z-index: 1; display: block; }
    #winnerTicker.show { display: block; }
    #tickerTrack { display: flex; align-items: center; height: 100%; width: max-content; white-space: nowrap; animation: tickerScroll 30s linear infinite; will-change: transform; }
    .ticker-sep { color: rgba(255,255,255,.3); padding: 0 18px; flex-shrink: 0; }
    .ticker-item { display: inline-flex; align-items: center; gap: 6px; font-family: 'Poppins', sans-serif; font-size: 11px; color: #ffd700; padding: 0 8px; flex-shrink: 0; }
    .ticker-item .trophy { font-size: 12px; }
    .ticker-item .name { color: #fff; font-weight: 700; }
    .ticker-item .amount { color: #00E676; font-weight: 700; }
    @media (hover: hover) and (pointer: fine) { #winnerTicker:hover #tickerTrack { animation-play-state: paused; } }
    #myRankCard { margin: 8px 12px; padding: 12px; border-radius: 14px; background: rgba(100,181,246,0.1); border: 1px solid rgba(100,181,246,0.3); text-align: center; font-family: 'Poppins', sans-serif; display: none; }
    #myRankCard .rank-value { font-family: 'Orbitron', sans-serif; font-size: 26px; font-weight: 900; color: #64b5f6; }
    #myRankCard .rank-label { font-size: 11px; color: rgba(255,255,255,.6); margin-top: 4px; }
    #myRankCard .gap-badge { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
    #myRankCard .gap-badge.warning { background: rgba(243,156,18,0.2); color: #f39c12; border: 1px solid rgba(243,156,18,0.4); }
    #myRankCard .gap-badge.success { background: rgba(0,230,118,0.2); color: #00E676; border: 1px solid rgba(0,230,118,0.4); }
    #winnerModal { position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 10001; display: none; align-items: center; justify-content: center; padding: 15px; backdrop-filter: blur(8px); }
    #winnerModal .winner-content { background: linear-gradient(145deg, #0d47a1, #1a237e); border: 2px solid #ffd700; border-radius: 24px; max-width: 420px; width: 100%; padding: 20px; text-align: center; box-shadow: 0 0 50px rgba(255,215,0,0.3); }
    .podium-container { display: flex; justify-content: center; align-items: flex-end; gap: 8px; margin: 20px 0; height: 160px; }
    .podium-step { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 8px; border-radius: 12px 12px 0 0; position: relative; transition: transform 0.3s; }
    .podium-step:hover { transform: translateY(-5px); }
    .podium-step.gold { background: linear-gradient(180deg, #ffd700, #b8860b); width: 80px; height: 140px; box-shadow: 0 0 20px rgba(255,215,0,0.6); }
    .podium-step.silver { background: linear-gradient(180deg, #e0e0e0, #9e9e9e); width: 70px; height: 110px; }
    .podium-step.bronze { background: linear-gradient(180deg, #cd7f32, #8b4513); width: 70px; height: 90px; }
    .podium-avatar { font-size: 24px; margin-bottom: 4px; }
    .podium-name { font-size: 11px; font-weight: 700; color: #fff; text-shadow: 1px 1px 2px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; padding: 0 4px; }
    .podium-score { font-size: 12px; font-weight: 900; color: #000; font-family: 'Orbitron', sans-serif; }
    .winner-list-item { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.1); padding: 10px 15px; border-radius: 10px; margin-bottom: 6px; font-size: 13px; }
    .winner-list-item .rank { color: #64b5f6; font-weight: 700; width: 30px; }
    .winner-list-item .name { flex: 1; text-align: left; padding-left: 10px; font-weight: 600; color: #fff; }
    .winner-list-item .score { color: #00E676; font-weight: 900; font-family: 'Orbitron', sans-serif; }
    .congrats-message { font-size: 14px; color: #00E676; font-weight: 700; margin-top: 10px; background: rgba(0,230,118,0.2); padding: 10px; border-radius: 10px; border: 1px solid #00E676; }
      /* Avatars ronds + effets de tap / victoire */
    .avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-weight: 800; font-family: 'Poppins', sans-serif; flex-shrink: 0; line-height: 1; border: 1.5px solid rgba(255,255,255,.6); box-shadow: 0 0 6px rgba(0,0,0,.4); }
    .fx-plus { position: fixed; z-index: 9999; pointer-events: none; font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 22px; color: #ffd700; text-shadow: 0 0 8px rgba(255,215,0,.8); transform: translate(-50%,-50%); animation: fxRise .7s ease-out forwards; }
    @keyframes fxRise { 0% { opacity: 1; transform: translate(-50%,-50%) scale(.8); } 100% { opacity: 0; transform: translate(-50%,-140px) scale(1.3); } }
    .fx-p { position: fixed; z-index: 9998; pointer-events: none; width: 7px; height: 7px; border-radius: 50%; transform: translate(-50%,-50%); animation: fxBurst .6s ease-out forwards; }
    @keyframes fxBurst { 0% { opacity: 1; transform: translate(-50%,-50%) scale(1); } 100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.3); } }
    .fx-confetti { position: fixed; top: -14px; z-index: 9999; pointer-events: none; width: 8px; height: 12px; animation: fxFall linear forwards; }
    @keyframes fxFall { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(110vh) rotate(720deg); opacity: .9; } }
    @media (prefers-reduced-motion: reduce) { .fx-plus, .fx-p, .fx-confetti { display: none; } }

    /* ===== Page d'accueil ===== */
    #welcomeModal { align-items: flex-start; overflow-y: auto; background: radial-gradient(ellipse at 40% 20%, #1a6fb5 0%, #0d47a1 40%, #051230 100%); padding: 18px 14px 28px; }
    #welcomeModal .welcome-content { background: none; max-width: 420px; margin: 0 auto; padding: 0; }
    .lp-logo { font-size: 44px; }
    .lp-title { font-family: 'Orbitron', sans-serif; font-size: 22px; font-weight: 900; color: #ffd700; margin: 4px 0 6px; }
    .lp-lead { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.9); margin: 0 0 14px; }
    .lp-card { text-align: left; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; font-size: 13px; line-height: 1.55; }
    .lp-card h4 { margin: 0 0 8px; font-size: 13px; color: #64b5f6; font-family: 'Orbitron', sans-serif; }
    .lp-step { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 6px; }
    .lp-step b.n { flex: 0 0 22px; height: 22px; border-radius: 50%; background: #64b5f6; color: #051230; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
    .lp-trust { background: rgba(0,230,118,.1); border-color: rgba(0,230,118,.4); }
    .lp-trust h4 { color: #00E676; }
    .lp-trust li { list-style: none; margin-bottom: 6px; padding-left: 0; }
    .lp-trust ul { margin: 0; padding: 0; }
    .lp-note { font-size: 11px; color: rgba(255,255,255,.6); margin: 4px 6px 14px; line-height: 1.4; }
    /* ===== Paiement ===== */
    .pay-timer { margin: 10px 0 4px; }
    .pay-timer-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; color: rgba(255,255,255,.75); margin-bottom: 5px; }
    #payTimerText { font-family: 'Orbitron', sans-serif; font-size: 16px; font-weight: 900; color: #00E676; }
    .pay-bar { height: 12px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; border: 1px solid rgba(255,255,255,.15); }
    #payBarFill { height: 100%; width: 100%; background: linear-gradient(90deg, #00E676, #00C853); border-radius: 999px; transition: width .25s linear, background .3s; }
    #payBarFill.mid { background: linear-gradient(90deg, #f1c40f, #f39c12); }
    #payBarFill.low { background: linear-gradient(90deg, #ff5252, #d32f2f); }
    .pay-method { display: block; width: 100%; text-align: center; border: none; border-radius: 14px; padding: 14px; margin-top: 10px; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 15px; color: #fff; cursor: pointer; text-decoration: none; }
    .pay-method.phantom { background: linear-gradient(135deg, #ab9ff2, #6c4cf1); }
    .pay-method small { display: block; font-weight: 500; font-size: 11px; opacity: .85; margin-top: 2px; }
    .pay-method:disabled { opacity: .45; cursor: not-allowed; }
    #payExpired { display: none; text-align: center; font-size: 13px; color: #ff9a9a; background: rgba(255,80,80,.12); border: 1px solid rgba(255,80,80,.4); border-radius: 12px; padding: 10px; margin-top: 10px; }
    #payVerifying { display: none; text-align: center; margin-top: 14px; background: rgba(0,230,118,.1); border: 1px solid rgba(0,230,118,.4); border-radius: 14px; padding: 14px; }
    #payVerifying .vtitle { font-weight: 800; font-size: 14px; color: #00E676; margin-bottom: 4px; }
    #payVerifying .vtext { font-size: 12px; color: rgba(255,255,255,.8); line-height: 1.5; }
    .pay-bar-wait { position: relative; height: 12px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; margin: 12px 0 8px; }
    .pay-bar-wait::before { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; border-radius: 999px; background: linear-gradient(90deg, #00E676, #00C853); animation: payWait 1.2s ease-in-out infinite; }
    @keyframes payWait { 0% { left: -40%; } 100% { left: 100%; } }
    #payBackBtn { background: transparent; border: none; color: #64b5f6; font-size: 12px; text-decoration: underline; cursor: pointer; margin-top: 8px; font-family: 'Poppins', sans-serif; }
    .wb-track { position: relative; height: 12px; border-radius: 999px; background: rgba(255,255,255,.15); overflow: hidden; border: 1px solid rgba(255,255,255,.2); }
    #waitBarFill { height: 100%; width: 0; background: linear-gradient(90deg, #00E676, #00C853); border-radius: 999px; transition: width .25s linear; }
    .wb-track.ind #waitBarFill { position: absolute; top: 0; width: 40%; transition: none; animation: payWait 1.2s ease-in-out infinite; }
    .pay-hidden { display: none !important; }
    #waitBarBack { display: none; background: transparent; border: none; color: #64b5f6; font-size: 11px; text-decoration: underline; cursor: pointer; margin-top: 6px; font-family: 'Poppins', sans-serif; }
    #payMore summary { cursor: pointer; font-size: 12px; color: #64b5f6; text-align: center; margin: 12px 0 6px; }

    /* =====================================================================
       MILTAPE — THÈME PREMIUM (design uniquement : couleurs, dégradés, ombres, animations)
       Palette : fond #081A3A · cartes #102C63 · texte #FFF · or #FFD700
                 action #FF7A00 · chrono #00E5FF · succès #00E676
       ===================================================================== */
    :root { --bg:#081A3A; --card:#102C63; --gold:#FFD700; --orange:#FF7A00; --cyan:#00E5FF; --ok:#00E676; --line:rgba(255,255,255,.07); }
    body { background: radial-gradient(ellipse at 50% -8%, #123068 0%, #081A3A 48%, #050F26 100%); background-color: #081A3A; }

    /* En-tête & bandeaux : moins de bleu, plus de contraste */
    .top-header { background: rgba(8,26,58,.92); border-bottom: 1px solid rgba(255,215,0,.12); }
    .online { color: var(--ok); }
    #winnerTicker { background: rgba(8,26,58,.92); }
    .ticker-item { color: rgba(255,255,255,.75); }
    .ticker-item .amount { color: var(--gold); text-shadow: 0 0 8px rgba(255,215,0,.5); }
    .hero-img { border: 1px solid rgba(255,215,0,.3); box-shadow: 0 8px 28px rgba(0,0,0,.5); }

    /* Jackpot : or sur marine (plus de rouge agressif, le bouton reste l'élément dominant) */
    #jackpotDisplay { background: linear-gradient(145deg, #14367a 0%, #0c2656 100%); border: 1px solid rgba(255,215,0,.55); box-shadow: 0 0 22px rgba(255,215,0,.18), 0 8px 22px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08); }
    .jackpot-title { color: var(--gold); letter-spacing: 2px; text-shadow: 0 0 12px rgba(255,215,0,.45); }
    .jackpot-label { color: rgba(255,255,255,.75); letter-spacing: 1px; }
    #jackpotAmount { color: var(--gold); font-size: 24px; text-shadow: 0 0 14px rgba(255,215,0,.55); }
    #jackpotCountdown { color: var(--cyan); }

    /* Cartes : #102C63 sur fond #081A3A, bordures discrètes, ombres pour séparer les sections */
    .server-wallet-box, .leaderboard, .chat-section, #myRankCard { background: var(--card); border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(0,0,0,.35); }
    .server-wallet-label { color: rgba(255,255,255,.7); }
    .server-wallet-address { color: rgba(255,255,255,.88); }
    #displayBet { color: var(--gold); font-family: 'Orbitron', sans-serif; font-size: 15px; text-shadow: 0 0 10px rgba(255,215,0,.35); }
    .section-title { color: #fff; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }
    .section-title::before { content: ''; width: 4px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, var(--gold), var(--orange)); flex-shrink: 0; }

    /* Boutons d'action principaux : dégradé or → orange, lueur, reflet animé */
    .main-play-button, .pay-cta { position: relative; overflow: hidden; color: #2a1000; background: linear-gradient(135deg, #FFD700 0%, #FFA800 40%, #FF7A00 100%); border: none; font-family: 'Poppins', sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; text-shadow: 0 1px 0 rgba(255,255,255,.35); box-shadow: 0 6px 0 #B34A00, 0 10px 26px rgba(255,122,0,.5), 0 0 28px rgba(255,215,0,.22), inset 0 1px 0 rgba(255,255,255,.55); }
    .main-play-button:active, .pay-cta:active { transform: translateY(4px); box-shadow: 0 2px 0 #B34A00, 0 4px 14px rgba(255,122,0,.5), inset 0 1px 0 rgba(255,255,255,.4); }
    .main-play-button:disabled { opacity: .5; }
    .main-play-button::after, .pay-cta::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: ctaShine 3.2s ease-in-out infinite; pointer-events: none; }
    .main-play-button:disabled::after { display: none; }
    @keyframes ctaShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
    @keyframes ctaBreath { 0%, 100% { box-shadow: 0 6px 0 #B34A00, 0 10px 26px rgba(255,122,0,.5), 0 0 28px rgba(255,215,0,.22), inset 0 1px 0 rgba(255,255,255,.55); } 50% { box-shadow: 0 6px 0 #B34A00, 0 12px 38px rgba(255,122,0,.8), 0 0 50px rgba(255,215,0,.42), inset 0 1px 0 rgba(255,255,255,.55); } }
    .pay-cta { display: block; width: 92%; max-width: 340px; margin: 10px auto 6px; padding: 18px 20px; border-radius: 18px; font-size: 18px; cursor: pointer; animation: ctaBreath 2.4s ease-in-out infinite; }
    #enterChallenge { width: 92%; max-width: 340px; padding: 16px 18px; font-size: 17px; border-radius: 18px; animation: ctaBreath 2.4s ease-in-out infinite; }
    #enterChallenge:disabled { animation: none; }

    /* Barres de progression : or → orange, brillance animée */
    .pay-bar, .wb-track, .pay-bar-wait { height: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,215,0,.2); box-shadow: inset 0 2px 4px rgba(0,0,0,.4); }
    #payBarFill, #waitBarFill, .pay-bar-wait::before { background: linear-gradient(90deg, #FFD700 0%, #FF9A00 55%, #FF7A00 100%); box-shadow: 0 0 12px rgba(255,150,0,.65); }
    #payBarFill.mid { background: linear-gradient(90deg, #FFB300, #FF7A00); }
    #payBarFill.low { background: linear-gradient(90deg, #FF7A00, #FF3D00); }
    #payBarFill, #waitBarFill { position: relative; overflow: hidden; }
    #payBarFill::after, #waitBarFill::after { content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 45%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); animation: barShine 1.8s ease-in-out infinite; }
    @keyframes barShine { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }
    #payTimerText { color: var(--cyan); text-shadow: 0 0 10px rgba(0,229,255,.6); }
    #payTimerText[style*="46, 204, 113"] { color: var(--cyan) !important; }
    #payTimerText[style*="241, 196, 15"] { color: var(--gold) !important; }
    #payVerifying { background: rgba(0,229,255,.08); border-color: rgba(0,229,255,.4); }
    #payVerifying .vtitle { color: var(--cyan); }
    #payBackBtn, #waitBarBack { color: var(--cyan); }
    #payMore summary { color: var(--gold); }
    .pay-method.phantom { background: linear-gradient(135deg, #FFD700 0%, #FFA800 40%, #FF7A00 100%); color: #2a1000; box-shadow: 0 5px 0 #B34A00, 0 8px 22px rgba(255,122,0,.45); }
    .pay-method.phantom small { opacity: .8; }

    /* Chrono : cyan néon plus lumineux, rendu digital */
    #timerRule { position: relative; overflow: hidden; background: linear-gradient(180deg, #0A2250, #081A3A); border: 1px solid rgba(0,229,255,.55); box-shadow: 0 0 18px rgba(0,229,255,.35), inset 0 0 14px rgba(0,229,255,.08); margin-bottom: 18px; }
    #timerRule::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,229,255,.06) 0 1px, transparent 1px 3px); pointer-events: none; }
    #timerRule strong { color: #33F0FF; font-size: 26px; letter-spacing: 2px; font-variant-numeric: tabular-nums; text-shadow: 0 0 6px rgba(0,229,255,.9), 0 0 18px rgba(0,229,255,.6); }
    @keyframes digitalGlow { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.28); } }
    #timerRule.warning { box-shadow: 0 0 22px rgba(255,51,102,.5), inset 0 0 14px rgba(255,51,102,.1); }
    #timerRule.warning strong { text-shadow: 0 0 8px rgba(255,51,102,.9), 0 0 18px rgba(255,51,102,.5); }
    #tapCounterDisplay { color: var(--gold); text-shadow: 0 0 8px rgba(255,215,0,.4); }

    /* Logo TAPE : halo or + bleu électrique, légèrement agrandi */
    .tap-zone { padding: 14px 0 18px; }
    .tap-button { width: min(290px, 74vw); height: min(290px, 74vw); border: 3px solid rgba(255,215,0,.55); background: radial-gradient(circle at 50% 38%, rgba(30,120,255,.35), rgba(8,26,58,.92) 72%); box-shadow: 0 0 28px rgba(40,140,255,.55), 0 0 70px rgba(40,140,255,.28), 0 0 110px rgba(255,215,0,.16), inset 0 0 40px rgba(40,140,255,.18); }
    /* ✅ Performance : halo fixe (l'animation d'un box-shadow flou redessinait le bouton à chaque image et retardait les taps). */
    .tap-button:not(:disabled) { animation: none; box-shadow: 0 0 22px rgba(40,140,255,.6), 0 0 50px rgba(40,140,255,.3), inset 0 0 30px rgba(40,140,255,.2); }
    .tap-button:disabled { opacity: .7; }
    .tap-button:not(:disabled):active, .tap-button.tap-active { transform: scale(.95); }
    @keyframes logoHalo { 0%, 100% { box-shadow: 0 0 28px rgba(40,140,255,.55), 0 0 70px rgba(40,140,255,.28), 0 0 110px rgba(255,215,0,.16), inset 0 0 40px rgba(40,140,255,.18); } 50% { box-shadow: 0 0 40px rgba(60,160,255,.8), 0 0 95px rgba(40,140,255,.42), 0 0 140px rgba(255,215,0,.3), inset 0 0 50px rgba(40,140,255,.28); } }

    /* Classement & statistiques */
    .leaderboard-item { background: rgba(8,26,58,.55); border-left: 3px solid rgba(255,255,255,.18); }
    .leaderboard-item:nth-child(1) { border-left-color: var(--gold); background: linear-gradient(90deg, rgba(255,215,0,.16), rgba(8,26,58,.55) 70%); }
    .leaderboard-item:nth-child(2) { border-left-color: #C9D3E3; }
    .leaderboard-item:nth-child(3) { border-left-color: #CD7F32; }
    .rank-badge { background: rgba(255,215,0,.15); color: var(--gold); }
    .player-score { color: var(--gold); }
    #myRankCard .rank-value { color: var(--gold); text-shadow: 0 0 12px rgba(255,215,0,.45); }
    .stat-card { background: rgba(255,215,0,.07); border-color: rgba(255,215,0,.3); }
    .stat-card .value { color: var(--gold); }
    .info-line strong { color: var(--gold); }
    .trust-footer a { color: var(--gold); }

    /* Chat */
    .chat-messages { background: rgba(8,26,58,.75); border: 1px solid var(--line); }
    .chat-message { background: rgba(255,255,255,.06); }
    .chat-input-box input { background: rgba(8,26,58,.85); border: 1px solid rgba(255,255,255,.12); }
    .chat-input-box input:focus { border-color: rgba(255,215,0,.6); box-shadow: 0 0 0 2px rgba(255,215,0,.12); }
    .chat-input-box button { background: linear-gradient(135deg, #1B3F85, #12337A); border: 1px solid rgba(255,255,255,.12); }

    /* Modales & formulaires */
    .legal-content { background: linear-gradient(180deg, #112F68, #0A2050); border: 1px solid rgba(255,215,0,.28); box-shadow: 0 20px 60px rgba(0,0,0,.6); }
    .legal-content h3 { color: var(--gold); }
    .legal-content input { background: #081A3A; border: 1px solid rgba(255,255,255,.18); }
    .legal-content input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,215,0,.15); }
    .bet-input-wrapper input { background: #081A3A; border: 1.5px solid rgba(255,215,0,.5); color: var(--gold); }
    .bet-input-wrapper .unit { color: var(--gold); }
    .bet-quick button { border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); }
    .bet-quick button:hover, .bet-quick button:active { border-color: var(--gold); color: var(--gold); background: rgba(255,215,0,.1); }
    #winnerModal .winner-content { background: linear-gradient(145deg, #123068, #081A3A); box-shadow: 0 0 50px rgba(255,215,0,.35); }
    .winner-list-item .rank, .winner-list-item .score { color: var(--gold); }

    /* Page d'accueil */
    #welcomeModal { background: radial-gradient(ellipse at 50% 0%, #123068 0%, #081A3A 55%, #050F26 100%); }
    .lp-card { background: var(--card); border: 1px solid var(--line); }
    .lp-card h4 { color: var(--gold); }
    .lp-step b.n { background: linear-gradient(135deg, #FFD700, #FF7A00); color: #2a1000; }
    .lp-trust { background: rgba(0,230,118,.08); border-color: rgba(0,230,118,.35); }
    .lp-trust h4 { color: var(--ok); }

    /* Menu latéral */
    .side-menu { background: rgba(8,26,58,.98); border-right: 1px solid rgba(255,215,0,.15); }
    .menu-settings { background: rgba(255,255,255,.04); }
    .menu-settings-title { color: var(--gold); }
    .menu-nav-btn:hover { background: rgba(255,215,0,.08); color: var(--gold); }

    @media (prefers-reduced-motion: reduce) {
      .main-play-button::after, .pay-cta::after, #payBarFill::after, #waitBarFill::after, .tap-button, #timerRule strong { animation: none !important; }
    }

  


/* ===== Styles autrefois écrits en ligne dans index.html (style="...") ===== */
.ui-1 { text-align:center !important; }
.ui-2 { max-width:none !important; font-size:17px !important; padding:15px !important; }
.ui-3 { max-height: 45vh !important; overflow-y: auto !important; font-size: 12px !important; line-height: 1.6 !important; padding: 10px !important; border-radius: 10px !important; margin: 12px 0 !important; }
.ui-4 { align-items:flex-start !important; gap:10px !important; cursor:pointer !important; padding: 10px !important; border-radius: 10px !important; }
.ui-5 { height:20px !important; margin-top:2px !important; accent-color:#00E676 !important; cursor:pointer !important; flex-shrink:0 !important; }
.ui-6 { font-size: 12px !important; }
.ui-7 { padding:12px !important; margin-top:12px !important; box-shadow: 0 4px 0 #00913f !important; }
.ui-8 { margin-top: 8px !important; cursor: pointer !important; font-size: 12px !important; }
.ui-9 { position:sticky !important; height:0 !important; text-align:right !important; }
.ui-10 { height:34px !important; border-radius:50% !important; font-size:22px !important; line-height:1 !important; cursor:pointer !important; padding:0 !important; }
.ui-11 { margin-top:15px !important; }
.ui-12 { font-size:12px !important; text-align:center !important; margin-top:6px !important; }
.ui-13 { font-size:11px !important; text-align:center !important; margin:2px 0 0 !important; line-height:1.4 !important; }
.ui-14 { padding:15px !important; margin-top:14px !important; font-size:16px !important; }
.ui-15 { font-size:11px !important; text-align:center !important; margin:6px 0 !important; }
.ui-16 { font-size:11px !important; text-align:center !important; margin:6px 0 !important; line-height:1.4 !important; }
.ui-17 { padding:10px !important; margin-top:8px !important; }
.ui-18 { max-width: 420px !important; }
.ui-19 { height:34px !important; border-radius:50% !important; font-size:18px !important; cursor:pointer !important; }
.ui-20 { border-radius: 12px !important; padding: 14px !important; margin: 12px 0 6px !important; text-align: center !important; }
.ui-21 { font-size: 11px !important; margin-bottom: 6px !important; }
.ui-22 { font-size: 32px !important; text-shadow: 0 0 14px rgba(255,215,0,.45) !important; font-family: 'Orbitron', sans-serif !important; }
.ui-23 { font-size: 11px !important; margin-top: 6px !important; }
.ui-24 { font-size:12px !important; text-align:center !important; margin-top:12px !important; }
.ui-25 { font-size:11px !important; margin-top:8px !important; line-height:1.4 !important; text-align:center !important; }
.ui-26 { text-align: center !important; margin: 8px 0 !important; min-height: 200px !important; align-items: center !important; justify-content: center !important; }
.ui-27 { font-size:12px !important; }
.ui-28 { border-radius: 10px !important; padding: 10px !important; margin: 10px 0 !important; }
.ui-29 { font-size: 10px !important; margin-bottom: 6px !important; text-align: center !important; }
.ui-30 { font-size: 11px !important; word-break: break-all !important; text-align: center !important; }
.ui-31 { box-shadow: 0 4px 0 #061330 !important; text-shadow:none !important; padding: 10px !important; font-size: 13px !important; }
.ui-32 { text-align:center !important; padding: 10px !important; border-radius: 10px !important; text-decoration: none !important; font-size: 12px !important; margin-top:10px !important; }
.ui-33 { box-shadow: 0 4px 0 #00913f !important; padding: 12px !important; margin-top: 14px !important; }
.ui-34 { position: absolute !important; right: 15px !important; font-size: 24px !important; cursor: pointer !important; }
.ui-35 { font-size: 13px !important; padding: 8px 0 !important; }
.ui-36 { text-align:center !important; padding:20px !important; }
.ui-37 { font-family: 'Orbitron', sans-serif !important; margin: 0 !important; text-shadow: 0 0 10px rgba(255,215,0,0.5) !important; }
.ui-38 { font-size: 12px !important; margin: 5px 0 0 !important; }
.ui-39 { margin-bottom: 15px !important; }
.ui-40 { margin-top:12px !important; padding:10px !important; border-radius:12px !important; font-size:14px !important; cursor:pointer !important; font-family:'Poppins',sans-serif !important; }
.ui-41 { margin-top: 15px !important; padding: 10px !important; box-shadow: 0 4px 0 #8b6508 !important; }
.ui-42 { font-size:28px !important; cursor:pointer !important; }
.ui-43 { margin-top: 40px !important; }
.ui-44 { height:7px !important; border-radius:50% !important; margin-right:4px !important; }
.ui-45 { margin:6px auto 0 !important; padding:6px 14px !important; border-radius:999px !important; font-size:12px !important; font-family:'Poppins',sans-serif !important; cursor:pointer !important; }
.ui-46 { margin:14px auto 0 !important; text-align:center !important; }
.ui-47 { margin:0 auto !important; height:auto !important; border-radius:18px !important; }
.ui-48 { font-size:11px !important; margin-top:5px !important; }
.ui-49 { margin-top:6px !important; font-size:13px !important; }
.ui-50 { text-align:center !important; padding:10px !important; font-size:13px !important; }
.ui-51 { max-width:280px !important; margin:2px auto 10px !important; text-align:center !important; }
.ui-52 { font-size:12px !important; margin-bottom:6px !important; }
.ui-53 { font-size:10px !important; }
.ui-54 { margin-left:10px !important; padding-left:12px !important; border-left:1px solid rgba(255,255,255,0.15) !important; align-items:center !important; gap:6px !important; }
.ui-55 { text-align:center !important; font-size:12px !important; padding:10px !important; }
.ui-56 { padding-top:0 !important; }
.ui-57 { padding-top:0 !important; font-size:11px !important; }
