/* Original Le Rabbit layout; scoped to its provider mount. */
#games-hub #le-rabbit-panel[hidden] { display: none; }
#games-hub #le-rabbit-panel .lrframe {
    position: relative; display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 18px; overflow: hidden;
    background: radial-gradient(120% 60% at 50% 0%, #1f3aa8 0%, #13216a 40%, #0b1440 75%, #070d2a 100%);
    border: 1px solid #3b4aa0; transition: box-shadow .4s ease, border-color .4s ease;
  }
#games-hub #le-rabbit-panel .lrframe.fs { border-color: #ffd25a; box-shadow: 0 0 30px rgba(255, 210, 90, .35); background: radial-gradient(120% 60% at 50% 0%, #4a2fa0 0%, #22207a 45%, #0b1440 80%, #070d2a 100%); }
#games-hub #le-rabbit-panel .lrframe.fs2 { background: radial-gradient(120% 60% at 50% 0%, #9a6614 0%, #4f305e 45%, #14164a 80%, #070d2a 100%); box-shadow: 0 0 42px rgba(255, 200, 60, .5); }
#games-hub #le-rabbit-panel .lr-head { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 62px; }
#games-hub #le-rabbit-panel .lr-head .lg { width: 44px; height: 48px; flex: none; background: var(--logo) center / contain no-repeat; filter: drop-shadow(0 0 8px #8fb0ff); }
#games-hub #le-rabbit-panel .lr-head svg { width: 50px; height: 40px; flex: none; filter: drop-shadow(0 0 6px rgba(255, 240, 160, .6)); }
#games-hub #le-rabbit-panel .lr-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: .9; text-align: center; }
#games-hub #le-rabbit-panel .lr-title i { display: block; font-style: normal; font-size: 13px; letter-spacing: .34em; color: #ffd25a; margin-bottom: 2px; }
#games-hub #le-rabbit-panel .lr-title b { display: block; font-size: 30px; letter-spacing: -.01em; color: #fff; text-shadow: 0 3px 0 #11258f, 0 0 18px rgba(120, 150, 255, .8); }
#games-hub #le-rabbit-panel .lrgrid { position: relative; aspect-ratio: 6 / 5; overflow: hidden; border-radius: 12px; background: linear-gradient(180deg, #0e1a52, #081033); box-shadow: inset 0 0 0 2px rgba(255, 210, 90, .55); }
#games-hub #le-rabbit-panel .lrgold,
#games-hub #le-rabbit-panel .lrcells,
#games-hub #le-rabbit-panel .lrtok { position: absolute; inset: 0; }
#games-hub #le-rabbit-panel .lrtok { z-index: 3; pointer-events: none; }
#games-hub #le-rabbit-panel .lrg { position: absolute; left: 0; top: 0; width: 16.6667%; height: 20%; }
#games-hub #le-rabbit-panel .lrg::before { content: ""; position: absolute; inset: 3px; border-radius: 10px; background: rgba(255, 255, 255, .035); transition: background .35s ease, box-shadow .35s ease; }
#games-hub #le-rabbit-panel .lrg.on::before { background: linear-gradient(160deg, rgba(255, 214, 90, .55), rgba(196, 130, 20, .42)); box-shadow: inset 0 0 0 2px rgba(255, 226, 140, .85), 0 0 12px rgba(255, 200, 60, .35); }
#games-hub #le-rabbit-panel .lrg.new::before { animation: br-slot-lrgold .7s ease-out; }
@keyframes br-slot-lrgold {
 0% { box-shadow: inset 0 0 0 2px #fff, 0 0 26px #ffe28a; } 100% { box-shadow: inset 0 0 0 2px rgba(255, 226, 140, .85), 0 0 12px rgba(255, 200, 60, .35); } 
}
#games-hub #le-rabbit-panel .lrc { position: absolute; left: 0; top: 0; z-index: 1; width: 16.6667%; height: 20%; transition: transform var(--lt, 430ms) cubic-bezier(.3, .9, .35, 1.08); will-change: transform; }
#games-hub #le-rabbit-panel .lrs { position: relative; width: 100%; height: 100%; padding: 9%; display: grid; place-items: center; }
#games-hub #le-rabbit-panel .lrs svg { position: relative; width: 100%; height: 100%; display: block; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .45)); }
#games-hub #le-rabbit-panel .lrs.w::before { content: ""; position: absolute; inset: 8%; border-radius: 12px; background: linear-gradient(160deg, #6f88ff, #2142fe); box-shadow: 0 0 10px rgba(91, 120, 255, .6), inset 0 -3px 0 rgba(0, 0, 0, .25); }
#games-hub #le-rabbit-panel .lrs.w .lg { position: relative; width: 58%; height: 58%; margin-bottom: 14%; background: var(--logo) center / contain no-repeat; }
#games-hub #le-rabbit-panel .lrs.w small { position: absolute; bottom: 13%; left: 0; right: 0; text-align: center; font-size: calc(var(--lc, 60px) * .15); font-weight: 800; letter-spacing: .12em; color: #fff; }
#games-hub #le-rabbit-panel .lrs.sc b { position: absolute; right: 6%; bottom: 8%; padding: 1px 5px; border-radius: 6px; background: #ff4d6d; color: #fff; font-family: var(--font-display); font-size: calc(var(--lc, 60px) * .17); font-weight: 800; transform: rotate(-8deg); box-shadow: 0 2px 0 rgba(0, 0, 0, .3); }
#games-hub #le-rabbit-panel .lrc.win .lrs { animation: br-slot-zglow .45s ease-in-out infinite alternate; z-index: 2; }
#games-hub #le-rabbit-panel .lrc.pop .lrs { animation: br-slot-zpop .28s ease-in forwards; }
#games-hub #le-rabbit-panel .lrc.rbin .lrs { animation: br-slot-lrrb .8s ease-in-out infinite alternate; }
@keyframes br-slot-lrrb {
 from { transform: scale(1); filter: brightness(1); } to { transform: scale(1.14); filter: brightness(1.3) drop-shadow(0 0 10px #fff3a0); } 
}
#games-hub #le-rabbit-panel .lrt { position: absolute; left: 0; top: 0; width: 16.6667%; height: 20%; display: block; transition: transform .5s cubic-bezier(.5, 0, .3, 1), opacity .5s ease; }
#games-hub #le-rabbit-panel .lrt > div { position: absolute; inset: 8%; display: grid; place-items: center; animation: br-slot-lrflip .4s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes br-slot-lrflip {
 from { transform: scale(.2) rotateY(90deg); opacity: 0; } to { transform: none; opacity: 1; } 
}
#games-hub #le-rabbit-panel .lrt.bump > div { animation: br-slot-pop .35s cubic-bezier(.3, 1.5, .5, 1); }
#games-hub #le-rabbit-panel .lrt.fly { opacity: .15; }
#games-hub #le-rabbit-panel .lrt.hot > div { animation: br-slot-zglow .4s ease-in-out infinite alternate; }
#games-hub #le-rabbit-panel .lrt .cn { border-radius: 50%; font-family: var(--font-display); font-weight: 800; font-size: calc(var(--lc, 60px) * .28); letter-spacing: -.03em; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
#games-hub #le-rabbit-panel .lrt .cn.bronze { background: radial-gradient(circle at 35% 28%, #ffd2a8, #f07a2e 55%, #9a3e0c); box-shadow: 0 0 10px rgba(240, 122, 46, .6), inset 0 -4px 0 rgba(0, 0, 0, .2); }
#games-hub #le-rabbit-panel .lrt .cn.silver { background: radial-gradient(circle at 35% 28%, #fff, #a8bbd8 55%, #56698c); box-shadow: 0 0 10px rgba(190, 210, 255, .7), inset 0 -4px 0 rgba(0, 0, 0, .2); color: #18264f; text-shadow: none; }
#games-hub #le-rabbit-panel .lrt .cn.gold { background: radial-gradient(circle at 35% 28%, #fff6c4, #f5b800 55%, #a86a00); box-shadow: 0 0 16px rgba(255, 200, 40, .9), inset 0 -4px 0 rgba(0, 0, 0, .2); color: #4a2a00; text-shadow: none; }
#games-hub #le-rabbit-panel .lrt .cv svg,
#games-hub #le-rabbit-panel .lrt .pt svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
#games-hub #le-rabbit-panel .lrt .cv b,
#games-hub #le-rabbit-panel .lrt .pt b { position: absolute; left: 50%; bottom: -4%; transform: translateX(-50%); padding: 1px 6px; border-radius: 8px; font-family: var(--font-display); font-weight: 800; font-size: calc(var(--lc, 60px) * .2); white-space: nowrap; font-variant-numeric: tabular-nums; }
#games-hub #le-rabbit-panel .lrt .cv b { background: #0f6b3a; color: #d6ffe6; }
#games-hub #le-rabbit-panel .lrt .pt b { background: #ffd25a; color: #3a2500; }
#games-hub #le-rabbit-panel .lr-mode { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 120, 40, .16); border: 1px solid rgba(255, 140, 60, .55); font-size: 13px; font-weight: 700; color: #ffd2b0; }
#games-hub #le-rabbit-panel .lr-mode[hidden] { display: none; }
#games-hub #le-rabbit-panel .lr-mode button { flex: none; border: 0; border-radius: 8px; padding: 7px 10px; background: #ff7a2b; color: #2a1000; font-weight: 800; font-size: 12px; }
#games-hub #le-rabbit-panel .lr-mode button:disabled { opacity: .5; }
#games-hub #le-rabbit-panel .sl-spin.hot { background: radial-gradient(circle at 35% 30%, #ffb27a, #ff6a1a 70%); box-shadow: 0 6px 0 #a33d00, 0 12px 30px rgba(255, 106, 26, .5); }
#games-hub #le-rabbit-panel .lr-buys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#games-hub #le-rabbit-panel .lr-buy { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 12px 10px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); text-align: center; }
#games-hub #le-rabbit-panel .lr-buy.on { border-color: #ff7a2b; box-shadow: 0 0 0 1px #ff7a2b; }
#games-hub #le-rabbit-panel .lr-buy .ic { height: 50px; display: flex; align-items: center; justify-content: center; gap: 2px; }
#games-hub #le-rabbit-panel .lr-buy .ic svg { height: 46px; width: auto; }
#games-hub #le-rabbit-panel .lr-buy h4 { margin: 0; font-family: var(--font-display); font-size: 12px; line-height: 1.25; }
#games-hub #le-rabbit-panel .lr-buy p { flex: 1; margin: 0; font-size: 12px; color: var(--muted); line-height: 1.35; }
#games-hub #le-rabbit-panel .lr-buy .pr { font-weight: 800; font-variant-numeric: tabular-nums; }
#games-hub #le-rabbit-panel .lr-buy .pr small { display: block; color: var(--muted); font-weight: 700; font-size: 11px; }
#games-hub #le-rabbit-panel .lr-buy button { height: 40px; border: 0; border-radius: 10px; font-weight: 800; }
#games-hub #le-rabbit-panel .lr-buy button.act { background: #ff7a2b; color: #2a1000; }
#games-hub #le-rabbit-panel .lr-buy button.act.on { background: #212c58; color: var(--fg); }
#games-hub #le-rabbit-panel .lr-buy button.buy { background: #35d07f; color: #05261a; }
#games-hub #le-rabbit-panel .lr-buy button:disabled { opacity: .45; cursor: default; }
#games-hub #le-rabbit-panel .lr-pt { display: grid; grid-template-columns: 44px repeat(5, minmax(0, 1fr)); gap: 4px 6px; align-items: center; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: center; }
#games-hub #le-rabbit-panel .lr-pt .h { color: var(--muted); font-size: 11px; }
#games-hub #le-rabbit-panel .lr-pt .s { height: 40px; }
#games-hub #le-rabbit-panel .lr-pt .s .lrs { padding: 2px; --lc: 40px; }

@media (prefers-reduced-motion: reduce) {
#games-hub #le-rabbit-panel .lrc,
#games-hub #le-rabbit-panel .lrt { transition: none; }
#games-hub #le-rabbit-panel .lrc.win .lrs,
#games-hub #le-rabbit-panel .lrc.rbin .lrs,
#games-hub #le-rabbit-panel .lrt > div,
#games-hub #le-rabbit-panel .lrt.hot > div,
#games-hub #le-rabbit-panel .lrg.new::before { animation: none; }
#games-hub #le-rabbit-panel .lrc.pop .lrs { animation: none; opacity: 0; }
 
}


/* Scene-led original-inspired presentation. Native grid coordinates and replay hooks stay intact. */
#games-hub #le-rabbit-panel .lrframe {
  --slot-accent:#e4c983; --slot-edge:#8e927d; --slot-caption:#f4eed5; --slot-surface:#606a58;
  display:flex; flex-direction:column; gap:0; padding:0; overflow:visible; border:1px solid #8e927d; border-radius:18px;
  color:#fff8e7; background:#28372f; box-shadow:0 12px 34px #0004; isolation:isolate;
}
#games-hub #le-rabbit-panel .lrframe.fs, #games-hub #le-rabbit-panel .lrframe.fs2, #games-hub #le-rabbit-panel .lrframe.rain { background:#28372f; border-color:var(--slot-accent); box-shadow:0 12px 34px #0004,0 0 22px color-mix(in srgb,var(--slot-accent) 18%,transparent); }
#games-hub #le-rabbit-panel .br-slot-playfield {
  position:relative; display:grid; grid-template-columns:minmax(108px,.22fr) minmax(0,1fr) minmax(110px,.25fr);
  grid-template-areas:"heading heading heading" ". banner ." "context board mascot";
  align-items:center; column-gap:14px; row-gap:8px; min-width:0; padding:18px 18px 24px;
  border-radius:17px 17px 0 0; background:#5d5074 url('./assets/scene-base.svg') center/cover no-repeat; overflow:hidden;
}
#games-hub #le-rabbit-panel .lrframe.fs .br-slot-playfield, #games-hub #le-rabbit-panel .lrframe.fs2 .br-slot-playfield { background-image:url('./assets/scene-bonus.svg'); }
#games-hub #le-rabbit-panel .br-slot-playfield::after { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; box-shadow:inset 0 -25px 28px -24px #000b; z-index:3; }
#games-hub #le-rabbit-panel .lr-head { grid-area:heading; justify-self:center; width:min(100%,480px); min-height:64px; margin:0; z-index:1; }
#games-hub #le-rabbit-panel .lr-head .lg, #games-hub #le-rabbit-panel .lr-head .lr-god, #games-hub #le-rabbit-panel .lr-head > svg:not(.rh-roof), #games-hub #le-rabbit-panel .rh-lg { display:none; }
#games-hub #le-rabbit-panel .z-banner { grid-area:banner; align-self:stretch; z-index:2; display:grid; place-items:center; width:100%; min-height:32px; margin:0; padding:5px 12px; border:1px solid var(--slot-edge); border-radius:4px; color:var(--slot-caption); background:#3e4740; text-shadow:0 1px 2px #0009; font-size:11px; line-height:1.4; letter-spacing:.035em; }
#games-hub #le-rabbit-panel .br-slot-context { grid-area:context; align-self:center; display:grid; gap:10px; min-width:0; z-index:2; }
#games-hub #le-rabbit-panel .br-slot-context .z-hud { grid-template-columns:minmax(0,1fr); gap:10px; }
#games-hub #le-rabbit-panel .br-slot-context .z-box { justify-content:center; align-items:center; min-height:83px; padding:10px 7px; border:2px solid var(--slot-edge); border-radius:7px; color:#fff7e4; background:linear-gradient(180deg,var(--slot-surface),#3e4740); box-shadow:inset 0 0 0 1px #fff2,0 3px 8px #0003; text-align:center; }
#games-hub #le-rabbit-panel .br-slot-context .z-box small { color:var(--slot-caption); font-size:10px; line-height:1.4; letter-spacing:.035em; }
#games-hub #le-rabbit-panel .br-slot-context .z-box b { color:var(--slot-accent); font-size:clamp(16px,1.7vw,25px); line-height:1.2; overflow-wrap:anywhere; }
#games-hub #le-rabbit-panel .lrgrid { grid-area:board; width:100%; min-width:0; margin:0; z-index:2; border:4px solid var(--slot-edge); border-radius:7px; background:#63695c; box-shadow:inset 0 0 22px #0004,0 0 0 1px #fff7,0 5px 14px #0005; }
#games-hub #le-rabbit-panel .br-slot-mascot { grid-area:mascot; align-self:end; justify-self:center; display:block; width:100%; height:auto; max-height:450px; min-width:0; margin:0; z-index:1; object-fit:contain; object-position:center bottom; filter:drop-shadow(0 6px 4px #0004); pointer-events:none; user-select:none; }
#games-hub #le-rabbit-panel .br-slot-actions { position:relative; z-index:4; min-width:0; padding:12px 18px 14px; border-top:1px solid var(--slot-edge); border-radius:0 0 17px 17px; background:linear-gradient(180deg,#28372f,#161b22); }
#games-hub #le-rabbit-panel .br-slot-actions .z-winbar { margin:0; min-width:0; }
#games-hub #le-rabbit-panel .br-slot-actions .z-winbar small { color:var(--slot-caption); }
#games-hub #le-rabbit-panel .br-slot-actions .z-winbar b { color:var(--slot-accent); font-size:clamp(20px,2.3vw,29px); overflow-wrap:anywhere; text-shadow:0 1px 5px #0008; }
#games-hub #le-rabbit-panel .br-slot-actions .z-stats { min-width:0; }
#games-hub #le-rabbit-panel .br-slot-actions button { min-height:44px; }
#games-hub #le-rabbit-panel .br-slot-actions input { font-size:16px; }
#games-hub #le-rabbit-panel .br-slot-context .lr-mode { color:#fff0c4; background:#664126; border-color:#bc9768; flex-wrap:wrap; text-align:center; justify-content:center; }
@media (max-width:760px) {
  #games-hub #le-rabbit-panel .br-slot-playfield { grid-template-columns:minmax(0,1fr); grid-template-areas:"heading" "context" "banner" "board"; padding:12px 12px 18px; column-gap:0; row-gap:9px; }
  #games-hub #le-rabbit-panel .lr-head { min-height:64px; max-width:100%; padding-inline:42px; }
  #games-hub #le-rabbit-panel .br-slot-context { align-self:auto; width:100%; gap:7px; }
  #games-hub #le-rabbit-panel .br-slot-context .z-hud { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
  #games-hub #le-rabbit-panel .br-slot-context .z-box { min-height:54px; padding:6px; border-width:1px; }
  #games-hub #le-rabbit-panel .br-slot-context .z-box small { font-size:9px; }
  #games-hub #le-rabbit-panel .br-slot-context .z-box b { font-size:16px; }
  #games-hub #le-rabbit-panel .br-slot-mascot { position:absolute; grid-area:auto; right:9px; top:7px; width:51px; height:83px; max-height:none; object-fit:cover; object-position:top; clip-path:inset(0 0 18px 0); }
  #games-hub #le-rabbit-panel .br-slot-actions { padding:12px; }
  #games-hub #le-rabbit-panel .z-banner { min-height:32px; font-size:10px; padding:5px 7px; }
  #games-hub #le-rabbit-panel .lrgrid { border-width:3px; }
}
@media (max-width:380px) {
  #games-hub #le-rabbit-panel .br-slot-playfield { padding:10px 8px 14px; }
  #games-hub #le-rabbit-panel .br-slot-context .z-box small { font-size:9px; letter-spacing:0; }
  #games-hub #le-rabbit-panel .br-slot-context .z-box b { font-size:14px; }
  #games-hub #le-rabbit-panel .br-slot-actions { padding:10px 8px; }
}

