/* The Jar Slots: the page's own pieces, after look.css and bk.css. Only bk-slots- classes (and bksl- ids); no lk- class is restyled.
   The machine is CSS and inline SVG (a sprite added by js/bk-slots.js). Everything that moves stops under prefers-reduced-motion. */

/* ---- the page's own two-column wrapper. lk-split's tool column is 27rem; the machine wants at least 560px on a desktop, so this
   wrapper keeps lk-split's phone layout (her on top, tucked behind the card) and lk-split's wide layout (her sticky on the left),
   with a wider column for the machine. Her picture is sized through the kit's own --lk-wife-h. */
.bk-slots-split { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 35rem; margin: 0 auto; padding: .35rem var(--lk-pad) 1.6rem; }
.bk-slots-split > .bk-slots-tool { position: relative; z-index: 1; min-width: 0; }
.bk-slots-split > .lk-wife { margin-bottom: -1.5rem; }
.bk-slots-split > .lk-wife .lk-say { margin-bottom: 1.7rem; }
/* phones, signed in: a compact Wife row (a smaller face, a smaller bubble), so the reels, the bet and Spin sit higher */
@media (max-width: 759px) {
  .bk-slots-in .bk-slots-split > .lk-wife { grid-template-columns: 30% minmax(0, 1fr); }
  .bk-slots-in .bk-slots-split > .lk-wife .lk-say { padding: .5rem .8rem .6rem; margin-bottom: 1.4rem; }
  .bk-slots-in .bk-slots-split > .lk-wife .lk-say q { font-size: clamp(1.1rem, 4.6vw, 1.35rem); }
  .bk-slots-in .bk-slots-split > .lk-wife .lk-say small { font-size: max(.8rem, 12px); }
}
@media (min-width: 640px) and (max-height: 599px) {
  .bk-slots-split { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 0 1.2rem; max-width: 52rem; align-items: start; }
  .bk-slots-split > .bk-slots-tool { grid-area: 1 / 2; }
  .bk-slots-split > .lk-wife { grid-area: 1 / 1; margin: 0; --lk-wife-h: min(60svh, 15rem); }
  .bk-slots-split > .lk-wife .lk-say { margin-bottom: .5rem; }
}
@media (min-width: 760px) and (min-height: 600px) {
  .bk-slots-split { --bksl-col: 27rem; --bksl-gap: 1.25rem; --bksl-pad: 1.25rem; grid-template-columns: minmax(0, 1fr) minmax(0, var(--bksl-col)); gap: 0 var(--bksl-gap); align-items: start; max-width: none; padding: 1.3rem var(--bksl-pad) 1.6rem; }
  .bk-slots-split > .bk-slots-tool { grid-area: 1 / 2; }
  /* her height: the kit's figure height, never wider than her column (the widest pose is about as wide as it is tall) */
  .bk-slots-split > .lk-wife { grid-area: 1 / 1; position: sticky; top: 3.4rem; justify-self: center; margin: 0; --lk-wife-h: min(var(--lk-fig), (100vw - 2 * var(--bksl-pad) - var(--bksl-col) - var(--bksl-gap) - 1rem) * 1.08, 100svh - 13rem); }
  .bk-slots-split > .lk-wife .lk-say { margin-bottom: 1.1rem; }
}
@media (min-width: 1000px) and (min-height: 600px) {
  .bk-slots-split { --bksl-col: 40rem; --bksl-gap: clamp(1.4rem, 3.4vw, 3.4rem); --bksl-pad: clamp(1rem, 4.4vw, 4.4rem); }
}

/* ---- the machine's sizes: --row a reel row, --lev the lever, --mk the payline markers */
.bk-slots-machine { --row: min(3.6rem, 14.2vw); --lev: 1.7rem; --mk: 1.3rem; --mks: min(1.25rem, var(--row) * .37); --gap: .25rem; --kn: 1.6rem;
  position: relative; isolation: isolate; margin: 0 -.6rem; padding-right: var(--lev); }
