/* =====================================================================================================
   BATTLE CASINO: the whole Fruit Wagers section. Crimson and navy corners, gold trim, chips, cards, spotlights.
   Red corner = the player who puts up; blue corner = the player who wants. Gold is the house.
   Loads after wagers-casino.css. No hover movement or blur; text stays at .76rem or larger.
   ===================================================================================================== */
html[data-theme]:not([data-theme="white"]):has(body.page-wagers) {
  --bg: #09040f; --bg-2: #120720; --panel: rgba(22, 10, 38, .97); --panel-solid: #160a26; --plate: #1a0c2e; --plate-2: #27123f; --fade: #05020a;
  --red: #5b1f9e; --red-rgb: 91, 31, 158; --red-hot: #b04dff; --blood: #2c0f4d; --blood-rgb: 44, 15, 77; --rim: #a87a22;
  --pop-bg: #120720; --row-bg: rgba(20, 8, 34, .92); --chip-bg: rgba(44, 18, 76, .88); --danger-fill: #1a0c2e;
}
body.page-wagers .logo-img { filter: none; }
#fruit-wagers .bp-brand, #fruit-wagers .bp-top .bp-brand { filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .8)); }

/* arena: dark wine felt, a red spotlight on the left, a blue one on the right, a card-back lattice */
#fruit-wagers .bp-app { --bp-bg: #07030d; --bp-panel: #150a24; --bp-deep: #0a0412; --bp-soft: #241040; --bp-sub: #d7c6ee; --bp-red: #9a3be8; --bp-rim: #5b1f9e; --bp-line: rgba(255, 203, 92, .28); --bp-frame: #ffcb5c;
  isolation: isolate;
  background:
    repeating-linear-gradient(45deg, rgba(255, 203, 92, .028) 0 2px, transparent 2px 18px),
    repeating-linear-gradient(-45deg, rgba(255, 203, 92, .028) 0 2px, transparent 2px 18px),
    #07030d; }
#fruit-wagers .bp-app::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 340px; z-index: -1; pointer-events: none;
  background: conic-gradient(from 160deg at 6% -10%, transparent 0 8%, rgba(255, 214, 140, .12) 10%, transparent 14%), conic-gradient(from 200deg at 94% -10%, transparent 0 8%, rgba(255, 214, 140, .1) 10%, transparent 14%);
  animation: bc-beams 7s ease-in-out infinite alternate; }
@keyframes bc-beams { from { opacity: .45; } to { opacity: 1; } }

/* top bar: gold sign with a red, gold and blue trim */
#fruit-wagers .bp-top { background: linear-gradient(180deg, #1f0f38, #0b0614); box-shadow: inset 0 -1px 0 rgba(255, 203, 92, .5); }
#fruit-wagers .bp-top::before { height: 4px; background: linear-gradient(90deg, #a8721c, #ffcb5c 35%, #fff2b0 50%, #ffcb5c 65%, #a8721c); background-size: 200% 100%; animation: bc-trim 6s linear infinite; box-shadow: 0 0 14px rgba(255, 203, 92, .6); }
@keyframes bc-trim { to { background-position: 200% 0; } }
#fruit-wagers .bp-tabs button { color: #e4c9cf; }
#fruit-wagers .bp-tabs button:hover { background: linear-gradient(180deg, rgba(255, 203, 92, .14), rgba(255, 203, 92, .06)); }
#fruit-wagers .bp-tabs button[aria-current="page"] { color: #2a1200; background: linear-gradient(180deg, #fff0b8, #ffc23a 55%, #d98f0c); box-shadow: 0 -6px 22px -6px rgba(255, 203, 92, .85), inset 0 1px 0 #fff, 0 0 0 1px #4a2a00; }
#fruit-wagers .bp-balance { background: linear-gradient(180deg, #2a1250, #12071f); box-shadow: inset 0 0 0 1.5px #ffcb5c, 0 0 14px -4px rgba(255, 203, 92, .6); }

