/* ══════════════════════════════════════════════════════════════
   NOVA POKER — CSS COMPLET
   Thème : Vert Vif Poker · Style Référence Mockup
══════════════════════════════════════════════════════════════ */

/* ─── Variables globales ─── */
:root {
    /* ── Palette GRIS MacBook Modern ── */
    --bg:          #0f0f0f; /* Noir très profond */
    --bg-2:        #1a1a1a; /* Gris très sombre */
    --bg-3:        #2a2a2a; /* Gris sombre */
    --bg-highlight:#3a3a3a; /* Gris moyen */
    --glass:       rgba(255,255,255,0.05);
    --glass-hover: rgba(255,255,255,0.08);
    --border:      rgba(255,255,255,0.1);
    --border-v:    rgba(255,255,255,0.15);

    --violet:      #e8e8e8; /* Accent blanc/gris clair */
    --violet-dim:  rgba(232,232,232,0.15);
    --violet-glow: rgba(232,232,232,0.2);
    --indigo:      #e8e8e8;
    --indigo-dim:  rgba(232,232,232,0.15);
    --red:         #EF4444;

    --txt:         #FFFFFF; /* Blanc net */
    --txt-mid:     #a0a0a0; /* Gris moyen */
    --txt-low:     #6a6a6a;

    --r-sm:  12px;
    --r-md:  16px;
    --r-lg:  20px;
    --r-xl:  22px;
    --r-full: 9999px;

    --ease:  cubic-bezier(0.4,0,0.2,1);
    --spring: cubic-bezier(0.175,0.885,0.32,1.15);
}

