/* BUT IT'S MATH : TROIS SALLES ET COQUILLE (refonte, lots 2 et 3). Tailles en px de scène.
   Accueil : scène « fluide » (#stage.fluid, main.js) qui remplit tout l'écran : largeur et hauteur variables, --W, --H, marges système --st --sb --sl --sr.
   data-lay : p (téléphone), t (tablette), l (paysage). Une matière par salle pour les cartes :
   ARCADE = verre sombre et liseré néon de la borne ; FOIRE = enseigne peinte, ampoules ; CASINO = laque noire et filet d'or, coins coupés. */

/* ---------- décor autour de la scène (hors accueil) ---------- */
#vpDecor { position: absolute; inset: -3%; background: #05030a center / cover no-repeat; pointer-events: none; }
#vpDecor::after { content: ""; position: absolute; inset: 0; background: rgba(5, 3, 10, .16); }
#vpDecor.off, #vpFrame.off { display: none; }
#vpFrame { position: absolute; pointer-events: none; border-radius: 2px; box-shadow: 0 0 0 2px var(--vf, #8ff6ff), 0 0 26px 2px var(--vf, #8ff6ff), 0 0 120px 30px rgba(0, 0, 0, .75); }
#vpFrame[data-room="arcade"] { --vf: rgba(255, 60, 170, .75); }
#vpFrame[data-room="fair"] { --vf: rgba(255, 196, 90, .75); }
#vpFrame[data-room="casino"] { --vf: rgba(226, 178, 90, .85); }

/* ---------- barre du haut : retour, solde, menu ---------- */
#topbar { top: calc(10px + var(--st, 0px)); left: calc(14px + var(--sl, 0px)); right: calc(14px + var(--sr, 0px)); height: 80px; gap: 8px; }
#topbar .round { width: 76px; height: 76px; flex: none; position: relative; background: rgba(8, 8, 16, .72); }
#topbar .round::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; } /* cible 92 px de scène = 46 px CSS à 360 px */
#topbar .round svg { width: 34px; height: 34px; }
#bBack { font-size: 52px; }
#topbar #bCfg, #topbar #bMute, #topbar #bArHelp, #stage #bShop, #game #bHelp { display: none !important; }
#topbar #stats { flex: 1; min-width: 0; justify-content: center; gap: 8px; margin: 0 !important; }
#stage.fluid #stats { justify-content: flex-start; }
#topbar .stat { height: 60px; border-radius: 30px; background: rgba(8, 8, 16, .78); font-size: 26px; padding: 0 8px 0 14px; }
#topbar .stat b { min-width: 0; }
#topbar .stat .plus { width: 44px; height: 44px; }
#topbar .stat .plus::after { inset: -22px -22px; }
#stage.fluid[data-room="arcade"] #statTkBox, #stage.fluid[data-room="fair"] #statTkBox { display: flex; }
#stage.fluid[data-room="arcade"] #statChipsBox { display: none; }
body.lefty #topbar { flex-direction: row-reverse; }
body.lefty #stage .arow { flex-direction: row-reverse; }

