/* Original Rabbit vs Fox layout; scoped to its provider mount. */
#games-hub #rabbit-vs-fox-panel[hidden] { display: none; }
#games-hub #rabbit-vs-fox-panel .rfframe {
    position: relative; display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 18px; overflow: hidden;
    border: 1px solid #4a6ad0; transition: box-shadow .4s ease, border-color .4s ease, background .4s ease;
    background: radial-gradient(70% 36% at 50% 0%, rgba(143, 208, 255, .55), transparent 70%), linear-gradient(180deg, #1d3a9e 0%, #14246e 40%, #0b1546 75%, #070d2a 100%);
  }
#games-hub #rabbit-vs-fox-panel .rfframe.fire { border-color: #c0402a; background: radial-gradient(70% 36% at 50% 0%, rgba(255, 120, 40, .6), transparent 70%), linear-gradient(180deg, #6a1a1a 0%, #3a1430 40%, #1a0e2a 75%, #0a0818 100%); }
#games-hub #rabbit-vs-fox-panel .rfframe.fs { box-shadow: 0 0 34px rgba(255, 210, 90, .45); border-color: #ffd25a; }
#games-hub #rabbit-vs-fox-panel .rf-head { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 62px; }
#games-hub #rabbit-vs-fox-panel .rf-head .lg { width: 40px; height: 44px; flex: none; background: var(--logo) center / contain no-repeat; filter: drop-shadow(0 0 8px #8fd0ff); }
#games-hub #rabbit-vs-fox-panel .rf-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: .92; text-align: center; display: flex; align-items: center; gap: 8px; }
#games-hub #rabbit-vs-fox-panel .rf-title b { font-size: 26px; }
#games-hub #rabbit-vs-fox-panel .rf-title .r { color: #fff; text-shadow: 0 3px 0 #2142fe, 0 0 14px rgba(143, 208, 255, .9); }
#games-hub #rabbit-vs-fox-panel .rf-title .f { color: #ff8a3c; text-shadow: 0 3px 0 #7a1a0a, 0 0 14px rgba(255, 120, 40, .8); }
#games-hub #rabbit-vs-fox-panel .rf-title i { font-style: normal; font-size: 14px; color: #ffd25a; }
#games-hub #rabbit-vs-fox-panel .rf-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 12px; background: rgba(6, 11, 29, .62); }
#games-hub #rabbit-vs-fox-panel .rf-modes button { min-width: 0; padding: 7px 6px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 800; font-size: 12px; line-height: 1.2; }
#games-hub #rabbit-vs-fox-panel .rf-modes button small { display: block; font-weight: 700; font-size: 10px; opacity: .85; }
#games-hub #rabbit-vs-fox-panel .rf-modes button[aria-pressed="true"][data-m="sky"] { background: linear-gradient(180deg, #4b74ff, #2142fe); color: #fff; }
#games-hub #rabbit-vs-fox-panel .rf-modes button[aria-pressed="true"][data-m="fire"] { background: linear-gradient(180deg, #ff7a3c, #c0301e); color: #fff; }
#games-hub #rabbit-vs-fox-panel .rf-modes button:disabled { opacity: .5; cursor: default; }
#games-hub #rabbit-vs-fox-panel .rfgrid { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; padding: 4px; background: linear-gradient(180deg, #2a3a8a, #141e5a); box-shadow: inset 0 0 0 2px #9db0ff, 0 6px 18px rgba(0, 0, 0, .35); }
#games-hub #rabbit-vs-fox-panel .rfframe.fire .rfgrid { background: linear-gradient(180deg, #5a1a14, #2a0e14); box-shadow: inset 0 0 0 2px #ff9a5a, 0 6px 18px rgba(0, 0, 0, .35); }
#games-hub #rabbit-vs-fox-panel .rfcells,
#games-hub #rabbit-vs-fox-panel .rfover { position: absolute; inset: 4px; }
#games-hub #rabbit-vs-fox-panel .rfover { z-index: 2; pointer-events: none; }
#games-hub #rabbit-vs-fox-panel .rfbg { position: absolute; inset: 4px; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); gap: 3px; }
#games-hub #rabbit-vs-fox-panel .rfbg i { border-radius: 7px; background: linear-gradient(180deg, #16246a, #0c1444); }
#games-hub #rabbit-vs-fox-panel .rfframe.fire .rfbg i { background: linear-gradient(180deg, #3a1420, #1a0a18); }
#games-hub #rabbit-vs-fox-panel .rfc { position: absolute; left: 0; top: 0; width: 20%; height: 20%; z-index: 1; transition: transform var(--ft, 420ms) cubic-bezier(.3, .9, .35, 1.08); will-change: transform; }
#games-hub #rabbit-vs-fox-panel .rfs { position: relative; width: 100%; height: 100%; padding: 8%; display: grid; place-items: center; }
#games-hub #rabbit-vs-fox-panel .rfs svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .45)); }
#games-hub #rabbit-vs-fox-panel .rfc.win .rfs { animation: br-slot-zglow .45s ease-in-out infinite alternate; z-index: 2; }
#games-hub #rabbit-vs-fox-panel .rfcells.hasWin .rfc:not(.win) { opacity: .35; }
#games-hub #rabbit-vs-fox-panel .rfreel { position: absolute; top: 0; height: 100%; width: 20%; padding: 3px; }
#games-hub #rabbit-vs-fox-panel .rfreel > div { position: relative; width: 100%; height: 100%; border-radius: 9px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    background: linear-gradient(180deg, #8fd0ff, #2f5cff 50%, #14246e); box-shadow: inset 0 0 0 2px #fff3c4, 0 0 18px rgba(143, 208, 255, .7); animation: br-slot-wwreel .45s cubic-bezier(.3, 1.4, .5, 1); }
#games-hub #rabbit-vs-fox-panel .rfframe.fire .rfreel > div { background: linear-gradient(180deg, #ffb070, #d0401e 50%, #4a0e0e); box-shadow: inset 0 0 0 2px #ffd25a, 0 0 18px rgba(255, 110, 40, .7); }
#games-hub #rabbit-vs-fox-panel .rfreel svg { width: 86%; height: auto; }
#games-hub #rabbit-vs-fox-panel .rfreel b { font-family: var(--font-display); font-weight: 800; font-size: calc(var(--fc, 60px) * .42); color: #ffd25a; text-shadow: 0 2px 0 #1a0a30, 0 0 12px rgba(255, 190, 60, .9); line-height: 1; }
#games-hub #rabbit-vs-fox-panel .rfreel small { font-family: var(--font-display); font-weight: 800; font-size: calc(var(--fc, 60px) * .2); color: #fff; letter-spacing: .1em; }
#games-hub #rabbit-vs-fox-panel .rfreel.st > div { outline: 3px solid #ffd25a; outline-offset: -3px; }
#games-hub #rabbit-vs-fox-panel .rf-pt { display: grid; grid-template-columns: 44px repeat(3, 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 #rabbit-vs-fox-panel .rf-pt .h { color: var(--muted); font-size: 11px; }
#games-hub #rabbit-vs-fox-panel .rf-pt .s { height: 40px; }
#games-hub #rabbit-vs-fox-panel .rf-pt .s .rfs { padding: 2px; }

