/* ============================================================
   JUNI — charte Gamba (v4). Jetons extraits de gamba.com.
   ============================================================ */
:root {
  --bg: #0a1020;          /* fond page : bleu nuit */
  --bg2: #0f1728;         /* sidebar, inputs, panneaux sombres */
  --panel: #152038;       /* cartes, header */
  --panel2: #1b2947;      /* survol */
  --panel3: #223558;      /* item actif */
  --line: #1c2a47;
  --line2: #2a3d64;
  --txt: #ffffff;
  --txt2: #d5dae6;
  --muted: #94a3c4;
  --muted2: #647498;
  --acc: #1e7fe0;         /* bleu clair Gamba : action principale */
  --acc2: #4ea6ff;        /* bleu plus clair : liens / accents */
  --acc-txt: #fff; --gold-txt: #11131c;
  --green: #1fbf6e;
  --gold: #fdcd2b;
  --red: #ff4d5e;
  --discord: #5865f2;
  --rumble: #85c742;
  --sb: 240px; --sbc: 60px; --nav: 70px;
  --font: 'Figtree', 'Proxima Nova', system-ui, -apple-system, sans-serif;
  --r: 6px; --r-lg: 8px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--txt); font-family: var(--font); font-size: 14px; font-weight: 500; line-height: 1.45; -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--panel3); border-radius: 4px; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }

/* ---------- Layout ---------- */
.app { display: flex; min-height: 100vh; }
.sidebar { position: fixed; top: var(--nav); left: 0; bottom: 0; width: var(--sb); background: var(--bg2); z-index: 60; display: flex; flex-direction: column; transition: width .2s, transform .2s; }
.side-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 8px; scrollbar-width: thin; }
.side-block { background: var(--panel); border-radius: var(--r-lg); padding: 6px; margin-bottom: 8px; }
.side-link, .sg-head { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px; border-radius: var(--r); color: var(--txt2); font-weight: 600; font-size: 14px; position: relative; white-space: nowrap; width: 100%; text-align: left; transition: background .12s, color .12s; }
.side-link .ic { width: 20px; height: 20px; display: grid; place-items: center; flex-shrink: 0; color: var(--muted); }
.side-link .ic svg { width: 18px; height: 18px; }
.side-link.top .ic, .sg-head .ic { width: 36px; height: 36px; border-radius: var(--r); background: var(--panel3); color: var(--txt2); position: relative; display: grid; place-items: center; flex-shrink: 0; }
.side-link.top .ic svg, .sg-head .ic svg { width: 19px; height: 19px; }
.side-link:hover, .sg-head:hover { background: var(--panel2); color: var(--txt); }
.side-link.active { background: var(--panel3); color: var(--txt); }
.side-link.active .ic { color: var(--acc); }
.side-link.top.active .ic { background: var(--acc); color: var(--acc-txt); }
.side-group.has-active > .sg-head .ic { color: var(--acc); }
.sg-head:focus { outline: 0; box-shadow: none; }
.sg-head .chev { margin-left: auto; display: grid; place-items: center; color: var(--muted); }
.sg-head .chev svg { width: 14px; height: 14px; transition: transform .15s; }
.side-group.open .sg-head .chev svg { transform: rotate(180deg); }
.sg-head .pt { position: absolute; top: -3px; right: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); border: 2px solid var(--panel); }
.sg-body { display: none; padding: 2px 0 6px; }
.side-group.open .sg-body { display: block; }
.sg-title { display: none; }
.sg-body .side-link { height: 38px; padding-left: 16px; font-size: 13.5px; }
.side-link .badge { margin-left: auto; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 4px; display: grid; place-items: center; background: var(--panel3); color: var(--txt2); }
.side-link .badge.gold { background: var(--gold); color: var(--gold-txt); }
.side-link .badge.live { background: var(--red); color: #fff; font-size: 10px; letter-spacing: .04em; }
.side-link .badge.dot { min-width: 8px; width: 8px; height: 8px; padding: 0; border-radius: 50%; background: var(--acc); margin-right: 6px; }
.side-foot { padding: 0 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.side-ext { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-radius: var(--r); font-size: 14px; font-weight: 600; white-space: nowrap; background: rgba(30,127,224,.14); color: var(--txt); }
.side-ext:hover { background: rgba(30,127,224,.26); }
.side-ext svg { width: 18px; height: 18px; flex-shrink: 0; }
.side-ext.discord svg { color: #8b95ff; } .side-ext.rumble svg { color: var(--rumble); }
body.collapsed .sidebar { width: var(--sbc); }
body.collapsed .side-scroll { overflow: visible; padding: 8px 6px; }
body.collapsed .side-block { padding: 3px; }
body.collapsed .side-link.top span, body.collapsed .side-link.top .badge, body.collapsed .sg-head span, body.collapsed .sg-head .chev, body.collapsed .side-ext span { display: none; }
body.collapsed .side-link.top, body.collapsed .sg-head, body.collapsed .side-ext { justify-content: center; padding: 0; height: 42px; }
body.collapsed .side-foot { padding: 0 6px 10px; }
body.collapsed .side-group { position: relative; }
body.collapsed .side-group .sg-body { display: none; position: absolute; left: calc(100% + 10px); top: 0; width: 220px; background: var(--panel2); border-radius: var(--r-lg); padding: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.45); z-index: 5; }
body.collapsed .sg-body::before { content: ''; position: absolute; left: -12px; top: 0; bottom: 0; width: 12px; }
body.collapsed .side-group:hover .sg-body { display: block; }
body.collapsed .sg-title { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted2); padding: 8px 10px 6px; }
body.collapsed .sg-body .side-link { padding-left: 8px; }
body.collapsed .main { margin-left: var(--sbc); }
.main { flex: 1; margin-left: var(--sb); transition: margin .2s; min-width: 0; display: flex; flex-direction: column; }
.navbar { position: fixed; top: 0; right: 0; left: 0; height: var(--nav); z-index: 70; background: var(--panel); display: flex; align-items: center; padding: 0 24px 0 0; gap: 14px; }
.nav-left { display: flex; align-items: center; width: var(--sb); height: 100%; background: var(--bg2); flex-shrink: 0; transition: width .2s; }
body.collapsed .nav-left { width: var(--sbc); }
.nav-burger { display: grid; width: var(--sbc); height: 100%; place-items: center; color: var(--txt2); flex-shrink: 0; }
.nav-left .nav-logo { flex: 1; justify-content: center; margin: 0; padding-right: 10px; }
body.collapsed .nav-left .nav-logo, .nav-logo.out { display: none; }
body.collapsed .nav-logo.out { display: flex; }
.nav-burger:hover { color: var(--txt); } .nav-burger svg { width: 22px; height: 22px; }
.nav-logo { margin-left: 28px; display: flex; align-items: center; } .nav-logo img { height: 32px; width: auto; display: block; }
.nav-wallet { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; height: 45px; border-radius: var(--r); overflow: visible; }
.nw-bal { display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--bg2); color: var(--txt); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; border-radius: var(--r) 0 0 var(--r); }
.nw-bal .coin { width: 18px; height: 18px; border-radius: 50%; background: var(--acc); color: var(--acc-txt); font-size: 11px; font-weight: 800; font-style: normal; display: grid; place-items: center; }
.nw-bal svg { width: 14px; height: 14px; color: var(--muted); transition: transform .15s; } .nw-bal.open svg { transform: rotate(180deg); }
.nw-btn { display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--panel3); color: var(--txt); font-weight: 700; font-size: 15px; border-radius: 0 var(--r) var(--r) 0; }
.nw-btn:hover { background: var(--line2); } .nw-btn svg { width: 18px; height: 18px; }
.nw-menu { position: absolute; top: 53px; left: 0; right: 0; background: var(--panel2); border-radius: var(--r-lg); padding: 10px; z-index: 80; box-shadow: 0 16px 40px rgba(0,0,0,.45); animation: up .15s ease; }
.nw-menu .row { display: flex; justify-content: space-between; padding: 8px 6px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); } .nw-menu .row b { color: var(--txt); }
.nw-menu .btn { width: 100%; margin-top: 8px; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-user-wrap { position: relative; }
.nav-user { display: flex; align-items: center; gap: 10px; height: 45px; padding: 0 12px 0 5px; border-radius: var(--r); background: var(--bg2); color: var(--txt); }
.nav-user:hover, .nav-user.open { background: var(--panel3); }
.avatar { width: 35px; height: 35px; border-radius: var(--r); background: var(--panel3); color: var(--txt); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.avatar.lg { width: 72px; height: 72px; border-radius: var(--r-lg); font-size: 28px; }
.nav-user .who { display: flex; flex-direction: column; gap: 5px; min-width: 96px; }
.nav-user .who b { font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 8px; line-height: 1; }
.nav-user .who b svg { width: 14px; height: 14px; color: var(--txt2); transition: transform .15s; } .nav-user.open .who b svg { transform: rotate(180deg); }
.nav-user .who .bar { height: 4px; border-radius: 2px; background: var(--bg); overflow: hidden; } .nav-user .who .bar i { display: block; height: 100%; background: var(--green); }
.user-menu { position: absolute; right: 0; top: 58px; width: 320px; background: #0e1629; border: 1px solid var(--line2); border-radius: 16px; padding: 16px; z-index: 80; box-shadow: 0 24px 60px rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.4); animation: up .15s ease; }
.um-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.um-av { position: relative; flex-shrink: 0; } .um-av .avatar.lg { width: 56px; height: 56px; font-size: 22px; } .um-av .pen { position: absolute; top: -6px; left: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--panel3); color: var(--txt2); display: grid; place-items: center; } .um-av .pen svg { width: 11px; height: 11px; } .um-av:hover .pen { background: var(--acc); color: var(--acc-txt); }
.um-id { flex: 1; min-width: 0; } .um-id b { display: block; font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .um-rank { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; margin-top: 2px; text-transform: uppercase; letter-spacing: .02em; } .um-rank svg { width: 13px; height: 13px; }
.um-vip { display: grid; place-items: center; width: 78px; height: 48px; border-radius: 5px; background: var(--gold); color: var(--gold-txt); font-weight: 800; font-size: 15px; letter-spacing: .04em; flex-shrink: 0; margin-left: auto; } .um-vip:hover { filter: brightness(1.05); }
.um-xp { margin-top: 6px; } .um-xp .progress { height: 5px; } .um-xp small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.um-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.um-grid a, .um-grid button, .um-foot a, .um-foot button { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 10px; border-radius: 8px; color: var(--txt2); font-weight: 700; font-size: 13.5px; text-align: left; } .um-grid svg, .um-foot svg { width: 16px; height: 16px; color: var(--muted); }
.um-grid a:hover, .um-grid button:hover, .um-foot a:hover, .um-foot button:hover { color: var(--txt); background: var(--panel3); }
.um-grid em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; background: var(--gold); color: var(--gold-txt); padding: 1px 6px; border-radius: 4px; }
.um-grid svg, .um-foot svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.um-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.nav-notif { width: 45px; height: 45px; border-radius: var(--r); background: var(--bg2); color: var(--txt2); display: grid; place-items: center; position: relative; }
.nav-notif:hover { background: var(--panel3); } .nav-notif svg { width: 20px; height: 20px; }
.nav-notif.has::after { content: ''; position: absolute; top: 9px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); border: 2px solid var(--bg2); }
body.notif-open .nav-notif { background: var(--acc); color: var(--acc-txt); }
.btn-discord { display: inline-flex; align-items: center; gap: 8px; height: 45px; padding: 0 18px; border-radius: 5px; background: var(--acc); color: var(--acc-txt); font-weight: 700; font-size: 15px; }
.btn-discord:hover { filter: brightness(1.06); } .btn-discord svg { width: 18px; height: 18px; }
/* Tiroir notifications */
.notif-drawer { position: fixed; top: var(--nav); right: 0; bottom: 0; width: 440px; max-width: 100vw; background: var(--bg2); z-index: 65; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .2s ease; box-shadow: -10px 0 30px rgba(0,0,0,.35); }
body.notif-open .notif-drawer { transform: none; }
.nd-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 28px 14px; } .nd-head b { font-size: 20px; font-weight: 700; }
.nd-head .x { width: 32px; height: 32px; border-radius: 5px; display: grid; place-items: center; color: var(--muted); } .nd-head .x:hover { color: var(--txt); background: var(--panel2); } .nd-head .x svg { width: 18px; height: 18px; }
.nd-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 28px 14px; background: var(--panel); border-radius: var(--r); padding: 6px; }
.nd-tab { height: 40px; border-radius: 5px; font-weight: 600; font-size: 15px; color: var(--muted); } .nd-tab.active { background: var(--panel3); color: var(--txt); }
.nd-sub { display: flex; justify-content: space-between; align-items: center; padding: 0 28px 12px; font-size: 13px; color: var(--muted); font-weight: 600; }
.nd-sub button { color: var(--txt2); font-weight: 600; font-size: 13px; } .nd-sub button:hover { color: var(--txt); } .nd-sub button:disabled { color: var(--muted2); cursor: default; }
.nd-list { flex: 1; overflow-y: auto; padding: 0 28px 20px; display: flex; flex-direction: column; gap: 10px; }
.nd-item { display: flex; flex-shrink: 0; background: var(--panel); border-radius: var(--r-lg); overflow: hidden; }
.nd-item:hover { background: var(--panel2); }
.nd-item .ic { width: 72px; flex-shrink: 0; display: grid; place-items: center; border-right: 1px solid var(--line); color: var(--gold); } .nd-item .ic svg { width: 26px; height: 26px; } .nd-item .ic img { width: 44px; height: 44px; object-fit: contain; }
.nd-item .tx { padding: 16px 18px; min-width: 0; } .nd-item b { display: block; font-size: 15px; font-weight: 700; }
.nd-item time { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin: 4px 0 8px; } .nd-item time i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted2); } .nd-item.unread time i { background: var(--green); }
.nd-item p { color: var(--muted); font-size: 14px; line-height: 1.45; }
.nd-empty { padding: 30px; text-align: center; color: var(--muted); font-size: 14px; }
.nd-foot { display: flex; align-items: center; gap: 8px; padding: 14px 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--acc2); font-weight: 600; } .nd-foot svg { width: 16px; height: 16px; flex-shrink: 0; }
.content { padding: calc(var(--nav) + 24px) 24px 40px; flex: 1; max-width: 1360px; width: 100%; margin: 0 auto; }
.footer { background: var(--bg2); padding: 32px 24px 24px; margin-top: 20px; }
.footer .inner { max-width: 1312px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 24px; }
.footer h5 { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted2); margin-bottom: 12px; font-weight: 700; }
.footer a, .footer p { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.footer a:hover { color: var(--txt); }
.footer .bottom { max-width: 1312px; margin: 24px auto 0; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted2); flex-wrap: wrap; gap: 8px; }
.footer .age { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--muted2); color: var(--muted); font-weight: 800; font-size: 10px; }
.foot-logo { height: 30px; width: auto; margin-bottom: 12px; }

/* ---------- Composants génériques ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head h1 { font-size: 28px; display: flex; align-items: center; gap: 12px; }
.page-head h1 svg { width: 26px; height: 26px; color: var(--acc); }
.page-head p { color: var(--muted); font-size: 14px; margin-top: 6px; max-width: 680px; }
/* Bannière de page */
.page-hero { position: relative; border-radius: var(--r-lg); overflow: hidden; height: 220px; margin-bottom: 22px; background: var(--panel); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 32px; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,16,32,.85) 0%, rgba(10,16,32,.55) 45%, rgba(10,16,32,.15) 100%); }
.ph-text { position: relative; z-index: 2; max-width: 560px; }
.ph-text h1 { font-size: 32px; line-height: 1.1; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.ph-text p { color: #fff; font-size: 14px; font-weight: 600; margin-top: 8px; line-height: 1.5; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.ph-text p b { color: var(--acc2); }
.ph-right { position: relative; z-index: 2; flex-shrink: 0; }
.ph-right .kpis div { background: rgba(10,16,32,.7); backdrop-filter: blur(4px); }
.ph-right .tag { background: rgba(10,16,32,.7); }
.section { margin-bottom: 32px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-head h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.section-head h2 svg { width: 20px; height: 20px; color: var(--acc); }
.section-head .link { color: var(--acc2); font-size: 14px; font-weight: 600; }
.card { background: var(--panel); border: 0; border-radius: var(--r-lg); }
.card-pad { padding: 20px; }
.card-pad h3 { font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.card-pad h3 svg { width: 16px; height: 16px; color: var(--acc); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 45px; padding: 0 20px; border-radius: 5px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: filter .12s, background .12s; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--acc); color: var(--acc-txt); box-shadow: none; }
.btn-primary:hover { filter: brightness(1.06); background: var(--acc); }
.btn-primary:disabled { background: var(--panel3); color: var(--muted); cursor: not-allowed; filter: none; }
.btn-blue { background: var(--acc2); color: var(--acc-txt); } .btn-blue:hover { filter: brightness(1.08); }
.btn-gold { background: var(--gold); color: var(--gold-txt); }
.btn-ghost, .btn-outline { background: rgba(30,127,224,.16); color: var(--acc2); border: 0; }
.btn-ghost:hover, .btn-outline:hover { background: rgba(39,151,255,.24); color: #fff; }
.btn-green { background: var(--acc); color: var(--acc-txt); box-shadow: none; text-transform: none; letter-spacing: 0; font-size: 15px; }
.btn-green:hover { filter: brightness(1.06); }
.btn-danger { background: rgba(255,77,94,.14); color: var(--red); border: 0; } .btn-danger:hover { background: rgba(255,77,94,.24); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 50px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-discord-c { background: var(--discord); color: #fff; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.tag.ok { color: var(--green); } .tag.warn { color: var(--gold); } .tag.err { color: var(--red); } .tag svg { width: 12px; height: 12px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.input { width: 100%; height: 45px; border-radius: 5px; background: var(--bg2); border: 1px solid transparent; color: var(--txt); padding: 0 14px; font-family: inherit; font-size: 14px; font-weight: 500; outline: 0; }
.input:focus { border-color: var(--acc); }
.input-wrap { position: relative; }
.input-wrap .prefix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; pointer-events: none; }
.input-wrap .input.has-prefix { padding-left: 30px; }
label.lbl { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.progress { height: 8px; border-radius: 4px; background: var(--bg2); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--acc); box-shadow: none; transition: width .6s ease; }
.grid { display: grid; gap: 14px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); align-items: stretch; }
.grid > *, .hero > *, .steps > *, .ticker .items { min-width: 0; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty svg { width: 40px; height: 40px; color: var(--muted2); margin: 0 auto 12px; }
.empty b { display: block; color: var(--txt); font-size: 16px; margin-bottom: 6px; font-weight: 700; }
.demo-line { margin-top: 14px; font-size: 12.5px; color: var(--muted2); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.demo-line button { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.kpis { display: flex; gap: 8px; }
.kpis div { background: var(--panel); border-radius: var(--r); padding: 10px 16px; text-align: center; min-width: 100px; }
.kpis b { display: block; font-size: 18px; font-weight: 800; } .kpis small { color: var(--muted); font-size: 12px; }
.tabs { display: flex; gap: 4px; background: var(--bg2); border-radius: var(--r); padding: 4px; width: fit-content; }
.tabs button { height: 36px; padding: 0 16px; border-radius: 5px; font-weight: 600; font-size: 14px; color: var(--muted); }
.tabs button.active { background: var(--panel3); color: var(--txt); }
.tabs button .n { margin-left: 6px; font-size: 12px; color: var(--muted); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 36px; padding: 0 14px; border-radius: 5px; background: var(--bg2); font-size: 13px; font-weight: 600; color: var(--muted); }
.chip.active { background: var(--panel3); color: var(--txt); }
.notice { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--panel); border-left: 3px solid var(--gold); font-size: 13.5px; color: var(--txt2); margin-top: 12px; }
.notice svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; } .notice a { color: var(--acc2); font-weight: 700; }
code { font-family: ui-monospace, Menlo, monospace; font-size: 12px; background: var(--bg2); padding: 2px 6px; border-radius: 4px; }

/* ---------- Accueil (Gamba) ---------- */
.gh-hero { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 14px; align-items: stretch; margin-bottom: 22px; }
.gh-text { display: flex; flex-direction: column; justify-content: center; padding: 8px 0; }
.gh-text h1 { font-size: 36px; line-height: 1.12; }
.gh-text p { color: var(--muted); font-size: 15px; margin: 12px 0 20px; max-width: 420px; }
.gh-text .row { display: flex; gap: 10px; flex-wrap: wrap; }
.gh-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--panel); display: block; }
.gh-card img { width: 100%; aspect-ratio: 1020/596; object-fit: cover; transition: transform .35s; }
.gh-card:hover img { transform: scale(1.04); }
.gh-card .cap { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-weight: 700; font-size: 15px; }
.gh-card .cap svg { width: 18px; height: 18px; color: var(--acc); }
.ticker { margin-bottom: 26px; }
.ticker .lbl { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--txt2); margin-bottom: 10px; }
.ticker .lbl i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.ticker .items { display: flex; gap: 10px; overflow: hidden; }
.ticker .it { width: 120px; flex-shrink: 0; background: var(--panel); border-radius: var(--r); padding: 8px; text-align: center; animation: tickIn .3s ease; }
.ticker .it .im { height: 64px; display: grid; place-items: center; }
.ticker .it img { max-height: 60px; max-width: 90%; object-fit: contain; }
.ticker .it b { display: block; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 6px; color: var(--muted); }
.ticker .it small { display: block; font-size: 12px; font-weight: 700; margin-top: 2px; color: var(--green); }
.promo-wrap { position: relative; margin-bottom: 26px; }
.promo-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px) / 3); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.promo-row::-webkit-scrollbar { display: none; }
.promo-row.three { overflow: visible; }
.promo-card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1020/596; background: var(--panel); scroll-snap-align: start; }
.promo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.promo-card:hover img { transform: scale(1.04); }
.pc-text { position: absolute; inset: 0; z-index: 2; padding: 20px; display: flex; flex-direction: column; justify-content: center; width: 66%; }
.pc-text b { font-size: clamp(16px, 1.4vw, 20px); font-weight: 800; line-height: 1.12; white-space: nowrap; text-shadow: 0 1px 3px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.35); }
.pc-text p { color: #fff; font-size: clamp(11px, .95vw, 13px); font-weight: 600; line-height: 1.4; margin: 6px 0 12px; min-height: calc(3 * 1.4em); text-shadow: 0 1px 2px rgba(0,0,0,.5), 0 2px 6px rgba(0,0,0,.3); }
.pc-text .btn { width: 176px; height: 42px; padding: 0 12px; font-size: 13px; background: var(--acc); color: var(--acc-txt); flex-shrink: 0; }
.promo-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 36px; height: 36px; border-radius: 50%; background: var(--panel3); color: #fff; display: grid; place-items: center; }
.promo-nav svg { width: 18px; height: 18px; } .promo-nav:hover { background: var(--acc); color: var(--acc-txt); }
.promo-nav.prev { left: -14px; } .promo-nav.next { right: -14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.step { display: flex; gap: 14px; padding: 18px; }
.step .n { width: 36px; height: 36px; border-radius: var(--r); background: var(--panel3); color: var(--acc); font-weight: 800; font-size: 14px; display: grid; place-items: center; flex-shrink: 0; }
.step .n svg { width: 18px; height: 18px; }
.step b { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 13px; }
/* Cartes de caisses */
.case-card { padding: 12px; display: flex; flex-direction: column; text-align: center; position: relative; transition: background .15s; }
.case-card:hover { background: var(--panel2); transform: none; box-shadow: none; }
.case-own { position: absolute; top: 20px; right: 20px; z-index: 2; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 5px; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--acc); color: var(--acc-txt); }
.case-img { position: relative; height: 210px; display: grid; place-items: center; border-radius: var(--r); background: var(--bg2); }
.case-img img { max-height: 160px; max-width: 70%; object-fit: contain; transition: transform .25s; }
.case-card:hover .case-img img { transform: translateY(-4px) scale(1.04); }
.case-card h3 { font-size: 17px; margin: 14px 0 12px; }
.case-card .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.case-card .actions .btn { height: 45px; }

/* item tiles */
.item-tile { position: relative; background: var(--panel2); border-radius: var(--r); padding: 10px; overflow: hidden; display: flex; flex-direction: column; }
.grid-auto { align-items: stretch; }
.item-tile .foot, .item-tile .claimed { margin-top: auto; padding-top: 8px; }
.item-tile::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rc); }
.item-tile .img { height: 84px; width: 100%; display: block; margin-bottom: 8px; }
.item-tile .img img { width: 100%; height: 100%; object-fit: contain; }
.item-tile .name { font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-tile .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 3px; font-size: 11px; color: var(--muted); }
.item-tile .meta .r { color: var(--rc); font-weight: 600; }
.item-tile .meta .p { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--txt2); }
.item-tile .qty { position: absolute; top: 6px; right: 6px; font-size: 10.5px; font-weight: 600; background: var(--panel3); color: var(--txt); padding: 2px 6px; border-radius: 4px; }

/* ========== Modals ========== */
.modal-bg { position: fixed; inset: 0; background: rgba(4,8,20,.78); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade .15s; }
.modal { width: 100%; max-width: 520px; background: var(--panel); border-radius: var(--r-lg); overflow: hidden; max-height: calc(100vh - 32px); display: flex; flex-direction: column; animation: up .18s ease; }
.modal.wide { max-width: 820px; }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.modal-head h3 svg { width: 16px; height: 16px; color: var(--muted); }
.modal-head .x { margin-left: auto; width: 30px; height: 30px; border-radius: 6px; display: grid; place-items: center; color: var(--muted); }
.modal-head .x:hover { background: var(--panel2); color: var(--txt); }
.modal-head .x svg { width: 16px; height: 16px; }
.modal-body { padding: 18px; overflow-y: auto; }
.modal-foot { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* onboarding */
.onb-hero { text-align: center; padding: 4px 0 16px; }
.onb-hero .avatar { margin: 0 auto 10px; }
.onb-hero h2 { font-size: 17px; }
.onb-hero p { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.onb-step { border: 1px solid var(--line); background: var(--bg2); border-radius: 8px; padding: 14px; margin-bottom: 10px; }
.onb-step .st-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.onb-step .st-head .n { width: 22px; height: 22px; border-radius: 5px; display: grid; place-items: center; font-weight: 700; font-size: 11.5px; background: var(--acc); color: #fff; }
.onb-step .st-head .n.opt { background: var(--panel3); color: var(--txt2); }
.onb-step .st-head b { font-size: 13px; font-weight: 600; }
.onb-step .st-head .tag { margin-left: auto; }
.onb-step p.hint { color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.onb-row { display: flex; gap: 6px; }
.onb-row .input-wrap { flex: 1; }
.onb-ok { color: var(--green); font-size: 12px; font-weight: 500; margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.onb-ok svg { width: 13px; height: 13px; }
.onb-err { color: var(--red); font-size: 12px; margin-top: 8px; }

/* details */
.det-top { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.det-top img { width: 84px; height: 84px; object-fit: contain; background: var(--bg2); border-radius: var(--r); padding: 8px; flex-shrink: 0; }
.det-top h4 { font-size: 17px; }
.det-top p { color: var(--muted); font-size: 13px; margin: 3px 0 4px; }
.det-dist { background: var(--panel2); border-radius: var(--r); padding: 12px 14px; margin-bottom: 14px; }
.det-dist .bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--bg2); gap: 2px; }
.det-dist .bar i { display: block; height: 100%; min-width: 3px; }
.det-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; }
.det-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.det-legend span i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.det-legend span b { color: var(--txt); font-variant-numeric: tabular-nums; }
.det-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.det-item { background: var(--panel2); border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; }
.det-item .img { height: 88px; display: grid; place-items: center; margin-bottom: 8px; }
.det-item img { max-height: 84px; max-width: 80%; object-fit: contain; }
.det-item b { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.det-item small { color: var(--muted); font-size: 11.5px; line-height: 1.35; margin-top: 2px; min-height: 2.7em; }
.det-rate { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12px; }
.det-rate .r { color: var(--rc); font-weight: 700; } .det-rate .p { font-weight: 700; font-variant-numeric: tabular-nums; }
.det-item .bar { height: 4px; border-radius: 2px; background: var(--bg2); overflow: hidden; margin-top: 6px; }
.det-item .bar i { display: block; height: 100%; background: var(--rc); }
.det-item.out img { filter: grayscale(1); opacity: .45; }
.det-item .img { position: relative; }
.det-out { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); background: var(--red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
@media (max-width: 800px) { .det-grid { grid-template-columns: repeat(2, 1fr); } }

/* ========== Opening ========== */
.open-modal { max-width: 1040px; }
.open-body { position: relative; }
.quick { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; height: 44px; padding: 0 14px; background: var(--bg2); border-radius: var(--r); }
.quick input { accent-color: var(--acc); width: 15px; height: 15px; cursor: pointer; }
.quick:hover { color: var(--txt); }
.open-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.open-top img { width: 44px; height: 44px; object-fit: contain; }
.open-top h3 { font-size: 14.5px; }
.open-top small { color: var(--muted); font-size: 12px; display: block; }
.open-top small b { color: var(--txt); }
.qty-select { display: flex; gap: 4px; margin-left: auto; background: var(--bg2); border-radius: var(--r); padding: 4px; }
.qty-select button { width: 46px; height: 36px; border-radius: 5px; font-weight: 700; font-size: 13px; color: var(--muted); }
.qty-select button:hover { color: var(--txt); }
.qty-select button.active { background: var(--acc); color: var(--acc-txt); }
.qty-select button:disabled { opacity: .3; cursor: not-allowed; }
.reels { display: flex; gap: 10px; }
.reels.vertical { height: 360px; }
.reels.horizontal { flex-direction: column; }
.reel { position: relative; flex: 1; min-width: 0; border-radius: var(--r-lg); background: var(--bg2); overflow: hidden; }
.reels.horizontal .reel { flex: none; height: 160px; }
.reel::before, .reel::after { content: ''; position: absolute; z-index: 3; pointer-events: none; }
.reels.horizontal .reel::before { left: 0; top: 0; bottom: 0; width: 140px; background: linear-gradient(90deg, var(--bg2) 10%, transparent); }
.reels.horizontal .reel::after { right: 0; top: 0; bottom: 0; width: 140px; background: linear-gradient(-90deg, var(--bg2) 10%, transparent); }
.reels.vertical .reel::before { top: 0; left: 0; right: 0; height: 90px; background: linear-gradient(180deg, var(--bg2) 10%, transparent); }
.reels.vertical .reel::after { bottom: 0; left: 0; right: 0; height: 90px; background: linear-gradient(0deg, var(--bg2) 10%, transparent); }
.reel .marker { position: absolute; z-index: 4; pointer-events: none; }
.reels.horizontal .marker { left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--acc); }
.reels.horizontal .marker::before, .reels.horizontal .marker::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); border: 7px solid transparent; }
.reels.horizontal .marker::before { top: 0; border-top: 9px solid var(--acc); }
.reels.horizontal .marker::after { bottom: 0; border-bottom: 9px solid var(--acc); }
.reels.vertical .marker { top: 50%; left: 0; right: 0; height: 2px; margin-top: -1px; background: var(--acc); }
.reels.vertical .marker::before, .reels.vertical .marker::after { content: ''; position: absolute; top: 50%; transform: translateY(-50%); border: 7px solid transparent; }
.reels.vertical .marker::before { left: 0; border-left: 9px solid var(--acc); }
.reels.vertical .marker::after { right: 0; border-right: 9px solid var(--acc); }
.track { display: flex; gap: 8px; position: absolute; will-change: transform; }
.reels.horizontal .track { top: 15px; left: 0; height: 130px; }
.reels.vertical .track { top: 0; left: 8px; right: 8px; flex-direction: column; }
.tile { position: relative; flex-shrink: 0; border-radius: var(--r); background: var(--panel2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; overflow: hidden; transition: opacity .4s, filter .4s, transform .35s cubic-bezier(.2,.9,.3,1.3), box-shadow .35s; }
.reels.horizontal .tile { width: 160px; height: 130px; }
.reels.vertical .tile { width: 100%; height: 118px; }
.tile::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rc); }
.tile img { max-width: 70%; max-height: 62%; object-fit: contain; }
.tile .tn { font-size: 10.5px; font-weight: 600; color: var(--txt2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 92%; }
.reel.landed .tile:not(.win) { opacity: .28; filter: saturate(.4); }
.tile.win { box-shadow: 0 0 0 2px var(--rc); transform: scale(1.06); z-index: 2; }
.tile.win .tn { color: #fff; }
.reel.flash::before { animation: none; }
.reel.flash { animation: reelFlash .7s ease-out; }
@keyframes reelFlash { 0% { box-shadow: inset 0 0 0 200px var(--land); } 100% { box-shadow: inset 0 0 0 200px transparent; } }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
.open-results { margin-top: 14px; }
.res-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; margin-bottom: 8px; color: var(--muted); }
.res-head b { color: var(--txt); }
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.res { position: relative; background: radial-gradient(circle at 50% 35%, var(--rc-glow) 0%, transparent 55%), var(--panel2); border: 1px solid var(--rc); border-radius: 8px; padding: 12px 10px; text-align: center; overflow: hidden; animation: resPop .45s cubic-bezier(.2,.9,.3,1.3) both; }
.res img { height: 70px; width: 100%; object-fit: contain; margin-bottom: 8px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); }
.res b { display: block; font-size: 12.5px; font-weight: 600; }
.res small { display: block; color: var(--rc); font-weight: 700; font-size: 11px; margin-top: 3px; }
.res em { display: block; font-style: normal; color: var(--muted); font-size: 11px; margin-top: 4px; }
@keyframes resPop { from { opacity: 0; transform: scale(.7) translateY(10px); } to { opacity: 1; transform: none; } }
.open-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.open-foot .total { margin-right: auto; }
@media (max-width: 700px) {
  .reels.vertical { height: 280px; }
  .reels.vertical .tile { height: 92px; }
  .reels.vertical .tile .tn { display: none; }
  .quick span { display: none; }
  .open-foot { display: grid; grid-template-columns: 1fr 1fr; }
  .open-foot .total, .open-foot .btn-lg { grid-column: 1 / -1; }
  .open-foot .total .btn { width: 100%; }
}

/* ========== Inventory ========== */
.tabs { display: flex; gap: 2px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 3px; width: fit-content; }
.tabs button { height: 30px; padding: 0 12px; border-radius: 4px; font-weight: 500; font-size: 12.5px; color: var(--muted); }
.tabs button.active { background: var(--panel3); color: var(--txt); }
.tabs button .n { margin-left: 6px; font-size: 11px; color: var(--muted); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 30px; padding: 0 12px; border-radius: 6px; background: transparent; border: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--muted); }
.chip.active { border-color: var(--line2); color: var(--txt); background: var(--panel2); }
.inv-item .foot { margin-top: auto; }
.inv-item .foot .btn { width: 100%; }
.inv-item .claimed { margin-top: auto; font-size: 11.5px; color: var(--green); font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 5px; height: 30px; }
.inv-item .claimed svg { width: 13px; height: 13px; }
.inv-item .src { font-size: 11px; color: var(--muted2); margin-top: 2px; }
.kpis { display: flex; gap: 8px; }
.kpis div { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 8px 14px; text-align: center; min-width: 96px; }
.kpis b { display: block; font-size: 15px; font-weight: 600; }
.kpis small { color: var(--muted); font-size: 11px; }

/* ========== Rewards ========== */
.rew-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; align-items: start; }
.wheel-stage { padding: 34px 20px 28px; display: flex; flex-direction: column; align-items: center; gap: 26px; background: var(--panel); }
.wheel-wrap { position: relative; width: min(600px, 88vw); height: min(600px, 88vw); }
.wheel-wrap canvas#wheel, .wheel-wrap canvas#hwWheel { position: absolute; inset: 6%; width: 88%; height: 88%; border-radius: 50%; transition: transform 5.6s cubic-bezier(.12,.75,.1,1); }
.wheel-wrap .rimc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }

