/* ============================================================
   PayGame Pro v2.1 — Nouveau thème utilisateur
   ============================================================
   Version "v2.1" : MÊME DESIGN néomorphique que la v2, mais en
   conservant les COULEURS D'ORIGINE du code source :
     - Indigo / Violet : #6366f1 / #8b5cf6  (primary)
     - Or / Ambre      : #f59e0b / #fbbf24 (accent / gold)
     - Fond violet-noir original : #0b1020 → #0f172a
     - Surfaces : #161e36 / #1d2747

   Le design néomorphique (ombres doubles, surfaces extrudées,
   boutons pills, dock de navigation en glassmorphism) provient
   de la v2 — seules les couleurs reviennent à l'identité
   visuelle originale du projet PayGame Pro.

   ⚠️  PORTÉE : Uniquement les pages utilisateur.
   Les pages admin (body.admin-body) ne sont PAS affectées :
   elles conservent leur thème d'origine (violet + or).

   Mécanisme : `body:not(.admin-body)` comme racine de toutes
   les règles ci-dessous — l'admin continue d'utiliser
   `assets/style.css` sans aucune surcharge.
   ============================================================ */

/* ------------------------------------------------------------
   1. Variables (limitées au scope utilisateur)
   ------------------------------------------------------------ */
body:not(.admin-body){
  /* Couleurs d'origine du projet — conservées intactes */
  --v2-bg:#0b1020;
  --v2-bg-2:#0f172a;
  --v2-surface:#161e36;
  --v2-surface-2:#1d2747;
  --v2-border:rgba(255,255,255,.08);
  --v2-text:#e8edff;
  --v2-muted:#8b95b8;
  --v2-primary:#6366f1;
  --v2-primary-2:#8b5cf6;
  --v2-primary-grad:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);
  --v2-accent:#f59e0b;
  --v2-accent-2:#fbbf24;
  --v2-accent-grad:linear-gradient(135deg,#f59e0b 0%,#fbbf24 100%);
  --v2-success:#10b981;
  --v2-danger:#ef4444;
  --v2-info:#3b82f6;
  --v2-gold:#fcd34d;

  /* Neumorphic dual shadows sur fond indigo-noir */
  --v2-shadow-light:rgba(255,255,255,.045);
  --v2-shadow-dark:rgba(0,0,30,.55);

  /* Override des variables natives du style.css pour que les
     composants qui les utilisent (btn-primary, chips, etc.)
     bénéficient automatiquement du nouveau thème. */
  --bg:#0b1020;
  --bg-2:#0f172a;
  --surface:#161e36;
  --surface-2:#1d2747;
  --border:rgba(255,255,255,.08);
  --text:#e8edff;
  --muted:#8b95b8;
  --primary:#6366f1;
  --primary-2:#8b5cf6;
  --accent:#f59e0b;
  --accent-2:#fbbf24;
  --success:#10b981;
  --danger:#ef4444;
  --info:#3b82f6;
  --gold:#fcd34d;
}

/* ------------------------------------------------------------
   2. Fond global & ambiance (mêmes couleurs que le projet original)
   ------------------------------------------------------------ */
body:not(.admin-body){
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(99,102,241,.25), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(245,158,11,.12), transparent 55%),
    linear-gradient(180deg,#0b1020 0%, #0f172a 100%);
  color:#e8edff;
  min-height:100vh;
  font-family:'Manrope','Plus Jakarta Sans',system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  letter-spacing:.005em;
}

body:not(.admin-body) .app-shell{
  max-width:520px;
  margin:0 auto;
  position:relative;
  min-height:100vh;
  padding-bottom:104px;
}
@media(min-width:560px){
  body:not(.admin-body) .app-shell{
    box-shadow:0 0 80px -20px rgba(99,102,241,.3);
  }
}

/* ------------------------------------------------------------
   3. Header & Glass — soft frosted look (couleurs originales)
   ------------------------------------------------------------ */
body:not(.admin-body) .app-header{
  position:sticky;top:0;z-index:40;
  background:linear-gradient(180deg,rgba(15,23,42,.85),rgba(11,16,32,.55));
  backdrop-filter:blur(18px) saturate(140%);
  -webkit-backdrop-filter:blur(18px) saturate(140%);
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 6px 24px -10px rgba(0,0,0,.45);
}
body:not(.admin-body) .glass{
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));
  backdrop-filter:blur(16px) saturate(140%);
  -webkit-backdrop-filter:blur(16px) saturate(140%);
  border:1px solid rgba(255,255,255,.08);
}
body:not(.admin-body) .header-inner{padding:.7rem 1rem;display:flex;align-items:center;justify-content:space-between}
body:not(.admin-body) .brand{display:flex;align-items:center;gap:.6rem;text-decoration:none;color:inherit}
body:not(.admin-body) .brand-logo{
  width:40px;height:40px;border-radius:14px;
  background:var(--v2-accent-grad);
  display:flex;align-items:center;justify-content:center;
  box-shadow:
    6px 6px 12px rgba(0,0,30,.45),
    -4px -4px 10px rgba(255,255,255,.06),
    0 10px 24px -10px rgba(245,158,11,.7);
  overflow:hidden;
}
body:not(.admin-body) .brand-name{
  font-family:'Plus Jakarta Sans';font-weight:800;font-size:1.05rem;line-height:1;
  color:#e8edff;
}
body:not(.admin-body) .brand-name .gold{
  background:var(--v2-accent-grad);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  font-weight:800;
}
body:not(.admin-body) .brand-tag{
  font-size:.6rem;color:#8b95b8;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;
}
body:not(.admin-body) .header-right{display:flex;align-items:center;gap:.5rem}
body:not(.admin-body) .header-link{
  color:#8b95b8;
  display:flex;padding:.5rem;border-radius:12px;
  background:#161e36;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:
    inset 2px 2px 5px rgba(0,0,30,.35),
    inset -2px -2px 5px rgba(255,255,255,.04);
  transition:all .2s;
}
body:not(.admin-body) .header-link:hover{
  color:#fbbf24;
  box-shadow:
    4px 4px 8px rgba(0,0,30,.35),
    -4px -4px 8px rgba(255,255,255,.04);
}