#games-hub #le-rabbit-panel .lr-head { justify-content:center; }
#games-hub #le-rabbit-panel .lr-title i { color:#f5edd4; font-size:15px; letter-spacing:.12em; }
#games-hub #le-rabbit-panel .lr-title b { font-family:Georgia,serif; font-size:37px; letter-spacing:-.025em; color:#fff2d5; transform:rotate(-3deg); text-shadow:2px 3px #455244; }
#games-hub #le-rabbit-panel .lrgrid { background:linear-gradient(180deg,#6d7165,#555d51); }
#games-hub #le-rabbit-panel .lrframe.fs .lrgrid { background:linear-gradient(180deg,#6f6370,#4f5358); }
#games-hub #le-rabbit-panel .lrframe.fs2 .lrgrid { background:linear-gradient(180deg,#8e7850,#5f614e); }
#games-hub #le-rabbit-panel .lrg::before { border:1px solid #e4ddba33; background:#fff1; border-radius:4px; }
#games-hub #le-rabbit-panel .lrg.on::before { border-color:#fbe7ab; background:linear-gradient(145deg,#d3b860bb,#92732e99); }
#games-hub #le-rabbit-panel .lrs.w::before { background:linear-gradient(160deg,#a5b774,#476941); }
#games-hub #le-rabbit-panel .lr-buy { border-color:#71876e; }

