/* ============================================================
   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: 55px; width: 300px; background: var(--panel2); border-radius: var(--r-lg); padding: 14px; z-index: 80; box-shadow: 0 16px 40px rgba(0,0,0,.45); animation: up .15s ease; }
.um-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.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: 50px; border-radius: 5px; background: var(--gold); color: var(--gold-txt); font-weight: 800; font-size: 15px; flex-shrink: 0; } .um-vip:hover { filter: brightness(1.06); }
.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; padding-top: 10px; border-top: 1px solid var(--line); }
.um-grid a, .um-grid button, .um-foot a, .um-foot button { display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 8px; border-radius: 5px; color: var(--txt2); font-weight: 600; font-size: 13.5px; text-align: left; }
.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 { 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: 55px; width: 300px; background: var(--panel2); border-radius: var(--r-lg); padding: 14px; z-index: 80; box-shadow: 0 16px 40px rgba(0,0,0,.45); 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: 260px; height: 260px; }
  .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: 100%; max-width: 80%; object-fit: contain; }
.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; } }
/* 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-live { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--r); background: var(--panel); color: var(--muted); font-weight: 700; font-size: 13px; } .sv-live svg { width: 16px; height: 16px; color: var(--rumble); }
.sv-live.on { background: rgba(255,77,94,.14); color: var(--red); } .sv-live.on svg { color: var(--red); }
.sv-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; align-items: start; margin-bottom: 14px; }
.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; }
.sv-main .card-body { padding: 18px; }
.sv-idle { text-align: center; padding: 20px 0; color: var(--muted); } .sv-idle svg { width: 36px; height: 36px; color: var(--muted2); } .sv-idle b { display: block; font-size: 18px; color: var(--txt); margin: 10px 0 6px; } .sv-idle p { font-size: 13.5px; } .sv-idle p a { color: var(--acc2); }
.sv-cmd { margin-top: 14px; font-size: 12.5px; color: var(--muted); } .sv-cmd code { background: var(--bg2); color: var(--acc2); padding: 3px 8px; border-radius: 4px; font-size: 12.5px; } .sv-cmd a { color: var(--acc2); }
.sv-count { text-align: center; margin-bottom: 16px; } .sv-count small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); font-weight: 800; } .sv-count b { display: block; font-size: 40px; font-weight: 800; font-variant-numeric: tabular-nums; margin: 4px 0 10px; }
.sv-join { display: grid; grid-template-columns: 1fr auto; gap: 8px; } .sv-join .input { height: 46px; } .sv-join .btn { height: 46px; min-width: 150px; } .sv-join:has(> .btn:only-child) { grid-template-columns: 1fr; }
.sv-ok { margin-top: 10px; color: var(--green); font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 6px; } .sv-ok svg { width: 14px; height: 14px; }
.sv-closed { text-align: center; padding: 10px 0; } .sv-closed b { display: block; font-size: 26px; font-weight: 800; margin: 10px 0 4px; } .sv-closed p { color: var(--muted); font-size: 13.5px; }
.sv-result { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.sv-actual small, .sv-winner small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 6px; }
.sv-actual b { font-size: 34px; font-weight: 800; color: var(--acc2); }
.sv-winner { display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--panel2); border-radius: var(--r-lg); padding: 18px 28px; border-top: 3px solid var(--gold); min-width: 260px; }
.sv-winner .avatar { width: 56px; height: 56px; border-radius: 50%; font-size: 22px; } .sv-winner b { font-size: 22px; font-weight: 800; } .sv-winner span { color: var(--muted); font-weight: 600; font-size: 13px; } .sv-winner .slot { color: var(--acc2); font-size: 15px; font-weight: 700; }
.sv-rank { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 4px; } .sv-rank > div { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; border-radius: 5px; background: var(--panel2); font-size: 13px; } .sv-rank > div.top { box-shadow: inset 0 0 0 1px var(--gold); }
.sv-rank > div > b { width: 18px; color: var(--muted); } .sv-rank span { flex: 1; text-align: left; font-weight: 600; } .sv-rank em { font-style: normal; font-weight: 800; } .sv-rank small { color: var(--muted); width: 56px; text-align: right; }
.sv-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; width: 100%; margin-top: 12px; }
.sv-team { background: var(--panel2); border-radius: var(--r-lg); padding: 12px; display: flex; flex-direction: column; gap: 6px; border-top: 3px solid var(--line2); } .sv-team.win { border-top-color: var(--gold); }
.sv-team small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.sv-tp { display: flex; align-items: center; gap: 8px; font-size: 13px; text-align: left; } .sv-tp b { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sv-tp span { color: var(--muted); font-size: 12px; } .sv-tp em { font-style: normal; font-weight: 800; color: var(--acc2); } .sv-tp .input { width: 90px; height: 34px; }
.sv-vs { font-weight: 900; font-size: 18px; color: var(--muted); }
.sv-wheelwrap { position: relative; width: min(420px, 90%); margin: 0 auto 16px; } .sv-wheelwrap canvas { width: 100%; height: auto; display: block; border-radius: 50%; }
.sv-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: 2; }
.sv-plist { padding: 6px 10px; max-height: 480px; overflow-y: auto; } .sv-plist .empty { padding: 20px; text-align: center; color: var(--muted); font-size: 13px; }
.sv-p { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 40px; padding: 0 6px; border-bottom: 1px solid var(--line); font-size: 13px; } .sv-p:last-child { border-bottom: 0; }
.sv-p > span { display: flex; align-items: center; gap: 8px; min-width: 0; } .sv-p b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-p em { font-style: normal; font-weight: 700; color: var(--acc2); font-size: 12.5px; white-space: nowrap; max-width: 40%; overflow: hidden; text-overflow: ellipsis; } .sv-p i { display: grid; place-items: center; color: var(--muted2); flex-shrink: 0; } .sv-p i svg { width: 14px; height: 14px; } .sv-p.rumble i { color: var(--rumble); }
.sv-admin { margin-bottom: 14px; border-left: 3px solid var(--acc); } .sv-admin .card-body { padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.sv-admin-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .sv-admin-row .input { height: 42px; width: auto; min-width: 180px; flex: 1; } .sv-admin-row .btn { height: 42px; }
.sv-test .input { min-width: 140px; } .sv-chatlog { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); max-height: 120px; overflow-y: auto; background: var(--bg2); border-radius: var(--r); padding: 8px 10px; } .sv-chatlog b { color: var(--txt2); }
.sv-hist .atable td, .sv-hist .atable th { padding: 10px 14px; }
@media (max-width: 1000px) { .sv-layout { grid-template-columns: 1fr; } .sv-teams { grid-template-columns: 1fr; } }
/* 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 1fr; gap: 14px; align-items: start; }
.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; } }
.sv-slotimg { width: 30px; height: 40px; border-radius: 4px; 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-p em.withimg { display: inline-flex; align-items: center; gap: 8px; max-width: 55%; } .sv-p em.withimg > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-tp span.withimg { display: inline-flex; align-items: center; gap: 6px; }
.sv-slotbig { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 6px; } .sv-slotbig .sv-slotimg { width: 96px; height: 128px; border-radius: var(--r); }
.sv-p .avatar.sm, .sv-tp .avatar.sm { width: 30px; height: 30px; border-radius: 50%; }

/* ========== 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: 1fr 1fr; } }
.pf-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 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); } }
/* 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 */
.sv-prize { display: inline-flex; align-items: center; gap: 6px; } .sv-prize img { width: 22px; height: 22px; object-fit: contain; } .sv-prize small { color: var(--muted); font-weight: 600; text-transform: none; letter-spacing: 0; }
.sv-admin-row .sv-qty { width: 70px; flex: 0 0 70px; }
.sv-awarded { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.sv-awarded div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 12px; border-radius: var(--r); background: var(--panel2); } .sv-awarded svg { width: 14px; height: 14px; 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; }
/* ---------- 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; } }