@media (prefers-reduced-motion: reduce) {
#games-hub #rabbit-vs-fox-panel .rfc { transition: none; }
#games-hub #rabbit-vs-fox-panel .rfc.win .rfs,
#games-hub #rabbit-vs-fox-panel .rfreel > div { animation: none; }
 
}


/* Original-inspired stage. Rendering geometry and committed-result transforms stay in the native rules above. */
#games-hub #rabbit-vs-fox-panel .rfframe.br-slot-stage { display:flex; flex-direction:column; gap:0; padding:0; border:1px solid #b6c8dd; border-radius:12px; background:#24314e; overflow:visible; box-shadow:0 14px 50px #0004; }
#games-hub #rabbit-vs-fox-panel .br-slot-playfield { isolation:isolate; position:relative; display:flex; flex-direction:column; align-items:center; gap:12px; width:100%; min-width:0; min-height:760px; padding:24px clamp(16px,4vw,52px) 28px; color:#e9faff; background:#24314e url('/providers/bluerabbit/games/slots/rabbit-vs-fox/assets/scene-base.svg') center/cover no-repeat; border-radius:11px 11px 0 0; }
#games-hub #rabbit-vs-fox-panel .rfframe.bonus .br-slot-playfield, #games-hub #rabbit-vs-fox-panel .rfframe.fs .br-slot-playfield { background-image:url('/providers/bluerabbit/games/slots/rabbit-vs-fox/assets/scene-bonus.svg'); }
#games-hub #rabbit-vs-fox-panel .rf-head { position:relative; z-index:2; width:100%; min-height:60px; margin:0; justify-content:center; }
#games-hub #rabbit-vs-fox-panel .rf-title { color:#e9faff; font-family:Georgia,serif; font-weight:900; text-transform:uppercase; letter-spacing:.035em; font-size:clamp(22px,3.2vw,36px); text-align:center; text-shadow:0 3px 0 #291423,0 7px 20px #0009; }
#games-hub #rabbit-vs-fox-panel .rf-head > .lg, #games-hub #rabbit-vs-fox-panel .rf-head > svg { display:none; }
#games-hub #rabbit-vs-fox-panel .z-banner { position:relative; z-index:2; max-width:680px; margin:0; min-height:18px; color:#e9faff; font-size:12px; line-height:1.5; text-shadow:0 2px 3px #000; background:transparent; border:0; padding:0; text-align:center; }
#games-hub #rabbit-vs-fox-panel .br-slot-context { position:relative; z-index:2; width:min(100%,590px); display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:10px; min-width:0; }
#games-hub #rabbit-vs-fox-panel .br-slot-context .z-hud { display:flex; justify-content:center; flex-wrap:wrap; gap:8px 24px; width:100%; }
#games-hub #rabbit-vs-fox-panel .br-slot-context .z-box { display:flex; flex-direction:row; align-items:baseline; justify-content:center; gap:8px; padding:3px 8px; background:#1a112488; border:0; border-radius:4px; color:#e9faff; }
#games-hub #rabbit-vs-fox-panel .br-slot-context .z-box small { font-size:10px; letter-spacing:.05em; color:inherit; }
#games-hub #rabbit-vs-fox-panel .br-slot-context .z-box b { font-size:13px; color:inherit; }
#games-hub #rabbit-vs-fox-panel .rfgrid { position:relative; z-index:1; width:min(100%,590px); max-width:none; flex:none; align-self:center; margin:auto 0; border-radius:5px; box-shadow:0 0 0 5px #b6c8dd,0 0 0 8px #392231,0 12px 30px #0007; }
#games-hub #rabbit-vs-fox-panel .br-slot-mascot { pointer-events:none; user-select:none; position:absolute; z-index:0; right:1%; bottom:20px; width:clamp(130px,18%,230px); max-height:70%; height:auto; object-fit:contain; object-position:bottom; filter:drop-shadow(0 8px 10px #0006); }
#games-hub #rabbit-vs-fox-panel .br-slot-actions { position:relative; z-index:3; min-width:0; width:100%; padding:12px 18px; background:linear-gradient(#181a25ee,#11131de8); border-top:1px solid #b6c8dd; border-radius:0 0 11px 11px; }
#games-hub #rabbit-vs-fox-panel .br-slot-actions .gbar { min-width:0; }
#games-hub #rabbit-vs-fox-panel .br-slot-actions .icon-btn, #games-hub #rabbit-vs-fox-panel .br-slot-actions .fair { min-width:44px; min-height:44px; }
#games-hub #rabbit-vs-fox-panel input { font-size:16px; }
@media (max-width:1000px) { #games-hub #rabbit-vs-fox-panel .br-slot-mascot { right:0; width:16%; opacity:.65; } }
@media (max-width:600px) {
 #games-hub #rabbit-vs-fox-panel .br-slot-playfield { min-height:0; padding:18px 13px 24px; gap:12px; background-position:center; }
 #games-hub #rabbit-vs-fox-panel .rf-head { min-height:45px; }
 #games-hub #rabbit-vs-fox-panel .rf-title { font-size:25px; }
 #games-hub #rabbit-vs-fox-panel .z-banner { font-size:11px; padding:0 4px; }
 #games-hub #rabbit-vs-fox-panel .rfgrid { margin:14px 0 10px; box-shadow:0 0 0 3px #b6c8dd,0 0 0 5px #392231,0 8px 20px #0006; }
 #games-hub #rabbit-vs-fox-panel .br-slot-mascot { display:none; }
 #games-hub #rabbit-vs-fox-panel .br-slot-actions { padding:12px; }
 #games-hub #rabbit-vs-fox-panel .br-slot-context .z-hud { gap:5px; }
 #games-hub #rabbit-vs-fox-panel .br-slot-context .z-box { flex:1 1 120px; gap:5px; padding:4px; }
 #games-hub #rabbit-vs-fox-panel .br-slot-context .z-box b { font-size:12px; }
}
#games-hub #rabbit-vs-fox-panel .rfframe.fire .br-slot-playfield { background-image:url('/providers/bluerabbit/games/slots/rabbit-vs-fox/assets/scene-fire.svg'); }
#games-hub #rabbit-vs-fox-panel .rfframe.fire.fs .br-slot-playfield { background-image:url('/providers/bluerabbit/games/slots/rabbit-vs-fox/assets/scene-fire-bonus.svg'); }
#games-hub #rabbit-vs-fox-panel .br-slot-mascot-fire { display:none; }
#games-hub #rabbit-vs-fox-panel .rfframe.fire .br-slot-mascot:not(.br-slot-mascot-fire) { display:none; }
#games-hub #rabbit-vs-fox-panel .rfframe.fire .br-slot-mascot-fire { display:block; }
#games-hub #rabbit-vs-fox-panel .rf-title b { font-family:Georgia,serif; font-size:clamp(24px,3vw,36px); }
#games-hub #rabbit-vs-fox-panel .rf-title i { font-family:Georgia,serif; font-size:19px; }
#games-hub #rabbit-vs-fox-panel .rf-modes { display:flex; width:100%; justify-content:center; gap:8px; padding:0; background:transparent; }
#games-hub #rabbit-vs-fox-panel .rf-modes button { flex:0 1 170px; min-height:44px; padding:6px 10px; border:1px solid #cbd9ed66; background:#1c214b99; color:#f3efff; border-radius:5px; }
#games-hub #rabbit-vs-fox-panel .rfbg { gap:0; }
#games-hub #rabbit-vs-fox-panel .rfbg i { border-radius:0; border-right:1px solid #b6c8dd30; background:linear-gradient(90deg,#192253,#16204a); }
#games-hub #rabbit-vs-fox-panel .rfframe.fire .rfbg i { background:linear-gradient(90deg,#36152b,#251427); }
#games-hub #rabbit-vs-fox-panel .rfreel > div { border-radius:2px; }
@media (max-width:600px) { #games-hub #rabbit-vs-fox-panel .rfframe.fire .br-slot-mascot-fire { display:none; } #games-hub #rabbit-vs-fox-panel .rf-modes button { flex:1 1 0; } }

/* Focused current-slot cues. Historical rendering remains unchanged. */
#games-hub .br-slot[data-slot-id="rabbit-vs-fox"][data-rules="2"] { --br-slot-accent:#b7d8ff; }
#games-hub .br-slot[data-slot-id="rabbit-vs-fox"][data-rules="2"] .br-slot-context { row-gap:8px; }
#games-hub .br-slot[data-slot-id="rabbit-vs-fox"][data-rules="2"] .br-slot-mechanic { flex:1 0 100%; margin:0; color:#b7d8ff; }
#games-hub .br-slot[data-slot-id="rabbit-vs-fox"][data-rules="2"] .rfframe:not(.bonus) .z-hud { display:none; }
#games-hub #rabbit-vs-fox-panel[data-rules="2"] .rfframe:not(.bonus) .z-hud { display:none; }
@media(max-width:600px) {
 #games-hub #rabbit-vs-fox-panel[data-rules="2"] .br-slot-context .z-box { flex-direction:column;align-items:flex-start; }
 #games-hub #rabbit-vs-fox-panel[data-rules="2"] .br-slot-context .z-box b { white-space:nowrap;overflow-wrap:normal; }
}
#games-hub .br-slot[data-slot-id="rabbit-vs-fox"][data-rules="2"] .rf-modes { width:min(100%,420px); }
#games-hub .br-slot[data-slot-id="rabbit-vs-fox"][data-rules="2"] .rf-modes button { min-height:48px; font-size:13px; transition:background .18s ease,box-shadow .18s ease; }
#games-hub .br-slot[data-slot-id="rabbit-vs-fox"][data-rules="2"] .rf-modes button[aria-pressed="true"] { box-shadow:0 0 0 1px #f2eaff,0 4px 14px #02061655; }
#games-hub .br-slot[data-slot-id="rabbit-vs-fox"][data-rules="2"][data-land="fire"] .br-slot-playfield { background-image:url('/providers/bluerabbit/games/slots/rabbit-vs-fox/assets/scene-fire.svg'); }
#games-hub .br-slot[data-slot-id="rabbit-vs-fox"][data-rules="2"][data-land="fire"] .rfframe.bonus .br-slot-playfield { background-image:url('/providers/bluerabbit/games/slots/rabbit-vs-fox/assets/scene-fire-bonus.svg'); }
#games-hub .br-slot[data-slot-id="rabbit-vs-fox"][data-rules="2"][data-land="fire"] .rfbg i { background:linear-gradient(90deg,#36152b,#251427); }
#games-hub .br-slot[data-slot-id="rabbit-vs-fox"][data-rules="2"][data-land="fire"] .br-slot-mascot:not(.br-slot-mascot-fire) { display:none; }
#games-hub .br-slot[data-slot-id="rabbit-vs-fox"][data-rules="2"][data-land="fire"] .br-slot-mascot-fire { display:block; }
@media(max-width:600px) { #games-hub .br-slot[data-slot-id="rabbit-vs-fox"][data-rules="2"][data-land="fire"] .br-slot-mascot-fire { display:none; } }