/* ─── Reset ─── */
*, *::before, *::after {
    margin:0; padding:0;
    box-sizing:border-box;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
/* Pas de contour de focus disgracieux au tap (mini-app) */
button:focus, button:focus-visible, a:focus, .btn:focus, .ripple:focus { outline: none; }

html, body {
    width: 100%; height: 100%;
    overflow: hidden;
    background: var(--bg);
    font-family: 'Inter', sans-serif;
    color: var(--txt);
    font-size: 15px;
    line-height: 1.5;
}

input, button { font-family: inherit; }
.hidden { display: none !important; }
/* ─── SPLASH SCREEN ─── */
.splash {
    position: fixed; inset: 0; z-index: 9999;
    background: #0f0f0f;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    transition: opacity .6s cubic-bezier(0.4,0,0.2,1);
}
.splash.out {
    opacity: 0;
    pointer-events: none;
}

/* ─── Top bar (drapeaux) ─── */
.splash-top-bar {
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    padding: 16px 16px 0;
    z-index: 100;
}
.lang-switch-group {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

/* ─── Middle zone ─── */
.splash-middle {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ─── Bottom zone (bouton) ─── */
.splash-bottom {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0 40px;
}

/* ─── Glow ring ─── */
.sp-glow-ring {
    position: absolute;
    width: 310px; height: 310px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: glowIn .9s cubic-bezier(0.175,0.885,0.32,1.275) .15s forwards;
    z-index: 0;
}
@keyframes glowIn {
    to { transform: translate(-50%, -50%) scale(1); }
}

/* ─── Big circle ─── */
.sp-circle {
    position: absolute;
    width: 250px; height: 250px;
    background: #3a3a3a;
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: circleIn .75s cubic-bezier(0.175,0.885,0.32,1.275) .05s forwards;
    box-shadow:
        inset 0 -12px 30px rgba(0,0,0,0.4),
        0 0 60px rgba(58,58,58,0.4);
}
@keyframes circleIn {
    0%   { transform: translate(-50%, -50%) scale(0); }
    70%  { transform: translate(-50%, -50%) scale(1.05); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* ─── Floating particles ─── */
.sp-particles { position: absolute; inset: 0; pointer-events: none; }
.sp-p {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    animation: spFloat linear infinite;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.3);
    background: none;
}
.sp-p1 { left:12%; top:80%; animation-duration:6.2s; animation-delay:0s; }
.sp-p2 { left:80%; top:75%; animation-duration:8.1s; animation-delay:1.3s; }
.sp-p3 { left:22%; top:88%; animation-duration:7.4s; animation-delay:0.7s; }
.sp-p4 { left:65%; top:82%; animation-duration:9.0s; animation-delay:2.1s; }
.sp-p5 { left:45%; top:92%; animation-duration:5.8s; animation-delay:0.4s; }
.sp-p6 { left:90%; top:68%; animation-duration:11s;  animation-delay:3.0s; }
@keyframes spFloat {
    0%   { transform: translateY(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.8; }
    100% { transform: translateY(-110vh); opacity: 0; }
}

/* ─── Cards container ─── */
.sp-cards {
    position: relative;
    width: 300px;
    height: 260px;
    flex-shrink: 0;
    z-index: 2;
}

/* ─── Base card ─── */
.sp-card {
    position: absolute;
    width: 120px; height: 175px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    color: #1a1a2e;
    padding: 8px 9px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    box-shadow:
        0 4px 8px rgba(0,0,0,0.08),
        0 12px 32px rgba(0,0,0,0.22),
        0 2px 0 rgba(255,255,255,0.8) inset;
    transform-origin: bottom center;
    opacity: 0;
}
.sp-card.sp-red { color: #e11d48; }

/* ─── Card internals ─── */
.sp-cv-top { font-size: 0.95rem; line-height: 1; align-self: flex-start; }
.sp-suit-top { font-size: 0.85rem; align-self: flex-start; margin-top: -4px; opacity: 0.7; }
.sp-suit-big { font-size: 3rem; align-self: center; line-height: 1; margin-top: -6px; }
.sp-suit-bot { font-size: 0.85rem; align-self: flex-end; opacity: 0.7; transform: rotate(180deg); }
.sp-cv-bot   { font-size: 0.95rem; line-height: 1; align-self: flex-end; transform: rotate(180deg); }

/* ─── Card fan positions ─── */
.sp-c1 {
    left: 10px; top: 80px;
    transform: rotate(-22deg) translateY(20px);
    z-index: 10;
    animation: cardIn1 .6s cubic-bezier(0.175,0.885,0.32,1.275) .4s forwards;
}
.sp-c2 {
    left: 60px; top: 60px;
    transform: rotate(-7deg) translateY(30px);
    z-index: 20;
    animation: cardIn2 .6s cubic-bezier(0.175,0.885,0.32,1.275) .55s forwards;
}
.sp-c3 {
    left: 115px; top: 60px;
    transform: rotate(8deg) translateY(30px);
    z-index: 30;
    animation: cardIn3 .6s cubic-bezier(0.175,0.885,0.32,1.275) .7s forwards;
}
.sp-c4 {
    left: 165px; top: 80px;
    transform: rotate(22deg) translateY(20px);
    z-index: 40;
    animation: cardIn4 .6s cubic-bezier(0.175,0.885,0.32,1.275) .85s forwards;
}
@keyframes cardIn1 {
    0%   { opacity: 0; transform: rotate(-22deg) translateY(-160px) scale(0.7); }
    60%  { opacity: 1; transform: rotate(-22deg) translateY(26px) scale(1.03); }
    100% { opacity: 1; transform: rotate(-22deg) translateY(20px) scale(1); }
}
@keyframes cardIn2 {
    0%   { opacity: 0; transform: rotate(-7deg) translateY(-160px) scale(0.7); }
    60%  { opacity: 1; transform: rotate(-7deg) translateY(37px) scale(1.03); }
    100% { opacity: 1; transform: rotate(-7deg) translateY(30px) scale(1); }
}
@keyframes cardIn3 {
    0%   { opacity: 0; transform: rotate(8deg) translateY(-160px) scale(0.7); }
    60%  { opacity: 1; transform: rotate(8deg) translateY(37px) scale(1.03); }
    100% { opacity: 1; transform: rotate(8deg) translateY(30px) scale(1); }
}
@keyframes cardIn4 {
    0%   { opacity: 0; transform: rotate(22deg) translateY(-160px) scale(0.7); }
    60%  { opacity: 1; transform: rotate(22deg) translateY(26px) scale(1.03); }
    100% { opacity: 1; transform: rotate(22deg) translateY(20px) scale(1); }
}

/* ─── CTA Button ─── */
.btn-poker-online {
    background: #ffffff;
    color: #0f0f0f;
    border: none;
    padding: 18px 56px;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 2px 0 rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.22);
    opacity: 0;
    transform: translateY(20px);
    animation: btnIn .55s cubic-bezier(0.175,0.885,0.32,1.275) 1.1s forwards;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}
.btn-poker-online:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    transform: translateY(-2px);
}
.btn-poker-online:active {
    transform: scale(0.96);
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
@keyframes btnIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Splash Lang Box ─── */
.splash-lang-box {
    position: absolute;
    bottom: 11%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: fadeIn 0.4s ease forwards;
}
.sl-title { color: #ffffff; font-size: 0.9rem; letter-spacing: 2px; font-weight: 700; opacity: 0.8; }
.sl-row { display: flex; gap: 12px; }
.btn-lang-splash {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-lang-splash:hover { background: rgba(255,255,255,0.25); }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Card burst (via JS) ─── */
.sp-cards.burst .sp-c1 { animation: burstC1 0.55s cubic-bezier(0.55,0,1,0.45) forwards !important; }
.sp-cards.burst .sp-c2 { animation: burstC2 0.55s cubic-bezier(0.55,0,1,0.45) forwards !important; }
.sp-cards.burst .sp-c3 { animation: burstC3 0.55s cubic-bezier(0.55,0,1,0.45) forwards !important; }
.sp-cards.burst .sp-c4 { animation: burstC4 0.55s cubic-bezier(0.55,0,1,0.45) forwards !important; }
@keyframes burstC1 {
    0%   { opacity: 1; transform: rotate(-22deg) translateY(20px) scale(1); }
    100% { opacity: 0; transform: rotate(-35deg) translate(-120px, -300px) scale(3.5); }
}
@keyframes burstC2 {
    0%   { opacity: 1; transform: rotate(-7deg) translateY(30px) scale(1); }
    100% { opacity: 0; transform: rotate(-10deg) translate(-40px, -350px) scale(4); }
}
@keyframes burstC3 {
    0%   { opacity: 1; transform: rotate(8deg) translateY(30px) scale(1); }
    100% { opacity: 0; transform: rotate(12deg) translate(40px, -350px) scale(4); }
}
@keyframes burstC4 {
    0%   { opacity: 1; transform: rotate(22deg) translateY(20px) scale(1); }
    100% { opacity: 0; transform: rotate(36deg) translate(120px, -300px) scale(3.5); }
}
.sp-circle.burst { animation: circleBurst 0.5s cubic-bezier(0.55,0,1,0.45) forwards !important; }
@keyframes circleBurst {
    0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(6); opacity: 0; }
}
.splash.burst::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(255,255,255,0);
    animation: flashBurst 0.45s ease-out forwards;
    pointer-events: none;
    z-index: 100;
}
@keyframes flashBurst {
    0%   { background: rgba(255,255,255,0); }
    25%  { background: rgba(255,255,255,0.25); }
    100% { background: rgba(255,255,255,0); }
}


/* ══════════════════════════════════════════════════════════════
   APP CONTAINER
══════════════════════════════════════════════════════════════ */
.app {
    width: 100%; max-width: 480px; height: 100%;
    margin: 0 auto;
    background: var(--bg);
    display: flex; flex-direction: column;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: border-box;
}

/* No more card emoji pattern here */
@keyframes suitDrift {
    0%   { transform: translateX(-50%) translateY(0); }
    50%  { transform: translateX(-50%) translateY(-12px); }
    100% { transform: translateX(-50%) translateY(0); }
}

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════════════
   HEADER — PREMIUM NOVA BANNER
══════════════════════════════════════════════════════════════ */
.header {
    height: 60px; flex-shrink: 0;
    padding: 0 16px;
    background: rgba(15, 15, 15, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    position: relative;
    z-index: 50;
}

/* Premium NOVA Banner */
.nova-premium-banner {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    background: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
    overflow: visible;
}
.npb-content {
    display: flex;
    align-items: center;
    position: relative; z-index: 2;
    width: 100%;
}
.npb-brand {
    display: flex;
    align-items: center;
    gap: 11px;
}
/* Logomark blanc (pique) — façon carte du splash */
.npb-logomark {
    width: 38px; height: 38px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #0f0f0f;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.45rem;
    line-height: 1;
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.25),
        inset 0 1.5px 2px rgba(255, 255, 255, 0.8),
        inset 0 -1px 2px rgba(0, 0, 0, 0.05);
}
.npb-titles {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 3px;
}
.npb-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.npb-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: rgba(232,232,232,0.7);
    text-transform: uppercase;
}
.hdr-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hd-left { display:flex; align-items:center; gap:10px; }
.hd-logo-wrap { display:flex; align-items:center; gap:8px; }
.hd-logo-mini { width: 28px; height: 28px; }
.hd-brand-title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: 0.5px; color: #F3F4F6; }

.hd-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: #1a1a1a;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.05rem;
    border: 1.5px solid #e8e8e8;
    box-shadow: none;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    color: #fff;
}
.hd-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: absolute; inset: 0;
}
.hd-name { display:block; font-size:.95rem; font-weight:700; color: #F3F4F6; }
.hd-club {
    font-size: .68rem; font-weight: 700; text-transform: uppercase;
    color: #e8e8e8; background: rgba(232,232,232,0.08);
    padding: 3px 8px; border-radius: 6px;
    margin-left: 6px;
    border: none;
}
.hd-club.joined {
    color: #e8e8e8; background: rgba(232,232,232,0.08);
    border: none;
}

/* Premium circle header buttons */
.hd-right { display:flex; align-items:center; gap:8px; }

.btn-hdr-circle {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.65);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}
.btn-hdr-circle:hover {
    background: rgba(232,232,232,0.12);
    border-color: rgba(232,232,232,0.3);
    color: #e8e8e8;
    transform: translateY(-1px);
}
.btn-hdr-circle:active { transform: scale(0.9); }

.hd-right { display:flex; align-items:center; gap:8px; }

.chip-pill {
    display: flex; align-items: center; gap: 8px;
    background: var(--bg-3);
    border: none;
    padding: 6px 14px; border-radius: 12px;
    font-size: .85rem; font-weight: 700;
    color: #F5F5F5;
}
.usdt-pill {
    display: flex; align-items: center; gap: 8px;
    background: var(--bg-3);
    border: none;
    padding: 6px 14px; border-radius: 12px;
    font-size: .85rem; font-weight: 700;
    color: #e8e8e8;
}
.btn-wallet-trigger {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--bg-highlight);
    border: 1px solid rgba(255,255,255,0.06);
    color: #e8e8e8;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.15s ease;
}
.btn-wallet-trigger:active {
    transform: scale(0.92);
}

/* ══════════════════════════════════════════════════════════════
   CONTENT AREA
══════════════════════════════════════════════════════════════ */
.content {
    flex: 1; overflow-y: auto; overflow-x: hidden;
    padding: 10px;
    display: flex; flex-direction: column;
    min-width: 0;
}
.app:has(#tab-play.active) .play-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Hide scrollbar */
.content::-webkit-scrollbar { display: none; }
.content { -ms-overflow-style: none; scrollbar-width: none; }
.app:has(#tab-wallet.active) .content {
    overflow: hidden !important;
}

.panel { display: none; flex-direction: column; gap: 12px; position: relative; z-index: 1; min-width: 0; }
.panel.active { display: flex; flex-direction: column; flex: 1; min-width: 0; animation: panel-in .3s var(--ease); }
@keyframes panel-in {
    from { opacity:0; transform:translateY(12px); filter: blur(6px); }
    to   { opacity:1; transform:translateY(0); filter: blur(0px); }
}

/* ══════════════════════════════════════════════════════════════
   CARDS / GLASS
══════════════════════════════════════════════════════════════ */
.card, .glass-card {
    background: var(--bg-2);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.06);
    padding: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.glass-card:hover, .card:hover { background: #2a2a2a; }

.card-title {
    font-size: .95rem; font-weight: 800; margin-bottom: 4px;
}
.card-sub { font-size: .78rem; color: var(--txt-mid); }
.card-icon-row {
    display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.card-icon-box {
    width: 40px; height: 40px; border-radius: var(--r-md);
    background: var(--violet-dim);
    border: 1px solid var(--border-v);
    display: flex; align-items: center; justify-content: center;
    color: var(--violet); font-size: 1rem;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 11px 20px;
    border-radius: var(--r-md); border: none;
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: .88rem;
    cursor: pointer;
    transition: all .25s var(--ease);
    position: relative; overflow: hidden;
}
.btn:active { transform: scale(.96); }

.btn-primary {
    background: #e8e8e8;
    color: #0f0f0f;
    border: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    box-shadow: 0 2px 0 rgba(0,0,0,0.22);
}
.btn-primary:hover {
    background: #e8e8e8;
    box-shadow: 0 2px 0 rgba(0,0,0,0.22);
    transform: translateY(-1px);
}
.btn-primary:active {
    transform: translateY(1px) scale(0.98);
}

.btn-ghost {
    background: rgba(232,232,232,0.02);
    border: 1px solid rgba(232,232,232,0.12);
    color: var(--txt-mid);
}
.btn-ghost:hover {
    background: rgba(232,232,232,0.06);
    border-color: rgba(232,232,232,0.25);
    color: var(--txt);
    box-shadow: 0 0 10px rgba(232,232,232,0.08);
}
.btn-ghost i {
    color: var(--violet);
    animation: bolt-pulse 1.5s infinite alternate;
}
@keyframes bolt-pulse {
    0% { opacity: 0.6; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.15); filter: drop-shadow(0 0 3px var(--violet)); }
}

.btn-sm { padding: 7px 14px; font-size: .8rem; border-radius: var(--r-sm); }
.btn-xs { padding: 5px 11px; font-size: .75rem; border-radius: var(--r-sm); }

/* Ripple effect */
.ripple { position: relative; overflow: hidden; }
.ripple-wave {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transform: scale(0);
    animation: ripple-anim .5s linear;
    pointer-events: none;
}
@keyframes ripple-anim {
    to { transform: scale(4); opacity: 0; }
}

/* ══════════════════════════════════════════════════════════════
   INPUTS
══════════════════════════════════════════════════════════════ */
.inp {
    width: 100%;
    background: rgba(0,0,0,0.28);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 12px 14px;
    color: var(--txt);
    font-family: 'Inter', sans-serif;
    font-size: .92rem; font-weight: 600;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
    outline: none;
}
.inp:focus {
    border-color: rgba(232,232,232,0.6);
    background: rgba(0,0,0,0.38);
    box-shadow: 0 0 0 3px rgba(232,232,232,0.12);
}
.inp::placeholder { color: var(--txt-low); }
.input-row { display:flex; gap:8px; margin-bottom:10px; }
.input-row .inp { flex:1; }

/* Select stylé (flèche custom, plus de rendu natif moche) */
select.inp {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e8e8e8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
select.inp option {
    background: #1a1a1a;
    color: #f5f5f5;
    font-weight: 600;
}

.form-group { display:flex; flex-direction:column; gap:6px; margin-bottom:14px; text-align: left; }
.form-label {
    font-size:.7rem; font-weight:800; color: rgba(255,255,255,0.55);
    letter-spacing: 0.5px; text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════
   LOBBY (COMPACT TELEGRAM MINI APP - NOVA STYLE)
══════════════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════════════
   PROFILE HERO CARD — PREMIUM MOTION DESIGN
══════════════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════════════
   PREMIUM PROFILE CARD & BALANCES
══════════════════════════════════════════════════════════════ */
.profile-hero-card {
    background: var(--bg-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}

.phc-header {
    display: flex; align-items: center; gap: 10px;
    position: relative; z-index: 2;
}
.phc-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.phc-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8e8e8, #d8d8d8);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    padding: 2px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.phc-avatar::after {
    content: '';
    position: absolute; inset: 2px;
    background: #111;
    border-radius: 50%;
    z-index: 0;
}
.phc-avatar img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 50%; position: relative; z-index: 1;
}
/* User didn't have an image, let's use a nice CSS gradient placeholder if img fails */
.phc-avatar-inner {
    width: 100%; height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f2937, #111827);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 800; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 1;
}

.phc-avatar-dot {
    position: absolute;
    width: 11px; height: 11px;
    background: #e8e8e8;
    border: 2px solid var(--bg-2);
    border-radius: 50%;
    bottom: 0; right: 0;
    z-index: 3;
}

.phc-user-info { display: flex; flex-direction: column; position: relative; z-index: 2; }
.phc-name-row { display: flex; align-items: center; }
.phc-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
}
.phc-status-lbl { font-size: 0.8rem; color: #e8e8e8; display: none; }
.phc-bio { display: none; } /* Removed as requested earlier */

/* Solde chips row */
.balance-chips-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 10px;
    position: relative; z-index: 2;
}

/* Premium Apple-style Glass Cards for Balances */
.bc-chip-col {
    background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    padding: 11px 4px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: border-color 0.2s ease, background 0.2s ease;
    position: relative;
}
.bc-chip-col:hover {
    border-color: rgba(255,255,255,0.16);
}

/* Carte centrale — même fond neutre que les autres */
.bc-chip-col--center {
    background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
    border-color: rgba(255,255,255,0.09);
}
.bc-chip-col--center:hover {
    border-color: rgba(255,255,255,0.16);
}

/* Icônes solde — plates et simples (pas de 3D/glossy/flip) */
.bc-icon-wrap {
    width: 26px; height: 26px;
    border-radius: 50%;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 900; font-size: 12px; color: #fff;
}
.bc-icon-usdt { background: transparent; }
.bc-icon-chips { background: #8b5cf6; }
.bc-icon-wins { background: #F59E0B; }

.bc-chip-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}

.bc-chip-val {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}
.bc-chip-col--center .bc-chip-val {
    color: #ffffff;
}

/* Quick deposit/withdraw actions */
.profile-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 6px;
}
.btn-pc-action {
    padding: 10px 0 !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    font-size: 0.76rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}
.profile-card-actions .btn-pc-action:first-child {
    background: rgba(52, 211, 153, 0.08) !important;
    border: 1.5px solid rgba(52, 211, 153, 0.22) !important;
    color: #34d399 !important;
}
.profile-card-actions .btn-pc-action:first-child:hover {
    background: rgba(52, 211, 153, 0.15) !important;
    border-color: rgba(52, 211, 153, 0.35) !important;
    transform: translateY(-1px) !important;
}
.profile-card-actions .btn-pc-action:last-child {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}
.profile-card-actions .btn-pc-action:last-child:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-1px) !important;
}
.btn-pc-action i {
    font-size: 0.74rem;
}

/* Change PIN Action button */
.change-pin-btn {
    background: var(--bg-2);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 16px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.88rem;
    color: #f3f4f6;
    margin-bottom: 12px;
}
.change-pin-btn i {
    font-size: 1.05rem;
    color: #9CA3AF;
}

/* ══════════════════════════════════════════════════════════════
   TABLES LIST (LOBBY)
══════════════════════════════════════════════════════════════ */
.side-tables-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 6px;
    padding-top: 10px;
    position: relative;
    z-index: 1;
}