.wheel-wrap .ptr { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; z-index: 4; border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 40px solid #fff; filter: drop-shadow(0 3px 4px rgba(0,0,0,.5)); }
.wheel-wrap .hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 13%; height: 13%; border-radius: 50%; background: var(--panel3); border: 4px solid var(--bg); z-index: 3; display: grid; place-items: center; }
.wheel-wrap .hub::after { content: ''; width: 30%; height: 30%; border-radius: 50%; background: #fff; }
.wheel-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.wheel-cta .btn-lg { min-width: 300px; height: 52px; font-size: 16px; }
.wheel-cta small { font-size: 12px; }
.bp-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.bp-head .big { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.bp-head .big small { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.bp-tiers { display: flex; flex-direction: column; gap: 6px; }
.bp-tier { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--bg2); border: 1px solid var(--line); border-radius: 6px; }
.bp-tier .n { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; font-weight: 600; font-size: 12px; background: var(--panel3); color: var(--muted); flex-shrink: 0; }
.bp-tier .n svg { width: 14px; height: 14px; }
.bp-tier.done .n { background: rgba(53,196,111,.15); color: var(--green); }
.bp-tier.claimable { border-color: var(--gold); }
.bp-tier.claimable .n { background: var(--gold); color: #1a1400; }
.bp-tier.locked { opacity: .6; }
.bp-tier .info { flex: 1; min-width: 0; }
.bp-tier .info b { font-size: 13px; display: block; font-weight: 600; }
.bp-tier .info small { color: var(--muted); font-size: 11.5px; }
.bp-tier .imgs { display: flex; gap: 2px; }
.bp-tier .imgs img { width: 34px; height: 34px; object-fit: contain; }

/* ========== Profile ========== */
.prof-top { padding: 18px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.prof-id { flex: 1; min-width: 220px; }
.prof-id h2 { font-size: 19px; }
.prof-id .rank { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--rk); }
.prof-id .rank i { width: 8px; height: 8px; border-radius: 2px; background: var(--rk); display: inline-block; }
.prof-xp { margin-top: 10px; max-width: 420px; }
.prof-xp .row { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 5px; font-variant-numeric: tabular-nums; }
.prof-xp .row b { color: var(--txt); font-weight: 600; }
.prof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.link-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.link-row:first-of-type { padding-top: 0; }
.link-row:last-child { border-bottom: 0; padding-bottom: 0; }
.link-row .ico { width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; flex-shrink: 0; background: var(--panel2); color: var(--txt2); }
.link-row .ico svg { width: 17px; height: 17px; }
.link-row .ico.discord { color: #7b86ff; }
.link-row .ico.gamba { color: var(--acc); }
.link-row .ico.rumble { color: var(--rumble); }
.link-row .t { flex: 1; min-width: 0; }
.link-row .t b { display: block; font-size: 13px; font-weight: 600; }
.link-row .t small { color: var(--muted); font-size: 11.5px; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.menu-grid button, .menu-grid a { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 6px; font-weight: 500; font-size: 12.5px; color: var(--txt2); text-align: left; }
.menu-grid button:hover, .menu-grid a:hover { background: var(--panel2); color: var(--txt); }
.menu-grid svg { width: 16px; height: 16px; color: var(--muted); }
.menu-grid .danger { color: var(--red); }
.menu-grid .danger svg { color: var(--red); }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mini-stats div { background: var(--bg2); border: 1px solid var(--line); border-radius: 6px; padding: 10px; text-align: center; }
.mini-stats b { display: block; font-size: 15px; font-weight: 600; }
.mini-stats small { color: var(--muted); font-size: 11px; }
.ranks-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.rank-card { min-width: 200px; flex: 1; padding: 14px; }
.rank-card .rk-name { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13px; color: var(--rk); }
.rank-card .rk-name i { width: 9px; height: 9px; border-radius: 2px; background: var(--rk); }
.rank-card .rk-xp { font-size: 16px; font-weight: 600; margin-top: 8px; white-space: nowrap; }
.rank-card .rk-xp small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.rank-card ul { list-style: none; margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.rank-card li { font-size: 12px; color: var(--txt2); padding-left: 12px; position: relative; }
.rank-card li::before { content: ''; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--rk); }
.rank-card.current { border-color: var(--rk); }

/* ========== Live ========== */
.live-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 12px; align-items: start; }
.player { aspect-ratio: 16/9; background: #000; border-radius: 8px; overflow: hidden; position: relative; border: 1px solid var(--line); display: grid; place-items: center; }
.player .ph { text-align: center; color: var(--muted); font-size: 12.5px; }
.player .ph svg { width: 44px; height: 44px; color: var(--rumble); margin: 0 auto 8px; }
.player .badge-live { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; letter-spacing: .06em; }
.timeline { display: flex; flex-direction: column; }
.tl-row { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); align-items: center; }
.tl-row:last-child { border-bottom: 0; }
.tl-row time { font-weight: 700; font-size: 12px; color: var(--gold); width: 40px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.tl-row b { font-size: 12.5px; display: block; font-weight: 600; }
.tl-row small { color: var(--muted); font-size: 11.5px; }
.tl-row img { width: 30px; height: 30px; object-fit: contain; margin-left: auto; }
.notice { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: rgba(255,216,43,.07); border: 1px solid rgba(255,216,43,.3); font-size: 12.5px; color: var(--txt2); margin-top: 12px; }
.notice svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }
.notice a { color: var(--gold); font-weight: 600; }

/* ========== Toasts ========== */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 200; display: flex; flex-direction: column; gap: 6px; }
.toast { background: var(--panel2); border: 1px solid var(--line2); border-radius: 6px; padding: 10px 14px; font-size: 12.5px; font-weight: 500; animation: tickIn .2s; display: flex; align-items: center; gap: 10px; max-width: 320px; }
.toast img { width: 28px; height: 28px; object-fit: contain; }

/* ========== Animations ========== */
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes tickIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.shake { animation: shake .3s; }

/* ========== Responsive ========== */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .rew-grid, .live-grid { grid-template-columns: 1fr; }
  .footer .inner { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-text { grid-column: 1 / -1; }
  .games { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); width: var(--sb) !important; }
  body.menu-open .sidebar { transform: none; box-shadow: 0 0 0 100vw rgba(0,0,0,.5); }
  body.collapsed .side-scroll { overflow-y: auto; overflow-x: hidden; padding: 8px; } body.collapsed .side-block { padding: 6px; }
  body.collapsed .side-link.top span, body.collapsed .side-link.top .badge, body.collapsed .sg-head span, body.collapsed .side-ext span { display: initial; } body.collapsed .sg-head .chev { display: grid; }
  body.collapsed .side-link.top, body.collapsed .sg-head, body.collapsed .side-ext { justify-content: flex-start; padding: 0 8px; height: 44px; }
  body.collapsed .sg-body, body.collapsed .side-group:hover .sg-body { display: none; position: static; width: auto; padding: 2px 0 6px; box-shadow: none; background: none; }
  body.collapsed .side-group.open .sg-body { display: block; } body.collapsed .sg-title { display: none; } body.collapsed .sg-body .side-link { padding-left: 16px; }
  .main, body.collapsed .main { margin-left: 0; }
  .navbar { padding-right: 10px; gap: 8px; }
  .nav-left, body.collapsed .nav-left { width: var(--sbc); } .nav-left .nav-logo { display: none; } .nav-logo.out, body.collapsed .nav-logo.out { display: flex; }
  .nav-logo { margin-left: 10px; } .nav-logo img { height: 26px; }
  .nav-wallet { position: static; transform: none; margin-left: auto; height: 40px; }
  .nw-btn span { display: none; } .nw-bal { font-size: 13px; padding: 0 10px; }
  .nav-right { margin-left: 0; gap: 6px; }
  .nav-user .who { display: none; } .nav-user { padding: 0 5px; }
  .user-menu { position: absolute; right: 0; top: 58px; width: 320px; background: #0e1629; border: 1px solid var(--line2); border-radius: 16px; padding: 16px; z-index: 80; box-shadow: 0 24px 60px rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.4); animation: up .15s ease; }
  .notif-drawer { width: 100vw; }
  .content { padding: calc(var(--nav) + 14px) 12px 30px; }
  .hero { grid-template-columns: 1fr 1fr; }
  .grid-3, .prof-grid, .steps { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer .inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: repeat(2, 1fr); }
  
  .nav-live span { display: none; }
  .qty-select { margin-left: 0; width: 100%; }
  .qty-select button { flex: 1; }
  .open-results { grid-template-columns: repeat(2, 1fr); }
  .modal-body { padding: 14px; }
  .det-table .bar { width: 50px; }
  .wheel-wrap { width: min(92vw, 420px); height: min(92vw, 420px); margin: 0 auto; } .wheel-wrap .ptr { border-left-width: 13px; border-right-width: 13px; border-top-width: 32px; top: -4px; }
  .kpis { width: 100%; }
  .kpis div { flex: 1; min-width: 0; }
}

/* ========== Collection / Réclamer / Admin ========== */
.col-tile.locked { opacity: .45; filter: grayscale(1); }
.col-tile.locked img { filter: brightness(.35); }
.toast.red { border-color: rgba(255,47,47,.5); }
.toast.red span { color: #ffb3b3; }
.alist { display: flex; flex-direction: column; }
.arow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.arow:last-child { border-bottom: 0; }
.arow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line2); flex-shrink: 0; }
.arow.unread .dot { background: var(--acc2); box-shadow: 0 0 8px var(--acc2); }
.arow .t { flex: 1; min-width: 0; }
.arow .t small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.arow img { width: 36px; height: 36px; object-fit: contain; }
.atable { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.atable th { text-align: left; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted2); padding: 6px 8px; border-bottom: 1px solid var(--line); font-weight: 600; white-space: nowrap; }
.atable td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.atable tr:last-child td { border-bottom: 0; }
.atable tr.flagged td { opacity: .6; }
.atable .it { display: flex; align-items: center; gap: 8px; }
.atable .it img { width: 30px; height: 26px; object-fit: contain; }
.aform { display: grid; grid-template-columns: 1.4fr 1fr .6fr auto; gap: 6px; }
.aform .input { height: 36px; }
select.input { appearance: none; -webkit-appearance: none; cursor: pointer; }
code { font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; background: var(--bg2); padding: 2px 5px; border-radius: 4px; }
@media (max-width: 900px) { .aform { grid-template-columns: 1fr 1fr; } .stats-row { grid-template-columns: repeat(3, 1fr) !important; } }
.col-tile .meta { gap: 8px; }
.col-tile .src, .inv-item .src { font-size: 11px; color: var(--muted2); margin-top: 4px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ========== Cloche / notifications ========== */
@media (max-width: 600px) { .bell-panel { position: fixed; left: 8px; right: 8px; top: 64px; width: auto; } }
.jackpot-img { display: flex; align-items: center; justify-content: center; gap: 2px; }
.jackpot-img img { width: 33% !important; height: 100% !important; object-fit: contain; }

/* ========== Popup de gain (roue) ========== */
.modal.win { max-width: 440px; }
.win-modal { position: relative; text-align: center; padding: 34px 24px 26px; overflow: hidden; }
.win-glow { position: absolute; left: 50%; top: 30%; width: 360px; height: 360px; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle, var(--wc) 0%, transparent 60%); opacity: .25; pointer-events: none; animation: winPulse 2.4s ease-in-out infinite; }
@keyframes winPulse { 50% { opacity: .4; transform: translate(-50%,-50%) scale(1.08); } }
.win-kicker { position: relative; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; }
.win-modal.jack .win-kicker { font-size: 22px; letter-spacing: .12em; text-shadow: 0 0 18px rgba(255,207,63,.7); }
.win-imgs { position: relative; height: 170px; display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 14px; animation: winDrop .5s cubic-bezier(.2,.9,.3,1.3) both; }
.win-imgs img { max-height: 170px; max-width: 70%; object-fit: contain; filter: drop-shadow(0 16px 28px rgba(0,0,0,.6)); }
.win-imgs.multi img { max-width: 32%; }
@keyframes winDrop { from { opacity: 0; transform: scale(.6) translateY(20px); } to { opacity: 1; transform: none; } }
.win-modal h2 { position: relative; font-size: 20px; }
.win-modal p { position: relative; margin-top: 6px; font-size: 13px; }
.win-actions { position: relative; display: flex; gap: 8px; justify-content: center; margin-top: 20px; }

/* ========== Outils : Bonus Hunt ========== */
.hunt-tools { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; padding-top: 6px; }
.hunt-card { display: flex; flex-direction: column; padding: 18px; gap: 12px; transition: border-color .2s, transform .2s; border-color: var(--line2); }
.hunt-card:hover { border-color: var(--line2); transform: translateY(-2px); }
.hc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hc-head b { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-sub { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.hc-thumbs { display: flex; gap: 6px; }
.hc-thumbs img { width: 46px; height: 62px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.hc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.hc-stats small { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted2); font-weight: 600; }
.hc-stats b { font-size: 16px; }
.hc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; font-size: 12px; }
.hunt-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 14px; }
.hunt-stats .card { padding: 12px 14px; }
.hunt-stats small { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted2); font-weight: 600; }
.hunt-stats b { display: block; font-size: 19px; margin: 4px 0 2px; }
.hunt-stats span { font-size: 11px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.add-slot { display: grid; grid-template-columns: 1fr 120px auto auto; gap: 8px; align-items: center; }
.slot-search { position: relative; }
.slot-results { position: absolute; left: 0; right: 0; top: 44px; background: var(--panel2); border: 1px solid var(--line2); border-radius: 8px; z-index: 20; max-height: 340px; overflow-y: auto; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.slot-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.slot-opt:last-child { border-bottom: 0; }
.slot-opt:hover { background: var(--panel3); }
.slot-opt img, .slot-opt .sl-none { width: 30px; height: 40px; object-fit: cover; border-radius: 4px; flex-shrink: 0; background: var(--panel3); }
.slot-opt b { display: block; font-weight: 600; } .slot-opt small { color: var(--muted); }
.hunt-tablehead { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.hunt-table td { white-space: normal; }
.sl-cell { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.sl-img { border-radius: 5px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--line); }
.sl-none { display: grid; place-items: center; background: var(--panel3); color: var(--muted2); }
.sl-none svg { width: 16px; height: 16px; }
.input.mini { height: 32px; width: 96px; padding: 0 8px; font-size: 12.5px; }
.hunt-table tr.opened td { background: rgba(53,196,111,.04); }
.hunt-table tr.bounty td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.sl-actions { display: flex; gap: 4px; }
.sl-actions .btn { height: 30px; padding: 0 9px; }
@media (max-width: 1100px) { .hunt-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .hunt-stats { grid-template-columns: 1fr 1fr; } .add-slot { grid-template-columns: 1fr 1fr; } .slot-search { grid-column: 1 / -1; } }

/* ========== Outils : Blackjack ========== */
.bj-layout { display: grid; grid-template-columns: 1fr 300px; gap: 14px; align-items: start; }
.bj-chart { padding: 6px 14px 14px; overflow-x: auto; }
.bj-chart-head { font-size: 11px; color: var(--muted); text-align: right; padding: 8px 4px 2px; letter-spacing: .04em; }
table.bj { border-collapse: separate; border-spacing: 2px; width: 100%; font-size: 13px; }
table.bj thead th { padding: 6px 2px 8px; }
table.bj .pcard { display: inline-grid; place-items: center; width: 30px; height: 40px; border-radius: 5px; background: #f4f5f9; color: #111827; font-weight: 800; font-size: 13px; box-shadow: 0 2px 6px rgba(0,0,0,.5); }
table.bj .pcard.red { color: #d12b2b; }
table.bj thead th:first-child { text-align: left; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
table.bj tr.sect td { padding: 10px 6px 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: left; background: none; }
table.bj tbody th { text-align: left; padding: 0 8px; color: var(--txt); font-weight: 700; white-space: nowrap; font-size: 13px; background: var(--panel2); border-radius: 4px; }
table.bj td { text-align: center; font-weight: 800; height: 34px; border-radius: 4px; color: #fff; min-width: 34px; font-size: 12.5px; letter-spacing: .02em; }
.c-H { background: #c93b3b; } .c-S { background: #c99a1f; } .c-D { background: #2e9a5f; } .c-Ds { background: #237a4b; } .c-P { background: #2f6fd6; } .c-R { background: #5c6578; }
.bj-side { display: flex; flex-direction: column; gap: 12px; }
.bj-hand { display: flex; gap: 12px; margin-bottom: 10px; }
.bj-sel { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bj-sel > span { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.bj-sel > div { display: flex; gap: 6px; }
.bj-sel select { height: 40px; text-align: center; font-weight: 700; }
.bj-answer { display: flex; align-items: center; gap: 12px; background: var(--bg2); border: 1px solid var(--line2); border-radius: 8px; padding: 10px 12px; }
.bj-answer i, .bj-legend i { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; font-style: normal; font-weight: 800; font-size: 14px; color: #fff; flex-shrink: 0; }
.bj-answer b { display: block; font-size: 14px; } .bj-answer small { color: var(--muted); font-size: 11.5px; }
.bj-legend { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: var(--txt2); }
.bj-legend span { display: flex; align-items: center; gap: 10px; }
.bj-legend i { width: 30px; height: 26px; font-size: 11.5px; }
.bj-rules { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--txt2); }
.bj-rules li { padding-left: 14px; position: relative; }
.bj-rules li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--acc2); }
@media (max-width: 1000px) { .bj-layout { grid-template-columns: 1fr; } }

/* ========== Outils : Mystery Game ========== */
.myst-wrap { max-width: 960px; margin: 0 auto; }
.myst-histwrap { margin-top: 24px; }
.myst-result[hidden] { display: none; }
.myst-stage { padding: 18px; }
.myst-reel { position: relative; height: 240px; border-radius: var(--r-lg); background: var(--bg2); overflow: hidden; }
.myst-reel::before, .myst-reel::after { content: ''; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 3; pointer-events: none; }
.myst-reel::before { left: 0; background: linear-gradient(90deg, var(--bg2) 10%, transparent); }
.myst-reel::after { right: 0; background: linear-gradient(-90deg, var(--bg2) 10%, transparent); }
.myst-reel .marker { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--acc); z-index: 4; }
.myst-reel .marker::before, .myst-reel .marker::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); border: 7px solid transparent; }
.myst-reel .marker::before { top: 0; border-top: 9px solid var(--acc); } .myst-reel .marker::after { bottom: 0; border-bottom: 9px solid var(--acc); }
.myst-reel .track { position: absolute; top: 14px; left: 0; display: flex; gap: 10px; will-change: transform; }
.mtile { width: 158px; height: 212px; flex-shrink: 0; border-radius: var(--r); overflow: hidden; background: var(--panel2); position: relative; transition: transform .35s cubic-bezier(.2,.9,.3,1.3), box-shadow .35s; }
.mtile img { width: 100%; height: 100%; object-fit: cover; }
.mtile .sl-none { width: 100%; height: 100%; }
.mtile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 8px; font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtile.win { box-shadow: 0 0 0 3px var(--acc); transform: scale(1.05); z-index: 2; }
.myst-controls { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 14px; }
.myst-controls .input { height: 50px; } #mystGo { height: 50px; min-width: 200px; font-size: 15px; }
.myst-result { display: flex; gap: 18px; align-items: center; margin-top: 14px; padding: 16px; border-radius: var(--r-lg); background: var(--panel2); animation: up .3s ease; }
.myst-result img { width: 96px; height: 128px; object-fit: cover; border-radius: var(--r); }
.myst-result small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.myst-result b { display: block; font-size: 22px; font-weight: 800; margin: 4px 0 2px; }
.myst-actions { display: flex; gap: 8px; margin-top: 12px; }
.myst-hist { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.myst-h { display: flex; align-items: center; gap: 10px; font-size: 12.5px; background: var(--panel); border-radius: var(--r-lg); padding: 10px; }
.myst-h img { width: 40px; height: 54px; object-fit: cover; border-radius: 5px; }
.myst-h > div { flex: 1; min-width: 0; } .myst-h b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .myst-h small { color: var(--muted); }
@media (max-width: 600px) { .myst-controls { grid-template-columns: 1fr; } }

/* ========== Bonus Hunt : mode ouverture ========== */
.hunt-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 12.5px; color: var(--muted); }
.hunt-progress .progress { flex: 1; height: 8px; }
.open-next { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; padding: 16px; margin-bottom: 14px; border-color: rgba(255,207,63,.45); background: radial-gradient(ellipse at 0% 50%, rgba(255,207,63,.10), transparent 50%), var(--panel); }
.open-next .sl-img { width: 90px; height: 120px; border-radius: 8px; box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.open-next small.k { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 4px; }
.open-next b { font-size: 20px; display: block; }
.open-next .meta { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.open-next .meta em { font-style: normal; color: var(--txt2); font-weight: 600; }
.open-form { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 220px; }
.open-form .input { height: 46px; font-size: 18px; font-weight: 700; text-align: center; }
.open-form .row { display: flex; gap: 6px; }
.open-form .row .btn { flex: 1; }
.hunt-done { padding: 18px; margin-bottom: 14px; text-align: center; border-color: rgba(53,196,111,.4); }
.hunt-done b { font-size: 18px; display: block; }
@media (max-width: 700px) { .open-next { grid-template-columns: 70px 1fr; } .open-form { grid-column: 1 / -1; } }

/* ========== Récompenses : wager race & bonus (style junilive) ========== */
.center { text-align: center; }
.jl-hero { text-align: center; padding: 34px 20px 26px; }
.jl-hero.small { padding: 30px 20px 18px; }
.jl-hero .kicker { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--acc2); font-weight: 800; margin-bottom: 8px; }
.jl-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.01em; line-height: 1.05; }
.jl-hero.small h1 { font-size: clamp(22px, 3vw, 32px); }
.jl-hero h1 em { font-style: normal; background: linear-gradient(90deg, #5b9dff, #33d4ff); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.jl-hero p { color: var(--muted); font-size: 14px; max-width: 560px; margin: 12px auto 0; line-height: 1.6; }
.jl-hero p b { color: var(--txt); }
.jl-hero .sub { margin-top: 14px; font-size: 14px; color: var(--txt2); } .jl-hero .sub b { color: var(--green); font-size: 17px; }
.jl-hero .row { display: flex; justify-content: center; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.jl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.jl-steps.four { grid-template-columns: repeat(4, 1fr); }
.jl-steps .card { padding: 20px; }
.jl-steps .card i { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--acc); color: #fff; font-style: normal; font-weight: 800; font-size: 13px; margin-bottom: 12px; box-shadow: 0 4px 12px rgba(43,124,255,.4); }
.jl-steps .card b { display: block; font-size: 15px; margin-bottom: 6px; }
.jl-steps .card p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.jl-steps .card.top { text-align: center; padding-top: 0; position: relative; margin-top: 14px; }
.jl-steps .card.top i { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); border-radius: 50%; margin: 0; }
.jl-steps .card.top .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(43,124,255,.14); color: var(--acc2); margin: 28px auto 12px; }
.jl-steps .card.top .ico svg { width: 22px; height: 22px; }
.dc-banner { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line2); margin-top: 16px; }
.dc-banner .dc-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--discord); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.dc-banner .dc-ico svg { width: 22px; height: 22px; }
.dc-banner > div { flex: 1; } .dc-banner b { font-size: 15px; display: block; } .dc-banner p { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.dc-banner .btn { background: var(--discord); color: #fff; }
.dc-banner.full { background: linear-gradient(90deg, #5865f2, #4752c4); border-color: transparent; box-shadow: 0 10px 30px rgba(88,101,242,.35); }
.dc-banner.full .dc-ico { background: rgba(255,255,255,.18); } .dc-banner.full p { color: rgba(255,255,255,.8); }
.dc-banner.full .btn { background: #fff; color: #3b45c9; }
/* wager race (style Gamba) */
.race-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 14px; }
.rb-dates { display: inline-flex; align-items: center; gap: 8px; background: var(--panel2); border-radius: var(--r); padding: 0 14px; height: 40px; font-size: 13px; font-weight: 700; color: var(--txt2); width: fit-content; } .rb-dates svg { width: 15px; height: 15px; color: var(--muted); }
.race-bar h1 { font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; text-align: center; }
.rb-pool { justify-self: end; background: var(--panel2); border-radius: var(--r); padding: 0 14px; height: 40px; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--txt2); } .rb-pool b { color: var(--green); font-size: 15px; }
.race-stage { position: relative; padding: 34px 20px 24px; margin-bottom: 14px; overflow: hidden; background: var(--panel); }
.race-stage::before { content: ''; position: absolute; inset: 0; background: url('../assets/banner/page-wagerrace.jpg') center / cover no-repeat; opacity: .55; }
.race-stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,16,32,.35), rgba(10,16,32,.75) 70%, rgba(21,32,56,.95)); }
.race-stage > * { position: relative; z-index: 1; }
.podium3 { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 14px; align-items: end; max-width: 780px; margin: 14px auto 0; }
.pod3 { --pc: #c9d0de; position: relative; background: rgba(10,16,32,.78); border: 1px solid rgba(255,255,255,.07); border-top: 3px solid var(--pc); border-radius: var(--r-lg); padding: 30px 14px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pod3.first { --pc: #fdcd2b; padding-top: 34px; padding-bottom: 18px; background: rgba(10,16,32,.86); }
.pod3.third { --pc: #e08b3a; }
.pod3 .rank { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 5px 12px; border-radius: 20px; background: var(--pc); color: #11131c; white-space: nowrap; }
.pod3 .rank svg { width: 14px; height: 14px; }
.pod3 .pav { width: 74px; height: 74px; border-radius: 50%; background: var(--panel3); border: 3px solid var(--pc); box-shadow: 0 0 0 5px color-mix(in srgb, var(--pc) 22%, transparent); display: grid; place-items: center; font-size: 28px; font-weight: 800; color: #fff; overflow: hidden; }
.pod3.first .pav { width: 96px; height: 96px; font-size: 36px; }
.pod3 .pav img { width: 100%; height: 100%; object-fit: cover; }
.pod3 > b { font-size: 15px; margin-top: 12px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pod3.first > b { font-size: 17px; }
.pod3 > small { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 8px; }
.pod3 .wg { font-size: 14px; font-weight: 700; color: var(--txt2); margin-top: 2px; }
.pod3 em { font-style: normal; width: 100%; margin-top: 12px; background: var(--pc); color: #11131c; border-radius: 6px; padding: 8px 10px; font-weight: 800; font-size: 17px; display: flex; flex-direction: column; line-height: 1.1; }
.pod3 em small { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; opacity: .75; margin-bottom: 2px; }
.pod3.first em { font-size: 21px; padding: 10px; }
.race-ends { text-align: center; margin-top: 22px; font-size: 13px; color: var(--muted); font-weight: 600; display: flex; flex-direction: column; gap: 4px; align-items: center; } .race-ends b { color: var(--txt); font-size: 16px; font-variant-numeric: tabular-nums; margin-left: 6px; } .race-ends .muted { font-size: 11.5px; font-weight: 500; }
.race-actions { display: flex; justify-content: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.race-table { padding: 8px 12px 6px; }
.rt-head, .rt-row { display: grid; grid-template-columns: 52px 1fr 200px 160px; align-items: center; gap: 10px; }
.rt-head span:first-child { grid-column: 1 / 3; }
.rt-head { padding: 10px 14px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--txt2); }
.rt-head span:nth-child(2) { text-align: center; } .rt-head span:nth-child(3) { text-align: right; }
.rt-row { height: 52px; background: var(--panel2); border-radius: var(--r); margin-bottom: 6px; padding: 0 6px 0 6px; font-size: 14px; font-weight: 700; }
.rt-row.me { background: rgba(30,127,224,.18); box-shadow: inset 0 0 0 1px var(--acc); }
.rt-row .pos { width: 40px; height: 40px; border-radius: 5px; background: var(--panel3); display: grid; place-items: center; font-size: 13px; }
.rt-row .pl { display: flex; align-items: center; } .rt-row .pl i { width: 30px; height: 30px; border-radius: 5px; background: var(--panel3); display: grid; place-items: center; font-style: normal; font-size: 12px; margin-right: 10px; } .rt-row .pl small { color: var(--acc2); font-size: 11px; margin-left: 8px; }
.rt-row .wg { text-align: center; } .rt-row .pz { text-align: right; padding-right: 8px; color: var(--txt); }
.race-table .empty { padding: 20px; text-align: center; color: var(--muted); }
@media (max-width: 800px) { .race-bar { grid-template-columns: 1fr; } .rb-pool { justify-self: start; } .rt-head, .rt-row { grid-template-columns: 44px 1fr 110px 90px; } .podium3 { gap: 8px; } }
/* passage de rang */
.hexa { position: relative; width: 44px; height: 48px; display: inline-grid; place-items: center; flex-shrink: 0; }
.hexa svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hexa b { position: relative; color: var(--hc); font-weight: 900; font-size: 15px; }
.rk-sec { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-bottom: 16px; background-image: radial-gradient(ellipse at 0% 0%, color-mix(in srgb, var(--hc) 10%, transparent), transparent 45%); }
.rk-sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.rk-sec-head .hexa { width: 60px; height: 66px; } .rk-sec-head .hexa b { font-size: 22px; }
.rk-sec-head h2 { font-size: 28px; font-weight: 900; letter-spacing: .01em; }
.rk-sec-head > div > span { display: block; font-size: 13px; color: var(--green); font-weight: 700; margin-top: 2px; }
.rk-sec-head > div { flex: 1; }
.rk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rk-card { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.rk-top { display: flex; align-items: center; gap: 12px; }
.rk-top small { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.rk-top b { font-size: 17px; }
.rk-amt { font-size: 30px; font-weight: 900; color: var(--green); margin: 10px 0 14px; }
.rk-sec.diamond { padding: 22px; } .rk-sec.diamond .rk-sec-head { margin-bottom: 0; }
.rk-sec.diamond .rk-sec-head > div > span { color: var(--muted); font-weight: 500; font-size: 13px; max-width: 520px; }
.rk-table th { background: rgba(43,124,255,.08); color: var(--acc2); }
.rk-table td:nth-child(n+2), .rk-table th:nth-child(n+2) { text-align: right; }
/* double weekly */
.warn-box { border: 1.5px solid rgba(255,207,63,.7); border-radius: 16px; padding: 26px; margin-bottom: 20px; background: radial-gradient(ellipse at 0% 0%, rgba(255,207,63,.08), transparent 50%), var(--panel); box-shadow: 0 0 40px rgba(255,207,63,.08); }
.warn-pill { display: inline-block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--gold); border: 1px solid rgba(255,207,63,.5); border-radius: 20px; padding: 5px 12px; margin-bottom: 14px; }
.warn-box h2 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.warn-box > p { color: var(--txt2); font-size: 13.5px; margin-bottom: 14px; } .warn-box > p b { color: var(--gold); }
.warn-steps { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.warn-steps div { display: flex; align-items: center; gap: 12px; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-weight: 700; font-size: 14px; }
.warn-steps i { width: 26px; height: 26px; border-radius: 6px; background: var(--gold); color: #1a1400; font-style: normal; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.cta-center { text-align: center; padding: 30px 20px; }
.cta-center h2 { font-size: 26px; font-weight: 800; } .cta-center p { color: var(--muted); margin: 8px 0 18px; font-size: 13.5px; }
.cta-center .row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
/* 140€ offerts */
.casinos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.casino { padding: 0; display: flex; flex-direction: column; border-top: 3px solid var(--cc); }
.cs-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cs-head > div { flex: 1; min-width: 0; } .cs-head b { display: block; font-size: 16px; } .cs-head small { font-size: 12px; color: var(--muted); font-weight: 600; }
.cs-logo { width: 42px; height: 42px; border-radius: var(--r); background: var(--cc); color: #fff; font-weight: 900; font-size: 13px; display: grid; place-items: center; flex-shrink: 0; }
.cs-rank { font-size: 12px; font-weight: 800; color: var(--muted); background: var(--panel3); padding: 4px 8px; border-radius: 4px; }
.cs-body { padding: 18px; flex: 1; }
.cs-bonus { display: flex; align-items: baseline; gap: 8px; } .cs-bonus b { font-size: 40px; font-weight: 800; line-height: 1; color: var(--cc); } .cs-bonus span { font-size: 15px; font-weight: 700; color: var(--txt2); }
.cs-sub { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-top: 6px; text-transform: uppercase; letter-spacing: .04em; }
.cs-deal { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: var(--r); background: var(--panel2); font-size: 13.5px; font-weight: 700; } .cs-deal svg { width: 16px; height: 16px; color: var(--cc); flex-shrink: 0; }
.cs-foot { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 0 18px 18px; }
.given { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 18px 22px; margin-top: 14px; }
.given > div b { display: block; font-size: 34px; font-weight: 800; line-height: 1; color: var(--acc2); } .given > div span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); margin-top: 4px; }
.given p { font-size: 13.5px; color: var(--muted); } .given p b { color: var(--txt2); }
@media (max-width: 700px) { .casinos { grid-template-columns: 1fr; } .given { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .podium { padding: 0; } .rk-cards { grid-template-columns: 1fr; } .jl-steps.four { grid-template-columns: 1fr 1fr; } .rl-cols, .rl-row { grid-template-columns: 50px 1fr 130px 90px; } }
@media (max-width: 700px) { .podium { grid-template-columns: 1fr; } .casinos { grid-template-columns: 1fr; } .jl-steps, .jl-steps.four { grid-template-columns: 1fr; } .race-head { flex-direction: column; align-items: flex-start; } .rl-cols { display: none; } .rl-row { grid-template-columns: 40px 1fr; height: auto; padding: 10px 14px; } .rl-row .rw, .rl-row .rg { grid-column: 2; text-align: left; } }

.wheel-admin { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.wheel-admin .btn { height: 32px; font-size: 12px; }
.bonus-steps { list-style: none; counter-reset: st; display: flex; flex-direction: column; gap: 12px; }
.bonus-steps li { counter-increment: st; display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 13px; align-items: start; }
.bonus-steps li::before { content: counter(st); width: 28px; height: 28px; border-radius: 7px; background: var(--acc); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.bonus-steps li::before { grid-row: span 2; } .bonus-steps li b { display: block; margin-bottom: 2px; grid-column: 2; } .bonus-steps li span { color: var(--muted); font-size: 12.5px; display: block; grid-column: 2; line-height: 1.5; }
.myst-result > div { flex: 1; min-width: 0; }
.myst-result b { overflow-wrap: anywhere; }
@media (max-width: 600px) { .myst-result { flex-direction: column; text-align: center; } .myst-actions { justify-content: center; flex-wrap: wrap; } }

/* ========== Meilleur bonus ========== */
.bb-hero { height: 260px; }
.bb-hero .kicker, .bb-h .kicker, .bb-loss .kicker { display: block; font-size: 12px; font-weight: 700; color: var(--acc2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.bb-hero .ph-text { max-width: 620px; }
.bb-hero .row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.bb-code { background: rgba(10,16,32,.78); border-radius: var(--r-lg); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 190px; }
.bb-code span { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.bb-code b { font-size: 26px; font-weight: 800; letter-spacing: .08em; color: var(--gold); }
.bb-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.bb-stat { background: var(--panel); border-radius: var(--r-lg); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.bb-stat i { width: 40px; height: 40px; border-radius: var(--r); background: var(--panel3); color: var(--acc); display: grid; place-items: center; flex-shrink: 0; } .bb-stat i svg { width: 20px; height: 20px; }
.bb-stat span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.bb-stat b { display: block; font-size: 20px; font-weight: 800; line-height: 1.15; }
.bb-sec { margin-top: 34px; }
.bb-h { margin-bottom: 14px; } .bb-h h2 { font-size: 22px; } .bb-h p { color: var(--muted); font-size: 14px; margin-top: 4px; max-width: 720px; }
.bb-offer { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; margin-top: 28px; }
.bb-offer-l { padding: 24px; display: flex; flex-direction: column; }
.bb-offer-l .tag { width: fit-content; }
.bb-offer-l h2 { font-size: 34px; font-weight: 800; margin: 12px 0 4px; line-height: 1.05; }
.bb-offer-l > p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.bb-steps { list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bb-steps li { display: flex; gap: 12px; align-items: center; background: var(--panel2); border-radius: var(--r); padding: 11px 12px; }
.bb-steps li i { width: 30px; height: 30px; border-radius: var(--r); background: var(--acc); color: var(--acc-txt); font-style: normal; font-weight: 800; font-size: 13px; display: grid; place-items: center; flex-shrink: 0; }
.bb-steps li b { display: block; font-size: 14px; } .bb-steps li span { color: var(--muted); font-size: 12.5px; }
.bb-offer-l .row { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.bb-offer-r { padding: 0 20px 6px; display: flex; flex-direction: column; }
.bb-offer-r .card-head { padding: 16px 0 6px; font-size: 15px; }
.bb-perk { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; flex: 1; align-items: center; }
.bb-perk:last-child { border-bottom: 0; }
.bb-perk i { width: 24px; height: 24px; border-radius: 6px; background: rgba(46,243,150,.14); color: var(--green); display: grid; place-items: center; flex-shrink: 0; } .bb-perk i svg { width: 13px; height: 13px; }
.bb-perk b { display: block; font-weight: 700; } .bb-perk span { color: var(--muted); font-size: 12.5px; }
.bb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bb-card { padding: 18px; display: flex; flex-direction: column; }
.bb-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.bb-card .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: var(--panel3); color: var(--acc); } .bb-card .ico svg { width: 20px; height: 20px; }
.bb-card b { display: block; font-size: 15px; margin-bottom: 4px; } .bb-card p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.bb-card.dbl .ico { color: var(--gold); }
.bb-card .x2 { font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--gold-txt); background: var(--gold); padding: 5px 8px; border-radius: 4px; }
.bb-loss { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; padding: 24px; align-items: center; }
.bb-loss h2 { font-size: 22px; } .bb-loss p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.bb-loss-n { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bb-loss-n div { text-align: center; background: var(--panel2); border-radius: var(--r-lg); padding: 18px 10px; }
.bb-loss-n b { display: block; font-size: 36px; font-weight: 800; color: var(--acc2); } .bb-loss-n span { font-size: 12.5px; color: var(--muted); }
.bb-tablefoot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-top: 1px solid var(--line); font-size: 13.5px; flex-wrap: wrap; }
.bb-tablefoot b { color: var(--green); }
table.cmp th, table.cmp td { text-align: center; } table.cmp th:first-child, table.cmp td:first-child { text-align: left; white-space: normal; }
table.cmp td, table.cmp th { padding: 12px 14px; }
table.cmp .gm { background: rgba(39,151,255,.08); } table.cmp th.gm { color: var(--acc2); }
.cmp-x { display: inline-block; color: var(--gold-txt); background: var(--gold); font-weight: 800; font-size: 11px; padding: 4px 8px; border-radius: 4px; } .cmp-y { color: var(--green); display: inline-grid; } .cmp-y svg { width: 16px; height: 16px; } .cmp-n { color: var(--muted2); font-weight: 700; }
.bb-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.bb-three .card { padding: 20px; } .bb-three .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: var(--panel3); color: var(--acc); margin-bottom: 12px; } .bb-three .ico svg { width: 20px; height: 20px; }
.bb-three b { display: block; font-size: 15px; margin-bottom: 6px; } .bb-three p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { padding: 0 18px; } .faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--acc2); font-size: 20px; font-weight: 700; } .faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); font-size: 13.5px; line-height: 1.6; padding-bottom: 14px; }
.dc-banner { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.dc-banner .dc-ico { width: 44px; height: 44px; border-radius: var(--r); background: var(--panel3); color: #8b95ff; display: grid; place-items: center; flex-shrink: 0; } .dc-banner .dc-ico svg { width: 22px; height: 22px; }
.dc-banner > div { flex: 1; } .dc-banner b { font-size: 15px; display: block; } .dc-banner p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.dc-banner .btn { background: #5865f2; color: #fff; }
@media (max-width: 1100px) { .bb-grid { grid-template-columns: 1fr 1fr; } .bb-offer { grid-template-columns: 1fr; } .bb-three { grid-template-columns: 1fr; } .bb-loss { grid-template-columns: 1fr; } .bb-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bb-grid { grid-template-columns: 1fr; } .bb-stats { grid-template-columns: 1fr; } .bb-hero { height: auto; padding: 24px 16px; } .bb-hero .ph-right { display: none; } }

.foot-logo { height: 28px; width: auto; margin-bottom: 12px; filter: drop-shadow(0 0 10px rgba(91,157,255,.35)); }

.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .steps.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .steps.four { grid-template-columns: 1fr; } }

/* ========== Passage de rang : finitions junilive ========== */
.rk-hero { padding-bottom: 34px; margin-bottom: 26px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, rgba(43,124,255,.10), transparent 60%); }
.rk-sec { padding: 26px; border-radius: 18px; }
.rk-sec-head h2 { font-size: 30px; }
.rk-card { padding: 20px; border-radius: 14px; }
.rk-amt { font-size: 32px; margin: 12px 0 16px; }
.rk-card .btn-green { height: 44px; border-radius: 8px; font-size: 12.5px; }
.rk-sec.diamond { background: linear-gradient(135deg, rgba(43,124,255,.10), transparent 60%), var(--panel); border-color: rgba(43,124,255,.35); }
.rk-sec.diamond .rk-sec-head .btn { background: linear-gradient(180deg, #3f8bff, #2470f0); height: 44px; padding: 0 20px; }
.rk-tablewrap { overflow: hidden; border-radius: 12px; border-color: var(--line2); }
.rk-table th { background: rgba(43,124,255,.10); color: var(--acc2); padding: 12px 16px; font-size: 11px; }
.rk-table td { padding: 14px 16px; font-size: 13.5px; }
.rk-table td:first-child b { font-size: 13.5px; }
.rk-table .pos { color: var(--green); font-weight: 800; }
.rk-table .tot { background: rgba(43,124,255,.06); }
.rk-table .tot b { font-size: 14px; }
.rk-table tr.dia td { background: rgba(43,124,255,.06); }
.rk-table tr.dia td.tot { background: rgba(43,124,255,.10); }
.rk-foot { padding: 16px; font-size: 13.5px; border-top: 1px solid var(--line); background: rgba(43,124,255,.04); }

/* ========== Wallet & loterie ========== */
.wallet .xp { color: var(--green); }
.wl-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wl-methods label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 8px; cursor: pointer; background: var(--bg2); }
.wl-methods label.off { opacity: .5; cursor: not-allowed; }
.wl-methods input { accent-color: var(--acc); }
.wl-methods b { display: block; font-size: 13px; } .wl-methods small { color: var(--muted); font-size: 11.5px; }
.lot-stats { display: none; }
.lot-stats .card { padding: 14px 16px; }
.lot-stats small { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted2); font-weight: 700; }
.lot-stats b { display: block; font-size: 26px; font-weight: 800; margin: 4px 0 2px; } .lot-stats span { font-size: 11.5px; color: var(--muted); }
.lot-winners { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lot-winners > div { display: flex; align-items: center; gap: 8px; background: var(--bg2); border: 1px solid rgba(255,207,63,.4); border-radius: 8px; padding: 8px 12px; font-size: 13px; }
.lot-winners i { font-style: normal; font-size: 11px; color: var(--gold); font-weight: 800; } .lot-winners span { color: var(--green); font-weight: 800; }
@media (max-width: 1000px) { .lot-stats { grid-template-columns: 1fr 1fr; } }

.wl-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; overflow: hidden; border-color: var(--line2); }
.wl-left { padding: 30px 30px 26px; background: radial-gradient(ellipse at 0% 0%, rgba(53,196,111,.16), transparent 55%), linear-gradient(135deg, var(--panel2), var(--panel)); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.wl-left > small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.wl-left > b { font-size: clamp(40px, 4.5vw, 60px); font-weight: 900; color: var(--green); letter-spacing: -.02em; line-height: 1.05; margin: 6px 0 10px; text-shadow: 0 0 30px rgba(53,196,111,.35); }
.wl-sub { display: flex; align-items: center; gap: 14px; font-size: 12px; flex-wrap: wrap; }
.wl-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; padding-top: 22px; }
.wl-kpis div { background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.wl-kpis span { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted2); font-weight: 700; }
.wl-kpis b { font-size: 16px; font-weight: 800; }
.wl-right { padding: 24px 26px; }
.wl-right h3 { font-size: 15px; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; } .wl-right h3 svg { width: 16px; height: 16px; color: var(--green); }
.wl-amt { position: relative; display: flex; align-items: center; gap: 8px; }
.wl-amt .prefix { position: absolute; left: 14px; font-weight: 800; color: var(--muted); font-size: 18px; }
.wl-amt .input { height: 54px; font-size: 24px; font-weight: 800; padding-left: 34px; }
.wl-chips { display: flex; gap: 6px; margin: 8px 0 12px; }
.wl-chips button { flex: 1; height: 32px; border-radius: 8px; border: 1px solid var(--line2); background: var(--bg2); font-weight: 700; font-size: 12.5px; color: var(--txt2); }
.wl-chips button:hover:not(:disabled) { border-color: var(--green); color: var(--green); } .wl-chips button:disabled { opacity: .35; cursor: not-allowed; }
.wl-hist { display: flex; flex-direction: column; gap: 8px; }
.wl-row { display: grid; grid-template-columns: 42px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 14px; }
.wl-row .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--panel2); display: grid; place-items: center; color: var(--muted); overflow: hidden; } .wl-row .ic svg { width: 18px; height: 18px; } .wl-row .ic img { width: 100%; height: 100%; object-fit: contain; }
.wl-row.in .ic { color: var(--green); }
.wl-row .t b { display: block; font-size: 13.5px; } .wl-row .t small { color: var(--muted); font-size: 11.5px; }
.wl-row .v { font-size: 16px; font-weight: 800; min-width: 90px; text-align: right; } .wl-row.in .v { color: var(--green); }
.footer .inner { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }

.lot-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.lot-kpi { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.lot-kpi > i { width: 42px; height: 42px; border-radius: var(--r); background: var(--panel3); color: var(--acc); display: grid; place-items: center; flex-shrink: 0; } .lot-kpi > i svg { width: 20px; height: 20px; }
.lot-kpi.me > i { color: var(--gold); }
.lot-kpi small { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.lot-kpi b { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; margin: 2px 0; } .lot-kpi b.gold { color: var(--gold); } .lot-kpi span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.lot-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: start; }
.lot-me, .lot-prizes-card { padding: 0; }
.lot-me .card-head, .lot-prizes-card .card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; } .lot-prizes-card .card-head .muted { font-size: 12px; }
.lot-me .card-body { padding: 16px 18px; }
.lot-prog-head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; font-weight: 600; } .lot-prog-head b { color: var(--txt); }
.lot-prog-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; font-weight: 600; } .lot-prog-foot b { color: var(--gold); }
.lot-tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; }
.lot-ticket { position: relative; background: var(--panel2); border-radius: 6px; padding: 10px 12px 10px 18px; border-left: 4px solid var(--gold); }
.lot-ticket::before, .lot-ticket::after { content: ''; position: absolute; left: -10px; width: 12px; height: 12px; border-radius: 50%; background: var(--panel); } .lot-ticket::before { top: -6px; } .lot-ticket::after { bottom: -6px; }
.lot-ticket span { display: block; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.lot-ticket b { display: block; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--gold); margin: 2px 0; }
.lot-ticket small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lot-ticket.more { border-left-color: var(--line2); display: flex; flex-direction: column; justify-content: center; } .lot-ticket.more b { color: var(--txt); } .lot-ticket.more small { white-space: normal; }
.lot-prizes { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; }
.lot-prize { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; background: var(--panel2); border-radius: var(--r); padding: 10px 12px; }
.lot-prize .pl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .lot-prize .imgs { display: flex; gap: 4px; } .lot-prize .pi { position: relative; width: 44px; height: 44px; background: var(--bg2); border-radius: 5px; display: grid; place-items: center; } .lot-prize .pi img { width: 34px; height: 34px; object-fit: contain; } .lot-prize .pi i { position: absolute; right: 1px; bottom: 1px; width: auto; height: auto; display: block; font-style: normal; font-size: 10px; line-height: 1.2; font-weight: 800; background: var(--panel3); color: #fff; padding: 1px 4px; border-radius: 3px; }
.lot-prize .pl b { flex: 1; } .lot-prize .pl span { width: 100%; }
.lot-prize i { width: 34px; height: 34px; border-radius: 5px; background: var(--panel3); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; color: var(--txt2); }
.lot-prize.first i { background: var(--gold); color: var(--gold-txt); } .lot-prize.second i { background: #c9d0de; color: #11131c; } .lot-prize.third i { background: #e08b3a; color: #11131c; }
.lot-prize b { font-size: 15px; font-weight: 800; } .lot-prize.first b { color: var(--gold); } .lot-prize span { font-size: 12px; color: var(--muted); font-weight: 600; }
.lot-table td, .lot-table th { padding: 12px 14px; } .lot-table tr.me td { background: rgba(30,127,224,.12); }
@media (max-width: 1000px) { .lot-kpis { grid-template-columns: 1fr 1fr; } .lot-top { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .lot-top { grid-template-columns: 1fr; } .lot-side { grid-template-rows: none; grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 600px) { .lot-side { grid-template-columns: 1fr; } .lot-me-head { flex-direction: column; } .lot-chance { text-align: left; } }

/* ========== Récap ouverture ========== */
.recap { text-align: center; padding: 28px 24px 22px; }
.recap.big { background: var(--panel); }
.recap-kicker { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; margin-bottom: 6px; }
.recap h2 { font-size: 20px; margin-bottom: 18px; }
.recap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; }
.recap-grid.one { grid-template-columns: 200px; justify-content: center; }
.recap-item { background: var(--panel2); border-radius: var(--r); padding: 10px 8px; animation: resPop .4s cubic-bezier(.2,.9,.3,1.3) both; position: relative; overflow: hidden; }
.recap-item::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rc); }
.recap-item .im { height: 84px; display: grid; place-items: center; margin-bottom: 8px; } .recap-grid.one .im { height: 150px; }
.recap-item img { max-height: 84px; max-width: 80%; object-fit: contain; } .recap-grid.one .im img { max-height: 150px; } /* hauteur explicite : 100 % d'une cellule de grille auto = aucune limite */
.recap-item b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recap-item small { display: block; font-size: 11px; font-weight: 700; margin-top: 2px; }
.recap-total { display: flex; justify-content: center; gap: 12px; margin: 18px 0 16px; }
.recap-total > div { flex: 1; max-width: 220px; background: var(--panel2); border-radius: var(--r); padding: 12px; }
.recap-total span { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.recap-total b { font-size: 20px; font-weight: 800; }
.recap-actions { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.modal.win { max-width: 640px; }

/* Réclamer / récupérer : toujours en vert */
[data-claim], [data-bp], #doClaim, #wdBtn, [data-claim-ok], [data-wd-ok], .btn-green { background: var(--green) !important; color: #fff !important; }
[data-claim]:hover, [data-bp]:hover, #doClaim:hover, #wdBtn:hover, .btn-green:hover { filter: brightness(1.06); }
#wdBtn:disabled { background: var(--panel3) !important; color: var(--muted) !important; }
/* Ouvrir une caisse : toujours en vert, texte blanc */
[data-open], #openBtn { background: var(--green) !important; color: #fff !important; }
[data-open]:hover, #openBtn:hover { filter: brightness(1.06); }
#openBtn:disabled { background: var(--panel3) !important; color: var(--muted) !important; filter: none; }

/* ========== Dashboard admin ========== */
.adm-title { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin: 0 0 8px; }
.adm-todo { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 20px; }
.adm-kpi { display: flex; align-items: center; gap: 12px; background: var(--panel); border-radius: var(--r-lg); padding: 14px; text-align: left; color: var(--txt); border-left: 3px solid var(--line2); transition: background .12s; }
.adm-kpi:hover, .adm-kpi.active { background: var(--panel2); }
.adm-kpi i { width: 40px; height: 40px; border-radius: var(--r); background: var(--panel3); display: grid; place-items: center; color: var(--muted); flex-shrink: 0; } .adm-kpi i svg { width: 20px; height: 20px; }
.adm-kpi b { display: block; font-size: 22px; font-weight: 800; line-height: 1; } .adm-kpi span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.adm-kpi.has.gold { border-left-color: var(--gold); } .adm-kpi.has.gold i { color: var(--gold); }
.adm-kpi.has.red { border-left-color: var(--red); } .adm-kpi.has.red i { color: var(--red); }
.adm-kpi.has.blue { border-left-color: var(--acc); } .adm-kpi.has.blue i { color: var(--acc2); }
.adm-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 20px; }
.adm-stat { background: var(--panel); border-radius: var(--r-lg); padding: 14px 16px; } .adm-stat b { display: block; font-size: 20px; font-weight: 800; line-height: 1.1; } .adm-stat span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.adm-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.adm-card { padding: 0; display: flex; flex-direction: column; }
.adm-card .card-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; } .adm-card .card-head svg { width: 18px; height: 18px; color: var(--acc); } .adm-card .card-head .tag { margin-left: auto; }
.adm-card .card-body { padding: 16px 18px; flex: 1; }
.adm-form { display: grid; gap: 10px; align-items: end; } .adm-form.c4 { grid-template-columns: 1.4fr 1fr .6fr auto; } .adm-form.c3 { grid-template-columns: 1fr auto auto; }
.adm-form label { display: block; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.adm-form .input { height: 42px; width: 100%; } .adm-form .btn { height: 42px; }
.adm-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; } .adm-mini div { background: var(--panel2); border-radius: var(--r); padding: 10px 12px; } .adm-mini b { display: block; font-size: 17px; font-weight: 800; } .adm-mini span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.adm-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; line-height: 1.5; } .adm-note b { color: var(--txt2); }
.adm-note .lnk { color: var(--acc2); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; } .adm-note .lnk:hover { color: var(--txt); }
.adm-tabs { display: flex; gap: 4px; background: var(--panel); border-radius: var(--r-lg); padding: 6px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.adm-tabs button { height: 40px; padding: 0 16px; border-radius: 5px; font-weight: 700; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.adm-tabs button.active { background: var(--panel3); color: var(--txt); }
.adm-tabs .n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 4px; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; } .adm-tabs .n.gold { background: var(--gold); color: var(--gold-txt); } .adm-tabs .n.red { background: var(--red); color: #fff; }
.adm-body { padding: 8px 18px 14px; overflow-x: auto; }
.adm-body .atable th { padding: 12px 10px; } .adm-body .atable td { padding: 12px 10px; font-size: 13px; }
.adm-body .atable tbody tr:hover td { background: var(--panel2); }
.adm-body h4 { font-size: 14px; margin: 14px 0 6px; } .adm-body .empty { padding: 30px; text-align: center; color: var(--muted); }
.adm-body .arow { padding: 12px 0; font-size: 13px; }
@media (max-width: 1100px) { .adm-todo, .adm-stats { grid-template-columns: repeat(3, 1fr); } .adm-tools { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .adm-todo, .adm-stats { grid-template-columns: 1fr 1fr; } .adm-form.c4, .adm-form.c3 { grid-template-columns: 1fr; } }

/* Sous-catégories de la sidebar : fond plus foncé */
.side-group.open .sg-body { background: var(--bg); border-radius: var(--r); margin: 2px 0 6px; padding: 4px; }
.sg-body .side-link { padding-left: 12px; }
.sg-body .side-link:hover { background: var(--panel); }
.sg-body .side-link.active { background: var(--panel3); }
body.collapsed .side-group .sg-body { background: var(--panel2); margin: 0; }

/* Pas d'icônes à côté des titres */
.page h1 > svg, .page h2 > svg, .page h3 > svg, .modal-head h3 > svg, .section-head h2 > svg, .ph-text h1 > svg { display: none; }

.avatar { overflow: hidden; } .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.sm { width: 26px; height: 26px; font-size: 11px; border-radius: 5px; }

/* Champ de recherche générique (bonus hunt, etc.) */
.nav-search { display: flex; align-items: center; gap: 10px; background: var(--bg2); border-radius: var(--r); padding: 0 14px; height: 45px; color: var(--muted); }
.nav-search svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-search input { background: none; border: 0; outline: 0; color: var(--txt); font-family: inherit; font-size: 14px; flex: 1; min-width: 0; font-weight: 500; }

/* ========== Daily Wheel : mise en page ========== */
.wheel-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; align-items: start; }
.wheel-stage { background: var(--panel); padding: 28px 20px 24px; }
.wheel-side { display: flex; flex-direction: column; gap: 14px; }
.wheel-side .card-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; } .wheel-side .card-head .muted { font-size: 12px; }
.wh-status { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-left: 3px solid var(--acc); }
.wh-status.ready { border-left-color: var(--green); }
.wh-status i { width: 44px; height: 44px; border-radius: var(--r); background: var(--panel3); color: var(--acc2); display: grid; place-items: center; flex-shrink: 0; } .wh-status.ready i { color: var(--green); } .wh-status i svg { width: 22px; height: 22px; }
.wh-status small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.wh-status b { display: block; font-size: 22px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; } .wh-status.ready b { color: var(--green); }
.wh-status span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.wh-lots { padding: 6px 10px 8px; }
.wh-lot { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 6px; border-bottom: 1px solid var(--line); } .wh-lot:last-child { border-bottom: 0; }
.wh-lot .im { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; gap: 1px; background: var(--panel2); border-radius: var(--r); padding: 4px; } .wh-lot .im img { max-width: 100%; max-height: 100%; object-fit: contain; } .wh-lot.jackpot .im img { width: 33%; }
.wh-lot .tx b { display: block; font-size: 13px; } .wh-lot .tx span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.wh-lot .bar { height: 4px; border-radius: 2px; background: var(--bg2); overflow: hidden; margin-top: 5px; } .wh-lot .bar i { display: block; height: 100%; background: var(--muted2); }
.wh-lot.case .bar i { background: var(--green); } .wh-lot.jackpot .bar i { background: var(--gold); }
.wh-lot em { font-style: normal; font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; } .wh-lot.case em { color: var(--green); } .wh-lot.jackpot em { color: var(--gold); }
@media (max-width: 1100px) { .wheel-layout { grid-template-columns: 1fr; } }

/* ========== Battlepass : style jeu mobile ========== */
.bp-claim-all { display: flex; align-items: center; gap: 8px; background: var(--green); color: #fff; border-radius: var(--r); padding: 10px 16px; font-weight: 700; font-size: 14px; animation: bpGlow 1.6s ease-in-out infinite; } .bp-claim-all svg { width: 18px; height: 18px; } .bp-claim-all b { font-size: 18px; }
.bp-summary { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 18px 22px; margin-bottom: 14px; }
.bp-lvl { display: flex; align-items: center; gap: 14px; }
.bp-lvl .ring { --p: 0; width: 74px; height: 74px; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--p) * 1%), var(--panel3) 0); display: flex; align-items: baseline; justify-content: center; gap: 3px; padding-top: 24px; position: relative; flex-shrink: 0; }
.bp-lvl .ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--panel); }
.bp-lvl .ring b { position: relative; font-size: 24px; font-weight: 800; line-height: 1; } .bp-lvl .ring small { position: relative; font-size: 10px; color: var(--muted); font-weight: 700; margin-left: 2px; }
.bp-lvl > div small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; } .bp-lvl > div b { font-size: 17px; }
.bp-prog-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 8px; } .bp-prog-head b { color: var(--txt); }
.bp-prog-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 8px; } .bp-prog-foot b { color: var(--gold); }
.bp-stat { text-align: right; } .bp-stat small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; } .bp-stat b { font-size: 26px; font-weight: 800; } .bp-stat em { font-style: normal; font-size: 13px; color: var(--muted); margin-left: 3px; }
.bp-trackcard { padding: 0; }
.bp-track-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; } .bp-track-head .muted { font-size: 12px; }
.bp-scroll { padding: 26px 18px 18px; }
.bp-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 14px; padding-top: 18px; }
.bp-node::before { content: ''; position: absolute; top: -3px; left: 50%; width: calc(100% + 14px); height: 6px; border-radius: 3px; background: var(--panel3); }
.bp-node.done::before, .bp-node.claimable::before { background: var(--green); }
.bp-node:nth-child(4n)::before { display: none; }
.bp-node { position: relative; display: flex; flex-direction: column; align-items: center; }
.bp-node .dot { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--panel3); border: 3px solid var(--panel); color: var(--muted); display: grid; place-items: center; font-weight: 800; font-size: 13px; z-index: 2; } .bp-node .dot svg { width: 16px; height: 16px; }
.bp-node.done .dot { background: var(--green); color: #fff; } .bp-node.claimable .dot { background: var(--gold); color: var(--gold-txt); } .bp-node.next .dot { background: var(--acc); color: #fff; }
.bp-card { margin-top: 28px; width: 100%; background: var(--panel2); border-radius: var(--r-lg); padding: 12px; display: flex; flex-direction: column; align-items: center; text-align: center; border: 2px solid transparent; }
.bp-node.claimable .bp-card { border-color: var(--gold); animation: bpGlow 1.6s ease-in-out infinite; } .bp-node.next .bp-card { border-color: var(--acc); } .bp-node.done .bp-card { border-color: rgba(31,191,110,.5); }
.bp-node.locked .bp-card { opacity: .7; }
@keyframes bpGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(253,205,43,0); } 50% { box-shadow: 0 0 18px 2px rgba(253,205,43,.45); } }
.bp-card-top { width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.bp-card-top .pack { background: var(--gold); color: var(--gold-txt); padding: 2px 6px; border-radius: 4px; font-size: 10px; }
.bp-reward { position: relative; width: 100%; height: 96px; margin: 10px 0 8px; background: var(--bg2); border-radius: var(--r); display: flex; align-items: center; justify-content: center; gap: 4px; padding: 8px; }
.bp-reward img { max-height: 80px; max-width: 46%; object-fit: contain; } .bp-reward.bundle img { max-width: 32%; }
.bp-node.locked .bp-reward img { filter: grayscale(1) brightness(.5); }
.bp-reward .qty { position: absolute; right: 6px; bottom: 6px; background: var(--panel3); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 6px; border-radius: 4px; }
.bp-reward .lock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(10,16,32,.85); color: var(--muted); display: grid; place-items: center; } .bp-reward .lock svg { width: 16px; height: 16px; }
.bp-card > b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; } .bp-card > small { font-size: 11.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.bp-btn { width: 100%; margin-top: 10px; height: 38px; }
.bp-state { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; height: 34px; font-size: 12.5px; font-weight: 700; color: var(--muted); } .bp-state.done { color: var(--green); } .bp-state svg { width: 14px; height: 14px; }
.bp-sync { font-size: 12px; padding: 0 18px 16px; } .bp-sync b { color: var(--txt2); }
@media (max-width: 900px) { .bp-summary { grid-template-columns: 1fr; } .bp-stat { text-align: left; } .bp-track { grid-template-columns: 1fr 1fr; } .bp-node:nth-child(4n)::before { display: block; } .bp-node:nth-child(2n)::before { display: none; } }
/* ---- Battlepass mobile : les libellés longs (packs) ne doivent plus élargir les colonnes ---- */
.bp-node { min-width: 0; } .bp-card { min-width: 0; box-sizing: border-box; }
@media (max-width: 640px) { .bp-track-head { flex-direction: column; align-items: flex-start; gap: 4px; } .bp-scroll { padding: 22px 12px 14px; } .bp-track { gap: 30px 10px; } .bp-card { padding: 10px 8px; } .bp-card > b { font-size: 12.5px; } .bp-reward { height: 84px; } .bp-reward img { max-height: 68px; } .bp-node .dot { width: 32px; height: 32px; top: -16px; font-size: 12px; } }
/* Lots de la roue */
.wh-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.wh-tile { background: var(--panel); border-radius: var(--r-lg); padding: 12px; display: flex; flex-direction: column; border-bottom: 3px solid var(--line2); }
.wh-tile.case { border-bottom-color: var(--green); } .wh-tile.jackpot { border-bottom-color: var(--gold); }
.wh-tile .img { height: 84px; display: grid; place-items: center; margin-bottom: 8px; } .wh-tile .img img { max-height: 80px; max-width: 80%; object-fit: contain; }
.wh-tile .jackpot-img { display: flex; align-items: center; justify-content: center; gap: 2px; } .wh-tile .jackpot-img img { width: 32%; max-height: 100%; }
.wh-tile b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wh-tile .meta { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--muted); font-weight: 600; margin-top: 3px; } .wh-tile .meta em { font-style: normal; font-weight: 800; color: var(--txt); } .wh-tile.case .meta em { color: var(--green); } .wh-tile.jackpot .meta em { color: var(--gold); }
@media (max-width: 1100px) { .wh-grid { grid-template-columns: repeat(4, 1fr); } } @media (max-width: 600px) { .wh-grid { grid-template-columns: repeat(2, 1fr); } }
/* Pop-up info casino (140€) */
.cs-info .lead { font-size: 15px; font-weight: 600; margin-bottom: 10px; } .cs-info .lead b { color: var(--green); }
.cs-info .hl { background: var(--panel2); border-radius: var(--r); padding: 12px 14px; font-size: 13.5px; color: var(--txt2); margin-bottom: 12px; line-height: 1.5; } .cs-info .hl b { color: var(--acc2); }
.cs-info .rules { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.cs-info .rules li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--txt2); } .cs-info .rules svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; }
.cs-info > p { font-size: 13.5px; color: var(--muted); line-height: 1.55; } .cs-info > p b { color: var(--txt); } .cs-info > p a { color: var(--acc2); text-decoration: underline; }
.cs-info .warn { display: flex; align-items: center; gap: 10px; margin-top: 12px; background: rgba(253,205,43,.12); border-left: 3px solid var(--gold); border-radius: var(--r); padding: 10px 12px; font-size: 13px; color: var(--txt2); } .cs-info .warn svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; } .cs-info .warn b { color: var(--gold); }
.cs-info .cs-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; } .cs-info .cs-tags span { font-size: 11.5px; font-weight: 700; background: var(--panel3); padding: 5px 10px; border-radius: 4px; color: var(--txt2); }
/* ========== Stream (multiguess, duel, calls, roue) ========== */
.sv .card-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; } .sv .card-head .muted { font-size: 12px; }
/* Menu providers (Mystery Game) */
.pv-menu { position: relative; }
.pv-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 50px; width: 100%; text-align: left; font-weight: 600; color: var(--txt); cursor: pointer; } .pv-btn svg { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }
.pv-panel { position: absolute; left: 0; right: 0; top: 56px; z-index: 30; background: var(--panel2); border-radius: var(--r-lg); box-shadow: 0 16px 40px rgba(0,0,0,.45); padding: 10px; animation: up .15s ease; }
.pv-search { display: flex; align-items: center; gap: 8px; background: var(--bg2); border-radius: var(--r); padding: 0 12px; height: 40px; color: var(--muted); } .pv-search svg { width: 16px; height: 16px; } .pv-search input { background: none; border: 0; outline: 0; color: var(--txt); font-family: inherit; font-size: 13.5px; flex: 1; }
.pv-actions { display: flex; align-items: center; gap: 14px; padding: 10px 4px 6px; font-size: 12.5px; } .pv-actions .lnk { color: var(--acc2); font-weight: 700; } .pv-actions .lnk:hover { color: var(--txt); } .pv-actions .muted { margin-left: auto; font-size: 12px; }
.pv-list { max-height: 300px; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; scrollbar-width: thin; }
.pv-item { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border-radius: 5px; cursor: pointer; font-size: 13px; } .pv-item:hover { background: var(--panel3); } .pv-item.on { background: rgba(30,127,224,.14); }
.pv-item input { display: none; } .pv-item .box { width: 18px; height: 18px; border-radius: 4px; border: 2px solid var(--line2); display: grid; place-items: center; color: transparent; flex-shrink: 0; } .pv-item .box svg { width: 12px; height: 12px; } .pv-item.on .box { background: var(--acc); border-color: var(--acc); color: #fff; }
.pv-item b { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; } .pv-item small { color: var(--muted); font-size: 11.5px; }
.pv-list .empty { grid-column: 1 / -1; padding: 16px; text-align: center; color: var(--muted); font-size: 13px; }
@media (max-width: 600px) { .pv-list { grid-template-columns: 1fr; } }
/* Affiliation */
.af-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.af-card { padding: 0; } .af-card .card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; } .af-card .card-body { padding: 18px; }
.af-p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; } .af-p b { color: var(--txt); }
.af-link { display: grid; grid-template-columns: 1fr auto; gap: 8px; } .af-link .input { height: 46px; font-size: 13px; } .af-link .btn { height: 46px; }
.af-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; } .af-stats div { background: var(--panel2); border-radius: var(--r); padding: 12px; text-align: center; } .af-stats b { display: block; font-size: 22px; font-weight: 800; } .af-stats span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.af-prog { margin-top: 14px; }
.af-recent { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .af-recent small { width: 100%; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 2px; } .af-recent span { display: inline-flex; align-items: center; gap: 6px; background: var(--panel2); border-radius: 20px; padding: 4px 10px 4px 4px; font-size: 12.5px; font-weight: 600; }
.af-rewards { background: var(--panel2); border-radius: var(--r-lg); padding: 14px; margin-bottom: 14px; } .af-rewards > small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.af-rw { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .af-rw span { display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--panel); border-radius: var(--r); padding: 10px 6px; font-size: 11px; color: var(--muted); font-weight: 600; text-align: center; } .af-rw img { width: 34px; height: 34px; object-fit: contain; } .af-rw b { font-size: 17px; font-weight: 800; color: var(--txt); }
.af-rw span:first-child b { color: var(--green); }
@media (max-width: 1000px) { .af-grid { grid-template-columns: 1fr; } } @media (max-width: 600px) { .af-rw { grid-template-columns: 1fr 1fr; } .af-link { grid-template-columns: 1fr; } }

/* ========== Profil : onglets, stats, cosmétiques ========== */
.prof-sub { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; font-size: 12.5px; }
.prof-title { background: var(--panel3); color: var(--acc2); font-weight: 700; font-size: 11.5px; padding: 3px 8px; border-radius: 4px; }
.prof-actions { display: flex; gap: 8px; flex-wrap: wrap; } .prof-actions .btn svg { width: 16px; height: 16px; }
.pf .card-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; } .pf .card-head .muted { font-size: 12px; }
.pf .card-body { padding: 14px 16px; }
.pf-grid { display: grid; grid-template-columns: 1fr 300px; gap: 14px; align-items: stretch; }
.pf-kpis { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 10px; }
.pf-kpi { display: flex; align-items: center; gap: 12px; padding: 0 14px; min-height: 84px; }
.pf-best { display: flex; flex-direction: column; } .pf-best .pf-best-body, .pf-best .empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; } .pf-kpi i { width: 40px; height: 40px; border-radius: var(--r); background: var(--panel3); color: var(--acc); display: grid; place-items: center; flex-shrink: 0; } .pf-kpi i svg { width: 20px; height: 20px; }
.pf-kpi b { display: block; font-size: 19px; font-weight: 800; line-height: 1.1; white-space: nowrap; } .pf-kpi span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.pf-best-body { padding: 18px; text-align: center; } .pf-best-body img { height: 110px; object-fit: contain; } .pf-best-body b { display: block; margin-top: 8px; font-size: 15px; } .pf-best-body small { font-weight: 700; font-size: 12px; }
.pf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.pf-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } .pf-bar img { width: 40px; height: 40px; object-fit: contain; } .pf-bar > div { flex: 1; } .pf-bar .row { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 5px; } .pf-bar .row span { color: var(--muted); }
.pf-rar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); } .pf-rar div { text-align: center; background: var(--panel2); border-radius: var(--r); padding: 8px 4px; } .pf-rar i { display: block; width: 18px; height: 4px; border-radius: 2px; margin: 0 auto 6px; } .pf-rar b { display: block; font-size: 16px; font-weight: 800; } .pf-rar span { display: block; font-size: 10px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pf-rar small { font-size: 10px; color: var(--muted2); }
.pf-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; } .pf-mini div { background: var(--panel2); border-radius: var(--r); padding: 10px; text-align: center; } .pf-mini b { display: block; font-size: 20px; font-weight: 800; } .pf-mini span { font-size: 11px; color: var(--muted); font-weight: 600; }
.pf-line { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; } .pf-line:last-child { border-bottom: 0; } .pf-line span { color: var(--muted); font-weight: 600; } .pf-line b { font-weight: 800; }
.prof-accounts { margin-top: 0; }
.cos-preview { margin-bottom: 14px; } .cos-prev-body { display: flex; align-items: center; gap: 16px; padding: 18px; } .cos-prev-body b { font-size: 20px; font-weight: 800; display: block; } .cos-prev-body .prof-title { display: inline-block; margin-top: 6px; }
.cos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px; } #profBody > .card + .card { margin-top: 14px; }
.cos-item { position: relative; background: var(--panel2); border-radius: var(--r-lg); padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 2px solid transparent; color: var(--txt); text-align: center; transition: border-color .12s; }
.cos-item:not(:disabled):hover { border-color: var(--line2); } .cos-item.on { border-color: var(--green); } .cos-item.locked { opacity: .55; cursor: not-allowed; }
.cos-item b { font-size: 13px; } .cos-item small { font-size: 11px; color: var(--muted); font-weight: 600; } .cos-item.on small { color: var(--green); }
.cos-item i { position: absolute; top: 8px; right: 8px; color: var(--muted); } .cos-item i svg { width: 14px; height: 14px; }
.cos-item .avatar { width: 56px; height: 56px; font-size: 22px; } .cos-name { font-size: 16px; font-weight: 800; padding: 14px 0; } .cos-title { font-size: 13px; font-weight: 700; padding: 14px 0; color: var(--acc2); }
/* Cadres d'avatar */
.avatar { position: relative; } .avatar[class*="frame-"] { box-shadow: 0 0 0 3px var(--fc, transparent); }
.avatar.frame-blue { --fc: #1e7fe0; } .avatar.frame-green { --fc: #1fbf6e; } .avatar.frame-silver { --fc: #c9d0de; } .avatar.frame-gold { --fc: #fdcd2b; } .avatar.frame-diamond { --fc: #5ee0ff; box-shadow: 0 0 0 3px #5ee0ff, 0 0 12px rgba(94,224,255,.6); }
.avatar.frame-fire { --fc: #ff8a3d; box-shadow: 0 0 0 3px #ff8a3d, 0 0 14px rgba(255,138,61,.7); }
.avatar.frame-crown { --fc: #fdcd2b; box-shadow: 0 0 0 3px #fdcd2b, 0 0 16px rgba(253,205,43,.7); } .avatar.frame-crown::after { content: '♛'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); color: #fdcd2b; font-size: 14px; line-height: 1; }
.avatar.lg.frame-crown::after { top: -18px; font-size: 20px; }
.name-rainbow { background: linear-gradient(90deg, #ff4d5e, #fdcd2b, #2ef396, #4ea6ff, #b46bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 1000px) { .pf-grid, .pf-stats { grid-template-columns: 1fr; } .pf-kpis { grid-template-columns: 1fr 1fr; } .cos-grid { grid-template-columns: 1fr 1fr; } .pf-rar { grid-template-columns: repeat(3, 1fr); } .pf-cases { grid-template-columns: repeat(2, 1fr); } }
.pf-cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .pf-case { background: var(--panel2); border-radius: var(--r); padding: 12px 8px; text-align: center; } .pf-case img { width: 48px; height: 48px; object-fit: contain; } .pf-case b { display: block; font-size: 20px; font-weight: 800; margin-top: 4px; } .pf-case span { display: block; font-size: 12px; font-weight: 700; } .pf-case small { font-size: 11px; color: var(--muted); font-weight: 600; }
.pf-stats .card { align-self: start; } .pf-stats .card-head { min-height: 50px; }
/* ========== Atelier (HUD de craft) ========== */
.at-hud { display: grid; grid-template-columns: 320px 1fr 320px; gap: 0; overflow: hidden; }
.at-col { padding: 18px; min-width: 0; } .at-left { border-right: 1px solid var(--line); } .at-right { border-left: 1px solid var(--line); }
.at-h { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; margin-bottom: 10px; } .at-h .muted { font-size: 12px; font-weight: 600; } .at-h.sub { margin-top: 16px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.at-inv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.at-slot { position: relative; height: 88px; min-width: 0; background: var(--panel2); border-radius: var(--r); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid transparent; }
.at-slot i { width: 30px; height: 30px; border-radius: 6px; background: var(--rc); box-shadow: inset 0 -4px 0 rgba(0,0,0,.25); } .at-slot.empty i { opacity: .25; }
.at-slot b { position: absolute; right: 6px; top: 4px; font-size: 12px; font-weight: 800; } .at-slot.empty b { color: var(--muted2); } .at-slot span { font-size: 10.5px; color: var(--muted); font-weight: 700; margin-top: 2px; }
.at-slot.sm { width: 40px; height: 40px; flex-shrink: 0; } .at-slot.sm i { width: 20px; height: 20px; }
.at-recs { display: flex; flex-direction: column; gap: 6px; } .at-recs.locked { opacity: .6; }
.at-rec { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r); background: var(--panel2); border: 1px solid transparent; text-align: left; color: var(--txt); }
.at-rec:hover { border-color: var(--line2); } .at-rec.on { border-color: var(--acc); background: rgba(30,127,224,.12); }
.at-rec .tx { flex: 1; min-width: 0; } .at-rec b { display: block; font-size: 13px; } .at-rec small { font-size: 11px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.at-rec > i { color: var(--muted2); display: grid; place-items: center; } .at-rec > i.ok { color: var(--green); } .at-rec > i svg { width: 14px; height: 14px; }
.at-ic { width: 36px; height: 36px; border-radius: 6px; background: var(--panel3); color: var(--rc); display: grid; place-items: center; flex-shrink: 0; box-shadow: inset 0 0 0 1.5px var(--rc); } .at-ic svg { width: 18px; height: 18px; }
.at-none { font-size: 12.5px; color: var(--muted); padding: 10px; background: var(--panel2); border-radius: var(--r); }
.at-center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(ellipse at 50% 55%, rgba(30,127,224,.10), transparent 60%), var(--bg2); min-height: 520px; }
.at-chest { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 10px; }
.at-glow { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--rc) 30%, transparent), transparent 65%); pointer-events: none; }
.at-chestbox { position: relative; width: 220px; height: 220px; border-radius: 24px; background: var(--panel); color: var(--rc); display: grid; place-items: center; box-shadow: inset 0 0 0 3px var(--rc), 0 20px 50px rgba(0,0,0,.5); } .at-chestbox svg { width: 120px; height: 120px; }
.at-chest b { font-size: 22px; font-weight: 800; margin-top: 8px; } .at-chest small { font-size: 13px; color: var(--muted); font-weight: 600; }
.at-craft { width: 260px; height: 56px; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; } .at-craft:disabled { background: var(--panel3) !important; color: var(--muted) !important; }
.at-needs { display: flex; flex-direction: column; gap: 6px; }
.at-needrow { display: flex; align-items: center; gap: 10px; background: var(--panel2); border-radius: var(--r); padding: 8px 10px; border-left: 3px solid var(--rc); } .at-needrow .tx { flex: 1; min-width: 0; } .at-needrow b { display: block; font-size: 13px; } .at-needrow small { font-size: 11px; color: var(--muted); font-weight: 600; }
.at-needrow em { font-style: normal; font-weight: 800; font-size: 14px; color: var(--red); font-variant-numeric: tabular-nums; } .at-needrow.ok em { color: var(--green); }
.at-result { display: flex; align-items: center; gap: 12px; background: var(--panel2); border-radius: var(--r); padding: 12px; } .at-result b { display: block; font-size: 14px; } .at-result small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
@media (max-width: 1100px) { .at-hud { grid-template-columns: 1fr; } .at-left, .at-right { border: 0; border-bottom: 1px solid var(--line); } .at-center { min-height: 420px; } }
/* Atelier : dépôt + animation de craft */
.at-slot { cursor: pointer; color: var(--txt); } .at-slot:not(.empty):hover { border-color: var(--line2); } .at-slot.used { border-color: var(--rc); background: color-mix(in srgb, var(--rc) 14%, var(--panel2)); }
.at-chestbox { transition: transform .3s, box-shadow .3s; } .at-chestbox img { width: 170px; height: 170px; object-fit: contain; }
.at-cross { font-size: 96px; font-weight: 300; color: var(--line2); line-height: 1; }
.at-chest:not(.ready) .at-chestbox { box-shadow: inset 0 0 0 3px transparent; border: 3px dashed var(--line2); } .at-chest:not(.ready) .at-glow { display: none; }
.at-chest.ready .at-chestbox { animation: atPop .35s cubic-bezier(.2,.9,.3,1.3); }
.at-chest.crafting .at-chestbox { animation: atShake 1.3s ease-in-out; } .at-chest.crafting .at-glow { animation: atGlow 1.3s ease-in-out; }
.at-chest.done .at-chestbox { animation: atDone .8s ease-out; box-shadow: inset 0 0 0 3px var(--rc), 0 0 60px color-mix(in srgb, var(--rc) 60%, transparent); }
@keyframes atPop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes atShake { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-3deg) scale(1.02); } 20% { transform: rotate(3deg) scale(1.04); } 30% { transform: rotate(-4deg) scale(1.06); } 40% { transform: rotate(4deg) scale(1.08); } 50% { transform: rotate(-5deg) scale(1.1); } 60% { transform: rotate(5deg) scale(1.12); } 70% { transform: rotate(-4deg) scale(1.14); } 80% { transform: rotate(3deg) scale(1.16); } 90% { transform: rotate(-2deg) scale(1.18); } }
@keyframes atGlow { 0% { transform: translateX(-50%) scale(1); opacity: .6; } 100% { transform: translateX(-50%) scale(1.8); opacity: 1; } }
@keyframes atDone { 0% { transform: scale(1.2); } 60% { transform: scale(.95); } 100% { transform: scale(1); } }
.at-needrow { width: 100%; text-align: left; color: var(--txt); cursor: pointer; border: 1px solid transparent; } .at-needrow:not(:disabled):hover { border-color: var(--line2); } .at-needrow:disabled { cursor: not-allowed; opacity: .7; }
.at-needrow.placed { background: color-mix(in srgb, var(--rc) 14%, var(--panel2)); } .at-needrow.placed .tx small { color: var(--green); }
.at-slot.hole i { opacity: .2; border: 2px dashed var(--rc); background: transparent; }
.at-craft:not(:disabled) { animation: bpGlow 1.6s ease-in-out infinite; }
/* Atelier : caisse sans bord, animation de craft */
.at-center { position: relative; overflow: hidden; }
.at-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.at-chest { z-index: 2; } .at-center > .at-craft, .at-center > small { position: relative; z-index: 3; } .at-chest b, .at-chest small { position: relative; z-index: 3; }
.at-chest.ready .at-chestbox, .at-chest.done .at-chestbox { background: transparent; box-shadow: none; border: 0; }
.at-chest.ready .at-chestbox img { filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); animation: atFloat 3s ease-in-out infinite; }
@keyframes atFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.at-ring { position: absolute; z-index: 0; top: 120px; left: 50%; width: 220px; height: 220px; border-radius: 50%; border: 2px solid var(--rc); opacity: 0; transform: translate(-50%, -50%) scale(.4); pointer-events: none; }
.at-chest.charging .at-ring { animation: atRing 1.5s ease-in infinite; } .at-chest.charging .at-ring.r2 { animation-delay: .5s; }
@keyframes atRing { 0% { opacity: 0; transform: translate(-50%, -50%) scale(2.2); } 30% { opacity: .8; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } }
.at-chest.charging .at-chestbox img { animation: atCharge 1.5s ease-in forwards; filter: drop-shadow(0 0 20px var(--rc)); }
@keyframes atCharge { 0% { transform: scale(1) rotate(0); } 40% { transform: scale(.94) rotate(-4deg); } 60% { transform: scale(.9) rotate(5deg); } 75% { transform: scale(.86) rotate(-7deg); } 88% { transform: scale(.82) rotate(8deg); } 100% { transform: scale(.7) rotate(0); filter: brightness(2.5) drop-shadow(0 0 40px var(--rc)); } }
.at-chest.charging .at-glow { display: block; animation: atGlowIn 1.5s ease-in forwards; }
@keyframes atGlowIn { 0% { transform: translateX(-50%) scale(.6); opacity: .3; } 100% { transform: translateX(-50%) scale(1.6); opacity: 1; } }
.at-chest.boom .at-chestbox img { animation: atBoom .9s cubic-bezier(.2,.9,.3,1.3) forwards; filter: drop-shadow(0 0 30px var(--rc)); }
@keyframes atBoom { 0% { transform: scale(.6); filter: brightness(3); } 50% { transform: scale(1.3); } 100% { transform: scale(1.1); filter: brightness(1); } }
.at-flash { position: absolute; inset: -40%; z-index: 1; pointer-events: none; animation: atFlash .7s ease-out forwards; }
@keyframes atFlash { 0% { opacity: 0; transform: scale(.3); } 15% { opacity: 1; } 100% { opacity: 0; transform: scale(1.4); } }
.at-got .at-got-img { width: 200px; height: 200px; margin: 6px auto 14px; display: grid; place-items: center; animation: atGotIn .6s cubic-bezier(.2,.9,.3,1.3); } .at-got .at-got-img img { width: 170px; height: 170px; object-fit: contain; filter: drop-shadow(0 0 30px var(--rc)); }
@keyframes atGotIn { from { transform: scale(.4) rotate(-10deg); opacity: 0; } to { transform: none; opacity: 1; } }
.at-got-name { display: block; font-size: 22px; font-weight: 800; margin-top: 10px; } .at-got > small { display: block; margin: 4px 0 18px; }
/* ========== Atelier v2 : forge circulaire ========== */
.f2-wrap { display: flex; flex-direction: column; gap: 14px; }
.f2-belt { display: flex; gap: 8px; align-items: center; background: var(--panel); border-radius: var(--r-lg); padding: 10px 14px; overflow-x: auto; }
.f2-chip { display: flex; align-items: center; gap: 8px; background: var(--panel2); border-radius: 20px; padding: 6px 12px 6px 6px; font-size: 12.5px; white-space: nowrap; } .f2-chip i { width: 22px; height: 22px; border-radius: 50%; background: var(--rc); box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); } .f2-chip.empty { opacity: .45; } .f2-chip b { font-weight: 800; } .f2-chip span { color: var(--muted); font-weight: 600; }
.f2-belt-note { margin-left: auto; font-size: 11.5px; color: var(--muted2); font-weight: 600; white-space: nowrap; }
.f2-forge { position: relative; height: 560px; border-radius: var(--r-lg); background: radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--rc) 12%, transparent), transparent 55%), var(--bg2); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.f2-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.f2-ring { position: absolute; left: 50%; top: calc(50% - 20px); width: 340px; height: 340px; transform: translate(-50%, -50%) rotate(-90deg); z-index: 2; } .f2-ring circle { fill: none; stroke-width: 2.5; } .f2-ring .bg { stroke: var(--line2); } .f2-ring .fg { stroke: var(--rc); stroke-dasharray: 289; stroke-dashoffset: 289; filter: drop-shadow(0 0 6px var(--rc)); }
.f2-rays { position: absolute; left: 50%; top: calc(50% - 20px); width: 700px; height: 700px; transform: translate(-50%, -50%); background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--rc) 22%, transparent) 0 6deg, transparent 6deg 18deg); -webkit-mask: radial-gradient(circle, #000 0%, transparent 60%); mask: radial-gradient(circle, #000 0%, transparent 60%); opacity: 0; z-index: 1; pointer-events: none; }
.f2-forge.ready .f2-rays { opacity: .35; animation: f2Spin 24s linear infinite; } @keyframes f2Spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.f2-core { position: relative; z-index: 3; width: 200px; height: 200px; margin-top: -40px; display: grid; place-items: center; }
.f2-plus { width: 150px; height: 150px; border-radius: 50%; border: 2px dashed var(--line2); display: grid; place-items: center; font-size: 64px; font-weight: 300; color: var(--line2); }
.f2-core img { width: 190px; height: 190px; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,.6)); animation: f2In .5s cubic-bezier(.2,.9,.3,1.3), atFloat 3s ease-in-out .5s infinite; }
@keyframes f2In { from { transform: scale(.3) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
.f2-orbit { position: absolute; left: 50%; top: calc(50% - 20px); width: 0; height: 0; z-index: 4; }
.f2-slot { position: absolute; left: 0; top: 0; width: 92px; height: 92px; margin: -46px 0 0 -46px; transform: rotate(var(--ang)) translate(215px) rotate(calc(-1 * var(--ang))); border-radius: 50%; background: var(--panel); border: 2px dashed var(--line2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--txt); cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.f2-slot .gem { width: 26px; height: 26px; border-radius: 50%; background: var(--rc); opacity: .35; box-shadow: inset 0 -4px 0 rgba(0,0,0,.25); } .f2-slot b { font-size: 11px; font-weight: 800; } .f2-slot span { font-size: 10px; color: var(--muted); font-weight: 700; }
.f2-slot:not(:disabled):hover { border-color: var(--rc); } .f2-slot.on { border-style: solid; border-color: var(--rc); background: color-mix(in srgb, var(--rc) 16%, var(--panel)); box-shadow: 0 0 18px color-mix(in srgb, var(--rc) 50%, transparent); } .f2-slot.on .gem { opacity: 1; } .f2-slot.ko { opacity: .5; cursor: not-allowed; }
.f2-flyer { position: absolute; z-index: 2; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; pointer-events: none; transition: transform .4s cubic-bezier(.3,.7,.4,1), opacity .4s; box-shadow: 0 0 14px currentColor; }
.f2-caption { position: absolute; left: 0; right: 0; bottom: 84px; text-align: center; z-index: 3; } .f2-caption b { display: block; font-size: 20px; font-weight: 800; } .f2-caption small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.f2-craft { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 240px; height: 50px; border-radius: 25px; background: var(--panel3); color: var(--muted); font-weight: 800; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; z-index: 3; }
.f2-craft.on { background: linear-gradient(90deg, var(--green), color-mix(in srgb, var(--green) 60%, var(--rc))); color: #fff; box-shadow: 0 0 24px color-mix(in srgb, var(--green) 50%, transparent); animation: bpGlow 1.6s ease-in-out infinite; }
.f2-forge.charge .f2-core img { animation: f2Charge 1.7s ease-in forwards; } @keyframes f2Charge { 0% { transform: scale(1); filter: drop-shadow(0 0 0 var(--rc)); } 70% { transform: scale(.8) rotate(6deg); } 100% { transform: scale(.55) rotate(-8deg); filter: brightness(3) drop-shadow(0 0 50px var(--rc)); } }
.f2-forge.charge .f2-slot.on { animation: f2Drain 1.7s ease-in forwards; } @keyframes f2Drain { to { opacity: 0; transform: rotate(var(--ang)) translate(60px) rotate(calc(-1 * var(--ang))) scale(.2); } }
.f2-forge.charge .f2-rays { opacity: .8; animation: f2Spin 2s linear infinite; }
.f2-forge.burst .f2-core img { animation: f2Burst 1s cubic-bezier(.2,.9,.3,1.3) forwards; } @keyframes f2Burst { 0% { transform: scale(.5); filter: brightness(4); } 40% { transform: scale(1.5) rotate(5deg); } 100% { transform: scale(1.15); filter: brightness(1); } }
.f2-forge.burst::after { content: ''; position: absolute; inset: -20%; background: radial-gradient(circle at 50% 46%, #fff 0%, var(--rc) 12%, transparent 45%); animation: atFlash .8s ease-out forwards; z-index: 1; pointer-events: none; }
.f2-forge.burst .f2-rays { opacity: 1; animation: f2Spin 1s linear infinite, f2RayOut 1.4s ease-out forwards; } @keyframes f2RayOut { to { transform: translate(-50%, -50%) scale(1.6); opacity: 0; } }
body.f2-shake .content { animation: f2Shake .45s ease-out; } @keyframes f2Shake { 0%, 100% { transform: none; } 20% { transform: translate(-6px, 3px); } 40% { transform: translate(5px, -4px); } 60% { transform: translate(-4px, 2px); } 80% { transform: translate(3px, -2px); } }
.f2-recipes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.f2-rec { background: var(--panel); border-radius: var(--r-lg); padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--txt); border: 2px solid transparent; text-align: center; }
.f2-rec .im { position: relative; width: 80px; height: 80px; display: grid; place-items: center; } .f2-rec .im img { width: 72px; height: 72px; object-fit: contain; } .f2-rec .im i { position: absolute; right: 0; bottom: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--panel3); color: var(--muted); display: grid; place-items: center; } .f2-rec .im i svg { width: 12px; height: 12px; }
.f2-rec b { font-size: 13px; } .f2-rec small { font-size: 10.5px; color: var(--muted); font-weight: 600; line-height: 1.3; } .f2-rec.locked .im img { filter: grayscale(1) brightness(.5); } .f2-rec.on { border-color: var(--rc); background: color-mix(in srgb, var(--rc) 8%, var(--panel)); } .f2-rec:hover { border-color: var(--line2); }
.f2-modal { overflow: visible; } .f2-got { position: relative; text-align: center; padding: 30px 24px 24px; overflow: hidden; }
.f2-got-rays { position: absolute; left: 50%; top: 42%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--rc) 25%, transparent) 0 5deg, transparent 5deg 16deg); -webkit-mask: radial-gradient(circle, #000 0%, transparent 55%); mask: radial-gradient(circle, #000 0%, transparent 55%); animation: f2Spin 30s linear infinite; pointer-events: none; }
.f2-got > *:not(.f2-got-rays) { position: relative; } .f2-got h2 { font-size: 24px; margin-bottom: 10px; }
.f2-got-img { width: 220px; height: 220px; margin: 0 auto 12px; display: grid; place-items: center; } .f2-got-img img { width: 200px; height: 200px; object-fit: contain; filter: drop-shadow(0 0 34px var(--rc)); animation: f2GotIn .7s cubic-bezier(.2,.9,.3,1.3), atFloat 3s ease-in-out .7s infinite; }
@keyframes f2GotIn { 0% { transform: scale(0) rotate(-40deg); opacity: 0; } 60% { transform: scale(1.15) rotate(4deg); opacity: 1; } 100% { transform: none; } }
.f2-got > b { display: block; font-size: 24px; font-weight: 800; } .f2-got > small { display: block; color: var(--muted); margin: 4px 0 18px; }
@media (max-width: 900px) { .f2-forge { height: 520px; } .f2-slot { transform: rotate(var(--ang)) translate(150px) rotate(calc(-1 * var(--ang))); width: 76px; height: 76px; margin: -38px 0 0 -38px; } .f2-ring { width: 240px; height: 240px; } .f2-recipes { grid-template-columns: repeat(2, 1fr); } }
/* ========== Halloween ========== */
:root { --hw: #ff7a1a; --hw2: #b46bff; }
.side-group.hw > .sg-head .ic { color: var(--hw); } .side-link .badge.hw { background: var(--hw); color: #1a0a00; }
.hw-hero { position: relative; overflow: hidden; border-radius: var(--r-lg); background: radial-gradient(ellipse at 80% 20%, rgba(180,107,255,.25), transparent 50%), radial-gradient(ellipse at 15% 80%, rgba(255,122,26,.22), transparent 50%), #140f24; padding: 30px 32px; margin-bottom: 16px; }
.hw-hero-in { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hw-kicker { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--hw); font-weight: 800; margin-bottom: 4px; }
.hw-title h1 { font-size: 34px; } .hw-title p { color: #c9c2e0; font-size: 14px; max-width: 620px; margin-top: 8px; line-height: 1.5; }
.hw-count { display: flex; align-items: center; gap: 14px; background: rgba(10,16,32,.6); border-radius: var(--r-lg); padding: 14px 20px; border: 1px solid rgba(255,122,26,.35); } .hw-count .pump { width: 56px; height: 56px; filter: drop-shadow(0 0 14px rgba(255,122,26,.6)); }
.hw-count b { display: block; font-size: 30px; font-weight: 800; line-height: 1; color: var(--hw); } .hw-count span { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; } .hw-count small { display: block; color: var(--green); font-weight: 700; font-size: 12px; margin-top: 2px; }
.hw-bats { position: absolute; inset: 0; pointer-events: none; z-index: 1; } .hw-bats i { position: absolute; width: 26px; height: 12px; background: #0a0614; clip-path: polygon(0 50%, 15% 20%, 30% 45%, 45% 10%, 50% 40%, 55% 10%, 70% 45%, 85% 20%, 100% 50%, 80% 60%, 60% 100%, 50% 70%, 40% 100%, 20% 60%); opacity: .9; animation: hwBat 9s ease-in-out infinite; }
.hw-bats i:nth-child(1) { left: 60%; top: 20%; } .hw-bats i:nth-child(2) { left: 70%; top: 60%; animation-delay: -3s; } .hw-bats i:nth-child(3) { left: 50%; top: 75%; animation-delay: -5s; transform: scale(.7); } .hw-bats i:nth-child(4) { left: 85%; top: 35%; animation-delay: -7s; } .hw-bats i:nth-child(5) { left: 40%; top: 15%; animation-delay: -1s; transform: scale(.6); }
@keyframes hwBat { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-30px, -12px); } 50% { transform: translate(-60px, 6px); } 75% { transform: translate(-20px, 14px); } }
.hw-games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.hw-game { display: flex; flex-direction: column; padding: 0; overflow: hidden; color: var(--txt); transition: transform .15s; } .hw-game:hover { transform: translateY(-3px); } .hw-game.off { opacity: .7; }
.hw-game-art { height: 150px; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 100%, rgba(255,122,26,.25), transparent 60%), #1a1430; } .hw-game-art .pump { width: 96px; height: 96px; filter: drop-shadow(0 12px 20px rgba(0,0,0,.6)); }
.hw-game-art.art-memoire { background: radial-gradient(ellipse at 50% 100%, rgba(180,107,255,.3), transparent 60%), #1a1430; } .hw-game-art .cards { display: flex; gap: 6px; } .hw-game-art .cards i { width: 44px; height: 62px; border-radius: 6px; background: linear-gradient(135deg, #b46bff, #5a2ea6); box-shadow: 0 8px 16px rgba(0,0,0,.5); transform: rotate(-8deg); } .hw-game-art .cards i:nth-child(2) { transform: translateY(-8px); } .hw-game-art .cards i:nth-child(3) { transform: rotate(8deg); }
.hw-game-art.art-coffres { background: radial-gradient(ellipse at 50% 100%, rgba(253,205,43,.25), transparent 60%), #1a1430; } .hw-game-art .chest { width: 90px; height: 64px; border-radius: 8px 8px 6px 6px; background: linear-gradient(180deg, #8a4b1e 0 40%, #5c2f10 40%); box-shadow: inset 0 0 0 3px #3a1c08, 0 12px 20px rgba(0,0,0,.6); position: relative; } .hw-game-art .chest::after { content: ''; position: absolute; left: 50%; top: 36%; width: 14px; height: 18px; margin-left: -7px; border-radius: 3px; background: #fdcd2b; }
.hw-game-tx { padding: 14px 16px 6px; flex: 1; } .hw-game-tx b { display: block; font-size: 16px; } .hw-game-tx p { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 4px; }
.hw-game-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: 12px; font-weight: 700; flex-wrap: wrap; } .hw-game-foot .ok { color: var(--green); } .hw-game-foot .no { color: var(--muted2); }
.hw-game > .btn { margin: 10px 16px 16px; }
.hw-bottom { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: start; } .hw .card-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; } .hw .card-head .muted { font-size: 12px; }
.hw-top { padding: 6px 10px; } .hw-top .empty { padding: 16px; text-align: center; color: var(--muted); font-size: 13px; }
.hw-row { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px; border-radius: 5px; font-size: 13.5px; } .hw-row.me { background: rgba(255,122,26,.12); } .hw-row .pos { width: 24px; height: 24px; border-radius: 5px; background: var(--panel3); display: grid; place-items: center; font-size: 12px; } .hw-row .pos.p0 { background: #fdcd2b; color: #1a0a00; } .hw-row .pos.p1 { background: #c9d0de; color: #1a0a00; } .hw-row .pos.p2 { background: #e08b3a; color: #1a0a00; }
.hw-row span { flex: 1; font-weight: 600; } .hw-row em { font-style: normal; font-weight: 800; color: var(--hw); display: inline-flex; align-items: center; gap: 4px; } .hw-row .pump { width: 18px; height: 18px; }
.hw-gamehead { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; } .hw-gamehead > div { flex: 1; } .hw-gamehead b { display: block; font-size: 17px; } .hw-gamehead small { color: var(--muted); font-size: 12.5px; }
.hw-stage { padding: 18px; }
.hw-chasse-top { display: flex; align-items: center; gap: 24px; margin-bottom: 14px; flex-wrap: wrap; } .hw-chasse-top small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; } .hw-chasse-top b { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; } .hw-chasse-top .btn { margin-left: auto; min-width: 200px; }
.hw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 640px; margin: 0 auto; }
.hw-hole { position: relative; aspect-ratio: 1; border-radius: 14px; background: radial-gradient(ellipse at 50% 80%, #2a1f45, #171129 70%); overflow: hidden; cursor: pointer; box-shadow: inset 0 6px 14px rgba(0,0,0,.6); }
.hw-hole::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: 10%; height: 18%; border-radius: 50%; background: #0a0614; }
.hw-pop { position: absolute; left: 15%; right: 15%; bottom: 8%; height: 80%; display: grid; place-items: end center; transform: translateY(110%); transition: transform .18s cubic-bezier(.2,.9,.3,1.2); z-index: 2; } .hw-pop.up { transform: translateY(0); } .hw-pop svg { width: 100%; height: 100%; }
.hw-hole.hit { box-shadow: inset 0 0 0 3px var(--hw), inset 0 6px 14px rgba(0,0,0,.6); } .hw-hole.bad { box-shadow: inset 0 0 0 3px var(--red), inset 0 6px 14px rgba(0,0,0,.6); }
.hw-mem { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 560px; margin: 0 auto; }
.hw-card { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; perspective: 600px; background: none; } .hw-card span { position: absolute; inset: 0; border-radius: 10px; display: grid; place-items: center; backface-visibility: hidden; transition: transform .4s; font-size: 40px; }
.hw-card .back { background: linear-gradient(135deg, #b46bff, #5a2ea6); color: rgba(255,255,255,.6); font-size: 28px; font-weight: 800; box-shadow: inset 0 0 0 3px rgba(255,255,255,.12); } .hw-card .face { background: #1a1430; transform: rotateY(180deg); box-shadow: inset 0 0 0 2px var(--hw2); }
.hw-card.flip .back { transform: rotateY(180deg); } .hw-card.flip .face { transform: rotateY(0); } .hw-card.ok .face { box-shadow: inset 0 0 0 3px var(--green); } .hw-card:disabled { opacity: .5; }
.hw-chests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 720px; margin: 10px auto 16px; }
.hw-chest { position: relative; height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; color: var(--txt); padding-bottom: 8px; transition: transform .15s; } .hw-chest:not(:disabled):hover { transform: translateY(-6px); }
.hw-chest .box { width: 120px; height: 74px; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #8a4b1e, #4d2609); box-shadow: inset 0 0 0 3px #3a1c08, 0 12px 20px rgba(0,0,0,.6); position: relative; z-index: 1; } .hw-chest .box::after { content: ''; position: absolute; left: 50%; top: 8px; width: 16px; height: 20px; margin-left: -8px; border-radius: 3px; background: #fdcd2b; }
.hw-chest .lid { width: 124px; height: 36px; border-radius: 14px 14px 4px 4px; background: linear-gradient(180deg, #a35a24, #6e3a12); box-shadow: inset 0 0 0 3px #3a1c08; transform-origin: 50% 100%; transition: transform .5s cubic-bezier(.2,.9,.3,1.2); z-index: 2; margin-bottom: -4px; }
.hw-chest.open .lid { transform: rotateX(-110deg) translateY(-6px); }
.hw-chest .inside { position: absolute; left: 50%; bottom: 60px; transform: translate(-50%, 20px) scale(.5); opacity: 0; transition: transform .5s .2s, opacity .4s .2s; display: flex; flex-direction: column; align-items: center; z-index: 0; } .hw-chest .inside svg { width: 56px; height: 56px; } .hw-chest .inside b { font-size: 18px; font-weight: 800; color: var(--hw); }
.hw-chest.open .inside { transform: translate(-50%, -20px) scale(1); opacity: 1; } .hw-chest.win .box { box-shadow: inset 0 0 0 3px var(--hw), 0 0 30px rgba(255,122,26,.6); } .hw-chest.lose .box { box-shadow: inset 0 0 0 3px var(--red), 0 12px 20px rgba(0,0,0,.6); }
.hw-chest .lbl { font-size: 13px; font-weight: 700; margin-top: 4px; }
.hw-got .hw-got-img { height: 140px; display: grid; place-items: center; margin: 6px 0 10px; } .hw-got .hw-got-img svg { width: 120px; height: 120px; filter: drop-shadow(0 0 24px rgba(255,122,26,.6)); }
@media (max-width: 1000px) { .hw-games, .hw-bottom { grid-template-columns: 1fr; } .hw-chests { grid-template-columns: 1fr; } }

/* ========== Halloween : économie & jeux ========== */
.nav-user .who { min-width: 0; gap: 0; } .um-pump { display: block; font-size: 12px; color: var(--hw); font-weight: 700; margin-top: 2px; }
.hw-count small.down { color: var(--red); } .hw-count small.up { color: var(--green); }
.hw-top3 { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; margin-bottom: 14px; }
.hw-daily .card-body { padding: 14px 16px; } .hw-daily-in { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } .hw-daily-in .pump { width: 48px; height: 48px; } .hw-daily-in b { display: block; font-size: 26px; font-weight: 800; color: var(--hw); line-height: 1; } .hw-daily-in span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.hw-candies { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 14px 16px 8px; }
.hw-candy { position: relative; background: var(--panel2); border-radius: var(--r); padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--txt); border: 1px solid transparent; } .hw-candy:not(:disabled):hover { border-color: var(--line2); } .hw-candy:disabled { opacity: .6; cursor: not-allowed; }
.hw-candy .candy { width: 56px; height: 36px; } .hw-candy b { font-size: 12px; } .hw-candy em { position: absolute; top: 6px; right: 6px; font-style: normal; font-size: 11px; font-weight: 800; background: var(--panel3); padding: 1px 6px; border-radius: 4px; }
.hw-games { grid-template-columns: repeat(5, 1fr); } .hw-game-art { height: 120px; } .hw-game-art .chest { width: 70px; height: 50px; }
.hw-game-art.art-roue { background: radial-gradient(ellipse at 50% 100%, rgba(180,107,255,.3), transparent 60%), #1a1430; } .hw-game-art .wheel { width: 84px; height: 84px; border-radius: 50%; background: conic-gradient(#ff7a1a 0 45deg, #b46bff 45deg 90deg, #4ea6ff 90deg 135deg, #2ef396 135deg 180deg, #fdcd2b 180deg 225deg, #ff4d5e 225deg 270deg, #94a3c4 270deg 315deg, #3b4a66 315deg 360deg); box-shadow: 0 0 0 4px #0a0614, 0 10px 20px rgba(0,0,0,.6); }
.hw-game-art.art-des { background: radial-gradient(ellipse at 50% 100%, rgba(78,166,255,.3), transparent 60%), #1a1430; } .hw-game-art .dice { width: 64px; height: 64px; border-radius: 12px; background: #e9edf5; color: #1a1430; font-size: 34px; font-weight: 900; display: grid; place-items: center; transform: rotate(-12deg); box-shadow: 0 10px 20px rgba(0,0,0,.6); }
.hw-game-art.art-mines { background: radial-gradient(ellipse at 50% 100%, rgba(46,243,150,.25), transparent 60%), #1a1430; } .hw-game-art .minegrid { display: grid; grid-template-columns: repeat(3, 22px); gap: 4px; } .hw-game-art .minegrid i { width: 22px; height: 22px; border-radius: 4px; background: #2a1f45; } .hw-game-art .minegrid i.m { background: var(--red); }
.hw-game-art.art-crash { background: radial-gradient(ellipse at 50% 100%, rgba(255,77,94,.25), transparent 60%), #1a1430; } .hw-game-art .crashline { width: 90px; height: 60px; border-left: 3px solid #b46bff; border-bottom: 3px solid #b46bff; position: relative; } .hw-game-art .crashline::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100px; height: 3px; background: linear-gradient(90deg, #b46bff, #ff4d5e); transform-origin: 0 100%; transform: rotate(-40deg); }
.hw-game-tx p { font-size: 12px; } .hw-game-foot { font-size: 11px; }
.hw-betbox { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; } .hw-bet label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.hw-betrow { display: flex; align-items: center; gap: 6px; } .hw-betrow .input { height: 40px; width: 100px; text-align: center; font-weight: 800; } .hw-betrow .lnk { height: 32px; padding: 0 8px; border-radius: 4px; background: var(--panel3); color: var(--txt2); font-weight: 800; font-size: 12px; } .hw-betrow .lnk:hover { color: var(--txt); }
.hw-bet small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.hw-side { display: flex; flex-direction: column; gap: 10px; } .hw-side .btn-lg { height: 52px; font-size: 16px; }
.hw-out { border-radius: var(--r); padding: 12px 14px; text-align: center; animation: up .2s ease; } .hw-out b { display: block; font-size: 24px; font-weight: 800; } .hw-out span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.hw-out.win { background: rgba(46,243,150,.12); } .hw-out.win b { color: var(--green); } .hw-out.lose { background: rgba(255,77,94,.12); } .hw-out.lose b { color: var(--red); } .hw-out.even { background: var(--panel2); }
.hw-roue-wrap, .hw-des, .hw-mines, .hw-crash { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
.hw-roue { position: relative; width: min(440px, 100%); margin: 0 auto; aspect-ratio: 1; } .hw-roue canvas { width: 100%; height: 100%; border-radius: 50%; display: block; box-shadow: 0 0 0 6px #1a1430, 0 20px 40px rgba(0,0,0,.5); }
.hw-roue .ptr { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 34px solid #fff; z-index: 3; filter: drop-shadow(0 3px 4px rgba(0,0,0,.5)); }
.hw-roue .hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 14%; height: 14%; border-radius: 50%; background: #1a1430; border: 4px solid #0a0614; z-index: 2; }
.hw-table { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; } .hw-table span { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; background: var(--panel2); border-radius: 4px; padding: 5px 8px; } .hw-table i { width: 10px; height: 10px; border-radius: 2px; background: var(--c); } .hw-table em { margin-left: auto; font-style: normal; color: var(--muted); font-weight: 600; }
.hw-des-main { padding: 20px 10px; } .hw-des-bar { position: relative; height: 26px; border-radius: 13px; background: linear-gradient(90deg, rgba(255,77,94,.25), rgba(255,77,94,.25)); margin: 40px 0 10px; overflow: visible; } .hw-des-fill { height: 100%; border-radius: 13px 0 0 13px; background: linear-gradient(90deg, var(--green), #7cf5c3); }
.hw-des-lbl { position: absolute; top: -34px; transform: translateX(-50%); background: var(--panel3); padding: 3px 8px; border-radius: 4px; font-size: 12px; font-weight: 800; } .hw-des-lbl::after { content: ''; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--panel3); border-bottom: 0; }
.hw-des-roll { position: absolute; top: -2px; transform: translateX(-50%); width: 60px; height: 30px; border-radius: 15px; background: #fff; color: #11131c; font-weight: 800; font-size: 12px; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.5); transition: left .06s; z-index: 2; } .hw-des-roll.win { background: var(--green); color: #fff; } .hw-des-roll.lose { background: var(--red); color: #fff; }
.hw-des-main input[type=range] { width: 100%; accent-color: var(--green); margin-top: 6px; }
.hw-des-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; } .hw-des-stats div { background: var(--panel2); border-radius: var(--r); padding: 12px; text-align: center; } .hw-des-stats small { display: block; font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; } .hw-des-stats b { font-size: 22px; font-weight: 800; }
.hw-minegrid { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 80px; gap: 8px; max-width: 460px; margin: 0 auto; } .hw-minegrid.idle { opacity: .55; }
.hw-cell { display: grid; width: 100%; height: 80px; border-radius: 10px; background: linear-gradient(180deg, #2a1f45, #1a1430); box-shadow: inset 0 -4px 0 rgba(0,0,0,.35); display: grid; place-items: center; transition: transform .1s; } .hw-cell:not(:disabled):hover { transform: translateY(-2px); } .hw-cell svg { width: 60%; height: 60%; }
.hw-cell.safe { background: rgba(255,122,26,.18); box-shadow: inset 0 0 0 2px var(--hw); } .hw-cell.mine { background: rgba(255,77,94,.15); opacity: .8; } .hw-cell.boom { background: var(--red); animation: f2Shake .4s; }
.hw-mines-live { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .hw-mines-live div { background: var(--panel2); border-radius: var(--r); padding: 10px 12px; } .hw-mines-live small { display: block; font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; } .hw-mines-live b { font-size: 18px; font-weight: 800; } .hw-mines-live b.hl { color: var(--green); }
.hw-minesel { display: flex; gap: 4px; } .hw-minesel button { flex: 1; height: 36px; border-radius: 5px; background: var(--panel3); color: var(--txt2); font-weight: 800; } .hw-minesel button.on { background: var(--hw); color: #1a0a00; }
.hw-crash-main { position: relative; background: #0f0a1e; border-radius: var(--r-lg); overflow: hidden; } .hw-crash-main canvas { width: 100%; height: auto; display: block; }
.hw-crash-mult { position: absolute; top: 14px; left: 18px; font-size: 40px; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; } .hw-crash-mult.win { color: var(--green); } .hw-crash-mult.crash { color: var(--red); }
.hw-crash .hw-betrow .input { width: 90px; }
@media (max-width: 1100px) { .hw-games { grid-template-columns: repeat(2, 1fr); } .hw-top3 { grid-template-columns: 1fr; } .hw-candies { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .hw-roue-wrap, .hw-des, .hw-mines, .hw-crash { grid-template-columns: 1fr; } .hw-games { grid-template-columns: 1fr; } }
/* Bonbons : images */
.hw-candy img { width: 30px; height: 84px; object-fit: contain; } .hw-candy small { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); font-weight: 700; } .hw-candy small .pump { width: 14px; height: 14px; }
.hw-craft { margin-bottom: 14px; } .hw-craft-in { display: grid; grid-template-columns: 1fr auto 220px; gap: 16px; align-items: center; padding: 16px; }
.hw-craft-slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; } .hw-cslot { background: var(--panel2); border-radius: var(--r); padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; border: 1px dashed var(--line2); } .hw-cslot.ok { border: 1px solid var(--rc); background: color-mix(in srgb, var(--rc) 12%, var(--panel2)); }
.hw-cslot img { width: 28px; height: 78px; object-fit: contain; opacity: .45; } .hw-cslot.ok img { opacity: 1; } .hw-cslot b { font-size: 12px; font-weight: 800; } .hw-cslot span { font-size: 10.5px; color: var(--muted); font-weight: 700; }
.hw-craft-arrow { color: var(--muted); display: grid; place-items: center; } .hw-craft-arrow svg { width: 22px; height: 22px; }
.hw-craft-out { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; } .hw-craft-out img { width: 110px; height: 110px; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0,0,0,.5)); } .hw-craft-out b { font-size: 15px; } .hw-craft-out small { font-size: 11.5px; color: var(--muted); font-weight: 600; } .hw-craft-out .btn-green { width: 100%; margin-top: 4px; }
.at-slot img { width: 22px; height: 60px; object-fit: contain; } .at-slot.empty img { opacity: .3; } .at-slot.sm img { width: 14px; height: 36px; } .at-slot.hole img { opacity: .25; }
.f2-slot img.gem { width: 22px; height: 60px; object-fit: contain; opacity: .4; border-radius: 0; background: none; box-shadow: none; } .f2-slot.on img.gem { opacity: 1; }
.f2-chip img { width: 14px; height: 36px; object-fit: contain; }

@media (max-width: 1000px) { .hw-craft-in { grid-template-columns: 1fr; } .hw-craft-arrow { transform: rotate(90deg); } .hw-craft-slots { grid-template-columns: repeat(3, 1fr); } }
/* Halloween v3 : roue / calendrier / trésors */
.hw-count { flex-direction: column; align-items: stretch; gap: 8px; } .hw-count-candies { display: flex; gap: 8px; } .hw-count-candies span { display: flex; flex-direction: column; align-items: center; gap: 2px; } .hw-count-candies img { width: 18px; height: 50px; object-fit: contain; } .hw-count-candies b { font-size: 14px; font-weight: 800; color: #fff; } .hw-count > small { color: var(--hw); font-weight: 700; font-size: 12px; text-align: center; }
.hw-games.three { grid-template-columns: repeat(3, 1fr); } .hw-games.three .hw-game-art { height: 150px; }
.hw-game-art.art-roue .wheel { width: 96px; height: 96px; background: conic-gradient(#ff7a1a 0 22deg, #241c40 22deg 45deg, #1f1838 45deg 90deg, #2a1f45 90deg 112deg, #241c40 112deg 157deg, #1f1838 157deg 202deg, #2a1f45 202deg 225deg, #241c40 225deg 270deg, #1a1430 270deg 292deg, #1f1838 292deg 337deg, #2a1f45 337deg 360deg); }
.hw-game-art.art-calendrier { background: radial-gradient(ellipse at 50% 100%, rgba(255,122,26,.25), transparent 60%), #1a1430; } .hw-game-art .cal { width: 84px; height: 84px; border-radius: 12px; background: #e9edf5; color: #1a1430; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 10px 20px rgba(0,0,0,.6); overflow: hidden; } .hw-game-art .cal::before { content: ''; width: 100%; height: 18px; background: var(--hw); margin-bottom: 6px; } .hw-game-art .cal b { font-size: 30px; font-weight: 900; line-height: 1; } .hw-game-art .cal small { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.hw-game-art.art-tresors { background: radial-gradient(ellipse at 50% 100%, rgba(253,205,43,.25), transparent 60%), #1a1430; } .hw-game-art.art-tresors .chest { width: 90px; height: 64px; }
.hw-legend { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; } .hw-legend div { display: flex; align-items: center; gap: 8px; background: var(--panel2); border-radius: 5px; padding: 6px 10px; font-size: 12.5px; font-weight: 700; } .hw-legend img { width: 14px; height: 38px; object-fit: contain; } .hw-legend img[src*="cases"] { width: 34px; height: 34px; } .hw-legend .ghost { width: 26px; height: 26px; } .hw-legend span { flex: 1; } .hw-legend em { font-style: normal; color: var(--muted); font-weight: 600; }
.hw-roue { width: min(480px, 100%); }
.hw-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; } .hw-cal-head b { display: block; font-size: 20px; font-weight: 800; } .hw-cal-head small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.hw-cal { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.hw-day { position: relative; background: var(--panel2); border-radius: var(--r); padding: 8px 4px 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; border: 2px solid transparent; }
.hw-day small { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; } .hw-day img { width: 22px; height: 60px; object-fit: contain; } .hw-day img.case { width: 60px; height: 60px; } .hw-day b { font-size: 10.5px; font-weight: 700; line-height: 1.2; }
.hw-day.done { opacity: .55; } .hw-day.done i { position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; } .hw-day.done i svg { width: 10px; height: 10px; }
.hw-day.cur { border-color: var(--green); background: rgba(46,243,150,.10); animation: bpGlow 1.6s ease-in-out infinite; } .hw-day.big { border-color: var(--hw); background: rgba(255,122,26,.12); }
.hw-chests.six { grid-template-columns: repeat(6, 1fr); max-width: 100%; } .hw-chests.six .hw-chest { height: 180px; } .hw-chests.six .hw-chest .box { width: 100px; height: 64px; } .hw-chests.six .hw-chest .lid { width: 104px; height: 30px; } .hw-chest .inside img { width: 18px; height: 50px; object-fit: contain; }
.hw-got .candy-big { width: 50px; height: 130px; object-fit: contain; filter: drop-shadow(0 0 20px rgba(255,255,255,.3)); } .hw-got .hw-got-img img[src*="cases"] { width: 140px; height: 140px; object-fit: contain; filter: drop-shadow(0 0 30px rgba(255,122,26,.6)); }
.hw-row em img { width: 18px; height: 18px; object-fit: contain; margin-right: 2px; } .hw-row em i { font-style: normal; color: var(--muted); font-weight: 600; font-size: 12px; margin-left: 6px; }
@media (max-width: 1100px) { .hw-games.three { grid-template-columns: 1fr; } .hw-cal { grid-template-columns: repeat(5, 1fr); } .hw-chests.six { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 600px) { .hw-cal { grid-template-columns: repeat(3, 1fr); } .hw-chests.six { grid-template-columns: repeat(2, 1fr); } }
.hw-hero { padding: 0; min-height: 220px; display: flex; align-items: center; } .hw-hero .hw-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hw-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,15,36,.9) 0%, rgba(20,15,36,.6) 45%, rgba(20,15,36,.15) 100%); }
.hw-hero-in { padding: 30px 32px; width: 100%; } .hw-bats { display: none; } .hw-title p { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
/* Halloween : assets */
.hw-game-art img { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 12px 20px rgba(0,0,0,.6)); }
.hw-chest.img { height: 220px; } .hw-chest.img .chestimg { width: 150px; height: 150px; object-fit: contain; transition: transform .4s cubic-bezier(.2,.9,.3,1.2); filter: drop-shadow(0 12px 20px rgba(0,0,0,.6)); }
.hw-chest.img:not(:disabled):hover .chestimg { transform: translateY(-8px) scale(1.04); } .hw-chest.img.win .chestimg { filter: drop-shadow(0 0 30px rgba(255,122,26,.8)); } .hw-chest.img.lose .chestimg { filter: grayscale(.6) brightness(.6); }
.hw-chest.img .inside { bottom: 120px; } .hw-chest.img .inside .ghost { width: 60px; height: 60px; }
.hw-legend .ghost, .hw-got .hw-got-img .ghost { object-fit: contain; } .hw-got .hw-got-img .ghost { width: 130px; height: 130px; }
.hw-legend img[src*="halloween/coffre"], .hw-row em img { object-fit: contain; }
.hw-admin { margin-bottom: 14px; border-left: 3px solid var(--acc); } .hw-admin-row { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 16px; }
.hw-allc { display: inline-flex; gap: 2px; align-items: center; height: 60px; } .hw-allc img { width: 16px; height: 46px; object-fit: contain; } .hw-allc.big { height: 150px; gap: 6px; } .hw-allc.big img { width: 40px; height: 120px; }
/* Trésors hantés : cartes */
.hw-tgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.hw-tcard { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--panel2); border-radius: var(--r-lg); padding: 12px 8px; border: 2px solid transparent; color: var(--txt); transition: transform .15s, border-color .15s, opacity .3s; }
.hw-tcard:not(:disabled):hover { transform: translateY(-6px); border-color: var(--line2); }
.hw-tin { width: 100%; aspect-ratio: 1; border-radius: var(--r); background: radial-gradient(ellipse at 50% 90%, rgba(255,122,26,.18), transparent 60%), var(--bg2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; overflow: hidden; }
.hw-tin .chest { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0,0,0,.6)); transition: transform .3s; } .hw-tcard:not(:disabled):hover .chest { transform: scale(1.05); }
.hw-tcard .lbl { font-size: 13px; font-weight: 700; }
.hw-tcard.picked { border-color: var(--hw); box-shadow: 0 0 24px rgba(255,122,26,.45); } .hw-tcard.picked .chest { animation: hwShake .9s ease-in-out; }
@keyframes hwShake { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-6deg) scale(1.04); } 30% { transform: rotate(6deg) scale(1.06); } 45% { transform: rotate(-7deg) scale(1.08); } 60% { transform: rotate(7deg) scale(1.1); } 75% { transform: rotate(-4deg) scale(1.08); } 90% { transform: rotate(3deg) scale(1.04); } }
.hw-tcard.open .hw-tin { animation: atPop .4s cubic-bezier(.2,.9,.3,1.3); }
.hw-tcard.open.full .hw-tin { background: radial-gradient(ellipse at 50% 60%, rgba(255,122,26,.3), transparent 65%), var(--bg2); } .hw-tcard.open.empty .hw-tin { background: radial-gradient(ellipse at 50% 60%, rgba(148,163,196,.15), transparent 65%), var(--bg2); }
.hw-tin .loot { width: 34%; height: 70%; object-fit: contain; filter: drop-shadow(0 0 14px rgba(255,255,255,.35)); } .hw-tin .ghost { width: 55%; height: 55%; object-fit: contain; opacity: .8; }
.hw-tin b { font-size: 20px; font-weight: 800; color: var(--hw); line-height: 1; } .hw-tcard.empty .hw-tin b { color: var(--muted); font-size: 14px; } .hw-tin small { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: capitalize; }
.hw-tcard.picked.full { border-color: var(--hw); } .hw-tcard.picked.empty { border-color: var(--red); box-shadow: 0 0 18px rgba(255,77,94,.35); }
.hw-tcard.other { opacity: .5; }
@media (max-width: 1100px) { .hw-tgrid { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 600px) { .hw-tgrid { grid-template-columns: repeat(2, 1fr); } }
/* Trésors hantés v5 : scène compacte, 9 coffres sans fond (~170 px), clic = tremblement → pouf de fumée → le lot apparaît à la place du coffre */
.hw-stage.plain { background: none; border: 0; box-shadow: none; padding: 0; }
.hw-tres { position: relative; border-radius: 24px; padding: 20px 18px 18px; border: 1px solid var(--line); overflow: hidden; background: #0d1427; }
.hw-tres::before { content: ''; position: absolute; inset: 0; background: url('../assets/banner/page-halloween.jpg') center/cover no-repeat; opacity: .2; filter: blur(2px) saturate(1.1); }
.hw-tres::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, rgba(255,122,26,.16), transparent 60%), linear-gradient(180deg, rgba(10,16,32,.35), rgba(10,16,32,.85)); }
.hw-tres > * { position: relative; z-index: 1; }
.hw-tres-title { text-align: center; margin: 0 0 12px; } .hw-tres-title h3 { margin: 0; font-size: 22px; font-weight: 900; letter-spacing: -.02em; } .hw-tres-title h3 em { font-style: normal; color: var(--hw); } .hw-tres-title p { margin: 4px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.hw-tgrid9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 10px; max-width: 600px; margin: 0 auto; }
.hw-tchest { position: relative; display: block; width: 100%; padding: 8px 4px 6px; background: none; border: 0; color: var(--txt); cursor: pointer; transition: transform .2s; }
.hw-tchest .glow { position: absolute; left: 50%; top: 50%; width: 85%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,140,40,.6), rgba(255,122,26,.2) 45%, transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.hw-tchest .chest { display: block; width: 100%; max-width: 170px; height: auto; margin: 0 auto; position: relative; filter: drop-shadow(0 14px 18px rgba(0,0,0,.7)); transition: transform .25s, filter .25s, opacity .3s; }
.hw-tchest .num { position: absolute; top: 0; left: 50%; transform: translateX(-50%); min-width: 26px; height: 22px; padding: 0 8px; border-radius: 999px; background: rgba(10,16,32,.85); border: 1px solid rgba(255,255,255,.14); font-size: 11px; font-weight: 900; display: grid; place-items: center; color: var(--muted); transition: opacity .3s; z-index: 2; }
.hw-tchest:not(:disabled):hover { transform: translateY(-6px); } .hw-tchest:not(:disabled):hover .glow { opacity: 1; } .hw-tchest:not(:disabled):hover .chest { transform: scale(1.05); filter: drop-shadow(0 18px 22px rgba(0,0,0,.75)) drop-shadow(0 0 16px rgba(255,140,40,.5)); }
.hw-tchest.picked .glow { opacity: 1; animation: hwPulse .45s ease-in-out infinite; } .hw-tchest.picked .chest { animation: hwShake .9s ease-in-out; }
@keyframes hwPulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.15); } }
/* révélation : le coffre choisi part en fumée, les autres s'effacent ; le lot prend la place du coffre */
.hw-tchest.open .num { opacity: 0; }
.hw-tchest.open .chest { animation: none; }
.hw-tchest.open.picked .chest { animation: hwPoof .55s ease-out forwards; }
@keyframes hwPoof { 0% { transform: scale(1); opacity: 1; filter: drop-shadow(0 14px 18px rgba(0,0,0,.7)) brightness(1); } 40% { transform: scale(1.18); opacity: .9; filter: brightness(2.2); } 100% { transform: scale(1.5); opacity: 0; filter: brightness(3) blur(6px); } }
.hw-tchest.open.picked::after { content: ''; position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255,255,255,.95), rgba(220,225,240,.55) 45%, transparent 70%); animation: hwSmoke .9s ease-out forwards; pointer-events: none; }
@keyframes hwSmoke { 0% { transform: translate(-50%, -50%) scale(.4); opacity: 0; } 25% { opacity: .95; } 100% { transform: translate(-50%, -58%) scale(3.2); opacity: 0; } }
.hw-tchest.open.picked .glow { animation: none; opacity: 1; }
.hw-tchest.open.bonus.picked .glow { background: radial-gradient(circle, rgba(253,205,43,.65), rgba(253,205,43,.2) 45%, transparent 70%); }
.hw-tchest.other .chest { opacity: .18; filter: none; } .hw-tchest.other .glow { opacity: 0; animation: none; }
.hw-tchest .lootslot { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; justify-content: center; z-index: 2; }
.hw-tchest .loot { display: inline-flex; align-items: center; gap: 6px; padding: 0; background: none; border: 0; animation: atPop .4s cubic-bezier(.2,.9,.3,1.3); white-space: nowrap; opacity: .9; text-shadow: 0 2px 10px rgba(0,0,0,.9); }
.hw-tchest .loot img { width: 28px; height: 28px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.8)); } .hw-tchest .loot .ghost { width: 28px; height: 28px; } .hw-tchest .loot b { font-size: 16px; font-weight: 900; color: var(--lc, #ff7a1a); } .hw-tchest .loot small { font-size: 12px; color: #e9edf5; font-weight: 800; }
.hw-tchest .loot.bonus { --lc: #fdcd2b; } .hw-tchest .loot.empty { --lc: #94a3c4; } .hw-tchest .loot.empty b { color: var(--muted); }
/* le lot du coffre choisi : grand, à la place du coffre, apparition retardée après le pouf */
.hw-tchest.picked .loot { flex-direction: column; gap: 2px; opacity: 1; animation: hwLootIn .5s cubic-bezier(.2,.9,.3,1.3) .35s both; }
.hw-tchest.picked .loot img, .hw-tchest.picked .loot .ghost { width: 84px; height: 84px; filter: drop-shadow(0 0 22px color-mix(in srgb, var(--lc, #ff7a1a) 70%, transparent)) drop-shadow(0 6px 12px rgba(0,0,0,.8)); } .hw-tchest.picked .loot b { font-size: 28px; } .hw-tchest.picked .loot small { font-size: 13px; }
@keyframes hwLootIn { 0% { transform: scale(.3); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.hw-tres-hint { text-align: center; color: var(--muted); font-size: 13px; font-weight: 700; margin: 12px 0 0; }
.hw-timer { margin: 12px auto 0; max-width: 340px; padding: 0; background: none; border: 0; }
.hw-timer-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 800; color: var(--muted); } .hw-timer-top span { display: inline-flex; align-items: center; gap: 5px; } .hw-timer-top span svg { width: 13px; height: 13px; } .hw-timer-top b { font-size: 13px; color: var(--txt); font-variant-numeric: tabular-nums; }
.hw-timer-bar { height: 5px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 6px; } .hw-timer-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #ff7a1a, #fdcd2b); transition: width 1s linear; }
.hw-timer small { display: none; }
.hw-tloots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; margin-top: 12px; } .hw-tloots span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(10,16,32,.7); border: 1px solid var(--line2); font-size: 12px; color: var(--muted); font-weight: 800; } .hw-tloots img { width: 18px; height: 18px; object-fit: contain; } .hw-tloots .rare { color: var(--hw); border-color: rgba(255,122,26,.45); }
@media (max-width: 600px) { .hw-gamehead { flex-direction: column; align-items: flex-start; gap: 8px; } .hw-gamehead > div { flex: none; width: 100%; } .hw-gamehead > .btn { order: -1; } .hw-gamehead > .tag { align-self: flex-start; } .hw-tres { padding: 14px 8px 14px; border-radius: 20px; } .hw-tres-title h3 { font-size: 20px; } .hw-tgrid9 { gap: 2px 4px; } .hw-tchest { padding: 6px 2px 4px; } .hw-tchest .num { height: 20px; min-width: 22px; font-size: 10px; } .hw-tchest .loot { padding: 5px 9px 5px 6px; gap: 4px; } .hw-tchest .loot b { font-size: 13px; } .hw-tchest .loot small { font-size: 10px; } .hw-tchest .loot img, .hw-tchest .loot .ghost { width: 18px; height: 18px; } .hw-tchest.picked .loot img, .hw-tchest.picked .loot .ghost { width: 52px; height: 52px; } .hw-tchest.picked .loot b { font-size: 20px; } }
/* VIP (rakeback / weekly / monthly en clés) — pop-up façon liste de bonus */
:root { --vip: #fdcd2b; }
.btn-vip { background: var(--gold); color: var(--gold-txt); font-weight: 800; letter-spacing: .04em; box-shadow: none; } .btn-vip:hover { filter: brightness(1.05); color: var(--gold-txt); }
.modal.vip, .modal.vip-detail { max-width: 560px; width: calc(100% - 24px); }
.modal-head .vip-wager { margin-left: auto; margin-right: 8px; padding: 5px 10px; border-radius: 999px; background: var(--panel2); font-size: 12px; } .modal-head .vip-pct { font-style: normal; color: var(--gold); margin-left: 4px; }
.vip-body, .vip-detail-body { padding: 14px 16px 14px; }
.vip-list { display: flex; flex-direction: column; gap: 10px; }
.vip-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r-lg); background: var(--panel2); border: 1px solid var(--line); } .vip-row.has { border-color: rgba(31,191,110,.45); background: linear-gradient(90deg, rgba(31,191,110,.08), var(--panel2) 60%); }
.vip-ico { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--panel3); border: 1px solid var(--line2); } .vip-ico img { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(253,205,43,.45)); }
.vip-rt { flex: 1; min-width: 0; } .vip-rt b { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 800; } .vip-rt b em { font-style: normal; font-size: 11.5px; font-weight: 900; color: var(--gold-txt); background: var(--gold); padding: 2px 7px; border-radius: 999px; } .vip-rt p { margin: 3px 0 0; font-size: 13px; color: var(--muted); font-weight: 700; } .vip-rt p .ok { color: var(--green); }
.vip-act { flex: none; min-width: 100px; }
.vip-note { margin: 12px 0 0; font-size: 12px; color: var(--muted2); text-align: center; } .vip-note b { color: var(--muted); }
.vip-desc { margin: 0 0 12px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.vip-lines { display: flex; flex-direction: column; gap: 6px; } .vip-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: var(--r); background: var(--panel2); font-size: 13px; color: var(--muted); font-weight: 700; } .vip-lines b { color: var(--txt); text-align: right; }
.vip-big { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 16px 0 6px; } .vip-big img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 0 18px rgba(253,205,43,.5)); } .vip-big b { font-size: 26px; font-weight: 900; color: var(--gold); }
.vip-wait { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 4px; padding: 10px; border-radius: var(--r); background: rgba(31,191,110,.1); color: var(--green); font-weight: 800; font-size: 13.5px; } .vip-wait svg { width: 16px; height: 16px; }
.vip-detail-body .recap-actions { margin-top: 12px; }
@media (max-width: 520px) { .vip-row { flex-wrap: wrap; } .vip-act { width: 100%; } .modal-head .vip-wager { display: none; } }
/* Sidebar : libellés longs + pied compact */
.side-link > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.side-foot { flex-direction: row; gap: 6px; } .side-foot .side-ext { flex: 1; justify-content: center; padding: 0 8px; height: 40px; font-size: 13px; }
body.collapsed .side-foot { flex-direction: column; }
/* Calendrier Halloween v2 */
.hw-cal-head { align-items: flex-end; } .hw-cal-prog { flex: 1; min-width: 260px; } .hw-cal-prog .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; } .hw-cal-prog .row b { font-size: 20px; font-weight: 800; } .hw-cal-prog .row span { font-size: 12.5px; color: var(--muted); font-weight: 600; } .hw-cal-prog small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 8px; }
.hw-cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.hw-day { padding: 10px 6px 10px; gap: 2px; } .hw-day .num { position: absolute; top: 6px; left: 6px; width: 22px; height: 22px; border-radius: 6px; background: var(--panel3); color: var(--txt2); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.hw-day .ok { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; } .hw-day .ok svg { width: 11px; height: 11px; }
.hw-day .im { height: 64px; display: grid; place-items: center; margin-top: 12px; } .hw-day .im .hw-allc { height: 56px; } .hw-day .im .hw-allc img { width: 18px; height: 52px; } .hw-day .im .case { width: 58px; height: 58px; filter: drop-shadow(0 0 14px rgba(255,122,26,.6)); }
.hw-day b { font-size: 12px; } .hw-day small { font-size: 10.5px; color: var(--muted); font-weight: 600; text-transform: none; letter-spacing: 0; }
.hw-day.done { opacity: .6; } .hw-day.done .num { background: var(--green); color: #fff; }
.hw-day.cur .num { background: var(--green); color: #fff; }
.hw-day.mile { border-color: rgba(253,205,43,.5); } .hw-day.mile .num { background: var(--gold); color: var(--gold-txt); }
.hw-day.big { border-color: var(--hw); background: radial-gradient(ellipse at 50% 100%, rgba(255,122,26,.25), transparent 60%), rgba(255,122,26,.08); } .hw-day.big .num { background: var(--hw); color: #1a0a00; } .hw-day.big b { font-size: 14px; color: var(--hw); }
@media (max-width: 600px) { .hw-cal { grid-template-columns: repeat(3, 1fr); } }

/* Mystery Game — Starlight mode */
.myst-modes { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.myst-mode { display: inline-flex; align-items: center; gap: 12px; background: var(--panel2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px 14px 8px 10px; color: var(--txt); cursor: pointer; text-align: left; transition: border-color .2s, box-shadow .2s, background .2s; }
.myst-mode:hover { border-color: rgba(255,255,255,.18); }
.myst-mode .lbl b { display: block; font-size: 13px; font-weight: 800; } .myst-mode .lbl small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.myst-mode .sw { width: 40px; height: 22px; border-radius: 11px; background: var(--bg2); position: relative; flex-shrink: 0; transition: background .2s; }
.myst-mode .sw i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .2s, background .2s; }
.myst-mode.on { border-color: #e64bd0; background: linear-gradient(90deg, rgba(230,75,208,.14), rgba(255,140,232,.06)); box-shadow: 0 0 0 1px rgba(230,75,208,.25), 0 6px 22px rgba(230,75,208,.18); }
.myst-mode.on .sw { background: #e64bd0; } .myst-mode.on .sw i { transform: translateX(18px); background: #fff; }
.myst-mode.on .lbl b { color: #ff8ce8; }
.myst-reel.starlight { box-shadow: inset 0 0 0 1px rgba(230,75,208,.35), 0 0 40px rgba(230,75,208,.14); }
.myst-reel.starlight .marker { background: #ff8ce8; } .myst-reel.starlight .marker::before { border-top-color: #ff8ce8; } .myst-reel.starlight .marker::after { border-bottom-color: #ff8ce8; }
.pv-menu.disabled { opacity: .45; pointer-events: none; }
@media (max-width: 600px) { .myst-modes { justify-content: stretch; } .myst-mode { width: 100%; } }
/* Admin — catégories + sous-catégories */
.adm-nav { display: flex; gap: 4px; background: var(--panel); border-radius: var(--r-lg); padding: 6px; margin-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.adm-nav button { height: 44px; padding: 0 18px; border-radius: 6px; font-weight: 800; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; white-space: nowrap; transition: background .15s, color .15s; }
.adm-nav button:hover { color: var(--txt); }
.adm-nav button.active { background: var(--acc); color: #fff; }
.adm-nav .n, .adm-subs .n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 4px; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; }
.adm-nav .n.gold, .adm-subs .n.gold { background: var(--gold); color: var(--gold-txt, #1a1400); } .adm-nav .n.red, .adm-subs .n.red { background: var(--red); color: #fff; } .adm-nav .n.blue, .adm-subs .n.blue { background: var(--panel3); color: var(--txt); }
.adm-nav button.active .n.blue { background: rgba(255,255,255,.2); color: #fff; }
.adm-subs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; padding: 0 2px; }
.adm-subs button { height: 36px; padding: 0 14px; border-radius: 6px; font-weight: 700; font-size: 13px; color: var(--muted); background: var(--panel); display: flex; align-items: center; gap: 8px; white-space: nowrap; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.adm-subs button:hover { color: var(--txt); }
.adm-subs button.active { background: var(--panel3); color: var(--txt); border-color: rgba(255,255,255,.08); }
.adm-body-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.adm-body-head b { font-size: 16px; font-weight: 800; } .adm-body-head span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.adm-tools.single { grid-template-columns: 1fr; margin-bottom: 0; }
.adm-body .adm-todo, .adm-body .adm-stats { margin-bottom: 18px; }
@media (max-width: 700px) { .adm-nav button { height: 40px; padding: 0 12px; font-size: 13px; } }
/* ---------- 140€ offerts : page de conversion ---------- */
.plus-cta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: -6px 0 18px; }
.plus-cta .btn-lg { height: 48px; padding: 0 22px; font-size: 15px; box-shadow: 0 8px 24px rgba(31,191,110,.3); }
.plus-math-inline { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; background: var(--panel); border-radius: var(--r-lg); padding: 10px 14px; }
.plus-math-inline b { color: var(--txt); } .plus-math-inline i { display: grid; place-items: center; color: var(--muted2); } .plus-math-inline i svg { width: 14px; height: 14px; }
@media (max-width: 1000px) { .plus-math-inline { margin-left: 0; width: 100%; flex-wrap: wrap; } }
.plus-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: -6px; }
.plus-trust .pt { display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border-radius: var(--r-lg); padding: 14px; }
.plus-trust .pt i { width: 38px; height: 38px; border-radius: var(--r); background: var(--panel3); color: var(--green); display: grid; place-items: center; flex-shrink: 0; } .plus-trust .pt i svg { width: 18px; height: 18px; }
.plus-trust .pt b { display: block; font-size: 13.5px; font-weight: 800; } .plus-trust .pt span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.4; } .plus-trust .pt span b { display: inline; color: var(--txt2); font-size: 12px; }
.plus-progress { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; padding: 18px 22px; margin-top: 14px; border: 1px solid var(--line2); }
.plus-progress .kicker { display: block; margin-bottom: 4px; }
.plus-progress .pp-l > b { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; color: var(--gold); } .plus-progress .pp-l > b small { font-size: 14px; color: var(--muted); font-weight: 700; }
.plus-progress .pp-bar { height: 10px; border-radius: 5px; background: var(--bg2); overflow: hidden; margin-top: 10px; } .plus-progress .pp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--gold)); border-radius: 5px; transition: width .4s ease; }
.plus-progress .pp-r b { display: block; font-size: 15px; font-weight: 800; } .plus-progress .pp-r span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.5; } .plus-progress .pp-r span b { display: inline; color: var(--gold); font-size: 13px; }
.plus-progress.full { border-color: var(--green); background: linear-gradient(90deg, rgba(31,191,110,.14), var(--panel)); } .plus-progress.full .pp-r b { color: var(--green); display: flex; align-items: center; gap: 8px; } .plus-progress.full .pp-r b svg { width: 18px; height: 18px; }
.plus-cards .casino { position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.plus-cards .casino:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.plus-cards .casino.done { border-top-color: var(--green); } .plus-cards .casino.done .cs-rank { background: rgba(31,191,110,.18); color: var(--green); display: inline-flex; align-items: center; gap: 4px; } .plus-cards .casino.done .cs-rank svg { width: 12px; height: 12px; }
.cs-ribbon { position: absolute; top: 14px; right: -34px; transform: rotate(38deg); background: var(--gold); color: var(--gold-txt); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 5px 40px; box-shadow: 0 4px 12px rgba(0,0,0,.35); z-index: 2; }
.plus-cards .cs-rank { margin-right: 0; }
.plus-cards .casino:first-child .cs-head .cs-rank { margin-right: 44px; }
.plus-cards .cs-bonus b { font-size: 46px; }
.cs-list { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.cs-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--txt2); } .cs-list li svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; } .cs-list li b { color: var(--txt); }
.plus-cards .cs-foot .btn-green { box-shadow: 0 6px 18px rgba(31,191,110,.3); } .plus-cards .cs-foot .btn svg { width: 14px; height: 14px; margin-left: 6px; }
.cs-done { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--muted); cursor: pointer; user-select: none; }
.cs-done input { display: none; }
.cs-done .box { width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--line2); display: grid; place-items: center; color: transparent; transition: background .15s, border-color .15s; } .cs-done .box svg { width: 12px; height: 12px; }
.cs-done input:checked + .box { background: var(--green); border-color: var(--green); color: #fff; } .cs-done:has(input:checked) { color: var(--green); }
.plus-steps .step .n { background: var(--acc); color: #fff; }
.plus-bottom { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-top: 28px; align-items: start; }
.plus-faq { padding: 0; } .plus-faq .card-head, .plus-rules .card-head { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.plus-faq .faq { padding: 6px 0; } .plus-faq .faq details { border-bottom: 1px solid var(--line); } .plus-faq .faq details:last-child { border-bottom: 0; }
.plus-rules { padding: 0; } .plus-rules .rules { list-style: none; padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.plus-rules .rules li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--txt2); } .plus-rules .rules li svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.plus-rules .pr-given { margin: 4px 18px 14px; padding: 12px 14px; border-radius: var(--r); background: var(--panel2); } .plus-rules .pr-given b { display: block; font-size: 20px; font-weight: 800; color: var(--acc2); } .plus-rules .pr-given span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.plus-rules .btn-block { margin: 0 18px 18px; width: calc(100% - 36px); }
.plus-sticky { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 120%); z-index: 40; display: flex; align-items: center; gap: 18px; background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px 12px 20px; box-shadow: 0 16px 40px rgba(0,0,0,.5); transition: transform .3s ease; max-width: calc(100vw - 32px); }
.plus-sticky.show { transform: translate(-50%, 0); }
.plus-sticky b { display: block; font-size: 15px; font-weight: 800; } .plus-sticky span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
@media (max-width: 1100px) { .plus-trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .plus-bottom { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .plus-trust { grid-template-columns: 1fr; } .plus-sticky { left: 16px; right: 16px; transform: translateY(120%); max-width: none; } .plus-sticky.show { transform: translateY(0); } }
/* ---------- Caisse Pragmatic (bonus buy) ---------- */
.tile.txt { gap: 2px; } .tile.txt b { font-size: 30px; font-weight: 800; color: var(--rc); line-height: 1; letter-spacing: -.02em; } .tile.txt .tn { text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; }
.tile.win.txt b { color: #fff; }
.bb-recap { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; margin-top: 6px; }
.bb-slot { border-radius: var(--r); overflow: hidden; background: var(--panel2); position: relative; box-shadow: 0 0 0 2px var(--rc), 0 12px 30px rgba(0,0,0,.4); } .bb-slot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.bb-lines { display: flex; flex-direction: column; gap: 8px; }
.bb-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: var(--panel2); border-radius: var(--r); padding: 10px 14px; }
.bb-line span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; } .bb-line b { font-size: 18px; font-weight: 800; text-align: right; }
.det-bb { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 4px; }
.det-bb-t { background: var(--panel2); border-radius: var(--r); padding: 12px 14px; } .det-bb-t > b { display: block; font-size: 13.5px; } .det-bb-t > span { display: block; font-size: 12px; margin-bottom: 8px; }
.det-bb-rows { display: flex; flex-direction: column; gap: 6px; } .det-bb-rows div { display: grid; grid-template-columns: 52px 1fr 64px; align-items: center; gap: 10px; font-size: 12.5px; }
.det-bb-rows span { font-weight: 800; } .det-bb-rows i { display: block; height: 6px; border-radius: 3px; background: var(--bg2); overflow: hidden; } .det-bb-rows em { display: block; height: 100%; background: var(--acc); border-radius: 3px; } .det-bb-rows b { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .bb-recap { grid-template-columns: 1fr; } .bb-slot { max-width: 150px; margin: 0 auto; } .det-bb { grid-template-columns: 1fr; } }
.bp-season { display: flex; align-items: center; gap: 12px; } .bp-season span { flex: 1; } .bp-season .btn { flex-shrink: 0; }
.bp-season.ended { border-color: var(--red); } .bp-season.ended svg { color: var(--red); }
/* Caisse désactivée (lots en cours d'ajout) : carte grisée */
.case-card.disabled .case-img img { filter: grayscale(1) brightness(.55); opacity: .7; }
.case-card.disabled h3 { color: var(--muted); }
.case-card.disabled .case-soon { position: absolute; top: 14px; left: 14px; background: var(--panel3); color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; z-index: 2; }
/* Stream : lots en caisses */
/* ---------- Mobile : héros et wallet empilés ---------- */
@media (max-width: 1000px) { .wl-hero { grid-template-columns: 1fr; } .wl-left { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 700px) {
  .page-hero { height: auto; min-height: 200px; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 14px; padding: 18px 16px; }
  .page-hero::before { background: linear-gradient(180deg, rgba(10,16,32,.55) 0%, rgba(10,16,32,.9) 100%); }
  .ph-text { max-width: none; } .ph-text h1 { font-size: 26px; }
  .ph-right { width: 100%; } .ph-right .row { flex-wrap: wrap; } .ph-right .row .btn { flex: 1 1 auto; }
  .plus-cta .btn-lg { width: 100%; justify-content: center; }
}
.hw-soon { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 360px; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--panel); }
.hw-soon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(3px) brightness(.45); }
.hw-soon-in { position: relative; z-index: 1; max-width: 520px; padding: 32px 20px; } .hw-soon-in h1 { font-size: 34px; margin: 8px 0 10px; } .hw-soon-in p { color: var(--txt2); font-size: 14px; line-height: 1.55; margin-bottom: 18px; }
/* ---------- Newsletter ---------- */
.nl-card { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px 24px; border: 1px solid var(--line2); }
.nl-ico { width: 48px; height: 48px; border-radius: var(--r); background: var(--panel3); color: var(--acc2); display: grid; place-items: center; } .nl-ico svg { width: 22px; height: 22px; }
.nl-txt b { display: block; font-size: 16px; font-weight: 800; } .nl-txt p { color: var(--muted); font-size: 13px; margin-top: 4px; line-height: 1.5; max-width: 620px; }
.nl-form { display: flex; gap: 8px; align-items: center; } .nl-form .input { height: 44px; min-width: 240px; } .nl-form .btn { height: 44px; white-space: nowrap; }
.nl-form.compact { justify-content: center; margin: 10px 0 14px; } .nl-form.compact .input { min-width: 200px; }
.nl-ok { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 700; font-size: 14px; } .nl-ok svg { width: 16px; height: 16px; }
.hw-soon-nl { margin: 4px 0 14px; } .hw-soon-nl b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); }
@media (max-width: 900px) { .nl-card { grid-template-columns: 1fr; } .nl-form { flex-direction: column; align-items: stretch; } .nl-form .input { min-width: 0; } }
/* ---------- Code de liaison Rumble ---------- */
.rl-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 26px; font-weight: 800; letter-spacing: .08em; background: var(--panel2); border: 1px dashed var(--line2); border-radius: var(--r); padding: 14px; margin: 12px auto 0; display: inline-block; color: var(--gold); }
/* ---------- Admin : overlay / chat ---------- */
.adm-async { min-height: 80px; }
.ov-preview { min-height: 240px; border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; }
.ov-msg { align-self: flex-start; max-width: 100%; padding: 8px 12px; box-shadow: 0 4px 16px rgba(0,0,0,.35); line-height: 1.35; overflow-wrap: anywhere; }
.ov-chat-full { height: 60vh; overflow: auto; background: var(--bg2); border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.ov-chat-full:fullscreen { background: #000; padding: 24px; font-size: 20px; }
.quick { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--txt2); cursor: pointer; }
/* ---------- Mobile : barre du bas, plus de défilement horizontal, accueil ---------- */
html { overflow-x: clip; }
.mobile-bar { display: none; }
.empty-feed { width: auto !important; flex: 1; text-align: left !important; color: var(--muted); font-size: 12.5px; padding: 12px 14px !important; }
@media (max-width: 900px) {
  html, body { overflow-x: clip; }
  .nav-left, body.collapsed .nav-left { display: none; }
  .navbar { padding-left: 12px; }
  .nav-logo.out { margin-left: 0; }
  .btn-discord span, .nav-right .btn-discord { font-size: 12px; padding: 0 10px; height: 40px; }
  .content { padding-bottom: 92px; }
  .notif-drawer { width: 100vw; max-width: 100vw; left: 0; right: 0; transform: translateX(100%); }
  .mobile-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--panel); border-top: 1px solid var(--line2); z-index: 75; box-shadow: 0 -8px 24px rgba(0,0,0,.35); }
  .mobile-bar > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .02em; }
  .mobile-bar > * svg { width: 22px; height: 22px; } .mobile-bar > *.active, .mobile-bar > *:active { color: var(--txt); }
  .mobile-bar .avatar { width: 24px; height: 24px; font-size: 11px; }
  .mobile-bar .login { color: #fff; } .mobile-bar .login svg { color: var(--discord); }
  body.menu-open .sidebar { bottom: 0; }
  .promo-row, .promo-row.three { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; padding: 0 0 6px; }
  .promo-row .promo-card { flex: 0 0 86%; aspect-ratio: 1020/596; }
  .pc-text { width: 78%; padding: 16px; } .pc-text b { white-space: normal; font-size: 18px; } .pc-text p { font-size: 12px; min-height: 0; } .pc-text .btn { width: auto; height: 38px; }
  .promo-nav { display: none; }
  .ticker .items { overflow-x: auto; scrollbar-width: none; } .ticker .items::-webkit-scrollbar { display: none; }
  .hero { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .promo-row .promo-card { flex-basis: 92%; } .pc-text b { font-size: 16px; } }
/* Bouton Discord dans une carte « Connexion requise » : logo blanc, aligné, sans fond */
.empty .btn svg, .empty .btn-discord svg { width: 18px; height: 18px; margin: 0; padding: 0; background: none; color: #fff; border-radius: 0; box-shadow: none; }
.empty .btn { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 900px) {
  /* déconnecté : bouton Discord retiré du haut (il est dans la barre du bas), logo centré */
  .navbar.no-user .nav-right { display: none; }
  .navbar.no-user .nav-logo.out { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }
}
/* Pied de page mobile : 2 colonnes lisibles, le bloc logo sur toute la largeur (la règle desktop plus haut écrasait les media queries) */
@media (max-width: 900px) { .footer .inner { grid-template-columns: 1fr 1fr; gap: 18px; } .footer .inner > div:first-child { grid-column: 1 / -1; } .footer .bottom { flex-direction: column; gap: 10px; text-align: center; } }


/* ---- Affiliation : carte communauté pleine largeur + piste des paliers ---- */
.af-stack { display: flex; flex-direction: column; gap: 14px; }
.af-card .card-head b { display: inline-flex; align-items: center; gap: 8px; } .af-card .card-head b svg { width: 18px; height: 18px; color: var(--acc2); } .af-card .card-head b img { width: 22px; height: 22px; object-fit: contain; }
.af-main { border-top: 3px solid var(--acc); } .af-main .card-body { padding: 22px; }
.af-hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; align-items: stretch; }
.af-hero-l h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.af-hero .af-link .btn { display: inline-flex; align-items: center; gap: 6px; } .af-hero .af-link .btn svg { width: 15px; height: 15px; }
.af-next { position: relative; overflow: hidden; background: linear-gradient(160deg, rgba(30,127,224,.18), var(--panel2) 60%); border: 1px solid rgba(30,127,224,.35); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; justify-content: center; }
.af-next::before { content: ''; position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(circle at 50% 0, rgba(30,127,224,.25), transparent 55%); pointer-events: none; }
.af-next > * { position: relative; } .af-next small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--acc2); font-weight: 800; } .af-next > b { font-size: 24px; font-weight: 800; } .af-next > span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.af-next-cases { display: flex; gap: 4px; justify-content: center; margin: 4px 0; } .af-next-cases .af-case img { width: 64px; height: 64px; } .af-next-cases .af-case:not(:only-child) img { width: 50px; height: 50px; }
.af-next .progress { width: 100%; margin-top: 8px; } .af-next-foot { width: 100%; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 600; } .af-next-foot b { color: var(--gold); }
.af-case { position: relative; display: inline-flex; } .af-case img { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); } .af-case b { position: absolute; right: -4px; bottom: -2px; font-size: 10px; background: var(--acc); color: #fff; border-radius: 6px; padding: 0 4px; }
.af-track-wrap { margin-top: 22px; } .af-track-title { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 12px; }
.af-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; position: relative; }
.af-track::before { content: ''; position: absolute; left: 10%; right: 10%; top: 16px; height: 2px; background: var(--line); }
.af-step { position: relative; background: var(--panel2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 8px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; margin-top: 16px; }
.af-step i { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--panel3); border: 2px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; color: var(--muted); } .af-step i svg { width: 14px; height: 14px; }
.af-step .af-tier-cases { display: flex; justify-content: center; gap: 2px; flex-wrap: wrap; margin-top: 8px; } .af-step .af-tier-cases .af-case:not(:only-child) img { width: 30px; height: 30px; }
.af-step b { font-size: 13px; font-weight: 800; } .af-step span { font-size: 11px; color: var(--muted); line-height: 1.3; }
.af-step.done { border-color: rgba(31,191,110,.5); background: rgba(31,191,110,.08); } .af-step.done i { background: var(--green); border-color: var(--green); color: #fff; } .af-step.done span { color: var(--green); }
.af-step.next { border-color: var(--acc); box-shadow: 0 0 0 2px rgba(30,127,224,.2); } .af-step.next i { border-color: var(--acc); color: var(--acc2); }
.af-track-note { margin: 12px 0 0; font-size: 12px; }
.af-gamba .card-body { padding: 20px 22px; } .af-gamba-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start; } .af-gamba-grid .af-rewards { margin: 0; }
@media (max-width: 900px) { .af-hero, .af-gamba-grid { grid-template-columns: 1fr; } .af-track::before { display: none; } }

/* =====================================================================
   JEUX DU LIVE (pages /stream/*) — design v2
   ===================================================================== */
.sv2 { --svr: 18px; }
.sv-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.sv-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--acc2); font-weight: 800; margin-bottom: 6px; } .sv-kicker svg { width: 14px; height: 14px; }
.sv-top h1 { margin: 0 0 4px; font-size: 30px; font-weight: 900; letter-spacing: -.01em; } .sv-top p { margin: 0; color: var(--muted); font-size: 14px; max-width: 640px; line-height: 1.5; }
.sv-live { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 14px; border-radius: 22px; background: var(--panel); color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); white-space: nowrap; }
.sv-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted2); flex-shrink: 0; } .sv-live svg { width: 18px; height: 18px; opacity: .8; }
.sv-live.on { background: rgba(255,77,94,.12); border-color: rgba(255,77,94,.4); color: var(--txt); } .sv-live.on b { color: var(--red); } .sv-live.on i { background: var(--red); box-shadow: 0 0 0 0 rgba(255,77,94,.6); animation: svLive 1.4s ease-out infinite; } .sv-live.on svg { color: var(--red); opacity: 1; }
.sv-live.err { color: var(--gold); border-color: rgba(253,205,43,.4); } .sv-live.err i { background: var(--gold); }
@keyframes svLive { 0% { box-shadow: 0 0 0 0 rgba(255,77,94,.6); } 100% { box-shadow: 0 0 0 10px rgba(255,77,94,0); } }
.sv-nav { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; } .sv-nav::-webkit-scrollbar { display: none; }
.sv-tab { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 21px; background: var(--panel); color: var(--muted); font-weight: 700; font-size: 13.5px; text-decoration: none; border: 1px solid var(--line); white-space: nowrap; flex-shrink: 0; transition: background .15s, color .15s; }
.sv-tab svg { width: 16px; height: 16px; } .sv-tab:hover { background: var(--panel2); color: var(--txt); } .sv-tab.on { background: var(--acc); border-color: var(--acc); color: #fff; }
.sv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(31,191,110,.6); animation: svDotP 1.4s ease-out infinite; } @keyframes svDotP { 0% { box-shadow: 0 0 0 0 rgba(31,191,110,.6); } 100% { box-shadow: 0 0 0 8px rgba(31,191,110,0); } }
.sv-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 14px; align-items: start; margin-bottom: 14px; }
.sv-stage { position: relative; background: var(--panel); border-radius: var(--svr); overflow: hidden; min-height: 420px; }
.sv-side { display: flex; flex-direction: column; gap: 14px; }
.sv-panel { background: var(--panel); border-radius: var(--svr); overflow: hidden; } .sv-panel > header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); } .sv-panel > header b { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; } .sv-panel > header b svg { width: 16px; height: 16px; color: var(--acc2); }
.sv-pill { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 12px; background: var(--panel3); font-size: 12px; font-weight: 800; }
.sv-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--panel3); color: var(--txt2); font-size: 11.5px; font-weight: 700; } .sv-chip svg { width: 13px; height: 13px; } .sv-chip.warn { background: rgba(253,205,43,.14); color: var(--gold); } .sv-chip.ok { background: rgba(31,191,110,.14); color: var(--green); }
.sv-muted { color: var(--muted); font-size: 13px; }
.sv-notice { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--panel2); color: var(--muted); font-size: 13px; } .sv-notice svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--acc2); } .sv-notice code { background: var(--bg2); color: var(--acc2); padding: 2px 7px; border-radius: 6px; font-weight: 700; } .sv-notice a { color: var(--acc2); font-weight: 700; }
/* --- scène : en attente */
.sv-idle { position: relative; min-height: 420px; padding: 34px 30px 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; background: linear-gradient(180deg, rgba(10,16,32,.35), var(--panel) 70%), var(--svbg) center 30% / cover no-repeat; }
.sv-idle-in { max-width: 520px; } .sv-idle h2 { margin: 12px 0 8px; font-size: 26px; font-weight: 900; letter-spacing: -.01em; } .sv-idle p { margin: 0 0 18px; color: var(--muted); line-height: 1.55; }
.sv-cmdbig { display: inline-flex; flex-direction: column; gap: 4px; background: rgba(10,16,32,.6); border: 1px solid var(--line2); border-radius: 12px; padding: 10px 14px; backdrop-filter: blur(6px); } .sv-cmdbig small { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; } .sv-cmdbig code { font-size: 18px; font-weight: 800; color: var(--acc2); }
.sv-goto { display: inline-flex; align-items: center; gap: 8px; } .sv-goto svg { width: 18px; height: 18px; }
.sv-how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .sv-how li { display: flex; align-items: center; gap: 10px; background: rgba(10,16,32,.55); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; color: var(--txt2); line-height: 1.35; backdrop-filter: blur(6px); } .sv-how i { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--acc); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 12px; }
/* --- scène : inscriptions ouvertes / fermées */
.sv-open, .sv-closed { padding: 26px 26px 20px; display: flex; flex-direction: column; gap: 22px; background: radial-gradient(ellipse at 50% -20%, rgba(30,127,224,.22), transparent 55%); }
.sv-open-top { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; }
.sv-prizebox { display: flex; align-items: center; gap: 14px; background: var(--panel2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; min-width: 0; } .sv-prizebox img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); } .sv-prizebox-i { width: 44px; height: 44px; border-radius: 50%; background: var(--panel3); display: grid; place-items: center; color: var(--gold); } .sv-prizebox-i svg { width: 20px; height: 20px; }
.sv-prizebox small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; } .sv-prizebox b { font-size: 17px; font-weight: 800; } .sv-prizebox.lg img { width: 84px; height: 84px; } .sv-prizebox.lg b { font-size: 20px; } .sv-prizebox.none b { color: var(--txt2); }
.sv-ring { position: relative; width: 150px; height: 150px; flex-shrink: 0; } .sv-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); } .sv-ring circle { fill: none; stroke-width: 9; stroke-linecap: round; } .sv-ring .bg { stroke: var(--bg2); } .sv-ring .fg { stroke: var(--green); transition: stroke-dashoffset .25s linear, stroke .3s; filter: drop-shadow(0 0 6px rgba(31,191,110,.6)); }
.sv-ring.urgent .fg { stroke: var(--red); filter: drop-shadow(0 0 8px rgba(255,77,94,.7)); } .sv-ring.urgent b { color: var(--red); animation: svPulse .5s ease-in-out infinite alternate; } @keyframes svPulse { from { transform: scale(1); } to { transform: scale(1.1); } }
.sv-ring-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; } .sv-ring-in b { font-size: 36px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; } .sv-ring-in small { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; margin-top: 6px; max-width: 90px; line-height: 1.2; }
.sv-ring.wait .fg { stroke: var(--gold); filter: drop-shadow(0 0 6px rgba(253,205,43,.5)); animation: svSpin 1.2s linear infinite; transform-origin: 50% 50%; } @keyframes svSpin { to { transform: rotate(360deg); } }
.sv-join { display: grid; grid-template-columns: 1fr auto; gap: 10px; } .sv-join .input { height: 52px; font-size: 16px; font-weight: 700; } .sv-join .btn { min-width: 180px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; } .sv-join .btn svg { width: 18px; height: 18px; } .sv-join:has(.btn:only-child) { grid-template-columns: 1fr; }
.sv-ok { margin-top: 10px; color: var(--green); font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 6px; } .sv-ok svg { width: 15px; height: 15px; } .sv-ok b { color: var(--txt); }
.sv-cmd { margin-top: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); } .sv-cmd code { background: var(--bg2); color: var(--acc2); padding: 4px 9px; border-radius: 7px; font-weight: 800; } .sv-cmd a { color: var(--acc2); font-weight: 700; }
.sv-open-foot { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); } .sv-open-foot b { color: var(--txt); font-size: 15px; }
.sv-stack { display: flex; } .sv-stack .avatar { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--panel); margin-right: -8px; font-size: 12px; } .sv-stack .more { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--panel3); border: 2px solid var(--panel); font-size: 11px; font-weight: 800; }
.sv-wait-msg { text-align: center; } .sv-wait-msg p { margin: 12px 0 0; color: var(--txt2); font-size: 15px; font-weight: 600; }
/* --- scène : résultat */
.sv-done { padding: 26px 26px 22px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(253,205,43,.14), transparent 55%); }
.sv-spot { display: flex; flex-direction: column; align-items: center; gap: 8px; animation: svUp .5s cubic-bezier(.2,.9,.3,1.2); } @keyframes svUp { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.sv-spot-k { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-weight: 800; }
.sv-spot-av { display: block; position: relative; text-decoration: none; } .sv-spot-av::before { content: ''; position: absolute; inset: -22px; border-radius: 50%; background: radial-gradient(circle, rgba(253,205,43,.35), transparent 65%); z-index: 0; } .sv-spot-av .avatar { position: relative; z-index: 1; }
.avatar.xl { width: 96px; height: 96px; border-radius: 50%; font-size: 36px; } .avatar.md { width: 40px; height: 40px; border-radius: 50%; font-size: 15px; } .avatar.lg.frame-crown::after, .avatar.xl.frame-crown::after { top: -20px; font-size: 22px; }
.sv-spot-n { text-decoration: none; } .sv-spot-n b { font-size: 26px; font-weight: 900; letter-spacing: -.01em; }
.sv-spot-sub { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.sv-spot-val { font-size: 20px; font-weight: 800; color: var(--acc2); } .sv-spot-val small { font-size: 12px; color: var(--muted); font-weight: 600; }
.sv-spot-prize { margin-top: 6px; }
.sv-title { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: rgba(78,166,255,.14); color: var(--acc2); font-weight: 800; font-size: 11.5px; white-space: nowrap; }
.sv-rankchip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; background: color-mix(in srgb, var(--rc) 16%, transparent); color: var(--rc); font-weight: 800; font-size: 11.5px; white-space: nowrap; } .sv-rankchip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--rc); }
.sv-vf { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--green); color: #fff; flex-shrink: 0; } .sv-vf svg { width: 9px; height: 9px; }
.sv-me { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--acc2); background: rgba(30,127,224,.15); padding: 1px 6px; border-radius: 4px; }
.sv-ghost { font-size: 11px; color: var(--muted2); font-weight: 600; }
.sv-actual { background: var(--panel2); border-radius: 14px; padding: 12px 26px; } .sv-actual small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; } .sv-actual b { font-size: 38px; font-weight: 900; color: var(--acc2); line-height: 1.1; }
.sv-rank { width: 100%; max-width: 480px; display: flex; flex-direction: column; gap: 4px; } .sv-rank > div { display: flex; align-items: center; gap: 10px; background: var(--panel2); border-radius: 10px; padding: 6px 12px 6px 10px; font-size: 13px; } .sv-rank > div.top { background: rgba(253,205,43,.1); border: 1px solid rgba(253,205,43,.3); } .sv-rank > div > b { width: 18px; color: var(--muted); text-align: center; } .sv-rank .sv-who { flex: 1; } .sv-rank em { font-style: normal; font-weight: 800; color: var(--acc2); } .sv-rank small { color: var(--muted); }
.sv-callbig { display: flex; align-items: center; gap: 18px; text-align: left; background: var(--panel2); border-radius: 16px; padding: 14px 18px; } .sv-callbig small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; } .sv-callbig b { display: block; font-size: 22px; font-weight: 900; margin: 2px 0 4px; } .sv-callbig span { font-size: 12.5px; color: var(--muted); }
.sv-slotimg { width: 30px; height: 40px; border-radius: 5px; object-fit: cover; flex-shrink: 0; background: var(--bg2); } .sv-slotimg.none { display: grid; place-items: center; color: var(--muted2); } .sv-slotimg.none svg { width: 14px; height: 14px; } .sv-slotimg.big { width: 84px; height: 112px; border-radius: 10px; box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.sv-dropcase { width: 130px; height: 130px; object-fit: contain; filter: drop-shadow(0 12px 26px rgba(0,0,0,.5)); animation: svDrop .7s cubic-bezier(.2,.9,.3,1.3); } @keyframes svDrop { from { transform: translateY(-40px) scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
.sv-score { display: flex; flex-direction: column; align-items: center; gap: 6px; } .sv-score small { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-weight: 800; } .sv-score b { font-size: 34px; font-weight: 900; } .sv-score b span { color: var(--muted2); font-weight: 600; }
.sv-awarded { width: 100%; display: flex; flex-direction: column; gap: 6px; font-size: 13px; } .sv-awarded div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 9px 12px; border-radius: 10px; background: var(--panel2); text-align: left; } .sv-awarded svg { width: 15px; height: 15px; flex-shrink: 0; } .sv-awarded .ok svg { color: var(--green); } .sv-awarded .warn svg { color: var(--gold); } .sv-awarded a { color: var(--acc2); font-weight: 700; }
/* --- roue */
.sv-wheelwrap { position: relative; width: min(440px, 92%); margin: 6px auto 0; } .sv-wheelwrap canvas { width: 100%; height: auto; display: block; border-radius: 50%; box-shadow: 0 0 0 6px var(--panel2), 0 0 0 8px var(--line2), 0 18px 50px rgba(0,0,0,.5); }
.sv-ptr { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 30px solid var(--gold); filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); z-index: 2; }
/* --- arène du duel */
.sv-arena { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; width: 100%; }
.sv-team { background: var(--panel2); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); text-align: left; } .sv-team > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; } .sv-team > header small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 800; } .sv-team > header b { font-size: 20px; font-weight: 900; }
.sv-team.win { border-color: rgba(31,191,110,.5); background: rgba(31,191,110,.08); box-shadow: 0 0 0 1px rgba(31,191,110,.25), 0 0 30px rgba(31,191,110,.12); } .sv-team.win > header b { color: var(--green); } .sv-team.lose { opacity: .7; }
.sv-tp { display: flex; align-items: center; gap: 8px; font-size: 13px; min-width: 0; } .sv-tp .sv-who { flex: 1; } .sv-tp .withimg { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; max-width: 45%; } .sv-tp .withimg > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sv-tp em { font-style: normal; font-weight: 800; color: var(--acc2); } .sv-tp .sv-multi { width: 84px; height: 36px; flex: 0 0 84px; }
.sv-vs { display: grid; place-items: center; } .sv-vs span { width: 46px; height: 46px; border-radius: 50%; background: var(--bg2); border: 2px solid var(--line2); display: grid; place-items: center; font-weight: 900; font-size: 14px; color: var(--gold); }
/* --- participants */
.sv-plist { max-height: 560px; overflow-y: auto; padding: 6px 8px; }
.sv-p { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 50px; padding: 4px 6px; border-radius: 10px; font-size: 13px; } .sv-p + .sv-p { margin-top: 2px; } .sv-p:hover { background: var(--panel2); } .sv-p.me { background: rgba(30,127,224,.1); }
.sv-p-r { display: flex; align-items: center; gap: 8px; flex-shrink: 0; max-width: 50%; } .sv-p-r em { font-style: normal; font-weight: 800; color: var(--acc2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sv-p-r em.withimg { display: inline-flex; align-items: center; gap: 7px; } .sv-p-r em.withimg > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sv-p-r i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--panel3); color: var(--muted); flex-shrink: 0; } .sv-p-r i svg { width: 12px; height: 12px; } .sv-p.rumble .sv-p-r i { color: #85c742; }
.sv-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 34px 16px; text-align: center; color: var(--muted); font-size: 13px; } .sv-empty svg { width: 28px; height: 28px; color: var(--muted2); }
.sv-who { display: flex; align-items: center; gap: 9px; min-width: 0; color: inherit; text-decoration: none; border-radius: 8px; } .sv-who .avatar.sm { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; font-size: 13px; }
.sv-who-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; } .sv-who-n { display: flex; align-items: center; gap: 5px; min-width: 0; } .sv-who-n b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; } .sv-who:hover .sv-who-n b { text-decoration: underline; }
.sv-who-t small { display: flex; gap: 4px; align-items: center; margin-top: 3px; white-space: nowrap; overflow: hidden; } .sv-who-t small .sv-title, .sv-who-t small .sv-rankchip { height: 18px; font-size: 10.5px; padding: 0 6px; }
/* --- régie (admin) */
.sv-regie { background: var(--panel); border: 1px solid rgba(30,127,224,.35); border-left: 4px solid var(--acc); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 10px; }
.sv-regie-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .sv-regie-head b { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--acc2); } .sv-regie-head b svg { width: 14px; height: 14px; } .sv-regie-state { flex: 1; font-size: 12.5px; color: var(--muted); font-weight: 600; } .sv-regie-head .btn { display: inline-flex; align-items: center; gap: 6px; } .sv-regie-head .btn svg { width: 14px; height: 14px; }
.sv-regie-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; } .sv-regie-row label { display: flex; flex-direction: column; gap: 4px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; } .sv-regie-row .input { height: 40px; width: auto; min-width: 150px; } .sv-regie-row .sv-qty { min-width: 0; width: 64px; } .sv-regie-row .btn { height: 40px; display: inline-flex; align-items: center; gap: 6px; } .sv-regie-row .btn svg { width: 15px; height: 15px; } .sv-regie-row .btn-sm { height: 34px; } .sv-sp { flex: 1; }
.sv-regie-note { font-size: 12px; color: var(--muted); } .sv-regie-note.warn { color: var(--gold); } .sv-regie-note a { color: var(--acc2); font-weight: 700; }
.sv-regie-test { border-top: 1px dashed var(--line2); padding-top: 10px; } .sv-chatlog { margin-top: 8px; display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); max-height: 120px; overflow-y: auto; } .sv-chatlog b { color: var(--txt2); }
/* --- derniers résultats */
.sv-hist > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; } .sv-hist > header b { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; } .sv-hist > header b svg { width: 16px; height: 16px; color: var(--gold); }
.sv-hist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.sv-hcard { background: var(--panel); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; } .sv-hcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .sv-hcard-top time { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.sv-hcard-w { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-width: 0; } .sv-hcard-w > span { display: flex; flex-direction: column; min-width: 0; } .sv-hcard-w b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sv-hcard-w small { font-size: 11.5px; color: var(--muted); }
.sv-hcard-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted); } .sv-hcard-foot span { display: inline-flex; align-items: center; gap: 4px; } .sv-hcard-foot svg { width: 13px; height: 13px; } .sv-hcard-foot .prize { color: var(--gold); font-weight: 700; }
/* --- fiche joueur (modale) */
.sv-pm-modal { max-width: 460px; } .sv-pm { position: relative; } .sv-pm-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; background: rgba(10,16,32,.6); border: 0; color: #fff; display: grid; place-items: center; cursor: pointer; } .sv-pm-x svg { width: 16px; height: 16px; }
.sv-pm-body { display: flex; flex-direction: column; overflow-y: auto; max-height: calc(100vh - 32px); }
.sv-pm-hero { position: relative; padding: 34px 22px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; background: radial-gradient(ellipse at 50% 0%, rgba(30,127,224,.35), transparent 60%), linear-gradient(180deg, var(--panel2), var(--panel)); } .sv-pm-hero > b { font-size: 24px; font-weight: 900; letter-spacing: -.01em; } .sv-pm-hero.ghost > b { color: var(--txt2); }
.sv-pm-av { position: relative; margin-bottom: 4px; } .sv-pm-av::before { content: ''; position: absolute; inset: -20px; border-radius: 50%; background: radial-gradient(circle, rgba(78,166,255,.35), transparent 65%); } .sv-pm-av .avatar { position: relative; }
.sv-pm-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; } .sv-pm-chips .sv-chip svg { width: 12px; height: 12px; }
.sv-pm-xp { width: 100%; max-width: 280px; margin-top: 6px; } .sv-pm-xp .progress { height: 6px; } .sv-pm-xp small { display: block; margin-top: 6px; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.sv-pm-p { padding: 0 22px; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; } .sv-pm .btn { margin: 14px 22px 22px; }
.sv-pm-sec { padding: 14px 22px 0; } .sv-pm-sec > small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; margin-bottom: 8px; }
.sv-pm-cos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .sv-pm-cos > div { display: flex; align-items: center; gap: 10px; background: var(--panel2); border-radius: 12px; padding: 10px; min-width: 0; } .sv-pm-cos small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 700; } .sv-pm-cos b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; } .sv-pm-cos .avatar.sm { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
.sv-swatch { width: 30px; height: 30px; border-radius: 50%; background: var(--sw); flex-shrink: 0; box-shadow: inset 0 0 0 2px rgba(255,255,255,.15); } .sv-swatch.rainbow { background: conic-gradient(#ff4d5e, #fdcd2b, #1fbf6e, #4ea6ff, #b46bff, #ff4d5e); }
.sv-pm-ti { width: 30px; height: 30px; border-radius: 50%; background: rgba(78,166,255,.14); color: var(--acc2); display: grid; place-items: center; flex-shrink: 0; } .sv-pm-ti svg { width: 15px; height: 15px; }
.sv-pm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .sv-pm-grid > div { background: var(--panel2); border-radius: 12px; padding: 10px 6px; text-align: center; } .sv-pm-grid b { display: block; font-size: 20px; font-weight: 900; } .sv-pm-grid b.g { color: var(--green); } .sv-pm-grid span { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.sv-pm-by { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .sv-pm-by span { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 13px; background: var(--panel2); font-size: 11.5px; font-weight: 700; color: var(--txt2); } .sv-pm-by span svg { width: 12px; height: 12px; color: var(--acc2); } .sv-pm-by span b { color: var(--acc2); } .sv-pm-by span.off { opacity: .45; }
.sv-pm-best { margin: 14px 22px 0; display: flex; align-items: center; gap: 12px; background: var(--panel2); border-radius: 12px; padding: 10px 12px; } .sv-pm-best img { width: 48px; height: 48px; object-fit: contain; } .sv-pm-best > div { flex: 1; min-width: 0; } .sv-pm-best small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 700; } .sv-pm-best b { font-weight: 800; } .sv-pm-best em { font-style: normal; font-weight: 800; color: var(--gold); }
.sv-pm-foot { padding: 14px 22px 20px; font-size: 12px; color: var(--muted); text-align: center; }
/* --- responsive */
@media (max-width: 1000px) { .sv-grid { grid-template-columns: 1fr; } .sv-arena { grid-template-columns: 1fr; } .sv-vs { padding: 4px 0; } }
@media (max-width: 640px) { .sv-top h1 { font-size: 24px; } .sv-open, .sv-closed, .sv-done { padding: 18px 16px 16px; } .sv-open-top { grid-template-columns: 1fr; justify-items: center; } .sv-ring { width: 132px; height: 132px; } .sv-join { grid-template-columns: 1fr; } .sv-how { grid-template-columns: 1fr; } .sv-idle { padding: 24px 18px 18px; min-height: 0; } .sv-pm-grid, .sv-pm-cos { grid-template-columns: repeat(2, 1fr); } .sv-who-t small { display: none; } .sv-regie-row .input { min-width: 0; flex: 1; } .sv-plist { max-height: 360px; } }

/* ---- Admin : affiliation (qui parraine qui) ---- */
.adm-ref { background: var(--panel2); border-radius: 12px; margin-bottom: 8px; overflow: hidden; } .adm-ref summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 14px; } .adm-ref summary::-webkit-details-marker { display: none; } .adm-ref[open] summary { border-bottom: 1px solid var(--line); }
.adm-ref-who { display: inline-flex; align-items: center; gap: 8px; min-width: 0; } .adm-ref-who .avatar.sm { width: 28px; height: 28px; border-radius: 50%; font-size: 11px; } .adm-ref-who code { background: var(--bg2); color: var(--acc2); padding: 2px 7px; border-radius: 6px; font-size: 12px; font-weight: 700; } .adm-ref-who small { color: var(--muted); font-size: 11.5px; }
.adm-ref-stats { display: inline-flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; } .adm-ref-stats > span > b { color: var(--txt); }
.adm-ref-tiers { display: inline-flex; gap: 3px; } .adm-ref-tiers i { display: grid; place-items: center; width: 26px; height: 22px; border-radius: 6px; background: var(--bg2); font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--muted2); } .adm-ref-tiers i.on { background: rgba(31,191,110,.18); color: var(--green); } .adm-ref-tiers i.due { background: rgba(253,205,43,.18); color: var(--gold); }
.adm-ref .atable { margin: 0; } .adm-ref .atable tr.flagged td { color: var(--red); }
.adm-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-bottom: 12px; } .adm-kpis > div { background: var(--panel2); border-radius: 10px; padding: 12px 14px; } .adm-kpis b { display: block; font-size: 22px; font-weight: 900; } .adm-kpis span { font-size: 11.5px; color: var(--muted); font-weight: 600; }

/* ---- Caisse teaser (bientôt disponible, image en couleur) ---- */
.case-card.disabled.teaser .case-img img { filter: none; opacity: 1; } .case-card.disabled.teaser h3 { color: var(--txt); }
.case-card.disabled.teaser .case-soon { background: linear-gradient(135deg, #ff3fa4, #b46bff); color: #fff; box-shadow: 0 4px 14px rgba(255,63,164,.4); }
.case-card.disabled.teaser .actions .btn-ghost { display: inline-flex; align-items: center; gap: 6px; } .case-card.disabled.teaser .actions .btn-ghost svg { width: 14px; height: 14px; }
.det-soon { font-size: 14px; line-height: 1.6; color: var(--txt2); background: linear-gradient(135deg, rgba(255,63,164,.12), rgba(180,107,255,.1)); border: 1px solid rgba(255,63,164,.3); border-radius: 12px; padding: 14px 16px; margin: 0; }
.bp-reward.bundle:has(img:nth-child(4)) img { max-width: 23%; max-height: 62px; }
.adm-bp-prog { min-width: 140px; } .adm-bp-prog .progress { height: 7px; } .adm-bp-prog small { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); font-weight: 700; }

/* =====================================================================
   JEUX ORIGINAUX — hub, clés, coffre
   ===================================================================== */
.nav-keys { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: var(--r); background: var(--panel); color: var(--txt); text-decoration: none; font-weight: 800; font-size: 13.5px; border: 1px solid var(--line); margin-right: 8px; } .nav-keys svg { width: 16px; height: 16px; color: #8ab4ff; } .nav-keys span { font-size: 11px; color: var(--muted); font-weight: 700; }
.jx-keys { display: inline-flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 8px 16px 8px 12px; } .jx-keys > svg { width: 22px; height: 22px; color: #8ab4ff; } .jx-keys small { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; } .jx-keys b { font-size: 20px; font-weight: 900; line-height: 1.1; }
.jx-back { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); text-decoration: none; font-weight: 700; margin-bottom: 6px; } .jx-back:hover { color: var(--acc2); } .jx-back svg { width: 14px; height: 14px; }
.jx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.jx-card { display: flex; flex-direction: column; background: var(--panel); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; border: 1px solid transparent; transition: transform .2s cubic-bezier(.22,1,.36,1), border-color .2s, box-shadow .2s; } .jx-card:hover { transform: translateY(-3px); border-color: var(--line2); box-shadow: 0 24px 50px -24px rgba(0,0,0,.75); }
.jx-img { position: relative; aspect-ratio: 1; background: var(--bg2); } .jx-img img { width: 100%; height: 100%; object-fit: cover; display: block; } .jx-card.soon .jx-img img { filter: saturate(.6) brightness(.6); }
.jx-soon { position: absolute; top: 12px; left: 12px; background: linear-gradient(135deg, #ff3fa4, #b46bff); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; }
.jx-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; } .jx-body b { font-size: 15px; font-weight: 800; } .jx-body p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; } .jx-body small { margin-top: 4px; font-size: 11px; color: var(--muted2); font-weight: 700; }

/* Coffre */
.cf-hero { position: relative; height: 260px; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(ellipse at 50% 100%, #1b2947, #0b0f1a 70%); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; } .cf-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 55%, rgba(251,191,36, calc(.08 + var(--p) / 100 * .45)) 0%, transparent 58%); transition: background .7s; } .cf-chest { position: relative; width: 150px; height: 150px; color: #fbbf24; filter: drop-shadow(0 18px 44px rgba(0,0,0,.7)); transition: transform .5s; } .cf-chest svg { width: 100%; height: 100%; } .cf-hero.open .cf-chest { transform: scale(1.08); color: #fde68a; } .cf-hero-t { position: absolute; left: 22px; bottom: 18px; } .cf-hero-t small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--acc2); font-weight: 800; } .cf-hero-t h2 { margin: 2px 0 0; font-size: 26px; font-weight: 900; } .cf-openbadge { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; background: rgba(31,191,110,.18); color: var(--green); border-radius: 8px; padding: 6px 10px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; } .cf-openbadge svg { width: 13px; height: 13px; }
.cf-card { padding: 18px; margin-bottom: 14px; } .cf-card h3 { margin: 0 0 12px; font-size: 15px; display: flex; align-items: center; gap: 8px; } .cf-card h3 svg { width: 16px; height: 16px; color: var(--gold); } .cf-card h3 .muted { margin-left: auto; font-size: 12px; font-weight: 600; }
.cf-prog { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; } .cf-prog b { color: var(--txt); } .cf-prog .pct { font-size: 24px; font-weight: 900; color: var(--gold); } .cf-bar { height: 16px; border-radius: 8px; } .cf-bar i { background: linear-gradient(90deg, #fbbf24, #facc15, #f59e0b); }
.cf-inject { margin-top: 14px; } .cf-inject-info { font-size: 13px; color: var(--muted); margin-bottom: 8px; } .cf-inject-info b { color: var(--gold); } .cf-inject-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .cf-q { height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel2); color: var(--txt); font-weight: 800; cursor: pointer; } .cf-q.on { border-color: rgba(251,191,36,.6); background: rgba(251,191,36,.15); color: var(--gold); } .cf-inject-row .input { width: 110px; height: 40px; } .cf-inject-row .btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; } .cf-inject-row .btn svg { width: 15px; height: 15px; }
.cf-opened { margin-top: 14px; border: 1px solid rgba(31,191,110,.3); background: rgba(31,191,110,.1); border-radius: 12px; padding: 12px 14px; } .cf-opened > b { display: inline-flex; align-items: center; gap: 6px; } .cf-opened > b svg { width: 15px; height: 15px; color: var(--green); }
.cf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .cf-chips span { display: inline-flex; align-items: center; gap: 4px; border-radius: 8px; border: 1px solid var(--line2); background: rgba(255,255,255,.05); padding: 4px 10px; font-size: 13px; font-weight: 700; } .cf-chips span.em { border-color: rgba(52,211,153,.3); background: rgba(52,211,153,.1); color: #a7f3d0; } .cf-chips span.gold { border-color: rgba(251,191,36,.3); background: rgba(251,191,36,.1); color: var(--gold); }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .cf-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; } .cf-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--panel2); border-radius: 12px; padding: 12px 8px; box-shadow: inset 0 0 24px -14px var(--t); } .cf-tile img { width: 40px; height: 40px; object-fit: contain; } .cf-ti { width: 28px; height: 28px; display: grid; place-items: center; color: var(--t); font-weight: 900; font-size: 20px; } .cf-ti svg { width: 26px; height: 26px; } .cf-tile b { font-size: 15px; font-weight: 900; } .cf-tile small { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cf-top { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .cf-top small { width: 100%; font-size: 11px; color: var(--muted); font-weight: 700; } .cf-top span { border-radius: 8px; border: 1px solid rgba(251,191,36,.3); background: rgba(251,191,36,.1); color: var(--gold); padding: 3px 9px; font-size: 12px; font-weight: 700; }
.cf-est { margin-top: 12px; border: 1px solid rgba(30,127,224,.35); background: rgba(30,127,224,.08); border-radius: 12px; padding: 12px; } .cf-est > b { display: inline-flex; align-items: center; gap: 6px; } .cf-est > b svg { width: 14px; height: 14px; color: var(--acc2); } .cf-est > small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.cf-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; margin-bottom: 12px; } .cf-pod { display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--panel2); border-radius: 12px; padding: 12px 8px; text-align: center; min-width: 0; } .cf-pod.first { transform: translateY(-8px); } .cf-pod .m { font-size: 22px; } .cf-pod .avatar { border-radius: 50%; } .cf-pod .avatar.md { width: 44px; height: 44px; } .cf-pod .avatar.lg { width: 56px; height: 56px; border-radius: 50%; } .cf-pod.g .avatar { box-shadow: 0 0 0 2px rgba(251,191,36,.6), 0 0 24px rgba(251,191,36,.45); } .cf-pod.s .avatar { box-shadow: 0 0 0 2px rgba(203,213,225,.5), 0 0 18px rgba(203,213,225,.35); } .cf-pod.b .avatar { box-shadow: 0 0 0 2px rgba(180,83,9,.6), 0 0 18px rgba(180,83,9,.4); } .cf-pod b { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cf-pod small { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; } .cf-pod.g small { color: #fcd34d; } .cf-pod.s small { color: #e2e8f0; } .cf-pod.b small { color: #d97706; } .cf-pod small svg { width: 13px; height: 13px; } .cf-pod em { font-style: normal; font-size: 11px; color: var(--muted); }
.cf-list { display: flex; flex-direction: column; gap: 2px; } .cf-li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; font-size: 13px; } .cf-li:hover { background: var(--panel2); } .cf-li i { width: 22px; text-align: center; color: var(--muted2); font-style: normal; font-size: 12px; } .cf-li .avatar.sm { width: 30px; height: 30px; border-radius: 50%; } .cf-li b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cf-li small { color: var(--muted); } .cf-li em { font-style: normal; font-weight: 800; display: inline-flex; align-items: center; gap: 4px; width: 80px; justify-content: flex-end; } .cf-li em svg { width: 13px; height: 13px; }
.cf-hist > div { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; } .cf-hist > div:last-child { border: 0; } .cf-hist small { flex: 1; color: var(--muted); } .cf-hist em { font-style: normal; font-size: 12px; }
.cf-admin { border-left: 3px solid var(--acc); } .cf-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; } .cf-form label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; } .cf-form .input { height: 38px; } .cf-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 8px; }

/* Coffre : visuel réel */
.cf-hero { height: 300px; background: #0b0f1a url(../assets/jeux/coffre-bg.webp) center / cover no-repeat; border-radius: var(--r-lg); } .cf-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,26,.3), transparent 40%, rgba(11,15,26,.85)); } .cf-glow { z-index: 1; } .cf-chest { position: relative; z-index: 2; width: 220px; height: 220px; object-fit: contain; filter: drop-shadow(0 18px 44px rgba(0,0,0,.7)); transition: transform .5s; } .cf-hero:hover .cf-chest { transform: scale(1.03); } .cf-hero.open .cf-chest { transform: scale(1.06); } .cf-hero-t, .cf-openbadge { z-index: 3; }
.cf-card { border-radius: var(--r-lg); } .cf-tile { border-radius: var(--r); } .cf-q { border-radius: 5px; border: 1px solid transparent; background: var(--bg); } .cf-q.on { background: var(--panel3); border-color: var(--gold); } .cf-pod { border-radius: var(--r-lg); } .cf-opened, .cf-est { border-radius: var(--r-lg); } .cf-chips span { border-radius: 4px; }
@media (max-width: 480px) { .cf-hero { height: 220px; } .cf-chest { width: 150px; height: 150px; } }


/* =====================================================================
   JEUX ORIGINAUX — habillage façon « Stake Originals »
   ===================================================================== */
.jx { --sk-bg: var(--bg2); --sk-panel: var(--panel); --sk-input: var(--bg); --sk-border: var(--line2); --sk-hover: #3b5384; --sk-tile: var(--panel3); --sk-tile-h: #2c4470; --sk-green: var(--green); --sk-green-h: #27d47c; --sk-text: var(--txt); --sk-muted: var(--muted); --sk-dim: var(--muted2); --sk-red: var(--red); --sk-gold: var(--gold); --sk-btn: var(--acc); --sk-btn-h: #2b8ff0; }
.jx-head h1 { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; } .jx-head h1 svg { width: 24px; height: 24px; color: var(--sk-muted); }
.jx-ki { width: 15px; height: 15px; object-fit: contain; margin-left: 4px; vertical-align: -3px; display: inline-block; } .jx-amt { display: inline-flex; align-items: center; font-weight: 700; font-variant-numeric: tabular-nums; } .jx-amt.green { color: var(--sk-green); } .jx-amt.muted { color: var(--sk-muted); font-weight: 600; font-size: 12px; }
.nav-keys img { width: 18px; height: 18px; object-fit: contain; } .jx-keys { display: inline-flex; align-items: center; gap: 10px; background: var(--sk-panel); border-radius: 6px; padding: 8px 16px 8px 12px; } .jx-keys img { width: 28px; height: 28px; object-fit: contain; } .jx-keys small { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--sk-muted); font-weight: 700; } .jx-keys b { font-size: 18px; font-weight: 800; line-height: 1.1; }
.jx-game { display: grid; grid-template-columns: 300px 1fr; min-height: 620px; background: var(--sk-bg); border-radius: 8px; overflow: hidden; }
.jx-ctl { background: var(--sk-panel); padding: 12px; display: flex; flex-direction: column; gap: 12px; } .jx-table { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; background: var(--sk-bg); }
.jx-sec { display: flex; flex-direction: column; gap: 6px; } .jx-sec > small, .jx-bet-head { font-size: 13px; color: var(--sk-muted); font-weight: 600; text-transform: none; letter-spacing: 0; }
.jx-bet { display: flex; flex-direction: column; gap: 6px; } .jx-bet.off { opacity: .6; pointer-events: none; } .jx-bet-head { display: flex; justify-content: space-between; align-items: center; }
.jx-bet-grp { display: grid; grid-template-columns: 1fr 44px 44px; background: var(--sk-border); border-radius: 6px; padding: 2px; gap: 2px; } .jx-bet-in { display: flex; align-items: center; gap: 6px; background: var(--sk-input); border: 2px solid var(--sk-border); border-radius: 4px; padding: 0 10px; height: 40px; cursor: text; } .jx-bet-in:hover { border-color: var(--sk-hover); } .jx-bet-in:focus-within { border-color: var(--sk-hover); } .jx-bet-in .jx-ki { width: 16px; height: 16px; margin: 0; } .jx-bet-in input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--sk-text); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; outline: none; font-family: inherit; }
.jx-bet-grp button { border: 0; border-radius: 4px; background: var(--sk-border); color: var(--sk-text); font-weight: 800; font-size: 13px; cursor: pointer; } .jx-bet-grp button:hover { background: var(--sk-hover); } .jx-bet-grp button:disabled { opacity: .5; cursor: not-allowed; }
.jx-select { position: relative; } .jx-select select { width: 100%; height: 44px; appearance: none; background: var(--sk-input); border: 2px solid var(--sk-border); border-radius: 4px; color: var(--sk-text); padding: 0 34px 0 12px; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; } .jx-select select:hover { border-color: var(--sk-hover); } .jx-select svg { position: absolute; right: 10px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--sk-muted); pointer-events: none; }
.jx-box-stat { display: flex; flex-direction: column; gap: 4px; } .jx-box-stat small { font-size: 13px; color: var(--sk-muted); font-weight: 600; } .jx-box-stat b { display: flex; align-items: center; height: 44px; background: var(--sk-input); border: 2px solid var(--sk-border); border-radius: 4px; padding: 0 12px; font-size: 14px; }
.jx-miser { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; width: 100%; border: 0; border-radius: 6px; background: var(--sk-btn); color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; transition: background .12s, transform .12s; box-shadow: none; } .jx-miser:hover { background: var(--sk-btn-h); transform: none; } .jx-miser:active { transform: translateY(1px); } .jx-miser em { font-style: normal; font-weight: 700; font-size: 13px; opacity: .8; } .jx-miser.cashout { background: var(--sk-gold); color: var(--gold-txt); } .jx-miser em { opacity: .9; } .jx-miser.off, .jx-miser:disabled { background: var(--sk-border); color: var(--sk-dim); cursor: not-allowed; opacity: 1; } .jx-miser.pulse { animation: none; }
.jx-btn2 { height: 44px; border: 0; border-radius: 6px; background: var(--sk-border); color: var(--sk-text); font-weight: 700; font-size: 14px; cursor: pointer; } .jx-btn2:hover { background: var(--sk-hover); }
.jx-evolve { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; width: 100%; border: 0; border-radius: 6px; background: var(--sk-gold); color: #1a1200; font-size: 15px; font-weight: 800; cursor: pointer; } .jx-evolve svg { width: 18px; height: 18px; } .jx-evolve em { font-style: normal; background: rgba(0,0,0,.12); border-radius: 4px; padding: 3px 8px; font-size: 13px; } .jx-evolve:hover { filter: brightness(1.05); } .jx-evolve.off, .jx-evolve:disabled { background: var(--sk-border); color: var(--sk-dim); cursor: not-allowed; } .jx-eggi { display: inline-block; animation: jxPulseO 1s ease-in-out infinite; } @keyframes jxPulseO { 50% { opacity: .4; } }
.jx-stats { background: var(--sk-input); border: 2px solid var(--sk-border); border-radius: 4px; padding: 6px 12px; font-size: 13px; } .jx-stats hr { border: 0; border-top: 1px solid var(--sk-border); margin: 4px 0; } .jx-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; color: var(--sk-muted); } .jx-row b { color: var(--sk-text); font-weight: 700; font-variant-numeric: tabular-nums; } .jx-row b.green, .green { color: var(--sk-green); } .jx-row b.gold, .gold { color: var(--sk-gold); } .jx-row b.red, .red { color: var(--sk-red); }
.jx-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--sk-input); border-radius: 6px; padding: 3px; } .jx-opts button { height: 36px; border: 0; border-radius: 4px; background: transparent; color: var(--sk-muted); font-weight: 700; font-size: 13px; cursor: pointer; } .jx-opts button:hover { color: var(--sk-text); } .jx-opts button.on { background: var(--sk-border); color: var(--sk-text); } .jx-opts button:disabled { opacity: .5; cursor: not-allowed; }
.jx-hint { margin: 0; font-size: 11px; color: var(--sk-muted); } .jx-err { margin: 0; font-size: 11px; color: var(--sk-red); text-align: center; }
.jx-badges, .jx-status { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; min-height: 26px; }
.jx-badge { display: inline-flex; align-items: center; gap: 4px; border-radius: 4px; padding: 4px 10px; font-size: 12px; font-weight: 700; background: var(--sk-panel); color: var(--sk-text); } .jx-badge.muted { color: var(--sk-muted); } .jx-badge.success { background: rgba(0,231,1,.14); color: var(--sk-green); } .jx-badge.danger { background: rgba(255,77,94,.16); color: #ff8b87; } .jx-badge.info { background: rgba(85,112,134,.35); color: #cfe0f0; } .jx-badge.warning { background: rgba(245,200,66,.16); color: var(--sk-gold); }
.jx-bigmult { font-size: 36px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; } .jx-bigmult.gold { color: #fff; text-shadow: 0 0 14px rgba(245,200,66,.5); } .jx-bigmult.red { color: #fca5a5; } .jx-bigmult.dim { color: var(--sk-muted); }
.jx-lnk { background: var(--sk-border); border: 0; color: var(--sk-muted); border-radius: 6px; padding: 10px; font-size: 12px; cursor: pointer; } .jx-lnk:hover { color: #fff; }
.jx-turn-note { text-align: center; font-size: 12px; color: var(--sk-muted); font-weight: 600; }
/* Mines : tuiles en relief */
.jx-grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; width: 100%; max-width: 480px; } .jx-cell { position: relative; aspect-ratio: 1; border: 0; border-radius: 6px; background: var(--sk-tile); box-shadow: 0 4px 0 0 #0f1a30; cursor: pointer; transition: transform .1s, background .1s, box-shadow .1s; display: grid; place-items: center; padding: 18%; } .jx-cell svg { width: 100%; height: 100%; } .jx-cell:hover:not(:disabled) { background: var(--sk-tile-h); transform: translateY(-2px); box-shadow: 0 6px 0 0 #0f1a30; } .jx-cell:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 2px 0 0 #0f1a30; }
.jx-cell.idle { cursor: default; } .jx-cell.gem { background: #0a1a2e; box-shadow: inset 0 0 0 2px rgba(0,231,1,.35); animation: jxPop .35s; } .jx-cell.mine { background: #3a0f16; box-shadow: inset 0 0 0 2px rgba(255,77,94,.5); animation: jxPop .35s; } .jx-cell.ghost { background: #0f212e; box-shadow: none; } .jx-cell.ghost svg { opacity: .28; } .jx-cell.boom { animation: jxBoom .5s; } .jx-cell:disabled { cursor: default; }
@keyframes jxPop { from { transform: scale(.7); } 60% { transform: scale(1.08); } to { transform: none; } } @keyframes jxBoom { 0% { transform: scale(1); } 30% { transform: scale(1.25) rotate(-6deg); background: var(--sk-red); } 100% { transform: none; } }
.jx-winpop { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--sk-panel); border: 3px solid var(--sk-green); border-radius: 8px; padding: 14px 26px; text-align: center; animation: jxPop .4s cubic-bezier(.2,.9,.3,1.3); box-shadow: 0 20px 50px rgba(0,0,0,.5); } .jx-winpop b { display: block; font-size: 26px; font-weight: 900; color: var(--sk-green); } .jx-winpop span { display: inline-flex; align-items: center; font-weight: 700; color: var(--sk-text); }
/* PFC */
.jx-pills { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; } .jx-pills.seven { grid-template-columns: repeat(7, minmax(0, 1fr)); } .jx-pills i { height: 30px; display: grid; place-items: center; border-radius: 4px; background: var(--sk-input); color: var(--sk-dim); font-style: normal; font-size: 11px; font-weight: 800; --c: #00e701; --g: #7cff7d; } .jx-pills i.gold { --c: #f5c842; --g: #ffe08a; } .jx-pills i.on { color: #05080a; background: var(--c); } .jx-pills i.cur { box-shadow: 0 0 0 2px var(--g); }
.jx-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .jx-choices button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 6px; border: 2px solid var(--sk-border); background: var(--sk-input); color: var(--sk-text); cursor: pointer; transition: all .12s; } .jx-choices button span { font-size: 30px; line-height: 1; } .jx-choices button small { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--sk-muted); } .jx-choices button:hover:not(:disabled) { border-color: var(--sk-green); transform: translateY(-2px); } .jx-choices.sess button:hover:not(:disabled) { border-color: var(--sk-gold); } .jx-choices button:disabled { opacity: .4; cursor: not-allowed; } .jx-choices button.sel { border-color: var(--sk-hover); background: var(--sk-border); opacity: 1; }
.jx-pfc-top, .jx-egg-top { display: flex; flex-direction: column; align-items: center; gap: 8px; } .jx-duel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 520px; } .jx-slot { display: flex; flex-direction: column; align-items: center; gap: 8px; border-radius: 8px; background: var(--sk-panel); padding: 24px 12px; text-align: center; border: 2px solid transparent; } .jx-slot > small:first-child { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--sk-muted); font-weight: 700; } .jx-slot small:last-child { font-size: 12px; color: var(--sk-muted); } .jx-hand { font-size: 60px; line-height: 1; height: 72px; display: grid; place-items: center; } .jx-hand.dim { color: var(--sk-dim); } .jx-hand.dim svg { width: 40px; height: 40px; } .jx-hand.pop { animation: jxHand .4s cubic-bezier(.2,.9,.3,1.4); } @keyframes jxHand { from { transform: scale(.6) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } } .jx-slot.win { border-color: var(--sk-green); } .jx-slot.lose { border-color: var(--sk-red); } .jx-slot.draw { border-color: var(--sk-hover); }
/* Roue */
.jx-wheel { position: relative; width: min(400px, 100%); aspect-ratio: 1; } .jx-wheel > svg { width: 100%; height: 100%; will-change: transform; } .jx-wptr { position: absolute; top: -3.5%; left: 50%; transform: translateX(-50%); width: 24px; height: 32px; z-index: 2; filter: drop-shadow(0 4px 8px rgba(0,0,0,.45)); } .jx-wptr svg { width: 100%; height: 100%; }
.jx-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: 100%; max-width: 680px; } .jx-legend > div { flex: 1; min-width: 84px; display: flex; flex-direction: column; align-items: center; gap: 2px; border-radius: 6px; background: var(--sk-panel); padding: 8px 12px; transition: all .2s; } .jx-legend b { font-size: 14px; font-variant-numeric: tabular-nums; } .jx-legend small { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--sk-muted); } .jx-legend > div.on { box-shadow: 0 0 0 2px var(--sk-green); }
/* EggBreak */
.jx-egg-stage { position: relative; width: 100%; max-width: 360px; height: 280px; display: flex; align-items: flex-end; justify-content: center; } .jx-egg-halo { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 70%, color-mix(in srgb, var(--accent) 19%, transparent), transparent 65%); opacity: .55; transition: opacity .4s; } .jx-egg-stage.shaking .jx-egg-halo { opacity: .85; animation: jxHalo .5s ease-in-out infinite; } .jx-egg-stage.jackpot .jx-egg-halo { opacity: 1; background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(251,191,36,.45), transparent 70%); } .jx-egg-stage.broken .jx-egg-halo { background: radial-gradient(ellipse 55% 55% at 50% 55%, rgba(248,113,113,.55), rgba(251,146,60,.25) 35%, transparent 70%); animation: jxFlash .55s; } @keyframes jxHalo { 0%, 100% { opacity: .4; } 50% { opacity: .85; } } @keyframes jxFlash { from { opacity: 0; transform: scale(.6); } 50% { opacity: .55; } to { opacity: .2; transform: scale(1.1); } }
.jx-egg { position: relative; width: 180px; height: 240px; margin-bottom: 14px; filter: drop-shadow(0 10px 22px rgba(0,0,0,.55)) drop-shadow(0 0 18px rgba(251,191,36,.5)); animation: jxEggIn .45s cubic-bezier(.16,1,.3,1); } .jx-egg.final { filter: drop-shadow(0 10px 22px rgba(0,0,0,.55)) drop-shadow(0 0 36px rgba(251,191,36,.65)); } .jx-egg.shake { animation: jxShake .35s ease-in-out infinite; } @keyframes jxEggIn { from { opacity: 0; transform: scale(.92) translateY(6px); } } @keyframes jxShake { 0% { transform: translate(0,0) rotate(-3deg); } 15% { transform: translate(-4px,-2px) rotate(3deg); } 30% { transform: translate(5px,2px) rotate(-3deg); } 45% { transform: translate(-5px,-2px) rotate(3deg); } 60% { transform: translate(4px,2px) rotate(-2deg); } 75% { transform: translate(-3px,-1px) rotate(2deg); } 100% { transform: none; } }
.jx-egg .eg-new path { stroke-dasharray: 200; stroke-dashoffset: 200; animation: jxCrack .45s ease-out forwards; } @keyframes jxCrack { to { stroke-dashoffset: 0; } } .jx-egg .eg-top { transform-origin: 30px 60px; animation: jxHatch .7s cubic-bezier(.16,1,.3,1) forwards; } @keyframes jxHatch { to { transform: translateY(-22px) rotate(-22deg); } } .jx-egg .eg-gem { transform-origin: 50px 50px; animation: jxGem .6s cubic-bezier(.16,1,.3,1) .35s both; filter: drop-shadow(0 0 10px #fde68a); } @keyframes jxGem { from { transform: scale(0) rotate(-25deg); opacity: 0; } to { transform: none; opacity: 1; } }
.jx-egg.broken .eb-glow { animation: jxGlow .5s ease-out forwards; transform-origin: 50px 70px; } .jx-egg.broken .eb-ring { animation: jxRing .55s ease-out forwards; transform-origin: 50px 70px; } .jx-egg.broken .eb-p { animation: jxPart .6s cubic-bezier(.22,.6,.3,1) forwards; } .jx-egg.broken .eb-shell { animation: jxShell .55s cubic-bezier(.16,1,.3,1) forwards; } @keyframes jxGlow { from { opacity: 1; transform: scale(.4); } to { opacity: 0; transform: scale(1.6); } } @keyframes jxRing { from { opacity: .9; transform: scale(.5); } to { opacity: 0; transform: scale(3.2); } } @keyframes jxPart { to { transform: translate(var(--tx), var(--ty)) scale(.4); opacity: 0; } } @keyframes jxShell { to { transform: translate(calc(50px + var(--tx)), calc(70px + var(--ty))) rotate(var(--rot)); opacity: .2; } }
.jx-egg-base { width: 160px; height: 6px; border-radius: 3px; position: absolute; bottom: 4px; } .jx-help { margin: 0; font-size: 12px; color: var(--sk-muted); min-height: 18px; text-align: center; } .jx-help.gold { color: var(--sk-gold); }
/* Blackjack */
.jx-felt { position: relative; width: 100%; min-height: 460px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 10px 0; }
.jx-shoe2 { position: absolute; top: 0; right: -10px; width: 56px; height: 80px; pointer-events: none; opacity: .9; } .jx-shoe2 .jx-card { position: absolute; right: 0; top: 0; } .jx-shoe2 .jx-card:nth-child(1) { transform: translate(-4px, 4px); } .jx-shoe2 .jx-card:nth-child(2) { transform: translate(-2px, 2px); } .jx-shoe2 .jx-card.pulse { animation: jxShoe .35s; } @keyframes jxShoe { 0% { transform: translate(-8px, 6px) rotate(-3deg) scale(1.04); } 55% { transform: translate(2px, -1px) rotate(1deg) scale(.98); } 100% { transform: none; } }
.jx-zone { display: flex; flex-direction: column; align-items: center; gap: 8px; } .jx-zone-h { display: flex; align-items: center; gap: 8px; } .jx-zone-h small { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--sk-muted); font-weight: 700; }
.jx-total { display: inline-flex; align-items: center; gap: 4px; min-width: 30px; height: 24px; padding: 0 9px; border-radius: 12px; background: var(--sk-panel); color: var(--sk-text); font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; } .jx-total i { font-style: normal; font-size: 10px; color: var(--sk-gold); } .jx-total.bust { background: rgba(255,77,94,.25); color: #ff8b87; } .jx-total.top { background: rgba(0,231,1,.2); color: var(--sk-green); }
.jx-cards { display: flex; justify-content: center; gap: 6px; min-height: 92px; } .jx-cards.big { min-height: 124px; }
.jx-card { position: relative; width: 66px; height: 92px; border-radius: 6px; background: #fff; color: #0f172a; box-shadow: 0 2px 6px rgba(0,0,0,.35), 0 10px 18px -8px rgba(0,0,0,.5); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; } .jx-cards.big .jx-card { width: 88px; height: 124px; border-radius: 8px; }
.jx-card .tl, .jx-card .br { position: absolute; font-size: 12px; line-height: 1; display: flex; flex-direction: column; align-items: center; } .jx-cards.big .jx-card .tl, .jx-cards.big .jx-card .br { font-size: 14px; } .jx-card .tl { top: 6px; left: 6px; } .jx-card .br { bottom: 6px; right: 6px; transform: rotate(180deg); } .jx-card .tl i, .jx-card .br i { font-style: normal; font-size: 11px; } .jx-card .mid { font-size: 26px; } .jx-cards.big .jx-card .mid { font-size: 38px; } .jx-card.red { color: #e11d48; }
.jx-card.back { background: #0f2756; background-image: repeating-linear-gradient(45deg, rgba(96,165,250,.22) 0 2px, transparent 2px 8px), repeating-linear-gradient(-45deg, rgba(96,165,250,.22) 0 2px, transparent 2px 8px); box-shadow: 0 0 0 1px rgba(96,165,250,.25), 0 10px 18px -8px rgba(0,0,0,.5); } .jx-card.back b { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #60a5fa, #67e8f9); color: #0b1020; display: grid; place-items: center; font-size: 17px; box-shadow: 0 2px 10px rgba(59,130,246,.55); } .jx-card.back.sm { width: 56px; height: 80px; } .jx-card.back.sm b { width: 26px; height: 26px; font-size: 13px; }
.jx-card.ph { background: transparent; border: 1.5px dashed var(--sk-border); box-shadow: none; }
.jx-card.deal { animation: jxDeal2 .5s cubic-bezier(.2,.9,.3,1.05) both; animation-delay: var(--d, 0s); } @keyframes jxDeal2 { 0% { transform: translate(260px, -220px) rotate(18deg) scale(.7); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
.jx-card.flip { animation: jxFlip2 .7s cubic-bezier(.66,0,.34,1); } @keyframes jxFlip2 { 0% { transform: rotateY(180deg) scale(1); } 45% { transform: rotateY(90deg) translateY(-12px) scale(1.12); } 100% { transform: rotateY(0) scale(1); } }
.jx-center { min-height: 40px; display: flex; align-items: center; justify-content: center; }
.jx-verdict { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 6px; background: var(--sk-panel); border: 2px solid var(--sk-border); animation: jxPop .4s cubic-bezier(.2,.9,.3,1.3); } .jx-verdict b { font-size: 16px; font-weight: 900; } .jx-verdict em { font-style: normal; font-weight: 800; color: var(--sk-green); } .jx-verdict.win, .jx-verdict.blackjack { border-color: var(--sk-green); color: var(--sk-green); } .jx-verdict.blackjack { border-color: var(--sk-gold); color: var(--sk-gold); } .jx-verdict.blackjack em { color: var(--sk-gold); } .jx-verdict.lose { border-color: var(--sk-red); color: #ff8b87; } .jx-verdict.push { color: var(--sk-muted); }
.jx-hands { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; } .jx-hand-col { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px; border-radius: 8px; box-shadow: none; transition: opacity .2s; } .jx-hand-col.act { background: transparent; box-shadow: none; } .jx-hand-col.win .jx-total, .jx-hand-col.blackjack .jx-total { background: rgba(0,231,1,.2); color: var(--sk-green); } .jx-hand-col.lose .jx-cards { opacity: .65; }
.jx-hand-head { display: flex; align-items: center; gap: 6px; } .jx-res { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 4px; background: var(--sk-panel); } .jx-res.win, .jx-res.blackjack { color: var(--sk-green); } .jx-res.lose { color: #ff8b87; } .jx-res.push { color: var(--sk-muted); }
.jx-boxes { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; } .jx-box { display: flex; flex-direction: column; align-items: center; gap: 4px; } .jx-box > small { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--sk-muted); font-weight: 700; }
.jx-sidefx { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 2px; } .jx-sidefx span { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 4px; background: var(--sk-panel); color: var(--sk-dim); } .jx-sidefx span.won { background: rgba(245,200,66,.18); color: var(--sk-gold); animation: jxPop .5s cubic-bezier(.2,.9,.3,1.4); }
.jx-sb { background: var(--sk-input); border: 2px solid var(--sk-border); border-radius: 4px; padding: 6px 8px 6px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; } .jx-sb + .jx-sb { margin-top: 6px; } .jx-sb.on { border-color: var(--sk-hover); } .jx-sb-h { display: flex; align-items: center; gap: 6px; } .jx-sb-h b { font-size: 13px; } .jx-info { width: 18px; height: 18px; border-radius: 50%; border: 0; background: var(--sk-border); color: var(--sk-muted); font-size: 11px; font-weight: 800; cursor: pointer; } .jx-info:hover { color: #fff; }
.jx-sb-c { display: grid; grid-template-columns: 30px 52px 30px; gap: 2px; align-items: center; } .jx-sb-c button { height: 30px; border: 0; border-radius: 4px; background: var(--sk-border); color: var(--sk-text); font-weight: 800; cursor: pointer; } .jx-sb-c button:hover:not(:disabled) { background: var(--sk-hover); } .jx-sb-c button:disabled { opacity: .35; cursor: not-allowed; } .jx-sb-c span { text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; font-size: 13px; }
.jx-bjacts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .jx-bjacts button { height: 48px; border: 0; border-radius: 6px; background: var(--sk-border); color: var(--sk-text); display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-weight: 700; font-size: 14px; } .jx-bjacts button i { font-style: normal; color: var(--sk-muted); font-size: 13px; } .jx-bjacts button:hover:not(:disabled) { background: var(--sk-hover); } .jx-bjacts button:disabled { opacity: .35; cursor: not-allowed; }
.jx-paytable { display: flex; flex-direction: column; gap: 6px; } .jx-paytable > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; background: var(--panel2); border-radius: var(--r); padding: 8px 12px; align-items: center; } .jx-paytable b { font-size: 13.5px; } .jx-paytable small { font-size: 11.5px; color: var(--muted); grid-column: 1; } .jx-paytable em { grid-row: 1 / span 2; font-style: normal; font-weight: 900; color: var(--gold); font-size: 15px; }
/* Flux des paris (tableau façon Stake) */
.jx-feedwrap { margin-top: 16px; } .jx-feed { background: var(--sk-panel); border-radius: 8px; overflow: hidden; } .jx-feed > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 16px; } .jx-feed > header b { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; } .jx-feed > header b svg { width: 16px; height: 16px; color: var(--sk-muted); }
.jx-tabs { display: flex; gap: 2px; background: var(--sk-input); border-radius: 999px; padding: 3px; } .jx-tabs button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--sk-muted); font-size: 12.5px; font-weight: 700; cursor: pointer; } .jx-tabs button.on { background: var(--sk-border); color: var(--sk-text); }
.jx-feed-list { display: table; width: 100%; border-collapse: collapse; } .jx-fr { display: table-row; font-size: 13px; } .jx-fr > * { display: table-cell; vertical-align: middle; padding: 9px 12px; } .jx-fr:nth-child(odd) { background: var(--sk-bg); } .jx-fr.new { animation: jxNew .8s; } @keyframes jxNew { from { background: rgba(0,231,1,.18); } }
.jx-fr .avatar.sm { width: 26px; height: 26px; border-radius: 50%; font-size: 11px; } .jx-fr .who { width: 100%; } .jx-fr .who b { white-space: nowrap; } .jx-fr .who small { display: block; font-size: 11px; color: var(--sk-muted); } .jx-fr .amt { text-align: right; white-space: nowrap; } .jx-fr .amt b { color: var(--sk-green); font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; justify-content: flex-end; } .jx-fr .amt small { display: block; font-size: 10.5px; color: var(--sk-dim); } .jx-fr .amt em { display: block; font-style: normal; font-size: 11px; color: var(--sk-muted); font-weight: 700; } .jx-fr .rk { width: 30px; text-align: center; color: var(--sk-dim); font-size: 12px; } .jx-fr .rk.r1 { color: var(--sk-gold); } .jx-fr .rk.r2 { color: #c8d2e8; } .jx-fr .rk.r3 { color: #e0a06a; } .jx-feed .empty { padding: 26px; text-align: center; color: var(--sk-muted); font-size: 13px; }
.jx-soon-card { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; background: var(--sk-panel); border-radius: 8px; padding: 22px; } .jx-soon-card img { width: 100%; border-radius: 8px; } .jx-soon-card h2 { margin: 10px 0 6px; } .jx-soon { display: inline-block; background: var(--sk-gold); color: #1a1200; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 4px; }
@media (max-width: 900px) { .jx-game { grid-template-columns: 1fr; } .jx-ctl { order: 2; } .jx-table { order: 1; padding: 16px 12px; min-height: 0; } .jx-soon-card { grid-template-columns: 1fr; } .jx-felt { min-height: 400px; } .jx-shoe2 { right: -26px; transform: scale(.8); } }
@media (max-width: 480px) { .jx-cards.big .jx-card { width: 74px; height: 104px; } .jx-cards.big .jx-card .mid { font-size: 30px; } .jx-card { width: 56px; height: 78px; } .jx-card .mid { font-size: 22px; } .jx-duel { gap: 10px; } .jx-hand { font-size: 44px; } .jx-egg-stage { height: 240px; } .jx-fr .who small { display: none; } }

/* ---- Crazy Town : hôte du bundle React original ---- */
.ct-host { position: relative; width: 100%; min-height: 560px; border-radius: 8px; overflow: hidden; background: #0b0f1a; }
.ct-host > .ct-root { position: relative !important; width: 100% !important; height: 100% !important; min-height: 560px; }
@media (max-width: 760px) { .ct-host { min-height: 520px; } }

/* ---- Jeux : polish (Mines flip, roue centre, tableau des paris, cartes) ---- */
.jx-cell { perspective: 400px; } .jx-cell-in { display: block; width: 100%; height: 100%; } .jx-cell-in svg { width: 100%; height: 100%; filter: drop-shadow(0 3px 4px rgba(0,0,0,.45)); } .jx-cell.hidden .jx-cell-in { display: none; }
.jx-cell.flip .jx-cell-in { animation: jxFlipIn .38s cubic-bezier(.2,.9,.3,1.2); } @keyframes jxFlipIn { 0% { transform: rotateY(90deg) scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
.jx-cell.gem { box-shadow: inset 0 0 0 2px rgba(0,231,1,.45), 0 0 14px rgba(0,231,1,.15); } .jx-cell.mine { box-shadow: inset 0 0 0 2px rgba(255,77,94,.55), 0 0 14px rgba(255,77,94,.2); } .jx-cell.ghost .jx-cell-in svg { opacity: .28; filter: none; } .jx-cell.ghost { background: #0f1a30; }
.jx-winpop { border-width: 3px; padding: 14px 32px; min-width: 150px; } .jx-winpop b { font-size: 28px; letter-spacing: -.01em; } .jx-winpop span { margin-top: 6px; font-size: 16px; }
.jx-wcenter { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 1; } .jx-wcenter b { font-size: clamp(22px, 5vw, 34px); font-weight: 900; font-variant-numeric: tabular-nums; transition: color .2s; } .jx-wcenter b.win { color: var(--sk-green); text-shadow: 0 0 18px rgba(0,231,1,.4); animation: jxPop .4s; } .jx-wcenter b.lose { color: var(--sk-red); animation: jxPop .4s; } .jx-wcenter b.dim { color: var(--sk-border); }
.jx-feed-tbl { width: 100%; border-collapse: collapse; font-size: 13px; } .jx-feed-tbl th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--sk-muted); font-weight: 700; padding: 8px 12px; } .jx-feed-tbl td { padding: 9px 12px; vertical-align: middle; white-space: nowrap; } .jx-feed-tbl tbody tr:nth-child(odd) { background: var(--sk-bg); } .jx-feed-tbl tr.new { animation: jxNew .9s; } .jx-feed-tbl .r { text-align: right; } .jx-feed-tbl .muted { color: var(--sk-muted); } .jx-feed-tbl .win { color: var(--sk-green); font-weight: 700; } .jx-feed-tbl .mult { color: var(--sk-text); font-weight: 700; } .jx-feed-tbl .g { color: var(--sk-muted); } .jx-feed-tbl .g svg { width: 14px; height: 14px; vertical-align: -3px; margin-right: 4px; } .jx-feed-tbl .who { display: flex; align-items: center; gap: 8px; } .jx-feed-tbl .who .avatar.sm { width: 24px; height: 24px; border-radius: 50%; font-size: 10px; } .jx-feed-tbl .who small { font-size: 10.5px; color: var(--sk-muted); } .jx-feed-tbl .rk { color: var(--sk-dim); font-weight: 800; width: 30px; } .jx-feed-tbl .rk.r1 { color: var(--sk-gold); } .jx-feed-tbl .rk.r2 { color: #c8d2e8; } .jx-feed-tbl .rk.r3 { color: #e0a06a; } .jx-feed-tbl .jx-ki { width: 13px; height: 13px; }
.jx-feed-body { overflow-x: auto; } @media (max-width: 640px) { .jx-feed-tbl th:nth-child(3), .jx-feed-tbl td:nth-child(3) { display: none; } .jx-feed-tbl td, .jx-feed-tbl th { padding: 8px 8px; } }
.jx-card { box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 3px 8px rgba(0,0,0,.4), 0 14px 24px -10px rgba(0,0,0,.6); background: linear-gradient(160deg, #fff 0%, #f3f5f9 100%); } .jx-card .tl { font-weight: 900; } .jx-card .mid { opacity: .92; }

/* ---- Blackjack : table plus compacte, cartes stables ---- */
.jx-felt { min-height: 0; justify-content: center; gap: 26px; padding: 6px 0; } .jx-game:has(#bjFelt) { min-height: 560px; }
.jx-card.deal { animation: jxDeal3 .46s cubic-bezier(.2,.85,.3,1.04) both; animation-delay: var(--d, 0s); } @keyframes jxDeal3 { 0% { transform: translate(min(320px, 40vw), -200px) rotate(14deg) scale(.82); opacity: 0; } 55% { opacity: 1; } 100% { transform: none; opacity: 1; } }
.jx-shoe2 { top: -4px; right: 0; } .jx-shoe2 .jx-card.pulse { animation: jxShoe .35s; }
@media (max-width: 900px) { .jx-shoe2 { right: -22px; top: -10px; transform: scale(.75); } .jx-felt { gap: 18px; } }

/* ---- Blackjack : animations plus fluides, paris annexes libres ; Mines : animations réduites ---- */
.jx-card.deal { animation: jxDeal4 .62s cubic-bezier(.22,.61,.36,1) both; animation-delay: var(--d, 0s); } @keyframes jxDeal4 { 0% { transform: translate(min(260px, 34vw), -160px) rotate(8deg); opacity: 0; } 40% { opacity: 1; } 100% { transform: none; opacity: 1; } }
.jx-card.flip { animation: jxFlip3 .8s cubic-bezier(.4,0,.2,1); backface-visibility: hidden; } @keyframes jxFlip3 { 0% { transform: rotateY(180deg); } 50% { transform: rotateY(90deg) translateY(-8px); } 100% { transform: rotateY(0); } }
.jx-verdict { animation: jxFade .35s ease-out; } @keyframes jxFade { from { opacity: 0; transform: translateY(6px); } }
.jx-hand-col { transition: box-shadow .35s, background .35s; } .jx-total { transition: background .3s, color .3s; }
.jx-sb { padding: 8px 10px 8px 12px; } .jx-sb-in { display: flex; align-items: center; gap: 6px; width: 120px; height: 34px; background: var(--sk-input); border: 2px solid var(--sk-border); border-radius: 4px; padding: 0 8px; } .jx-sb-in:focus-within { border-color: var(--sk-hover); } .jx-sb-in .jx-ki { width: 14px; height: 14px; margin: 0; } .jx-sb-in input { width: 100%; min-width: 0; background: transparent; border: 0; color: var(--sk-text); font-family: inherit; font-size: 13px; font-weight: 700; outline: none; text-align: right; }
.jx-winpop { animation: jxFade .3s ease-out; }
.jx-opts.five { grid-template-columns: repeat(5, 1fr); } .jx-opts.six { grid-template-columns: repeat(6, 1fr); }

/* Coffre v2 : mise en page des jeux */
.jx-opts.four { grid-template-columns: repeat(4, 1fr); }
.jx-note { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 22px 12px; background: var(--sk-input); border: 2px solid var(--sk-border); border-radius: 6px; color: var(--sk-muted); font-size: 13px; } .jx-note svg { width: 26px; height: 26px; margin-bottom: 4px; color: var(--sk-muted); } .jx-note b { color: var(--sk-text); font-size: 14px; } .jx-note.open { border-color: rgba(31,191,110,.4); } .jx-note.open svg { color: var(--sk-green); }
.jx-boxes2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jx .cf-chips { margin-top: 0; } .jx .cf-chips span { background: var(--sk-input); border-color: var(--sk-border); font-size: 12.5px; } .jx .cf-chips span .jx-ki { margin-left: 3px; }
.cf-stage { position: relative; width: 100%; max-width: 560px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; } .cf-stage .cf-glow { position: absolute; inset: -40px 0 auto; height: 300px; pointer-events: none; background: radial-gradient(circle at 50% 45%, rgba(251,191,36, calc(.06 + var(--p, 0) / 100 * .4)) 0%, transparent 60%); transition: background .7s; }
.cf-stage .cf-chest { position: relative; width: 190px; height: 190px; object-fit: contain; filter: drop-shadow(0 22px 40px rgba(0,0,0,.65)); transition: transform .5s; } .cf-stage.open .cf-chest { transform: scale(1.06); } .cf-badge { position: absolute; top: 0; right: 0; }
.cf-name { position: relative; margin: 0; font-size: 20px; font-weight: 900; }
.cf-prog2 { width: 100%; display: flex; flex-direction: column; gap: 8px; } .cf-prog2 .cf-bar { height: 14px; border-radius: 7px; background: var(--sk-input); } .cf-prog2-l { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--sk-muted); font-weight: 600; } .cf-prog2-l b { font-size: 18px; font-weight: 900; color: var(--sk-gold); }
.jx .cf-tiles { width: 100%; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); } .jx .cf-tile { background: var(--sk-panel); border-radius: 6px; }
.jx .cf-top { margin: 0; padding: 0; border: 0; justify-content: center; } .jx .cf-top span { display: inline-flex; align-items: center; }
.jx-feed-tbl .who { display: inline-flex; align-items: center; gap: 8px; } .jx-feed-tbl .who .avatar.sm { width: 26px; height: 26px; border-radius: 50%; font-size: 11px; } .jx-feed-tbl tr.me td { background: rgba(30,127,224,.12); }
.jx .cf-admin { border-left: 0; } .cf-admin-body { padding: 4px 16px 14px; } .cf-admin-body .cf-form .input { background: var(--sk-input); border-color: var(--sk-border); }
@media (max-width: 900px) { .cf-stage .cf-chest { width: 140px; height: 140px; } }

/* Clés dans la barre du haut : version compacte sur mobile */
@media (max-width: 900px) { .nav-keys { margin: 0; height: 36px; padding: 0 9px; gap: 5px; font-size: 12.5px; border: 0; flex: 0 0 auto; } .nav-keys span { display: none; } .nav-keys img { width: 15px; height: 15px; } .navbar > * { min-width: 0; } .nav-logo.out, .nav-wallet, .nav-right { flex: 0 0 auto; } }
@media (max-width: 480px) { .navbar:has(.nav-keys) .nw-btn { display: none; } .navbar:has(.nav-keys) .nav-logo.out img { height: 22px; } .navbar:has(.nav-keys) .nw-bal { padding: 0 8px; font-size: 12.5px; } .navbar:has(.nav-keys) { gap: 6px; padding-right: 8px; } }

/* Mobile : le bouton Miser juste sous la mise (pas besoin de défiler), roue et œuf plus compacts */
@media (max-width: 900px) {
  .jx-ctl > * { order: 3; } .jx-ctl > .jx-bet { order: 1; } .jx-ctl > .jx-miser, .jx-ctl > .jx-evolve, .jx-ctl > .jx-lnk, .jx-ctl > :has(> .jx-miser, > .jx-btn2, > .jx-evolve, > .jx-choices) { order: 2; }
  .jx-table { gap: 12px; padding: 14px 12px 10px; }
  .jx-wheel { width: min(250px, 78vw); } .jx-wptr { width: 20px; height: 26px; }
  .jx-legend { gap: 5px; } .jx-legend > div { min-width: 64px; padding: 5px 8px; } .jx-legend b { font-size: 12.5px; } .jx-legend small { font-size: 9px; }
  .jx-egg-stage, .jx-egg-stage.shaking { height: 170px; max-width: 260px; } .jx-egg { width: 118px; height: 158px; margin-bottom: 8px; } .jx-bigmult { font-size: 28px; }
  .jx-egg-top { gap: 4px; }
}

/* ---- Jeux v3 : plateau persistant, animations continues (inspiré des originaux Stake) ---- */
.jx-cell { transition: transform .14s cubic-bezier(.2,.8,.3,1), background .16s, box-shadow .16s, opacity .2s; animation: none; will-change: transform; }
.jx-cell.hidden { cursor: default; opacity: .85; } .jx-cell.hidden:disabled { cursor: default; } .jx-cell.live { cursor: pointer; opacity: 1; }
.jx-cell.live:hover { background: var(--sk-tile-h); transform: translateY(-2px); box-shadow: 0 6px 0 0 #0f1a30; } .jx-cell.live:active, .jx-cell.pick { transform: translateY(2px) scale(.97); box-shadow: 0 2px 0 0 #0f1a30; }
.jx-cell.gem, .jx-cell.mine, .jx-cell.ghost, .jx-cell.ghostmine { cursor: default; transform: none; animation: none; }
.jx-cell.gem { background: #0a1a2e; box-shadow: inset 0 0 0 2px rgba(0,231,1,.45), 0 0 16px rgba(0,231,1,.18); } .jx-cell.mine { background: #3a0f16; box-shadow: inset 0 0 0 2px rgba(255,77,94,.6), 0 0 18px rgba(255,77,94,.28); }
.jx-cell.ghost { background: #0f1a30; box-shadow: none; } .jx-cell.ghostmine { background: #241019; box-shadow: none; } .jx-cell.ghost .jx-cell-in svg, .jx-cell.ghostmine .jx-cell-in svg { opacity: .35; filter: none; }
.jx-cell-in { animation: none; } .jx-cell.reveal .jx-cell-in { animation: jxGemIn .34s cubic-bezier(.2,.9,.3,1.25) both; } @keyframes jxGemIn { from { transform: scale(.25); opacity: 0; } to { transform: none; opacity: 1; } }
.jx-cell.mine.boom { animation: jxBoom2 .55s cubic-bezier(.2,.8,.3,1); } @keyframes jxBoom2 { 0% { transform: scale(.9); } 35% { transform: scale(1.14); box-shadow: 0 0 0 4px rgba(255,77,94,.5), 0 0 28px rgba(255,77,94,.5); } 100% { transform: none; } }
.jx-winpop { animation: jxPopIn .38s cubic-bezier(.2,.9,.3,1.25) both; } @keyframes jxPopIn { from { transform: translate(-50%, -50%) scale(.6); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
#jxWheelSvg path { transition: opacity .35s, filter .35s; } #jxWheelSvg path.hl { filter: drop-shadow(0 0 4px var(--c)) drop-shadow(0 0 10px var(--c)); } #jxWheelSvg path.lo { opacity: .45; }
.jx-legend > div { transition: background .25s, transform .25s, box-shadow .25s; } .jx-legend > div.on { background: var(--sk-border); transform: translateY(-3px); box-shadow: 0 8px 18px -10px rgba(0,0,0,.6); }
.jx-slot { transition: border-color .3s, background .3s; } .jx-hand.cyc { animation: jxCyc .1s ease-out; opacity: .8; } @keyframes jxCyc { from { transform: scale(.8) rotate(-6deg); } to { transform: none; } }
#eEgg { display: contents; } .jx-egg-stage { transition: --accent .3s; } .jx-egg-halo { transition: opacity .35s, background .35s; }
.jx-evolve { transition: background .15s, transform .12s, opacity .2s; } .jx-evolve:active:not(:disabled) { transform: translateY(1px); }

/* Boutique : achat de caisses avec le wallet */
.btn-buy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; } .btn-buy b { font-weight: 800; opacity: .95; }
.case-buy { margin-top: 8px; height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; border-radius: 10px; border: 1px solid rgba(245,200,66,.35); background: rgba(245,200,66,.08); color: var(--txt); font-weight: 700; font-size: 13px; cursor: pointer; transition: background .15s, border-color .15s; } .case-buy:hover { background: rgba(245,200,66,.16); border-color: rgba(245,200,66,.6); } .case-buy svg { width: 16px; height: 16px; color: var(--gold); } .case-buy b { color: var(--gold); }
.buy-body { display: flex; flex-direction: column; gap: 14px; } .buy-top { display: flex; align-items: center; gap: 14px; } .buy-top img { width: 84px; height: 84px; object-fit: contain; } .buy-top > div { display: flex; flex-direction: column; gap: 3px; } .buy-top b { font-size: 16px; } .buy-top small { font-size: 12.5px; color: var(--muted); } .buy-top small .gold { color: var(--txt); }
.buy-qty { display: flex; align-items: center; gap: 10px; } .buy-qty .btn { width: 44px; height: 44px; padding: 0; font-size: 20px; } .buy-qty > b { min-width: 36px; text-align: center; font-size: 20px; font-weight: 900; }
.buy-total { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 10px; background: var(--panel2); font-size: 14px; } .buy-total b { font-size: 18px; color: var(--txt); }

/* Coffre v3 : scène plus lisible */
.cf-stage { gap: 16px; max-width: 600px; } .cf-stage.idle .cf-chest { filter: grayscale(.6) brightness(.7) drop-shadow(0 22px 40px rgba(0,0,0,.65)); }
.cf-head { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; } .cf-kick { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--sk-muted); font-weight: 800; } .cf-stage .cf-name { font-size: 24px; letter-spacing: -.01em; } .cf-badge { position: static; display: inline-flex; align-items: center; gap: 4px; } .cf-badge svg { width: 13px; height: 13px; } .cf-badge .jx-ki { width: 13px; height: 13px; margin-left: 2px; }
.cf-visual { position: relative; width: 220px; height: 200px; display: grid; place-items: center; } .cf-visual .cf-glow { position: absolute; inset: -40px; height: auto; background: radial-gradient(circle at 50% 55%, rgba(251,191,36, calc(.08 + var(--p, 0) / 100 * .42)) 0%, transparent 62%); } .cf-visual .cf-chest { position: relative; width: 200px; height: 200px; animation: cfFloat 4s ease-in-out infinite; } .cf-stage.open .cf-visual .cf-chest { animation: none; transform: scale(1.06); } @keyframes cfFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.cf-prog2-top { display: flex; align-items: baseline; justify-content: space-between; font-size: 13px; color: var(--sk-muted); font-weight: 600; } .cf-prog2-top b { font-size: 22px; font-weight: 900; color: var(--sk-gold); } .cf-prog2 .cf-bar i { transition: width .8s cubic-bezier(.2,.8,.3,1); box-shadow: 0 0 14px rgba(251,191,36,.45); } .cf-prog2-l { font-size: 12.5px; }
.cf-pool { width: 100%; display: flex; flex-direction: column; gap: 8px; } .cf-pool-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; } .cf-pool-h small { font-size: 13px; color: var(--sk-text); font-weight: 700; } .cf-pool-h em { font-style: normal; font-size: 11.5px; color: var(--sk-muted); }
.jx .cf-tile { border: 1px solid transparent; box-shadow: inset 0 0 30px -16px var(--t); transition: transform .15s, border-color .15s; } .jx .cf-tile:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--t) 45%, transparent); }
.cf-bonus { width: 100%; display: flex; flex-direction: column; gap: 8px; } .cf-bonus > small { font-size: 13px; font-weight: 700; } .cf-pods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .cf-pods span { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 6px; background: var(--sk-panel); font-weight: 800; font-size: 13px; border-top: 3px solid var(--c, var(--sk-border)); } .cf-pods span i { font-style: normal; font-size: 16px; } .cf-pods .p1 { --c: #fbbf24; } .cf-pods .p2 { --c: #cbd5e1; } .cf-pods .p3 { --c: #d97706; } .cf-pods .jx-ki { margin-left: 3px; }
.cf-lead { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; background: var(--sk-panel); font-size: 13px; } .cf-lead small { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--sk-muted); font-weight: 800; } .cf-lead .avatar.sm { width: 26px; height: 26px; border-radius: 50%; font-size: 11px; } .cf-lead b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cf-lead em { font-style: normal; color: var(--sk-green); font-weight: 700; display: inline-flex; align-items: center; }
.jx-boxes3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; } .jx-boxes3 .jx-box-stat b { padding: 0 8px; font-size: 13px; justify-content: center; }
.cf-how { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 6px; background: var(--sk-input); border: 2px solid var(--sk-border); } .cf-how > small { font-size: 12px; color: var(--sk-muted); font-weight: 700; } .cf-how > div { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--sk-text); line-height: 1.35; } .cf-how i { flex: 0 0 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--sk-border); font-style: normal; font-size: 11px; font-weight: 800; }
.cf-verdict { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 6px; background: var(--sk-input); border: 2px solid var(--sk-border); } .cf-verdict.win { border-color: rgba(31,191,110,.5); box-shadow: 0 0 24px -10px rgba(31,191,110,.5); } .cf-verdict > b { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; } .cf-verdict > b svg { width: 16px; height: 16px; color: var(--sk-green); } .cf-verdict > span { font-size: 12.5px; color: var(--sk-muted); }
.cf-next { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--sk-muted); } .cf-next svg { width: 13px; height: 13px; }
@media (max-width: 900px) { .cf-visual { width: 160px; height: 150px; } .cf-visual .cf-chest { width: 150px; height: 150px; } .cf-stage .cf-name { font-size: 20px; } }

/* ---- Blackjack : distribution plus rapide, retournement en deux temps ---- */
.jx-card.deal { animation: jxDeal5 .4s cubic-bezier(.22,.61,.36,1) both; animation-delay: var(--d, 0s); } @keyframes jxDeal5 { 0% { transform: translate(min(220px, 30vw), -140px) rotate(6deg); opacity: 0; } 45% { opacity: 1; } 100% { transform: none; opacity: 1; } }
.jx-card.flip { animation: none; } .jx-card.flip-out { animation: jxFlipOut .17s ease-in forwards; } @keyframes jxFlipOut { to { transform: scaleX(0); } } .jx-card.flip-in { animation: jxFlipIn2 .22s cubic-bezier(.2,.8,.3,1.1) both; } @keyframes jxFlipIn2 { from { transform: scaleX(0); } to { transform: none; } }
.jx-total { transition: background .2s, color .2s; }

/* ---- Crazy Town sur mobile : la scène prend toute la largeur, plus de vide sous le jeu ---- */
@media (max-width: 900px) {
  .jx-game:has(.ct-host) { min-height: 0; } .jx-game:has(.ct-host) .jx-table { padding: 0; gap: 0; }
  .ct-host { min-height: 0; border-radius: 0; } .ct-host > .ct-root { min-height: 0; height: auto !important; }
  .ct-host .ct-stage { border-radius: 0; }
}

/* ---- Blackjack multi-mains : la main en cours est mise en avant, les autres en retrait ---- */
.jx-hand-col { position: relative; transition: opacity .25s, transform .25s; }
#bjPlayer.multi .jx-hand-col { opacity: .45; } #bjPlayer.multi .jx-hand-col.act { opacity: 1; transform: translateY(-6px); }
#bjPlayer.multi .jx-hand-col.act::before { content: 'À toi ▾'; position: absolute; top: -26px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #05080a; background: var(--sk-gold); border-radius: 4px; padding: 3px 8px; animation: jxFade .25s ease-out; z-index: 2; }
#bjPlayer.multi .jx-hand-col.act .jx-cards { filter: drop-shadow(0 0 10px rgba(245,200,66,.35)); }
#bjPlayer.multi .jx-box:has(.jx-hand-col.act) > small { color: var(--sk-gold); }
#bjPlayer.multi { padding-top: 26px; }

/* ---- Crazy Town mobile : le menu « Acheter un bonus » passe en plein écran (dans la scène carrée, les cartes étaient écrasées) ---- */
@media (max-width: 900px) {
  .ct-host .ct-stage { filter: none !important; }
  .ct-host .slot-buy-backdrop { position: fixed; inset: 0; z-index: 200; padding: calc(var(--nav, 64px) + 14px) 12px calc(84px + env(safe-area-inset-bottom, 0px)); align-items: flex-start; background: rgba(6, 10, 20, .94); }
  .ct-host .slot-buy-panel { max-height: none; justify-content: flex-start; gap: 12px; }
  .ct-host .slot-buy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; gap: 10px; }
  .ct-host .slot-buy-card { max-height: none; }
  .ct-host .slot-buy-card-body { overflow: visible; padding: 12px 8px 10px; gap: 6px; }
  .ct-host .slot-buy-card-title { font-size: 12.5px; } .ct-host .slot-buy-card-desc { -webkit-line-clamp: 4; font-size: 11px; line-height: 1.3; }
  .ct-host .slot-buy-card-icon { width: 64px; height: 56px; } .ct-host .slot-buy-card-price { font-size: 19px; } .ct-host .slot-buy-card-btn { height: 42px; }
  .ct-host .slot-buy-close { top: calc(var(--nav, 64px) + 12px); right: 12px; width: 40px; height: 40px; }
  .ct-host .slot-buy-bet { min-width: 160px; }
}

/* Barre mobile : feuille de raccourcis vers les jeux */
.mb-sheet { position: fixed; left: 8px; right: 8px; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); z-index: 76; background: var(--panel2); border: 1px solid var(--line2); border-radius: 16px; padding: 12px; box-shadow: 0 -12px 40px rgba(0,0,0,.5); animation: up .18s ease; }
.mb-sheet[hidden] { display: none; } .mb-sheet-h { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 10px; } .mb-sheet-h b { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; } .mb-sheet-h b svg { width: 18px; height: 18px; color: var(--acc2); } .mb-sheet-h small { font-size: 12px; color: var(--gold); font-weight: 700; }
.mb-sheet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .mb-sheet-grid a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 14px 6px 12px; border-radius: 12px; background: var(--panel3); color: var(--txt); font-size: 12px; font-weight: 700; text-decoration: none; text-align: center; line-height: 1.15; border: 1px solid transparent; } .mb-sheet-grid a svg { width: 24px; height: 24px; color: var(--acc2); } .mb-sheet-grid a.on { border-color: var(--acc); background: rgba(30,127,224,.14); } .mb-sheet-grid a:active { transform: scale(.97); }
.mobile-bar > button.open { color: var(--txt); }
@media (min-width: 901px) { .mb-sheet { display: none !important; } }

/* Feuille Jeux (mobile) : liste sobre, style menu du site */
.mb-sheet { left: auto; right: 10px; width: 232px; padding: 6px; border-radius: 14px; background: var(--panel2); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.mb-sheet-list { display: flex; flex-direction: column; } .mb-sheet-list a { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 10px; border-radius: 10px; color: var(--txt); font-size: 14px; font-weight: 600; text-decoration: none; } .mb-sheet-list a svg { width: 18px; height: 18px; color: var(--muted); flex: 0 0 auto; } .mb-sheet-list a span { flex: 1; } .mb-sheet-list a svg:last-child { color: var(--acc2); } .mb-sheet-list a.on { background: var(--panel3); } .mb-sheet-list a.on > svg:first-child { color: var(--acc2); } .mb-sheet-list a:active { background: var(--panel3); }
.mb-sheet-list a:has(svg:last-child:not(:first-child)) svg:last-child { width: 15px; height: 15px; }

/* Crazy Town mobile : le menu bonus doit pouvoir défiler sur iPhone (pas de backdrop-filter sur le conteneur qui scrolle) */
@media (max-width: 900px) {
  .ct-host .slot-buy-backdrop { display: block; overflow: hidden; backdrop-filter: none; -webkit-backdrop-filter: none; animation: none; background: rgba(6, 10, 20, .96); padding: calc(var(--nav, 64px) + 12px) 12px 0; }
  .ct-host .slot-buy-panel { max-height: calc(100vh - var(--nav, 64px) - 12px - 76px - env(safe-area-inset-bottom, 0px)); max-height: calc(100dvh - var(--nav, 64px) - 12px - 76px - env(safe-area-inset-bottom, 0px)); overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; touch-action: pan-y; overscroll-behavior: contain; padding: 0 0 24px; margin: 0 auto; animation: none; }
  .ct-host .slot-buy-grid { touch-action: pan-y; flex: none; min-height: auto; } .ct-host .slot-buy-card { flex: none; min-height: auto; } .ct-host .slot-buy-card-body { flex: none; min-height: auto; } .ct-host .slot-buy-bet { flex: none; }
}

.mb-sheet::after { content: ''; position: absolute; bottom: -7px; left: var(--ax, 50%); width: 14px; height: 14px; transform: translateX(-50%) rotate(45deg); background: var(--panel2); border-right: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.mb-sheet { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

/* Clés bonus : roue, ouvertures, battlepass */
.win-keys { display: inline-flex; align-items: center; gap: 6px; margin: 6px auto 0; padding: 5px 12px; border-radius: 999px; background: rgba(245,200,66,.12); border: 1px solid rgba(245,200,66,.35); color: var(--gold); font-weight: 800; font-size: 13px; } .win-keys img { width: 16px; height: 16px; object-fit: contain; }
.open-keys { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; color: var(--gold); font-weight: 800; } .open-keys img { width: 15px; height: 15px; object-fit: contain; }
.bp-keys { display: inline-flex !important; align-items: center; gap: 4px; color: var(--gold) !important; font-weight: 700; } .bp-keys img { width: 12px; height: 12px; object-fit: contain; }

.sv-intro { flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(30,127,224,.08); border: 1px solid rgba(30,127,224,.25); } .sv-intro > b { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; } .sv-intro > b svg { width: 16px; height: 16px; color: var(--acc2); } .sv-intro label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }

.sv-intro-test { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 8px; margin-top: 4px; border-top: 1px dashed rgba(30,127,224,.3); } .sv-intro-state { font-size: 12px; color: var(--acc2); font-weight: 700; margin-right: auto; }

.adm-intro-state { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--panel2); font-size: 14px; } .adm-intro-parts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .adm-intro-parts span { padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line2); font-size: 12px; font-weight: 700; } .adm-intro-parts span.on { border-color: var(--gold); color: var(--gold); background: rgba(253,205,43,.12); } .adm-intro-log { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted); } .adm-intro-log .err { color: var(--red); }

/* Profil → Stats jeux */
.js-wrap { display: flex; flex-direction: column; gap: 14px; }
.js-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .js-top h3 { margin: 0; font-size: 18px; } .js-top h3 .muted { font-size: 13px; font-weight: 700; margin-left: 6px; }
.js-filters { display: flex; gap: 8px; align-items: center; } .js-sel { height: 36px; padding: 0 10px; font-size: 13px; width: auto; }
.js-row { display: grid; gap: 14px; } .js-row.main { grid-template-columns: 2fr 1fr; } .js-row.four { grid-template-columns: repeat(4, 1fr); } .js-row.two { grid-template-columns: 1fr 1fr; }
.js-card { overflow: hidden; } .js-card .card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; } .js-card .card-head .js-sel { height: 32px; font-size: 12px; }
.js-chart { position: relative; padding: 10px 10px 6px; } .js-chart canvas { display: block; width: 100%; height: 260px; }
.js-tip { position: absolute; pointer-events: none; background: rgba(10,16,32,.96); border: 1px solid var(--line2); border-radius: 10px; padding: 8px 10px; font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; min-width: 150px; box-shadow: 0 10px 24px rgba(0,0,0,.5); } .js-tip b { color: var(--txt); } .js-tip i { font-style: normal; font-weight: 800; }
.js-donut-wrap { padding: 12px 14px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; } .js-donut { width: 150px; height: 150px; }
.js-pl { display: flex; flex-direction: column; gap: 4px; width: 100%; font-size: 13px; color: var(--muted); font-weight: 700; } .js-pl span { display: flex; align-items: center; gap: 8px; } .js-pl i { width: 10px; height: 10px; border-radius: 3px; flex: none; } .js-pl b { margin-left: auto; } .js-pl small { color: var(--muted2); }
.js-hero { width: 100%; text-align: center; padding: 12px; border-radius: var(--r); background: var(--panel2); } .js-hero b { display: block; font-size: 26px; font-weight: 900; } .js-hero span { font-size: 12px; color: var(--muted); font-weight: 700; } .js-hero.sm { padding: 8px 10px; } .js-hero.sm b { font-size: 20px; }
.js-legend { display: flex; flex-direction: column; gap: 4px; width: 100%; font-size: 12px; color: var(--muted); font-weight: 700; } .js-legend span { display: flex; align-items: center; gap: 7px; } .js-legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; } .js-legend b { margin-left: auto; color: var(--txt); }
.js-rtp-body { padding: 20px 14px; text-align: center; } .js-rtp-body b { display: block; font-size: 44px; font-weight: 900; letter-spacing: -.02em; } .js-rtp-body span { font-size: 12px; color: var(--muted); font-weight: 700; }
.js-gi { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--panel3); color: var(--acc2); vertical-align: middle; margin-right: 8px; } .js-gi svg { width: 15px; height: 15px; } .js-gi.lg { width: 48px; height: 48px; border-radius: 12px; flex: none; } .js-gi.lg svg { width: 24px; height: 24px; } .js-table td small { display: block; color: var(--muted2); font-size: 11px; margin-left: 36px; } .js-table td.ok { color: var(--green); font-weight: 800; }
.js-games { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 12px; } .js-game { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r); background: var(--panel2); } .js-game > div { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12.5px; color: var(--muted); font-weight: 700; } .js-game > div b { width: 100%; color: var(--txt); font-size: 14px; } .js-game em { font-style: normal; color: var(--txt); }
@media (max-width: 1100px) { .js-row.main, .js-row.two { grid-template-columns: 1fr; } .js-row.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .js-row.four { grid-template-columns: 1fr; } .js-chart canvas { height: 200px; } }

