/* MDT Jackpot. One phone-shaped column: logo, jackpots, rank, the machine, the
   money, the buttons. Built for an iPhone 15 Pro Max in Safari (430 x 740)
   first; a wider screen just centres the same column. */
:root{
  --gold:#f6c443; --gold2:#ffe27a; --gold3:#b8791a; --ink:#12072b; --ink2:#1d0d42; --line:rgba(255,214,90,.28);
  --txt:#f6efff; --dim:#b9a8dc; --hot:#ff5fd2; --cy:#7df9ff; --ok:#4be36a;
  --sans:"Avenir Next","Segoe UI",system-ui,-apple-system,Helvetica,Arial,sans-serif;
  --serif:Georgia,"Times New Roman",serif;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;height:100%;overflow:hidden;background:var(--ink);color:var(--txt);font-family:var(--sans);-webkit-font-smoothing:antialiased;overscroll-behavior:none;touch-action:manipulation;-webkit-user-select:none;user-select:none}
button{font:inherit;color:inherit;border:0;background:none;padding:0;cursor:pointer;touch-action:manipulation}
button:disabled{opacity:.4;cursor:default}
.quid{display:inline-block;vertical-align:-.12em;margin-right:.06em;flex:none}
.q>.quid{width:1.02em;height:1.02em;vertical-align:-.2em;margin-right:.08em}   /* 1.33: the sign as tall as the figures beside it, whatever their size */
.q{white-space:nowrap}