@media (min-width: 760px) and (min-height: 600px) { .bk-slots-machine { --row: 4.25rem; --lev: 2rem; --mk: 1.45rem; --mks: 1.3rem; --kn: 1.8rem; } }
@media (min-width: 1000px) and (min-height: 600px) { .bk-slots-machine { --row: clamp(4.4rem, (100svh - 33rem) / 3, 6rem); --lev: 2.5rem; --mk: 1.75rem; --mks: 1.45rem; --gap: .35rem; --kn: 2.15rem; } }
.bk-slots-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* the cabinet: pink enamel, brass trim, like a good 1950s kitchen appliance */
.bk-slots-cab { position: relative; padding: .4rem; border-radius: 1.3rem;
  background: radial-gradient(120% 60% at 30% 0%, rgba(255, 255, 255, .28), transparent 55%), linear-gradient(180deg, #ff74a8, #ff4f93 34%, #e0337c 70%, #b81d62);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -.3rem 0 rgba(90, 0, 40, .35), 0 0 0 2px #f6c453, 0 0 0 4px #6e420b, 0 1.2rem 2.2rem rgba(0, 0, 0, .55); transition: box-shadow .5s; }
.bk-slots-cab::before { content: ""; position: absolute; left: .9rem; right: .9rem; top: .18rem; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .6); pointer-events: none; }
@media (min-width: 1000px) and (min-height: 600px) { .bk-slots-cab { padding: .55rem; } }

/* the marquee: a brass frame of bulbs round a dark sign, the name in neon and the display under it */
.bk-slots-top { position: relative; padding: .42rem; border-radius: 1rem .95rem .7rem .7rem; background: linear-gradient(180deg, #fff1c4, #f0c35a 30%, #c58c25 72%, #f3d27e); box-shadow: inset 0 1px 0 #fff8dc, inset 0 -1px 0 #8a5a10, 0 .15rem .3rem rgba(80, 0, 30, .45); }
.bk-slots-panel { position: relative; z-index: 1; display: grid; gap: .22rem; padding: .25rem .35rem .32rem; border-radius: .6rem; background: radial-gradient(90% 120% at 50% 0%, #3d0d26, #170510 70%); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .55), inset 0 .3rem .8rem rgba(0, 0, 0, .6); }
.bk-slots .bk-slots-sign { margin: 0; text-align: center; font-family: Bricolage, sans-serif; font-weight: 800; font-size: clamp(1.02rem, 4.7vw, 1.3rem); line-height: 1.05; letter-spacing: .02em; white-space: nowrap;
  color: #ffe6f0; text-shadow: 0 0 1px #fff, 0 0 .35rem #ff4f93, 0 0 .9rem #ff4f93, 0 0 1.6rem rgba(255, 79, 147, .6); }
.bk-slots-sign b { color: #fff3c8; text-shadow: 0 0 1px #fff, 0 0 .35rem #f6c453, 0 0 .9rem #f6a800, 0 0 1.6rem rgba(246, 168, 0, .65); }
@media (min-width: 1000px) and (min-height: 600px) { .bk-slots .bk-slots-sign { font-size: 1.75rem; } .bk-slots-panel { gap: .4rem; padding: .45rem .6rem .55rem; } }

.bk-slots-bulbs { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.bk-slots-bulb { position: absolute; width: .42rem; height: .42rem; margin: -.21rem 0 0 -.21rem; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #b98b48, #6d4513 70%); box-shadow: 0 0 0 1px rgba(80, 40, 0, .5); }
.bk-slots-bulb::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #fff, #fff1b0 35%, #ffc93a 70%); box-shadow: 0 0 .3rem .12rem rgba(255, 200, 70, .85); opacity: .25; animation: bksl-bulb var(--bulb-t, 2.4s) linear infinite; animation-delay: calc(var(--i) * var(--bulb-t, 2.4s) / -16); }
.bk-slots-bulb:nth-child(even)::after { --hue: 1; }
@keyframes bksl-bulb { 0%, 22% { opacity: 1; } 34%, 100% { opacity: .22; } }
.bk-slots-machine[data-state="spinning"] .bk-slots-bulb::after { --bulb-t: 1.1s; }
.bk-slots-machine[data-tier="medium"] .bk-slots-bulb::after, .bk-slots-machine[data-tier="big"] .bk-slots-bulb::after { --bulb-t: .9s; }
.bk-slots-machine[data-tier="jackpot"] .bk-slots-bulb::after { animation: bksl-flash .28s steps(1) infinite; animation-delay: 0s; }
.bk-slots-machine[data-tier="jackpot"] .bk-slots-bulb:nth-child(even)::after { animation-delay: -.14s; background: radial-gradient(circle at 38% 34%, #fff, #ffc2db 35%, #ff4f93 70%); box-shadow: 0 0 .35rem .15rem rgba(255, 79, 147, .9); }
@keyframes bksl-flash { 0% { opacity: 1; } 50% { opacity: .15; } }

/* the display: a dot-matrix strip, the counted-up win */
.bk-slots-led { position: relative; display: flex; align-items: center; justify-content: center; height: 1.75rem; padding: 0 .55rem; overflow: hidden; border-radius: .45rem; background: #0e0208; box-shadow: inset 0 0 0 1px rgba(255, 210, 120, .14), inset 0 .15rem .4rem rgba(0, 0, 0, .9); }
.bk-slots-led::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle, transparent 52%, rgba(14, 2, 8, .55) 64%) 0 0 / 3px 3px; }
.bk-slots-led-in { display: inline-flex; align-items: baseline; gap: .4em; max-width: 100%; white-space: nowrap; font-family: Bricolage, sans-serif; font-weight: 800; font-size: 1.02rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: #ffd772; text-shadow: 0 0 .25rem rgba(255, 186, 60, .9), 0 0 .7rem rgba(255, 150, 30, .45); }
.bk-slots-led-in b { color: #9dffb8; text-shadow: 0 0 .25rem rgba(95, 224, 138, .95), 0 0 .7rem rgba(95, 224, 138, .5); }
.bk-slots-led[data-tone="lose"] .bk-slots-led-in { color: #ffb3cf; text-shadow: 0 0 .25rem rgba(255, 110, 160, .8); }
.bk-slots-led[data-tone="lose"] .bk-slots-led-in b { color: #ff9cc2; text-shadow: 0 0 .25rem rgba(255, 110, 160, .8); }
.bk-slots-led[data-tone="dim"] .bk-slots-led-in { color: #d7a64a; text-shadow: 0 0 .2rem rgba(255, 170, 40, .55); }
.bk-slots-led-in.is-pop { animation: bksl-ledpop .45s cubic-bezier(.25, 1.7, .5, 1); }
.bk-slots-led-in b.is-pop { display: inline-block; animation: bksl-ledpop .5s cubic-bezier(.25, 1.7, .5, 1); }
@keyframes bksl-ledpop { 0% { transform: scale(1.35); filter: brightness(1.8); } }
.bk-slots-machine[data-tier="jackpot"] .bk-slots-led { box-shadow: inset 0 0 0 1.5px rgba(255, 215, 110, .65), inset 0 .15rem .4rem rgba(0, 0, 0, .9), 0 0 .9rem rgba(255, 200, 80, .55); }
@media (min-width: 1000px) and (min-height: 600px) { .bk-slots-led { height: 2.45rem; } .bk-slots-led-in { font-size: 1.4rem; } }

/* the window: a brass bezel, three cream reels behind glass, the payline markers both sides */
.bk-slots-window { position: relative; margin-top: .32rem; padding: .3rem; border-radius: 1rem; background: linear-gradient(180deg, #fff0bf, #e7b54a 22%, #b8801f 55%, #f0cd76 85%, #a87418); box-shadow: inset 0 1px 0 #fff8dc, 0 .12rem .3rem rgba(80, 0, 30, .5); }
.bk-slots-window.is-thump { animation: bksl-thump .16s ease-out; }
@keyframes bksl-thump { 40% { transform: translateY(1.5px); } }
.bk-slots-glass { position: relative; display: grid; grid-template-columns: var(--mk) minmax(0, 1fr) var(--mk); padding: .2rem 0; border-radius: .75rem; background: linear-gradient(180deg, #2a0819, #150410); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .6), inset 0 .4rem .8rem rgba(0, 0, 0, .7); overflow: hidden; }
@media (min-width: 1000px) and (min-height: 600px) { .bk-slots-window { padding: .4rem; } .bk-slots-glass { padding: .3rem 0; } }
.bk-slots-reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); height: calc(3 * var(--row)); }
.bk-slots-reel { position: relative; overflow: hidden; border-radius: .4rem; background: linear-gradient(90deg, #e8d3ae, #fff9ee 22%, #fffaf1 78%, #e6d0a8); box-shadow: inset 0 0 0 1px rgba(80, 30, 10, .25); }
/* the drum: darker where it curves away, top and bottom */
.bk-slots-reel::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(40, 8, 24, .62), rgba(40, 8, 24, .12) 15%, transparent 30%, transparent 70%, rgba(40, 8, 24, .12) 85%, rgba(40, 8, 24, .66)); }
.bk-slots-strip { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
/* speed: while a reel races, its pictures stretch along the motion and leave ghost trails, and light streaks run down the drum.
   (No SVG filter: these are transforms and shadows, so every browser shows them; none of it under reduced motion, where nothing rolls.) */
.bk-slots-strip.is-blur-1 .bk-slots-cell > svg { transform: scaleY(1.18); opacity: .88; filter: drop-shadow(0 calc(var(--row) * .14) 0 rgba(70, 25, 35, .22)) drop-shadow(0 calc(var(--row) * -.14) 0 rgba(70, 25, 35, .22)); }
.bk-slots-strip.is-blur-2 .bk-slots-cell > svg { transform: scaleY(1.42) scaleX(.94); opacity: .72; filter: drop-shadow(0 calc(var(--row) * .24) 0 rgba(70, 25, 35, .3)) drop-shadow(0 calc(var(--row) * -.24) 0 rgba(70, 25, 35, .3)); }
.bk-slots-reel::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .15s;
  background: repeating-linear-gradient(90deg, transparent 0 11%, rgba(255, 255, 255, .5) 11% 12.5%, transparent 12.5% 27%, rgba(120, 60, 40, .16) 27% 28%, transparent 28% 41%), linear-gradient(180deg, rgba(255, 250, 240, 0), rgba(255, 250, 240, .35) 45%, rgba(255, 250, 240, 0)); }
.bk-slots-reel.is-fast::before { opacity: 1; }
.bk-slots-cell { position: relative; display: grid; place-items: center; height: var(--row); }
.bk-slots-cell > svg { position: relative; z-index: 1; width: calc(var(--row) * .9); height: calc(var(--row) * .9); overflow: visible; }
.bk-slots-cell::before { content: ""; position: absolute; inset: 4% 8%; border-radius: 1rem; opacity: 0; background: radial-gradient(closest-side, rgba(255, 210, 90, .95), rgba(255, 170, 40, .35) 60%, rgba(255, 170, 40, 0)); }
.bk-slots-lamp { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .55) 50%, transparent); opacity: 0; }
.bk-slots-reel.is-land .bk-slots-lamp { animation: bksl-land .32s ease-out; }
@keyframes bksl-land { 0% { opacity: .9; } 100% { opacity: 0; } }
/* two Jars up: the last reel glows while it slows */
.bk-slots-reel.is-tease { box-shadow: inset 0 0 0 2px #f6c453, 0 0 1rem .2rem rgba(246, 196, 83, .75); animation: bksl-tease .5s ease-in-out infinite alternate; }
@keyframes bksl-tease { to { box-shadow: inset 0 0 0 3px #fff1b0, 0 0 1.6rem .4rem rgba(255, 210, 90, .95); } }
.bk-slots-reel.is-jar .bk-slots-cell[data-sym="jar"] > svg { filter: drop-shadow(0 0 .45rem rgba(255, 210, 80, .95)); }

/* a win: the winning symbols pulse in a gold glow; everything else on the reels steps back */
.bk-slots-reels.is-paid .bk-slots-cell.is-show:not(.is-win) > svg { opacity: .32; filter: saturate(.5); transition: opacity .3s, filter .3s; }
.bk-slots-cell.is-win::before { opacity: 1; animation: bksl-glow 1.1s ease-in-out infinite alternate; }
.bk-slots-cell.is-win > svg { animation: bksl-pulse .55s cubic-bezier(.3, 1.6, .5, 1) both, bksl-throb 1.1s ease-in-out .55s infinite alternate; }
.bk-slots-cell.is-now > svg { animation: bksl-pulse .55s cubic-bezier(.3, 1.6, .5, 1) both, bksl-throb .55s ease-in-out .55s infinite alternate; }
@keyframes bksl-glow { 0% { opacity: .55; transform: scale(.92); } 100% { opacity: 1; transform: scale(1.04); } }
@keyframes bksl-pulse { 0% { transform: scale(.7); } 60% { transform: scale(1.16); } 100% { transform: scale(1.04); } }
@keyframes bksl-throb { 0% { transform: scale(1.04); } 100% { transform: scale(.94); } }

/* the paylines: numbered markers both sides, drawn across the reels when they pay */
.bk-slots-marks { position: relative; z-index: 4; }
.bk-slots-marks i { --c: #ff4f93; position: absolute; left: 50%; top: calc(.2rem + var(--y) * var(--row)); display: grid; place-items: center; width: var(--mks); height: var(--mks); border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 35% 30%, #fff 0, var(--c) 45%, color-mix(in srgb, var(--c) 70%, #000)); color: #1d0612; font-style: normal; font-family: Bricolage, sans-serif; font-weight: 800; font-size: max(.8rem, 12px); line-height: 1; box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .55); opacity: .82; transition: transform .25s, opacity .25s, box-shadow .25s; }
@media (min-width: 1000px) and (min-height: 600px) { .bk-slots-marks i { top: calc(.3rem + var(--y) * var(--row)); } }
.bk-slots-marks i[data-line="0"] { --c: #ff6fa6; } .bk-slots-marks i[data-line="1"] { --c: #f6c453; } .bk-slots-marks i[data-line="2"] { --c: #4fe0c8; }
.bk-slots-marks i[data-line="3"] { --c: #c6a2ff; } .bk-slots-marks i[data-line="4"] { --c: #ff9a4a; }
.bk-slots-marks i.is-lit { opacity: 1; transform: translate(-50%, -50%) scale(1.22); box-shadow: 0 0 0 2px #fff, 0 0 .7rem .2rem var(--c); }
.bk-slots-lines { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.bk-slots-lines polyline { fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .25s; }
.bk-slots-lines .is-halo { stroke: rgba(255, 255, 255, .9); }
.bk-slots-lines .is-on { opacity: 1; }
.bk-slots-lines .is-draw { opacity: 1; stroke-dasharray: 1; animation: bksl-draw .45s cubic-bezier(.4, 0, .2, 1) both; }
.bk-slots-lines .is-faint { opacity: .45; }
@keyframes bksl-draw { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }

/* the glass: a soft glare over everything */
.bk-slots-shine { position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; background: linear-gradient(115deg, rgba(255, 255, 255, .2) 0, rgba(255, 255, 255, .06) 28%, transparent 29%, transparent 63%, rgba(255, 255, 255, .07) 64%, transparent 80%); }

/* the deck: the bet, on a cream enamel ledge with two chunky keys */
.bk-slots-deck { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .35rem; margin-top: .32rem; padding: .2rem; border-radius: .9rem; background: linear-gradient(180deg, #fffaf0, #f3e2c1 70%, #e3c995); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(140, 90, 30, .35), 0 .1rem .25rem rgba(80, 0, 30, .45); }
.bk-slots-key { display: grid; place-items: center; width: max(2.95rem, 44px); height: max(2.95rem, 44px); padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #fff; touch-action: manipulation;
  background: radial-gradient(circle at 36% 30%, #ffb3d1, #ff4f93 45%, #c21a63); box-shadow: inset 0 0 0 2px #f6c453, inset 0 2px 1px rgba(255, 255, 255, .5), 0 .2rem 0 #8e1048, 0 .3rem .4rem rgba(60, 0, 25, .35); transition: transform .08s, box-shadow .08s; }
.bk-slots-key svg { width: 46%; height: 46%; filter: drop-shadow(0 1px 0 rgba(120, 0, 50, .6)); }
.bk-slots-key:active:not(:disabled) { transform: translateY(.15rem); box-shadow: inset 0 0 0 2px #f6c453, inset 0 2px 1px rgba(255, 255, 255, .5), 0 .05rem 0 #8e1048; }
.bk-slots-key:disabled { cursor: default; filter: grayscale(.85) brightness(.85); opacity: .55; }
.bk-slots-key:focus-visible { outline-color: #1d0612; outline-offset: 2px; }
.bk-slots .bk-slots-bet { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: .3rem; margin: 0; color: #1d0612; text-align: center; line-height: 1.1; }
.bk-slots-bet-k, .bk-slots-bet-u { font-weight: 700; font-size: max(.84rem, 12px); color: #6b4a58; }
.bk-slots-bet b { font-family: Bricolage, sans-serif; font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bk-slots-bet b.is-pop { display: inline-block; animation: bksl-ledpop .35s cubic-bezier(.25, 1.7, .5, 1); }
.bk-slots-bet small { flex: 1 0 100%; margin-top: .05rem; font-weight: 600; font-size: max(.8rem, 12px); color: #6b4a58; }
@media (min-width: 1000px) and (min-height: 600px) { .bk-slots-deck { padding: .35rem .5rem; } .bk-slots-bet b { font-size: 1.7rem; } }

/* the lever: a chrome arm with a pink ball, on the right of the cabinet. Pull it (or tap it) to spin */
.bk-slots-lever { --pivot: 64%; position: absolute; right: 0; top: 13%; bottom: 31%; width: max(44px, calc(var(--lev) + 1rem)); padding: 0; border: 0; border-radius: 1rem; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.bk-slots-lever:focus-visible { outline-offset: 0; }
.bk-slots-lever[aria-disabled="true"] { cursor: default; }
.bk-slots-lever-mount { position: absolute; right: 0; top: var(--pivot); width: var(--lev); height: 2.8rem; transform: translateY(-50%); border-radius: .35rem 1rem 1rem .35rem;
  background: linear-gradient(90deg, #8a5a10, #f6d27a 30%, #fff3c4 45%, #d9a33a 70%, #8a5a10); box-shadow: inset 0 0 0 1px rgba(60, 30, 0, .5), 0 .15rem .3rem rgba(0, 0, 0, .45); }
.bk-slots-lever-mount::after { content: ""; position: absolute; left: 50%; top: 50%; width: .62rem; height: .62rem; margin: -.31rem 0 0 -.31rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #b9c3ca 50%, #5d6871); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4); }
.bk-slots-lever-rod { position: absolute; right: calc(var(--lev) / 2 - .2rem); bottom: calc(100% - var(--pivot)); width: .4rem; height: calc(var(--pivot) - var(--kn) / 2); border-radius: .2rem; transform-origin: 50% 100%;
  background: linear-gradient(90deg, #5d6871, #f4f7f9 40%, #c3ccd2 60%, #6c7880); box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
.bk-slots-lever-knob { position: absolute; right: calc(var(--lev) / 2 - var(--kn) / 2); top: 0; width: var(--kn); height: var(--kn); border-radius: 50%; transform-origin: 50% 50%;
  background: radial-gradient(circle at 34% 28%, #fff 0, #ffd1e3 12%, #ff4f93 46%, #a91457 92%); box-shadow: 0 .25rem .45rem rgba(0, 0, 0, .5), inset 0 -.15rem .3rem rgba(90, 0, 40, .5); }
@media (hover: hover) { .bk-slots-lever:not([aria-disabled="true"]):hover .bk-slots-lever-knob { filter: brightness(1.12); } }

/* the effects layer over the reels only: coins and sparkles never reach the display, the sign or the bet */
.bk-slots-fx { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 6; overflow: hidden; border-radius: .4rem; pointer-events: none; }
.bk-slots-coin, .bk-slots-spark { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.bk-slots-coin { width: var(--cs, 1.5rem); height: var(--cs, 1.5rem); }
.bk-slots-spark { width: 1.1rem; height: 1.1rem; }
.bk-slots-coin svg, .bk-slots-spark svg { display: block; width: 100%; height: 100%; }

/* the jackpot: gold rays behind the cabinet, the Wife rising with her jar inside the window */
.bk-slots-rays { position: absolute; inset: -.6rem -.2rem -.6rem -.6rem; z-index: -1; border-radius: 1.8rem; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity .6s; }
.bk-slots-rays::before { content: ""; position: absolute; left: 50%; top: 45%; width: 220%; aspect-ratio: 1; transform: translate(-50%, -50%); background: repeating-conic-gradient(from 0deg, rgba(255, 214, 110, .55) 0 7deg, rgba(255, 214, 110, 0) 7deg 18deg); -webkit-mask: radial-gradient(closest-side, #000 20%, transparent 70%); mask: radial-gradient(closest-side, #000 20%, transparent 70%); animation: bksl-spin 9s linear infinite; }
@keyframes bksl-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.bk-slots-machine[data-tier="big"] .bk-slots-rays { opacity: .55; }
.bk-slots-machine[data-tier="jackpot"] .bk-slots-rays { opacity: 1; }
.bk-slots-machine[data-tier="big"] .bk-slots-cab, .bk-slots-machine[data-tier="jackpot"] .bk-slots-cab { animation: bksl-cabglow .7s ease-in-out infinite alternate; }
@keyframes bksl-cabglow { from { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -.3rem 0 rgba(90, 0, 40, .35), 0 0 0 2px #f6c453, 0 0 0 4px #6e420b, 0 0 1.2rem .3rem rgba(255, 200, 80, .45); }
  to { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -.3rem 0 rgba(90, 0, 40, .35), 0 0 0 2px #fff1b0, 0 0 0 4px #b8801f, 0 0 2.4rem .7rem rgba(255, 210, 90, .75); } }
.bk-slots-machine[data-tier="jackpot"] .bk-slots-sign { animation: bksl-signflash .5s steps(1) infinite; }
@keyframes bksl-signflash { 50% { color: #fff3c8; text-shadow: 0 0 1px #fff, 0 0 .4rem #f6c453, 0 0 1rem #f6a800, 0 0 2rem rgba(246, 168, 0, .8); } }
.bk-slots-jack { position: absolute; inset: 0; z-index: 5; display: none; overflow: hidden; pointer-events: none; border-radius: inherit; background: radial-gradient(80% 90% at 62% 70%, rgba(255, 226, 140, .96), rgba(246, 176, 40, .92) 45%, rgba(150, 70, 10, .94)); }
.bk-slots-jack.is-on { display: block; animation: bksl-jackin .45s cubic-bezier(.2, .9, .3, 1) both; }
.bk-slots-jack.is-off { display: block; animation: bksl-jackout .4s ease-in both; }
@keyframes bksl-jackin { 0% { opacity: 0; transform: scale(1.12); } }
@keyframes bksl-jackout { to { opacity: 0; } }
.bk-slots-jack-rays { position: absolute; left: 62%; top: 62%; width: 260%; aspect-ratio: 1; transform: translate(-50%, -50%); background: repeating-conic-gradient(rgba(255, 255, 255, .42) 0 6deg, rgba(255, 255, 255, 0) 6deg 15deg); animation: bksl-spin 7s linear infinite; }
.bk-slots-jack img { position: absolute; right: 4%; top: 6%; width: auto; height: 172%; max-width: none; filter: drop-shadow(0 .4rem .8rem rgba(80, 30, 0, .5)); animation: bksl-rise .9s cubic-bezier(.2, 1.2, .35, 1) .15s both; }
@keyframes bksl-rise { 0% { transform: translateY(70%); } }
/* from 760px she hugs her jar beside the machine already: the window gets the Jar itself, huge and glowing */
.bk-slots-jack-jar { display: none; position: absolute; right: 7%; top: 50%; height: 118%; width: auto; aspect-ratio: 1; overflow: visible; transform: translateY(-50%); filter: drop-shadow(0 0 1.4rem rgba(255, 255, 255, .7)) drop-shadow(0 .5rem .8rem rgba(110, 50, 0, .45)); animation: bksl-jarin .8s cubic-bezier(.2, 1.5, .4, 1) .15s both, bksl-jarbob 1.6s ease-in-out .95s infinite alternate; }
@keyframes bksl-jarin { 0% { transform: translateY(-50%) scale(.2) rotate(-14deg); opacity: 0; } }
@keyframes bksl-jarbob { from { transform: translateY(-50%) rotate(-3deg); } to { transform: translateY(-53%) rotate(3deg) scale(1.03); } }
@media (min-width: 760px) { .bk-slots-jack img { display: none; } .bk-slots-jack-jar { display: block; } .bk-slots .bk-slots-jack-t { left: 8%; font-size: clamp(2.6rem, 4.4vw, 4.2rem); } }
.bk-slots .bk-slots-jack-t { position: absolute; left: 6%; top: 50%; z-index: 1; margin: 0; transform: translateY(-50%) rotate(-6deg); font-family: Bricolage, sans-serif; font-weight: 800; font-size: clamp(1.9rem, 9vw, 3.6rem); line-height: .95; letter-spacing: -.02em; color: #fff8e0;
  text-shadow: 0 .12rem 0 #a8520f, 0 .25rem 0 #6e2c05, 0 0 1.4rem rgba(255, 255, 255, .7); animation: bksl-jtext .6s cubic-bezier(.25, 1.7, .5, 1) .35s both; }
@keyframes bksl-jtext { 0% { opacity: 0; transform: translateY(-50%) rotate(-6deg) scale(.3); } }

/* a few words under the machine: the result (the page's live region) */
.bk-slots .bk-slots-result { display: flex; align-items: center; justify-content: center; min-height: 2.9em; margin: .75rem 0 0; font-size: .98rem; line-height: 1.3; text-wrap: balance; }
.bk-slots-result .bk-slots-amt { white-space: nowrap; }
.bk-slots .bk-slots-seal { margin: .5rem 0 0; font-size: .86rem; color: var(--lk-soft2); overflow-wrap: anywhere; }
.bk-slots-seal .bk-mono { color: var(--lk-strong); white-space: nowrap; }
.bk-slots-go { white-space: normal; text-wrap: balance; text-align: center; line-height: 1.15; }

/* live: your seat at the counter, the room's big wins, the Bar */
.bk-slots-room { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "seat feed" "seat bar"; align-items: center; gap: .3rem .8rem; margin-top: .6rem; padding: .5rem .7rem .5rem .4rem; border-radius: 1.3rem; background: rgba(251, 238, 214, .05); box-shadow: inset 0 0 0 1px var(--lk-line); }
.bk-slots-room[hidden] { display: none; }
.bk-slots-room .bk-slots-me { --sw: 4.4rem; grid-area: seat; }
.bk-slots-feed { grid-area: feed; min-width: 0; }
.bk-slots .bk-slots-feed-k { margin: 0; font-size: max(.8rem, 12px); font-weight: 700; color: var(--lk-gold); }
.bk-slots .bk-slots-feed-t { margin: .1rem 0 0; font-size: .9rem; font-weight: 600; line-height: 1.3; color: var(--lk-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bk-slots-feed-t.is-new { animation: bksl-feedin .5s ease-out; }
@keyframes bksl-feedin { 0% { opacity: 0; transform: translateY(.3rem); } }
.bk-slots-barbtn { grid-area: bar; justify-self: start; }
@media (min-width: 1000px) and (min-height: 600px) { .bk-slots-room { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "seat feed bar"; } .bk-slots-barbtn { justify-self: end; } }

/* the last twelve spins: net, never gross */
.bk-slots-last { margin-top: .5rem; }
.bk-slots .bk-slots-last-k { margin: 0 0 .35rem; font-size: .84rem; font-weight: 600; color: var(--lk-soft2); }
.bk-slots-last ol { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.bk-slots-last li { display: inline-flex; align-items: center; gap: .25rem; min-height: 1.9rem; padding: 0 .55rem; border-radius: 999px; background: rgba(255, 79, 147, .12); color: var(--lk-pink2); font-size: .84rem; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bk-slots-last li.is-win { background: rgba(95, 224, 138, .13); color: var(--lk-pass); padding-left: .25rem; }
.bk-slots-last li.is-jackpot { background: linear-gradient(90deg, rgba(246, 196, 83, .35), rgba(246, 196, 83, .15)); color: var(--lk-gold); box-shadow: inset 0 0 0 1.5px rgba(246, 196, 83, .6); }
.bk-slots-last li svg { width: 1.45rem; height: 1.45rem; flex: none; }
.bk-slots-last li.is-empty { padding: 0; background: none; color: var(--lk-soft2); font-weight: 600; }
.bk-slots-last li.is-new { animation: bksl-chip .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bksl-chip { 0% { transform: scale(.4); opacity: 0; } }

/* the pay table and the strip */
.bk-slots-pays tbody > tr > * { vertical-align: middle; }
.bk-slots-pays td { white-space: nowrap; }
.bk-slots-sym { display: inline-flex; align-items: center; gap: .45rem; }
.bk-slots-sym svg { width: 1.85rem; height: 1.85rem; flex: none; }
.bk-slots-pays td small { display: block; font-size: max(.8rem, 12px); color: var(--lk-soft2); font-weight: 600; }
.bk-slots-pays tr.is-top th, .bk-slots-pays tr.is-top td b { color: var(--lk-gold); }
.bk-slots-reelcard { margin-top: 1rem; }
.bk-slots-stripmap { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: .3rem .2rem; margin: .9rem 0 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .bk-slots-stripmap { grid-template-columns: repeat(15, minmax(0, 1fr)); } }
.bk-slots-stripmap li { display: grid; justify-items: center; gap: .1rem; padding: .25rem 0 .15rem; border-radius: .6rem; background: rgba(251, 238, 214, .07); color: var(--lk-soft2); font-size: max(.8rem, 12px); font-weight: 700; font-variant-numeric: tabular-nums; }
.bk-slots-stripmap svg { width: min(2.2rem, 100%); aspect-ratio: 1; height: auto; }
.bk-slots-back { margin-top: 1.2rem; max-width: 30rem; }

/* her poses change with the machine */
.bk-slots-pose { animation: bksl-pose .4s ease-out; }
@keyframes bksl-pose { 0% { opacity: .2; } }

/* the win's spoons, flying up to the Spoons chip in the header */
.bksl-fly svg { display: block; width: 100%; height: 100%; }
.bksl-fly { position: fixed; left: 0; top: 0; z-index: 60; width: 1.6rem; height: 1.6rem; pointer-events: none; color: var(--lk-gold); filter: drop-shadow(0 0 .35rem rgba(255, 210, 110, .85)) drop-shadow(0 .2rem .3rem rgba(0, 0, 0, .5)); will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  .bk-slots *, .bk-slots *::before, .bk-slots *::after, .bk-slots-pose, .bksl-fly { animation: none !important; transition: none !important; }
  .bk-slots-bulb::after { opacity: .9; }
  .bk-slots-machine[data-tier="jackpot"] .bk-slots-rays { opacity: .8; }
  .bk-slots-jack, .bk-slots-jack.is-on { display: none; }
  .bk-slots-cell.is-win > svg { transform: scale(1.04); }
}
/* r7: a solo game has no seat thumbnail: the row is the room's feed and the Bar */
.bk-slots-room .bk-slots-me { display: none; }
.bk-slots-room { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "feed bar"; padding-left: .9rem; }
@media (min-width: 1000px) and (min-height: 600px) { .bk-slots-room { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "feed bar"; } }
/* results said once (r7): the display carries the figures; the line under the machine says which line paid (its figure is for screen
   readers), her bubble only reacts. The reason a spin can't happen now sits above the machine (never under the sticky button). */
.bk-slots-result .bk-slots-amt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bk-slots .bk-slots-why { margin: 0 0 .7rem; }
.bk-slots .bk-slots-why[hidden] { display: none; }
.bk-slots:has(#bksl-why:not([hidden])) #bksl-result { display: none; }
/* ============================================================== r8 (15 Nov review) */
/* the display: the dot matrix sits UNDER the figures (the unlit LEDs, faint), so the result reads crisp at 1x on a phone; the
   figures keep a tight glow */
.bk-slots-led::after { z-index: 0; background: radial-gradient(circle, rgba(255, 196, 110, .09) 38%, transparent 48%) 0 0 / 3px 3px; }
.bk-slots-led-in { position: relative; z-index: 1; text-shadow: 0 0 .18rem rgba(255, 186, 60, .75), 0 0 .6rem rgba(255, 150, 30, .35); }
.bk-slots-led-in b { text-shadow: 0 0 .18rem rgba(95, 224, 138, .8), 0 0 .6rem rgba(95, 224, 138, .35); }
.bk-slots-led[data-tone="lose"] .bk-slots-led-in, .bk-slots-led[data-tone="lose"] .bk-slots-led-in b { text-shadow: 0 0 .18rem rgba(255, 110, 160, .7); }
/* why a spin can't happen now (above the machine): a neutral sign, never the green tick; the CRO room's closed slots say it in one
   line in her voice, the detail behind a small "Why?" */
.bk-slots .bk-slots-why.is-neutral { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14); color: var(--lk-text); align-items: flex-start; }
.bk-slots .bk-slots-why.is-neutral::before { margin-top: .08rem; background: #4a3240 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbeed6' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M12 11v6.5M12 6.6v.4'/%3E%3C/svg%3E") center / 72% no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.bk-slots-why-t { display: block; min-width: 0; }
.bk-slots-whymore { display: inline; }
.bk-slots-whymore summary { display: inline-flex; align-items: center; min-height: 44px; margin: -.7rem 0; padding: 0 .3rem; cursor: pointer; list-style: none; color: var(--lk-gold); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.bk-slots-whymore summary::-webkit-details-marker { display: none; }
.bk-slots-whymore[open] summary { text-decoration: none; }
.bk-slots-whydet { display: block; margin-top: .45rem; color: var(--lk-soft); font-weight: 500; font-size: .9rem; line-height: 1.4; }
/* r9 (15 Nov review): while the machine can't take a spin (the CRO room's closed slots, a break, the day's limit: the notice above the
   machine shows), its bet row steps aside. It can't be used, and at 1440x900 it sat under the sticky "Closed in this room" button */
.bk-slots:has(#bksl-why:not([hidden])) .bk-slots-deck { display: none; }
/* ============================================================== r11 (15 Nov review, 8.7) */
/* the seal's label and its hash on one line; the hash gives way first and ends in "…" (it wrapped onto a line of its own) */
.bk-seal-row { display: flex; align-items: baseline; column-gap: .3em; min-width: 0; }
.bk-seal-row > span { flex: 0 1 auto; min-width: 0; }
.bk-seal-row > [data-hash] { flex: 0 1000 auto; min-width: 3.5em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
/* r12: the pay table on a phone: two columns, every word whole. The chance a spin folds into the "Pays" cell as its last line ("1 in 5,400
   spins"); the third column steps aside (it was cut to "Chan…" with no scroll cue) */
.bk-slots-odds, .bk-slots-oddsh { display: none; }
@media (max-width: 759px) {
  .bk-slots-pays table { table-layout: auto; }
  .bk-slots-pays thead th:nth-child(3), .bk-slots-pays tbody td:last-child { display: none; }
  .bk-slots-pays thead th:nth-child(2), .bk-slots-pays tbody td:nth-child(2) { padding-right: 0; text-align: right; }
  .bk-slots-pays .bk-slots-oddsh { display: inline; }
  .bk-slots-pays td small.bk-slots-odds { display: block; margin-top: .1rem; color: var(--lk-soft); font-weight: 700; }
}
/* ============================================================== r13 (15 Nov review, 8.4) */
/* polish 10: the pay lines' markers at full strength (they were 82% see-through: the pink "1" read 4.0:1). The darker rim of each
   marker starts outside its figure, so the dark number sits on the line's own colour: 7:1 or better on every line */
.bk-slots-marks i { opacity: 1; background: radial-gradient(circle at 35% 30%, #fff 0, var(--c) 34%, var(--c) 74%, color-mix(in srgb, var(--c) 72%, #000)); }
/* r21: the Wife's picture no longer pushes the page sideways at 1000-1100 px */
.bk-stagewrap--machine { overflow-x: clip; }
/* r22: at 320 x 568 (her portrait joins the title's row) "The Jar Slots" ran into the 18+ chip: a smaller title there, and the chips
   that are not the 18+ step aside (the rules say both) */
@media (max-width: 359px) and (max-height: 600px) {
  body.bk-play .bk-slots-split .bk-gamehead h1 { font-size: 1.08rem; }
  body.bk-play .bk-slots-split .bk-gamehead > .bk-chiplet { display: none; }
  body.bk-play .bk-slots-split .bk-gamehead .bk-18 { flex: none; }
}