/* A short visual cue keeps this title's mechanic visible beside the primary controls. */
#games-hub #le-rabbit-panel[data-rules="1"] .br-slot-mechanic { display:none; }
#games-hub #le-rabbit-panel[data-rules="2"] .br-slot-playfield { grid-template-areas:"heading heading heading" ". banner ." "context board mascot" "hint hint hint"; }
#games-hub #le-rabbit-panel[data-rules="2"] .br-slot-mechanic { grid-area:hint; position:relative; z-index:2; display:flex; align-items:center; justify-content:center; gap:12px; min-width:0; margin:6px 0 0; padding:9px 12px; border:1px solid #f1d18445; border-radius:9px; background:#242c28eb; color:#fff6df; }
#games-hub #le-rabbit-panel[data-rules="2"] .br-slot-mechanic-art { display:flex; align-items:center; gap:5px; flex:none; color:#f1d184; }
#games-hub #le-rabbit-panel[data-rules="2"] .br-slot-mechanic-art b { display:grid; place-items:center; width:29px; height:29px; border:1px solid #f1d18488; border-radius:7px; background:#ffffff0a; font:800 13px/1 Arial,sans-serif; }
#games-hub #le-rabbit-panel[data-rules="2"] .br-slot-mechanic-art i { font-style:normal; opacity:.65; }
#games-hub #le-rabbit-panel[data-rules="2"] .br-slot-mechanic p { margin:0; font-size:12px; line-height:1.45; text-wrap:pretty; }
#games-hub #le-rabbit-panel[data-rules="2"] .br-slot-actions .sl-pill.buy { background:transparent; color:#f1d184; box-shadow:inset 0 0 0 1px #f1d18477; }
#games-hub #le-rabbit-panel[data-rules="2"] .br-slot-actions .sl-pill.buy:not(:disabled):hover { background:#f1d1841f; }
@media(max-width:760px) {
 #games-hub #le-rabbit-panel[data-rules="2"] .br-slot-playfield { grid-template-areas:"heading" "context" "banner" "board" "hint"; }
 #games-hub #le-rabbit-panel[data-rules="2"] .br-slot-mechanic { gap:8px; padding:8px 9px; justify-content:flex-start; }
 #games-hub #le-rabbit-panel[data-rules="2"] .br-slot-mechanic p { font-size:11px; }
 #games-hub #le-rabbit-panel[data-rules="2"] .br-slot-mechanic-art { gap:3px; }
 #games-hub #le-rabbit-panel[data-rules="2"] .br-slot-mechanic-art b { width:24px; height:27px; font-size:11px; }
}