/* Halloween : 4 cartes, roue verrouillée, battlepass Halloween */
.hw-games.four { grid-template-columns: repeat(4, 1fr); } .hw-games.four .hw-game-art { height: 150px; }
.hw-game-art.art-battlepass { background: radial-gradient(ellipse at 50% 100%, rgba(180,107,255,.35), transparent 60%), #1a1430; }
.hw-lock { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; border-radius: var(--r-lg); background: rgba(255,122,26,.08); border: 1px solid rgba(255,122,26,.35); margin-bottom: 12px; } .hw-lock svg { width: 20px; height: 20px; color: var(--hw); } .hw-lock b { font-size: 15px; } .hw-lock p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; } .hw-lock p b { font-size: 13px; color: var(--txt); }
.hw-bp .bp-node.ultra .bp-card { border-color: var(--hw2); box-shadow: 0 0 0 1px rgba(180,107,255,.3), 0 10px 30px rgba(180,107,255,.2); } .hw-bp .bp-node.ultra .pack { background: var(--hw2); color: #fff; }
.hw-bp .bp-reward .hw-allc { display: inline-flex; align-items: center; gap: 1px; } .hw-bp .bp-reward .hw-allc img { width: 16px; height: 26px; object-fit: contain; }
@media (max-width: 1100px) { .hw-games.four { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 600px) { .hw-games.four { grid-template-columns: 1fr; } }

/* Bannière réservée à un joueur (voir roastOf côté serveur) */
.roast-bar { position: sticky; top: 0; z-index: 95; background: linear-gradient(90deg, #ff7a1a, #b46bff); color: #0a1020; text-align: center; font-weight: 900; font-size: 13px; letter-spacing: .08em; padding: 7px 12px; text-transform: uppercase; }

/* ---------- Thème Halloween (html[data-theme="halloween"]) ---------- */
html[data-theme="halloween"] { --bg: #0a0612; --bg2: #140b22; --panel: #1a1030; --panel2: #241640; --panel3: #2f1d54; --line: #3a2560; --line2: #4e3380; --acc: #ff7a1a; --acc2: #ffa052; --sk-btn-h: #ff9240; --muted: #b7a6d6; --muted2: #7f6aa6; --txt2: #e9e0ff; }
html[data-theme="halloween"] body { background: radial-gradient(900px 500px at 15% -10%, rgba(255,122,26,.22), transparent 60%), radial-gradient(800px 500px at 90% 0%, rgba(180,107,255,.22), transparent 60%), var(--bg); }
html[data-theme="halloween"] .navbar, html[data-theme="halloween"] .sidebar, html[data-theme="halloween"] .mobile-bar { background: rgba(14,8,26,.92); border-color: var(--line); }
html[data-theme="halloween"] .btn-ghost, html[data-theme="halloween"] .btn-outline { background: rgba(255,122,26,.14); color: var(--acc2); } html[data-theme="halloween"] .btn-ghost:hover, html[data-theme="halloween"] .btn-outline:hover { background: rgba(255,122,26,.24); color: #fff; }
html[data-theme="halloween"] .sidebar a.active, html[data-theme="halloween"] .sidebar .active { background: rgba(255,122,26,.16); color: var(--acc2); }
html[data-theme="halloween"] .card { border-color: var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
html[data-theme="halloween"] .nav-keys img, html[data-theme="halloween"] .nav-wallet .coin { filter: hue-rotate(-10deg) saturate(1.2); }
html[data-theme="halloween"] .page-head h1::after, html[data-theme="halloween"] .section-head h2::after { content: ' 🎃'; font-size: .7em; }

/* Interrupteur de thème (barre du haut) */
.theme-switch { display: inline-flex; align-items: center; gap: 8px; height: 45px; padding: 0 12px 0 10px; border-radius: var(--r); background: var(--bg2); border: 1px solid transparent; transition: background .2s, border-color .2s; }
.theme-switch .ts-ico { font-size: 20px; line-height: 1; filter: grayscale(1) opacity(.6); transition: filter .25s, transform .25s; }
.theme-switch .ts-track { position: relative; width: 40px; height: 22px; border-radius: 999px; background: rgba(255,255,255,.14); transition: background .25s; flex: none; }
.theme-switch .ts-track i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.5); transition: transform .25s cubic-bezier(.2,.9,.3,1.2); }
.theme-switch:hover { border-color: var(--line2); }
.theme-switch.on { background: rgba(255,122,26,.14); border-color: rgba(255,122,26,.35); } .theme-switch.on .ts-ico { filter: none; transform: rotate(-8deg) scale(1.08); } .theme-switch.on .ts-track { background: linear-gradient(90deg, #ff7a1a, #ffa052); box-shadow: 0 0 12px rgba(255,122,26,.55); } .theme-switch.on .ts-track i { transform: translateX(18px); }
@media (max-width: 700px) { .theme-switch { padding: 0 8px; gap: 6px; } .theme-switch .ts-track { width: 34px; height: 20px; } .theme-switch .ts-track i { width: 14px; height: 14px; } .theme-switch.on .ts-track i { transform: translateX(14px); } }

/* ---------- Bonus Hunt (page Stream) ---------- */
/* ---------- Bonus Hunt : page dédiée ---------- */
.bh-top h1 { display: flex; align-items: center; gap: 10px; } .bh-top h1 svg { width: 28px; height: 28px; color: var(--gold); }
.bh-demobar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 14px; border-radius: 12px; background: rgba(253,205,43,.12); border: 1px solid rgba(253,205,43,.45); color: var(--gold); font-size: 13px; } .bh-demobar svg { width: 18px; height: 18px; flex: none; } .bh-demobar span { flex: 1; color: var(--txt2); } .bh-demobar b { color: var(--gold); }
.bh-idle { position: relative; min-height: 440px; padding: 34px 30px 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; background: linear-gradient(180deg, rgba(10,16,32,.25), var(--panel) 72%), var(--svbg) center 35% / cover no-repeat; }
.bh-idle-in { max-width: 560px; } .bh-idle h2 { margin: 12px 0 8px; font-size: 28px; font-weight: 900; letter-spacing: -.01em; } .bh-idle p { margin: 0 0 18px; color: var(--muted); line-height: 1.55; }
.bh-idle-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bh-open, .bh-play, .bh-done { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 16px; }
.bh-open-head, .bh-play-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.bh-cmd { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 220px; } .bh-cmd small { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 800; } .bh-cmd code { font-family: inherit; font-size: 30px; font-weight: 900; color: var(--gold); letter-spacing: -.01em; line-height: 1.1; } .bh-cmd code i { font-style: normal; color: var(--txt); opacity: .8; } .bh-cmd span { font-size: 12.5px; color: var(--muted); } .bh-cmd span b { color: var(--txt2); }
.bh-join { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .bh-join .input { flex: 1; min-width: 180px; max-width: 360px; } .bh-join .sv-ok { font-size: 13px; color: var(--green); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.bh-wall-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 800; } .bh-wall-head b { display: inline-flex; align-items: center; gap: 6px; color: var(--txt); } .bh-wall-head svg { width: 14px; height: 14px; color: var(--gold); }
.bh-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.bh-wall-empty { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 26px; border-radius: var(--r-lg); border: 1px dashed var(--line2); color: var(--muted); font-size: 13px; } .bh-wall-empty svg { width: 22px; height: 22px; flex: none; } .bh-wall-empty code { color: var(--gold); font-weight: 800; font-family: inherit; }
.bh-call { position: relative; display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: var(--r-lg); background: var(--panel2); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .3s; }
.bh-call.new { animation: bhEnter .55s cubic-bezier(.2,.9,.3,1.2) both; } @keyframes bhEnter { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
.bh-call.has { border-color: rgba(253,205,43,.35); } .bh-call.top1 { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(253,205,43,.35), 0 10px 26px -12px rgba(253,205,43,.6); } .bh-call.top2 { border-color: #cbd5e1; } .bh-call.top3 { border-color: #d97706; }
.bh-rk { position: absolute; left: -6px; top: -6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #11131c; background: #cbd5e1; z-index: 1; } .bh-call.top1 .bh-rk { background: var(--gold); } .bh-call.top3 .bh-rk { background: #d97706; color: #fff; }
.bh-call .sv-slotimg.big { width: 64px; height: 86px; border-radius: 10px; flex: none; object-fit: cover; } .bh-call .sv-slotimg.none.big { display: grid; place-items: center; background: var(--panel3); }
.bh-call-tx { flex: 1; min-width: 0; } .bh-call-tx b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .bh-call-tx small { color: var(--muted2); font-size: 11px; }
.bh-call-who { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 12.5px; color: var(--acc2); font-weight: 800; text-decoration: none; } .bh-call-who .avatar { width: 20px; height: 20px; }
.bh-call-multi { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; } .bh-call-multi em { font-style: normal; font-size: 22px; font-weight: 900; color: var(--gold); animation: atPop .4s cubic-bezier(.2,.9,.3,1.3); } .bh-call-multi .sv-hmulti { width: 86px; height: 34px; font-size: 13px; padding: 0 8px; } .sv-hwait { color: var(--muted2); font-weight: 900; }
.bh-play-tx { flex: 1; min-width: 240px; } .bh-play-tx h2 { margin: 10px 0 6px; font-size: 26px; font-weight: 900; } .bh-play-tx p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.bh-prog { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); } .bh-prog b { color: var(--txt); } .bh-prog-bar { flex: 1; height: 8px; border-radius: 4px; background: var(--bg2); overflow: hidden; } .bh-prog-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--acc), var(--gold)); transition: width .5s; }
.bh-tip code { color: var(--gold); font-family: inherit; font-weight: 800; }
.bh-done-head { text-align: center; } .bh-done-head h2 { margin: 10px 0 4px; font-size: 26px; font-weight: 900; } .bh-done-head p { margin: 0; color: var(--muted); font-size: 13px; }
.bh-done .sv-podium { margin-top: 24px; }
.bh-rank { display: flex; flex-direction: column; gap: 4px; padding: 4px 0; } .bh-rank > div { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; background: var(--panel2); } .bh-rank > div > b { width: 20px; text-align: center; color: var(--muted); font-size: 13px; } .bh-rank .r1 > b { color: var(--gold); } .bh-rank .r2 > b { color: #cbd5e1; } .bh-rank .r3 > b { color: #d97706; } .bh-rank .r1 { background: rgba(253,205,43,.1); }
.bh-rank .sv-slotimg { width: 30px; height: 40px; border-radius: 6px; object-fit: cover; flex: none; } .bh-rank .sv-slotimg.none { display: grid; place-items: center; background: var(--panel3); }
.bh-rank-n { flex: 1; min-width: 0; display: flex; flex-direction: column; text-decoration: none; color: inherit; } .bh-rank-n span { font-weight: 800; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .bh-rank-n small { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bh-rank em { font-style: normal; font-weight: 900; color: var(--gold); font-size: 15px; }
.bh-pending { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 4px 4px; } .bh-pending small { width: 100%; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted2); font-weight: 800; } .bh-pending span { padding: 3px 9px; border-radius: 999px; background: var(--panel2); font-size: 12px; font-weight: 700; color: var(--muted); }
.bh-feed .sv-p-r .withimg { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; } .bh-feed .sv-p-r .sv-slotimg { width: 26px; height: 34px; border-radius: 5px; object-fit: cover; } .bh-feed .sv-p-r .sv-slotimg.none { display: grid; place-items: center; background: var(--panel3); }
.bh-regie .sv-regie-head code, .bh-regie .sv-regie-note code { font-family: inherit; color: var(--gold); font-weight: 800; }
.sv-podium { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 12px; align-items: end; margin-bottom: 16px; }
.sv-pod { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px 14px; border-radius: var(--r-lg); background: var(--panel2); border: 1px solid var(--line); text-align: center; animation: bhEnter .6s cubic-bezier(.2,.9,.3,1.2) both; }
.sv-pod-1 { border-color: rgba(253,205,43,.6); background: linear-gradient(180deg, rgba(253,205,43,.14), var(--panel2) 60%); padding-top: 26px; animation-delay: .4s; } .sv-pod-2 { border-color: rgba(203,213,225,.45); animation-delay: .2s; } .sv-pod-3 { border-color: rgba(217,119,6,.5); }
.sv-pod-rank { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #11131c; background: #cbd5e1; } .sv-pod-1 .sv-pod-rank { background: var(--gold); width: 36px; height: 36px; font-size: 17px; } .sv-pod-3 .sv-pod-rank { background: #d97706; color: #fff; }
.sv-pod .sv-slotimg.big { width: 96px; height: 128px; border-radius: 12px; object-fit: cover; } .sv-pod-1 .sv-slotimg.big { width: 120px; height: 160px; } .sv-pod b { font-size: 14px; } .sv-pod em { font-style: normal; font-size: 28px; font-weight: 900; color: var(--gold); line-height: 1; } .sv-pod-1 em { font-size: 36px; }
.sv-pod-prize { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--green); margin-top: 4px; } .sv-pod-prize img { width: 26px; height: 26px; object-fit: contain; }
@media (max-width: 900px) { .bh-cmd code { font-size: 24px; } .sv-podium { grid-template-columns: 1fr; } .sv-pod-1 { order: -1; } }
.bh-out { margin-top: 4px; } .bh-out summary { cursor: pointer; font-size: 12.5px; color: var(--muted); font-weight: 700; display: flex; align-items: center; gap: 6px; } .bh-out summary svg { width: 14px; height: 14px; } .bh-out-list { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; } .bh-out-list span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--bg2); font-size: 12px; color: var(--muted); font-weight: 700; } .bh-out-list .avatar { width: 20px; height: 20px; }
.bh-tip { display: flex; align-items: center; gap: 8px; } .bh-tip svg { width: 16px; height: 16px; flex: none; color: var(--acc2); }
.bh-done-head .sv-chip svg, .bh-play-tx .sv-chip svg, .bh-idle .sv-chip svg { width: 13px; height: 13px; }
.bh-prizes { display: flex; gap: 8px; flex-wrap: wrap; } .bh-prize { display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); position: relative; min-width: 150px; }
.bh-prize.r1 { border-color: rgba(253,205,43,.55); background: linear-gradient(135deg, rgba(253,205,43,.14), var(--panel2) 70%); } .bh-prize.r2 { border-color: rgba(203,213,225,.4); } .bh-prize.r3 { border-color: rgba(217,119,6,.45); }
.bh-prize img { width: 40px; height: 40px; object-fit: contain; } .bh-prize .sv-prizebox-i { width: 40px; height: 40px; display: grid; place-items: center; color: var(--muted); } .bh-prize .sv-prizebox-i svg { width: 22px; height: 22px; }
.bh-prize div { display: flex; flex-direction: column; } .bh-prize small { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 800; } .bh-prize span { font-size: 14px; font-weight: 900; }
.bh-prize-rk { position: absolute; left: -7px; top: -7px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 900; color: #11131c; background: #cbd5e1; } .bh-prize.r1 .bh-prize-rk { background: var(--gold); } .bh-prize.r3 .bh-prize-rk { background: #d97706; color: #fff; }
.bh-regie .sv-regie-row label select.input { min-width: 130px; }