/* Premium Table Cards */
.side-table-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1px;
    position: relative;
    overflow: visible;
    min-width: 0;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.side-table-card:hover {
    transform: translateY(-3px);
    border-color: rgba(232,232,232,0.3);
    box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}
.stc-content {
    background: var(--bg-3);
    border-radius: 19px;
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.stc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.stc-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.stc-type {
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #e8e8e8;
    background: rgba(232,232,232,0.12);
    border: 1px solid rgba(232,232,232,0.25);
    padding: 3px 8px;
    border-radius: 7px;
}

.stc-meta {
    display: flex;
    gap: 10px;
}
.stc-meta-item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 11px;
    padding: 7px 9px;
}
.stc-meta-lbl {
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}
.stc-meta-val {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    color: #f8fafc;
}
.stc-meta-val i { font-size: 0.68rem; color: #e8e8e8; margin-right: 2px; }

.btn-stc-join {
    width: 100%;
    background: rgba(52, 211, 153, 0.06);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.2);
    padding: 10px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}
.side-table-card:hover .btn-stc-join {
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.35);
}
.btn-stc-join:active { transform: scale(0.96); }

/* Empty State (4th screen) */
.tables-section {
    display: flex; flex-direction: column; gap: 12px; margin-top: 6px;
    flex: 1;
    position: relative;
}