/* ------------------------------------------------------------
   4. Avatar & profil
   ------------------------------------------------------------ */
body:not(.admin-body) .avatar{
  display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:14px;
  background:var(--v2-primary-grad);
  color:#fff;font-weight:800;font-size:.85rem;text-decoration:none;
  box-shadow:
    4px 4px 10px rgba(0,0,30,.45),
    -3px -3px 8px rgba(255,255,255,.05),
    0 6px 16px -8px rgba(99,102,241,.55);
}
body:not(.admin-body) .avatar-admin{
  background:var(--v2-accent-grad);
  color:#1a1206;
}

/* ------------------------------------------------------------
   5. Cards & surfaces — neumorphic (couleurs originales)
   ------------------------------------------------------------ */
body:not(.admin-body) .app-main{padding:1rem}

body:not(.admin-body) .card{
  background:#161e36;
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  padding:1.25rem;
  box-shadow:
    8px 8px 18px rgba(0,0,30,.55),
    -6px -6px 16px rgba(255,255,255,.04);
}
body:not(.admin-body) .card-solid{
  background:#161e36;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;padding:1rem;
  box-shadow:
    6px 6px 14px rgba(0,0,30,.5),
    -5px -5px 12px rgba(255,255,255,.035);
}
body:not(.admin-body) .stat-tile{position:relative;overflow:hidden}
body:not(.admin-body) .stat-tile::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(420px 220px at 100% 0%,rgba(99,102,241,.22),transparent 60%);
  pointer-events:none;
}

/* ------------------------------------------------------------
   6. Buttons — primary indigo, gold accent, neumorphic ghost
   ------------------------------------------------------------ */
body:not(.admin-body) .btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-weight:700;border-radius:14px;padding:.85rem 1.1rem;
  transition:transform .15s,filter .15s,box-shadow .15s;
  cursor:pointer;border:none;color:#fff;text-decoration:none;
  font-size:.95rem;font-family:inherit;
  letter-spacing:.01em;
}
body:not(.admin-body) .btn:active{transform:translateY(1px) scale(.99)}
body:not(.admin-body) .btn-sm{padding:.55rem .9rem;font-size:.8rem;border-radius:11px}