body{background:radial-gradient(120% 70% at 50% 0%,#3a1a8a 0%,#1d0d42 45%,#0b0420 100%);transition:background .6s}
body[data-mode=pots]{background:radial-gradient(120% 70% at 50% 0%,#17803c 0%,#0a3a1d 45%,#04150b 100%)}
body[data-mode=tomb]{background:radial-gradient(120% 70% at 50% 0%,#a56a16 0%,#4a2707 45%,#1a0c02 100%)}
body[data-mode=fish]{background:radial-gradient(120% 70% at 50% 0%,#1287c8 0%,#073a66 45%,#02142a 100%)}
#app{position:fixed;inset:0;padding-top:var(--mdts-h,0px);display:flex;justify-content:center}
.cab{width:100%;max-width:520px;height:100%;display:flex;flex-direction:column;padding:6px max(8px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-right));gap:6px;min-height:0}

/* ---- logo row ---- */
.top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none}
.logo{margin:0;display:flex;align-items:baseline;gap:7px;line-height:1;font-family:var(--serif);font-style:italic;font-weight:700}
.logo small{font:900 12px var(--sans);font-style:normal;letter-spacing:.18em;color:var(--ink);background:linear-gradient(#fff3b0,#f6c443);padding:3px 6px 2px;border-radius:5px;transform:translateY(-5px)}
.logo span{font-size:34px;letter-spacing:.02em;background:linear-gradient(#fffbe0 10%,#ffd95a 45%,#e08a12 85%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 2px 0 #5a2c00) drop-shadow(0 0 14px rgba(255,190,60,.45))}
.tbtn{width:46px;height:44px;border-radius:13px;background:rgba(255,255,255,.07);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;gap:3px;color:var(--gold2);flex:none}
.tbtn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tbtn b{font-size:12px}
.tbtn:active,.pill:active,.round:active{transform:scale(.95)}

/* ---- jackpots ---- */
.jps{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:5px;flex:none}
.jp{border-radius:10px;padding:4px 4px 5px;text-align:center;background:linear-gradient(#2a1466,#160a38);border:1px solid var(--line);box-shadow:inset 0 1px 0 rgba(255,255,255,.12);min-width:0}
.jp small{display:block;font:900 9px var(--sans);letter-spacing:.16em;opacity:.9}
.jp b{display:block;font-size:14px;line-height:1.15;color:#fff;overflow:hidden;text-overflow:ellipsis}
.jp.grand{background:linear-gradient(#7a4b00,#3d2200);border-color:#ffd24a}.jp.grand small{color:#ffd24a}.jp.grand b{font-size:15px;color:var(--gold2)}
.jp.major small{color:#ff9ad5}.jp.minor small{color:#9dff8a}.jp.mini small{color:var(--cy)}
body[data-mode=pots] .jp{background:linear-gradient(#0f5a2c,#062412)} body[data-mode=tomb] .jp{background:linear-gradient(#6b4310,#2a1503)} body[data-mode=fish] .jp{background:linear-gradient(#0a5f9a,#041f3f)}
body[data-mode] .jp.grand{background:linear-gradient(#7a4b00,#3d2200)}

/* ---- rank ---- */
.goal{display:flex;align-items:center;gap:8px;width:100%;min-height:30px;padding:3px 10px;border-radius:999px;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.1);font-size:12px;flex:none}
.goal .rk{font-weight:900;color:var(--gold2);white-space:nowrap}
.goal .bar{flex:1;height:8px;border-radius:9px;background:rgba(255,255,255,.12);overflow:hidden}
.goal .bar i{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,#ff5fd2,#ffd24a);transition:width .5s}
.goal .nx{color:var(--dim);white-space:nowrap}

/* ---- the machine ---- */
.machine{flex:1;min-height:0;display:flex;align-items:center;justify-content:center}
.frame{position:relative;padding:10px;border-radius:20px;background:linear-gradient(145deg,#fff3b0,#f6c443 22%,#9a5a08 50%,#ffd766 76%,#a8650c);box-shadow:0 0 0 2px #2b1203,0 10px 30px rgba(0,0,0,.55),0 0 34px rgba(255,190,60,.28)}
.frame::after{content:"";position:absolute;inset:6px;border-radius:15px;box-shadow:inset 0 0 0 2px #2b1203,inset 0 0 18px rgba(0,0,0,.6);pointer-events:none}
.frame canvas{display:block;border-radius:11px;background:#12072b}
.frame.shake{animation:shake .45s}
.frame.shake2{animation:shake2 .28s}   /* 1.32: a small knock (a sticky wild slamming down) */
@keyframes shake2{0%,100%{transform:none}35%{transform:translateY(3px)}70%{transform:translateY(-1px)}}
.frame.pulse{animation:pulse .7s}
@keyframes shake{0%,100%{transform:none}20%{transform:translate(-5px,3px) rotate(-.6deg)}40%{transform:translate(5px,-3px) rotate(.6deg)}60%{transform:translate(-3px,2px)}80%{transform:translate(3px,-1px)}}
@keyframes pulse{0%{filter:brightness(2.1)}100%{filter:none}}
.fbar{position:absolute;left:0;right:0;top:-36px;z-index:2;display:flex;align-items:center;justify-content:center;gap:10px;height:30px;padding:0 12px;border-radius:999px;background:#12072b;border:1.5px solid var(--gold);font-size:13px;font-weight:700;white-space:nowrap;box-shadow:0 4px 12px rgba(0,0,0,.5)}
.fbar[hidden]{display:none}
body:not([data-mode=base]) .goal{visibility:hidden}
.fbar b{color:var(--gold2)} .fbar .tag{color:var(--ink);background:var(--gold);padding:1px 7px;border-radius:9px;font-weight:900}
.pips{display:inline-flex;gap:4px}.pips i{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3)}.pips i.on{background:var(--gold);box-shadow:0 0 8px var(--gold)}.pips.net i.on{background:var(--cy);box-shadow:0 0 8px var(--cy)}
.banner{position:absolute;inset:10px;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:11px;background:rgba(10,3,28,.72);opacity:0;pointer-events:none;transition:opacity .2s;text-align:center}
.banner.show{opacity:1}
.banner small{font:900 13px var(--sans);letter-spacing:.2em;color:#fff}
.banner b{font:italic 700 46px var(--serif);line-height:1.05;background:linear-gradient(#fffbe0 10%,#ffd95a 45%,#e08a12 85%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 3px 0 #5a2c00);padding:0 10px}
.banner.show b{animation:pop .5s cubic-bezier(.2,1.6,.4,1)}
.banner.jp b{background:linear-gradient(#fff,#ff9ad5 45%,#c2189a);-webkit-background-clip:text;background-clip:text}
.banner.fish b{background:linear-gradient(#fff,#7df9ff 45%,#0a9bd6);-webkit-background-clip:text;background-clip:text}
@keyframes pop{0%{transform:scale(.3);opacity:0}100%{transform:none;opacity:1}}

/* ---- message line ---- */
.msg{flex:none;height:34px;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:800;font-size:15px;text-align:center;white-space:nowrap;overflow:hidden}
.msg.dim{color:var(--dim);font-weight:600;font-size:13px}
.msg.win{color:var(--gold2);font-size:19px;text-shadow:0 0 14px rgba(255,200,60,.6)}
.msg.win small{font-size:11px;color:var(--dim);font-weight:600;text-shadow:none}
.msg.hot{color:#fff;font-size:18px;letter-spacing:.06em;text-shadow:0 0 14px var(--hot)}

/* ---- money ---- */
.panel{flex:none;display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:6px}
.box{border-radius:12px;padding:5px 8px 6px;background:rgba(0,0,0,.36);border:1px solid rgba(255,255,255,.1);min-width:0;text-align:center}
.box small{display:block;font:800 9px var(--sans);letter-spacing:.16em;color:var(--dim)}
.box b{display:block;font-size:17px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.box b i{font-style:normal;opacity:.35}
.box.win b{color:var(--gold2)}
.betrow{display:flex;align-items:center;justify-content:space-between;gap:2px}
.betrow b{flex:1}
.betrow button{width:44px;height:44px;margin:-12px -6px -10px;font-size:24px;font-weight:700;color:var(--gold2);flex:none}
.betrow button:active{transform:scale(.85)}

/* ---- buttons ---- */
.ctl{flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:2px}
.side{display:flex;flex-direction:column;align-items:center;gap:8px;flex:1;min-width:0}
.round{width:58px;height:58px;border-radius:50%;background:linear-gradient(#3a2470,#1a0c40);border:1.5px solid var(--line);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;box-shadow:0 4px 0 #0a0420,inset 0 1px 0 rgba(255,255,255,.18)}
.round svg{width:20px;height:20px;fill:none;stroke:var(--gold2);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.round span{font:900 9px var(--sans);letter-spacing:.08em}
.round.on{background:linear-gradient(#ffe27a,#f6a81f);color:var(--ink);border-color:#fff3b0}.round.on svg{stroke:var(--ink)}
.pill{min-height:44px;width:100%;max-width:150px;padding:4px 8px;border-radius:14px;background:rgba(255,255,255,.07);border:1px solid var(--line);font:900 11px var(--sans);letter-spacing:.08em;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}
.pill span{font-size:12px;color:var(--gold2);letter-spacing:0}
.spin{width:104px;height:104px;border-radius:50%;flex:none;background:radial-gradient(circle at 35% 28%,#b6ff8a,#29c94d 45%,#0b7a2b 100%);border:5px solid #ffe27a;box-shadow:0 0 0 2px #5a2c00,0 7px 0 #063d16,0 12px 22px rgba(0,0,0,.5),inset 0 3px 0 rgba(255,255,255,.5),0 0 26px rgba(75,227,106,.45);display:flex;align-items:center;justify-content:center;transition:transform .08s,box-shadow .08s}
.spin svg{width:56px;height:56px;fill:none;stroke:#fff;stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 0 rgba(0,60,20,.6))}
.spin .stop{display:none;fill:#fff;stroke:none}
.spin:active{transform:translateY(5px);box-shadow:0 0 0 2px #5a2c00,0 2px 0 #063d16,0 6px 12px rgba(0,0,0,.5),inset 0 3px 0 rgba(255,255,255,.5)}
.spin.busy{background:radial-gradient(circle at 35% 28%,#ffb0a0,#e8402c 45%,#8a1408 100%);box-shadow:0 0 0 2px #5a2c00,0 7px 0 #4d0a04,0 12px 22px rgba(0,0,0,.5),inset 0 3px 0 rgba(255,255,255,.5)}
.spin.busy .go{display:none}.spin.busy .stop{display:block}
body:not(.busy) .spin{animation:breathe 2.2s ease-in-out infinite}
@keyframes breathe{50%{transform:scale(1.035)}}   /* 1.17: a size change runs on the graphics chip; a filter repainted every frame */
body.busy .betrow button,body.busy #btnBuy{opacity:.35;pointer-events:none}

/* ---- coins over everything, overlays ---- */
#fx{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:60}
#overlay{position:fixed;inset:0;z-index:50;display:none;align-items:center;justify-content:center;padding:calc(var(--mdts-h,0px) + 12px) 14px calc(14px + env(safe-area-inset-bottom));background:rgba(8,2,24,.86)}
#overlay.open{display:flex;animation:fade .2s}
@keyframes fade{from{opacity:0}}
.bw-card{position:relative;text-align:center;width:100%;max-width:440px;padding:26px 16px 22px}
.bw-rays{position:absolute;left:50%;top:44%;width:150vmax;height:150vmax;margin:-75vmax;background:repeating-conic-gradient(rgba(255,214,90,.16) 0 9deg,transparent 9deg 18deg);animation:turn 22s linear infinite;pointer-events:none;-webkit-mask:radial-gradient(circle,#000 0,transparent 42%);mask:radial-gradient(circle,#000 0,transparent 42%)}
@keyframes turn{to{transform:rotate(1turn)}}
.bw-card h3{position:relative;margin:0 0 4px;font:900 13px var(--sans);letter-spacing:.2em;color:var(--gold2)}
.bw-card h2{position:relative;margin:0;font:italic 700 clamp(44px,13vw,66px) var(--serif);line-height:1;background:linear-gradient(#fffbe0 10%,#ffd95a 45%,#e08a12 85%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 4px 0 #5a2c00) drop-shadow(0 0 24px rgba(255,190,60,.6));animation:pop .6s cubic-bezier(.2,1.6,.4,1)}
.bw.mega h2{background:linear-gradient(#fff,#ff9ad5 45%,#c2189a);-webkit-background-clip:text;background-clip:text}
.bw.epic h2{background:linear-gradient(#fff,#7df9ff 40%,#7a3cff);-webkit-background-clip:text;background-clip:text}
.bw.end h2,.bw.bust h2{font-size:clamp(34px,10vw,48px)}
.bw-amt{position:relative;margin:14px 0 6px;font-weight:900;font-size:clamp(34px,10vw,50px);color:#fff;text-shadow:0 3px 0 #5a2c00,0 0 20px rgba(255,200,60,.7)}
.bw-amt .quid{width:.82em;height:.82em;color:var(--gold2)}
.bw-amt.done{animation:pop .4s cubic-bezier(.2,1.6,.4,1);color:var(--gold2)}
.bw-card p{position:relative;margin:8px 0 0;color:var(--dim);font-size:13px}
.bw.bust .bw-card{background:linear-gradient(#2a1466,#12072b);border:1.5px solid var(--line);border-radius:22px}
.stats{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0 10px}
.stats div{background:rgba(0,0,0,.3);border-radius:12px;padding:8px}
.stats small{display:block;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--dim)}
.stats b{font-size:17px}
.best{color:var(--gold2)!important;margin:4px 0 12px!important}.hintp{font-size:12px!important}

/* pick a bonus */
.pk{width:100%;max-width:560px;text-align:center}
.pk h2{margin:0 0 4px;font:italic 700 34px var(--serif);background:linear-gradient(#fffbe0 10%,#ffd95a 45%,#e08a12 85%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 3px 0 #5a2c00)}
.pk-x{margin:0 0 8px;color:var(--gold2);font-size:13px;font-weight:700}
.pk-row{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.pk-card{display:grid;grid-template-columns:84px 1fr;grid-template-rows:auto auto auto 1fr;column-gap:12px;align-items:center;text-align:left;width:100%;padding:12px 14px;border-radius:18px;border:2px solid var(--gold);box-shadow:0 6px 0 rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.2);animation:rise .45s backwards}
.pk-card:nth-child(2){animation-delay:.08s}.pk-card:nth-child(3){animation-delay:.16s}
@keyframes rise{from{transform:translateY(30px);opacity:0}}
.pk-card.pots{background:linear-gradient(135deg,#1c9a48,#073d1c)}.pk-card.tomb{background:linear-gradient(135deg,#c98a22,#4a2707)}.pk-card.fish{background:linear-gradient(135deg,#1aa0e6,#062f5a)}
.pk-card img{grid-row:1/5;width:84px;height:84px}
.pk-card b{font:italic 700 21px var(--serif);color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.4)}
.pk-card i{font:900 10px var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--gold2);font-style:normal}
.pk-card span{font-size:13px;font-weight:800;color:#fff}
.pk-card em{font-style:normal;font-size:12px;line-height:1.3;color:rgba(255,255,255,.82);align-self:start}
.pk-card:active,.pk-card.chosen{transform:scale(.97);filter:brightness(1.3)}
@media (min-width:700px){.pk-row{flex-direction:row}.pk-card{display:flex;flex-direction:column;text-align:center;gap:4px}.pk-card img{width:110px;height:110px}}

/* ---- sheets ---- */
#sheetHost{position:fixed;inset:0;z-index:80;display:none}
#sheetHost.open{display:block}
.sheet-back{position:absolute;inset:0;background:rgba(6,2,18,.7);animation:fade .2s}
.sheet{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:100%;max-width:520px;max-height:calc(100% - var(--mdts-h,0px) - 14px);display:flex;flex-direction:column;background:linear-gradient(#2a1466,#160a38);border:1px solid var(--line);border-bottom:0;border-radius:22px 22px 0 0;animation:up .28s cubic-bezier(.2,.9,.3,1);-webkit-user-select:text;user-select:text}
@keyframes up{from{transform:translate(-50%,40%);opacity:0}}
.sheet-in{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:20px 16px calc(18px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:10px}
.sheet.tall .sheet-in{min-height:50vh}
.sheet-x{position:absolute;right:6px;top:6px;width:44px;height:44px;font-size:26px;color:var(--dim);z-index:2}
.sheet h2{margin:0 40px 0 0;font:italic 700 26px var(--serif);color:var(--gold2)}
.sheet h3{margin:10px 0 0;font:900 12px var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--gold2)}
.sub{margin:0;color:#d9cdf5;font-size:14px;line-height:1.45}
.btn{min-height:48px;border-radius:14px;padding:10px 14px;font-weight:900;font-size:15px;width:100%}
.btn.primary{background:linear-gradient(#ffe27a,#f6a81f);color:#2b1203;box-shadow:0 4px 0 #8a5206}
.btn.ghost{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16)}
.btn:active{transform:translateY(2px)}
.stack{display:flex;flex-direction:column;gap:10px}
.field{height:50px;border-radius:13px;border:1px solid rgba(255,255,255,.2);background:rgba(0,0,0,.35);color:#fff;font-size:16px;padding:0 14px;width:100%;-webkit-user-select:text;user-select:text}
.err{margin:0;color:#ff9a9a;font-size:14px}.hint{margin:0;text-align:center;color:var(--dim);font-size:14px}.hint a,.sub a{color:var(--gold2)}
.pts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.pt{display:flex;align-items:center;gap:6px;background:rgba(0,0,0,.3);border-radius:12px;padding:6px}
.pt img{width:46px;height:46px;flex:none}
.pt div{display:flex;flex-direction:column;font-size:12px;font-weight:800;min-width:0}
.pt i{display:inline-block;width:13px;font-style:normal;color:var(--dim)}
.feat{display:flex;gap:12px;align-items:center;background:rgba(0,0,0,.3);border-radius:14px;padding:8px 10px}
.feat img,.feat .rbw{width:58px;height:58px;flex:none}
.feat .rbw{border-radius:50% 50% 0 0/100% 100% 0 0;height:30px;background:radial-gradient(circle at 50% 100%,transparent 0 30%,#a36bff 31% 40%,#3fb6ff 41% 50%,#4be36a 51% 60%,#ffe14a 61% 70%,#ff9d2e 71% 80%,#ff4d5e 81% 90%,transparent 91%)}
.feat b{color:var(--gold2)}.feat p{margin:2px 0 0;font-size:13px;line-height:1.4;color:#d9cdf5}
.achs,.ranks,.board{display:flex;flex-direction:column;gap:6px}
.ach,.rank,.brow{display:flex;align-items:center;gap:10px;background:rgba(0,0,0,.3);border-radius:12px;padding:8px 10px;font-size:14px}
.ach>i,.rank>i,.brow>i{width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;font-weight:900;flex:none}
.ach div{flex:1;min-width:0}.ach b{display:block}.ach small{color:var(--dim);font-size:12px}
.ach span{display:flex;align-items:center;gap:3px;font-weight:900;color:var(--gold2);white-space:nowrap}
.ach:not(.on){opacity:.62}.ach.on>i,.rank.on>i{background:var(--ok);color:#04250e}
/* 1.33: the achievement badges */
.ach>i{width:30px;height:30px;border:1.5px solid rgba(255,255,255,.16)}
.ach>i svg{width:16px;height:16px;fill:none;stroke:rgba(255,255,255,.55);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ach.on>i{background:radial-gradient(circle at 35% 30%,#fff3b0,#f6c443 55%,#b8740c);border-color:#fff3b0;box-shadow:0 0 10px rgba(246,196,67,.45)}
.ach.on>i svg{stroke:#3d1f02;stroke-width:3}
.ach.on{background:linear-gradient(90deg,rgba(246,196,67,.14),rgba(0,0,0,.3) 60%)}
.rank b{flex:1}.rank span{color:var(--dim)}.rank.cur{border:1px solid var(--gold)}.rank.on span{color:var(--gold2)}
.brow a{flex:1;color:#fff;font-weight:800;text-decoration:none;overflow:hidden;text-overflow:ellipsis}.brow small{color:var(--dim);font-size:11px}.brow b{color:var(--gold2)}
.brow.me{border:1px solid var(--gold)}.brow .rep{width:32px;height:32px;margin:-6px -6px -6px 0;color:var(--dim)}
.seg{display:flex;gap:6px;background:rgba(0,0,0,.3);padding:4px;border-radius:13px}.seg button{flex:1;min-height:40px;border-radius:10px;font-weight:800;font-size:14px}.seg button.on{background:var(--gold);color:#2b1203}
.autos{display:grid;grid-template-columns:1fr 1fr;gap:8px}

.toast{position:fixed;left:50%;top:calc(var(--mdts-h,0px) + 10px);transform:translate(-50%,-30px);max-width:calc(100% - 24px);padding:10px 16px;border-radius:14px;background:#12072b;border:1.5px solid var(--gold);color:#fff;font-size:14px;font-weight:600;text-align:center;opacity:0;pointer-events:none;transition:.25s;z-index:120;box-shadow:0 8px 24px rgba(0,0,0,.5)}
.toast.show{opacity:1;transform:translate(-50%,0)}
.toast b{color:var(--gold2)}

/* short screens (a phone on its side, a small laptop): tighten everything */
@media (max-height:660px){.logo span{font-size:26px}.tbtn{height:38px}.spin{width:84px;height:84px}.spin svg{width:44px;height:44px}.round{width:50px;height:50px}.msg{height:26px}.jp b{font-size:12px}.cab{gap:4px}}
@media (max-width:360px){.goal .nx{font-size:10px}.box b{font-size:15px}}
@media (prefers-reduced-motion:reduce){.bw-rays,.spin{animation:none!important}}

/* ---- 1.1: Max bet, the (i) button, and the laptop layout ---- */
.tright{display:flex;gap:6px}
.pill.on{border-color:var(--gold);color:var(--gold2)}
aside.wide{display:none}
/* a laptop (1000px+ wide): the same machine, bigger, with your run on the left and recent spins and the paytable
   on the right. Keyboard: Space spins, the arrows change the bet, M is max bet. */
@media (min-width:1000px) and (min-height:560px) and (orientation:landscape){
  #app{gap:18px;padding-left:18px;padding-right:18px}
  .cab{max-width:640px;order:2}
  #sideL{order:1}#sideR{order:3}
  aside.wide{display:flex;flex-direction:column;gap:12px;flex:0 1 330px;min-width:260px;padding:12px 0 14px;overflow-y:auto;scrollbar-width:thin;-webkit-user-select:text;user-select:text}
  .sp{background:rgba(0,0,0,.3);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:12px 14px;display:flex;flex-direction:column;gap:9px}
  .sp h3{margin:0;display:flex;justify-content:space-between;align-items:baseline;gap:8px;font:900 12px var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--gold2)}
  .sp h3 span{font-size:12px;letter-spacing:0;text-transform:none;color:var(--dim);font-weight:700}
  .sp .bar{display:block;height:8px;border-radius:9px;background:rgba(255,255,255,.12);overflow:hidden}
  .sp .bar i{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,#ff5fd2,#ffd24a)}
  .sp-rank{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;padding:0}
  .sp-rank>span:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
  .sp-rank b{font:italic 700 22px var(--serif);color:#fff}.sp-rank small{color:var(--dim);font-size:12px}
  .sp-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}
  .sp-grid div{background:rgba(255,255,255,.05);border-radius:10px;padding:6px 8px;min-width:0}
  .sp-grid small{display:block;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--dim);white-space:nowrap}
  .sp-grid b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .sp-link{align-self:flex-start;min-height:36px;padding:0 12px;border-radius:10px;background:rgba(255,255,255,.07);border:1px solid var(--line);font-size:13px;font-weight:800;color:var(--gold2)}
  .sp-link:hover,.sp-rank:hover b{filter:brightness(1.2)}
  .sp-ach{display:grid;grid-template-columns:1fr auto;column-gap:8px;font-size:13px}
  .sp-ach small{grid-column:1;color:var(--dim);font-size:12px}.sp-ach em{grid-row:1/3;grid-column:2;align-self:center;font-style:normal;font-weight:900;color:var(--gold2);font-size:12px}
  .sp-hist{flex:1 1 auto;min-height:180px}
  .sp-hl{display:flex;flex-direction:column;gap:4px;overflow-y:auto;max-height:46vh}
  .sp-h{display:flex;align-items:center;gap:8px;padding:5px 8px;border-radius:9px;background:rgba(255,255,255,.04);font-size:13px;animation:rise .3s}
  .sp-h>span{flex:1;display:flex;gap:6px;align-items:baseline;min-width:0}.sp-h small{color:var(--dim);font-size:12px}
  .sp-h em{font-style:normal;font-weight:800;color:var(--cy);font-size:12px;white-space:nowrap}
  .sp-h b{color:var(--dim);font-size:14px}.sp-h.won b{color:var(--gold2)}
  .sp-h i{font-style:normal;font-size:11px;font-weight:800;color:var(--ink);background:var(--gold);border-radius:8px;padding:1px 6px}
  .sp-h.bonus{background:rgba(125,249,255,.08);border:1px solid rgba(125,249,255,.25)}
  .sp-none{margin:0;color:var(--dim);font-size:13px}
  .sp-pts{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}
  .sp-pt{display:flex;align-items:center;gap:4px;background:rgba(255,255,255,.04);border-radius:10px;padding:4px}
  .sp-pt img{width:34px;height:34px;flex:none}
  .sp-pt>span{display:grid;grid-template-columns:10px auto;column-gap:3px;font-size:11px;font-weight:800;line-height:1.3;min-width:0}
  .sp-pt i{font-style:normal;color:var(--dim)}
  .sp-keys{margin:0;text-align:center;color:var(--dim);font-size:12px}
  .sp-keys kbd{display:inline-block;min-width:20px;padding:1px 6px;margin:0 1px;border-radius:6px;border:1px solid var(--line);background:rgba(255,255,255,.07);font:700 11px var(--sans);color:var(--txt)}
  /* the machine column can be a little roomier */
  .jp b{font-size:16px}.jp.grand b{font-size:17px}.jp small{font-size:10px}
  .box b{font-size:19px}
  .pill:hover,.round:hover,.tbtn:hover{filter:brightness(1.18)}
  .spin:hover{filter:brightness(1.1)}
}
@media (min-width:1400px) and (min-height:560px) and (orientation:landscape){aside.wide{flex-basis:380px}.cab{max-width:720px}}
@media (min-width:1000px) and (min-height:560px) and (orientation:landscape){
  .sp-h>span,.sp-h b,.sp-h small{white-space:nowrap}
  .sp-h>span{overflow:hidden}
  .sp-link{min-height:40px}
}
@media (min-width:1000px) and (min-height:560px) and (orientation:landscape){
  .sp-pts{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .sp-pt{padding:4px 3px;gap:3px;min-width:0}
  .sp-pt img{width:26px;height:26px}
  .sp-pt>span{grid-template-columns:9px minmax(0,auto);overflow:hidden;white-space:nowrap}
}
@media (min-width:1000px) and (max-width:1199px) and (min-height:560px) and (orientation:landscape){
  #app{gap:12px;padding-left:12px;padding-right:12px}
  aside.wide{flex-basis:250px;min-width:230px}
  .sp{padding:10px 10px}
  .sp-grid b{font-size:14px}
  .sp-pt img{width:22px;height:22px}.sp-pt>span{font-size:10px}
}

/* ---- 1.2: animations ---- */
.fbar.tick{animation:tick .45s cubic-bezier(.2,1.6,.4,1)}
@keyframes tick{0%{transform:scale(1)}40%{transform:scale(1.08);box-shadow:0 0 18px rgba(255,214,90,.55),0 4px 12px rgba(0,0,0,.5)}100%{transform:none}}
.fbar .pips i{transition:background .25s,box-shadow .25s,transform .25s}.fbar .pips i.on{transform:scale(1.15)}
.msg.hot,.msg.win{animation:msgpop .35s cubic-bezier(.2,1.6,.4,1)}
@keyframes msgpop{0%{transform:scale(.7);opacity:0}100%{transform:none;opacity:1}}
.box.win b{transition:transform .15s}
.banner.pots b{background:linear-gradient(#fff,#9dff8a 45%,#17a34a);-webkit-background-clip:text;background-clip:text}
.banner.tomb b{background:linear-gradient(#fffbe0,#ffd24a 45%,#b8791a);-webkit-background-clip:text;background-clip:text}
.banner.show small{animation:fade .4s .1s backwards}
@media (prefers-reduced-motion:reduce){.fbar.tick,.msg.hot,.msg.win{animation:none}}

/* ---- 1.3: the Vault, the bonus symbols, the new recent spins ---- */
.status{display:flex;gap:6px;flex:none}
.status .goal{flex:1.25;min-width:0}
.status .goal .nx{font-size:11px;overflow:hidden;text-overflow:ellipsis}
.vault{flex:1;min-width:0;min-height:30px;display:flex;align-items:center;gap:6px;padding:2px 10px 2px 3px;border-radius:999px;background:linear-gradient(#2a1f48,#140b2a);border:1px solid var(--line);position:relative;overflow:hidden;transition:box-shadow .4s,border-color .4s}
.vault>img{width:28px;height:28px;flex:none}
.vault>span{display:flex;flex-direction:column;line-height:1;min-width:0}
.vault small{font:900 8px var(--sans);letter-spacing:.18em;color:var(--dim)}
.vault b{font-size:13px;color:var(--gold2);white-space:nowrap}
.vault .vbar{position:absolute;left:34px;right:10px;bottom:3px;height:3px;border-radius:3px;background:rgba(255,255,255,.1);overflow:hidden}
.vault .vbar i,.sp-vault .vbar i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#ffd24a,#ff8a1f,#ff3d6e);transition:width .5s}
.vault.grow>img{animation:vgrow .45s}
@keyframes vgrow{40%{transform:scale(1.25) rotate(-12deg)}}
.vault.warm{border-color:#ffb43d;box-shadow:0 0 10px rgba(255,180,60,.35)}
.vault.hot{border-color:#ff8a1f;box-shadow:0 0 14px rgba(255,120,30,.55);animation:vglow 1.6s ease-in-out infinite}
.vault.blaze{border-color:#ff3d6e;box-shadow:0 0 18px rgba(255,60,110,.7);animation:vglow .8s ease-in-out infinite}
.vault.hot b,.vault.blaze b{color:#fff}
@keyframes vglow{50%{filter:brightness(1.3)}}
body:not([data-mode=base]) .status{visibility:hidden}
body:not([data-mode=base]) .goal{visibility:inherit}

/* the Vault cracking */
.bw.vw h2{font-size:clamp(38px,11vw,58px)}
.vw-door{position:relative;width:min(46vw,190px);aspect-ratio:1;margin:0 auto 6px;perspective:600px}
.vw-door img{width:100%;height:100%;animation:vshake .14s linear infinite;filter:drop-shadow(0 0 24px rgba(255,200,80,.6))}
.vw-door.open img{animation:vopen .9s cubic-bezier(.2,1.4,.4,1) forwards}
.vw-door::after{content:"";position:absolute;inset:18%;border-radius:50%;background:radial-gradient(circle,#fff 0,#ffe27a 35%,rgba(255,200,60,0) 70%);opacity:0;pointer-events:none}
.vw-door.open::after{animation:vlight 1.2s ease-out forwards}
@keyframes vshake{25%{transform:translate(-2px,1px) rotate(-1.5deg)}75%{transform:translate(2px,-1px) rotate(1.5deg)}}
@keyframes vopen{0%{transform:scale(1)}30%{transform:scale(1.25) rotateY(0)}100%{transform:scale(1.05) rotateY(-62deg);opacity:.9}}
@keyframes vlight{0%{opacity:0;transform:scale(.4)}35%{opacity:1;transform:scale(1.5)}100%{opacity:.55;transform:scale(1.25)}}

/* the Bonus symbols decided the bonus */
#overlay.is{flex-direction:column}
.is-card{position:relative;text-align:center;padding:10px}
.is-card img{position:relative;width:min(52vw,220px);animation:pop .6s cubic-bezier(.2,1.6,.4,1);filter:drop-shadow(0 0 30px rgba(255,214,90,.6))}
.is-card h3{position:relative;margin:6px 0 0;font:900 13px var(--sans);letter-spacing:.2em;color:#fff}
.is-card h2{position:relative;margin:2px 0 0;font:italic 700 clamp(36px,10vw,52px) var(--serif);line-height:1.05;background:linear-gradient(#fffbe0 10%,#ffd95a 45%,#e08a12 85%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 3px 0 #5a2c00);animation:rise .5s .15s backwards}
.is.pots .is-card h2{background-image:linear-gradient(#fff,#9dff8a 45%,#17a34a)}.is.fish .is-card h2{background-image:linear-gradient(#fff,#7df9ff 45%,#0a9bd6)}
.is-card p{position:relative;margin:4px 0 0;color:var(--gold2);font-weight:800;animation:fade .4s .4s backwards}
.feat .bsyms{display:flex;flex:none;width:58px;position:relative;height:58px}
.feat .bsyms img{position:absolute;width:38px;height:38px}.feat .bsyms img:nth-child(1){left:0;top:0}.feat .bsyms img:nth-child(2){right:0;top:4px}.feat .bsyms img:nth-child(3){left:10px;bottom:0}
.vs-top{display:flex;align-items:center;gap:12px}.vs-top img{width:72px;height:72px}.vs-top h2{margin:0}

@media (min-width:1000px) and (min-height:560px) and (orientation:landscape){
  .sp-vault{flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px;text-align:left;width:100%;position:relative;cursor:pointer}
  .sp-vault>img{width:52px;height:52px;flex:none}
  .sp-vault>span{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
  .sp-vault small{font:900 11px var(--sans);letter-spacing:.16em;color:var(--gold2)}
  .sp-vault b{font-size:22px;color:#fff}
  .sp-vault em{font-style:normal;font-size:12px;color:var(--dim)}
  .sp-vault .vbar{display:block;flex-basis:100%;height:6px;border-radius:6px;background:rgba(255,255,255,.1);overflow:hidden}
  .sp-vault.hot{border-color:#ff8a1f;box-shadow:0 0 18px rgba(255,120,30,.35)}.sp-vault.blaze{border-color:#ff3d6e;box-shadow:0 0 22px rgba(255,60,110,.45)}
  /* recent spins */
  .sp-hist h3 .up{color:var(--ok)}.sp-hist h3 .down{color:#ff8a8a}
  .hchart{display:flex;align-items:flex-end;gap:3px;height:54px;padding:4px 2px 0;border-bottom:1px solid rgba(255,255,255,.12)}
  .hchart i{flex:1;min-height:3px;border-radius:3px 3px 0 0;background:rgba(255,255,255,.14);transition:height .4s}
  .hchart i.w{background:linear-gradient(#ffe27a,#d08a14)}.hchart i.big{background:linear-gradient(#ff9ad5,#c2189a)}.hchart i.b{background:linear-gradient(#7df9ff,#0a9bd6)}.hchart i.v{background:linear-gradient(#fff,#ff8a1f)}
  .hchart i:last-child{box-shadow:0 0 8px rgba(255,255,255,.4)}
  .hsum{margin:-2px 0 0;font-size:12px;color:var(--dim)}
  .sp-hl{gap:5px}
  .hr{display:flex;align-items:center;gap:9px;padding:6px 8px;border-radius:12px;background:rgba(255,255,255,.05);animation:rise .35s}
  .hr .hi{width:34px;height:34px;flex:none;border-radius:10px;background:rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center}
  .hr .hi img{width:32px;height:32px}
  .hr .ht{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
  .hr .ht b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .hr .ht small{font-size:11.5px;color:var(--dim);white-space:nowrap}
  .hr .hv{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex:none}
  .hr .hv b{color:var(--gold2);font-size:14px;white-space:nowrap}.hr .hv b.z{color:var(--dim)}
  .hr .hv em{font-style:normal;font-size:10.5px;font-weight:900;color:var(--ink);background:var(--gold);border-radius:8px;padding:0 6px}
  .hr.big{background:linear-gradient(90deg,rgba(255,95,210,.16),rgba(255,255,255,.04));border:1px solid rgba(255,154,213,.35)}
  .hr.bon{background:linear-gradient(90deg,rgba(125,249,255,.14),rgba(255,255,255,.04));border:1px solid rgba(125,249,255,.3)}
  .hr.vlt{background:linear-gradient(90deg,rgba(255,138,31,.22),rgba(255,255,255,.04));border:1px solid rgba(255,180,60,.5)}
  .hr.dry{padding:3px 8px;background:none;animation:none}.hr.dry .hi{width:34px;height:2px;background:rgba(255,255,255,.15);border-radius:2px}.hr.dry .ht{font-size:12px;color:var(--dim);font-style:italic}
}

/* ---- 1.4: the Vault as a real safe ---- */
.status{align-items:stretch}
.status .goal{flex:1;flex-direction:column;align-items:stretch;justify-content:center;gap:4px;border-radius:16px;padding:6px 12px;min-height:58px}
.status .goal .bar{flex:none;width:100%}
.status .goal .rk{font-size:14px}
.vault{flex:1.15;min-height:58px;padding:0 10px 0 2px;border-radius:16px;gap:4px;overflow:visible}
.vault canvas{flex:none;margin:-10px -4px -6px -6px;display:block}
.vault>span{gap:3px}
.vault small{font-size:9px;letter-spacing:.14em;color:var(--gold2)}
.vault b{font-size:17px;color:#fff}
.vault.t1{border-color:#c9d4e6}.vault.t2{border-color:#ffd24a;box-shadow:0 0 12px rgba(255,210,80,.35)}
.vault.t3{border-color:#7df9ff;box-shadow:0 0 14px rgba(125,249,255,.45);animation:vglow 1.4s ease-in-out infinite}
.vault.t4{border-color:#ff3d6e;box-shadow:0 0 18px rgba(255,61,110,.55);animation:vglow .9s ease-in-out infinite}
.vtiers{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.vtiers span{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 2px;border-radius:12px;background:rgba(0,0,0,.3);font-size:12px;font-weight:800;opacity:.55}
.vtiers span.got{opacity:.85}.vtiers span.on{opacity:1;outline:1.5px solid var(--gold)}
.vtiers i{width:26px;height:20px;border-radius:5px;border:1px solid rgba(0,0,0,.5)}
.vtiers small{font-size:10px;color:var(--dim)}
@media (max-height:660px){.status .goal,.vault{min-height:50px}}
@media (min-width:1000px) and (min-height:560px) and (orientation:landscape){
  .sp-vault{flex-direction:column;align-items:stretch;gap:4px;padding:8px 12px 12px}
  .sp-vault #vbHost{display:flex;justify-content:center}
  .sp-vault canvas{display:block}
  .sp-vault .vb-txt{display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}
  .sp-vault .vb-txt small{font:900 11px var(--sans);letter-spacing:.16em;color:var(--gold2)}
  .sp-vault .vb-txt b{font-size:26px;color:#fff}
  .sp-vault .vb-txt em{font-style:normal;font-size:12px;color:var(--dim)}
}
@media (min-width:1000px) and (min-height:560px) and (orientation:landscape){
  .status .vault{display:none}
  .status .goal{flex-direction:row;align-items:center;min-height:32px;padding:3px 12px;border-radius:999px}
  .status .goal .bar{flex:1;width:auto}
}

/* ---- 1.5: the free-spins bar, the Bonus Wheel, the Vault as a free game ---- */
.fbar.hud{top:-44px;height:38px;gap:8px;padding:0 6px 0 14px;justify-content:space-between;font-size:12px;font-weight:800;overflow:visible}
.hud .hn{font:italic 700 15px var(--serif);color:var(--gold2);white-space:nowrap}
.hud .hl{display:flex;align-items:baseline;gap:4px;white-space:nowrap}
.hud .hl em{font-style:normal;font-size:22px;font-weight:900;color:#fff;min-width:14px;text-align:right;display:inline-block}
.hud .hl small{font-size:11px;color:var(--dim);text-transform:uppercase;letter-spacing:.08em}
.hud .hm{display:flex;align-items:center;gap:2px;background:rgba(255,255,255,.08);border-radius:999px;padding:3px 9px;font-size:15px;font-weight:900;color:#fff;white-space:nowrap}
.hud .hm small{font-size:11px;color:var(--dim);font-weight:700}
.hud .pips i{width:12px;height:12px}
.hud .maxed{font-size:11px;font-weight:900;color:var(--ink);background:var(--cy);border-radius:8px;padding:1px 6px}
.ladder{display:flex;gap:3px}
.ladder i{font-style:normal;font-size:11px;font-weight:900;padding:2px 5px;border-radius:7px;color:rgba(255,255,255,.4);background:rgba(255,255,255,.06);transition:all .3s}
.ladder i.got{color:rgba(125,249,255,.6)}
.ladder i.on{color:#04203a;background:linear-gradient(#e6fbff,#3fc6ff);box-shadow:0 0 10px rgba(125,249,255,.7);transform:scale(1.15)}
.hud .hm:has(.ladder){background:none;padding:0}
.hud .bump{animation:hbump .5s cubic-bezier(.2,1.6,.4,1)}
@keyframes hbump{0%{transform:scale(1.6);color:#ffe27a;text-shadow:0 0 12px #ffd24a}100%{transform:none}}
.hud .tick{animation:htick .4s ease-out}
@keyframes htick{0%{transform:translateY(-6px);opacity:.2}100%{transform:none;opacity:1}}
.fbar.hud.fish{border-color:#7df9ff}.fbar.hud.pots{border-color:#7dff8a}.fbar.hud.tomb{border-color:#ffd24a}
@media (max-width:480px){.hud .hn{display:none}.fbar.hud{padding-left:10px}}

/* the Bonus Wheel */
#overlay.wheel{flex-direction:column}
.wh{text-align:center;position:relative}
.wh h3{margin:0;font:900 12px var(--sans);letter-spacing:.2em;color:#fff}
.wh h2{margin:2px 0 12px;font:italic 700 34px var(--serif);background:linear-gradient(#fffbe0 10%,#ffd95a 45%,#e08a12 85%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 3px 0 #5a2c00)}
.wh-box{position:relative;margin:0 auto;filter:drop-shadow(0 10px 24px rgba(0,0,0,.6)) drop-shadow(0 0 22px rgba(255,200,80,.35));animation:pop .5s cubic-bezier(.2,1.6,.4,1)}
.wh-box canvas{display:block;border-radius:50%}
.wh-ptr{position:absolute;left:50%;top:-14px;width:30px;height:36px;margin-left:-15px;background:linear-gradient(#fff6c0,#f2a81f);clip-path:polygon(50% 100%,0 0,100% 0);filter:drop-shadow(0 2px 0 #5a2c00);transform-origin:50% 0}
.wh-ptr.tick{animation:ptick .12s}
@keyframes ptick{50%{transform:rotate(-14deg)}}
.wh-hub{position:absolute;left:50%;top:50%;width:22%;height:22%;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff6c0,#f2b31f 55%,#8a5206);border:3px solid #2b1203;pointer-events:none}
.wh-box.won{animation:whwon .8s ease-in-out 2}
@keyframes whwon{50%{filter:drop-shadow(0 0 40px rgba(255,230,120,.95)) brightness(1.2)}}
.wh p{margin:14px 0 0;min-height:44px;color:var(--dim);font-weight:700}
.wh p b{display:block;font:italic 700 30px var(--serif);color:#fff;animation:pop .5s cubic-bezier(.2,1.6,.4,1)}
.wh p span{display:block;color:var(--gold2);font-size:13px;letter-spacing:.08em;text-transform:uppercase;animation:fade .4s .2s backwards}
.wheel.pots .wh p b{color:#9dff8a}.wheel.tomb .wh p b{color:#ffd24a}.wheel.fish .wh p b{color:#7df9ff}

/* the Vault label */
.vault em{font-style:normal;font-size:9.5px;color:var(--dim);white-space:nowrap}
.vault b{font-size:20px}
.sp-vault .vbar{display:block;height:8px;width:100%;border-radius:8px;background:rgba(255,255,255,.1);overflow:hidden;margin:4px 0 2px}
.sp-vault .vbar i{display:block;height:100%;background:linear-gradient(90deg,#ffd24a,#ff8a1f,#ff3d6e);border-radius:8px}
.vothers{display:flex;flex-wrap:wrap;gap:6px}.vothers span{background:rgba(0,0,0,.3);border-radius:10px;padding:6px 10px;font-size:13px}.vothers b{color:var(--gold2)}
.vw-door.open img{animation:vopen .9s cubic-bezier(.2,1.4,.4,1) forwards}

/* ---- 1.6: Vault levels, no percentages ---- */
.vault em{display:flex;gap:3px;margin-top:2px}
.vault em i,.sp-vault .vpips i{width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2)}
.vault em i.on,.sp-vault .vpips i.on{border-color:rgba(255,255,255,.7);box-shadow:0 0 6px rgba(255,220,120,.6)}
.vault.lvlup{animation:lvlup 1.1s cubic-bezier(.2,1.6,.4,1)}
@keyframes lvlup{0%{transform:scale(1)}20%{transform:scale(1.12);box-shadow:0 0 30px rgba(255,220,120,.9)}100%{transform:none}}
.sp-vault .vpips{display:flex;gap:6px;justify-content:center;margin:4px 0 2px}
.sp-vault .vpips i{width:14px;height:14px}

/* ---------- 1.7: suspense, the Super Bonus, the starting bet ---------- */
.banner.last b{font-size:40px;animation:pop .5s cubic-bezier(.2,1.6,.4,1),lastbeat .56s .5s ease-in-out 2}
.banner.last small{color:#ffe27a}
@keyframes lastbeat{30%{transform:scale(1.12)}60%{transform:scale(.98)}}
.msg.super{color:#fff;font-size:18px;letter-spacing:.06em;animation:msgpop .35s cubic-bezier(.2,1.6,.4,1),suhue 1.2s linear infinite}
@keyframes suhue{0%{text-shadow:0 0 14px #ff4d5e}25%{text-shadow:0 0 14px #ffe14a}50%{text-shadow:0 0 14px #4be36a}75%{text-shadow:0 0 14px #3fb6ff}100%{text-shadow:0 0 14px #ff4d5e}}
.banner.super b,.bw.su h2,.bw.sup h3{background:linear-gradient(90deg,#ff4d5e,#ff9d2e,#ffe14a,#4be36a,#3fb6ff,#a36bff,#ff4d5e);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:rbslide 2s linear infinite}
.banner.super b{animation:pop .5s cubic-bezier(.2,1.6,.4,1),rbslide 2s linear infinite}
@keyframes rbslide{to{background-position:200% 0}}
/* the machine's frame shimmers rainbow for the whole Super Bonus */
.frame::before{content:"";position:absolute;inset:-5px;border-radius:24px;pointer-events:none;opacity:0;transition:opacity .5s}
body.super .frame::before{opacity:1;animation:suglow 1.8s linear infinite}
@keyframes suglow{0%{box-shadow:0 0 22px 4px #ff4d5e}20%{box-shadow:0 0 22px 4px #ffe14a}40%{box-shadow:0 0 22px 4px #4be36a}60%{box-shadow:0 0 22px 4px #3fb6ff}80%{box-shadow:0 0 22px 4px #a36bff}100%{box-shadow:0 0 22px 4px #ff4d5e}}
.hud .hx{flex:none;font:900 13px var(--sans);color:#1a0626;background:linear-gradient(90deg,#ff4d5e,#ffe14a,#4be36a,#3fb6ff,#a36bff);background-size:200% 100%;animation:rbslide 2s linear infinite;border-radius:999px;padding:3px 8px}
.bw.su h2{font-size:clamp(46px,14vw,70px);filter:drop-shadow(0 3px 0 #3a0640)}
.bw.su .bw-rays{background:repeating-conic-gradient(rgba(255,77,94,.16) 0 6deg,rgba(255,225,74,.16) 6deg 12deg,rgba(75,227,106,.16) 12deg 18deg,rgba(63,182,255,.16) 18deg 24deg,rgba(163,107,255,.16) 24deg 30deg,transparent 30deg 36deg)}
.su-row{position:relative;display:flex;justify-content:center;gap:10px;margin:18px 0 6px}
.su-row span{display:flex;flex-direction:column;align-items:center;gap:4px;width:30%;max-width:120px;opacity:.25;filter:grayscale(1);transform:scale(.8);transition:all .45s cubic-bezier(.2,1.6,.4,1)}
.su-row span.on{opacity:1;filter:none;transform:none}
.su-row img{width:100%;height:auto}
.su-row small{font-size:11px;font-weight:800;color:#fff;letter-spacing:.04em}
.bw-card .su-x{color:#fff;font-weight:700;font-size:15px}
.bw-card .su-m{font:italic 700 26px var(--serif);color:#fff;opacity:0;transform:scale(.4);transition:all .5s cubic-bezier(.2,1.6,.4,1)}
.bw-card .su-m.on{opacity:1;transform:none}
.su-m b{font:900 34px var(--sans);color:#ffe14a;text-shadow:0 0 18px #ff4d8a}
.feat.su b{color:#ff9ad5}
/* the starting bet chips (the Skint card, the new-run sheet) */
.sbl{position:relative;margin:6px 0 6px!important;font-size:12px!important;letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
.sbets{position:relative;display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:0 0 14px}
.sbets button{min-width:58px;height:44px;padding:0 10px;border-radius:999px;border:1.5px solid var(--line);background:rgba(0,0,0,.3);color:#fff;font:800 14px var(--sans);cursor:pointer}
.sbets button.on{background:linear-gradient(#fff3b0,#f6c443);color:#2b1203;border-color:#fff3b0;box-shadow:0 0 14px rgba(255,214,90,.5)}
.sbets .quid{width:11px;height:11px}
@media (prefers-reduced-motion:reduce){.banner.last b,.msg.super,.banner.super b,.bw.su h2,body.super .frame::before,.hud .hx{animation:none}}

/* ---------- 1.9: the cabinet (the owner: "improve the visuals of the slot so it looks more like a real one... impress
   me"). The scenery is #scene (scene.js) behind everything; this layer dresses the machine itself. ---------- */
#scene{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
#app{z-index:1}
/* the frame: thicker polished gold with the marquee bulbs (#bulbs) set into it */
.frame{padding:14px;border-radius:20px;background:linear-gradient(145deg,#fff6c8 0%,#f6c443 14%,#a0600a 30%,#ffe08a 46%,#c07a12 62%,#fff0a8 78%,#8a5206 100%);box-shadow:0 0 0 2px #2b1203,0 0 0 4px rgba(255,214,90,.35),0 14px 34px rgba(0,0,0,.65),0 0 40px rgba(255,190,60,.3)}
.frame::after{inset:11px;border-radius:12px;box-shadow:inset 0 0 0 2px #2b1203,inset 0 0 0 3px rgba(255,240,180,.5),inset 0 0 22px rgba(0,0,0,.7)}
#bulbs{position:absolute;left:0;top:0;border-radius:0;background:none;pointer-events:none}
#reels{position:relative;z-index:1;border-radius:9px}
.banner{inset:14px}
/* jackpot plaques: bevelled gold rims, a jewel colour each, the amount lit, a shine sweeping across */
#jps .jp{position:relative;overflow:hidden;padding:4px 3px 5px;border:2px solid transparent;border-radius:12px;box-shadow:0 4px 10px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.25),inset 0 -6px 12px rgba(0,0,0,.35)}
#jps .jp.grand{background:radial-gradient(120% 90% at 50% 0%,#a86a10,#4a2600 70%) padding-box,linear-gradient(160deg,#fff6c8,#e0a52a 30%,#7a4300 55%,#ffe08a 80%,#a8650c) border-box}
#jps .jp.major{background:radial-gradient(120% 90% at 50% 0%,#a0186a,#3a0428 70%) padding-box,linear-gradient(160deg,#ffe0f2,#e05ab0 30%,#6a0a44 55%,#ffb0de 80%,#8a1458) border-box}
#jps .jp.minor{background:radial-gradient(120% 90% at 50% 0%,#1f8a3c,#06301a 70%) padding-box,linear-gradient(160deg,#e6ffe0,#5ad46a 30%,#0a4a1c 55%,#b8ffb0 80%,#167a30) border-box}
#jps .jp.mini{background:radial-gradient(120% 90% at 50% 0%,#127a9a,#032a3c 70%) padding-box,linear-gradient(160deg,#e6fdff,#4ad4f0 30%,#044a64 55%,#b0f4ff 80%,#0a6a8a) border-box}
#jps .jp small{color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.6);opacity:.95}
#jps .jp b{font-weight:900;color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.55),0 0 10px rgba(255,255,255,.35)}
#jps .jp.grand b{color:#ffe27a;text-shadow:0 2px 0 #4a2600,0 0 12px rgba(255,210,90,.75)}
#jps .jp::after{will-change:transform;content:"";position:absolute;inset:-2px;background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.42) 50%,transparent 62%);transform:translateX(-130%);animation:jpshine 6s ease-in-out infinite;pointer-events:none}
#jps .jp.major::after{animation-delay:.25s}#jps .jp.minor::after{animation-delay:.5s}#jps .jp.mini::after{animation-delay:.75s}
@keyframes jpshine{0%,70%{transform:translateX(-130%)}85%,100%{transform:translateX(130%)}}
/* the logo: a light sweeping across the gold */
.logo span{background:linear-gradient(105deg,rgba(255,255,255,0) 42%,rgba(255,255,255,.95) 50%,rgba(255,255,255,0) 58%),linear-gradient(#fffbe0 10%,#ffd95a 45%,#e08a12 85%);background-size:320% 100%,100% 100%;background-repeat:no-repeat;background-position:160% 0,0 0;-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 2px 0 #7a3c00) drop-shadow(0 3px 0 #3a1a00) drop-shadow(0 0 16px rgba(255,190,60,.55));}
.logo span.shine{animation:logoshine 1.3s ease-out 1}
@keyframes logoshine{0%{background-position:160% 0,0 0}100%{background-position:-60% 0,0 0}}
.logo small{box-shadow:0 2px 0 #7a4300,inset 0 1px 0 #fff}
/* the console: money boxes like lit displays set in gold, round buttons with gold rims */
.panel .box{border:1.5px solid transparent;background:linear-gradient(#08021a,#1a0a3a) padding-box,linear-gradient(#fff3b0,#9a5a08 45%,#ffd766 75%,#7a4300) border-box;box-shadow:inset 0 3px 8px rgba(0,0,0,.8),0 3px 8px rgba(0,0,0,.4)}
.panel .box small{color:var(--gold2);opacity:.85}
.panel .box b{text-shadow:0 0 10px rgba(255,255,255,.25)}
.panel .box.win:has(.q){box-shadow:inset 0 3px 8px rgba(0,0,0,.8),0 0 18px rgba(255,210,90,.55)}
.panel .box.win:has(.q) b{text-shadow:0 0 14px rgba(255,210,90,.9)}
@keyframes winlit{50%{filter:brightness(1.25)}}
.round{border:2px solid transparent;background:radial-gradient(circle at 50% 30%,#5a36a8,#1a0c40 75%) padding-box,linear-gradient(#fff3b0,#a0600a 50%,#ffd766) border-box;box-shadow:0 4px 0 #0a0420,0 6px 12px rgba(0,0,0,.45),inset 0 2px 0 rgba(255,255,255,.2)}
.round.on{background:radial-gradient(circle at 50% 30%,#fff3b0,#f6a81f 75%) padding-box,linear-gradient(#fff,#a0600a 50%,#ffd766) border-box}
.pill{border:1.5px solid transparent;background:linear-gradient(#2a1466,#120634) padding-box,linear-gradient(#fff3b0,#9a5a08 50%,#ffd766) border-box;box-shadow:0 3px 0 #0a0420,inset 0 1px 0 rgba(255,255,255,.15)}
.pill:disabled{opacity:.5}
/* the spin button: a ring of light turning round it while it waits */
.spin{position:relative}
.spin::before{content:"";position:absolute;inset:-11px;border-radius:50%;background:conic-gradient(from 0deg,rgba(255,226,122,0),rgba(255,240,170,.95) 12%,rgba(255,226,122,0) 26%,rgba(255,226,122,0) 50%,rgba(255,240,170,.95) 62%,rgba(255,226,122,0) 76%);-webkit-mask:radial-gradient(circle,transparent 60%,#000 62%,#000 70%,transparent 72%);mask:radial-gradient(circle,transparent 60%,#000 62%,#000 70%,transparent 72%);animation:turn 3s linear infinite;z-index:-1;pointer-events:none}
body.busy .spin::before{animation-duration:.7s}
/* rank and Vault pills to match */
.status .goal,.status .vault{border:1.5px solid transparent;background:linear-gradient(#1c0b44,#0c0424) padding-box,linear-gradient(#ffe9a0,#7a4300 50%,#d0a03a) border-box;box-shadow:0 3px 8px rgba(0,0,0,.4)}
.tbtn{border:1.5px solid transparent;background:linear-gradient(#2a1466,#120634) padding-box,linear-gradient(#fff3b0,#7a4300 55%,#d0a03a) border-box}
.msg.win{text-shadow:0 0 14px rgba(255,200,60,.8),0 2px 0 rgba(0,0,0,.6)}
.msg.dim{text-shadow:0 1px 2px rgba(0,0,0,.8);color:#e4d8ff}
@media (prefers-reduced-motion:reduce){#jps .jp::after,.logo span,.spin::before,.panel .box.win:has(.q){animation:none}}
/* 1.12: the special pots' banner in Pots o' Gold */
.banner.mod b{background:linear-gradient(90deg,#ff7ad9,#ffe14a,#7df9ff,#ff7ad9);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:pop .5s cubic-bezier(.2,1.6,.4,1),rbslide 1.6s linear infinite}
.banner.mod small{color:#ffd0f0}

/* ---------- 1.15: Jackpot Jam, the music game (jam.js). body.jam swaps the slot's parts for the jam's ---------- */
.jamb{color:#ff7af0;animation:jamglow 2.4s ease-in-out infinite}
@keyframes jamglow{50%{color:#fff}}
.jamtop,.jampanel,.jamonly{display:none}
body.jam .jps,body.jam .status,body.jam .panel:not(.jampanel),body.jam .side>:not(.jamonly),body.jam .jamb{display:none!important}
body.jam .jamtop{display:block;flex:none}
body.jam .panel.jampanel{display:grid}
body.jam .jamonly{display:flex}
body.jam .machine{margin-top:52px}
.jamtop{padding:6px 10px 9px;border-radius:16px;border:1.5px solid transparent;background:linear-gradient(#170730,#07020f) padding-box,linear-gradient(90deg,#ff3df0,#3dfcff,#ffe14a,#ff3df0) border-box;box-shadow:0 0 14px rgba(255,61,240,.4)}
.jt-row{display:flex;align-items:baseline;gap:8px;min-height:26px}
.jt-song{font:italic 700 22px var(--serif);color:#fff;text-shadow:0 0 12px var(--sc),0 0 3px var(--sc);white-space:nowrap}
.jt-bpm{font:800 11px var(--sans);letter-spacing:.12em;color:#9fe9ff;white-space:nowrap}
.jt-combo{margin-left:auto;font:900 20px var(--sans);color:#ffe14a;text-shadow:0 0 10px #ff9d2e}
.jt-combo.hot{color:#fff;text-shadow:0 0 8px #ff9d2e,0 0 22px #ff4d5e;animation:hbump .5s cubic-bezier(.2,1.6,.4,1)}
.jt-bar{display:flex;gap:4px;margin-top:7px}
.jt-bar .seg{position:relative;flex:1;height:13px;border-radius:7px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);transition:background .3s,box-shadow .3s}
.jt-bar .seg.done{background:linear-gradient(90deg,#ff3df0,#3dfcff);border-color:transparent;box-shadow:0 0 10px rgba(61,252,255,.6)}
.jt-bar .seg.cur{border-color:#fff;box-shadow:0 0 8px #fff}
.jt-bar .seg.pop{animation:segpop .55s cubic-bezier(.2,1.6,.4,1)}
@keyframes segpop{0%{transform:scaleY(2.4);filter:brightness(2.6)}100%{transform:none}}
.jt-bar .seg em{position:absolute;top:-14px;left:50%;transform:translateX(-50%);font-style:normal;font-size:11px;color:#ffe14a;text-shadow:0 0 6px #ff9d2e}
.jt-bar.drain{animation:drain .8s}
@keyframes drain{0%{filter:brightness(2) hue-rotate(-70deg)}100%{filter:none}}
/* the step you need, above the reels */
.fbar.jamhud{top:-52px;height:46px;padding:0 10px;justify-content:center;background:#0b0218;border:1.5px solid #ff3df0;border-radius:16px;box-shadow:0 0 14px rgba(255,61,240,.5)}
.jt-need{display:flex;align-items:center;gap:8px;white-space:nowrap}
.jt-need small{font:900 10px var(--sans);letter-spacing:.18em;color:#ff9ad5}
.jt-need .ji{display:flex}.jt-need .ji img{width:30px;height:30px;margin:0 -2px;filter:drop-shadow(0 0 6px rgba(255,255,255,.45))}
.jt-need b{font:900 16px var(--sans);color:#fff;letter-spacing:.04em;text-shadow:0 0 10px #3dfcff}
.jt-need.t2 b{color:#ffe14a;text-shadow:0 0 10px #ff9d2e}.jt-need.t3 b{color:#ff6b7c;text-shadow:0 0 12px #ff4d5e}
.jt-need.in{animation:needin .45s cubic-bezier(.2,1.6,.4,1)}
@keyframes needin{0%{transform:translateY(-14px) scale(.7);opacity:0}}
.jt-need.dead b{animation:jblink 1s ease-in-out infinite}
@keyframes jblink{50%{opacity:.35}}
@media (max-width:390px){.jt-need .ji img{width:24px;height:24px}.jt-need b{font-size:14px}}
/* the machine in neon, pulsing with the beat */
body.jam .frame{background:linear-gradient(145deg,#ff3df0,#7a1aff 30%,#3dfcff 62%,#ff3df0);box-shadow:0 0 0 2px #12001f,0 0 22px rgba(255,61,240,.45),0 14px 34px rgba(0,0,0,.6)}
.frame.jamhit #reels{animation:jamhit .5s}
@keyframes jamhit{0%{filter:brightness(1.9) saturate(1.6)}100%{filter:none}}
.frame.jamlvl #reels{animation:jamlvl 1s}
@keyframes jamlvl{0%,40%{filter:brightness(2.2)}20%,60%{filter:brightness(1.4) hue-rotate(140deg)}100%{filter:none}}
.frame.jammiss #reels{animation:jammiss 1.1s}
@keyframes jammiss{0%{filter:grayscale(1) sepia(1) hue-rotate(-50deg) saturate(5) brightness(.7)}60%{filter:grayscale(.8) brightness(.6)}100%{filter:none}}
/* the stamps: NICE!, BOOM!, LEVEL UP!, MISSED!, 3 2 1 GO! */
.jamstamp{position:absolute;inset:14px;z-index:4;display:none;align-items:center;justify-content:center;pointer-events:none;text-align:center;font:italic 900 clamp(40px,12vw,64px) var(--serif);color:#fff;-webkit-text-stroke:1.5px var(--sc,#ff3df0);text-shadow:0 0 10px var(--sc,#ff3df0),0 0 34px var(--sc,#ff3df0),0 4px 0 rgba(0,0,0,.6);opacity:0;line-height:1}
body.jam .jamstamp{display:flex}
.jamstamp.show{animation:stamp .9s cubic-bezier(.2,1.4,.4,1) forwards}
@keyframes stamp{0%{opacity:0;transform:scale(2.6) rotate(-8deg)}18%{opacity:1;transform:scale(.92) rotate(-4deg)}28%{transform:scale(1.05) rotate(-5deg)}72%{opacity:1;transform:scale(1) rotate(-5deg)}100%{opacity:0;transform:scale(1.15) rotate(-5deg) translateY(-22px)}}
.jamstamp.big{font-size:clamp(48px,14vw,76px)}
.jamstamp.best{font-size:clamp(34px,10vw,52px);color:#effff0}
.jamstamp.miss.show{animation:stampmiss 1s forwards}
@keyframes stampmiss{0%{opacity:0;transform:scale(.5)}14%{opacity:1;transform:scale(1.12) rotate(3deg)}24%{transform:translateX(-12px) rotate(3deg)}34%{transform:translateX(12px) rotate(3deg)}44%{transform:rotate(3deg)}80%{opacity:1}100%{opacity:0;transform:translateY(18px) rotate(3deg)}}
.jamstamp.count.show{animation:stampcount .45s ease-out forwards}
@keyframes stampcount{0%{opacity:0;transform:scale(3)}30%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}
/* the spin button: magenta, breathing with the beat, the 8 beats you have running round it */
body.jam .spin{background:radial-gradient(circle at 35% 28%,#ffb0f8,#d01ab8 45%,#5a0050 100%);border-color:#3dfcff;box-shadow:0 0 0 2px #12001f,0 7px 0 #3a0034,0 0 22px rgba(255,61,240,.6),inset 0 3px 0 rgba(255,255,255,.5)}
body.jam .spin::before{animation:none;inset:-13px;background:conic-gradient(#3dfcff calc(var(--cd,1) * 360deg),rgba(255,255,255,.1) 0);-webkit-mask:radial-gradient(circle,transparent 61%,#000 63%,#000 71%,transparent 73%);mask:radial-gradient(circle,transparent 61%,#000 63%,#000 71%,transparent 73%)}
body.jam .spin.late::before{background:conic-gradient(#ff4d5e calc(var(--cd,1) * 360deg),rgba(255,255,255,.1) 0)}
body.jam .jampanel .box b i{font-style:normal;font-size:13px;color:var(--dim);opacity:1}
/* the songs sheet and the end of a song */
.jam-title{font:italic 900 30px var(--serif)!important;background:linear-gradient(90deg,#ff3df0,#3dfcff,#ffe14a);-webkit-background-clip:text;background-clip:text;color:transparent!important}
.jsongs{display:flex;flex-direction:column;gap:10px}
.jsong{border-radius:16px;padding:12px;border:1.5px solid transparent;background:linear-gradient(#170730,#07020f) padding-box,linear-gradient(120deg,var(--sc),#7a1aff) border-box}
.js-h{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.js-h b{font:italic 700 20px var(--serif);color:#fff;text-shadow:0 0 10px var(--sc)}
.js-h span{font-size:11px;font-weight:800;letter-spacing:.08em;color:var(--dim);white-space:nowrap}
.js-bar{display:flex;gap:3px;margin:9px 0}
.js-bar i{flex:1;height:8px;border-radius:4px;background:rgba(255,255,255,.1)}
.js-bar i.on{background:var(--sc);box-shadow:0 0 8px var(--sc)}
.js-f{display:flex;align-items:center;justify-content:space-between;gap:10px}
.js-f small{color:var(--dim);font-size:12px}
.js-f .btn{width:auto;min-width:112px;min-height:44px}
.jsong.locked{opacity:.5}.js-lock{font-size:22px;padding:0 10px}
.sub.small{font-size:12px}
.bw.jamdone h2{background:linear-gradient(90deg,#ff3df0,#3dfcff,#ffe14a,#7dff6a,#ff3df0);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:pop .6s cubic-bezier(.2,1.6,.4,1),rbslide 2s linear infinite;font-size:clamp(40px,12vw,62px)}
.bw.jamdone .bw-rays{background:repeating-conic-gradient(rgba(255,61,240,.16) 0 8deg,rgba(61,252,255,.14) 8deg 16deg,transparent 16deg 24deg)}
.jd-sub{color:#fff!important;font-size:15px!important}
.jd-unlock{color:#ffe14a!important;font:900 14px var(--sans)!important;letter-spacing:.12em;text-shadow:0 0 10px #ff9d2e}
.jd-btns{position:relative;display:flex;flex-direction:column;gap:8px;margin-top:16px}
@media (prefers-reduced-motion:reduce){.jamb,.jamstamp.show,.jt-bar .seg.pop{animation:none}.jamstamp.show{opacity:1}}

/* 1.16: the leprechaun who brings the third Bonus symbol (moved by app.js leprechaun() with the Web Animations API) */
.lep{position:fixed;left:0;top:0;z-index:45;pointer-events:none;filter:drop-shadow(0 6px 10px rgba(0,0,0,.55)) drop-shadow(0 0 14px rgba(125,255,138,.5))}
.lep{will-change:transform}
.lep-b{width:100%;height:100%;transform-origin:50% 80%;will-change:transform}
.lep img{width:100%;height:100%;display:block}
.lep-say{position:absolute;left:50%;bottom:100%;transform:translate(-50%,6px) scale(.6);opacity:0;white-space:nowrap;padding:6px 11px;border-radius:14px;background:#fff;color:#0b5a24;font:900 13px var(--sans);box-shadow:0 4px 10px rgba(0,0,0,.4);transition:.25s cubic-bezier(.2,1.6,.4,1)}
.lep-say::after{content:"";position:absolute;left:50%;top:100%;margin-left:calc(-6px - var(--sh, 0px));border:6px solid transparent;border-top-color:#fff}
.lep.talk .lep-say{opacity:1;transform:translate(-50%,0) scale(1)}

/* 1.17: smooth on a phone. The jam's beat is one glow layer round the frame whose opacity jam.js sets (the graphics
   chip fades it; nothing is repainted), and the spin button's beat is a transform */
.jamglow{display:none;position:absolute;inset:-8px;border-radius:26px;box-shadow:0 0 34px 8px rgba(255,61,240,.85),0 0 0 3px rgba(61,252,255,.5);opacity:0;pointer-events:none;will-change:opacity;z-index:0}
body.jam .jamglow{display:block}
body.jam .spin{animation:none;will-change:transform}
#fx,#scene{will-change:transform}

/* 1.18: the BONUS BOOST banner, when a bonus is topped up to 10x */
.banner.boost b{background:linear-gradient(#fff,#7dff6a 45%,#17a34a);-webkit-background-clip:text;background-clip:text}

/* 1.20: the Rich List: rows that always line up (fixed columns, the report slot kept on your own row, long names cut
   with ...), 44 px tall, placeholder rows while it first loads, the list dims (not blanks) while it refreshes */
.boardlist{min-height:200px;transition:opacity .2s}
.boardlist.loading{opacity:.6}
.board .brow{min-height:44px;padding:6px 8px 6px 10px;gap:8px;border:1px solid transparent}
.board .brow.me{border-color:var(--gold)}
.board .brow>i{flex:none}
.board .brow a{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.board .brow a em{font-style:normal;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--ink);background:var(--gold);border-radius:6px;padding:1px 5px;vertical-align:2px}
.board .brow small{flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:34%}
.board .brow b{flex:none;min-width:62px;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.board .rep-slot{flex:none;width:32px;display:flex;align-items:center;justify-content:center}
.board .brow .rep{margin:0;width:32px;height:32px}
.board .brow.top1>i{background:linear-gradient(#fff3b0,#f6c443);color:#2b1203}.board .brow.top2>i{background:linear-gradient(#ffffff,#b9c4d6);color:#1a0626}.board .brow.top3>i{background:linear-gradient(#f2b47a,#b0682e);color:#2b1203}
.board .brow.sk>i,.board .brow.sk a,.board .brow.sk small,.board .brow.sk b{display:block;height:12px;border-radius:6px;background:rgba(255,255,255,.08);animation:skp 1.2s ease-in-out infinite}
.board .brow.sk>i{width:24px;height:24px;border-radius:50%}.board .brow.sk a{max-width:45%}.board .brow.sk small{width:50px}.board .brow.sk b{width:50px}
@keyframes skp{50%{opacity:.4}}
.bmsg{padding:14px 2px}
@media (max-width:370px){.board .brow small{display:none}}

/* 1.21, the owner: "make it all fit better, and remove the starter thing etc where it ranks up": no rank bar; the
   Vault is one slim full-width bar (the safe, its level and dots, what it gives); the top row fits a phone with its four
   buttons; the reels get the room */
.status .goal{display:none!important}
.status .vault{flex:1;min-height:46px;height:46px;padding:0 12px 0 4px;gap:8px;border-radius:14px;overflow:hidden}
.status .vault canvas{margin:0;flex:none}
.status .vault .vt{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1}
.status .vault .vt small{font-size:9px;letter-spacing:.14em;color:var(--gold2);white-space:nowrap}
.status .vault .vt b{font-size:17px;color:#fff;white-space:nowrap}
.status .vault em{margin:0 0 0 2px;flex:none}
.status .vault .vhint{margin-left:auto;font-style:normal;font-size:11px;font-weight:700;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
@media (max-width:370px){.status .vault .vhint{display:none}}
/* the top row: smaller logo and buttons that still keep 44 px of height to tap */
.top{gap:6px}
.top .tright{display:flex;gap:6px}
.tbtn{width:44px;height:44px;border-radius:12px}
.logo{min-width:0;flex:1 1 auto;justify-content:center;gap:5px}
.logo span{font-size:clamp(22px,7.2vw,32px)}
.logo small{font-size:10px;padding:2px 5px 1px;transform:translateY(-4px)}
@media (max-width:400px){.logo small{display:none}.tbtn{width:42px}}
/* laptop: the Vault lives in the side panel, so the status row goes; the bonus bar keeps its room above the reels */
@media (min-width:1000px) and (min-height:560px) and (orientation:landscape){.status{display:none!important} body:not([data-mode=base]):not(.jam) .machine{margin-top:46px}}

/* ---------- 1.23: Vault Drop (drop.js), the Vault's game: a full-screen layer over the machine ---------- */
.dropv{position:fixed;left:0;right:0;top:var(--mdts-h,0px);bottom:0;z-index:45;display:none;flex-direction:column;max-width:560px;margin:0 auto;padding:8px 10px calc(10px + env(safe-area-inset-bottom));background:radial-gradient(120% 60% at 50% 0%,#4a2c08,#1a0a35 55%,#0b0420)}
.dropv.show{display:flex;animation:dvIn .45s ease-out}
@keyframes dvIn{from{opacity:0;transform:scale(1.04)}to{opacity:1;transform:none}}
.dv-top{display:flex;align-items:center;gap:8px}
.dv-box{flex:0 0 auto;min-width:78px;padding:4px 10px;border-radius:12px;background:var(--ink);border:1.5px solid var(--line);text-align:center}
.dv-box small,.dv-title small{display:block;font-size:10px;font-weight:700;letter-spacing:.14em;color:var(--dim)}
.dv-box b{display:block;font-size:17px;font-weight:900;white-space:nowrap}
.dv-box.win{border-color:var(--gold)}
.dv-title{flex:1;min-width:0;text-align:center}
.dv-title small{color:var(--gold2)}
.dv-title b{display:block;font:italic 900 clamp(20px,6.4vw,28px) var(--serif,Georgia,serif);line-height:1.05;background:linear-gradient(#fff9d6,#ffd24a 55%,#d98a00);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 2px 0 rgba(0,0,0,.5))}
.dv-mult{align-self:center;display:flex;gap:6px;align-items:baseline;margin:6px 0 4px;padding:3px 14px;border-radius:999px;background:#2a0b3a;border:1.5px solid rgba(255,138,240,.5);font-size:11px;font-weight:800;letter-spacing:.12em;color:#ffd0f6;opacity:.6;transition:opacity .2s,box-shadow .2s}
.dv-mult b{font-size:16px;letter-spacing:0;color:#fff}
.dv-mult.on{opacity:1;border-color:#ff8af0;box-shadow:0 0 16px rgba(255,138,240,.7)}
.dv-board{position:relative;flex:1;min-height:0}
#dvCv{position:absolute;left:0;top:0;display:block;border-radius:16px;box-shadow:inset 0 0 0 1px var(--line)}
.dv-stamp{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;pointer-events:none;opacity:0;text-align:center;font:italic 900 clamp(34px,11vw,52px) var(--serif,Georgia,serif);line-height:1;color:#fff;-webkit-text-stroke:1.5px #b8791a;text-shadow:0 0 18px rgba(255,210,74,.9),0 4px 0 rgba(0,0,0,.6)}
.dv-stamp small{font:800 12px var(--sans);letter-spacing:.18em;color:var(--gold2);-webkit-text-stroke:0;text-shadow:0 2px 6px #000}
.dv-stamp i{font:900 22px var(--sans);font-style:normal;-webkit-text-stroke:0}
.dv-stamp b{color:#ff8af0}
.dv-stamp.x2{-webkit-text-stroke-color:#ff3df0;text-shadow:0 0 22px #ff3df0,0 4px 0 rgba(0,0,0,.6)}
.dv-stamp.grand{font-size:clamp(48px,15vw,70px);text-shadow:0 0 30px #ffd24a,0 0 60px #ff8a00,0 5px 0 rgba(0,0,0,.6)}
.dv-stamp.show{animation:dvStamp 1.5s ease-out forwards}
@keyframes dvStamp{0%{opacity:0;transform:scale(2.2)}14%{opacity:1;transform:scale(.94)}22%{transform:scale(1.04)}30%{transform:scale(1)}80%{opacity:1}100%{opacity:0;transform:scale(1.06)}}
.dv-bot{display:flex;flex-direction:column;align-items:center;gap:6px;padding-top:8px}
.dv-hint{margin:0;min-height:16px;line-height:16px;font-size:13px;color:var(--dim);text-align:center}
.dv-hint b{color:var(--gold2)}
.dv-drop{--wait:0;position:relative;width:min(260px,70vw);height:64px;border-radius:999px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(#fff6c0,#ffd24a 45%,#d98a00);color:#2b1203;box-shadow:0 6px 0 #7a4300,0 10px 24px rgba(0,0,0,.5);touch-action:manipulation;overflow:hidden}
.dv-drop::after{content:"";position:absolute;left:0;bottom:0;height:4px;width:calc(var(--wait) * 100%);background:rgba(122,67,0,.55)}
.dv-drop b{font-size:24px;font-weight:900;letter-spacing:.12em;line-height:1}
.dv-drop small{font-size:11px;font-weight:800;letter-spacing:.06em;margin-top:2px}
.dv-drop:disabled{filter:saturate(.4) brightness(.75)}
.dv-drop.hit{animation:dvHit .18s}
@keyframes dvHit{50%{transform:translateY(4px);box-shadow:0 2px 0 #7a4300,0 6px 14px rgba(0,0,0,.5)}}

/* ---------- 1.25, the owner: the run number always in sight, a NEW run button in the corner, a Vault that cracks open
   until it breaks (no levels), and a simpler, symmetrical Skint card ---------- */
.status{gap:6px;height:50px}
.status .vault{height:50px;min-height:50px;padding:0 10px 0 4px;gap:9px;border-radius:15px}
.status .vault canvas{width:46px;height:46px}
.status .vault .vt{gap:4px}
.status .vault .vt small{font:900 9px var(--sans);letter-spacing:.18em;color:var(--gold2)}
.status .vault .vt b{font-size:15px;font-weight:800;color:#fff;overflow:hidden;text-overflow:ellipsis;letter-spacing:.01em}
.status .vault .vgo{margin-left:auto;flex:none;display:flex;color:rgba(255,226,150,.55)}
.status .vault .vgo svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.status .vault.t1,.status .vault.t2{box-shadow:0 3px 8px rgba(0,0,0,.4),0 0 10px rgba(255,200,80,.18)}
.status .vault.t3{box-shadow:0 3px 8px rgba(0,0,0,.4),0 0 14px rgba(255,190,60,.32);animation:none}
.status .vault.t4{box-shadow:0 3px 8px rgba(0,0,0,.4),0 0 18px rgba(255,150,40,.5);animation:none}
.status .vault.t4 .vt b{color:#ffe08a}
.runbox{flex:none;display:flex;height:50px;border-radius:15px;overflow:hidden;border:1.5px solid transparent;background:linear-gradient(#1c0b44,#0c0424) padding-box,linear-gradient(#ffe9a0,#7a4300 50%,#d0a03a) border-box;box-shadow:0 3px 8px rgba(0,0,0,.4)}
.runbox button{display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;color:#fff;touch-action:manipulation}
.runbox .rn{width:56px;gap:4px}
.runbox .rn small,.runbox .newrun small{font:900 9px var(--sans);letter-spacing:.18em;color:var(--gold2)}
.runbox .rn b{font-size:19px;font-weight:900;font-variant-numeric:tabular-nums;max-width:52px;overflow:hidden;text-overflow:ellipsis}
.runbox .newrun{width:50px;gap:3px;border-left:1px solid rgba(255,220,140,.2);background:rgba(255,255,255,.035);color:var(--gold2)}
.runbox .newrun svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.runbox .newrun small{letter-spacing:.14em}
.runbox .newrun:disabled{opacity:.35}
.runbox button:active{background:rgba(255,255,255,.08)}
@media (max-width:400px){.status .vault .vgo{display:none}}
@media (max-width:370px){.runbox .rn{width:48px}.runbox .newrun{width:44px}.status .vault .vt b{font-size:14px}}
@media (max-height:660px){.status,.status .vault,.runbox{height:46px;min-height:46px}}
/* the laptop panel: the Vault card says how it is, not a level; New run beside the run's title */
@media (min-width:1000px) and (min-height:560px) and (orientation:landscape){
  .sp-vault .vb-txt b{font-size:20px}
  .sp-new{font:800 11px var(--sans);letter-spacing:.06em;text-transform:none;color:var(--gold2);padding:6px 10px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.05)}
  .sp-new:disabled{opacity:.4}
}
/* the Vault sheet: the live Vault, and the five ways it looks on the way to breaking */
.vs-top canvas{flex:none;display:block}
.vsteps{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:12px 0 4px}
.vsteps span{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 2px 7px;border-radius:12px;background:rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.08)}
.vsteps img{width:100%;max-width:58px;aspect-ratio:1}
.vsteps small{font-size:10.5px;font-weight:800;color:var(--dim);letter-spacing:.02em}
.vsteps span:last-child{border-color:rgba(255,190,60,.45)}
.vsteps span:last-child small{color:var(--gold2)}
/* the Skint card */
.bw.bust .bw-card.sk{max-width:400px;padding:22px 18px 18px;box-shadow:0 20px 50px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.08)}
.sk h3{font-size:11.5px;letter-spacing:.24em;color:var(--dim)}
.sk h2{margin-top:2px}
.sk .sk-sub{margin:6px 0 0;font-size:14px}
.sk-peak{position:relative;margin:16px 0 8px;padding:14px 12px 12px;border-radius:16px;background:radial-gradient(120% 140% at 50% 0%,rgba(255,200,80,.14),rgba(0,0,0,.3) 60%);border:1px solid rgba(255,220,140,.28)}
.sk-peak small{display:block;font:900 10px var(--sans);letter-spacing:.2em;color:var(--gold2)}
.sk-peak b{display:flex;align-items:center;justify-content:center;gap:4px;margin:6px 0 6px;font-size:34px;font-weight:900;line-height:1;color:#fff;font-variant-numeric:tabular-nums}
.sk-peak b .quid{width:26px;height:26px}
.sk-peak>span{font-size:12.5px;font-weight:700;color:var(--dim)}
.sk-peak>span.nb{display:inline-block;padding:3px 10px;border-radius:999px;background:linear-gradient(#fff3b0,#f6c443);color:#2b1203;font-weight:900;letter-spacing:.04em}
.sk-row{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.sk-row div{display:flex;flex-direction:column;align-items:center;gap:5px;padding:10px 4px 9px;border-radius:13px;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.07)}
.sk-row b{font-size:17px;font-weight:900;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}
.sk-row small{font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--dim)}
.sbet{position:relative;margin:16px 0 14px}
.sbet>small{display:block;font:900 10px var(--sans);letter-spacing:.2em;color:var(--dim);margin-bottom:8px}
.sbet-row{display:flex;align-items:center;justify-content:center;gap:12px}
.sbet-row button{width:48px;height:48px;border-radius:50%;font:900 24px/1 var(--sans);color:var(--gold2);border:1.5px solid transparent;background:linear-gradient(#2a1466,#120634) padding-box,linear-gradient(#fff3b0,#7a4300 55%,#d0a03a) border-box;touch-action:manipulation}
.sbet-row button:disabled{opacity:.3}
.sbet-row button:active{transform:scale(.94)}
.sbet-row b{min-width:118px;display:flex;align-items:center;justify-content:center;gap:3px;height:48px;border-radius:14px;background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.1);font-size:21px;font-weight:900;font-variant-numeric:tabular-nums}
.btn.go2{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:60px;border-radius:16px}
.btn.go2 b{font-size:17px;font-weight:900;letter-spacing:.08em}
.btn.go2 small{display:flex;align-items:center;gap:3px;font-size:12px;font-weight:700;opacity:.78}
.btn.go2 small .quid{width:11px;height:11px}
.sheet .sbet{margin:14px 0 12px}
.sheet .btn.go2{margin-bottom:8px}

/* ---------- 1.26, the owner: "fix the values so they fit properly. Take away the locked tight etc text and just have
   the vault image bigger. Instead of all the menu buttons on screen, make one which you open..." ----------
   The top row: MENU, the logo, the run (RUN n | NEW), the two boxes the same width so the logo sits in the middle.
   The Vault, a picture only, sits in the middle of the jackpot row. The old status row is gone; a bonus keeps room
   above the reels for its bar. */
.status{display:none!important}
body:not([data-mode=base]):not(.jam) .machine{margin-top:46px}
.top{gap:8px;min-height:46px}
.hbox{flex:none;width:104px;height:46px;display:flex;border-radius:15px;overflow:hidden;border:1.5px solid transparent;background:linear-gradient(#24104f,#0c0424) padding-box,linear-gradient(#ffe9a0,#7a4300 50%,#d0a03a) border-box;box-shadow:0 3px 8px rgba(0,0,0,.4)}
.top .runbox{height:46px}
.menub{position:relative;align-items:center;justify-content:center;gap:8px;color:var(--gold2);touch-action:manipulation}
.menub svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.menub span{font:900 12px var(--sans);letter-spacing:.16em;color:#fff}
.menub:active,.runbox button:active{background:rgba(255,255,255,.08)}
.menub .mdot{position:absolute;top:6px;right:8px;width:9px;height:9px;border-radius:50%;background:#ff4d6d;box-shadow:0 0 0 2px #12072b,0 0 8px rgba(255,77,109,.8)}
.menub .mdot[hidden]{display:none}
.logo span{font-size:clamp(22px,6.6vw,32px)}
@media (max-width:470px){.logo small{display:none}}
@media (max-width:370px){.hbox{width:96px}.runbox .rn{width:50px}.runbox .newrun{width:44px}.menub{gap:6px}}
body.jam .runbox{visibility:hidden}
/* the jackpot row with the Vault in the middle */
#jps{display:grid;grid-template-columns:1fr 1fr 64px 1fr 1fr;gap:5px;align-items:stretch;flex:none}
#jps .vault{all:unset;position:relative;display:flex;align-items:center;justify-content:center;min-width:0;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
#jps .vault canvas{display:block;flex:none;margin:-8px -4px;filter:drop-shadow(0 4px 6px rgba(0,0,0,.55))}
#jps .vault:active canvas{transform:scale(.94)}
#jps .vault.lvlup{animation:lvlup 1.1s cubic-bezier(.2,1.6,.4,1)}
#jps .jp b{white-space:nowrap;text-overflow:clip}
.box b{text-overflow:clip}
/* the menu */
.sheet.menu .sheet-in{gap:8px}
.sheet.menu h2{margin-bottom:4px}
.mgrid,.mrow{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mt{display:flex;align-items:center;gap:10px;min-height:66px;padding:10px 12px;border-radius:16px;text-align:left;color:#fff;border:1.5px solid transparent;background:linear-gradient(#2c1661,#140838) padding-box,linear-gradient(#ffe9a0,#7a4300 50%,#d0a03a) border-box;box-shadow:0 4px 10px rgba(0,0,0,.35);touch-action:manipulation;min-width:0}
.mt:active{transform:scale(.97)}
.mt .mi{flex:none;width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:linear-gradient(#fff3b0,#f6c443 55%,#c98a1a);box-shadow:inset 0 1px 0 #fff,0 2px 0 #7a4300}
.mt .mi svg{width:22px;height:22px;fill:none;stroke:#3a1a00;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.mt>span{display:flex;flex-direction:column;gap:3px;min-width:0}
.mt b{font-size:15px;font-weight:900;line-height:1.1}
.mt small{font-size:12px;color:var(--dim);line-height:1.25;overflow:hidden;text-overflow:ellipsis}
.mt small .quid{width:10px;height:10px}
.mt em{font-style:normal;font-weight:900;color:#ff8aa0}
.mt.hasnew{background:linear-gradient(#3a1661,#1a0838) padding-box,linear-gradient(#ffb0c0,#a0183a 50%,#ff8aa0) border-box}
.mt.mjam{width:100%;min-height:72px;background:linear-gradient(100deg,#2a0b55,#120334 60%,#062a4a) padding-box,linear-gradient(90deg,#ff3df0,#7a1aff 45%,#3dfcff) border-box;box-shadow:0 0 18px rgba(255,61,240,.25),0 4px 10px rgba(0,0,0,.35)}
.mt.mjam .mi{background:linear-gradient(135deg,#ff3df0,#7a1aff 55%,#3dfcff);box-shadow:0 0 12px rgba(255,61,240,.6)}
.mt.mjam .mi svg{stroke:#fff}
.mt.mjam b{font-size:17px;background:linear-gradient(90deg,#ffd0fb,#b9f8ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.mt.slim{min-height:56px;padding:8px 10px}
.mt.slim .mi{width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.08);box-shadow:none;border:1px solid var(--line)}
.mt.slim .mi svg{stroke:var(--gold2);width:19px;height:19px}
.mt.slim b{font-size:14px}
/* the stats sheet */
.msh{display:flex;justify-content:space-between;align-items:baseline;margin:6px 0 0;font:900 12px var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--gold2)}
.msh span{font-size:12px;letter-spacing:0;text-transform:none;color:var(--dim);font-weight:700}
.mstats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.mstats div{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 4px 9px;border-radius:12px;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.07);min-width:0;text-align:center}
.mstats small{font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.mstats b{font-size:16px;font-weight:900;white-space:nowrap}
/* 1.28, the owner: "make sure the number of runs in top right never shows ... text should always show and fit": the run
   number fills its half of the box and setAmt shrinks it to fit (never an ellipsis); the stats labels wrap */
.runbox .rn{padding:0 4px}
.runbox .rn b{display:block;width:100%;max-width:none;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:clip}
.mstats small{white-space:normal;text-overflow:clip;line-height:1.2}
.top .runbox{width:auto;min-width:104px}
.top .runbox .rn{width:auto;min-width:56px;max-width:80px;padding:0 6px}
@media (max-width:370px){.top .runbox{min-width:96px}.top .runbox .rn{min-width:50px;max-width:72px}}
/* 1.29: Vault Drop waits for you: the DROP button breathes while a coin is ready */
.dv-drop::after{display:none}
.dv-drop.ready{animation:dvReady 1.6s ease-in-out infinite}
@keyframes dvReady{50%{transform:scale(1.04)}}
@media (prefers-reduced-motion:reduce){.dv-drop.ready{animation:none}}

/* ---------- 1.30: the keys on a computer (the owner: "buttons for what they do... restart run... pause like escape").
   Every button with data-key shows its key as a small chip; only with a mouse (never on a phone), off in Settings > Key hints. */
[data-key]::after{display:none}
@media (hover:hover) and (pointer:fine){
  body:not(.nokeys) [data-key]{position:relative}
  body:not(.nokeys) [data-key]::after{content:attr(data-key);display:grid;place-items:center;position:absolute;top:-7px;right:-7px;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:6px;border:1px solid rgba(255,226,122,.75);border-bottom-width:2px;background:#170838;color:#ffe27a;font:900 10px/1 var(--sans);letter-spacing:.02em;text-transform:none;pointer-events:none;z-index:2;box-shadow:0 2px 6px rgba(0,0,0,.45)}
  /* the spin button: its key under it, centred */
  /* the spin button: its key inside it, under the arrow */
  body:not(.nokeys) .spin[data-key]::after{top:auto;bottom:5px;right:50%;transform:translateX(50%);height:17px;padding:0 6px;font-size:9.5px;background:rgba(6,40,16,.75);border-color:rgba(255,255,255,.7);color:#fff}
  body:not(.nokeys) .spin.busy[data-key]::after{background:rgba(60,8,4,.75)}
  body:not(.nokeys) .runbox .newrun[data-key]{width:62px;padding-right:14px}
  @media (max-height:660px){body:not(.nokeys) .spin[data-key]::after{bottom:2px;height:15px;font-size:9px}}
  /* inside boxes that clip: the chip sits just inside the corner */
  body:not(.nokeys) .runbox .newrun[data-key]::after,body:not(.nokeys) .menub[data-key]::after{top:3px;right:3px;min-width:16px;height:15px;padding:0 3px;font-size:9px;border-radius:4px}
  body:not(.nokeys) .menub[data-key]::after{top:auto;bottom:3px;right:4px}   /* 1.31: under the red new-achievement dot, not on it */
  body:not(.nokeys) .betrow button[data-key]::after{top:-4px;right:-2px;min-width:15px;height:15px;padding:0 3px;font-size:10px}
  body:not(.nokeys) .btn.go2[data-key]::after,body:not(.nokeys) .sp-new[data-key]::after{top:-8px;right:-6px}
  .sp-keys{text-align:left}
  .sp-keys .kgrid{display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;font-size:12px;color:var(--dim)}
  .sp-keys .kgrid button{display:flex;align-items:center;gap:4px;white-space:nowrap;padding:3px 4px;margin:-3px -4px;border-radius:7px;color:var(--dim);font:inherit;text-align:left}
  .sp-keys .kgrid button:hover{background:rgba(255,255,255,.07);color:var(--txt)}
  .sp-keys .kgrid kbd{display:inline-grid;place-items:center;min-width:20px;height:19px;padding:0 5px;margin:0;border-radius:5px;border:1px solid var(--line);border-bottom-width:2px;background:rgba(255,255,255,.07);font:800 10.5px var(--sans);color:var(--txt)}
}
body.nokeys .sp-keys{display:none}

/* ===================== 1.34: two machines (Lucky Rainbow and Jet Set) =====================
   The owner: "split the MDT jackpot game into two slots where you can choose between them... same return to player and
   odds of winning, but they should look different". body[data-theme=jet] is Jet Set: midnight blue and silver, a
   platinum cabinet, JET SET in white chrome; everything else is shared. Then the machine picker and its bits. */
body[data-theme=jet]{background:radial-gradient(120% 70% at 50% 0%,#1d3f7c 0%,#0a1d4a 45%,#03081c 100%)}
body[data-theme=jet][data-mode=pots]{background:radial-gradient(120% 70% at 50% 0%,#7a2a5a 0%,#2a1c2a 45%,#07050c 100%)}
body[data-theme=jet][data-mode=tomb]{background:radial-gradient(120% 70% at 50% 0%,#2a3a58 0%,#141e34 45%,#060912 100%)}
body[data-theme=jet][data-mode=fish]{background:radial-gradient(120% 70% at 50% 0%,#5cc4f6 0%,#1a7ed6 45%,#06304a 100%)}
body[data-theme=jet] .logo span{font-family:var(--sans);font-style:italic;font-weight:900;letter-spacing:.03em;
  background:linear-gradient(105deg,rgba(255,255,255,0) 42%,rgba(255,255,255,.95) 50%,rgba(255,255,255,0) 58%),linear-gradient(#ffffff 12%,#cfe9ff 45%,#5aa8ff 70%,#e6f2ff 90%);background-size:320% 100%,100% 100%;background-repeat:no-repeat;background-position:160% 0,0 0;-webkit-background-clip:text;background-clip:text;
  filter:drop-shadow(0 2px 0 #0a2a6a) drop-shadow(0 3px 0 #03102a) drop-shadow(0 0 16px rgba(90,180,255,.6))}
.logo{cursor:pointer}
body[data-theme=jet] .frame{background:repeating-linear-gradient(90deg,rgba(255,255,255,.05) 0 1px,rgba(0,0,0,.05) 1px 3px),linear-gradient(180deg,#e9eef6 0%,#a9b6c9 9%,#5d6b82 34%,#3a465a 52%,#56647a 74%,#9aa8be 92%,#d6dee9 100%);box-shadow:0 0 0 2px #0b1426,0 0 0 4px rgba(170,205,255,.35),0 14px 34px rgba(0,0,0,.65),0 0 40px rgba(90,170,255,.35)}
body[data-theme=jet] .frame::after{box-shadow:inset 0 0 0 2px #0b1426,inset 0 0 0 3px rgba(220,235,255,.5),inset 0 0 22px rgba(0,0,0,.7)}
body[data-theme=jet] .frame canvas{background:#050c22}
body[data-theme=jet] .panel .box{background:linear-gradient(#020818,#0a1a3a) padding-box,linear-gradient(#ffffff,#6d7b92 45%,#e6edf7 75%,#3a4658) border-box}
body[data-theme=jet] .panel .box small{color:#cfe6ff}
body[data-theme=jet] #jps .jp.major{background:radial-gradient(120% 90% at 50% 0%,#3a4fd6,#0a1240 70%) padding-box,linear-gradient(160deg,#e6ecff,#7a8cff 30%,#1a2a7a 55%,#c0caff 80%,#2a3a9a) border-box}
body[data-theme=jet] #jps .jp.minor{background:radial-gradient(120% 90% at 50% 0%,#c46a10,#3a1a02 70%) padding-box,linear-gradient(160deg,#fff0d0,#ffb347 30%,#6a3204 55%,#ffd9a0 80%,#a85a08) border-box}
body[data-theme=jet] .jp.major small{color:#b9c4ff} body[data-theme=jet] .jp.minor small{color:#ffcf8a}
body[data-theme=jet] .banner.pots b{background:linear-gradient(#fff,#ffc46a 45%,#c46a10);-webkit-background-clip:text;background-clip:text}
body[data-theme=jet] .banner.tomb b{background:linear-gradient(#fff,#b9d0ff 45%,#4a6ad6);-webkit-background-clip:text;background-clip:text}
body[data-theme=jet] .fbar.hud.pots{border-color:#ffb347} body[data-theme=jet] .fbar.hud.tomb{border-color:#9fc4ff}
body[data-theme=jet] .wheel.pots .wh p b{color:#ffc46a} body[data-theme=jet] .wheel.tomb .wh p b{color:#b9d0ff}
body[data-theme=jet] .feat.su b{color:#b9c4ff}
.feat.rb img{width:58px;height:58px;flex:none}

/* the machine in the menu, the laptop panel and the Rich List */
.mt.mmach{width:100%;min-height:68px;background:linear-gradient(100deg,#1a2a6a,#0a1238 60%,#2a1466) padding-box,linear-gradient(90deg,#ffffff,#7fd4ff 45%,#ffd24a) border-box}
.mt.mmach img{width:48px;height:48px;flex:none}
.mt.mmach b{font-size:17px}
.sp.sp-mach{flex-direction:row;align-items:center;gap:10px;text-align:left;width:100%;cursor:pointer;color:#fff}
.sp.sp-mach img{width:44px;height:44px;flex:none}
.sp.sp-mach span{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.sp.sp-mach small{font:900 10px var(--sans);letter-spacing:.16em;color:var(--gold2)}
.sp.sp-mach b{font-size:18px}
.sp.sp-mach em{font-style:normal;font-weight:900;font-size:12px;color:var(--cy);border:1px solid rgba(125,249,255,.4);border-radius:999px;padding:5px 10px}
.board .brow b .bmc{width:18px;height:18px;vertical-align:-4px;margin-right:4px}
.btn.sk-mach{min-height:44px;margin-top:-2px}

/* the picker: both cabinets side by side, the one you're on lit */
.sheet.machines .sheet-in{gap:10px}
.mc-new{margin:0;align-self:flex-start;font:900 11px var(--sans);letter-spacing:.16em;color:#2b1203;background:linear-gradient(#fff3b0,#f6c443);border-radius:6px;padding:3px 7px}
.mpick{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mcab{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 7px 10px;border-radius:18px;text-align:center;color:#fff;border:2px solid transparent;min-width:0}
.mcab.rainbow{background:radial-gradient(120% 80% at 50% 0%,#3a1a8a,#160a38 70%) padding-box,linear-gradient(160deg,#fff6c8,#f6c443 30%,#7a4300 55%,#ffe08a 80%,#a8650c) border-box}
.mcab.jet{background:radial-gradient(120% 80% at 50% 0%,#1d3f7c,#050c22 70%) padding-box,linear-gradient(160deg,#ffffff,#cfd8e6 30%,#4a566c 55%,#e6edf7 80%,#6d7b92) border-box}
.mcab.on{box-shadow:0 0 0 2px rgba(125,249,255,.9),0 0 22px rgba(125,249,255,.4)}
.mcab:active{transform:scale(.97)}
.mc-logo{display:flex;align-items:baseline;gap:4px;line-height:1}
.mc-logo small{font:900 8px var(--sans);letter-spacing:.14em;color:var(--ink);background:linear-gradient(#fff3b0,#f6c443);padding:2px 3px 1px;border-radius:3px;transform:translateY(-3px)}
.mc-logo b{font:italic 700 clamp(16px,5vw,21px) var(--serif);background:linear-gradient(#fffbe0 10%,#ffd95a 45%,#e08a12 85%);-webkit-background-clip:text;background-clip:text;color:transparent;white-space:nowrap}
.mcab.jet .mc-logo b{font-family:var(--sans);font-weight:900;background:linear-gradient(#ffffff 12%,#cfe9ff 45%,#5aa8ff 70%,#e6f2ff 90%);-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 0 8px rgba(90,180,255,.55))}
.mc-reels{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;width:100%;padding:4px;border-radius:10px;background:rgba(0,0,0,.4);border:1px solid rgba(255,255,255,.12)}
.mc-reels img{width:100%;aspect-ratio:1;display:block}
.mc-name{font-size:16px;font-weight:900;line-height:1.1}
.mc-tag{font-size:11px;line-height:1.3;color:var(--dim);min-height:2.6em}
.mc-bon{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;width:100%}
.mc-bon span{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0}
.mc-bon img{width:100%;max-width:44px;aspect-ratio:1}
.mc-bon small{font-size:9px;line-height:1.15;color:#e8e0ff;min-height:2.3em}
.mc-run{font-size:11px;font-weight:800;color:#fff;background:rgba(0,0,0,.35);border-radius:999px;padding:4px 8px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.mc-run .quid{width:10px;height:10px}
.mc-go{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;border-radius:12px;font-size:13px;font-weight:900;letter-spacing:.06em;color:#2b1203;background:linear-gradient(#fff6c0,#ffd24a 45%,#d98a00);box-shadow:0 3px 0 #7a4300}
.mcab.jet .mc-go{color:#0b1426;background:linear-gradient(#ffffff,#cfe6ff 45%,#5aa8ff);box-shadow:0 3px 0 #1a3a7a}
.mcab.on .mc-go{color:var(--cy);background:rgba(125,249,255,.12);box-shadow:none;border:1px solid rgba(125,249,255,.5)}
.mc-foot{font-size:12px}
@media (max-width:370px){.mc-bon small{font-size:8px}.mc-tag{font-size:10px}}
/* Parachute Drop */
.dropv.jet{background:radial-gradient(120% 70% at 50% 0%,#3a5aa8 0%,#0b1d4a 55%,#03081c 100%)}
.dropv.jet .dv-title b{font-size:clamp(17px,5vw,26px);white-space:nowrap}

/* ===================== 1.36-1.38: the Skint card picks a machine =====================
   1.36: a banner per machine. 1.37, the owner: the machine you were on picked already, and the starting bet and the START
   button exactly where they were before 1.34. So the card keeps the old padding and the old .sbet / .go2, and everything
   above them lives in .sk-top, as tall as the old top part was: measured against 1.33 at 430 x 740, 375 x 667,
   430 x 932 and a laptop (the heights below). 1.38, the owner: "improve this... we want nowhere in the game to look AI
   made": no letter-spaced capitals, no boxed stats, no repeated names or radio circles; each machine is its own little
   poster (its sky or rainbow, its headline symbol, its name in its own lettering), and the card takes the machine's
   colours. */
.bw.bust .bw-card.sk2{max-height:100%;overflow-y:auto;background:radial-gradient(120% 60% at 50% 0%,#3d1d8a,#1d0d48 55%,#12072b);border:1.5px solid rgba(255,214,90,.34)}
body[data-theme=jet] .bw.bust .bw-card.sk2{background:radial-gradient(120% 60% at 50% 0%,#1f4488,#0b1f4c 55%,#050d26);border-color:rgba(200,220,255,.34)}
.sk-top{height:273px;display:flex;flex-direction:column}
@media (max-width:400px){.sk-top{height:268px}}
@media (min-width:1000px) and (min-height:560px) and (orientation:landscape){.sk-top{height:278px}}
.sk2 h3{margin:0;font:700 13px/16px var(--sans);letter-spacing:.01em;text-transform:none;color:var(--dim)}
.sk2 h2{font-size:clamp(34px,10vw,44px)!important;margin:0;line-height:1.05}
.sk-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:6px 4px 0}
.sk-stats div{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;padding:2px 0}
.sk-stats div+div{box-shadow:-1px 0 0 rgba(255,255,255,.1)}
.sk-stats b{font-size:21px;font-weight:900;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums;color:#fff}
.sk-stats b .quid{width:16px;height:16px}
.sk-stats small{font-size:12px;font-weight:600;color:var(--dim)}
.sk-best{display:flex;align-items:center;justify-content:center;gap:5px;margin:8px 0 0;font-size:12.5px;line-height:18px;font-weight:600;color:var(--dim)}
.sk-best b{color:var(--gold2);font-weight:800}
.sk-best .quid{width:11px;height:11px}
.sk-best .cup{width:15px;height:15px;fill:none;stroke:var(--gold2);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sk-best.nb{align-self:center;padding:0 10px 0 8px;border-radius:999px;background:linear-gradient(#fff3b0,#f6c443);color:#2b1203;font-weight:900}
.sk-best.nb .cup{stroke:#2b1203}
.sk-machines{margin-top:auto;display:flex;flex-direction:column;gap:8px}
/* the poster */
.skm{position:relative;overflow:hidden;display:flex;align-items:center;width:100%;height:60px;padding:0 84px 0 14px;border-radius:14px;text-align:left;color:#fff;border:0;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 4px 12px rgba(0,0,0,.35);filter:saturate(.45) brightness(.72);transition:filter .18s,box-shadow .18s,transform .12s}
.skm.on{filter:none}
.skm:active{transform:scale(.98)}
.skm.jet{background:
  radial-gradient(60px 18px at 74% 78%,rgba(255,255,255,.55),transparent 70%),
  radial-gradient(90px 22px at 92% 92%,rgba(255,255,255,.7),transparent 70%),
  radial-gradient(50px 14px at 58% 22%,rgba(255,255,255,.28),transparent 70%),
  linear-gradient(100deg,#08173e 0%,#123a82 45%,#3b86d6 80%,#8cc8f4 100%)}
.skm.rainbow{background:
  radial-gradient(circle at 88% 135%,transparent 46px,#a36bff 46px 52px,#3fb6ff 52px 58px,#4be36a 58px 64px,#ffe14a 64px 70px,#ff9d2e 70px 76px,#ff4d5e 76px 82px,transparent 82px),
  linear-gradient(100deg,#1d0b4a 0%,#3a1886 50%,#6a3ac0 100%)}
.skm.jet.on{box-shadow:inset 0 0 0 2px #e6f2ff,0 0 0 3px rgba(90,170,255,.35),0 6px 18px rgba(0,0,0,.45)}
.skm.rainbow.on{box-shadow:inset 0 0 0 2px #ffd95a,0 0 0 3px rgba(255,190,60,.3),0 6px 18px rgba(0,0,0,.45)}
.skm-art{position:absolute;right:8px;top:50%;width:66px;height:66px;transform:translateY(-50%);filter:drop-shadow(0 4px 6px rgba(0,0,0,.45));pointer-events:none}
.skm.jet .skm-art{right:6px;transform:translateY(-50%) rotate(-8deg)}
.skm-mid{display:flex;flex-direction:column;gap:3px;min-width:0}
.skm-title{font:italic 700 23px/1 var(--serif);white-space:nowrap;background:linear-gradient(#fffbe0 10%,#ffd95a 45%,#e08a12 85%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 1.5px 0 #4a2000)}
.skm.jet .skm-title{font:italic 900 23px/1 var(--sans);letter-spacing:.01em;background:linear-gradient(#ffffff 15%,#d6ecff 50%,#7ab8ff 85%);-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 1.5px 0 #06204a)}
.skm-st{font-size:12px;font-weight:600;color:rgba(255,255,255,.82);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.skm-st .quid{width:10px;height:10px}
.skm-tick{position:absolute;left:-4px;top:-4px;width:24px;height:24px;border-radius:0 0 12px 0;display:none;align-items:center;justify-content:center;padding:4px 0 0 4px}
.skm.on .skm-tick{display:flex}
.skm.rainbow .skm-tick{background:#ffd95a}.skm.jet .skm-tick{background:#e6f2ff}
.skm-tick svg{width:13px;height:13px;fill:none;stroke:#1a0626;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}
/* the starting bet's label in plain words, the same height as before so START doesn't move */
.sbet>small{font:700 12px/12px var(--sans);letter-spacing:.01em;color:var(--dim)}
@media (max-width:370px){.skm{padding-right:70px}.skm-art{width:56px;height:56px}.skm-title,.skm.jet .skm-title{font-size:20px}}

/* ===================== 1.39: a sharper finish =====================
   The owner: "the buttons, etc., throughout the app... clean them up and make them look sharper and more professional".
   One button system (a primary in the machine's metal with a thin ledge, a clean outline for everything else), the
   menu's tiles flatter with line icons, Auto spin in one row, Stats as a list, labels in plain case in the sheets, and
   Jet Set in silver and navy wherever Lucky Rainbow is gold and purple. Sizes are unchanged, so nothing moves. */
.btn{font-weight:800;font-size:16px;letter-spacing:.01em;transition:transform .08s,filter .12s,background .12s}
.btn.primary{background:linear-gradient(#ffeaa0,#f8c844 48%,#e8a21c);color:#2b1203;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),inset 0 -1px 0 rgba(120,60,0,.35),0 2px 0 #9a5f0a,0 8px 18px rgba(246,168,31,.22)}
.btn.primary:active{transform:translateY(1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 1px 0 #9a5f0a,0 4px 10px rgba(246,168,31,.2)}
.btn.ghost{background:transparent;border:1px solid rgba(255,255,255,.2);color:#fff;box-shadow:none}
.btn.ghost:active{background:rgba(255,255,255,.06);transform:none}
.btn:disabled{filter:grayscale(.4);opacity:.5}
.btn.go2 b{letter-spacing:.05em}
body[data-theme=jet] .btn.primary{background:linear-gradient(#ffffff,#e2eefc 48%,#a9c8ee);color:#0b1426;box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 rgba(30,60,110,.3),0 2px 0 #46679a,0 8px 18px rgba(90,160,255,.22)}
body[data-theme=jet] .btn.primary:active{box-shadow:inset 0 1px 0 #fff,0 1px 0 #46679a,0 4px 10px rgba(90,160,255,.2)}

/* sheets: Jet Set's in navy, headings in plain case */
body[data-theme=jet] .sheet{background:linear-gradient(#142c62,#081634);border-color:rgba(200,220,255,.25)}
body[data-theme=jet] .sheet h2{color:#e6f2ff}
.sheet .sub{color:#d9d0ef}
body[data-theme=jet] .sheet .sub{color:#cfdcf2}

/* Auto spin: one row, the number big */
.autoseg{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid rgba(255,255,255,.2);border-radius:14px;overflow:hidden}
.autoseg button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:62px;color:#fff}
.autoseg button+button{border-left:1px solid rgba(255,255,255,.14)}
.autoseg button:active{background:rgba(255,255,255,.08)}
.autoseg b{font-size:22px;font-weight:900;line-height:1;font-variant-numeric:tabular-nums}
.autoseg small{font-size:11.5px;font-weight:600;color:var(--dim)}

/* Stats: a list */
.stl{background:rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.07);border-radius:14px;padding:2px 14px 4px}
.stl h3{margin:10px 0 2px;font:800 13px var(--sans);color:var(--gold2)}
body[data-theme=jet] .stl h3{color:#cfe6ff}
.str{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;border-bottom:1px solid rgba(255,255,255,.07);font-size:14px}
.str:last-child{border-bottom:0}
.str span{color:#d9d0ef;min-width:0}
.str b{font-weight:800;color:#fff;white-space:nowrap;font-variant-numeric:tabular-nums}
.str b .quid{width:13px;height:13px}

/* the menu: flatter tiles, line icons in a thin ring, no gold blocks */
.mt{background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.12);box-shadow:none}
.mt:active{background:rgba(255,255,255,.09)}
.mt .mi{width:38px;height:38px;border-radius:50%;background:transparent;border:1.5px solid rgba(255,214,90,.55);box-shadow:none}
.mt .mi svg{stroke:var(--gold2);width:19px;height:19px}
.mt b{font-weight:800}
.mt.hasnew{background:rgba(255,120,150,.08);border-color:rgba(255,138,160,.45)}
.mt.slim .mi{border-radius:50%;border-color:rgba(255,255,255,.22)}
.mt.mmach{background:linear-gradient(100deg,rgba(255,255,255,.07),rgba(255,255,255,.02));border-color:rgba(255,214,90,.4)}
.mt.mjam{border:1px solid rgba(255,61,240,.45);background:linear-gradient(100deg,#2a0b55,#120334 60%,#062a4a);box-shadow:none}
.mt.mjam .mi{border:0}
body[data-theme=jet] .mt .mi{border-color:rgba(200,225,255,.5)} body[data-theme=jet] .mt .mi svg{stroke:#cfe6ff}
body[data-theme=jet] .mt.mmach{border-color:rgba(200,225,255,.45)}

/* the machine's own controls: tighter lettering; Jet Set in silver */
.pill{letter-spacing:.05em}
.round span{letter-spacing:.06em}
body[data-theme=jet] .pill,body[data-theme=jet] .tbtn{background:linear-gradient(#142c62,#081634) padding-box,linear-gradient(#ffffff,#6d7b92 50%,#dfe7f2) border-box}
body[data-theme=jet] .pill span{color:#cfe6ff}
body[data-theme=jet] .round{background:radial-gradient(circle at 50% 30%,#2f5aa8,#0a1d4a 75%) padding-box,linear-gradient(#ffffff,#6d7b92 50%,#dfe7f2) border-box}
body[data-theme=jet] .round svg{stroke:#e6f2ff}
body[data-theme=jet] .round.on{background:radial-gradient(circle at 50% 30%,#ffffff,#a9c8ee 75%) padding-box,linear-gradient(#fff,#6d7b92 50%,#dfe7f2) border-box;color:#0b1426}
body[data-theme=jet] .round.on svg{stroke:#0b1426}
body[data-theme=jet] .hbox{background:linear-gradient(#142c62,#081634) padding-box,linear-gradient(#ffffff,#6d7b92 50%,#dfe7f2) border-box}
body[data-theme=jet] .menub{color:#e6f2ff}
body[data-theme=jet] .betrow button{color:#e6f2ff}
body[data-theme=jet] .spin{border-color:#eef5ff;box-shadow:0 0 0 2px #0b1426,0 7px 0 #063d16,0 12px 22px rgba(0,0,0,.5),inset 0 3px 0 rgba(255,255,255,.5),0 0 26px rgba(75,227,106,.4)}
body[data-theme=jet] .spin.busy{box-shadow:0 0 0 2px #0b1426,0 7px 0 #4d0a04,0 12px 22px rgba(0,0,0,.5),inset 0 3px 0 rgba(255,255,255,.5)}
.sheet .stl h3{text-transform:none;letter-spacing:0;font:800 13px var(--sans)}
body[data-theme=jet] .sbet-row button{color:#e6f2ff;background:linear-gradient(#142c62,#081634) padding-box,linear-gradient(#ffffff,#6d7b92 55%,#dfe7f2) border-box}
body[data-theme=jet] .spin::before{background:conic-gradient(from 0deg,rgba(230,242,255,0),rgba(255,255,255,.95) 12%,rgba(230,242,255,0) 26%,rgba(230,242,255,0) 50%,rgba(255,255,255,.95) 62%,rgba(230,242,255,0) 76%)}
.sheet h3{font:800 14px var(--sans);letter-spacing:0;text-transform:none}
body[data-theme=jet] .sheet h3{color:#cfe6ff}
.sheet-x{background:radial-gradient(circle,rgba(8,3,24,.78) 0 16px,transparent 17px)}
body[data-theme=jet] .sheet-x{background:radial-gradient(circle,rgba(4,12,32,.78) 0 16px,transparent 17px)}

/* ===================== 1.40: Stats on one screen =====================
   The owner (with a screenshot of Stats scrolling): "make this fit without scrolling". The list in two columns (.stg),
   each cell label left, number right, a hairline under each row; 38 px rows. */
.stg{display:grid;grid-template-columns:1fr 1fr;column-gap:18px}
.stg .str{min-height:38px;font-size:13.5px}
.stg .str:last-child{border-bottom:1px solid rgba(255,255,255,.07)}
.stg .str:nth-last-child(-n+2):nth-child(odd),.stg .str:nth-last-child(-n+2):nth-child(odd)~.str{border-bottom:0}
.stg .str span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stg .str b .quid{width:12px;height:12px}
.stl{padding:2px 14px 2px}
.stl h3{margin:9px 0 1px}
@media (max-width:400px){.stg{column-gap:12px}.stg .str{font-size:12.5px;gap:6px}.stl{padding:2px 11px}}
/* 1.40: the machine picker a little tighter on shorter screens, so it fits without scrolling */
@media (max-height:800px){.sheet.machines .sheet-in{gap:8px}.mcab{gap:5px;padding:8px 6px 9px}.mc-tag{min-height:0}.mc-bon small{min-height:0}}
@media (max-height:700px){.mc-reels img:nth-child(n+7){display:none}}
.str b .q{color:#fff}

/* ===================== 1.41: the Rich List, with stats =====================
   Each player two lines (rank, name, best run; then spins and best multiple in plain words), a hairline caption over the
   columns, and a tap opening four tiles (top win, bonuses, runs, the machine) and the profile link. */
.bhead{display:flex;justify-content:space-between;padding:0 50px 6px 48px;font-size:11.5px;font-weight:700;color:var(--dim)}
.board{display:flex;flex-direction:column;gap:6px}
.board .brow.r2{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0;padding:0;background:rgba(0,0,0,.24);border:1px solid rgba(255,255,255,.07);border-radius:14px;overflow:hidden;min-height:0}
.board .brow.r2.me{border-color:rgba(255,214,90,.6);background:rgba(255,214,90,.07)}
body[data-theme=jet] .board .brow.r2.me{border-color:rgba(200,225,255,.6);background:rgba(160,200,255,.08)}
.bmain{display:flex;align-items:center;gap:10px;min-width:0;min-height:58px;padding:8px 4px 8px 10px;text-align:left;color:#fff}
.bmain:active{background:rgba(255,255,255,.04)}
.board .brow.r2 .bmain>i{flex:none;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:12.5px;font-weight:900;background:rgba(255,255,255,.08);color:#fff}
.board .brow.top1 .bmain>i{background:linear-gradient(#fff3b0,#f6c443);color:#2b1203}
.board .brow.top2 .bmain>i{background:linear-gradient(#ffffff,#b9c4d6);color:#1a0626}
.board .brow.top3 .bmain>i{background:linear-gradient(#f2b47a,#b0682e);color:#2b1203}
.bmid{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.bname{font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bname em{font-style:normal;font-size:9.5px;font-weight:900;letter-spacing:.06em;color:var(--ink);background:var(--gold);border-radius:5px;padding:1px 5px;vertical-align:2px}
.bst{display:flex;gap:12px;font-size:12px;color:var(--dim);white-space:nowrap;overflow:hidden}
.bst b{color:#fff;font-weight:800}
.bval{flex:none;display:flex;align-items:center;gap:4px}
.bval b{font-size:15.5px;font-weight:900;color:var(--gold2);font-variant-numeric:tabular-nums;white-space:nowrap}
body[data-theme=jet] .bval b{color:#e6f2ff}
.bval .bmc{width:18px;height:18px}
.bchev{flex:none;width:16px;height:16px;fill:none;stroke:var(--dim);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.brow.open .bchev{transform:rotate(180deg)}
.board .brow.r2 .rep-slot{width:40px;align-self:stretch}
.bmore{grid-column:1/-1;display:none;padding:0 10px 10px}
.brow.open .bmore{display:block}
.btiles{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.08);padding-top:9px}
.btiles>span{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;text-align:center}
.btiles>span+span{box-shadow:-1px 0 0 rgba(255,255,255,.08)}
.btiles b{font-size:14px;font-weight:800;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.btiles b .quid{width:11px;height:11px}
.btiles small{font-size:11px;color:var(--dim)}
.bprof{display:flex;align-items:center;justify-content:center;min-height:40px;margin-top:9px;border-radius:11px;border:1px solid rgba(255,255,255,.18);color:#fff;font-size:13.5px;font-weight:700;text-decoration:none}
.bprof:active{background:rgba(255,255,255,.06)}
/* placeholders while it first loads */
.board .brow.r2.sk .bmain>i,.board .brow.r2.sk .bmid a,.board .brow.r2.sk .bmid small,.board .brow.r2.sk .bmain>b{display:block;border-radius:6px;background:rgba(255,255,255,.08);animation:skp 1.2s ease-in-out infinite}
.board .brow.r2.sk .bmid a{height:13px;width:55%}.board .brow.r2.sk .bmid small{height:10px;width:75%}.board .brow.r2.sk .bmain>b{width:56px;height:14px}
@media (max-width:370px){.bst{gap:8px;font-size:11px}.bname{font-size:14px}.btiles b{font-size:12.5px}}
/* the old one-line rows' rules (.board .brow small / b) must not reach the new rows */
.board .brow.r2 small{max-width:none;overflow:visible;flex:initial}
.board .brow.r2 b{min-width:0;text-align:inherit}
.btiles b{display:flex;align-items:center;justify-content:center;gap:2px}
.btiles>span:last-child b{font-size:12.5px}
@media (max-width:400px){.bval .bmc{display:none}.bst{gap:9px}}
@media (max-width:400px){.btiles>span:last-child b{font-size:11px}}

/* ===================== 1.42: Jet Set's Take-Off, Flight Path and the departure board =====================
   #jbV (flight.js) is one layer over the machine for both games, like Vault Drop's: the left box (FUEL bars or MOVES),
   the name, WON; a line of pills (boosts, the multiplier ladder and passport stamps); the board canvas with a card (what
   a city paid) and the big stamps; a hint. The departure board (flapPick in app.js) is the randomiser: split flaps. */
.jbv{position:fixed;left:0;right:0;top:var(--mdts-h,0px);bottom:0;z-index:45;display:none;flex-direction:column;gap:8px;max-width:560px;margin:0 auto;padding:8px 10px calc(10px + env(safe-area-inset-bottom));background:radial-gradient(120% 70% at 50% 0%,#1f4488 0%,#0b1f4c 55%,#050d26 100%)}
.jbv.show{display:flex;animation:dvIn .45s ease-out}
.jb-top{display:flex;align-items:center;gap:8px}
.jb-box{flex:0 0 auto;min-width:84px;min-height:46px;padding:4px 10px;border-radius:12px;background:#050d26;border:1px solid rgba(200,225,255,.35);text-align:center;display:flex;flex-direction:column;justify-content:center}
.jb-box small{display:block;font-size:10px;font-weight:800;letter-spacing:.12em;color:#9fb6dc}
.jb-box b{display:block;font-size:17px;font-weight:900;white-space:nowrap;color:#fff}
.jb-box b .quid{width:14px;height:14px}
.jb-box.win{border-color:rgba(255,214,90,.6)}
.jb-title{flex:1;min-width:0;text-align:center}
.jb-title small{display:block;font-size:10px;font-weight:800;letter-spacing:.12em;color:#9fc4ff}
.jb-title b{display:block;white-space:nowrap;font:italic 900 clamp(20px,6.6vw,28px)/1.05 var(--sans);background:linear-gradient(#ffffff 15%,#d6ecff 50%,#7ab8ff 85%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 2px 0 #06204a)}
.fuel{display:flex;gap:4px;justify-content:center;padding:3px 0}
.fuel i{width:16px;height:10px;border-radius:3px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2)}
.fuel i.on{background:linear-gradient(#fff3b0,#ffb347);border-color:#ffe27a;box-shadow:0 0 6px rgba(255,180,70,.7)}
.jb-info{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;min-height:30px}
.jb-pill{font-size:12.5px;font-weight:600;color:#cfdcf2;padding:5px 11px;border-radius:999px;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.1)}
.jb-pill b{color:#fff;font-weight:800}
.jb-pill.gold b{color:var(--gold2)}
.jb-ladder{display:flex;gap:4px}
.jb-ladder i{font-style:normal;font-size:12.5px;font-weight:900;padding:4px 9px;border-radius:8px;color:rgba(255,255,255,.5);background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.1)}
.jb-ladder i.got{color:#cfe6ff}
.jb-ladder i.on{color:#0b1426;background:linear-gradient(#ffffff,#a9c8ee);border-color:#fff}
.jb-pass{display:flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.1)}
.jb-pass i{width:12px;height:12px;border-radius:50%;border:1.5px solid rgba(255,255,255,.35)}
.jb-pass i.on{background:#7df9ff;border-color:#7df9ff;box-shadow:0 0 6px rgba(125,249,255,.7)}
.jb-pass small{font-size:11.5px;color:#cfdcf2;margin-left:3px}
.jb-pass b{font-size:12px;color:#7df9ff}
.jb-board{position:relative;flex:1;min-height:0;border-radius:16px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.jb-board canvas{display:block}
.jb-card{position:absolute;left:50%;bottom:14px;transform:translate(-50%,12px);min-width:180px;padding:10px 16px;border-radius:14px;text-align:center;background:rgba(5,13,38,.9);border:1px solid rgba(200,225,255,.4);box-shadow:0 8px 20px rgba(0,0,0,.45);opacity:0;transition:opacity .2s,transform .2s;pointer-events:none}
.jb-card.show{opacity:1;transform:translate(-50%,0)}
.jb-card small{display:block;font-size:11px;font-weight:800;letter-spacing:.12em;color:#9fc4ff}
.jb-card b{display:block;font-size:18px;font-weight:900;color:#fff;margin:2px 0}
.jb-card em{display:flex;align-items:center;justify-content:center;gap:6px;font-style:normal;font-size:17px;font-weight:800;color:var(--gold2)}
.jb-card em i{font-style:normal;font-size:12px;padding:1px 6px;border-radius:6px;background:#7df9ff;color:#06204a}
.jb-card.cargo{border-color:#7df9ff}.jb-card.cargo b{color:#7df9ff}
.jb-card.dim em{color:#cfdcf2;font-size:13px;font-weight:600}
.jb-stamp{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;pointer-events:none;opacity:0;text-align:center;padding:0 10px;font:italic 900 clamp(30px,10vw,46px)/1 var(--sans);color:#fff;-webkit-text-stroke:1.5px #3a5ad6;text-shadow:0 0 18px rgba(120,190,255,.9),0 4px 0 rgba(0,0,0,.6)}
.jb-stamp small{font:800 12px var(--sans);letter-spacing:.14em;color:#cfe6ff;-webkit-text-stroke:0;text-shadow:0 2px 6px #000}
.jb-stamp .q{font:900 26px var(--sans);-webkit-text-stroke:0}
.jb-stamp.jp{-webkit-text-stroke-color:#c2189a;text-shadow:0 0 22px #ff7ad9,0 4px 0 rgba(0,0,0,.6)}
.jb-stamp.mod,.jb-stamp.x2{-webkit-text-stroke-color:#e07a12;text-shadow:0 0 22px #ffb347,0 4px 0 rgba(0,0,0,.6)}
.jb-stamp.grand{font-size:clamp(34px,11vw,52px);-webkit-text-stroke-color:#b8791a;text-shadow:0 0 30px #ffd24a,0 0 60px #ff8a00,0 5px 0 rgba(0,0,0,.6)}
.jb-stamp.show{animation:dvStamp 1.5s ease-out forwards}
.jb-hint{margin:0;min-height:18px;line-height:18px;font-size:13px;color:#cfdcf2;text-align:center}

/* the departure board: Jet Set's randomiser */
.wh.fb h2{background:linear-gradient(#ffffff 15%,#d6ecff 50%,#7ab8ff 85%);-webkit-background-clip:text;background-clip:text;font-family:var(--sans);font-weight:900}
.fb-board{display:flex;flex-direction:column;gap:6px;padding:12px 12px 14px;border-radius:16px;background:linear-gradient(#22262f,#0d0f14);border:1px solid rgba(255,190,90,.45);box-shadow:0 12px 30px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.08)}
.fb-head{display:flex;justify-content:space-between;padding:0 4px;font-size:10px;font-weight:800;letter-spacing:.14em;color:#ffb347}
.fb-row{display:flex;gap:8px;align-items:center}
.fb-row.dim{opacity:.45}
.fb-flaps,.fb-gate{display:flex;gap:2px}
.fl{position:relative;display:flex;align-items:center;justify-content:center;width:clamp(19px,5.4vw,24px);height:clamp(30px,8.4vw,36px);border-radius:4px;background:linear-gradient(#2c303a 0 49%,#05060a 49% 51%,#1a1d24 51%);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);perspective:200px}
.fl b{font:900 clamp(15px,4.4vw,20px) var(--sans);color:#fff4d8;line-height:1}
.fl.flip b{animation:flflip .16s ease-out}
@keyframes flflip{0%{transform:rotateX(90deg);opacity:.3}100%{transform:none;opacity:1}}
.fb-gate .fl b{color:#ffb347}
.fb-board.won{animation:whwon .8s ease-in-out 2;border-color:#ffe27a;box-shadow:0 0 26px rgba(255,190,90,.45),0 12px 30px rgba(0,0,0,.55)}
.fb-board.won .fb-row:not(.dim) .fl b{color:#ffe27a}
.wheel.flapv.grand .wh p b,.wheel.grand .wh p b{color:#ffe14a}
.wheel.flapv .wh p b{font-family:var(--sans);font-weight:900}
.wheel.flapv.pots .wh p b{color:#ffc46a}.wheel.flapv.tomb .wh p b{color:#b9d0ff}.wheel.flapv.fish .wh p b{color:#7df9ff}
@media (max-width:370px){.fl{width:17px;height:28px}.fl b{font-size:14px}}

/* ===================== 1.43: Jet Set's boarding-pass reel (the randomiser) =====================
   A window with faded edges, a strip of boarding passes sliding under a glowing marker; the card under the marker is
   biggest and brightest (set each frame by flapPick). */
.wh.tr h2{background:linear-gradient(#ffffff 15%,#d6ecff 50%,#7ab8ff 85%);-webkit-background-clip:text;background-clip:text;font-family:var(--sans);font-weight:900}
.tr-win{position:relative;width:min(400px,calc(100vw - 30px));height:200px;margin:0 auto;overflow:hidden;border-radius:20px;background:radial-gradient(120% 90% at 50% 0%,#1f4488,#071434 70%);box-shadow:inset 0 0 0 1px rgba(200,225,255,.22),0 14px 34px rgba(0,0,0,.55);-webkit-mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent);mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent)}
.tr-strip{position:absolute;left:0;top:18px;display:flex;column-gap:10px;will-change:transform}
.tk{position:relative;flex:none;width:112px;height:164px;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 7px 9px;border-radius:14px;text-align:center;color:#fff;border:1px solid rgba(255,255,255,.22);box-shadow:0 6px 14px rgba(0,0,0,.4);transform-origin:50% 55%}
.tk::before,.tk::after{content:"";position:absolute;top:44px;width:12px;height:12px;border-radius:50%;background:#0b1f4c}
.tk::before{left:-7px}.tk::after{right:-7px}
.tk-top{display:flex;justify-content:space-between;width:100%;padding-bottom:6px;border-bottom:1.5px dashed rgba(255,255,255,.3);font-size:8.5px;font-weight:900;letter-spacing:.08em}
.tk-top small{opacity:.75}.tk-top em{font-style:normal}
.tk img{width:58px;height:58px;margin-top:4px;filter:drop-shadow(0 3px 5px rgba(0,0,0,.4))}
.tk b{font-size:13px;font-weight:900;letter-spacing:.02em;line-height:1.1}
.tk>small{font-size:10px;font-weight:600;line-height:1.2;opacity:.85}
.tk.t-pots{background:linear-gradient(160deg,#ffb347,#c2600c 60%,#7a3a00)}
.tk.t-tomb{background:linear-gradient(160deg,#8aa8ff,#3a5ad6 60%,#1a2a7a)}
.tk.t-fish{background:linear-gradient(160deg,#5ae0ff,#0a8ac6 60%,#06447a)}
.tk.t-grand{background:linear-gradient(160deg,#fff6c0,#f0b02a 45%,#a8650c);color:#2b1203;border-color:#fff3b0}
.tk.t-grand b{font-size:17px}
.tk.won{opacity:1!important;box-shadow:0 0 0 2px #fff,0 0 28px rgba(255,255,255,.55),0 8px 18px rgba(0,0,0,.45)}
.tk.off{opacity:.25!important;filter:saturate(.4)}
.tr-mark{position:absolute;left:50%;top:6px;bottom:6px;width:3px;margin-left:-1.5px;border-radius:2px;background:linear-gradient(#fff,#ff7ad9 50%,#fff);box-shadow:0 0 10px #ff7ad9,0 0 22px rgba(255,122,217,.6);pointer-events:none}
.tr-mark::before,.tr-mark::after{content:"";position:absolute;left:50%;width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;transform:translateX(-50%)}
.tr-mark::before{top:-6px;border-top:12px solid #fff}
.tr-mark::after{bottom:-6px;border-bottom:12px solid #fff}
.tr-mark.tick{animation:trtick .14s ease-out}
@keyframes trtick{50%{transform:scaleY(.94)}}
.wheel.ticketv .wh p b{font-family:var(--sans);font-weight:900}
.wheel.ticketv.pots .wh p b{color:#ffc46a}.wheel.ticketv.tomb .wh p b{color:#b9d0ff}.wheel.ticketv.fish .wh p b{color:#7df9ff}.wheel.ticketv.grand .wh p b{color:#ffe14a}
@media (prefers-reduced-motion:reduce){.tr-mark.tick{animation:none}}
/* 1.43: Flight Path's ROLL button (only in Flight Path) */
.jb-bot{display:flex;flex-direction:column;align-items:center;gap:6px}
.jb-hint .quid{width:12px;height:12px}
.jb-hint b{color:var(--gold2)}
.jb-roll{display:none;flex-direction:column;align-items:center;justify-content:center;width:min(260px,70vw);height:60px;border-radius:999px;color:#2b1203;background:linear-gradient(#ffeaa0,#f8c844 48%,#e8a21c);box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 3px 0 #9a5f0a,0 10px 22px rgba(0,0,0,.45);touch-action:manipulation}
.jbv[data-kind=path] .jb-roll{display:flex}
.jb-roll b{font-size:20px;font-weight:900;letter-spacing:.1em;line-height:1}
.jb-roll small{font-size:11.5px;font-weight:700;opacity:.75;margin-top:2px}
.jb-roll:disabled{opacity:.45}
.jb-roll.ready{animation:breathe 1.6s ease-in-out infinite}
.jb-roll:active{transform:translateY(2px)}
/* Flight Path's three rolls, across the top of the map */
.jb-offers{position:absolute;left:8px;right:8px;top:8px;display:none;grid-template-columns:repeat(3,1fr);gap:6px;pointer-events:none}
.jb-offers.show{display:grid}
.of{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 4px 7px;border-radius:12px;background:rgba(5,13,38,.88);border:1px solid rgba(255,255,255,.2);box-shadow:0 4px 12px rgba(0,0,0,.4);animation:ofin .3s ease-out backwards;transition:opacity .25s,transform .25s}
.of:nth-child(2){animation-delay:.22s}.of:nth-child(3){animation-delay:.44s}
@keyframes ofin{from{opacity:0;transform:translateY(-8px) scale(.9)}}
.of.has{border-color:rgba(255,214,90,.6)}
.of small{font-size:10px;font-weight:800;letter-spacing:.06em;color:#cfdcf2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.of b{font-size:16px;font-weight:900;color:var(--gold2);white-space:nowrap}
.of b .quid{width:13px;height:13px}
.of.none b{font-size:12px;color:rgba(255,255,255,.55)}
.of em{font-style:normal;font-size:9.5px;font-weight:800;color:#06204a;background:#7df9ff;border-radius:6px;padding:0 5px}
.of-die{display:flex;gap:3px;padding:3px 5px;border-radius:6px;background:#fff}
.of-die i{width:5px;height:5px;border-radius:50%;background:transparent}
.of-die i.on{background:#c2189a}
.of.missed{opacity:.35;transform:scale(.94)}
.of.won{border-color:#ffe27a;background:rgba(255,214,90,.2);box-shadow:0 0 0 2px #ffe27a,0 0 20px rgba(255,214,90,.5)}

/* ===== 1.45, the owner: "make sure it's all sharp and not rounded", with photos of real slot cabinets: the machine is
   square-cornered metal (the frame, the reel window, the jackpot plaques, the Vault, the money boxes, the pills and
   the top boxes); only the round Spin, Auto and Turbo buttons stay round ===== */
body .frame,body[data-theme] .frame{border-radius:5px}
body .frame::after,body[data-theme] .frame::after{border-radius:2px}
body .frame::before{border-radius:7px}
body .frame canvas,body #reels{border-radius:0}
body #jps .jp,body .jp{border-radius:4px}
body #jps .vault{border-radius:4px}
body .panel .box{border-radius:4px}
body .ctl .pill{border-radius:4px}
body .top .hbox,body .runbox,body .hbox{border-radius:4px}
body .fbar{border-radius:4px}

/* ===== 1.52, the owner: "turn off zoom on iPhone and iPad... build a proper separate iPad view that fills the screen
   more smartly. Make the vault larger and the jackpot amounts... if you hold anything down it doesn't pop up the blue
   text select thing" ===== */
/* no text selection, no press-and-hold callout, no double-tap zoom anywhere in the game (typing in a field still works) */
html,body,#app,#app *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
html,body{touch-action:manipulation}
img,canvas{-webkit-user-drag:none;-webkit-touch-callout:none}
input,textarea,[contenteditable]{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
@media (pointer:coarse){aside.wide{-webkit-user-select:none;user-select:none}}

/* bigger jackpot amounts and Vault (every layout) */
#jps{grid-template-columns:1fr 1fr 78px 1fr 1fr}
#jps .jp{padding:5px 3px 6px;display:flex;flex-direction:column;justify-content:center}
#jps .jp small{font-size:10px}
#jps .jp b{font-size:18px;line-height:1.1}
#jps .jp.grand b{font-size:19px}
#jps .vault canvas{margin:-10px -6px}
@media (max-height:660px){#jps .jp b{font-size:15px}#jps .jp.grand b{font-size:16px}}

/* ---- the iPad view, portrait (iPad mini to iPad Pro 13", also any tall tablet-sized window): one wide column
   that fills the screen, everything scaled for a big touch screen; landscape iPads keep the side panels ---- */
@media (min-width:700px) and (min-height:900px) and (orientation:portrait){
  .cab{max-width:min(100%,880px);gap:12px;padding-left:max(22px,env(safe-area-inset-left));padding-right:max(22px,env(safe-area-inset-right));padding-bottom:calc(18px + env(safe-area-inset-bottom))}
  .top{min-height:64px}
  .hbox,.runbox{height:62px;min-height:62px}
  .hbox{width:150px}
  .menub span{font-size:17px}.menub svg{width:28px;height:28px}
  .runbox .rn{min-width:76px}.runbox .rn small,.runbox .newrun small{font-size:12px}.runbox .rn b{font-size:28px}.runbox .newrun{width:68px}.runbox .newrun svg{width:26px;height:26px}
  .logo span{font-size:clamp(40px,6vw,58px)}
  .logo small{font-size:14px}
  #jps{grid-template-columns:1fr 1fr 124px 1fr 1fr;gap:10px}
  #jps .jp{padding:9px 6px 11px}
  #jps .jp small{font-size:14px;letter-spacing:.16em}
  #jps .jp b{font-size:clamp(26px,3.6vw,34px)}
  #jps .jp.grand b{font-size:clamp(28px,3.9vw,37px)}
  #jps .vault canvas{margin:-12px -8px}
  .fbar{min-height:58px;font-size:18px}
  .msg{height:48px;font-size:22px}.msg.dim{font-size:19px}.msg.win{font-size:27px}.msg.win small{font-size:16px}.msg.hot,.msg.super{font-size:25px}
  .panel{gap:12px}
  .panel .box{padding:10px 12px 12px}
  .box small{font-size:13px}
  .box b{font-size:30px}
  .betrow button{width:56px;height:56px;font-size:32px}
  .ctl{gap:18px;padding-top:6px}
  .side{gap:14px}
  .round{width:86px;height:86px}.round svg{width:32px;height:32px}.round span{font-size:13px}
  .pill{min-height:66px;max-width:250px;font-size:16px}
  .spin{width:156px;height:156px}.spin svg{width:80px;height:80px}
  .banner b{font-size:min(84px,10vw)}.banner small{font-size:18px}
  .sheet{max-width:640px}
}
/* a 768 x 1024 iPad mini: a little less height to share */
@media (min-width:700px) and (min-height:900px) and (max-height:1060px) and (orientation:portrait){
  .msg{height:40px;font-size:19px}.msg.dim{font-size:17px}.msg.win{font-size:23px}.msg.hot,.msg.super{font-size:21px}.spin{width:132px;height:132px}.round{width:76px;height:76px}.pill{min-height:58px}.box b{font-size:26px}
}
/* landscape iPads keep the laptop layout with its side panels; on a touch screen the controls get bigger */
@media (pointer:coarse) and (min-width:1000px) and (min-height:560px) and (orientation:landscape){
  .cab{max-width:700px}
  .spin{width:122px;height:122px}.round{width:68px;height:68px}.pill{min-height:52px}
  #jps .jp b{font-size:22px}#jps .jp.grand b{font-size:23px}
}

/* ===== 1.53: the Sound tile and the Sound style sheet ===== */
.mrow.m3{grid-template-columns:1fr 1fr 1fr}
.mrow.m3 .mt.slim{padding:8px 7px;gap:7px}
.mrow.m3 .mt.slim b{font-size:13px}
.mrow.m3 .mt.slim small{font-size:11px}
@media (max-width:390px){.mrow.m3 .mt.slim .mi{display:none}}
.sndl{display:flex;flex-direction:column;gap:8px}
.snd{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:10px 12px;text-align:left;border-radius:4px;border:1.5px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05)}
.snd span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.snd b{font-size:16px;color:#fff}
.snd small{font-size:12.5px;color:var(--dim);line-height:1.3}
.snd em{font-style:normal;font-size:11px;font-weight:800;letter-spacing:.06em;color:var(--dim);white-space:nowrap}
.snd.on{border-color:var(--gold2);background:rgba(255,214,90,.1);box-shadow:inset 0 0 0 1px rgba(255,214,90,.25)}
.snd.on em{color:var(--gold2)}
.snd-ic{flex:none;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.18);position:relative}
.snd-ic::before{content:"";width:24px;height:24px;background:var(--gold2);-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat}
.snd-classic{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 12h3l2-6 3 12 3-9 2 5 2-2h5'/%3E%3C/svg%3E")}
.snd-piano{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='1'/%3E%3Cpath d='M8 4v16M13 4v16M18 4v16' stroke-width='1.4'/%3E%3Cpath d='M6.5 4h3v9h-3zM11.5 4h3v9h-3zM16.5 4h3v9h-3z' fill='black' stroke='none'/%3E%3C/svg%3E")}
.snd-guitar{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 10 20 4m-1-1 2 2M9.5 11.5c-2-1.5-5 0-5.5 2.5-.6 3 2 6.5 5 6 2.5-.4 4-3.4 2.5-5.5 1.6-.4 2.4-1.6 2.2-3-.3-1.6-2.6-2.4-4.2 0Z'/%3E%3Ccircle cx='9' cy='15' r='1.2'/%3E%3C/svg%3E")}
.snd-jazz{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3v8c0 4-2.5 8-6 8a3 3 0 0 1-3-3c0-2 2-3 4-3M15 6c2 0 4 1 4 3M15 3c3 0 5 2 5 4'/%3E%3Cpath d='M9 19l-2 2'/%3E%3C/svg%3E")}
body[data-theme=jet] .snd.on{border-color:#cfe6ff;background:rgba(160,200,255,.12)}
body[data-theme=jet] .snd.on em,body[data-theme=jet] .snd-ic::before{color:#cfe6ff;background:#cfe6ff}

/* ===== 1.56: the Stats page: the career chart and its numbers ===== */
.sheet.statpage{height:calc(100% - var(--mdts-h,0px) - 14px)}
.statpage .sheet-in{gap:12px}
.chips{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.chips .gap{flex:1}
.chip{min-height:36px;padding:0 13px;border-radius:4px;border:1.5px solid rgba(255,255,255,.18);background:rgba(255,255,255,.05);font:800 13px var(--sans);color:#e9e3ff}
.chip.on{background:linear-gradient(#fff3b0,#f6c443);border-color:#f6c443;color:#2a1402}
.chips.sm .chip{min-height:32px;padding:0 10px;font-size:12px}
body[data-theme=jet] .chip.on{background:linear-gradient(#ffffff,#cfdcf2);border-color:#e6f2ff;color:#0a1838}
.sx-head{display:flex;flex-direction:column;gap:1px}
.sx-head small{font:700 12px var(--sans);color:var(--dim)}
.sx-head b{font:900 34px/1.1 var(--sans);color:#fff;font-variant-numeric:tabular-nums}
.sx-head em{font-style:normal;font-size:13px;color:#d9d0ef}
.sx-head.up b,.up{color:#2ed573}.sx-head.down b,.down{color:#ff6b78}
.chart{position:relative;border-radius:4px;background:linear-gradient(rgba(0,0,0,.35),rgba(0,0,0,.2));border:1px solid rgba(255,255,255,.08);padding:4px 0;touch-action:none;min-height:150px}
.chart canvas{display:block;width:100%}
.chart-empty{position:absolute;inset:0;display:grid;place-items:center;margin:0;padding:20px;text-align:center;color:var(--dim);font-size:14px}
.chart-tip{position:absolute;top:6px;pointer-events:none;background:rgba(10,4,26,.92);border:1px solid rgba(255,255,255,.18);border-radius:4px;padding:6px 9px;display:flex;flex-direction:column;gap:1px;max-width:260px}
.chart-tip small{font-size:11px;color:var(--dim);white-space:nowrap}
.chart-tip b{font:900 17px var(--sans)}
.chart-tip i{font-style:normal;font-size:11px;color:#d9d0ef}
.sxg{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.sx{background:rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.07);border-radius:4px;padding:8px 10px;display:flex;flex-direction:column;gap:2px;min-width:0}
.sx small{font:700 11.5px var(--sans);color:var(--dim)}
.sx b{font:900 17px var(--sans);color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sx b i,.str b i{font-style:normal;font-weight:600;font-size:12px;color:var(--dim)}
.sx.up b{color:#2ed573}.sx.down b{color:#ff6b78}
.sx-note{font-size:12px!important}
@media (min-width:700px) and (min-height:900px) and (orientation:portrait){.sheet.statpage{max-width:760px}.sxg{grid-template-columns:1fr 1fr 1fr}.sx-head b{font-size:44px}}
.statpage .sheet-in>*{flex:none}
.chart-tip[hidden]{display:none}
.sx-old{margin:6px 0 8px;font-size:12px;color:var(--dim)}
.stl h3+.stg{margin-bottom:2px}
.stg.one{grid-template-columns:1fr}
.stg.one .str{border-bottom:1px solid rgba(255,255,255,.07)!important}.stg.one .str:last-child{border-bottom:0!important}
.sx-whole{margin:-4px 0 0;font-weight:800;font-size:14px}
.sx-whole span{font-weight:600;font-size:12px;color:var(--dim)}
.chart-tip b.est{color:#d8d2ee}

/* ===== 1.59: Play live: the strip under the top bar, the invite card, the table sheet ===== */
.live{flex:none;display:flex;align-items:stretch;gap:6px;height:40px;min-width:0}
.live[hidden]{display:none}
.lv-tag{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 8px;border-radius:4px;background:linear-gradient(#ff4d6a,#b0102c);color:#fff;font:900 9.5px var(--sans);letter-spacing:.12em;box-shadow:0 0 12px rgba(255,60,90,.45)}
.lv-tag i{font-style:normal;font-size:14px;letter-spacing:0;line-height:1}
.lv-row{flex:1;min-width:0;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.lv-row::-webkit-scrollbar{display:none}
.lv-p,.lv-o{flex:none;display:flex;align-items:center;gap:6px;padding:3px 9px 3px 5px;border-radius:4px;border:1.5px solid rgba(255,255,255,.16);background:rgba(0,0,0,.35);text-align:left;min-height:40px}
.lv-p img,.lv-o img{width:24px;height:24px;flex:none}
.lv-p span,.lv-o span{display:flex;flex-direction:column;line-height:1.1;min-width:0}
.lv-p b,.lv-o b{font-size:12.5px;color:#fff;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lv-p small,.lv-o small{font-size:10.5px;color:var(--dim);white-space:nowrap}
.lv-p em{font-style:normal;font:900 12px var(--sans);color:var(--gold2);min-width:10px;text-align:center}
.lv-p.you{border-color:var(--gold2);background:rgba(255,214,90,.1)}
.lv-o{border-style:dashed}
.lv-o.sent{opacity:.65}
.live-inv{position:fixed;left:50%;top:calc(var(--mdts-h,0px) + 8px);transform:translate(-50%,-140%);z-index:60;width:min(94vw,440px);display:flex;flex-direction:column;gap:9px;padding:12px 14px;border-radius:6px;background:linear-gradient(#2a1466,#140838);border:1.5px solid var(--gold2);box-shadow:0 12px 30px rgba(0,0,0,.6);transition:transform .35s cubic-bezier(.2,1.3,.4,1)}
.live-inv.show{transform:translate(-50%,0)}
.live-inv div{font-size:15px;color:#fff}.live-inv small{display:block;font-size:12px;color:var(--dim);margin-top:2px}
.live-inv span{display:grid;grid-template-columns:1fr 1fr;gap:8px}.live-inv .btn{min-height:44px}
body[data-theme=jet] .live-inv{background:linear-gradient(#142c62,#081634);border-color:#cfe6ff}
.lv-board{display:flex;flex-direction:column;gap:6px}
.lv-r{position:relative;display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:4px;background:rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.08)}
.lv-r.you{border-color:var(--gold2);background:rgba(255,214,90,.08)}
.lv-r em{font-style:normal;font:900 15px var(--sans);color:var(--gold2);width:16px;text-align:center}
.lv-r img{width:30px;height:30px;flex:none}
.lv-n{flex:1;min-width:0;display:flex;flex-direction:column}.lv-n b{font-size:15px;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lv-n small{font-size:11.5px;color:var(--dim)}
.lv-s{display:flex;gap:9px;flex:none}.lv-s span{display:flex;flex-direction:column;align-items:flex-end}.lv-s small{font-size:10px;color:var(--dim)}.lv-s b{font:900 14px var(--sans);color:#fff;font-variant-numeric:tabular-nums}
.lv-s b.up{color:#2ed573}.lv-s b.down{color:#ff6b78}
.lv-rep{position:absolute;top:2px;right:4px;width:22px;height:22px;font-size:11px;color:var(--dim)}
.lv-tot{margin:2px 0 0;font-size:14px;color:#d9d0ef}.lv-tot b.up{color:#2ed573}.lv-tot b.down{color:#ff6b78}
.lv-h{margin:6px 0 0;font:800 13px var(--sans);color:var(--gold2)}
.lv-list{display:flex;flex-direction:column;gap:6px}
.lv-list .lv-o{width:100%;min-height:52px;padding:6px 12px;border-style:solid}
.lv-list .lv-o img{width:30px;height:30px}.lv-list .lv-o span{flex:1}.lv-list .lv-o b{font-size:15px;max-width:none}
.lv-list .lv-o i{font-style:normal;font:800 13px var(--sans);color:var(--gold2)}
.lv-fine{font-size:12px!important}
@media (max-width:390px){.lv-s{gap:6px}.lv-s b{font-size:13px}}
@media (min-width:700px) and (min-height:900px) and (orientation:portrait){.live{height:52px}.lv-p b,.lv-o b{font-size:15px}.lv-p small,.lv-o small{font-size:12.5px}.lv-p img,.lv-o img{width:30px;height:30px}}
.lv-rep{position:static;flex:none;width:30px;height:36px;margin-right:-6px;font-size:13px}
/* 1.62: inside Florbmart (html.fm, app.js FM): no new runs, and the menu's last row has two tiles */
.fm #btnNewRun{display:none}
.fm .mrow.m3{grid-template-columns:1fr 1fr}
.fmbroke .sk-top{height:auto;padding-bottom:14px}
.fm-why{margin:10px 0 0;font-size:15px;line-height:1.45;font-weight:600;color:var(--dim);text-align:center}
/* 1.61 live: reconnecting, the open-table note, Auto connect */
.lv-tag.wait{background:linear-gradient(#8a8496,#4c4658);box-shadow:none;animation:lvPulse 1.1s ease-in-out infinite}
@keyframes lvPulse{50%{opacity:.55}}
.lv-p.away,.lv-r.away{opacity:.5}
.lv-note{flex:none;align-self:center;font-size:11.5px;color:var(--dim);white-space:nowrap;padding:0 4px}
.lv-wait{color:#ffb84d}
.lv-auto{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;margin-top:8px;padding:8px 12px;border-radius:4px;border:1.5px solid rgba(255,255,255,.14);background:rgba(0,0,0,.25);text-align:left;-webkit-user-select:none;user-select:none}
.lv-auto span{flex:1;display:flex;flex-direction:column;min-width:0}.lv-auto b{font-size:15px;color:#fff}.lv-auto small{font-size:12px;color:var(--dim);line-height:1.3}
.lv-auto i{flex:none;position:relative;width:46px;height:28px;border-radius:14px;background:rgba(255,255,255,.18);transition:background .2s}
.lv-auto i::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:transform .2s}
.lv-auto.on{border-color:var(--gold2)}.lv-auto.on i{background:#2ed573}.lv-auto.on i::after{transform:translateX(18px)}
/* 1.63 live: the rival cards (the owner: "see the current ups and downs of the opponent... when they get a bonus...
   how much they're getting... progressing"). Phone: one line of cards, 58px; iPad portrait: 100px with a third line;
   iPad landscape and laptops: the same cards as rows in the right-hand panel (#liveSide). */
.live.tbl{height:58px}
.live.tbl .lv-tag{padding:0 6px}
.lv-c{position:relative;overflow:hidden;flex:1 0 116px;max-width:230px;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:5px 8px;border-radius:5px;border:1.5px solid rgba(255,255,255,.14);background:linear-gradient(rgba(255,255,255,.07),rgba(0,0,0,.38));text-align:left;color:#fff}
.lv-c.you{border-color:var(--gold2);background:linear-gradient(rgba(255,214,90,.16),rgba(0,0,0,.38))}
.lv-c.away{opacity:.5}
.lv-c .c1{display:flex;align-items:center;gap:5px;line-height:1.05;min-width:0}
.lv-c .c1 u{text-decoration:none;font:900 11px var(--sans);color:var(--gold2);min-width:9px;text-align:center;flex:none}
.lv-c .c1 b{flex:1;min-width:0;font-size:12.5px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lv-c .c1 em{flex:none;font:900 13.5px var(--sans);font-style:normal;font-variant-numeric:tabular-nums}
.lv-c .c1 img{width:18px;height:18px;flex:none}
.lv-c .c2{display:flex;align-items:center;gap:6px;height:20px;min-width:0}
.lv-c .c2 .st{font-size:11px;color:var(--dim)}
.lv-c .c3{font-size:11.5px;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spk{flex:1;min-width:0;height:100%;overflow:visible}
.spk path{fill:none;stroke-width:1.7;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}
.spk .u{stroke:#2ed573}.spk .d{stroke:#ff5b6b}
.spk .z{stroke:rgba(255,255,255,.25);stroke-width:1;stroke-dasharray:2 3}
.spk .a{stroke:none}.spk .a.pos{fill:rgba(46,213,115,.13)}.spk .a.neg{fill:rgba(255,91,107,.13)}
.lv-c .c2 s{flex:none;text-decoration:none;font:800 11px var(--sans);font-variant-numeric:tabular-nums;padding:2px 5px;border-radius:3px;background:rgba(255,255,255,.08);color:var(--dim)}
.lv-c .c2 s.up{color:#3ee07f;background:rgba(46,213,115,.15)}.lv-c .c2 s.dn{color:#ff7884;background:rgba(255,91,107,.13)}
.lv-c .c2 s.fl{animation:lvPop .6s cubic-bezier(.2,1.6,.4,1)}
@keyframes lvPop{0%{transform:scale(1.55)}100%{transform:scale(1)}}
/* in a bonus: its colour, a light sweeping across, the progress bar and the win counting up */
.lv-c.bn{border-color:var(--bc);background:linear-gradient(120deg,color-mix(in srgb,var(--bc) 42%,#140838),rgba(0,0,0,.5));box-shadow:0 0 14px color-mix(in srgb,var(--bc) 55%,transparent),inset 0 0 0 1px rgba(255,255,255,.12);animation:lvGlow 1.1s ease-in-out infinite alternate}
.lv-c.bn::before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 35%,rgba(255,255,255,.2) 50%,transparent 65%);transform:translateX(-100%);animation:lvSweep 1.8s linear infinite;pointer-events:none}
@keyframes lvGlow{to{box-shadow:0 0 22px color-mix(in srgb,var(--bc) 80%,transparent),inset 0 0 0 1px rgba(255,255,255,.2)}}
@keyframes lvSweep{to{transform:translateX(100%)}}
.lv-c.bn .c1 em,.lv-c.wonc .c1 em{color:#ffe27a;text-shadow:0 0 8px rgba(255,214,90,.6)}
.lv-c.bn .c2 small{flex:0 1 auto;min-width:0;max-width:48%;font:900 9.5px var(--sans);letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lv-c.bn .c2 small.pt{flex:none;max-width:none;letter-spacing:0;color:rgba(255,255,255,.75)}
.lv-c .pb{flex:1;min-width:16px;height:6px;border-radius:3px;background:rgba(0,0,0,.45);overflow:hidden;font-style:normal}
.lv-c .pb i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#fff,var(--bc));transition:width .5s ease-out}
.lv-c.wonc{border-color:#ffd25a;background:linear-gradient(120deg,color-mix(in srgb,var(--bc) 30%,#3a2a00),rgba(0,0,0,.5));animation:lvWon .5s ease-out}
@keyframes lvWon{0%{transform:scale(.94);box-shadow:0 0 30px rgba(255,214,90,.9)}100%{transform:scale(1)}}
.lv-c .wl{font:900 10px var(--sans);letter-spacing:.05em;color:#ffe27a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (prefers-reduced-motion:reduce){.lv-c.bn,.lv-c.bn::before,.lv-c.wonc,.lv-c .c2 s.fl{animation:none}}
@media (max-width:380px){.lv-c{flex-basis:104px;padding:5px 6px}.lv-c .c1 b{font-size:11.5px}.lv-c .c1 em{font-size:12.5px}}
/* the iPad in portrait: taller cards with a third line */
@media (min-width:700px) and (min-height:900px) and (orientation:portrait){
  .live.tbl{height:100px}
  .live.tbl .lv-tag{padding:0 10px}
  .lv-c{flex:1 0 200px;max-width:360px;padding:9px 13px;gap:6px}
  .lv-c .c1{gap:7px}.lv-c .c1 u{font-size:14px}.lv-c .c1 b{font-size:16px}.lv-c .c1 em{font-size:19px}.lv-c .c1 img{width:26px;height:26px}
  .lv-c .c2{height:30px}.lv-c .c2 s{font-size:13px;padding:3px 7px}
  .lv-c .c3{font-size:12.5px}
  .lv-c.bn .c2 small{font-size:11px}.lv-c .pb{height:7px}.lv-c .wl{font-size:12px}
  .live .lv-c.bn .c2 small:first-child{display:block}.live .lv-c .wl .wn{display:inline}
}
/* iPad landscape and laptops: the table at the top of the right-hand panel */
.sp-live h3{justify-content:flex-start!important;align-items:center!important}
.sp-live h3>span:last-child{margin-left:auto}
.lv-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.3);flex:none}
.lv-dot.on{background:#2ed573;box-shadow:0 0 8px #2ed573;animation:lvPulse 1.6s ease-in-out infinite}
.lv-dot.wait{background:#ffb84d}
.lv-side{display:flex;flex-direction:column;gap:8px}
.lv-side .lv-c{flex:none;max-width:none;width:100%;padding:10px 12px;gap:6px}
.lv-side .lv-c .c1 b{font-size:15px}.lv-side .lv-c .c1 em{font-size:17px}.lv-side .lv-c .c1 img{width:24px;height:24px}
.lv-side .lv-c .c2{height:34px}.lv-side .lv-c .c3{font-size:12px}
.lv-side.o .lv-o{width:100%;min-height:48px;border-style:solid}
/* the table sheet: each row's ups and downs (or its bonus) under it */
.lv-r{flex-wrap:wrap;row-gap:4px}
.lv-rs{flex:1 0 100%;order:9;min-width:0}
.lv-rs:empty{display:none}
.lv-ln{display:flex;align-items:center;gap:7px;height:24px;min-width:0}
.lv-ln s{flex:none;text-decoration:none;font:800 12px var(--sans);font-variant-numeric:tabular-nums;padding:2px 6px;border-radius:3px;background:rgba(255,255,255,.08);color:var(--dim)}
.lv-ln s.up{color:#3ee07f;background:rgba(46,213,115,.15)}.lv-ln s.dn{color:#ff7884;background:rgba(255,91,107,.13)}
.lv-ln.bn{height:30px;padding:0 8px;border-radius:4px;border:1px solid var(--bc);background:linear-gradient(120deg,color-mix(in srgb,var(--bc) 40%,#140838),rgba(0,0,0,.4))}
.lv-ln.bn img{width:22px;height:22px;flex:none}
.lv-ln.bn small{flex:0 1 auto;min-width:0;font:900 10.5px var(--sans);letter-spacing:.05em;text-transform:uppercase;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lv-ln.bn small.pt{flex:none;letter-spacing:0;color:rgba(255,255,255,.75)}
.lv-ln .pb{flex:1;min-width:30px;height:6px;border-radius:3px;background:rgba(0,0,0,.45);overflow:hidden;font-style:normal}
.lv-ln .pb i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#fff,var(--bc));transition:width .5s ease-out}
.lv-ln.bn em{flex:none;width:auto;text-align:right;margin-left:auto;font:900 14px var(--sans);font-style:normal;font-variant-numeric:tabular-nums;color:#ffe27a}
.lv-ln.won small{color:#ffe27a}
/* a phone's card in a bonus: just the picture, the bar and how far through (its name is on the iPad and in the sheet) */
.live .lv-c.bn .c2 small:first-child,.live .lv-c .wl .wn{display:none}
@media (min-width:700px) and (min-height:900px) and (orientation:portrait){.live .lv-c.bn .c2 small:first-child{display:block}.live .lv-c .wl .wn{display:inline}}
/* 1.64, the owner: "move the new run button down to the bottom so it's laid out nicely near the other buttons": NEW is a
   smaller round button beside AUTO (the RUN box at the top keeps the run number and its stats) */
.srow{display:flex;align-items:center;justify-content:center;gap:10px}
.round.mini{width:46px;height:46px}
.round.mini svg{width:17px;height:17px}
.round.mini span{font-size:8.5px}
.round.newrun:disabled{opacity:.35}
.top .runbox .rn{flex:1;min-width:0;max-width:none}
@media (max-height:660px){.round.mini{width:42px;height:42px}}
@media (max-width:370px){.srow{gap:6px}.round.mini{width:42px;height:42px}}
@media (min-width:700px) and (min-height:900px) and (orientation:portrait){.srow{gap:16px}.round.mini{width:66px;height:66px}.round.mini svg{width:25px;height:25px}.round.mini span{font-size:11px}}
@media (min-width:700px) and (min-height:900px) and (max-height:1060px) and (orientation:portrait){.round.mini{width:58px;height:58px}}
@media (min-width:1000px) and (min-height:560px) and (orientation:landscape){.srow{gap:14px}.round.mini{width:54px;height:54px}}