/* Filigrane décoratif dans la zone vide */
.tables-watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.tw-glow { display: none; }
.tw-suits {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 22px;
    transform: rotate(-8deg);
}
.tw-suit {
    font-size: 4.2rem;
    line-height: 1;
    color: #ffffff;
    opacity: 0.04;
}
.tw-heart, .tw-diamond { opacity: 0.04; }
.empty-tables-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 20px;
    margin-top: 20px;
}
.ets-icon {
    font-size: 3rem;
    color: rgba(255,255,255,0.08);
    margin-bottom: 16px;
}
.ets-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}
.ets-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.5;
    max-width: 250px;
}

.tables-section-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 4px; margin-bottom: 2px;
    position: relative; z-index: 1;
}
.tables-section-title { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 800; color: #F5F5F5; }
.tables-live-tag { font-size: .68rem; font-weight: 700; color: #e8e8e8; background: rgba(232,232,232,0.1); padding: 4px 10px; border-radius: 9999px; border: 1px solid rgba(232,232,232,0.2); }

.tables-grid {
    display: flex; flex-direction: column; gap: 12px;
}
.game-card {
    border-radius: 22px; padding: 18px;
    display: flex; flex-direction: column; gap: 14px;
    cursor: pointer; transition: all 0.2s var(--ease);
    position: relative; overflow: hidden;
}
.game-card:hover { transform: translateY(-1px); }
.game-card:active { transform: scale(0.99); }

.game-card-highlight { background: var(--bg-highlight); border: 1.5px solid #e8e8e8; }
.game-card-dark { background: var(--bg-2); border: 1px solid rgba(255,255,255,0.05); }

.gc-top { display: flex; align-items: center; justify-content: space-between; }
.gc-top-left { display: flex; align-items: center; gap: 10px; }
.gc-pill {
    font-family: 'Inter', sans-serif; font-size: .64rem; font-weight: 700;
    padding: 3px 8px; border-radius: 6px; color: #fff; text-transform: uppercase; letter-spacing: 0.3px;
}
.gc-pill-nlhe { background: #DC2626; }
.gc-pill-plo { background: #2563EB; }

.gc-title { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; color: #F5F5F5; }
.gc-players-dot { font-size: .8rem; color: #9CA3AF; }
.gc-players-dot strong { font-family: 'Inter', sans-serif; font-weight: 700; color: #e8e8e8; margin-left: 4px; }

.gc-blinds { font-size: .8rem; font-weight: 500; color: #9CA3AF; margin-top: -4px; }

.gc-action-btn-wrap { margin-top: 2px; }
.btn-table-join {
    border-radius: 14px; padding: 12px 0;
    font-family: 'Inter', sans-serif; font-size: .88rem;
    width: 100%; text-align: center;
    cursor: pointer; transition: all 0.2s ease;
    box-shadow: none;
    outline: none;
}
.game-card-highlight .btn-table-join {
    background: var(--bg-3); color: #e8e8e8; border: 1.5px solid #e8e8e8; font-weight: 700;
}
.game-card-highlight .btn-table-join:hover {
    background: #0b1a12;
}
.game-card-dark .btn-table-join {
    background: var(--bg-3); color: #9CA3AF; border: 1px solid rgba(255,255,255,0.08); font-weight: 600;
}
.game-card-dark .btn-table-join:hover {
    background: #0e1e15; color: #F5F5F5; border-color: rgba(255,255,255,0.15);
}



/* ══════════════════════════════════════════════════════════════
   POKER TABLE — CINEMATIC MOTION DESIGN
══════════════════════════════════════════════════════════════ */
#tab-play {
    color: var(--txt);
}
/* Hide nav bar when playing */
.app:has(#tab-play.active) .nav-bar {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    height: 0;
}
.nav-bar { transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), height 0.25s var(--ease); }
.app:has(#tab-play.active) .content { padding: 0; }

/* ── Play wrapper ── */
/* Table immersive : on masque le header global NOVA + le contenu prend tout l'écran */
.app:has(#tab-play.active) .header { display: none; }
.app:has(#tab-play.active) .content { padding: 0; }

.play-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: #0f0f0f;
    position: relative;
    padding-bottom: 25px;
}
.play-wrap > * { min-width: 0; }

/* ── Top bar (épuré, comme le splash) ── */
.play-header-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px;
    background: transparent;
    z-index: 10;
}
body.is-telegram .play-header-row {
    display: none;
}
.btn-play-back {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    color: #ffffff;
    font-size: .85rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: all .15s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.btn-play-back:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}
.btn-play-back span { display: none; }
.btn-play-back:active { transform: scale(0.94); }

.play-title-lbl {
    font-size: .62rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1.5px; color: #e8e8e8;
    background: rgba(232,232,232,0.12);
    padding: 4px 12px; border-radius: 9999px;
    border: 1px solid rgba(232,232,232,0.22);
}

/* ══ FELT AREA — épuré et classique ══ */
.felt-outer {
    position: relative;
    flex: 1;
    min-height: 280px;
    display: flex; align-items: center; justify-content: center;
    padding: 35px 20px;
    margin-bottom: 25px;
    background: #0f0f0f;
    overflow: visible;
    z-index: 1;
}

/* ── Le tapis (simple, classique, gris) ── */
.felt {
    width: 100%;
    max-width: 280px;
    height: 100%;
    max-height: 420px;
    border-radius: 120px;
    background: radial-gradient(ellipse at center, #328850 0%, #174227 100%);
    box-shadow:
        0 0 0 6px #080808,
        0 10px 40px rgba(0,0,0,0.8),
        inset 0 10px 30px rgba(0,0,0,0.6),
        inset 0 -10px 30px rgba(0,0,0,0.6);
    position: relative;
}
.felt::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 120px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.15;
    mix-blend-mode: overlay;
    pointer-events: none;
}
/* Rail simple */
.felt::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 112px;
    pointer-events: none;
}

/* Logo NOVA discret sur le tapis (statique) */
.felt-logo {
    position: absolute;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: 8px;
    color: #ffffff;
    mix-blend-mode: overlay;
    pointer-events: none;
    text-indent: 8px;
}

.felt-suits { display: none; }

/* Pile de jetons décorative (représente le pot) */
.pot-chips {
    position: absolute;
    top: 52%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex; gap: 4px; z-index: 4;
    pointer-events: none;
}
.pot-chips .chip {
    width: 22px; height: 22px; border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0,0,0,0.45), inset 0 -3px 4px rgba(0,0,0,0.25), inset 0 2px 3px rgba(255,255,255,0.35);
    border: 2px dashed rgba(255,255,255,0.55);
}
.pot-chips .chip.c-red    { background: #e0475b; }
.pot-chips .chip.c-blue   { background: #3f7fe0; }
.pot-chips .chip.c-dark   { background: #2b2f36; }
.pot-chips .chip.c-green  { background: #22c55e; }

/* Pot */
.pot-pill {
    position: absolute;
    top: 58%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffd700;
    font-size: .75rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 12px;
    z-index: 6;
    white-space: nowrap;
}

/* Board cards (communautaires) */
.board-cards {
    position: absolute;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex; gap: 5px; z-index: 5;
    transition: all 0.3s ease;
}
.board-cards .fc {
    animation: cardReveal 0.4s var(--spring) both;
}
@keyframes cardReveal {
    from { transform: rotateY(90deg) scale(0.8); opacity: 0; }
    to   { transform: rotateY(0deg) scale(1); opacity: 1; }
}
.pot-chips .chip {
    width: 22px; height: 22px; border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0,0,0,0.45), inset 0 -3px 4px rgba(0,0,0,0.25), inset 0 2px 3px rgba(255,255,255,0.35);
    border: 2px dashed rgba(255,255,255,0.55);
}
.pot-chips .chip.c-red    { background: #e0475b; }
.pot-chips .chip.c-blue   { background: #3f7fe0; }
.pot-chips .chip.c-dark   { background: #2b2f36; }
.pot-chips .chip.c-green  { background: #35b45c; }

.fc {
    width: 32px; height: 46px;
    background: #ffffff;
    color: #16181d;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-radius: 6px;
    padding: 3px 4px;
    font-size: .72rem; font-weight: 900;
    line-height: 1;
    box-shadow: 0 3px 8px rgba(0,0,0,0.4);
    animation: dealCard .28s cubic-bezier(0.175,0.885,0.32,1.275) both;
}
@keyframes dealCard {
    from { opacity: 0; transform: translateY(-16px) scale(.85); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.fc.empty {
    background: rgba(0,0,0,0.18);
    border: 1px dashed rgba(255,255,255,0.14);
    box-shadow: none;
}
.fc.red { color: #d1354a; }
.fc .suit { align-self: flex-end; line-height: 1; font-size: .82rem; }

/* Pot */
.pot-pill {
    position: absolute;
    top: 61%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
    padding: 4px 14px; border-radius: var(--r-full);
    font-size: .72rem; font-weight: 800;
    color: #ffd60a; z-index: 5;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* ══ SIÈGES — compact ══ */
.seat {
    position: absolute;
    width: 56px;
    display: flex; flex-direction: column; align-items: center;
    z-index: 20;
    animation: none;
    cursor: pointer;
}
/* Positions symétriques */
.seat-top    { top: -42px;    left: 50%; transform: translateX(-50%); }
.seat-bottom { bottom: -42px; left: 50%; transform: translateX(-50%); }
.seat-tl     { top: 12%;      left: -22px; }
.seat-tr     { top: 12%;      right: -22px; }
.seat-bl     { bottom: 12%;   left: -22px; }
.seat-br     { bottom: 12%;   right: -22px; }

/* ── Avatar (simple, classique) ── */
.seat-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: #1a2e28;
    border: 2.5px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; font-weight: 800;
    color: #ffffff;
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: all .15s ease;
}
.sa-hero { border-color: #e8e8e8; }

/* Anneaux colorés par joueur (discrets mais clairs) */
#seat-1 .seat-avatar { border-color: rgba(255,255,255,0.1); }
#seat-2 .seat-avatar { border-color: rgba(255,255,255,0.1); }
#seat-3 .seat-avatar { border-color: rgba(255,255,255,0.1); }
#seat-4 .seat-avatar { border-color: rgba(255,255,255,0.1); }
#seat-5 .seat-avatar { border-color: rgba(255,255,255,0.1); }

/* Tour actif — simple ring */
.seat.current-turn .seat-avatar {
    border-color: #e8e8e8;
    box-shadow: 0 0 0 2px rgba(232,232,232,0.3), 0 2px 6px rgba(0,0,0,0.3);
}

/* Minuterie (simple) */
.seat-timer-progress {
    position: absolute;
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 1.5px solid rgba(232,232,232,0.25);
    pointer-events: none;
    display: none;
    z-index: 1;
}
.seat.current-turn .seat-timer-progress { display: block; }

/* Winner */
.seat.winner .seat-avatar {
    border-color: #fbbf24;
    box-shadow: 0 0 0 2px rgba(251,191,36,0.3), 0 2px 6px rgba(0,0,0,0.3);
}

/* Dealer button */
.dealer-btn {
    position: absolute; top: 16px; right: -8px;
    width: 16px; height: 16px; border-radius: 50%;
    background: #ffffff;
    border: none;
    color: #1a1a1a; font-family: 'Inter', sans-serif;
    font-weight: 800; font-size: .48rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 8;
}

/* ── Plaque nom/chips (simple, épurée) ── */
.seat-info {
    text-align: center;
    margin-top: -4px;
    display: flex; flex-direction: column; align-items: center; gap: 1px;
    min-width: 58px;
    z-index: 7;
}
.seat-nm {
    display: block;
    font-size: .56rem; font-weight: 600;
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
    max-width: 62px;
}
.seat-chips-lbl {
    display: inline-block;
    background: #e8e8e8;
    color: #0b2417;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: .58rem;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: all .1s ease;
}

/* Avatar empty (dashed, neutral) */
.seat-avatar.seat-empty {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    color: rgba(255,255,255,0.4);
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* Empty seat : label discret */
.seat:has(.seat-empty) .seat-chips-lbl {
    background: transparent;
    color: rgba(255,255,255,0.6);
    box-shadow: none;
    font-weight: 600;
    padding: 2px 8px;
}
.seat:has(.seat-empty) .seat-nm { color: rgba(255,255,255,0.5); }

/* Player hole cards above avatar */
.seat-cards {
    display: flex;
    position: absolute; top: -18px;
    z-index: 10;
}
.seat-cards .fc {
    width: 20px; height: 29px;
    padding: 1px 2px; font-size: .48rem; border-radius: 3px;
    animation: none;
}
.seat-cards .fc:nth-child(1) {
    transform: rotate(-10deg) translateY(2px);
    box-shadow: -2px 3px 6px rgba(0,0,0,0.6);
}
.seat-cards .fc:nth-child(2) {
    transform: rotate(10deg) translate(-4px, 2px);
    box-shadow: 2px 3px 6px rgba(0,0,0,0.6);
}

/* Cartes du héros — plus grandes (mises en avant comme la réf) */
.seat-bottom .seat-cards { top: -40px; }
.seat-bottom .seat-cards .fc {
    width: 34px; height: 49px;
    padding: 3px 4px; font-size: .74rem; border-radius: 6px;
}
.seat-bottom .seat-cards .fc:nth-child(1) { transform: rotate(-8deg) translateY(2px); }
.seat-bottom .seat-cards .fc:nth-child(2) { transform: rotate(8deg) translate(-6px, 2px); }

/* ══ ACTION BOTTOM AREA (épuré) ══ */
.decision-bar {
    background: transparent;
    padding: 4px 8px;
    display: flex; flex-direction: column; gap: 4px;
    flex-shrink: 0;
}

.slider-row {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 7px 14px; border-radius: var(--r-md);
}
.raise-val {
    font-family: 'Inter', sans-serif;
    font-weight: 900; font-size: .9rem;
    color: #e8e8e8; min-width: 50px;
}
.slider-row input[type=range] {
    flex: 1; accent-color: #e8e8e8; cursor: pointer;
}

.action-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.btn-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
    padding: 8px 0;
    min-height: 48px;
    border-radius: 9999px;
    border: none;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all .15s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    position: relative;
    font-weight: 800;
}
.btn-action:hover {
    transform: translateY(-2px);
}
.btn-action:active {
    transform: translateY(0) scale(0.97);
}
.btn-action .btn-val {
    font-size: 1rem; font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.2px;
}
.btn-action .btn-lbl {
    font-size: .64rem; font-weight: 700;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase; letter-spacing: 0.6px;
    margin-top: 2px;
}

/* ── FOLD ── */
.btn-fold {
    background: #2c2c2e;
    border: none;
    box-shadow: none;
}
.btn-fold:hover {
    background: #3a3a3c;
}
.btn-fold .btn-val { color: #ffffff; font-size: 1.15rem; }
.btn-fold .btn-lbl { color: rgba(255,255,255,0.6); }

/* ── CALL — Action recommandée (l'accent) ── */
.btn-call {
    background: #0a84ff;
    border: none;
    box-shadow: none;
}
.btn-call:hover {
    background: #148eff;
    transform: translateY(-2px);
}
.btn-call .btn-val { color: #ffffff; }
.btn-call .btn-lbl { color: rgba(255,255,255,0.8); }

/* ── RAISE ── */
.btn-raise {
    background: #ff9f0a;
    border: none;
    box-shadow: none;
}
.btn-raise:hover {
    background: #ffa81f;
}
.btn-raise .btn-val { color: #ffffff; }
.btn-raise .btn-lbl { color: rgba(255,255,255,0.9); }

/* ── Pre-actions ── */
.pre-actions-bar {
    display: flex; gap: 8px; flex-wrap: wrap;
    background: rgba(255,255,255,0.03);
    padding: 8px 12px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.pre-action-opt {
    display: flex; align-items: center; gap: 5px;
    font-size: .75rem; color: #9CA3AF;
    cursor: pointer;
}

/* ── Chat ── */
.btn-delete-table {
    position: absolute;
    top: -9px;
    right: -2px;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f87171, #dc2626);
    color: #fff;
    border: 2px solid var(--bg);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 0.72rem;
    line-height: 1;
    z-index: 15;
    box-shadow: 0 4px 12px rgba(220,38,38,0.45);
    transition: all 0.2s cubic-bezier(0.175,0.885,0.32,1.275);
}
.btn-delete-table:hover {
    background: linear-gradient(135deg, #fca5a5, #ef4444);
    transform: scale(1.12) rotate(90deg);
    box-shadow: 0 6px 16px rgba(239,68,68,0.6);
}
.btn-delete-table:active { transform: scale(0.9); }

/* ── Admin create table button (+ dans le header Tables Actives) ── */
.btn-admin-create-table {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.2s ease;
}
.btn-admin-create-table:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}
.btn-admin-create-table:active {
    transform: scale(0.92);
}
.table-chat-bar {
    background: rgba(0,0,0,0.15);
    padding: 4px 8px;
    flex-shrink: 0;
    border-radius: 10px;
    margin: 0 8px;
}
.quick-emojis { display: none; }

.chat-input-row {
    display: flex; gap: 6px; align-items: center;
    height: 34px;
}
.chat-input-row input {
    flex: 1; min-width: 0;
    background: #1c1c1e;
    border: none;
    border-radius: 9999px;
    padding: 8px 14px; font-size: .8rem;
    color: #fff; outline: none;
    transition: background .15s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: none;
}
.chat-input-row input:focus {
    background: #2c2c2e;
}
.chat-input-row input::placeholder { color: rgba(255,255,255,0.4); }
.btn-hdr-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: transparent;
    color: var(--txt-mid);
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
}
.btn-hdr-icon:hover {
    color: var(--txt-light);
    background: rgba(255,255,255,0.06);
}

.btn-lang-flag {
    background: transparent;
    border: none;
    border-radius: 9px;
    width: 34px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25,0.8,0.25,1);
    opacity: 0.45;
    filter: saturate(35%);
    padding: 0;
    overflow: hidden;
}
.btn-lang-flag svg {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 6px;
}
.btn-lang-flag:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}
.btn-lang-flag.active-lang {
    opacity: 1;
    filter: saturate(100%);
    transform: scale(1.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.4), 0 0 0 1.5px rgba(255,255,255,0.55) inset;
}
.lang-flags-container {
    display: flex;
    align-items: center;
    margin-right: 4px;
}

.btn-lang-toggle {
    background: rgba(255,255,255,0.1);
    color: var(--txt-light);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}
.btn-lang-toggle:hover {
    background: rgba(255,255,255,0.2);
}
#btn-send-chat {
    width: 34px; height: 34px; flex-shrink: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #ffffff; font-size: .8rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 4px 12px rgba(0,0,0,0.4);
    transition: all .15s cubic-bezier(0.4, 0, 0.2, 1);
}
#btn-send-chat:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 6px 16px rgba(0,0,0,0.5);
    background: #222222;
}
#btn-send-chat:active { transform: scale(0.94); }

/* ── Log ── */
.table-log {
    background: transparent;
    padding: 2px 8px;
    height: 16px; line-height: 14px; overflow: hidden;
    font-size: .6rem; color: var(--txt-low);
    text-align: center;
    white-space: nowrap; text-overflow: ellipsis;
    flex-shrink: 0;
}
.table-log::-webkit-scrollbar { display: none; }

/* ── Controls (action packed!) ── */
.play-controls {
    display: flex;
    gap: 5px;
    padding: 6px 6px;
    flex-shrink: 0;
    align-items: stretch;
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
    margin: 0 8px;
}
.play-controls .btn {
    flex: 1;
    min-width: 0;
    padding: 8px 4px;
    font-size: .65rem;
    font-weight: 700;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    border-radius: 8px !important;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all .15s cubic-bezier(0.4, 0, 0.2, 1);
    animation: none !important;
    border: none;
}
.play-controls .btn i { flex-shrink: 0; font-size: .8rem; }
/* Secondaires — relief subtil */
.play-controls .btn-ghost {
    background: #2c2c2e !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: none !important;
}
.play-controls .btn-ghost i { color: #ffffff !important; }
.play-controls .btn-ghost:hover {
    background: #3a3a3c !important;
    transform: translateY(-1px);
}
.play-controls .btn-ghost:active {
    transform: translateY(0);
}
/* Distribuer — champion button */
.play-controls .btn-primary {
    flex: 1.15;
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    color: #000000 !important;
    text-transform: uppercase;
    letter-spacing: .3px;
    font-weight: 800;
    position: relative;
}
.play-controls .btn-primary i { color: #000000 !important; }
.play-controls .btn-primary:hover {
    transform: translateY(-2px);
    background: #f2f2f7 !important;
}
.play-controls .btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* ══════════════════════════════════════════════════════════════
   WALLET
══════════════════════════════════════════════════════════════ */
.balance-card-compact {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px;
    background: var(--bg-2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 22px;
    margin-bottom: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}
.bc-item {
    display: flex; flex-direction: column; gap: 3px;
}
.bc-lbl {
    font-family: 'Inter', sans-serif;
    font-size: .64rem; font-weight: 600; color: #9CA3AF;
    text-transform: uppercase; letter-spacing: 0.4px;
}
.bc-val {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem; font-weight: 700; color: #F3F4F6;
}
.bc-val-chips {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem; font-weight: 700; color: #e8e8e8;
    display: flex; align-items: center; gap: 5px;
    text-shadow: none;
}
.bc-val-chips i { font-size: .95rem; }
.bc-divider {
    width: 1px; height: 32px;
    background: rgba(255,255,255,0.04);
}

.wallet-tabs {
    display: grid; grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.wallet-tab {
    background: transparent; border: none;
    color: #6B7280;
    font-family: 'Inter', sans-serif; font-weight: 600; font-size: .88rem;
    padding: 12px 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    border-bottom: 2px solid transparent;
    transition: all .2s var(--ease);
}
.wallet-tab.active { color: #e8e8e8; border-bottom-color: #e8e8e8; font-weight: 700; }

.wallet-panel { display:none; flex-direction:column; gap:12px; }
.wallet-panel.active { display:flex; animation: panel-in .3s var(--ease); }

.coin-row { display:flex; gap:8px; margin-bottom:12px; }
.coin-btn {
    flex:1; background: #2a2a2a;
    border: 1px solid rgba(255,255,255,0.04);
    padding: 10px 0; border-radius: 12px;
    color: #9CA3AF; cursor: pointer; font-weight: 600; font-size: .75rem;
    font-family: 'Inter', sans-serif;
    transition: all .2s var(--ease);
}
.coin-btn.active {
    border-color: #e8e8e8;
    color: #e8e8e8;
    background: rgba(232,232,232,0.12);
    font-weight: 700;
}

/* Invoice */
.invoice-card {
    background: var(--bg-2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}
.invoice-top {
    display:flex; justify-content:space-between; align-items:center;
    border-bottom: 1px solid rgba(255,255,255,0.04); padding-bottom:12px; margin-bottom:14px;
    font-size:.75rem; font-weight:600; font-family: 'Inter', sans-serif; color: #9CA3AF;
}
.inv-status { display:flex; align-items:center; gap:6px; color: #e8e8e8; font-weight: 700; }
.inv-timer { color: #9CA3AF; }
.invoice-body { display:flex; flex-direction:column; align-items:center; gap:14px; }
.qr-box {
    width:140px; height:140px;
    background:#fff; border-radius:14px;
    display:flex; align-items:center; justify-content:center;
    font-size:5.5rem; color:#1a1a2e;
}
.inv-row { width:100%; }
.inv-lbl { display:block; font-size:.64rem; font-weight:600; color:#6B7280; letter-spacing:0.5px; margin-bottom:3px; font-family: 'Inter', sans-serif; }
.inv-val { font-size:.95rem; font-weight:700; font-family: 'Inter', sans-serif; color: #F3F4F6; }
.addr-row {
    display:flex; align-items:center; justify-content:space-between;
    background:rgba(0,0,0,0.4); padding:6px 10px; border-radius:var(--r-sm);
    border:1px solid var(--border);
}
.inv-addr { font-family:monospace; font-size:.82rem; }
.warn-txt { font-size:.68rem; color:var(--red); font-weight:700; margin-top:10px; }
.info-txt { font-size:.72rem; color:var(--txt-mid); margin-top:10px; text-align:center; }

/* ══════════════════════════════════════════════════════════════
   ADMIN
══════════════════════════════════════════════════════════════ */
.admin-hero {
    display:flex; align-items:center; gap:14px; padding:16px;
}
.admin-hero-icon {
    width:46px; height:46px; border-radius:var(--r-md);
    background:var(--violet-dim); border:1px solid var(--border-v);
    display:flex; align-items:center; justify-content:center;
    color:var(--violet); font-size:1.2rem; flex-shrink:0;
}

.toggle-row {
    display:flex; justify-content:space-between; align-items:center;
    font-size:.8rem; font-weight:700; color:var(--txt-mid);
    margin: 10px 0;
}
.switch { position:relative; display:inline-block; width:42px; height:22px; }
.switch input { opacity:0; width:0; height:0; }
.slider {
    position:absolute; cursor:pointer; inset:0;
    background:#1c1f2b; transition:.3s;
}
.slider:before {
    position:absolute; content:"";
    height:16px; width:16px; left:3px; bottom:3px;
    background:white; transition:.3s;
}
input:checked + .slider { background:var(--violet); }
input:checked + .slider:before { transform:translateX(20px); }
.slider.round { border-radius:22px; }
.slider.round:before { border-radius:50%; }

.wd-table { width:100%; border-collapse:collapse; font-size:.78rem; }
.wd-table th { padding:8px; color:var(--txt-low); border-bottom:1px solid var(--border); text-align:left; }
.wd-table td { padding:8px; border-bottom:1px solid rgba(255,255,255,0.02); }
.wd-empty { color:var(--txt-low); text-align:center; padding:16px; }

/* ══════════════════════════════════════════════════════════════
   NAV BAR
══════════════════════════════════════════════════════════════ */
.nav-bar {
    height: 60px; flex-shrink: 0;
    margin: 0;
    border-radius: 0;
    background: #0B100D;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 6px;
    box-shadow: none;
}
.nav-btn {
    flex: 1;
    background: transparent; border: none;
    color: #6B7280;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 4px;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    position: relative;
    border-radius: 12px;
    padding: 4px 0;
    margin: 4px 2px;
}
.nav-btn i {
    font-size: 1.2rem;
    transition: color 0.2s ease, transform 0.2s ease;
}
.nav-btn span {
    font-family: 'Inter', sans-serif;
    font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
    transition: color 0.2s ease;
}
.nav-btn::after { display: none; }
.nav-btn.active {
    color: #e8e8e8;
    background: transparent;
    border: none;
}
.nav-btn.active i {
    color: #e8e8e8;
    transform: scale(1.08);
}
.nav-btn.active span {
    color: #e8e8e8;
    font-weight: 700;
}
.nav-btn:active i {
    transform: scale(0.92);
}

/* ─── MODAL BUY-IN POUR S'ASSEOIR ─── */
.modal {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(0,0,0,0.7);
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(8px);
}
.modal.hidden {
    display: none !important;
}
.modal-content {
    width: 90%; max-width: 340px;
    background: linear-gradient(165deg, rgba(28,28,30,0.98), rgba(18,18,20,0.99));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
    text-align: center;
    transform: scale(0.9) translateY(20px);
    filter: blur(12px);
    opacity: 0;
}
.modal:not(.hidden) .modal-content {
    animation: modal-open-blur 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes modal-open-blur {
    to {
        transform: scale(1) translateY(0);
        filter: blur(0px);
        opacity: 1;
    }
}
.modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem; font-weight: 800; color: #ffffff;
}
.modal-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding-bottom: 8px;
}
.btn-close-modal {
    background: transparent;
    border: none;
    color: #9CA3AF;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
}
.btn-close-modal:active {
    opacity: 0.6;
}
.wallet-modal-content {
    max-width: 370px !important;
}
.modal-desc {
    font-family: 'Inter', sans-serif;
    font-size: .8rem; font-weight: 500; color: #9CA3AF;
    margin-bottom: 12px;
}
.buyin-limits {
    display: flex; justify-content: space-between;
    font-family: 'Inter', sans-serif;
    font-size: .8rem; font-weight: 600; color: #F3F4F6;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.04);
    padding: 8px 12px; border-radius: 12px;
    margin-bottom: 12px;
}
.modal-actions {
    display: flex; gap: 10px; margin-top: 15px;
}
.modal-actions button { flex: 1; }

/* ─── RACCOURCIS DE RELANCE ─── */
.raise-shortcuts {
    display: flex; gap: 4px; width: 100%;
    margin-bottom: 8px;
}
.btn-shortcut {
    flex: 1; padding: 4px 0;
    font-size: .62rem; font-weight: 800;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-sm);
    color: var(--txt-mid);
    cursor: pointer;
    transition: all 0.2s var(--ease);
}
.btn-shortcut:hover {
    background: rgba(232,232,232,0.15);
    border-color: var(--violet);
    color: #fff;
}

/* ─── PRÉ-ACTIONS BAR ─── */
.pre-actions-bar {
    display: flex; gap: 8px; justify-content: center;
    background: rgba(0,0,0,0.6);
    padding: 6px; border-radius: var(--r-sm);
    margin-bottom: 8px;
    border: 1px solid rgba(255,255,255,0.03);
}
.pre-action-opt {
    font-size: .62rem; font-weight: 700; color: var(--txt-mid);
    display: flex; align-items: center; gap: 4px;
    cursor: pointer;
}
.pre-action-opt input {
    accent-color: var(--violet);
}

/* ─── TIMER VISUEL SUR LE SIÈGE ─── */
.seat-timer-progress {
    position: absolute; inset: -2px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #f59e0b; /* Timer orange/jaune */
    animation: spin 1s linear infinite;
    pointer-events: none;
    z-index: 1;
    display: none;
}
.seat.current-turn .seat-timer-progress {
    display: block;
}

.seat.sit-out {
    opacity: 0.4;
}
.seat.sit-out .seat-avatar {
    border-style: dotted;
}
.seat.waiting-next {
    filter: grayscale(0.5);
}
.seat.waiting-next .seat-avatar::before {
    content: 'En attente';
    position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
    background: #4b5563; font-size: .4rem; padding: 1px 4px;
    border-radius: 2px; color: #fff; white-space: nowrap;
}