body:not(.admin-body) .btn-primary{
  background:var(--v2-primary-grad);color:#fff;
  box-shadow:
    4px 4px 10px rgba(0,0,30,.55),
    -3px -3px 8px rgba(255,255,255,.05),
    0 8px 22px -8px rgba(99,102,241,.7);
}
body:not(.admin-body) .btn-gold{
  background:var(--v2-accent-grad);color:#1a1206;
  box-shadow:
    4px 4px 10px rgba(0,0,30,.55),
    -3px -3px 8px rgba(255,255,255,.05),
    0 8px 22px -8px rgba(245,158,11,.7);
}
body:not(.admin-body) .btn-ghost{
  background:#161e36;color:#e8edff;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:
    inset 2px 2px 5px rgba(0,0,30,.35),
    inset -2px -2px 5px rgba(255,255,255,.04);
}
body:not(.admin-body) .btn-ghost:hover{
  color:#fbbf24;
  box-shadow:
    4px 4px 8px rgba(0,0,30,.4),
    -4px -4px 8px rgba(255,255,255,.04);
}
body:not(.admin-body) .btn-success{
  background:linear-gradient(135deg,#10b981 0%,#34d399 100%);color:#04130d;
  box-shadow:0 8px 22px -8px rgba(16,185,129,.55);
}
body:not(.admin-body) .btn-danger{
  background:linear-gradient(135deg,#ef4444 0%,#f87171 100%);color:#fff;
  box-shadow:0 8px 22px -8px rgba(239,68,68,.55);
}
body:not(.admin-body) .btn-block{display:flex;width:100%}
body:not(.admin-body) .btn:disabled{opacity:.5;cursor:not-allowed}

/* ------------------------------------------------------------
   7. Forms — inset neumorphic inputs (surfaces originales)
   ------------------------------------------------------------ */
body:not(.admin-body) .input,
body:not(.admin-body) .select,
body:not(.admin-body) .textarea{
  width:100%;
  background:#0f172a;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  padding:.8rem .9rem;
  color:#e8edff;font-weight:600;font-size:.95rem;font-family:inherit;outline:none;
  box-shadow:
    inset 3px 3px 6px rgba(0,0,30,.4),
    inset -2px -2px 5px rgba(255,255,255,.03);
  transition:box-shadow .2s,border-color .2s;
}
body:not(.admin-body) .input::placeholder,
body:not(.admin-body) .textarea::placeholder{
  color:rgba(139,149,184,.55);font-weight:500;
}
body:not(.admin-body) .input:focus,
body:not(.admin-body) .select:focus,
body:not(.admin-body) .textarea:focus{
  border-color:rgba(99,102,241,.55);
  box-shadow:
    inset 3px 3px 6px rgba(0,0,30,.4),
    inset -2px -2px 5px rgba(255,255,255,.03),
    0 0 0 3px rgba(99,102,241,.22);
}
body:not(.admin-body) .label{
  display:block;font-size:.72rem;color:#8b95b8;font-weight:700;
  letter-spacing:.04em;text-transform:uppercase;margin-bottom:.4rem;
}
body:not(.admin-body) .form-group{margin-bottom:1rem}
body:not(.admin-body) .field-row{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}

/* ------------------------------------------------------------
   8. Chips, dots, badges
   ------------------------------------------------------------ */
body:not(.admin-body) .chip{
  display:inline-flex;align-items:center;gap:.35rem;
  padding:.3rem .65rem;border-radius:999px;
  font-size:.72rem;font-weight:700;
  background:#1d2747;color:#e8edff;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:
    inset 2px 2px 4px rgba(0,0,30,.3),
    inset -1px -1px 3px rgba(255,255,255,.04);
}
body:not(.admin-body) .dot{width:8px;height:8px;border-radius:50%;display:inline-block}
body:not(.admin-body) .dot-green{background:#10b981;box-shadow:0 0 6px rgba(16,185,129,.6)}

/* ------------------------------------------------------------
   9. Progress bars — indigo→violet→gold (gradient original)
   ------------------------------------------------------------ */
body:not(.admin-body) .progress-track{
  height:10px;background:#0f172a;border-radius:999px;overflow:hidden;
  box-shadow:
    inset 2px 2px 4px rgba(0,0,30,.4),
    inset -1px -1px 2px rgba(255,255,255,.03);
}
body:not(.admin-body) .progress-fill{
  height:100%;border-radius:999px;
  background:linear-gradient(90deg,#6366f1 0%,#a855f7 40%,#fbbf24 100%);
  box-shadow:0 0 12px rgba(139,92,246,.5);
  transition:width .6s cubic-bezier(.2,.8,.2,1);
}

/* ------------------------------------------------------------
   10. Flash messages — recolored (palette originale)
   ------------------------------------------------------------ */
body:not(.admin-body) .flash{
  display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;
  gap:.8rem;padding:.85rem 1rem;border-radius:14px;
  margin-bottom:.85rem;font-weight:600;font-size:.9rem;
  border:1px solid rgba(255,255,255,.08);
  background:#161e36;
  box-shadow:
    inset 2px 2px 5px rgba(0,0,30,.35),
    inset -2px -2px 5px rgba(255,255,255,.03);
}
body:not(.admin-body) .flash>span{flex:1 1 auto;min-width:0;line-height:1.5;overflow-wrap:anywhere;word-break:break-word}
body:not(.admin-body) .flash-info{background:rgba(59,130,246,.10);border-color:rgba(59,130,246,.3);color:#bfdbfe}
body:not(.admin-body) .flash-success{background:rgba(16,185,129,.10);border-color:rgba(16,185,129,.3);color:#a7f3d0}
body:not(.admin-body) .flash-warning{background:rgba(245,158,11,.10);border-color:rgba(245,158,11,.3);color:#fde68a}
body:not(.admin-body) .flash-error{background:rgba(239,68,68,.10);border-color:rgba(239,68,68,.3);color:#fecaca}
body:not(.admin-body) .flash-close{
  flex:0 0 auto;width:28px;height:28px;min-width:28px;
  display:flex;align-items:center;justify-content:center;
  background:none;border:none;color:inherit;font-size:1.2rem;line-height:1;
  cursor:pointer;opacity:.7;padding:0;border-radius:8px;
}
body:not(.admin-body) .flash-close:hover{opacity:1}

/* ------------------------------------------------------------
   11. Toasts
   ------------------------------------------------------------ */
body:not(.admin-body) .toast-wrap{
  position:fixed;bottom:5.25rem;left:50%;transform:translateX(-50%);
  z-index:9600;display:flex;flex-direction:column;align-items:center;
  width:max-content;max-width:calc(100vw - 1.5rem);pointer-events:none;
}
body:not(.admin-body) .toast-wrap>div{max-width:100%;min-width:0}
body:not(.admin-body) .toast-wrap>div>div:last-child{min-width:0}

/* ------------------------------------------------------------
   12. Bottom navigation — neumorphic dock (palette originale)
   ------------------------------------------------------------ */
body:not(.admin-body) .bottom-nav{
  position:fixed;bottom:0;left:50%;transform:translateX(-50%);
  width:100%;max-width:520px;z-index:40;
  background:linear-gradient(180deg,rgba(15,23,42,.92),rgba(11,16,32,.95));
  backdrop-filter:blur(18px) saturate(140%);
  -webkit-backdrop-filter:blur(18px) saturate(140%);
  border-top:1px solid rgba(255,255,255,.08);
  box-shadow:0 -8px 28px -8px rgba(0,0,30,.55);
  display:flex;align-items:stretch;padding:.5rem;gap:.25rem;
}
body:not(.admin-body) .nav-item{
  display:flex;flex-direction:column;align-items:center;gap:2px;
  font-size:.66rem;font-weight:700;color:#8b95b8;
  padding:.4rem .5rem;border-radius:14px;
  flex:1;transition:color .25s,background-color .25s,box-shadow .25s;
  text-decoration:none;letter-spacing:.02em;
  -webkit-tap-highlight-color:transparent;
}
body:not(.admin-body) .nav-item:hover{color:#c7d0ee}
body:not(.admin-body) .nav-item.active{color:#fbbf24}
body:not(.admin-body) .nav-item.active .nav-ico{
  background:linear-gradient(135deg,rgba(245,158,11,.25),rgba(139,92,246,.25));
  color:#fbbf24;
  border-color:rgba(245,158,11,.3);
  box-shadow:
    inset 2px 2px 5px rgba(0,0,30,.35),
    inset -2px -2px 5px rgba(255,255,255,.06),
    0 8px 20px -8px rgba(245,158,11,.5),
    inset 0 1px 0 rgba(255,255,255,.1);
}
body:not(.admin-body) .nav-ico{
  width:36px;height:36px;display:flex;align-items:center;justify-content:center;
  border-radius:12px;background:#161e36;
  transition:all .25s cubic-bezier(.2,.8,.2,1);color:inherit;
  border:1px solid rgba(255,255,255,.04);
  box-shadow:
    inset 2px 2px 4px rgba(0,0,30,.3),
    inset -1px -1px 3px rgba(255,255,255,.03);
}
body:not(.admin-body) .nav-item svg{transition:transform .25s cubic-bezier(.2,.8,.2,1)}
body:not(.admin-body) .nav-item:hover svg{transform:translateY(-1px)}
body:not(.admin-body) .nav-item:active svg{transform:scale(.92)}
body:not(.admin-body) .nav-item.active svg{transform:translateY(-1px) scale(1.06)}

/* ------------------------------------------------------------
   13. Page title
   ------------------------------------------------------------ */
body:not(.admin-body) .page-title{
  font-family:'Plus Jakarta Sans';font-weight:800;font-size:1.5rem;
  margin:0 0 .25rem;color:#e8edff;letter-spacing:-.01em;
}
body:not(.admin-body) .page-subtitle{color:#8b95b8;font-size:.85rem;margin:0 0 1rem}

/* ------------------------------------------------------------
   14. Stats grid
   ------------------------------------------------------------ */
body:not(.admin-body) .stat-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-bottom:.85rem;
}
body:not(.admin-body) .stat-card{
  background:#161e36;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;padding:.9rem;
  box-shadow:
    6px 6px 14px rgba(0,0,30,.5),
    -5px -5px 12px rgba(255,255,255,.035);
  position:relative;overflow:hidden;
}
body:not(.admin-body) .stat-card-label{
  font-size:.7rem;color:#8b95b8;font-weight:700;
  text-transform:uppercase;letter-spacing:.04em;
  margin-bottom:.3rem;display:flex;align-items:center;gap:.35rem;
}
body:not(.admin-body) .stat-card-value{
  font-family:'Plus Jakarta Sans';font-weight:800;font-size:1.1rem;color:#e8edff;
}
body:not(.admin-body) .stat-card-value.gold{
  background:linear-gradient(135deg,#fbbf24 0%,#fcd34d 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
body:not(.admin-body) .stat-card-value.primary{
  background:linear-gradient(135deg,#a5b4fc 0%,#c4b5fd 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
body:not(.admin-body) .stat-card-value.green{color:#10b981}

/* ------------------------------------------------------------
   15. Text gradients (palette originale)
   ------------------------------------------------------------ */
body:not(.admin-body) .text-grad-gold{
  background:linear-gradient(135deg,#fbbf24 0%,#fcd34d 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
body:not(.admin-body) .text-grad-primary{
  background:linear-gradient(135deg,#a5b4fc 0%,#c4b5fd 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
body:not(.admin-body) .gold{
  background:linear-gradient(135deg,#fbbf24 0%,#fcd34d 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  font-weight:800;
}

/* ------------------------------------------------------------
   16. Game grid & cards — indigo/violet neumorphic
   ------------------------------------------------------------ */
body:not(.admin-body) .game-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
body:not(.admin-body) .game-card{
  background:#161e36;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;padding:1rem;
  position:relative;transition:all .2s;overflow:hidden;
  box-shadow:
    6px 6px 14px rgba(0,0,30,.5),
    -5px -5px 12px rgba(255,255,255,.035);
}
body:not(.admin-body) .game-card::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(400px 200px at 0% 0%,rgba(139,92,246,.16),transparent 60%);
  opacity:0;transition:opacity .25s;pointer-events:none;
}
body:not(.admin-body) .game-card:hover{
  border-color:rgba(99,102,241,.55);
  transform:translateY(-2px);
  box-shadow:
    8px 8px 20px rgba(0,0,30,.55),
    -6px -6px 16px rgba(255,255,255,.045),
    0 12px 28px -10px rgba(139,92,246,.5);
}
body:not(.admin-body) .game-card:hover::before{opacity:1}
body:not(.admin-body) .game-icon-box{
  width:44px;height:44px;border-radius:14px;
  /* v2.5/v2.6 — cadre entièrement transparent : on retire le dégradé
     indigo/violet ET toutes les ombres (remplissage, lueur, bordure
     interne). Seul le logo du jeu reste visible, parfaitement centré
     et adapté au cadre. Les propriétés de structure (taille, radius,
     overflow, flex) sont conservées pour que le <img> reste bien
     contenu dans le cadre arrondi.
     v2.6 — overflow:hidden conservé pour bords nets ; l'image est à
     105% (plus 118%) pour garantir AUCUNE coupure en bas du logo. */
  background:transparent;
  display:flex;align-items:center;justify-content:center;margin-bottom:.7rem;
  overflow:hidden;
  position:relative;
  box-shadow:none;
  color:#fff;
}
/* v2.6 — Le <img> du logo de jeu : centrage parfait + rendu net,
   sur fond transparent (aucune couleur de remplissage). */
body:not(.admin-body) .game-icon-box > img{
  margin:auto;
}
body:not(.admin-body) .game-name{
  font-family:'Space Grotesk','Plus Jakarta Sans';font-weight:700;font-size:1rem;
  margin-bottom:.25rem;letter-spacing:-.01em;color:#e8edff;
}
body:not(.admin-body) .game-meta{font-size:.7rem;color:#8b95b8;margin-bottom:.75rem}
body:not(.admin-body) .game-badge{
  position:absolute;top:.6rem;right:.6rem;
  font-size:.65rem;font-weight:700;padding:.25rem .55rem;border-radius:999px;
  background:rgba(255,184,0,.15);color:#fbbf24;
  border:1px solid rgba(255,184,0,.3);
}
body:not(.admin-body) .game-badge.cooldown{
  background:rgba(255,77,109,.15);color:#ffb3c0;
  border-color:rgba(255,77,109,.3);
}

/* ------------------------------------------------------------
   17. Plan cards
   ------------------------------------------------------------ */
body:not(.admin-body) .plan-card{
  position:relative;overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:#161e36;
  padding:1.25rem;margin-bottom:.85rem;
  box-shadow:
    8px 8px 18px rgba(0,0,30,.55),
    -6px -6px 16px rgba(255,255,255,.04);
}
body:not(.admin-body) .plan-card.current{
  border-color:rgba(245,158,11,.65);
  box-shadow:
    8px 8px 18px rgba(0,0,30,.55),
    -6px -6px 16px rgba(255,255,255,.04),
    0 0 0 1px rgba(245,158,11,.65),
    0 20px 40px -20px rgba(245,158,11,.5);
}
body:not(.admin-body) .plan-card-name{
  font-family:'Plus Jakarta Sans';font-weight:800;font-size:1.1rem;color:#e8edff;
}
body:not(.admin-body) .plan-card-price{
  font-family:'Plus Jakarta Sans';font-weight:800;font-size:1.5rem;
  text-align:right;
  background:linear-gradient(135deg,#fbbf24 0%,#fcd34d 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
body:not(.admin-body) .plan-features{list-style:none;padding:0;margin:1rem 0 0;font-size:.8rem}
body:not(.admin-body) .plan-features li{
  padding:.25rem 0;display:flex;align-items:center;gap:.5rem;color:#e8edff;
}
body:not(.admin-body) .plan-features .check{color:#10b981}
body:not(.admin-body) .badge-pro{
  position:absolute;top:1rem;right:1rem;
  background:var(--v2-accent-grad);
  color:#1a1206;
  font-size:.66rem;font-weight:800;
  padding:.3rem .6rem;border-radius:999px;letter-spacing:.05em;
  box-shadow:0 6px 16px -6px rgba(245,158,11,.55);
}

/* ------------------------------------------------------------
   18. Status pills — palette originale
   ------------------------------------------------------------ */
body:not(.admin-body) .status{
  display:inline-flex;align-items:center;gap:.3rem;
  padding:.2rem .55rem;border-radius:999px;
  font-size:.7rem;font-weight:700;
  border:1px solid transparent;
}
body:not(.admin-body) .status-pending{
  background:rgba(245,158,11,.15);color:#fde68a;
  border-color:rgba(245,158,11,.3);
}
body:not(.admin-body) .status-confirmed,
body:not(.admin-body) .status-approved,
body:not(.admin-body) .status-paid,
body:not(.admin-body) .status-active{
  background:rgba(16,185,129,.15);color:#6ee7b7;
  border-color:rgba(16,185,129,.3);
}
body:not(.admin-body) .status-rejected,
body:not(.admin-body) .status-banned,
body:not(.admin-body) .status-suspended,
body:not(.admin-body) .status-disabled{
  background:rgba(239,68,68,.15);color:#fca5a5;
  border-color:rgba(239,68,68,.3);
}
body:not(.admin-body) .status-restricted{
  background:rgba(59,130,246,.15);color:#93c5fd;
  border-color:rgba(59,130,246,.3);
}
body:not(.admin-body) .status-cancelled{
  background:rgba(100,116,139,.2);color:#cbd5e1;
  border-color:rgba(100,116,139,.3);
}

/* ------------------------------------------------------------
   19. Modal — bottom sheet recolored (indigo→gold handle)
   ------------------------------------------------------------ */
body:not(.admin-body) .modal-back{
  position:fixed;inset:0;
  background:rgba(11,16,32,.55);
  backdrop-filter:blur(10px) saturate(140%);
  -webkit-backdrop-filter:blur(10px) saturate(140%);
  z-index:9000;display:none;
  align-items:flex-end;justify-content:center;
  padding:0 .75rem .75rem;
}
body:not(.admin-body) .modal-back.show{display:flex;animation:pg-v21-fade-in .25s ease}
@keyframes pg-v21-fade-in{from{opacity:0}to{opacity:1}}

body:not(.admin-body) .modal{
  background:linear-gradient(180deg,#161e36 0%,#0f172a 100%);
  border:1px solid rgba(139,92,246,.3);
  border-radius:24px 24px 0 0;
  width:100%;max-width:480px;
  height:auto;
  min-height:auto;
  max-height:78vh;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:1.1rem 1.1rem 1.4rem;
  animation:pg-v21-slide-up .4s cubic-bezier(.2,.8,.2,1);
  box-shadow:
    0 -12px 60px -8px rgba(139,92,246,.22),
    0 -1px 0 0 rgba(139,92,246,.1) inset,
    0 -1px 0 0 rgba(255,255,255,.05) inset,
    0 20px 50px -20px rgba(0,0,0,.7);
  position:relative;
  margin:0 auto;
  scrollbar-width:thin;
  scrollbar-color:rgba(139,92,246,.3) transparent;
}
body:not(.admin-body) .modal::-webkit-scrollbar{width:6px}
body:not(.admin-body) .modal::-webkit-scrollbar-track{background:transparent}
body:not(.admin-body) .modal::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,rgba(139,92,246,.45),rgba(245,158,11,.35));
  border-radius:3px;
}
body:not(.admin-body) .modal::before{
  content:'';position:absolute;top:8px;left:50%;transform:translateX(-50%);
  width:42px;height:4px;border-radius:2px;
  background:linear-gradient(90deg,transparent,rgba(139,92,246,.7),rgba(245,158,11,.55),transparent);
  pointer-events:none;z-index:1;
}
@keyframes pg-v21-slide-up{from{transform:translateY(100%);opacity:.6}to{transform:translateY(0);opacity:1}}

/* ------------------------------------------------------------
   20. Operator buttons (active state in indigo)
   ------------------------------------------------------------ */
body:not(.admin-body) .op-btn{
  padding:.7rem;border-radius:12px;
  background:#0f172a;
  border:1px solid rgba(255,255,255,.08);
  font-weight:700;font-size:.8rem;color:#e8edff;cursor:pointer;
  transition:all .2s;
  box-shadow:
    inset 2px 2px 5px rgba(0,0,30,.35),
    inset -2px -2px 5px rgba(255,255,255,.03);
}
body:not(.admin-body) .op-btn.active{
  background:var(--v2-primary-grad);
  border-color:transparent;color:#fff;
  box-shadow:
    4px 4px 10px rgba(0,0,30,.55),
    -3px -3px 8px rgba(255,255,255,.05),
    0 6px 16px -6px rgba(99,102,241,.55);
}

/* ------------------------------------------------------------
   21. Divider, empty state
   ------------------------------------------------------------ */
body:not(.admin-body) .divider{
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent);
  margin:.5rem 0;
}
body:not(.admin-body) .empty{text-align:center;padding:2rem 1rem;color:#8b95b8}
body:not(.admin-body) .empty-icon{
  width:56px;height:56px;margin:0 auto .75rem;border-radius:50%;
  background:#161e36;
  display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:
    inset 2px 2px 5px rgba(0,0,30,.35),
    inset -2px -2px 5px rgba(255,255,255,.03);
}

/* ------------------------------------------------------------
   22. Hero (landing page)
   ------------------------------------------------------------ */
body:not(.admin-body) .hero{padding:1.5rem 0;text-align:center}
body:not(.admin-body) .hero h1{
  font-family:'Plus Jakarta Sans';font-weight:800;font-size:2rem;
  margin:0 0 .5rem;color:#e8edff;letter-spacing:-.02em;
}
body:not(.admin-body) .hero p{
  color:#8b95b8;font-size:.95rem;max-width:480px;margin:0 auto 1.5rem;
  line-height:1.6;
}
body:not(.admin-body) .pulse-gold{
  animation:pg-v21-pulse 1.8s infinite;
}
@keyframes pg-v21-pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(251,191,36,.5),4px 4px 10px rgba(0,0,30,.55),-3px -3px 8px rgba(255,255,255,.05)}
  50%{box-shadow:0 0 0 14px rgba(251,191,36,0),4px 4px 10px rgba(0,0,30,.55),-3px -3px 8px rgba(255,255,255,.05)}
}

/* ------------------------------------------------------------
   23. Tabs
   ------------------------------------------------------------ */
body:not(.admin-body) .tabs{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.5rem;margin-bottom:1rem}
body:not(.admin-body) .tab-btn{
  padding:.55rem 1rem;border-radius:999px;
  font-weight:700;font-size:.82rem;color:#8b95b8;
  background:#161e36;border:1px solid rgba(255,255,255,.08);
  cursor:pointer;white-space:nowrap;
  box-shadow:
    inset 2px 2px 5px rgba(0,0,30,.3),
    inset -2px -2px 5px rgba(255,255,255,.03);
}
body:not(.admin-body) .tab-btn.active{
  background:var(--v2-primary-grad);
  color:#fff;border-color:transparent;
  box-shadow:
    4px 4px 10px rgba(0,0,30,.55),
    -3px -3px 8px rgba(255,255,255,.05),
    0 6px 16px -6px rgba(99,102,241,.55);
}

/* ------------------------------------------------------------
   24. Switch (toggle)
   ------------------------------------------------------------ */
body:not(.admin-body) .switch{
  position:relative;width:44px;height:24px;
  background:#0f172a;border-radius:999px;cursor:pointer;
  transition:background .2s;display:inline-block;flex-shrink:0;
  box-shadow:
    inset 2px 2px 4px rgba(0,0,30,.4),
    inset -1px -1px 3px rgba(255,255,255,.03);
}
body:not(.admin-body) .switch.on{
  background:linear-gradient(135deg,#10b981,#34d399);
  box-shadow:0 0 10px rgba(16,185,129,.45);
}
body:not(.admin-body) .switch::after{
  content:'';position:absolute;top:2px;left:2px;
  width:20px;height:20px;border-radius:50%;background:#fff;
  transition:transform .2s;
  box-shadow:0 2px 4px rgba(0,0,30,.4);
}
body:not(.admin-body) .switch.on::after{transform:translateX(20px)}

/* ------------------------------------------------------------
   25. Tables (used in some user-facing pages, e.g. history)
   ------------------------------------------------------------ */
body:not(.admin-body) .table{
  width:100%;border-collapse:collapse;
  background:#161e36;
  border-radius:14px;overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:
    6px 6px 14px rgba(0,0,30,.5),
    -5px -5px 12px rgba(255,255,255,.035);
}
body:not(.admin-body) .table th,
body:not(.admin-body) .table td{
  padding:.7rem .8rem;text-align:left;font-size:.85rem;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:#e8edff;
}
body:not(.admin-body) .table th{
  background:rgba(255,255,255,.04);
  font-weight:700;font-size:.7rem;text-transform:uppercase;
  letter-spacing:.05em;color:#8b95b8;
}
body:not(.admin-body) .table tr:last-child td{border-bottom:none}
body:not(.admin-body) .table tr:hover td{background:rgba(99,102,241,.05)}

/* ------------------------------------------------------------
   26. Confetti color set (used by games.js)
   ------------------------------------------------------------ */
body:not(.admin-body) .confetti{
  position:fixed;width:8px;height:14px;top:-20px;z-index:9500;pointer-events:none;
}

/* ------------------------------------------------------------
   27. Utility classes — keep parity with style.css
   ------------------------------------------------------------ */
body:not(.admin-body) .text-mono{font-family:'Manrope',monospace;font-variant-numeric:tabular-nums}
body:not(.admin-body) .text-center{text-align:center}
body:not(.admin-body) .text-right{text-align:right}
body:not(.admin-body) .text-muted{color:#8b95b8 !important}
body:not(.admin-body) .text-sm{font-size:.85rem}
body:not(.admin-body) .text-xs{font-size:.75rem}
body:not(.admin-body) .text-lg{font-size:1.1rem}
body:not(.admin-body) .font-bold{font-weight:700}
body:not(.admin-body) .font-extrabold{font-weight:800}
body:not(.admin-body) .font-display{font-family:'Plus Jakarta Sans',sans-serif}
body:not(.admin-body) .mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}
body:not(.admin-body) .mb-0{margin-bottom:0}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}
body:not(.admin-body) .flex{display:flex}
body:not(.admin-body) .flex-between{display:flex;justify-content:space-between;align-items:center}
body:not(.admin-body) .flex-col{flex-direction:column}
body:not(.admin-body) .gap-1{gap:.5rem}.gap-2{gap:1rem}
body:not(.admin-body) .hidden{display:none}
body:not(.admin-body) .w-full{width:100%}

/* ------------------------------------------------------------
   28. Sélecteurs de fond personnalisés inline
      En v2.1 on conserve les couleurs d'origine, mais on ajoute
      le relief néomorphique (box-shadow) aux éléments qui
      n'en avaient pas.
   ------------------------------------------------------------ */

/* Brand-logo (jeu "1", "2", "3", "4" sur l'index, ou avatars) */
body:not(.admin-body) .brand-logo[style*="linear-gradient"],
body:not(.admin-body) .brand-logo[style*="background:#f59e0b"],
body:not(.admin-body) .brand-logo[style*="background:#fbbf24"]{
  background:var(--v2-accent-grad) !important;
  color:#1a1206 !important;
  box-shadow:
    4px 4px 10px rgba(0,0,30,.55),
    -3px -3px 8px rgba(255,255,255,.05),
    0 6px 16px -6px rgba(245,158,11,.6) !important;
}

/* Boutons inline : on garde les dégradés originaux (or/indigo)
   mais on ajoute le relief néomorphique */
body:not(.admin-body) .btn[style*="linear-gradient(135deg,#6366f1"],
body:not(.admin-body) .btn[style*="linear-gradient(135deg,#8b5cf6"]{
  background:var(--v2-primary-grad) !important;
  color:#fff !important;
  box-shadow:
    4px 4px 10px rgba(0,0,30,.55),
    -3px -3px 8px rgba(255,255,255,.05),
    0 8px 22px -8px rgba(99,102,241,.7) !important;
}
body:not(.admin-body) .btn[style*="linear-gradient(135deg,#f59e0b"],
body:not(.admin-body) .btn[style*="linear-gradient(135deg,#fbbf24"]{
  background:var(--v2-accent-grad) !important;
  color:#1a1206 !important;
  box-shadow:
    4px 4px 10px rgba(0,0,30,.55),
    -3px -3px 8px rgba(255,255,255,.05),
    0 8px 22px -8px rgba(245,158,11,.7) !important;
}

/* Surfaces inline avec un fond ancien violet-sombre */
body:not(.admin-body) [style*="background:#161e36"],
body:not(.admin-body) [style*="background:#1d2747"]{
  background:#161e36 !important;
  border-color:rgba(255,255,255,.08) !important;
  box-shadow:
    6px 6px 14px rgba(0,0,30,.5),
    -5px -5px 12px rgba(255,255,255,.035);
}
body:not(.admin-body) [style*="background:rgba(255,255,255,.04)"]{
  background:#161e36 !important;
  border-color:rgba(255,255,255,.08) !important;
}

/* Liens textuels dorés — on garde l'or original */
body:not(.admin-body) a[style*="color:#fbbf24"],
body:not(.admin-body) a[style*="color:#fcd34d"],
body:not(.admin-body) a[style*="color:#f59e0b"]{
  color:#fbbf24 !important;
}
body:not(.admin-body) [style*="color:#fbbf24"]:not(.btn):not(a),
body:not(.admin-body) [style*="color:#fcd34d"]:not(.btn):not(a),
body:not(.admin-body) [style*="color:#f59e0b"]:not(.btn):not(a){
  color:#fbbf24 !important;
}

/* Box-shadow violine → ombres néomorphiques */
body:not(.admin-body) [style*="box-shadow"][style*="rgba(99,102,241"],
body:not(.admin-body) [style*="box-shadow"][style*="rgba(139,92,246"],
body:not(.admin-body) [style*="box-shadow"][style*="rgba(245,158,11"]{
  box-shadow:
    6px 6px 14px rgba(0,0,30,.5),
    -5px -5px 12px rgba(255,255,255,.035) !important;
}

/* ------------------------------------------------------------
   28b. Overrides ciblés : gradients inline sur DIVs et cercles
        En v2.1 on conserve les gradients originaux mais on
        ajoute le relief néomorphique.
   ------------------------------------------------------------ */

/* Cercles décoratifs en gradient (activation.php, games.php, etc.) */
body:not(.admin-body) div[style*="linear-gradient(135deg,#f59e0b,#fbbf24)"],
body:not(.admin-body) div[style*="linear-gradient(135deg,#fbbf24,#fcd34d)"],
body:not(.admin-body) div[style*="linear-gradient(135deg,#fbbf24,#f59e0b)"]{
  background:var(--v2-accent-grad) !important;
  color:#1a1206 !important;
  box-shadow:
    4px 4px 10px rgba(0,0,30,.55),
    -3px -3px 8px rgba(255,255,255,.05),
    0 6px 16px -6px rgba(245,158,11,.55) !important;
}
body:not(.admin-body) div[style*="linear-gradient(135deg,#6366f1,#8b5cf6)"],
body:not(.admin-body) div[style*="linear-gradient(135deg,#8b5cf6,#a855f7)"],
body:not(.admin-body) div[style*="linear-gradient(135deg,#a855f7,#8b5cf6)"],
body:not(.admin-body) div[style*="linear-gradient(135deg,#8b5cf6,#6366f1)"]{
  background:var(--v2-primary-grad) !important;
  color:#fff !important;
  box-shadow:
    4px 4px 10px rgba(0,0,30,.55),
    -3px -3px 8px rgba(255,255,255,.05),
    0 6px 16px -6px rgba(99,102,241,.55) !important;
}

/* Badges "AUTO" / "VIP" en gradient or — conservés (palette originale) */
body:not(.admin-body) [style*="background:linear-gradient(135deg,#f59e0b,#fbbf24)"][style*="color:#1a1206"]{
  background:var(--v2-accent-grad) !important;
  color:#1a1206 !important;
  box-shadow:
    4px 4px 10px rgba(0,0,30,.55),
    -3px -3px 8px rgba(255,255,255,.05),
    0 6px 16px -6px rgba(245,158,11,.55) !important;
}

/* Aperçus / titres en gradient text (finance.php preview, etc.)
   → On conserve les dégradés originaux (or/indigo) */
body:not(.admin-body) [style*="background:linear-gradient(135deg,#fbbf24,#fcd34d)"][style*="-webkit-background-clip:text"]{
  background:linear-gradient(135deg,#fbbf24,#fcd34d) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
}
body:not(.admin-body) [style*="background:linear-gradient(135deg,#6366f1,#8b5cf6)"][style*="-webkit-background-clip:text"],
body:not(.admin-body) [style*="background:linear-gradient(135deg,#8b5cf6,#a855f7)"][style*="-webkit-background-clip:text"]{
  background:var(--v2-primary-grad) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
}

/* ------------------------------------------------------------
   28c. Overrides pour classes CSS spécifiques aux pages utilisateur
        (ces classes sont définies dans des blocs <style> inline des
         fichiers PHP : deposit.php, withdrawal.php, referral.php,
         finance.php, plans.php, etc.)
        En v2.1 on conserve les couleurs d'origine.
   ------------------------------------------------------------ */

/* deposit.php / withdrawal.php — bordures gauches des items en attente
   On conserve les couleurs originales (or pour pending, vert pour confirmé) */
body:not(.admin-body) .dep-item.dep-pending{border-left-color:#f59e0b !important}
body:not(.admin-body) .wd-item.wd-pending{border-left-color:#f59e0b !important}
body:not(.admin-body) .dep-item.dep-confirmed{border-left-color:#10b981 !important}
body:not(.admin-body) .wd-item.wd-paid{border-left-color:#10b981 !important}
body:not(.admin-body) .dep-item.dep-rejected{border-left-color:#ef4444 !important}
body:not(.admin-body) .wd-item.wd-rejected{border-left-color:#ef4444 !important}

/* referral.php — pastilles et chips (couleurs originales conservées) */
body:not(.admin-body) .refstat-icon.ic-gold{
  background:rgba(245,158,11,.12) !important;
  color:#fbbf24 !important;
}
body:not(.admin-body) .sc-gold{--sc1:#f59e0b !important;--sc2:#fbbf24 !important}
body:not(.admin-body) .sc-violet{--sc1:#8b5cf6 !important;--sc2:#a78bfa !important}
body:not(.admin-body) .sp-deposit{
  background:rgba(245,158,11,.12) !important;
  border:1px solid rgba(245,158,11,.32) !important;
  color:#fbbf24 !important;
}
body:not(.admin-body) .rp-1{
  background:rgba(245,158,11,.12) !important;
  color:#fbbf24 !important;
  border-color:rgba(245,158,11,.28) !important;
}
body:not(.admin-body) .lc-1{
  background:rgba(245,158,11,.14) !important;
  color:#fbbf24 !important;
  border-color:rgba(245,158,11,.25) !important;
}
body:not(.admin-body) .av-1{background:linear-gradient(135deg,#f59e0b,#d97706) !important}

/* profile.php — titres violet → on conserve le violet original */
body:not(.admin-body) [style*="color:#8b5cf6"]{color:#8b5cf6 !important}
body:not(.admin-body) [style*="color:#a78bfa"]{color:#a78bfa !important}

/* games.js — confettis couleur thème (indigo→violet→or) */
body:not(.admin-body) .confetti{
  background:linear-gradient(135deg,#6366f1,#a855f7,#fbbf24);
}

/* SVG utilisant les couleurs d'origine — on les conserve telles quelles
   (elles sont déjà conformes à la palette d'origine). */

/* ------------------------------------------------------------
   29. Bouton flottant WhatsApp/Telegram (dashboard.php) — recoloré
        On conserve le dégradé indigo original mais avec relief néomorphique.
   ------------------------------------------------------------ */
body:not(.admin-body) #pgSfBtn{
  background:linear-gradient(135deg,#6366f1,#8b5cf6) !important;
  box-shadow:
    4px 4px 10px rgba(0,0,30,.55),
    -3px -3px 8px rgba(255,255,255,.05),
    0 8px 22px -8px rgba(99,102,241,.65) !important;
}
body:not(.admin-body) #pgSfBtn:hover{
  box-shadow:
    4px 4px 10px rgba(0,0,30,.55),
    -3px -3px 8px rgba(255,255,255,.05),
    0 12px 28px -6px rgba(99,102,241,.8) !important;
}
body:not(.admin-body) #pgSfBtn.pg-sf-active{
  background:linear-gradient(135deg,#8b5cf6,#6366f1) !important;
}
body:not(.admin-body) .pg-sf-ring{
  border-color:rgba(139,140,248,.5) !important;
}
body:not(.admin-body) #pgSfMenu{
  background:rgba(17,22,40,.97) !important;
  border-color:rgba(255,255,255,.1) !important;
  backdrop-filter:blur(16px) saturate(140%);
  -webkit-backdrop-filter:blur(16px) saturate(140%);
}
body:not(.admin-body) .pg-sf-item:hover{
  background:rgba(99,102,241,.12) !important;
}

/* ------------------------------------------------------------
   30. Scrollbar (webkit) — teinte indigo/violet
   ------------------------------------------------------------ */
body:not(.admin-body)::-webkit-scrollbar{width:8px;height:8px}
body:not(.admin-body)::-webkit-scrollbar-track{background:transparent}
body:not(.admin-body)::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,rgba(99,102,241,.45),rgba(245,158,11,.35));
  border-radius:4px;
}
body:not(.admin-body) *{
  scrollbar-width:thin;
  scrollbar-color:rgba(99,102,241,.4) transparent;
}

/* ------------------------------------------------------------
   31. Liens génériques (couleur d'accent or, comme dans le projet original)
   ------------------------------------------------------------ */
body:not(.admin-body) a{color:#fbbf24;text-decoration:none;transition:color .2s}
body:not(.admin-body) a:hover{color:#fcd34d}
body:not(.admin-body) .brand:hover, body:not(.admin-body) .nav-item:hover, body:not(.admin-body) .btn:hover{
  text-decoration:none;
}

/* ------------------------------------------------------------
   32. Selection & focus
   ------------------------------------------------------------ */
body:not(.admin-body) ::selection{
  background:rgba(99,102,241,.35);
  color:#fff;
}
body:not(.admin-body) :focus-visible{
  outline:2px solid rgba(99,102,241,.55);
  outline-offset:2px;
}

/* ------------------------------------------------------------
   33. Mobile responsive — adjustments
   ------------------------------------------------------------ */
@media(max-width:768px){
  body:not(.admin-body) .modal-back{align-items:flex-end;padding:0 .5rem .5rem}
  body:not(.admin-body) .modal{
    max-width:100%;width:100%;
    border-radius:20px 20px 0 0;
    max-height:75vh;min-height:auto;
    padding:1.1rem 1rem 1.3rem;
  }
  body:not(.admin-body) .flash{flex-wrap:nowrap;font-size:.82rem;padding:.65rem .85rem;gap:.6rem}
  body:not(.admin-body) .flash-close{width:26px;height:26px;min-width:26px;font-size:1.1rem}
  body:not(.admin-body) .tabs{gap:.4rem}
  body:not(.admin-body) .tab-btn{padding:.45rem .75rem;font-size:.78rem}
  body:not(.admin-body) .status{font-size:.7rem;padding:.15rem .4rem}
  body:not(.admin-body) .avatar{width:32px;height:32px;font-size:.75rem;border-radius:12px}
  body:not(.admin-body) .input,
  body:not(.admin-body) .select,
  body:not(.admin-body) .textarea{min-height:44px;font-size:16px;padding:.7rem .8rem}
  body:not(.admin-body) .btn{min-height:44px;font-size:.88rem;padding:.6rem 1rem}
  body:not(.admin-body) .btn-sm{min-height:38px;font-size:.8rem;padding:.4rem .7rem}
}
@media(max-width:480px){
  body:not(.admin-body) .avatar{width:30px;height:30px;font-size:.7rem}
  body:not(.admin-body) .panel{padding:.65rem}
  body:not(.admin-body) .btn-sm{padding:.35rem .5rem;min-height:34px}
  body:not(.admin-body) .brand-name{font-size:1rem}
  body:not(.admin-body) .brand-tag{font-size:.65rem}
}
@media(max-height:600px){
  body:not(.admin-body) .modal{max-height:72vh}
}
