/* Video Poker. Classes use the vp- prefix; playing cards come from /demos/_tables/cards.css (pc-). */
.vp-stage { --vp-gold: #ffcf5a; --vp-glass: #0a1430; }
.vp-screen { display: grid; grid-template-columns: 248px minmax(0, 1fr) 292px; gap: 14px; align-items: stretch; }
.vp-left, .vp-right { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.vp-center { min-width: 0; display: flex; }

.vp-machines button { white-space: nowrap; }
.vp-machines button:disabled { opacity: .45; cursor: default; }
.vp-ph { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.vp-ph small { font-size: 11.5px; }
.vp-muted { font-size: 12.5px; line-height: 1.45; color: var(--s-dim); }
.vp-link { appearance: none; background: none; border: 0; padding: 0; color: var(--you); font: 600 12px Inter, sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.vp-seg { display: flex; width: 100%; }
.vp-seg button { flex: 1; white-space: nowrap; }
.vp-seg button:disabled { opacity: .4; cursor: default; }
.vp-block .s-label { display: block; margin-bottom: 8px; }

/* balance */
.vp-bal-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.vp-bal > b { display: block; font: 800 30px/1.15 Inter, sans-serif; letter-spacing: -.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.vp-bal > small { display: block; font-size: 11.5px; color: var(--s-dim); margin-top: 2px; }

/* coach */
.vp-coach { display: flex; flex-direction: column; gap: 10px; }
.vp-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--s-text); user-select: none; }
.vp-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vp-switch i { position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--s-line); transition: background .2s; flex: none; }
.vp-switch i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--s-dim); transition: transform .2s, background .2s; }
.vp-switch input:checked + i { background: rgba(255,178,30,.35); }
.vp-switch input:checked + i::after { transform: translateX(14px); background: var(--you); }
.vp-switch input:focus-visible + i { outline: 2px solid var(--you); outline-offset: 2px; }
.vp-coach-b { min-height: 104px; }
.vp-hold-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--s-line); font-size: 12px; }
.vp-hold-row:last-child { border-bottom: 0; }
.vp-hold-row .vp-tags { display: flex; flex-wrap: wrap; gap: 2px; min-width: 0; }
.vp-hold-row b { font: 600 12px 'IBM Plex Mono', monospace; color: var(--s-text); }
.vp-hold-row.top b { color: var(--you); }
.vp-hold-row em { font-style: normal; color: var(--s-dim); font-size: 11.5px; }
.vp-note { font-size: 12.5px; line-height: 1.45; }
.vp-note p + p { margin-top: 6px; }
.vp-note .ok { color: var(--up); font-weight: 700; }
.vp-note .bad { color: var(--down); font-weight: 700; }
.vp-note .pc-tag { margin: 1px; }
.vp-coach-f { display: flex; justify-content: space-between; gap: 8px; white-space: nowrap; font-size: 11.5px; color: var(--s-dim); border-top: 1px solid var(--s-line); padding-top: 9px; }
.vp-coach-f b { color: var(--s-text); font-size: 12px; }
.pc-tag.vp-jtag { background: #fbfaf6; color: #c8233a; letter-spacing: .02em; }
.vp-ch-cap { font-size: 11px; color: var(--s-faint); margin-bottom: 2px; }

/* recent hands */
.vp-recent-w { flex: 1 1 0; min-height: 130px; display: flex; flex-direction: column; overflow: hidden; contain: size; }
.vp-recent { display: flex; flex-direction: column; overflow: hidden; }
.vp-rec { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--s-line); font-size: 12px; animation: dkfeed .4s cubic-bezier(.2,.9,.3,1); }
.vp-rec:last-child { border-bottom: 0; }
.vp-rec .vp-tags { display: flex; gap: 1px; }
.vp-rec .vp-tags .pc-tag { padding: 0 3px; margin: 0; font-size: 10.5px; line-height: 16px; }
.vp-rec .vp-tags .pc-tag svg { width: 8px; height: 8px; }
.vp-rec > span:nth-child(2) { color: var(--s-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-rec b { font: 600 12px 'IBM Plex Mono', monospace; white-space: nowrap; }
.vp-rec.won > span:nth-child(2) { color: var(--s-text); }
.vp-rec.won b { color: var(--up); }

/* ---------- the cabinet ---------- */
.vp-cab { flex: 1; min-width: 0; display: flex; flex-direction: column; border-radius: 20px; padding: 10px; position: relative;
  background: linear-gradient(180deg, #23262f 0%, #15171d 45%, #101217 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), inset 0 0 0 1px rgba(255,255,255,.04), 0 18px 40px -20px rgba(0,0,0,.8); }
.vp-cab::before { content: ''; position: absolute; left: 22%; right: 22%; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255,178,30,.75), transparent); }
.vp-glass { --cw: 124px; --gap: 14px; position: relative; flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 14px; border-radius: 14px; overflow: hidden;
  background: radial-gradient(120% 70% at 50% 0%, #142a5e 0%, #0b1838 46%, #060b1c 100%);
  box-shadow: inset 0 0 0 1px rgba(140,170,255,.16), inset 0 18px 40px -20px rgba(0,0,0,.6), inset 0 -30px 60px -30px rgba(0,0,0,.7); }
.vp-glass::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 3; border-radius: inherit;
  background: linear-gradient(112deg, rgba(255,255,255,.075) 0%, rgba(255,255,255,.02) 24%, transparent 38%, transparent 70%, rgba(255,255,255,.025) 86%, transparent 100%); }
.vp-bnhost { position: absolute; left: 0; right: 0; top: 34%; height: 0; z-index: 8; }
.vp-glass .s-banner { z-index: 8; }

/* paytable */
.vp-pt-wrap { position: relative; z-index: 1; }
.vp-pt { width: 100%; border-collapse: separate; border-spacing: 0; font: 600 12.5px/1 'IBM Plex Mono', monospace; color: #e7ecff; table-layout: fixed; }
.vp-pt th { font: 600 10px 'IBM Plex Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(200,212,255,.5); padding: 0 8px 5px; text-align: right; }
.vp-pt th:first-child { text-align: left; width: 36%; }
.vp-pt td { padding: 0 8px; height: 22px; text-align: right; font-variant-numeric: tabular-nums; border-top: 1px solid rgba(140,170,255,.07); white-space: nowrap; }
.vp-pt td:first-child { text-align: left; color: var(--vp-gold); font-family: Inter, sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: .01em; overflow: hidden; text-overflow: ellipsis; }
.vp-pt tr:first-child td { border-top: 0; }
.vp-pt .on { background: rgba(255,178,30,.13); color: #fff; box-shadow: inset 1px 0 0 rgba(255,178,30,.45), inset -1px 0 0 rgba(255,178,30,.45); }
.vp-pt th.on { color: var(--you); background: none; box-shadow: none; }
.vp-pt td.royal5 { color: var(--you); }
.vp-pt td.on.royal5 { color: #ffe08a; }
.vp-pt tr.dealt td { background: rgba(140,170,255,.12); }
.vp-pt tr.dealt td.on { background: rgba(255,178,30,.25); }
.vp-pt tr.win td { animation: vpflash .5s steps(1) infinite; }
@keyframes vpflash { 0% { background: var(--you); color: #15120a; } 50% { background: rgba(255,178,30,.14); color: var(--you); } }
.vp-pt tr.win td:first-child { color: inherit; }
.vp-pt.many td, .vp-pt.many th { padding: 0 5px; font-size: 11.5px; }
.vp-pt.tall td { height: 19px; }

/* compact paytable for multi-hand */
.vp-ptc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 14px; row-gap: 1px; }
.vp-ptc-h { grid-column: 1 / -1; display: flex; justify-content: space-between; font: 600 10px 'IBM Plex Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(200,212,255,.5); margin-bottom: 4px; }
.vp-ptc-h b { color: var(--you); font-weight: 600; }
.vp-ptc div[data-key] { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 2px 7px; border-radius: 5px; font-size: 11.5px; line-height: 16px; }
.vp-ptc div[data-key] span { color: var(--vp-gold); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-ptc div[data-key] b { font: 600 11.5px 'IBM Plex Mono', monospace; color: #fff; font-variant-numeric: tabular-nums; }
.vp-ptc div[data-key] i { font-style: normal; font: 700 10px 'IBM Plex Mono', monospace; color: #15120a; background: var(--you); border-radius: 4px; padding: 0 4px; margin-left: 4px; }
.vp-ptc div.dealt { background: rgba(140,170,255,.12); }
.vp-ptc div.win { animation: vpflash .5s steps(1) infinite; }
.vp-ptc div.win span, .vp-ptc div.win b { color: inherit; }

/* result plate */
.vp-plate { position: relative; z-index: 1; margin-top: auto; display: flex; justify-content: center; align-items: baseline; gap: 14px; min-height: 26px; font: 800 15px/1.2 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: rgba(225,232,255,.82); text-align: center; }
.vp-plate b { color: var(--you); font-weight: 600; letter-spacing: .02em; text-transform: none; }
.vp-plate.win span { color: var(--you); animation: vpplate .5s cubic-bezier(.2,.9,.3,1.3); }
.vp-plate.big span { font-size: 19px; }
.vp-plate.lose span { color: rgba(225,232,255,.5); }
@keyframes vpplate { from { transform: scale(.85); opacity: 0; } }

/* main hand */
.vp-cards { position: relative; z-index: 1; display: flex; justify-content: center; gap: var(--gap); }
.vp-snap .pc-in { transition: none !important; }
.vp-glass.m3, .vp-glass.m10 { --cw: 92px; }
.vp-slot { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vp-slot .pc { transition: transform .18s cubic-bezier(.2,.9,.3,1.2); }
.vp-slot.held .pc { transform: translateY(-6px); }
.vp-slot .pc-front, .vp-slot .pc-back { box-shadow: 0 0 0 1px rgba(0,0,0,.3), 0 12px 24px -10px rgba(0,0,0,.8); }
.vp-slot.best .pc::before { content: ''; position: absolute; inset: -5px; border-radius: calc(var(--cw) * .12); border: 2px dashed var(--you); z-index: 2; pointer-events: none; animation: vpbest 1.4s ease-in-out infinite; }
@keyframes vpbest { 50% { opacity: .45; } }
.vp-tag { appearance: none; border: 1px solid rgba(200,212,255,.18); background: rgba(6,11,28,.6); color: rgba(200,212,255,.55); border-radius: 7px; height: 26px; width: 100%; font: 700 11px 'IBM Plex Mono', monospace; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.vp-tag:disabled { cursor: default; opacity: .55; }
.vp-slot.held .vp-tag { background: var(--you); border-color: var(--you); color: #15120a; opacity: 1; animation: vpheld .25s cubic-bezier(.2,.9,.3,1.4); }
.vp-slot.best:not(.held) .vp-tag { border: 1.5px dashed var(--you); color: var(--you); }
@keyframes vpheld { from { transform: scale(.8); } }
.vp-slot:hover .vp-tag:not(:disabled) { border-color: rgba(255,178,30,.6); color: var(--s-text); }

/* wild cards and the joker */
.pc.vp-wild:not(.down)::after { content: 'WILD'; position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); z-index: 2; font: 800 calc(var(--cw) * .1)/1 'IBM Plex Mono', monospace; letter-spacing: .12em; padding: .3em .45em .25em; border-radius: .3em; background: var(--you); color: #15120a; box-shadow: 0 2px 6px rgba(0,0,0,.3); pointer-events: none; }
.vp-mh .pc.vp-wild:not(.down)::after { display: none; }
.pc.vp-wild:not(.down) .pc-front { box-shadow: inset 0 0 0 2px rgba(255,178,30,.95), 0 0 0 1px rgba(0,0,0,.3), 0 12px 24px -10px rgba(0,0,0,.8); }
.vp-joker { background: #fbfaf6; color: #17181d; }
.vp-jk-idx { position: absolute; left: 5%; top: 4.5%; display: flex; flex-direction: column; align-items: center; font: 800 calc(var(--cw) * .118)/1.02 Inter, sans-serif; color: #c8233a; }
.vp-jk-idx.br { left: auto; top: auto; right: 5%; bottom: 4.5%; transform: rotate(180deg); color: #17181d; }
.vp-jk-mid { position: absolute; left: 22%; right: 22%; top: 12%; bottom: 26%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6%; }
.vp-jk-mid svg { width: 100%; height: auto; }
.vp-jk-mid b { font: 900 calc(var(--cw) * .12)/1 Inter, sans-serif; letter-spacing: .14em; color: #17181d; }

/* multi-hand */
.vp-multi { position: relative; z-index: 1; display: grid; justify-content: center; gap: 8px 14px; }
.vp-multi.h3 { --mw: 74px; grid-template-columns: auto; }
.vp-multi.h10 { --mw: 40px; grid-template-columns: repeat(3, auto); }
.vp-mh { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.vp-mh-cards { --cw: var(--mw); display: flex; gap: calc(var(--mw) * .08); }
.vp-mh-cards .pc-front, .vp-mh-cards .pc-back { box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 6px 12px -6px rgba(0,0,0,.8); }
.vp-mh-l { min-height: 15px; font: 700 10.5px/15px 'IBM Plex Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: rgba(200,212,255,.45); white-space: nowrap; }
.vp-mh.won .vp-mh-l { color: var(--you); }
.vp-mh.lost .vp-mh-cards { filter: brightness(.72) saturate(.55); transition: filter .3s; }
.vp-multi.h3 .vp-mh { flex-direction: row; gap: 12px; }
.vp-multi.h3 .vp-mh-l { width: 150px; text-align: left; font-size: 11.5px; }
.vp-multi.h3 .vp-mh::before { content: ''; width: 150px; }

/* deck: meters and buttons */
.vp-deck { display: flex; justify-content: space-between; align-items: stretch; gap: 14px; padding: 12px 6px 4px; flex-wrap: wrap; }
.vp-meters { display: flex; gap: 8px; flex: 1 1 330px; }
.vp-meter { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 7px 12px; border-radius: 10px; background: #07090e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 8px 16px -10px rgba(0,0,0,.9); }
.vp-meter small { font: 700 9.5px 'IBM Plex Mono', monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--s-dim); }
.vp-meter b { font: 600 22px/1.15 'IBM Plex Mono', monospace; color: #ff6b5e; letter-spacing: -.02em; text-shadow: 0 0 12px rgba(255,90,70,.35); white-space: nowrap; }
.vp-meter span { font-size: 11px; color: var(--s-dim); white-space: nowrap; }
.vp-meter:first-child b { color: var(--you); text-shadow: 0 0 12px rgba(255,178,30,.35); }
.vp-btns { display: flex; gap: 8px; flex: 0 1 auto; }
.vp-key { appearance: none; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 96px; padding: 8px 14px; border: 0; border-radius: 11px; cursor: pointer; color: var(--s-text); font: 800 13px Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(180deg, #2c303b, #1b1e26); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 1px rgba(0,0,0,.6), 0 4px 0 #0b0c10; transition: transform .08s, box-shadow .08s, filter .15s; }
.vp-key kbd { font: 600 9.5px 'IBM Plex Mono', monospace; letter-spacing: .1em; color: var(--s-faint); }
.vp-key:hover:not(:disabled) { filter: brightness(1.12); }
.vp-key:active:not(:disabled) { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 1px rgba(0,0,0,.6), 0 1px 0 #0b0c10; }
.vp-key:disabled { opacity: .4; cursor: default; }
.vp-deal { min-width: 150px; color: #15120a; background: linear-gradient(180deg, #ffc64a, #f0a000); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 0 1px rgba(0,0,0,.5), 0 4px 0 #8a5a00, 0 0 24px -6px rgba(255,178,30,.55); font-size: 16px; }
.vp-deal kbd { color: rgba(21,18,10,.6); }
.vp-deal:active:not(:disabled) { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 0 1px rgba(0,0,0,.5), 0 1px 0 #8a5a00; }
.vp-deal.draw { background: linear-gradient(180deg, #ffffff, #d9dde8); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(0,0,0,.5), 0 4px 0 #7d8394, 0 0 24px -6px rgba(255,255,255,.4); }

/* ---------- operator side ---------- */
.vp-op { display: flex; flex-direction: column; gap: 12px; }
.vp-op-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.vp-optag { font: 600 10.5px 'IBM Plex Mono', monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--s-text); padding: 4px 8px; border: 1px dashed rgba(238,240,244,.45); border-radius: 5px; }
.vp-op-h small { font-size: 11.5px; color: var(--s-faint); }
.vp-op-row .vp-ph { margin-bottom: 7px; }
.vp-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.vp-tb { appearance: none; text-align: left; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 6px; padding: 8px 9px; border-radius: 9px; border: 1px solid var(--s-line); background: var(--s-panel); color: var(--s-text); cursor: pointer; font: inherit; transition: border-color .15s, background .15s; }
.vp-tb b { font: 700 12.5px 'IBM Plex Mono', monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-tb span { font: 600 11.5px 'IBM Plex Mono', monospace; color: var(--s-dim); }
.vp-tables.long .vp-tb { grid-template-columns: 1fr; padding: 6px 9px; }
.vp-tables.long .vp-tb span { font-size: 11px; }
.vp-tb:hover:not(:disabled) { border-color: #3d4352; }
.vp-tb.on { border-color: var(--you); background: linear-gradient(135deg, rgba(255,178,30,.14), var(--s-panel) 70%); }
.vp-tb.on span { color: var(--you); }
.vp-tb:disabled { cursor: default; }
.vp-tb:disabled:not(.on) { opacity: .45; }
.vp-tbl-n { margin-top: 7px; font-size: 11px; line-height: 1.4; color: var(--s-faint); }
.vp-op-two { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; }
.vp-op-two .s-label { display: block; margin-bottom: 7px; }
.vp-op-two .s-seg button { padding: 6px 4px; }
.vp-ret { display: flex; flex-direction: column; gap: 6px; padding: 10px 14px; }
.vp-ret-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.vp-ret-top small { display: block; font-size: 11px; color: var(--s-dim); }
.vp-ret-top b { display: block; font: 800 30px/1.05 Inter, sans-serif; letter-spacing: -.03em; color: var(--you); font-variant-numeric: tabular-nums; }
.vp-ret-top b.bump { animation: vpbump .45s cubic-bezier(.2,.9,.3,1.3); }
@keyframes vpbump { from { transform: scale(.9); opacity: .4; } }
.vp-edge { font-size: 11px; color: var(--s-dim); padding-bottom: 4px; white-space: nowrap; }
.vp-edge.player { color: var(--up); }
.vp-ret-rows div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-top: 1px solid var(--s-line); font-size: 12px; }
.vp-ret-rows span { color: var(--s-dim); }
.vp-ret-rows b { font-weight: 600; }
.vp-ret-n { font-size: 11px; line-height: 1.4; color: var(--s-faint); }

/* provably fair */
.vp-fair { display: flex; flex-direction: column; gap: 8px; }
.vp-fair .vp-ph { margin-bottom: 0; }
.vp-fair .vp-ph b { font-size: 12px; font-weight: 600; }
.vp-ff { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vp-ff small { font-size: 10.5px; color: var(--s-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-ff code { font: 500 10.5px/1.35 'IBM Plex Mono', monospace; color: var(--s-text); word-break: break-all; }
.vp-ff code.s-dim { color: var(--s-dim); }
.vp-ff code.fresh { animation: vpfresh 1.2s ease-out; }
@keyframes vpfresh { from { color: var(--you); } }
.vp-ff input { width: 100%; background: var(--s-bg); border: 1px solid var(--s-line); border-radius: 7px; color: var(--s-text); font: 500 11.5px 'IBM Plex Mono', monospace; padding: 6px 8px; outline: none; }
.vp-ff input:focus { border-color: var(--you); }
.vp-fv { display: flex; align-items: center; gap: 10px; }
.vp-fv span { font-size: 11.5px; line-height: 1.35; }
.vp-fv span.ok { color: var(--up); }
.vp-fv span.bad { color: var(--down); }

/* TV wall */
.dk-stage:fullscreen .vp-screen { min-height: calc(100vh - 98px); }
.dk-stage:fullscreen .vp-glass { --cw: 150px; }
.dk-stage:fullscreen .vp-pt { font-size: 15px; }
.dk-stage:fullscreen .vp-pt td { height: 27px; }
.dk-stage:fullscreen .vp-pt td:first-child { font-size: 15px; }
.dk-stage:fullscreen .vp-pt th { font-size: 12px; }
.dk-stage:fullscreen .vp-plate { font-size: 20px; }
.dk-stage:fullscreen .vp-ptc div[data-key] { font-size: 14px; line-height: 20px; }
.dk-stage:fullscreen .vp-ptc div[data-key] b { font-size: 14px; }
.dk-stage:fullscreen .vp-multi.h3 { --mw: 84px; }
.dk-stage:fullscreen .vp-multi.h10 { --mw: 48px; }
body.dk-embed .vp-screen { min-height: calc(100vh - 98px); }

@media (prefers-reduced-motion: reduce) {
  .vp-pt tr.win td, .vp-ptc div.win { animation: none; background: var(--you); color: #15120a; }
  .vp-slot.best .pc::before { animation: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1320px) {
  .vp-screen { grid-template-columns: 228px minmax(0, 1fr) 272px; }
  .vp-glass { --cw: 100px; --gap: 12px; }
  .vp-btns .vp-key { min-width: 84px; padding: 8px 10px; }
  .vp-deal { min-width: 128px; }
  .vp-seg button { padding: 6px 6px; }
  .vp-multi.h3 { --mw: 66px; }
  .vp-multi.h3 .vp-mh-l, .vp-multi.h3 .vp-mh::before { width: 118px; }
}
@media (max-width: 1180px) {
  .vp-screen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'c c' 'l r'; }
  .vp-center { grid-area: c; }
  .vp-left { grid-area: l; }
  .vp-right { grid-area: r; }
  .vp-glass { --cw: 112px; }
}
@media (max-width: 760px) {
  .vp-screen { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'c' 'r' 'l'; }
  .dk-screen.vp-screen { padding: 10px; }
  .vp-machines { flex-wrap: wrap; width: 100%; }
  .vp-machines button { flex: 1 1 30%; padding: 6px 6px; }
  .vp-cab { padding: 6px; border-radius: 16px; }
  .vp-glass, .vp-glass.m3, .vp-glass.m10 { --cw: calc((100vw - 20px - 12px - 20px - 4 * 6px) / 5); --gap: 6px; padding: 10px 10px 12px; gap: 8px; }
  .vp-recent-w { contain: none; flex: none; min-height: 0; }
  .vp-ptc-h { flex-wrap: wrap; gap: 2px 10px; }
  .vp-tables.long .vp-tb { grid-template-columns: minmax(0, 1fr) auto; }
  .vp-pt { font-size: 10.5px; }
  .vp-pt td { height: 17px; padding: 0 4px; }
  .vp-pt th { padding: 0 4px 4px; font-size: 9px; letter-spacing: .06em; }
  .vp-pt td:first-child { font-size: 10.5px; white-space: normal; line-height: 1.1; }
  .vp-pt th:first-child { width: 40%; }
  .vp-pt.many td.c:not(.on):not(.last), .vp-pt.many th.c:not(.on):not(.last) { display: none; }
  .vp-ptc { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; }
  .vp-ptc div[data-key] { font-size: 10.5px; padding: 1px 5px; }
  .vp-ptc div[data-key] b { font-size: 10.5px; }
  .vp-plate { font-size: 13px; }
  .vp-plate.big span { font-size: 15px; }
  .vp-tag { height: 24px; font-size: 9.5px; letter-spacing: .08em; }
  .vp-multi.h3 { --mw: 46px; }
  .vp-multi.h3 .vp-mh { flex-direction: column; gap: 3px; }
  .vp-multi.h3 .vp-mh::before { display: none; }
  .vp-multi.h3 .vp-mh-l { width: auto; text-align: center; font-size: 10px; }
  .vp-multi.h10 { --mw: calc((100vw - 64px - 14px - 8 * 2.6px) / 10); grid-template-columns: repeat(2, auto); gap: 4px 14px; }
  .vp-multi.h10 .vp-mh-l { font-size: 9px; letter-spacing: 0; }
  .vp-deck { padding: 10px 2px 2px; gap: 8px; }
  .vp-meters { flex-basis: 100%; gap: 6px; }
  .vp-meter { padding: 6px 8px; }
  .vp-meter b { font-size: 17px; }
  .vp-meter span { font-size: 10px; }
  .vp-btns { flex-basis: 100%; }
  .vp-btns .vp-key { flex: 1; min-width: 0; padding: 9px 6px; font-size: 12px; }
  .vp-btns .vp-deal { flex: 1.4; font-size: 15px; }
  .vp-key kbd { display: none; }
}
