/* ============================================================
   Récompenses : roue magique + caisses
   ============================================================ */
.rw-page svg.coin, .rw-art svg.coin, .rw-res svg.coin, .rw-ed-rtp svg.coin { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -.2em; flex-shrink: 0; }
.rw-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--muted); padding: 7px 14px 7px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: color .2s, border-color .2s, background .2s; }
.rw-back svg { transform: rotate(180deg); transition: transform .2s; }
.rw-back:hover { color: var(--text); border-color: var(--line-2); background: rgba(255,255,255,.04); }
.rw-back:hover svg { transform: rotate(180deg) translateX(3px); }
.rw-head { margin: 20px 0 10px; }
.rw-head .h1 { margin: 12px 0 8px; }
.rw-k { font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* ---------- roue ---------- */
.rw-wl { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 32px; align-items: center; }
.rw-stage { min-width: 0; padding: 44px 0 10px; overflow-x: clip; }
.rw-wheel { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin: 0 auto; isolation: isolate; }
.rw-wheel > svg, .rw-disc { position: absolute; inset: 0; width: 100%; height: 100%; }
.rw-disc { transform-origin: 50% 50%; will-change: transform; }
.rw-disc svg { display: block; width: 100%; height: 100%; }
.rw-glow { position: absolute; inset: -13%; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(154, 92, 255, .42) 0%, rgba(46, 230, 140, .16) 42%, transparent 68%); filter: blur(8px); animation: rwBreath 4.5s ease-in-out infinite; }
@keyframes rwBreath { 50% { opacity: .6; transform: scale(.95); } }
.rw-rim { filter: drop-shadow(0 28px 50px rgba(0, 0, 0, .75)); }
.rw-gloss { position: absolute; inset: 5.6%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(85% 55% at 32% 12%, rgba(255, 255, 255, .17), transparent 60%), radial-gradient(circle, transparent 64%, rgba(0, 0, 0, .2) 100%); }
.rw-hub { position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; z-index: 2;
  background: radial-gradient(circle at 35% 28%, #33235c, #0c0816 72%);
  box-shadow: 0 0 0 3px #07050c, 0 0 0 6px rgba(154, 92, 255, .8), 0 0 0 9px #07050c, 0 0 34px 8px rgba(46, 230, 140, .3), inset 0 3px 10px rgba(255, 255, 255, .14); }
.rw-hub svg { width: 68%; height: 68%; filter: drop-shadow(0 4px 12px rgba(46, 230, 140, .55)); }
.rw-pointer { position: absolute; left: 50%; top: -6.5%; width: 11.5%; transform: translateX(-50%); transform-origin: 50% 34%; z-index: 3;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)) drop-shadow(0 0 12px rgba(46, 230, 140, .45)); }
.rw-pointer svg { display: block; width: 100%; height: auto; }
.rw-tm { font-family: "Unbounded", "Manrope", sans-serif; font-weight: 800; text-anchor: middle; dominant-baseline: central; letter-spacing: -.02em; }
.rw-ts { font-family: "Manrope", sans-serif; font-weight: 800; text-anchor: middle; dominant-baseline: central; letter-spacing: .14em; opacity: .82; }
.rw-pins circle { filter: drop-shadow(0 0 3px rgba(255, 255, 255, .7)); }
.rw-hl { fill: #fff; opacity: 0; pointer-events: none; }
.rw-hl.on { animation: rwHl .45s ease-in-out 8 alternate; }
@keyframes rwHl { to { opacity: .34; } }
.rw-bulb .c { fill: #effff6; }
.rw-bulb .h { fill: #2ee68c; opacity: .45; }
.rw-bulb.b .c { fill: #f4ebff; }
.rw-bulb.b .h { fill: #a978ff; }
.rw-bulb { animation: rwBlink 1.4s steps(1, end) infinite; }
.rw-bulb.b { animation-delay: -.7s; }
@keyframes rwBlink { 50% { opacity: .25; } }
.rw-wheel.is-spinning .rw-bulb { animation-duration: .32s; animation-delay: 0s; }
.rw-wheel.is-spinning .rw-bulb.b { animation-delay: -.16s; }
.rw-wheel.is-win .rw-bulb { animation: rwFlash .3s steps(1, end) 12; }
@keyframes rwFlash { 50% { opacity: .08; } }

/* panneau de contrôle */
.rw-ctrl { display: grid; gap: 16px; padding: 22px;
  background: radial-gradient(130% 90% at 100% 0%, rgba(154, 92, 255, .17), transparent 55%), linear-gradient(180deg, var(--card-2), var(--card)); border-color: var(--line-2); }
.rw-luck { display: flex; align-items: center; gap: 14px; }
.rw-luck .grow { flex: 1; min-width: 0; }
.rw-luck-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; color: #04170c; background: linear-gradient(180deg, #8affc6, #1fcf7b); box-shadow: 0 10px 26px -10px rgba(46, 230, 140, .9), inset 0 1px 0 rgba(255, 255, 255, .5); }
.rw-luck-v { font: 800 32px/1.05 "Unbounded", sans-serif; letter-spacing: -.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rw-lv { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 900; color: var(--lilac); background: rgba(154, 92, 255, .14); border: 1px solid rgba(154, 92, 255, .35); white-space: nowrap; }
.rw-luck-t { margin-top: -8px; }
.rw-free { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 15px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.rw-free b { display: block; font-size: 15px; }
.rw-free span { font-size: 13px; color: var(--muted); font-weight: 600; }
.rw-free .rw-cd { display: inline; font: 800 15px "Unbounded", sans-serif; color: var(--mint); font-variant-numeric: tabular-nums; }
.rw-pips { display: flex; gap: 5px; flex-shrink: 0; }
.rw-pips i { width: 15px; height: 15px; border-radius: 50%; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2); }
.rw-pips i.on { border-color: transparent; background: radial-gradient(circle at 35% 30%, #d2ffe8, #2ee68c 58%, #12a862); box-shadow: 0 0 12px rgba(46, 230, 140, .75); }
.rw-go { height: 58px; font-size: 16px; }
.rw-go svg.coin { width: 20px; height: 20px; }
.rw-bal { text-align: center; font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.rw-bal b { color: var(--text); }
.rw-rules { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); font-weight: 600; }
.rw-rules div { display: flex; gap: 9px; align-items: center; }
.rw-rules svg { color: var(--violet); }

/* panneaux sous la roue */
.rw-panels { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin-top: 34px; align-items: start; }
.rw-panels.two { grid-template-columns: 1fr 1fr; margin-top: 0; }
.rw-panel { padding: 18px; min-width: 0; }
.rw-ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.rw-pt { display: flex; align-items: center; gap: 9px; font: 700 15px "Unbounded", sans-serif; letter-spacing: -.01em; }
.rw-pt svg { color: var(--green); }
.rw-odds { display: grid; gap: 2px; }
.rw-odd { display: grid; grid-template-columns: minmax(0, 1fr) 76px 76px; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 700; }
.rw-odd:nth-child(even) { background: rgba(255, 255, 255, .025); }
.rw-odd.hd { font-size: 10.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); background: none; padding-block: 0 6px; }
.rw-odd > span:not(.nm) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rw-odd .nm { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rw-odd .nm > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rw-odd i, .rw-fr i { width: 11px; height: 11px; border-radius: 4px; background: var(--c); box-shadow: 0 0 10px var(--c); flex-shrink: 0; }
.rw-odd .b { color: var(--muted); }
.rw-odd .m.up { color: var(--mint); }
.rw-star { color: var(--gold); font-size: 12px; }
.rw-cash { display: inline-block; width: 19px; height: 19px; flex-shrink: 0; vertical-align: middle; }
/* icônes dessinées (ART) en ligne dans le texte */
.rw-ic { display: inline-block; width: 1.35em; height: 1.35em; flex-shrink: 0; vertical-align: -.34em; }
.rw-aff .rw-ic { width: 20px; height: 20px; margin: -3px 0; }
.rw-tag .rw-ic { width: 16px; height: 16px; margin: -2px 0; }
.rw-feed { display: grid; gap: 4px; }
.rw-fr { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 11px; background: rgba(255, 255, 255, .022); }
.rw-fr .lb { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.rw-fr .lb > span { display: grid; min-width: 0; }
.rw-fr b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rw-fr small { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rw-fr .tm { font-size: 11.5px; color: var(--dim); font-weight: 700; white-space: nowrap; }
.rw-fr .rk { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; font-size: 11.5px; font-weight: 900; color: var(--muted); background: rgba(255, 255, 255, .05); }
.rw-fr .rk.t1 { color: #2a1a00; background: linear-gradient(180deg, #ffe08a, #ffc94a); }
.rw-fr .rk.t2 { color: #15121f; background: linear-gradient(180deg, #eef1f8, #b9c3d6); }
.rw-fr .rk.t3 { color: #2a1405; background: linear-gradient(180deg, #f3b27c, #d0894f); }
.rw-live { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--green); white-space: nowrap; }
.rw-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: rwPing 1.6s infinite; }
@keyframes rwPing { 0% { box-shadow: 0 0 0 0 rgba(46, 230, 140, .7); } 70%, 100% { box-shadow: 0 0 0 7px rgba(46, 230, 140, 0); } }
.rw-empty { display: flex; align-items: center; gap: 10px; padding: 18px 14px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 13.5px; font-weight: 600; }
.rw-empty svg { color: var(--violet); }
.rw-aff { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--mint); background: rgba(46, 230, 140, .07); border: 1px solid rgba(46, 230, 140, .3); }
.rw-aff-row { display: flex; justify-content: center; margin-top: 24px; }

/* fenêtre de résultat (roue) */
.modal.rw-res-modal { max-width: 430px; }
.rw-res { position: relative; padding: 36px 26px 26px; text-align: center; overflow: hidden;
  background: radial-gradient(90% 60% at 50% 0%, color-mix(in srgb, var(--c) 34%, transparent), transparent 72%); }
.rw-res > :not(.rw-res-rays) { position: relative; }
.rw-res-rays { position: absolute; left: 50%; top: 88px; width: 560px; height: 560px; margin: -280px 0 0 -280px; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--c) 24%, transparent) 0 9deg, transparent 9deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 12%, transparent 58%); mask: radial-gradient(circle, #000 12%, transparent 58%); animation: rot 26s linear infinite; }
.rw-res-ic { width: 106px; height: 106px; margin: 0 auto 12px; border-radius: 30px; display: grid; place-items: center; font-size: 54px; line-height: 1;
  background: radial-gradient(circle at 35% 28%, color-mix(in srgb, var(--c) 70%, #fff), color-mix(in srgb, var(--c) 35%, #0b0714));
  box-shadow: 0 22px 50px -14px var(--c), inset 0 1px 0 rgba(255, 255, 255, .4); animation: rwPop .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.rw-res-ic svg.coin { width: 64px; height: 64px; }
.rw-res-ic .art { width: 74px; height: 74px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45)); }
.rw-res-rare { display: inline-block; margin-bottom: 8px; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: #2a1a00; background: linear-gradient(180deg, #ffe08a, #ffc94a); }
.rw-res-v { font: 800 clamp(28px, 8vw, 40px)/1.1 "Unbounded", sans-serif; letter-spacing: -.03em; margin: 6px 0 8px; color: #fff; text-shadow: 0 6px 30px var(--c); overflow-wrap: anywhere; }
.rw-res-p { font-size: 14.5px; }
.rw-res-ch { font-size: 12.5px; color: var(--dim); margin-top: 6px; font-weight: 700; }
@keyframes rwPop { from { transform: scale(.3) rotate(-10deg); opacity: 0; } }
.rw-lock { display: grid; gap: 10px; justify-items: center; margin-top: 16px; padding: 14px; border-radius: 14px; text-align: center; background: rgba(255, 201, 74, .06); border: 1px solid rgba(255, 201, 74, .38); }
.rw-lock-t { font-size: 13.5px; font-weight: 600; color: #f3ead4; line-height: 1.45; }
.rw-lock.ok { background: rgba(46, 230, 140, .06); border-color: rgba(46, 230, 140, .35); }
.rw-lock.ok .rw-lock-t { color: #dcfbe9; }

/* ---------- caisses : liste ---------- */
.rw-case-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; margin-top: 20px; }
.rw-cc { position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, var(--card-2), var(--card)); transition: transform .25s, border-color .25s, box-shadow .25s; }
.rw-cc:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 28px 60px -32px var(--c); }
.rw-cc-art { position: relative; height: 214px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(65% 70% at 50% 62%, color-mix(in srgb, var(--c) 32%, transparent), transparent 70%), linear-gradient(180deg, #0d0a16, #130e1f); }
.rw-cc-art::before { content: ""; position: absolute; left: 50%; top: 55%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none;
  background: repeating-conic-gradient(color-mix(in srgb, var(--c) 10%, transparent) 0 8deg, transparent 8deg 16deg); -webkit-mask: radial-gradient(circle, #000 8%, transparent 58%); mask: radial-gradient(circle, #000 8%, transparent 58%); }
.rw-cc-art .rw-cart { width: 60%; max-width: 200px; }
.rw-cc:hover .rw-cart { animation-duration: 1.6s; }
.rw-cc.locked .rw-cart { filter: grayscale(.65) brightness(.65); }
.rw-cc-lock { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 900; color: #ffd1d6; background: rgba(20, 8, 14, .8); border: 1px solid rgba(240, 71, 90, .5); }
.rw-cc-body { display: grid; gap: 12px; padding: 16px 18px 18px; }
.rw-cc-name { font: 700 18px/1.2 "Unbounded", sans-serif; letter-spacing: -.02em; }
.rw-cc-pv { display: flex; align-items: center; gap: 6px; }
.rw-pv { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 19px; background: color-mix(in srgb, var(--rc) 14%, #0d0a16); border: 1px solid color-mix(in srgb, var(--rc) 50%, transparent); }
.rw-pv img { width: 80%; height: 80%; object-fit: contain; }
.rw-pv .art { width: 78%; height: 78%; }
.rw-cc-n { margin-left: auto; font-size: 12.5px; font-weight: 800; color: var(--muted); }
.rw-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rw-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 8px; font-size: 11.5px; font-weight: 800; color: #cbc3df; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); }
.rw-tag.ok { color: var(--mint); border-color: rgba(46, 230, 140, .3); background: rgba(46, 230, 140, .06); }
.rw-tag.lock { color: #ffb4bd; border-color: rgba(240, 71, 90, .4); background: rgba(240, 71, 90, .08); }
.rw-tag.cash { color: var(--mint); }
.rw-cc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.rw-price { display: inline-flex; align-items: center; gap: 7px; font: 800 18px "Unbounded", sans-serif; letter-spacing: -.02em; color: var(--text); }
.rw-price svg.coin { width: 22px; height: 22px; }
.rw-price.lg { font-size: 26px; }
.rw-price.lg svg.coin { width: 28px; height: 28px; }
.rw-price span { font: 700 13px "Manrope", sans-serif; color: var(--muted); letter-spacing: 0; }
.rw-cc-go { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 900; color: #04170c; background: linear-gradient(180deg, #6dffb3, #1fcf7b); box-shadow: 0 8px 20px -10px rgba(46, 230, 140, .9); }
.rw-cc.locked .rw-cc-go { color: var(--muted); background: rgba(255, 255, 255, .06); box-shadow: none; }

/* caisse dessinée */
.rw-cart { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 200 / 184; animation: rwFloat 4.5s ease-in-out infinite; }
.rw-cart-glow { position: absolute; inset: 10% 8% 0; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 60%, transparent), transparent 66%); filter: blur(14px); }
.rw-crate, .rw-case-img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .55)); }
@keyframes rwFloat { 50% { transform: translateY(-7px); } }

/* ---------- caisses : ouverture ---------- */
.rw-ctop { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; margin-top: 20px; }
.rw-info { display: grid; gap: 16px; align-content: start; padding: 20px;
  background: radial-gradient(90% 60% at 50% 18%, color-mix(in srgb, var(--c) 20%, transparent), transparent 72%), linear-gradient(180deg, var(--card-2), var(--card)); }
.rw-info-art { width: 78%; margin: 4px auto 0; }
.rw-info-b { display: grid; gap: 12px; min-width: 0; }
.rw-info-n { font: 800 22px/1.15 "Unbounded", sans-serif; letter-spacing: -.02em; }
.rw-facts { display: grid; gap: 6px; }
.rw-facts div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 11px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 13.5px; }
.rw-facts span { color: var(--muted); font-weight: 600; }
.rw-facts b { white-space: nowrap; }
.rw-facts b.no { color: #ff9aa6; }
.rw-open { display: grid; gap: 16px; align-content: center; padding: 20px; min-width: 0; }
.rw-reel { position: relative; height: 192px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: inset 0 0 50px rgba(0, 0, 0, .7);
  background: radial-gradient(55% 120% at 50% 50%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%), linear-gradient(180deg, #08060d, #110c1c 50%, #08060d); }
.rw-track { position: absolute; top: 16px; bottom: 16px; left: 0; display: flex; gap: 8px; will-change: transform; }
.rw-cell { position: relative; flex: 0 0 128px; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto auto; justify-items: center; align-items: center; padding: 12px 8px; border-radius: 13px; text-align: center; overflow: hidden;
  background: radial-gradient(90% 70% at 50% 100%, color-mix(in srgb, var(--rc) 30%, transparent), transparent 72%), linear-gradient(180deg, #18112b, #100b1c);
  border: 1px solid color-mix(in srgb, var(--rc) 32%, transparent); transition: opacity .45s, filter .45s, transform .45s, box-shadow .45s; }
.rw-cell::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--rc); box-shadow: 0 0 14px var(--rc); }
.rw-cell-ic { display: grid; place-items: center; font-size: 46px; line-height: 1; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .5)); }
.rw-cell-ic img { width: 72px; height: 72px; object-fit: contain; }
.rw-cell-ic .art { width: 66px; height: 66px; }
.rw-cell-l { max-width: 100%; font-size: 12.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rw-cell-r { margin-top: 2px; font-size: 9.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--rc); }
.rw-track.done .rw-cell { opacity: .3; filter: saturate(.4); }
.rw-track.done .rw-cell.rw-win { opacity: 1; filter: none; transform: scale(1.05); border-color: var(--rc); box-shadow: 0 0 0 2px var(--rc), 0 0 46px -4px var(--rc), inset 0 0 30px color-mix(in srgb, var(--rc) 28%, transparent); animation: rwGlow 1.2s ease-in-out 3; }
@keyframes rwGlow { 50% { box-shadow: 0 0 0 2px var(--rc), 0 0 70px 4px var(--rc), inset 0 0 40px color-mix(in srgb, var(--rc) 42%, transparent); } }
.rw-fade { position: absolute; top: 0; bottom: 0; width: 16%; z-index: 2; pointer-events: none; }
.rw-fade.l { left: 0; background: linear-gradient(90deg, #08060d, transparent); }
.rw-fade.r { right: 0; background: linear-gradient(-90deg, #08060d, transparent); }
.rw-mark { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; z-index: 3; transform: translateX(-50%); border-radius: 3px; background: linear-gradient(180deg, var(--mint), var(--green) 50%, var(--mint)); box-shadow: 0 0 16px rgba(46, 230, 140, .9); }
.rw-mark::before, .rw-mark::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); border: 10px solid transparent; }
.rw-mark::before { top: -2px; border-top-color: var(--mint); }
.rw-mark::after { bottom: -2px; border-bottom-color: var(--mint); }
.rw-reel.is-rolling .rw-mark { box-shadow: 0 0 22px rgba(46, 230, 140, 1); }
.rw-out { min-height: 62px; display: grid; place-items: center; gap: 10px; text-align: center; }
.rw-out .hint { display: inline-flex; align-items: center; gap: 6px; }
.rw-result { display: grid; gap: 6px; justify-items: center; animation: rwPop .5s cubic-bezier(.2, 1.5, .4, 1) both; }
.rw-badge { display: inline-flex; padding: 10px 18px; border-radius: 999px; font: 800 14px "Unbounded", sans-serif; letter-spacing: .04em; color: #0b0714; background: var(--rc); box-shadow: 0 12px 34px -10px var(--rc), inset 0 1px 0 rgba(255, 255, 255, .45); }
.rw-res-sub { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.rw-out .rw-lock { margin-top: 0; max-width: 520px; }
.rw-act { display: grid; gap: 4px; }
.rw-wait span { font-variant-numeric: tabular-nums; }
.rw-sec { margin-top: 36px; }
.rw-sec-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.rw-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.rw-it { position: relative; display: grid; justify-items: center; gap: 6px; padding: 14px 12px; border-radius: 16px; text-align: center; overflow: hidden;
  background: radial-gradient(90% 60% at 50% 100%, color-mix(in srgb, var(--rc) 22%, transparent), transparent 72%), linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid color-mix(in srgb, var(--rc) 35%, transparent); transition: transform .2s; }
.rw-it:hover { transform: translateY(-2px); }
.rw-it::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--rc); box-shadow: 0 0 16px var(--rc); }
.rw-it-top { width: 100%; display: flex; justify-content: space-between; gap: 6px; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.rw-it-r { color: var(--rc); white-space: nowrap; }
.rw-it-ch { color: var(--muted); letter-spacing: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rw-it-ic { height: 58px; display: grid; place-items: center; font-size: 42px; line-height: 1; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45)); }
.rw-it-ic img { max-width: 64px; max-height: 58px; object-fit: contain; }
.rw-it-ic .art { width: 58px; height: 58px; }
.rw-it-v .rw-ic { width: 16px; height: 16px; vertical-align: -3px; }
.rw-it-l { max-width: 100%; font-size: 13.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rw-it-v { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 800; color: var(--muted); }

/* ---------- vignettes du hub /jeux (3:4) ---------- */
.rw-art { position: relative; width: 100%; height: 100%; aspect-ratio: 3 / 4; overflow: hidden; isolation: isolate; }
.rw-art-bg { position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(80% 55% at 50% 38%, rgba(154, 92, 255, .5), transparent 70%), radial-gradient(70% 40% at 50% 100%, rgba(46, 230, 140, .32), transparent 70%), linear-gradient(180deg, #170f2b, #0a0712); }
.rw-art-c .rw-art-bg { background: radial-gradient(70% 50% at 50% 55%, rgba(46, 230, 140, .38), transparent 70%), radial-gradient(70% 45% at 50% 10%, rgba(154, 92, 255, .45), transparent 70%), linear-gradient(180deg, #160f29, #0a0712); }
.rw-art-rays { position: absolute; left: 50%; top: 42%; width: 190%; aspect-ratio: 1; z-index: -1; transform: translate(-50%, -50%); pointer-events: none;
  background: repeating-conic-gradient(rgba(255, 255, 255, .055) 0 8deg, transparent 8deg 16deg); -webkit-mask: radial-gradient(circle, #000 8%, transparent 58%); mask: radial-gradient(circle, #000 8%, transparent 58%); animation: rwRays 50s linear infinite; }
@keyframes rwRays { to { transform: translate(-50%, -50%) rotate(360deg); } }
.rw-art-wheel { position: absolute; left: 50%; top: 43%; width: 82%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.rw-art-wheel > svg, .rw-art-spin { position: absolute; inset: 0; width: 100%; height: 100%; }
.rw-art-spin { animation: rot 18s linear infinite; }
.rw-art-spin svg { display: block; width: 100%; height: 100%; }
.rw-art-wheel .rw-hub { width: 25%; }
.rw-art-wheel .rw-pointer { width: 13%; top: -7.5%; }
.rw-art-coin { position: absolute; z-index: 2; width: 13%; aspect-ratio: 1; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); animation: rwFloat 3.6s ease-in-out infinite; }
.rw-art-coin.c1 { left: 6%; top: 8%; rotate: -12deg; }
.rw-art-coin.c2 { right: 6%; top: 15%; width: 11%; animation-delay: -1.2s; }
.rw-art-coin.c3 { right: 8%; top: 64%; width: 12%; animation-delay: -2.3s; }
.rw-art-cap { position: absolute; left: 0; right: 0; bottom: 7%; display: grid; gap: 2px; justify-items: center; text-align: center; }
.rw-art-cap b { font: 800 clamp(14px, 1.6vw, 18px) "Unbounded", sans-serif; letter-spacing: -.02em; color: #fff; text-shadow: 0 4px 18px rgba(0, 0, 0, .6); }
.rw-art-cap span { font-size: 10.5px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); }
.rw-art-crate { position: absolute; animation: rwFloat 4.2s ease-in-out infinite; }
.rw-art-crate .rw-crate { display: block; }
.rw-art-crate.k1 { left: 2%; top: 16%; width: 44%; rotate: -11deg; animation-delay: -1.1s; opacity: .92; }
.rw-art-crate.k2 { right: 2%; top: 12%; width: 44%; rotate: 10deg; animation-delay: -2.2s; opacity: .92; }
.rw-art-crate.k3 { left: 50%; top: 36%; width: 64%; translate: -50% 0; }
.rw-sp { position: absolute; z-index: 2; width: 14px; height: 14px; background: radial-gradient(circle, #fff 0 12%, transparent 13%), conic-gradient(from 45deg, transparent 0 22%, rgba(255, 255, 255, .9) 25%, transparent 28% 47%, rgba(255, 255, 255, .9) 50%, transparent 53% 72%, rgba(255, 255, 255, .9) 75%, transparent 78% 97%, rgba(255, 255, 255, .9) 100%); -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%); animation: rwTwinkle 2.4s ease-in-out infinite; }
.rw-sp.s1 { left: 14%; top: 10%; }
.rw-sp.s2 { right: 16%; top: 8%; animation-delay: -.8s; width: 10px; height: 10px; }
.rw-sp.s3 { left: 9%; top: 62%; animation-delay: -1.4s; }
.rw-sp.s4 { right: 12%; top: 58%; animation-delay: -2s; width: 18px; height: 18px; }
@keyframes rwTwinkle { 50% { transform: scale(.3) rotate(45deg); opacity: .3; } }

/* ---------- admin ---------- */
.rw-adm { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.rw-adm-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.rw-total span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 900; }
.rw-total .ok { color: var(--green); }
.rw-total .warn { color: var(--gold); }
.rw-rows { display: grid; gap: 8px; }
.rw-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; padding: 10px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.rw-row.it { border-left: 3px solid var(--rc); }
.rw-f { display: grid; gap: 4px; flex: 1 1 92px; min-width: 0; }
.rw-f > span { font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.rw-f.lab { flex: 2 1 150px; }
.rw-f.rar { flex: 1 1 120px; }
.rw-f.col, .rw-f.sw, .rw-f.img { flex: 0 0 auto; }
.rw-f.em { flex: 0 0 auto; }
.rw-f.ch { flex: 0 0 78px; }
.rw-f.ch b { height: 40px; display: flex; align-items: center; font-size: 13px; color: var(--mint); font-variant-numeric: tabular-nums; }
.rw-f .input { height: 40px; padding: 0 10px; font-size: 13.5px; border-radius: 10px; }
.rw-f input[type="color"] { width: 44px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; }
.rw-f .switch { height: 40px; }
.rw-ord { display: grid; gap: 2px; }
.rw-ib { width: 32px; height: 19px; display: grid; place-items: center; border-radius: 6px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); color: var(--muted); transition: .15s; }
.rw-ib:hover:not([disabled]) { color: var(--text); background: rgba(255, 255, 255, .09); }
.rw-ib[disabled] { opacity: .3; cursor: default; }
.rw-ib.del { width: 40px; height: 40px; border-radius: 10px; color: #ff8090; }
.rw-f.img { position: relative; }
.rw-up { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; cursor: pointer; color: var(--dim); background: #08060d; border: 1px dashed var(--line-2); }
.rw-up:hover { color: var(--text); border-color: var(--mint); }
/* choix d'icône (admin) */
.rw-icb { width: 44px; height: 40px; padding: 4px 6px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; background: #08060d; border: 1px solid var(--line-2); transition: .15s; }
.rw-icb:hover, .rw-icb.on { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(46, 230, 140, .18); }
.rw-ipick { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; padding: 8px; border-radius: 12px; background: #08060d; border: 1px solid var(--line-2); max-height: 236px; overflow-y: auto; }
.rw-ipb { aspect-ratio: 1; padding: 6px; border-radius: 10px; border: 1px solid transparent; background: rgba(255, 255, 255, .03); cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.rw-ipb:hover { background: rgba(255, 255, 255, .08); transform: translateY(-1px); }
.rw-ipb.on { border-color: var(--mint); background: rgba(46, 230, 140, .1); box-shadow: 0 0 0 2px rgba(46, 230, 140, .22); }
.rw-ipop { margin: -2px 0 4px; }
.rw-ifield { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rw-icur { width: 40px; height: 40px; padding: 4px; border-radius: 10px; background: #08060d; border: 1px solid var(--line-2); }
.rw-icur-n { font-size: 13.5px; }
.rw-up img { width: 100%; height: 100%; object-fit: cover; }
.rw-unimg { position: absolute; top: 12px; right: -7px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; }
.rw-adm-side { order: -1; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 26px; align-items: start; }
.rw-prev { width: 100%; max-width: 230px; margin: 0 auto 14px; padding-top: 16px; }
.rw-wheel.mini .rw-hub { box-shadow: 0 0 0 2px #07050c, 0 0 0 4px rgba(154, 92, 255, .8); }
.rw-sum { display: grid; gap: 6px; font-size: 13px; }
.rw-sum div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); }
.rw-sum span { color: var(--muted); font-weight: 600; }
.rw-sum b { text-align: right; }
.modal.rw-xwide { max-width: 1120px; }
.rw-ed-foot { align-items: center; flex-wrap: wrap; }
.rw-ed-rtp { margin-right: auto; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.rw-rtp { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; color: var(--muted); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); }
.rw-rtp.ok { color: var(--green); border-color: rgba(46, 230, 140, .45); background: rgba(46, 230, 140, .07); }
.rw-rtp.warn { color: var(--gold); border-color: rgba(255, 201, 74, .45); background: rgba(255, 201, 74, .07); }
.rw-rtp.bad { color: #ff8090; border-color: rgba(240, 71, 90, .5); background: rgba(240, 71, 90, .08); }
.rw-rtp-x { font-size: 12px; font-weight: 700; color: var(--muted); }
.rw-rtp-line { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 6px; }
.rw-arow { flex-wrap: wrap; }
.rw-arow .s { white-space: normal; }
.rw-arow .grow { flex: 1 1 220px; }
.rw-thumb { width: 64px; flex-shrink: 0; }
.rw-thumb .rw-cart { animation: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .rw-wl { grid-template-columns: 1fr; gap: 20px; }
  .rw-ctrl { max-width: 560px; width: 100%; margin: 0 auto; }
  .rw-panels { grid-template-columns: 1fr; }
  .rw-adm-side { grid-template-columns: 1fr; gap: 10px; }
  .rw-ctop { grid-template-columns: 1fr; }
  .rw-info { grid-template-columns: 150px minmax(0, 1fr); align-items: center; }
  .rw-info-art { width: 100%; margin: 0; }
}
@media (max-width: 720px) {
  .rw-head { margin: 16px 0 4px; }
  .rw-stage { padding-top: 34px; }
  .rw-ctrl { padding: 18px; }
  .rw-luck-v { font-size: 28px; }
  .rw-panels.two { grid-template-columns: 1fr; }
  .rw-panel { padding: 16px 14px; }
  .rw-odd { grid-template-columns: minmax(0, 1fr) 66px 70px; gap: 6px; padding: 8px 6px; font-size: 13px; }
  .rw-case-grid { grid-template-columns: 1fr; }
  .rw-cc-art { height: 190px; }
  .rw-info { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .rw-info-n { font-size: 18px; }
  .rw-price.lg { font-size: 21px; }
  .rw-price.lg svg.coin { width: 24px; height: 24px; }
  .rw-facts div { padding: 7px 10px; font-size: 12.5px; }
  .rw-open { padding: 14px; gap: 14px; }
  .rw-reel { height: 158px; }
  .rw-track { top: 13px; bottom: 13px; gap: 6px; }
  .rw-cell { flex-basis: 100px; padding: 10px 6px; }
  .rw-cell-ic { font-size: 36px; }
  .rw-cell-ic img { width: 54px; height: 54px; }
  .rw-cell-ic .art { width: 52px; height: 52px; }
  .rw-cell-l { font-size: 11.5px; }
  .rw-badge { font-size: 12.5px; padding: 9px 14px; }
  .rw-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rw-it-l { font-size: 13px; }
  .rw-res { padding: 32px 18px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .rw-cart, .rw-art-spin, .rw-art-rays, .rw-glow, .rw-bulb, .rw-art-coin, .rw-art-crate, .rw-res-rays, .rw-sp, .rw-hl.on, .rw-res-ic, .rw-result, .rw-live::before { animation: none !important; }
  .rw-hl.on { opacity: .26; }
}