/* ---------- menu ---------- */
#vMenu { z-index: 72; }
.modal-box.vmenu { width: 620px; gap: 16px; padding: 30px 26px; background: linear-gradient(#12121f, #0a0a14); border-color: rgba(255, 255, 255, .22); }
.vmenu h3 { text-align: center; }
.vmenu-g { display: grid; gap: 12px; }
.vmi { min-height: 100px; padding: 12px 22px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); color: #f1f1ea; text-align: left; cursor: pointer; }
.vmi b { display: block; font: 800 30px/1.1 Montserrat, sans-serif; }
.vmi b span { color: #ffcf3d; }
.vmi small { display: block; margin-top: 6px; font: 600 23px/1.2 'Barlow Semi Condensed', sans-serif; color: #b9c0cc; }
.vmi:active { background: rgba(255, 255, 255, .14); }
.vmi:focus-visible { outline: 3px solid #8ff6ff; outline-offset: 2px; }
#stage.land .modal-box.vmenu { width: 1040px; }
#stage.land .vmenu-g, #stage[data-lay="l"] .vmenu-g { grid-template-columns: 1fr 1fr; }
#stage[data-lay="l"] .modal-box.vmenu { width: 1040px; }

/* ---------- accueil : scène fluide ---------- */
#stage.fluid { background: #05030a; }
#stage.fluid #bg, #stage.fluid #tint, #stage.fluid #beatfx, #stage.fluid #vflash, #stage.fluid #vignette { display: none; }
#stage.fluid .modal-box { max-height: calc(var(--H, 1280px) - 40px); }
#hub { overflow: hidden !important; }
#hub > .title, #hub > .sub { display: none; }
#vArt { position: absolute; inset: 0; overflow: hidden; background: #05030a; }
.vroom { position: absolute; inset: 0; overflow: hidden; will-change: opacity; }
.vroom.off { display: none; }
.vbox { position: absolute; }
.vl { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; pointer-events: none; will-change: transform; }
.vl-alt { opacity: 0; }
.vl-glow { opacity: .4; }
/* un voile en bas : la liste reste lisible, le haut de la salle reste pur */
#vArt::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(5, 3, 10, .28), transparent 12%, transparent 44%, rgba(5, 3, 10, .55) 72%, rgba(5, 3, 10, .85)); }
#stage[data-lay="l"] #vArt::after { background: linear-gradient(90deg, transparent 38%, rgba(5, 3, 10, .78) 54%), linear-gradient(rgba(5, 3, 10, .3), transparent 16%); }
.vmove .vroom[data-room="arcade"] .vl-alt { animation: vScreens 14s steps(1) infinite; }
.vmove .vroom[data-room="fair"] .vl-alt { animation: vChase 1.5s steps(1) infinite; }
.vmove .vroom[data-room="casino"] .vl-alt { animation: vFlame 3.4s ease-in-out infinite alternate; }
.vmove .vroom .vl-glow { animation: vPulse 4.8s ease-in-out infinite alternate; will-change: opacity; }
.vmove .vroom[data-room="arcade"] .vl-glow { animation: vNeon 7s linear infinite; }
@keyframes vScreens { 0% { opacity: 0; } 50% { opacity: 1; } }
@keyframes vChase { 0% { opacity: 0; } 50% { opacity: 1; } }
@keyframes vFlame { from { opacity: .12; } to { opacity: .9; } }
@keyframes vPulse { from { opacity: .28; } to { opacity: .62; } }
@keyframes vNeon { 0%, 61%, 66%, 100% { opacity: .55; } 62% { opacity: .2; } 63% { opacity: .5; } 64% { opacity: .25; } 30% { opacity: .38; } }
/* grande roue : le rotor tourne, chaque nacelle contre-tourne pour rester droite */
.vwheel { position: absolute; aspect-ratio: 1; transform: translate(-50%, -50%); }
.vrot { position: absolute; inset: 0; }
.vrotor { display: block; width: 100%; height: 100%; }
.vgond { position: absolute; width: 11.7%; aspect-ratio: 1; margin: -3.2% 0 0 -5.85%; transform-origin: 50% 27%; }
.vgond img { display: block; width: 100%; height: 100%; }
.vmove .vrot { animation: vSpin 140s linear infinite; will-change: transform; }
.vmove .vgond { animation: vSpin 140s linear infinite reverse; will-change: transform; }
@keyframes vSpin { to { transform: rotate(360deg); } }

/* tête : profil et THE DAILY */
.vhead { position: absolute; left: calc(20px + var(--sl, 0px)); right: calc(20px + var(--sr, 0px)); top: calc(98px + var(--st, 0px)); z-index: 5; display: flex; flex-direction: column; gap: 10px; }
.vhead .pbar { position: relative; left: auto; right: auto; top: auto; flex: none; width: 100%; height: 70px; background: rgba(8, 8, 16, .78); }
.vhead .pbar::after { content: ""; position: absolute; inset: -9px 0; }
.vhead .gcard.daily .grec { display: none; }
.vhead .pchip { font-size: 22px; padding: 8px 12px; }
.vhead .pxp span, .vhead .pxp small { font-size: 22px; line-height: 1; }
.vhead .pxp { gap: 3px; }
.vhead .pxpbar { height: 10px; }
.vhead .pxp small { color: #dfe4ea; }
.vhead .glist.dlist { position: relative; left: auto; right: auto; top: auto; margin: 0; display: block; }
.vhead .gcard.daily { width: 100%; height: 92px; padding: 0 14px; display: flex; align-items: center; gap: 12px; border-radius: 14px; }
.vhead .gcard.daily .gico { width: 64px; height: 64px; }
.vhead .gcard.daily .gico svg { width: 50px; height: 50px; }
.vhead .gcard.daily .gtxt b { font-size: 25px !important; }
.vhead .gcard.daily .gtxt i { margin-top: 5px; background: none; padding: 0; font: 600 23px/1.1 'Barlow Semi Condensed', sans-serif; color: #f2e4b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.vhead .gcard.daily .gplay { padding: 14px 16px; font-size: 22px; flex: none; }

/* pages : glissé natif entre salles */
#hubScroll.vpager { position: absolute; left: 0; right: 0; top: calc(280px + var(--st, 0px)); bottom: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior: contain; touch-action: pan-x pan-y; -webkit-mask-image: none; mask-image: none; scrollbar-width: none; }
#hubScroll.vpager::-webkit-scrollbar { display: none; }
#hubScroll > .soonlab, #hubScroll > .glist, #hubScroll > .armasc, #hubScroll > .cap { display: none; }
.vpage { flex: 0 0 100%; min-width: 0; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-x pan-y; scrollbar-width: none; padding: 0 calc(20px + var(--sr, 0px)) 22px calc(20px + var(--sl, 0px)); }
.vpage::-webkit-scrollbar { display: none; }
.vhero { position: relative; height: calc((var(--H, 1280px) - 1280px) * 1.3 + 170px); display: flex; flex-direction: column; justify-content: flex-end; padding: 0 4px 10px; pointer-events: none; }
.vhero h2 { margin: 0; font: 900 36px/1 Montserrat, sans-serif; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .9); }
.vhero small { margin-top: 4px; font: 600 24px/1.1 'Barlow Semi Condensed', sans-serif; color: #e4e6ee; text-shadow: 0 1px 8px #000; }
.vpage[data-room="arcade"] .vhero h2 { text-shadow: 0 0 18px rgba(255, 60, 170, .9), 0 2px 10px #000; }
.vpage[data-room="fair"] .vhero h2 { color: #ffe9b8; text-shadow: 3px 3px 0 #8e1a1f, 0 2px 14px #000; }
.vpage[data-room="casino"] .vhero h2 { font: 700 36px/1 'Barlow Semi Condensed', sans-serif; letter-spacing: .16em; color: #f2d492; }
.vhero .armasc { position: absolute; right: -60px; bottom: -4px; margin: 0; height: 200px; width: 640px; transform: scale(.5); transform-origin: 100% 100%; }
#stage[data-short] .vhero .armasc { display: none; }

/* cartes de jeu */
.vlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#hubScroll .vpage .vlist .gcard { --c1: #8ff6ff; position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-auto-rows: auto; align-content: start; column-gap: 12px; row-gap: 8px; width: 100%; height: auto; min-height: 188px; padding: 14px; margin: 0; text-align: left; color: #fff; overflow: hidden; }
#hubScroll .vpage .gcard .gico.vico { width: 112px; height: 112px; grid-column: 1; grid-row: 1; background: none; border: 0; padding: 0; border-radius: 0; filter: none; }
#hubScroll .vpage .gcard .gico.vico img { display: block; width: 100%; height: 100%; }
#hubScroll .vpage .vlist .gcard .gtxt { display: contents; }
#hubScroll .vpage .vlist .gcard .gtxt b { grid-column: 2; grid-row: 1; align-self: center; min-width: 0; font: 900 26px/1.06 Montserrat, sans-serif !important; letter-spacing: -.01em; white-space: normal; overflow-wrap: normal; word-break: normal; overflow: visible; }
#hubScroll .vpage .vlist .gcard .gtxt i { grid-column: 1 / -1; grid-row: 2; display: block; margin: 0; padding: 0; max-width: none; background: none; font: 600 24px/1.12 'Barlow Semi Condensed', sans-serif; white-space: normal; overflow: visible; color: inherit; opacity: .92; }
#hubScroll .vpage .vlist .gcard .gplay { display: none; }
#hubScroll .vpage .vlist .gcard .grec { position: absolute; right: 12px; top: 8px; margin: 0; padding: 3px 7px; border-radius: 6px; background: rgba(0, 0, 0, .6); font: 800 20px/1 'Barlow Semi Condensed', sans-serif; color: #ffcf3d; }
#hubScroll .vpage .vlist .gcard .newbadge { position: absolute; left: 8px; top: 8px; margin: 0; padding: 4px 7px 3px; font-size: 21px; }
/* matières */
#hubScroll .vpage[data-room="arcade"] .gcard { --c: var(--acc, #8ff6ff); background: linear-gradient(165deg, rgba(26, 12, 56, .95), rgba(9, 6, 24, .97)); border: 2px solid color-mix(in srgb, var(--c) 78%, transparent); border-radius: 14px; box-shadow: 0 0 18px color-mix(in srgb, var(--c) 34%, transparent), inset 0 0 22px color-mix(in srgb, var(--c) 10%, transparent); color: #dfe6ff; }
#hubScroll .vpage[data-room="arcade"] .vlist .gcard .gtxt b { color: #fff; }
#hubScroll .vpage[data-room="fair"] .vlist .gcard { background: radial-gradient(circle, #ffe3a1 0 2.6px, rgba(255, 188, 90, .35) 3px 5.5px, transparent 6px) 0 2px / 26px 14px repeat-x, linear-gradient(rgba(84, 16, 22, .96), rgba(40, 9, 13, .97)); border: 3px solid #2c1206; border-radius: 16px; outline: 2px solid #d9a64e; outline-offset: -8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .55); color: #ffeccb; padding-top: 22px; }
#hubScroll .vpage[data-room="fair"] .vlist .gcard .gtxt b { color: #fff4d8; text-shadow: 2px 2px 0 #2c0a06; }
#hubScroll .vpage[data-room="casino"] .vlist .gcard { background: linear-gradient(170deg, rgba(24, 12, 14, .97), rgba(8, 4, 5, .98)); border: 0; border-radius: 0; clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px); box-shadow: none; color: #e2d3b2; }
#hubScroll .vpage[data-room="casino"] .vlist .gcard::before { content: ""; position: absolute; inset: 5px; pointer-events: none; border: 1.5px solid rgba(226, 178, 90, .75); clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px); }
#hubScroll .vpage[data-room="casino"] .vlist .gcard .gtxt b { color: #f6dc9e; }
.vlist .gcard:focus-visible { outline: 3px solid #fff !important; outline-offset: 2px; }
/* comptoir des lots : un vrai stand, bâche rayée au-dessus */
#hubScroll .vpage .vlist .gcard.vwide { grid-column: 1 / -1; min-height: 150px; grid-template-columns: 112px minmax(0, 1fr) auto; padding-top: 44px; background: repeating-linear-gradient(90deg, #c5242c 0 34px, #f0e2c0 34px 68px) 0 0 / 100% 26px no-repeat, linear-gradient(#54320f, #2a1806) !important; outline: 2px solid #d9a64e; outline-offset: -3px; border: 0; }
#hubScroll .vpage .vlist .gcard.vwide .gtxt b { grid-column: 2; font-size: 34px !important; color: #fff4d8; }
#hubScroll .vpage .vlist .gcard.vwide .gtxt i { grid-column: 2 / 4; grid-row: 2; margin-top: -40px; }
#hubScroll .vpage .vlist .gcard.vwide .gico.vico { grid-row: 1 / 3; }
#hubScroll .vpage .vlist .gcard.vwide .gplay { display: block; grid-column: 3; grid-row: 1; align-self: start; min-width: 0; padding: 10px 14px; font-size: 26px; background: rgba(0, 0, 0, .5); }
#hubScroll .vpage .vlist .gcard.vwide .gplay small { display: none; }
/* carte de teaser du calendrier (js/release.js) */
.vlist > #rlTease { display: contents; }
#hubScroll .vpage .vlist .gcard.rltease { border-style: dashed !important; outline-style: dashed; opacity: .96; cursor: default; }
#hubScroll .vpage .vlist .gcard.rltease .gico.vico { filter: grayscale(.5) brightness(.8); }
#hubScroll .vpage .vlist .gcard.rltease .gplay { display: block; grid-column: 1 / -1; grid-row: 3; padding: 0; background: none; color: inherit; font: 700 22px/1.1 'Barlow Semi Condensed', sans-serif; text-align: left; white-space: normal; }
#hubScroll .vpage .vlist .gcard.rltease .gplay small { display: inline; font-size: 22px; margin-left: 6px; }
#hubScroll .vpage[data-room="casino"] .vlist .gcard.rltease { clip-path: none; outline: 1.5px dashed rgba(226, 178, 90, .7); outline-offset: -5px; }

/* CABINE DE SON */
.vbooth { position: relative; margin-top: 18px; padding: 14px; border-radius: 14px; border: 3px solid #120a08; background: conic-gradient(from 45deg at 50% 50%, rgba(255, 255, 255, .06) 0 25%, transparent 0 50%, rgba(0, 0, 0, .2) 0 75%, transparent 0) 0 0 / 36px 36px, linear-gradient(#3c1a14, #1d0d0a); box-shadow: 0 8px 24px rgba(0, 0, 0, .6); }
.vbooth-h { display: flex; align-items: center; gap: 12px; }
.vbooth-h img { width: 88px; height: 88px; flex: none; }
.vbooth-h div { flex: 1; min-width: 0; }
.vbooth-h b { display: block; font: 900 30px/1 Montserrat, sans-serif; color: #ffe6c0; }
.vbooth-h small { font: 600 24px/1.2 'Barlow Semi Condensed', sans-serif; color: #e8cfae; }
.vbooth-h .onair { flex: none; padding: 7px 10px 6px; border-radius: 6px; font: 800 20px/1 Montserrat, sans-serif; font-style: normal; color: #ffd8d0; background: #7a0d10; box-shadow: 0 0 14px rgba(255, 40, 30, .8); }
.vbooth-c { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
#hubScroll .vbooth-c .gcard.studio { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; width: 100%; height: auto; min-height: 104px; padding: 12px 14px; margin: 0; border-radius: 10px; background: rgba(0, 0, 0, .62); border: 1px solid rgba(255, 210, 160, .5); text-align: left; color: #ffe9cf; }
#hubScroll .vbooth-c .gcard.studio .gico, #hubScroll .vbooth-c .gcard.studio .gplay { display: none; }
#hubScroll .vbooth-c .gcard.studio .gtxt { display: block; }
#hubScroll .vbooth-c .gcard.studio .gtxt b { display: block; font: 800 28px/1.05 Montserrat, sans-serif; }
#hubScroll .vbooth-c .gcard.studio .gtxt i { display: block; margin: 5px 0 0; padding: 0; background: none; font: 600 23px/1.1 'Barlow Semi Condensed', sans-serif; color: #f0d8ba; white-space: normal; }
#hubScroll .vpage .hubreset { position: relative; top: auto; margin-top: 16px; text-align: center; font: 700 24px/1.1 'Barlow Semi Condensed', sans-serif; color: #7ff0a6; text-shadow: 0 1px 6px #000; }

/* COMING SOON */
.vsoon { margin-top: 20px; padding: 12px; background: rgba(5, 3, 8, .72); border-radius: 12px; }
.vsoon h3 { margin: 0 0 10px; font: 800 24px/1 'Barlow Semi Condensed', sans-serif; letter-spacing: .14em; color: #d7c9a8; text-align: center; }
#hubScroll .vsoon .soongrid { position: relative; top: auto; left: auto; right: auto; margin: 0; grid-template-columns: repeat(3, 1fr); row-gap: 12px; }
#hubScroll .vsoon .soonc b { font-size: 21px; }
#hubScroll .vsoon .soonc i { font-size: 20px; }
#hubScroll .vsoon .soonc { opacity: .72; }

/* confirmation d'âge, à l'entrée du casino */
.vgate { display: none; margin-top: 8px; padding: 30px 26px; background: rgba(8, 4, 5, .94); outline: 1.5px solid rgba(226, 178, 90, .75); outline-offset: -6px; text-align: center; }
.gated .vgate { display: block; }
.gated .vlist, .gated .vsoon { display: none; }
.vgate h3 { margin: 0; font: 800 36px/1.1 Montserrat, sans-serif; color: #f6dc9e; }
.vgate p { margin: 14px 0 22px; font: 600 27px/1.25 'Barlow Semi Condensed', sans-serif; color: #eadfc8; }
.vgate-b { display: flex; flex-direction: column; gap: 12px; }
.vbtn { min-height: 92px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #f1f1ea; font: 800 28px/1 Montserrat, sans-serif; cursor: pointer; }
.vbtn.gold { background: linear-gradient(#f2d492, #c99a45); color: #231504; border: 0; }

/* onglets + CONTINUE : à portée de pouce */
.vtabs { position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; height: calc(96px + var(--sb, 0px)); padding: 0 var(--sr, 0px) var(--sb, 0px) var(--sl, 0px); display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(6, 5, 12, .94); border-top: 1px solid rgba(255, 255, 255, .14); }
.vtab { position: relative; z-index: 1; overflow: hidden; background: #0a0810 center / cover no-repeat; border: 0; cursor: pointer; font: 800 28px/1 Montserrat, sans-serif; letter-spacing: .02em; color: #d6d8e2; text-shadow: 0 2px 8px #000, 0 0 2px #000; }
.vtab::before { content: ""; position: absolute; inset: 0; background: rgba(6, 5, 12, .66); }
.vtab.on::before { background: rgba(6, 5, 12, .18); }
.vtab span { position: relative; }
.vtab.on { color: #fff; }
.vtab[data-room="arcade"] { background-image: url(../assets/venues/decor_arcade_l.webp?v=1); }
.vtab[data-room="fair"] { background-image: url(../assets/venues/decor_fair_l.webp?v=1); }
.vtab[data-room="casino"] { background-image: url(../assets/venues/decor_casino_l.webp?v=1); }
.vtab[data-room="arcade"].on { color: #ff7ccb; }
.vtab[data-room="fair"].on { color: #ffcf6b; }
.vtab[data-room="casino"].on { color: #f2d492; }
.vtab:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.vtabmark { position: absolute; left: var(--sl, 0px); top: 0; width: 33.333%; height: 5px; background: #fff; pointer-events: none; }
#stage[data-room="arcade"] .vtabmark { background: #ff4fb4; }
#stage[data-room="fair"] .vtabmark { background: #ffb73d; }
#stage[data-room="casino"] .vtabmark { background: #d9ab56; }
#vContinue { position: absolute; z-index: 7; left: 0; right: 0; bottom: calc(96px + var(--sb, 0px)); height: 90px; display: flex; align-items: center; gap: 12px; padding: 0 calc(24px + var(--sr, 0px)) 0 calc(14px + var(--sl, 0px)); border: 0; border-top: 2px solid #fff3c4; background: linear-gradient(#ffd85a, #e8a316); color: #241502; cursor: pointer; }
#vContinue img { width: 72px; height: 72px; flex: none; border-radius: 12px; }
#vContinue span { flex: 1; display: flex; align-items: baseline; gap: 14px; min-width: 0; text-align: left; }
#vContinue small { flex: none; font: 800 24px/1 'Barlow Semi Condensed', sans-serif; letter-spacing: .08em; }
#vContinue b { font: 900 30px/1.1 Montserrat, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#vContinue i { font-style: normal; font-size: 30px; flex: none; }
#hub.hascont #hubScroll.vpager { bottom: calc(186px + var(--sb, 0px)); }
#hub:not(.hascont) #hubScroll.vpager { bottom: calc(96px + var(--sb, 0px)); }

/* tablette */
#stage[data-lay="t"] .vlist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#stage[data-lay="t"] #hubScroll .vpage .vlist .gcard { grid-template-columns: 92px minmax(0, 1fr); }
#stage[data-lay="t"] #hubScroll .vpage .gcard .gico.vico { width: 92px; height: 92px; }
#stage[data-lay="t"] #hubScroll .vpage .vlist .gcard .gtxt b { font-size: 24px !important; }
#stage[data-lay="t"] #hubScroll .vpage .vlist .gcard.vwide { grid-template-columns: 92px minmax(0, 1fr) auto; }
#stage[data-lay="t"] #hubScroll .vpage .vlist .gcard.vwide .gtxt b { font-size: 30px !important; }
#stage[data-lay="t"] .vhero { height: 370px; }

/* paysage : salle à gauche, liste à droite */
#stage[data-lay="l"] .vhead { display: contents; }
#stage[data-lay="l"] .vhead .pbar { position: absolute; left: calc(20px + var(--sl, 0px)); right: auto; top: calc(98px + var(--st, 0px)); width: 640px; z-index: 5; }
#stage[data-lay="l"] .vhead .glist.dlist { position: absolute; left: 44%; right: calc(20px + var(--sr, 0px)); top: calc(98px + var(--st, 0px)); z-index: 5; }
#stage[data-lay="l"] #hubScroll.vpager { top: calc(198px + var(--st, 0px)); }
#stage[data-lay="l"] .vpage { padding-left: 44%; padding-bottom: 20px; }
#stage[data-lay="l"] .vhero { height: auto; padding: 4px 0 12px; flex-direction: row; align-items: baseline; gap: 14px; }
#stage[data-lay="l"] .vhero .armasc { display: none; }
#stage[data-lay="l"] .vlist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#stage[data-lay="l"] .vtabs { right: auto; width: 44%; background: rgba(6, 5, 12, .9); border-right: 1px solid rgba(255, 255, 255, .14); }
#stage[data-lay="l"] #hub #hubScroll.vpager { bottom: 0; }
#stage[data-lay="l"] #vContinue { right: auto; width: 44%; }

/* DON'T BUST : la règle de table passe sous la table, plus jamais derrière les cartes */
#table .tbl-rule { top: auto; bottom: -38px; left: 0; right: 0; border-top: 0; height: 28px; }
#table .tbl-rule span { top: 0; background: none; white-space: nowrap; font-size: 22px; color: #bfe6d2; }
/* l'annonce d'ouverture a sa propre plaque, sous la table */
#game .intro.show { padding: 14px 0 16px; background: rgba(4, 9, 7, .94); }
/* le titre d'annonce « HIT or STAND? » ne passe plus sur la table : voir js/blackjack.js (intro) */

/* voile « tourne ton téléphone » : aperçu du jeu */
.arrotate { background: rgba(3, 7, 5, .96); }
.arrotbox::before { content: ""; width: 300px; height: 150px; border-radius: 12px; background: #000 center / cover no-repeat; box-shadow: 0 0 0 2px rgba(255, 255, 255, .4), 0 10px 40px #000; margin-bottom: 10px; }
body:has(#stage[data-scr="rungun"]) .arrotbox::before { background-image: url(../assets/venues/preview_rungun.webp?v=1); }
body:has(#stage[data-scr="beatemup"]) .arrotbox::before { background-image: url(../assets/venues/preview_beatemup.webp?v=1); }

/* ---------- cibles ≥ 44 px CSS (88 px de scène à 360 px) : zones de toucher étendues, sans changer le dessin ---------- */
.pztabs .cfgtab { min-height: 88px; }
.opt.pztry { position: relative; }
.opt.pztry::after { content: ""; position: absolute; inset: -18px 0; }
body[data-detail="clean"] #game:not(.mspick) #bMathX::after { inset: -26px -8px; }
.betbox .chip::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; }
.akh-i { position: relative; }
.akh-i::after { content: ""; position: absolute; inset: -22px; border-radius: 50%; }
#psRandom, #psDaily, #rgPlay, #rgRandom, #rgFx, #rgAimB, #rgTech, #bmPlay, #bmLevels, #bmFx, #bmDmg, #bmStyle { position: relative; }
#rgSwap::after, #psRandom::after, #psDaily::after, #rgPlay::after, #rgRandom::after, #rgFx::after, #rgAimB::after, #rgTech::after, #bmPlay::after, #bmLevels::after, #bmFx::after, #bmDmg::after, #bmStyle::after { content: ""; position: absolute; inset: -16px -2px; }
#rgRandom::after { inset: -32px -2px; }
#stage.land .mm-compact .mmcard { min-height: 84px; }
/* petits libellés du casino lisibles à 360 px (11 px CSS) */
#game .lab { font-size: 22px; letter-spacing: .5px; margin: 8px 0 4px; }
#game .rowlab { font-size: 21px; }
/* SIGMA : jamais sur un écran de choix */
body:has(.mmcard) .sigcorner { display: none; }

@media (prefers-reduced-motion: reduce) {
  .vrot, .vgond, .vl-alt, .vl-glow { animation: none !important; }
}