/* hero: the felt turns into a fight night, red against blue under a gold rim */
#fruit-wagers .home-stakes.hsx::before { background: linear-gradient(110deg, #ffd477, #b04dff 25%, #fff2b0 40%, #ffd477 55%, #b04dff 80%, #ffd477); background-size: 300% 100%;
  box-shadow: 0 12px 34px rgba(90, 30, 170, .45), 0 0 26px rgba(255, 203, 92, .18); }
#fruit-wagers .home-stakes.hsx::after { background:
    radial-gradient(28% 85% at 47% 50%, rgba(255, 203, 92, .26), transparent 70%),
    radial-gradient(45% 130% at 100% 0%, rgba(150, 70, 240, .42), transparent 70%),
    radial-gradient(35% 100% at 0% 100%, rgba(120, 50, 200, .3), transparent 70%),
    repeating-linear-gradient(45deg, rgba(255, 203, 92, .05) 0 1px, transparent 1px 15px),
    repeating-linear-gradient(-45deg, rgba(255, 203, 92, .05) 0 1px, transparent 1px 15px),
    linear-gradient(100deg, #220f44 0%, #140828 50%, #0a0414 100%); }
#fruit-wagers .hsx-title { text-shadow: 0 3px 0 #5a2a00, 0 0 24px rgba(255, 203, 92, .4); }
#fruit-wagers .hsx-title em { background: linear-gradient(180deg, #fff6c8, #ffcb5c 55%, #d98b17); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 #5a2a00); text-shadow: none; }
#fruit-wagers .hsx-kicker { color: #ffe9a8; }
#fruit-wagers .hsx-live { color: #fff; background: linear-gradient(180deg, #ff5b6b, #c2182b); box-shadow: 0 0 14px rgba(255, 60, 80, .8); }
#fruit-wagers .hsx-live i { background: #fff; }
#fruit-wagers .hsx-stat { background: linear-gradient(180deg, #0b0414, #1a0a2e); box-shadow: inset 0 0 0 1.5px rgba(255, 203, 92, .55), inset 0 3px 8px rgba(0, 0, 0, .8); }
#fruit-wagers .hsx-stat b { text-shadow: 0 0 12px currentColor; }

/* fight-night marquee under the hero */
.bc-strip { position: relative; overflow: hidden; margin: 0 0 14px; padding: 9px 0; border-radius: 12px; background: linear-gradient(90deg, #2a1250, #120720 30%, #120720 70%, #2a1250); box-shadow: inset 0 0 0 1.5px rgba(255, 203, 92, .6), 0 8px 18px -10px #000; }
.bc-track { display: flex; width: max-content; animation: bc-run 34s linear infinite; }
.bc-track span { display: inline-flex; align-items: center; flex: none; }
.bc-track b { padding: 0 18px; font: 400 1.05rem/1 var(--display); letter-spacing: .12em; color: #ffe9a8; text-shadow: 0 2px 0 #5a2a00, 0 0 14px rgba(255, 203, 92, .6); }
.bc-track i { display: inline-grid; place-items: center; width: 26px; height: 26px; color: #e8b44a; filter: drop-shadow(0 0 6px rgba(232, 180, 74, .7)); }
.bc-track b:nth-of-type(even) + i { color: #ffe3a1; filter: drop-shadow(0 0 6px rgba(232, 180, 74, .7)); }
.bc-track .bp-ico { width: 22px; height: 22px; }
@keyframes bc-run { to { transform: translateX(-50%); } }

/* panels everywhere in the section: gold-trimmed plaques on wine felt, headings in gold */
#fruit-wagers .bp-post, #fruit-wagers .bp-panel, #fruit-wagers .bp-request, #fruit-wagers .bp-success {
  background: radial-gradient(ellipse at 50% -20%, rgba(160, 80, 240, .18), transparent 60%), repeating-linear-gradient(45deg, rgba(255, 203, 92, .03) 0 2px, transparent 2px 16px), linear-gradient(280deg, #07030d, #1a0c30 78%);
  border: 2px solid #ffcb5c; box-shadow: inset 0 0 0 3px #08030a, inset 0 0 0 4px rgba(255, 203, 92, .35), 0 12px 26px -14px #000, 0 0 22px -12px rgba(255, 203, 92, .6); }
#fruit-wagers .bp-toprow h2, #fruit-wagers .bp-panel h3 { color: #ffe9a8; text-shadow: 0 2px 0 #5a2a00, 0 0 18px rgba(255, 203, 92, .35); }
#fruit-wagers .bp-toprow h2::after { height: 3px; background: linear-gradient(90deg, #ff3b4d, #ffcb5c 50%, #2aa8ff); box-shadow: 0 0 10px rgba(255, 203, 92, .6); }
#fruit-wagers .bp-eyebrow { color: #ffcb5c; }

/* buttons: brass for the main action, wine for the rest */
#fruit-wagers .bp-button { --bp-btn-bg: linear-gradient(180deg, #2a1250, #120720); border-color: #ffcb5c; }
#fruit-wagers .bp-button.bp-primary { --bp-btn-bg: linear-gradient(180deg, #fff0b8, #ffc23a 55%, #c9830a); --bp-btn-text: #2a1200; text-shadow: 0 1px 0 rgba(255, 255, 255, .5); }
#fruit-wagers .bp-steps .bp-step.active { background: linear-gradient(180deg, #a455f0, #5b1f9e); border-color: #ffcb5c; color: #fff; }

/* cards: red corner left, blue corner right, a lightning seam down the middle */
#fruit-wagers .bpp-stage { background: linear-gradient(100deg, rgba(255, 59, 77, .3), transparent 40%, transparent 60%, rgba(42, 168, 255, .3)), radial-gradient(ellipse at 50% 120%, color-mix(in srgb, var(--pc) 30%, #060208), #050310 72%); }
#fruit-wagers .bpp-stage::after { content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 3px; z-index: -1; translate: -50% 0; border-radius: 3px; pointer-events: none;
  background: linear-gradient(180deg, transparent, #ff3b4d 25%, #fff 50%, #2aa8ff 75%, transparent); box-shadow: 0 0 10px #ff3b4d, 0 0 10px #2aa8ff; animation: bc-seam 1.8s ease-in-out infinite; }
@keyframes bc-seam { 50% { opacity: .45; } }
#fruit-wagers .bpp-side.give small::before, #fruit-wagers .bpp-side.want small::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; }
#fruit-wagers .bpp-side.give small::before { background: #ff3b4d; box-shadow: 0 0 8px #ff3b4d; }
#fruit-wagers .bpp-side.want small::before { background: #2aa8ff; box-shadow: 0 0 8px #2aa8ff; }
#fruit-wagers .bpp-art::before { border-color: rgba(255, 59, 77, .7); background: radial-gradient(circle, rgba(255, 59, 77, .22), transparent 70%); }
#fruit-wagers .bpp-side.want .bpp-art::before { border-color: rgba(42, 168, 255, .7); background: radial-gradient(circle, rgba(42, 168, 255, .22), transparent 70%); }

/* the wager hub on the right gets the same plaque look */
#wager-rail .box, #wager-rail .sc-box { background: radial-gradient(ellipse at 50% -20%, rgba(160, 80, 240, .18), transparent 60%), linear-gradient(280deg, #07030d, #1a0c30 78%); border-color: #ffcb5c; box-shadow: inset 0 0 0 3px #08030a, inset 0 0 0 4px rgba(255, 203, 92, .35), 0 12px 26px -14px #000; }
#wager-rail .sc-h { color: #ffe9a8; text-shadow: 0 2px 0 #5a2a00; }

@media (prefers-reduced-motion: reduce) { #fruit-wagers .bp-app::before, #fruit-wagers .bp-top::before, .bc-track, #fruit-wagers .bpp-stage::after { animation: none; } }
