/* Game Night (night.html) and the game tiles on the Games page. Black and gold, green felt for the tables. */
.gnx { --felt-a: #0f5a37; --felt-b: #08341f; }
.gnx[hidden] { display: none; }
.dim { color: var(--mute); }

/* ---------- the hub hero: a marquee sign ---------- */
.gx-hero { position: relative; padding: 34px 0 18px; overflow: hidden; }
.gx-hero .wrap { position: relative; display: grid; gap: 12px; justify-items: start; }
.gx-sign { position: absolute; inset: -6px -10px auto -10px; height: 150px; z-index: -1; border-radius: 26px; background: radial-gradient(80% 120% at 30% 0, rgba(246, 207, 95, .16), transparent 70%); }
.gx-title { margin: 2px 0 0; font: 900 clamp(54px, 13vw, 104px)/.9 var(--f-serif); letter-spacing: -.02em; color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .5); }
.gx-title em { font-style: italic; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(246, 207, 95, .35)); padding-right: .06em; }
.gx-me { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.gx-me span, .facts span, .lb-local div span { display: grid; gap: 3px; padding: 9px 13px; border-radius: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .09); }
.gx-me small, .facts small, .lb-local small { font: 800 9.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.gx-me b, .facts b, .lb-local b { font: 800 17px/1 var(--f-head); color: var(--ink); }

/* ---------- the game cards ---------- */
.gx-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ga { position: relative; isolation: isolate; display: grid; grid-template-rows: 92px auto 1fr; overflow: hidden; border-radius: 22px; text-decoration: none; color: var(--ink); background: linear-gradient(170deg, color-mix(in srgb, var(--c) 30%, #141418), #0b0b0e 70%); border: 1px solid color-mix(in srgb, var(--c) 50%, rgba(255, 255, 255, .08)); box-shadow: 0 16px 34px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .1); transition: transform .18s var(--press), box-shadow .2s; animation: gain .5s cubic-bezier(.2, 1.1, .3, 1) both; animation-delay: calc(var(--i) * 60ms); }
.ga:hover { box-shadow: 0 20px 44px rgba(0, 0, 0, .55), 0 0 0 1px var(--c), 0 0 34px color-mix(in srgb, var(--c) 30%, transparent); }
.ga:active { transform: scale(.975); }
.ga-art { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(60% 90% at 50% 40%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%), repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 10px); }
.ga-art::after { content: ''; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(11, 11, 14, .9)); }
.ga-tx { display: grid; gap: 3px; padding: 2px 12px 0; }
.ga-tx b { font: 800 17px/1.05 var(--f-head); }
.ga-tx small { font: 500 11.5px/1.3 var(--f-body); color: #b9b6ae; }
.ga-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; padding: 8px 12px 12px; }
.ga-top { min-width: 0; font: 600 10.5px/1.25 var(--f-body); color: #d9d4c6; }
.ga-top b { color: #f6cf5f; }
.ga-go { flex: none; font: 800 11.5px var(--f-body); color: #221500; background: var(--gold-metal); padding: 6px 11px; border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 4px 12px rgba(200, 147, 26, .3); }
@keyframes gain { from { opacity: 0; transform: translateY(14px) scale(.97); } }
/* each card's little live picture */
.ga-coin { perspective: 400px; }
.ga-coin i { display: block; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6c8, #f6cf5f 35%, #c8931a 70%, #8a5e00); box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .25), inset 0 0 0 9px rgba(138, 94, 0, .5), 0 12px 24px rgba(0, 0, 0, .5); animation: gaflip 2.4s cubic-bezier(.5, 0, .5, 1) infinite; }
.ga-coin i::after { content: '🃏'; display: grid; place-items: center; height: 100%; font-size: 22px; }
@keyframes gaflip { 0% { transform: translateY(10px) rotateX(0); } 50% { transform: translateY(-14px) rotateX(900deg); } 100% { transform: translateY(10px) rotateX(1800deg); } }
.ga-wheel { position: relative; width: 88px; height: 88px; margin-top: 26px; }
.ga-wheel i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(#e3a91e 0 45deg, #c8102e 0 90deg, #0f7a4a 0 135deg, #2b4fbd 0 180deg, #6d28d9 0 225deg, #15151b 0 270deg, #d9dee8 0 315deg, #ea7a1a 0); box-shadow: 0 0 0 5px #e3a91e, 0 0 0 7px #8a5e00, 0 10px 30px rgba(0, 0, 0, .6); animation: gaspin 6s cubic-bezier(.3, 0, .2, 1) infinite; }
.ga-wheel b { position: absolute; left: 50%; top: -10px; width: 0; height: 0; margin-left: -9px; border: 9px solid transparent; border-top: 16px solid #fff3b8; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); }
@keyframes gaspin { to { transform: rotate(1440deg); } }
.ga-dice { display: flex; gap: 12px; }
.ga-dice i { width: 36px; height: 36px; border-radius: 9px; background: radial-gradient(circle, #111 0 4px, transparent 5px) 50% 50% / 100% 100% no-repeat, linear-gradient(145deg, #fff, #e6e9f0); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12), 0 10px 18px rgba(0, 0, 0, .5); animation: gadice 1.8s ease-in-out infinite; }
.ga-dice .d1 { background: radial-gradient(circle at 28% 28%, #111 0 4px, transparent 5px), radial-gradient(circle at 72% 72%, #111 0 4px, transparent 5px), radial-gradient(circle at 50% 50%, #111 0 4px, transparent 5px), linear-gradient(145deg, #fff, #e6e9f0); }
.ga-dice .d2 { animation-delay: -.6s; background: radial-gradient(circle at 28% 28%, #c8102e 0 4px, transparent 5px), radial-gradient(circle at 72% 28%, #c8102e 0 4px, transparent 5px), radial-gradient(circle at 28% 72%, #c8102e 0 4px, transparent 5px), radial-gradient(circle at 72% 72%, #c8102e 0 4px, transparent 5px), linear-gradient(145deg, #fff, #e6e9f0); }
@keyframes gadice { 0%, 100% { transform: translateY(6px) rotate(-8deg); } 50% { transform: translateY(-14px) rotate(14deg); } }
.ga-hilo { display: flex; align-items: center; gap: 6px; }
.ga-hilo span { width: 34px; height: 48px; display: grid; place-items: center; border-radius: 8px; font: 400 36px/1 'Bebas Neue', var(--f-head); color: #f6cf5f; background: linear-gradient(180deg, #050506, #1a1a20 50%, #050506); box-shadow: inset 0 0 0 1px rgba(246, 207, 95, .35), 0 8px 18px rgba(0, 0, 0, .5); animation: gaflick 2.2s steps(1) infinite; }
.ga-hilo span + span { animation-delay: -1.1s; }
.ga-hilo em { font-style: normal; font-size: 22px; color: #9be3a9; animation: gaup 1.1s ease-in-out infinite; }
@keyframes gaflick { 50% { color: #fff3b8; text-shadow: 0 0 14px rgba(246, 207, 95, .8); } }
@keyframes gaup { 50% { transform: translateY(-6px); } }
.ga-bj { position: relative; width: 96px; height: 80px; }
.ga-bj i { position: absolute; top: 12px; width: 44px; height: 62px; padding: 4px 5px; border-radius: 6px; font: 800 13px/1 var(--f-body); font-style: normal; color: #111; background: linear-gradient(160deg, #fff, #eceef3); box-shadow: 0 10px 20px rgba(0, 0, 0, .5); }
.ga-bj i b { display: block; margin-top: 8px; text-align: center; font-size: 22px; }
.ga-bj .c1 { left: 10px; transform: rotate(-12deg); animation: gafan1 3s ease-in-out infinite; }
.ga-bj .c2 { left: 40px; color: #c8102e; transform: rotate(10deg); animation: gafan2 3s ease-in-out infinite; }
@keyframes gafan1 { 50% { transform: rotate(-18deg) translateX(-4px); } }
@keyframes gafan2 { 50% { transform: rotate(16deg) translateX(4px); } }

.ga-bet { position: relative; display: grid; place-items: center; }
.ga-bet i { font-style: normal; font-size: 44px; line-height: 1; animation: gashake .5s ease-in-out infinite alternate; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); }
.ga-bet b { position: absolute; right: -34px; top: -6px; padding: 2px 6px; border: 2px solid #e11d48; border-radius: 5px; font: 400 13px/1 'Bebas Neue', var(--f-head); letter-spacing: .06em; color: #ff4d6a; transform: rotate(-12deg); background: rgba(20, 4, 8, .6); }
@keyframes gashake { to { transform: translateY(5px) rotate(-4deg); } }
.ga-new { position: absolute; top: 9px; left: 9px; z-index: 2; font-size: 10px; padding: 3px 9px; }
/* classic tables */
.gx-classic { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gx-cltop { padding-top: 4px; padding-bottom: 6px; }
@media (max-width: 759px) { /* up top on a phone: one compact row of four */
  .gx-cltop .gx-classic { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .gx-cltop .gx-cl { grid-template-columns: 1fr; grid-template-rows: auto auto; justify-items: center; row-gap: 6px; padding: 10px 4px 9px; text-align: center; }
  .gx-cltop .gx-cl span { grid-row: auto; width: 38px; height: 38px; }
  .gx-cltop .gx-cl b { font-size: 12px; line-height: 1.1; }
  .gx-cltop .gx-cl small { display: none; }
}
.gx-cl { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 12px; border-radius: 16px; text-decoration: none; color: var(--ink); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 18%, #121216), #0b0b0e); border: 1px solid rgba(255, 255, 255, .08); }
.gx-cl span { grid-row: span 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; font-size: 22px; background: color-mix(in srgb, var(--c) 35%, #000); }
.gx-cl b { font: 800 14.5px/1.1 var(--f-head); }
.gx-cl small { font: 500 11.5px/1.3 var(--f-body); color: var(--mute); }

/* ---------- leaderboards ---------- */
.lb-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 10px; padding-bottom: 2px; }
.lb-tabs::-webkit-scrollbar { display: none; }
.lb-tabs button { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); color: #d4d0c7; font: 700 13px var(--f-body); cursor: pointer; }
.lb-tabs button.on { color: #221500; background: var(--gold-metal); border-color: transparent; box-shadow: 0 6px 16px rgba(200, 147, 26, .3); }
.lb-card { border-radius: 20px; padding: 12px; background: linear-gradient(180deg, #131317, #0a0a0d); border: 1px solid rgba(246, 207, 95, .28); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.lb-when { display: inline-flex; padding: 3px; margin-bottom: 8px; border-radius: 999px; background: rgba(255, 255, 255, .05); }
.lb-when button { padding: 6px 14px; border: 0; border-radius: 999px; background: none; color: var(--mute); font: 700 12px var(--f-body); cursor: pointer; }
.lb-when button.on { background: rgba(255, 255, 255, .12); color: #fff; }
.lb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lb-list li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, .03); animation: gain .4s both; }
.lb-list li:nth-child(2) { animation-delay: 40ms; } .lb-list li:nth-child(3) { animation-delay: 80ms; } .lb-list li:nth-child(n+4) { animation-delay: 120ms; }
.lb-list li.top { background: linear-gradient(90deg, rgba(246, 207, 95, .12), rgba(246, 207, 95, .02)); }
.lb-list li.me { box-shadow: inset 0 0 0 1.5px #f6cf5f; }
.lb-rk { font: 800 15px var(--f-head); text-align: center; color: var(--mute); }
.lb-list li.top .lb-rk { font-size: 20px; }
.lb-list b { font: 700 14.5px var(--f-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-sc { font: 800 13px var(--f-body); color: #f6cf5f; white-space: nowrap; }
.lb-empty { margin: 10px 4px; color: var(--mute); font-size: 13.5px; }
.lb-local p { margin: 4px 2px 10px; color: var(--mute); font-size: 12.5px; }
.lb-local div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lb-name { display: grid; gap: 8px; margin-bottom: 10px; padding: 12px; border-radius: 16px; background: linear-gradient(100deg, rgba(246, 207, 95, .16), rgba(246, 207, 95, .04)); border: 1px solid rgba(246, 207, 95, .45); animation: gain .4s both; }
.lb-name b { font: 800 14px var(--f-body); }
.lb-name div { display: flex; gap: 8px; }
.lb-name input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(0, 0, 0, .4); color: #fff; font: 600 15px var(--f-body); }

/* ---------- a game room ---------- */
.room { padding: 14px 0 30px; }
.rm-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rm-back { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #f6cf5f; background: rgba(255, 255, 255, .05); border: 1px solid rgba(246, 207, 95, .35); }
.rm-back svg { width: 20px; height: 20px; }
.rm-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.rm-t b { font: 900 26px/1 var(--f-serif); color: #fff; }
.rm-t small { font: 500 12px/1.3 var(--f-body); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm-best { flex: none; display: grid; justify-items: end; gap: 2px; }
.rm-best small { font: 800 9px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.rm-best b { font: 800 18px/1 var(--f-head); color: #f6cf5f; }
.stage { position: relative; }
.rm-board { margin-top: 22px; }
.rm-board h3 { margin: 0 0 10px; font: 800 13px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }

/* shared bits inside the games */
.say { min-height: 26px; margin: 12px 0 10px; text-align: center; font: 600 16px/1.35 var(--f-body); color: #d9d4c6; }
.say b { color: #fff; font-weight: 800; }
.say small { display: block; font: 800 10px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.duo, .trio { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.trio { grid-template-columns: 1fr 1fr 1fr; }
.pick { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; padding: 10px; border: 0; border-radius: 18px; cursor: pointer; font: 800 17px/1 var(--f-body); transition: transform .14s var(--press), filter .2s, box-shadow .2s; }
.pick span { font-size: 20px; line-height: 1; }
.pick small { font: 700 11px var(--f-body); opacity: .7; }
.pick.gold { color: #2a1600; background: var(--gold-metal); box-shadow: 0 6px 0 #8a5e00, 0 14px 26px rgba(200, 147, 26, .3), inset 0 1px 0 rgba(255, 255, 255, .8); }
.pick.plat { color: #12141a; background: var(--plat-metal); box-shadow: 0 6px 0 #5b6475, 0 14px 26px rgba(0, 0, 0, .35), inset 0 1px 0 #fff; }
.pick:active, .pick.on { transform: translateY(4px); box-shadow: 0 2px 0 rgba(0, 0, 0, .5); }
.pick:disabled { filter: brightness(.6) saturate(.5); cursor: default; }
.pick.on:disabled { filter: none; }
.big-go { width: 100%; padding: 17px; font-size: 18px; border-radius: 18px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; margin-bottom: 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.seg button { padding: 10px; border: 0; border-radius: 12px; background: none; color: var(--mute); font: 800 14px var(--f-body); cursor: pointer; transition: background .2s, color .2s; }
.seg button.on { color: #221500; background: var(--gold-metal); box-shadow: 0 4px 12px rgba(200, 147, 26, .3); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 12px; }
.chips button { min-width: 40px; padding: 8px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); color: #e2ded5; font: 800 13px var(--f-body); cursor: pointer; }
.chips button.on { color: #221500; background: var(--gold-metal); border-color: transparent; }
.streak { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 0 0 6px; color: var(--mute); }
.streak b { font: 400 54px/1 'Bebas Neue', var(--f-head); color: #fff; letter-spacing: .02em; transition: color .3s, text-shadow .3s; }
.streak small { font: 800 11px var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.streak .fire { font-size: 22px; filter: grayscale(1) opacity(.35); transition: filter .3s; }
.streak.hot b { color: #f6cf5f; text-shadow: 0 0 24px rgba(246, 207, 95, .55); }
.streak.hot .fire { filter: none; animation: fire .5s ease-in-out infinite alternate; }
@keyframes fire { to { transform: scale(1.18) rotate(-6deg); } }
.trail { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 14px; min-height: 26px; }
.trail i { min-width: 26px; height: 26px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; font: 800 11px var(--f-body); font-style: normal; color: #e9e4d8; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); animation: gain .3s both; }
.trail i.h { color: #2a1600; background: var(--gold-metal); border-color: transparent; }
.trail i.t { color: #12141a; background: var(--plat-metal); border-color: transparent; }
.trail i.ok { color: #9be3a9; border-color: rgba(155, 227, 169, .45); }
.trail i.no { color: #ff8a8e; border-color: rgba(255, 138, 142, .45); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; text-align: center; }
.felt { position: relative; border-radius: 26px; background: radial-gradient(120% 90% at 50% 30%, #17784b, var(--felt-a) 45%, var(--felt-b)); box-shadow: inset 0 0 0 7px #3b220f, inset 0 0 0 9px #a8703a, inset 0 0 0 11px #2a1608, inset 0 20px 60px rgba(0, 0, 0, .45), 0 20px 40px rgba(0, 0, 0, .5); }
.felt::before { content: ''; position: absolute; inset: 11px; border-radius: 18px; pointer-events: none; opacity: .5; background: repeating-radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); }
.banner { position: absolute; left: 50%; top: 42%; z-index: 30; padding: 14px 24px; border-radius: 20px; text-align: center; pointer-events: none; font: 800 13px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; transform: translate(-50%, -50%); white-space: nowrap; color: #fff; background: rgba(10, 10, 14, .92); border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.banner b { display: block; margin-top: 4px; font: 400 40px/1 'Bebas Neue', var(--f-head); letter-spacing: .03em; text-transform: none; }
.banner.gold { color: #221500; background: var(--gold-metal); border-color: #fff3b8; box-shadow: 0 20px 50px rgba(200, 147, 26, .45); }
.banner.red { background: linear-gradient(180deg, #e11d48, #8a0f2b); border-color: #ff8a8e; }
.fx-layer { position: fixed; inset: 0; z-index: 400; pointer-events: none; overflow: hidden; }
.fx-layer i { position: absolute; width: 9px; height: 13px; margin: -6px 0 0 -4px; border-radius: 2px; }
.tog { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 6px 0 12px; font: 600 13px var(--f-body); color: #cfcabe; cursor: pointer; }
.tog input { position: absolute; opacity: 0; pointer-events: none; }
.tog span { position: relative; width: 40px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, .14); transition: background .2s; }
.tog span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s var(--press); }
.tog input:checked + span { background: #c8931a; }
.tog input:checked + span::after { transform: translateX(16px); }
.tog input:focus-visible + span { outline: 2px solid #f6cf5f; outline-offset: 2px; }

/* ---------- coin toss ---------- */
.cn-coin { padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cn-face svg { position: absolute; inset: 9%; width: 82%; height: 82%; overflow: visible; }
.cn .big-go { margin-top: 2px; }
.cn-air.flat { position: relative; height: 290px; display: grid; place-items: end center; padding-bottom: 36px; perspective: 900px; }
.cn-lift { transform-style: preserve-3d; z-index: 1; }
.cn-coin { position: relative; width: 168px; height: 168px; transform-style: preserve-3d; transform: rotateX(0deg); }
.cn-e { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(90deg, #6b4500, #c8931a 30%, #f6cf5f 50%, #c8931a 70%, #6b4500); }
.cn-face { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 2px; border-radius: 50%; backface-visibility: hidden; background: radial-gradient(circle at 34% 28%, #fffbe0 0, #fbe08a 18%, #f0bd3c 46%, #c58d15 74%, #8a5e00 100%); box-shadow: inset 0 0 0 6px rgba(255, 246, 200, .55), inset 0 0 0 8px rgba(138, 94, 0, .7), inset 0 0 0 15px rgba(240, 189, 60, .55), inset 0 0 0 16px rgba(138, 94, 0, .55), inset 0 -10px 24px rgba(90, 55, 0, .45); transform: translateZ(5.2px); }
.cn-face::before { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: repeating-conic-gradient(rgba(90, 55, 0, .35) 0 2deg, transparent 2deg 6deg); -webkit-mask: radial-gradient(closest-side, transparent 93%, #000 94%); mask: radial-gradient(closest-side, transparent 93%, #000 94%); }
.cn-face.t { transform: rotateX(180deg) translateZ(5.2px); background: radial-gradient(circle at 34% 28%, #ffffff 0, #eef2f9 18%, #c6cedd 46%, #8f99ab 76%, #5b6475 100%); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .6), inset 0 0 0 8px rgba(91, 100, 117, .7), inset 0 0 0 15px rgba(198, 206, 221, .6), inset 0 0 0 16px rgba(91, 100, 117, .55), inset 0 -10px 24px rgba(40, 46, 60, .45); }
.cn-shadow { position: absolute; bottom: 18px; left: 50%; width: 150px; height: 22px; margin-left: -75px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); opacity: .6; }

/* ---------- odds wheel ---------- */
.wh-eh { display: flex; align-items: center; gap: 8px; }
.wh-eh b { flex: 1; font: 800 12px var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.wh-reset { padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #d9d4c6; font: 700 12px var(--f-body); cursor: pointer; }
.wh-reset[hidden] { display: none; }
.wh { overflow: hidden; padding-top: 10px; } /* the spinning canvas's square corners would widen the page */
.wh-box { position: relative; width: min(100% - 28px, 360px); aspect-ratio: 1; margin: 6px auto 4px; }
.wh-box canvas { position: absolute; inset: 0; margin: auto; display: block; border-radius: 50%; touch-action: none; cursor: grab; box-shadow: 0 0 0 4px #2a1608, 0 26px 50px rgba(0, 0, 0, .6), 0 0 60px rgba(246, 207, 95, .18); will-change: transform; }
.wh-box canvas:active { cursor: grabbing; }
.wh-bulbs { position: absolute; inset: -12px; pointer-events: none; }
.wh-bulbs i { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: #fff6c8; box-shadow: 0 0 8px 2px rgba(246, 207, 95, .8); transform: rotate(var(--a)) translateY(calc(-1 * var(--r, 180px))); animation: bulb 1s steps(2) infinite; animation-delay: var(--d); }
.wh-box.go .wh-bulbs i { animation-duration: .25s; }
.wh-box.mix canvas { animation: whmix .17s ease-in-out infinite alternate; }
.wh-box.mix .wh-bulbs i { animation-duration: .12s; }
@keyframes whmix { from { filter: brightness(1); } to { filter: brightness(1.25) saturate(1.2); } }
@keyframes bulb { 50% { background: #8a5e00; box-shadow: none; } }
.wh-ptr { position: absolute; left: 50%; top: -14px; z-index: 3; width: 34px; height: 46px; transform: translateX(-50%); transform-origin: 50% 12px; background: var(--gold-metal); clip-path: polygon(50% 100%, 6% 30%, 14% 8%, 50% 0, 86% 8%, 94% 30%); filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .55)); }
.wh-ptr::after { content: ''; position: absolute; left: 50%; top: 9px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #8a5e00; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .5); }
.wh-hub { position: absolute; left: 50%; top: 50%; z-index: 3; width: 78px; height: 78px; margin: -39px; border: 0; border-radius: 50%; cursor: pointer; font: 400 22px/1 'Bebas Neue', var(--f-head); letter-spacing: .08em; color: #2a1600; background: radial-gradient(circle at 35% 30%, #fffbe0, #f6cf5f 40%, #c8931a 80%); box-shadow: 0 0 0 5px #2a1608, 0 0 0 7px #e3a91e, 0 10px 24px rgba(0, 0, 0, .6), inset 0 -4px 8px rgba(138, 94, 0, .5); transition: transform .15s var(--press); }
.wh-hub:active { transform: scale(.92); }
.wh .say b { display: block; font: 400 38px/1.05 'Bebas Neue', var(--f-head); letter-spacing: .02em; color: #f6cf5f; text-shadow: 0 0 20px rgba(246, 207, 95, .4); animation: gain .4s cubic-bezier(.2, 1.4, .4, 1) both; }
.wh-edit { display: grid; gap: 10px; margin-top: 6px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.wh-edit[hidden] { display: none; }
.wh-items { display: flex; flex-wrap: wrap; gap: 6px; max-height: 210px; overflow-y: auto; overscroll-behavior: contain; }
.wh-items span { display: inline-flex; align-items: center; gap: 4px; padding: 5px 4px 5px 11px; border-radius: 999px; font: 700 13px var(--f-body); background: rgba(255, 255, 255, .07); }
.wh-items button { width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; font-size: 14px; line-height: 1; }
.wh-edit form { display: flex; gap: 8px; }
.wh-edit input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .4); color: #fff; font: 600 15px var(--f-body); }

/* ---------- dice: the 3D glass table ---------- */
.dt { position: relative; aspect-ratio: 1 / .78; max-height: 440px; margin: 0 auto; border-radius: 24px; overflow: hidden; cursor: pointer; outline: 0; -webkit-tap-highlight-color: transparent; background: radial-gradient(70% 60% at 50% 45%, rgba(246, 207, 95, .1), transparent 70%); }
.dt:focus-visible { box-shadow: 0 0 0 2px #f6cf5f; }
.dt-canvas { display: block; }
.dt-l { position: absolute; left: 50%; transform: translateX(-50%); z-index: 2; padding: 4px 10px; border-radius: 999px; font: 800 9.5px/1 var(--f-body); letter-spacing: .2em; color: #fff; background: rgba(0, 0, 0, .5); pointer-events: none; }
.dt-l.far { top: 10px; } .dt-l.near { bottom: 10px; }
.dt-l[hidden] { display: none; }
.dt-load { position: absolute; inset: 0; display: grid; place-items: center; font: 600 13px var(--f-body); color: var(--mute); }
.dc-score { display: flex; justify-content: center; gap: 28px; margin-top: 8px; transition: opacity .2s; }
.dc-score.wait { opacity: .35; }
.dc-score span { display: grid; justify-items: center; gap: 2px; }
.dc-score small { font: 800 9.5px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.dc-score b { font: 400 46px/1 'Bebas Neue', var(--f-head); color: #fff; }
.dc-score b.y { color: #f6cf5f; text-shadow: 0 0 18px rgba(246, 207, 95, .35); }
.dc .say { margin-top: 2px; }
/* the flat dice, when 3D isn't available */
.dt.flat { display: grid; gap: 8px; padding: 22px 16px; aspect-ratio: auto; min-height: 240px; align-content: center; }
.dt.flat.many .dc-dice { --s: 50px; gap: 12px 14px; }
.dc-row { display: grid; justify-items: center; gap: 8px; }
.dc-row[hidden] { display: none; }
.dc-row.house { padding-bottom: 14px; border-bottom: 1px dashed rgba(255, 255, 255, .18); }
.dc-l { font: 800 10px/1 var(--f-body); letter-spacing: .2em; color: rgba(255, 255, 255, .6); }
.dc-t { font: 400 40px/1 'Bebas Neue', var(--f-head); color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); min-height: 40px; }
.dc-dice { --s: 64px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 18px; min-height: var(--s); perspective: 700px; }
.die { width: var(--s); height: var(--s); }
.cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.cube .f { position: absolute; inset: 0; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 15%; border-radius: 18%; background: radial-gradient(circle at 30% 25%, #ffffff, #f1f3f7 55%, #d5dae4); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), inset 0 -3px 6px rgba(0, 0, 0, .12); backface-visibility: hidden; }
.cube .f i { place-self: center; width: 70%; height: 70%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3a3a44, #050507); box-shadow: inset 0 1px 1px rgba(0, 0, 0, .6); }
.cube .f1 i { width: 95%; height: 95%; background: radial-gradient(circle at 40% 35%, #ff4d6a, #a3001e); }
.cube .f1 { transform: translateZ(calc(var(--s) / 2)); }
.cube .f6 { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube .f3 { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cube .f4 { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cube .f5 { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.cube .f2 { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.die { filter: drop-shadow(0 12px 8px rgba(0, 0, 0, .45)); }
.dc .chips[hidden], .dc .streak[hidden] { display: none; }
.dc .big-go { margin-top: 2px; }

/* ---------- hi-lo ---------- */
.hl-box { display: grid; justify-items: center; gap: 10px; margin: 4px 0 2px; }
.hl-glass { padding: 14px 16px; border-radius: 26px; background: linear-gradient(180deg, #2a1d05, #0d0903); box-shadow: inset 0 0 0 2px #e3a91e, inset 0 0 0 4px #5a3d06, 0 20px 40px rgba(0, 0, 0, .55), 0 0 50px rgba(246, 207, 95, .12); }
.hl-reels { --rh: 104px; display: flex; gap: 8px; }
.reel { position: relative; width: calc(var(--rh) * .62); height: var(--rh); overflow: hidden; border-radius: 14px; background: linear-gradient(180deg, #040405, #1d1d24 22%, #2a2a33 50%, #1d1d24 78%, #040405); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 10px 18px rgba(0, 0, 0, .7), inset 0 -10px 18px rgba(0, 0, 0, .7); }
.reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 30%, transparent 70%, rgba(0, 0, 0, .55)); pointer-events: none; }
.strip { display: block; will-change: transform; }
.strip i { display: grid; place-items: center; height: var(--rh); font: 400 calc(var(--rh) * .86)/1 'Bebas Neue', var(--f-head); font-style: normal; color: #f6cf5f; text-shadow: 0 0 16px rgba(246, 207, 95, .45); }
.reel.lz .strip i { color: rgba(246, 207, 95, .14); text-shadow: none; }
.hl-range { font: 700 11.5px var(--f-body); letter-spacing: .08em; color: var(--mute); }
.hl-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.hl-pick[hidden], .hl .streak[hidden], .hl .duo[hidden], .hl .big-go[hidden] { display: none; }
.hl-pick label { display: grid; gap: 4px; font: 800 10px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.hl-pick input { width: 100%; min-width: 0; box-sizing: border-box; padding: 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .4); color: #fff; font: 700 18px var(--f-body); }

/* ---------- blackjack ---------- */
.bj-felt { display: grid; gap: 6px; padding: 20px 14px 18px; min-height: 420px; align-content: start; overflow: hidden; }
.bj-shoe { position: absolute; top: 18px; right: 18px; width: 44px; height: 56px; border-radius: 6px; background: linear-gradient(160deg, #2a1608, #120902); box-shadow: inset 0 0 0 2px #a8703a, 0 6px 12px rgba(0, 0, 0, .5); }
.bj-shoe i { position: absolute; inset: 6px 6px 10px; border-radius: 4px; background: repeating-linear-gradient(45deg, #8a0f2b 0 4px, #c8102e 4px 8px); box-shadow: inset 0 0 0 2px #f6cf5f; }
.bj-arc { position: relative; z-index: 1; margin: 2px 0 -2px; text-align: center; pointer-events: none; font: 800 9px var(--f-body); letter-spacing: .2em; color: rgba(246, 207, 95, .4); }
.bj-hand { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; }
.bj-l { font: 800 10px/1 var(--f-body); letter-spacing: .2em; color: rgba(255, 255, 255, .65); }
.bj-l b { margin-left: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 0, .45); color: #fff; font-size: 12px; letter-spacing: .02em; }
.bj-l b:empty { display: none; }
.bj-cards { display: flex; justify-content: center; min-height: 104px; padding-left: 30px; }
.card { width: 72px; height: 102px; margin-left: -30px; perspective: 600px; }
.card-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .45s cubic-bezier(.3, .7, .3, 1); }
.card.down .card-in { transform: rotateY(180deg); }
.card-f, .card-b { position: absolute; inset: 0; border-radius: 9px; backface-visibility: hidden; box-shadow: 0 8px 16px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(0, 0, 0, .12); }
.card-f { color: #14141a; background: linear-gradient(160deg, #ffffff, #eef0f5); }
.card.red .card-f { color: #c8102e; }
.card-b { transform: rotateY(180deg); display: grid; place-items: center; background: repeating-linear-gradient(45deg, #8a0f2b 0 5px, #b0102b 5px 10px); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 6px #f6cf5f, 0 8px 16px rgba(0, 0, 0, .45); }
.card-b span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font: 900 18px var(--f-serif); color: #2a1600; background: var(--gold-metal); }
.ck { position: absolute; display: grid; justify-items: center; font: 800 16px/1 var(--f-body); }
.ck i { font-style: normal; font-size: 13px; }
.ck.tl { top: 5px; left: 6px; }
.ck.br { bottom: 5px; right: 6px; transform: rotate(180deg); }
.cm { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; }
.cm i { font-style: normal; }
.cm .ace { font-size: 46px; }
.cm.court { align-content: center; gap: 0; }
.cm.court b { font: 900 34px/1 var(--f-serif); }
.cm.court i { font-size: 18px; }
.bj-msg { position: relative; z-index: 2; min-height: 30px; margin: 4px 0; text-align: center; font: 700 15px/1.3 var(--f-body); color: #f2efe6; text-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.bj-msg b { font-weight: 800; color: #fff; }
.bj-msg .up { color: #9be3a9; font-weight: 800; }
.bj-msg .dn { color: #ff8a8e; font-weight: 800; }
.bj-bet { position: relative; justify-self: center; display: grid; justify-items: center; gap: 4px; margin-top: 8px; width: 92px; height: 70px; border-radius: 50%; border: 2px dashed rgba(246, 207, 95, .4); align-content: end; padding-bottom: 6px; }
.bj-bet b { position: relative; z-index: 2; font: 800 12px var(--f-body); color: #fff; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .55); }
.bj-bet.on { border-color: rgba(246, 207, 95, .8); }
.bj-pile { position: absolute; left: 50%; bottom: 26px; width: 40px; height: 0; margin-left: -20px; }
.pc { position: absolute; left: 0; bottom: calc(var(--i) * 3px); width: 40px; height: 40px; border-radius: 50%; }
.pc, .chip-b { background: radial-gradient(circle, var(--cc) 0 52%, transparent 53%), repeating-conic-gradient(#fff 0 15deg, var(--cc) 15deg 45deg); box-shadow: 0 2px 0 rgba(0, 0, 0, .45), inset 0 0 0 2px rgba(0, 0, 0, .15); }
.pc.fly { position: fixed; z-index: 300; pointer-events: none; }
.red { --cc: #c8102e; } .green { --cc: #0f7a4a; } .black { --cc: #1b1b22; } .purple { --cc: #6d28d9; }
.card.red { --cc: initial; }
.bj-bank { display: flex; justify-content: space-between; gap: 10px; margin: 12px 2px; font: 600 13px var(--f-body); color: var(--mute); }
.bj-bank b { color: #f6cf5f; font: 800 18px var(--f-head); margin-left: 4px; }
.bj-ctl[hidden] { display: none; }
.bj-chips { display: flex; justify-content: center; gap: 12px; margin-bottom: 12px; }
.chip-b { width: 62px; height: 62px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: transform .14s var(--press); box-shadow: 0 5px 0 rgba(0, 0, 0, .5), 0 10px 18px rgba(0, 0, 0, .4), inset 0 0 0 3px rgba(0, 0, 0, .15); }
.chip-b span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font: 800 13px var(--f-body); color: #fff; border: 2px dashed rgba(255, 255, 255, .6); }
.chip-b:active { transform: translateY(3px) scale(.95); }
.chip-b:disabled { filter: grayscale(1) brightness(.5); cursor: default; }
.bj .big-go[hidden] { display: none; }

/* ---------- open bet ---------- */
.ob-form { display: grid; gap: 12px; }
.ob-form[hidden], .ob-after[hidden] { display: none; }
.ob-f { display: grid; gap: 6px; min-width: 0; }
.ob-f > span { font: 800 10.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.ob-f textarea, .ob-f input { width: 100%; min-width: 0; box-sizing: border-box; padding: 13px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .4); color: #fff; font: 600 16px/1.35 var(--f-body); resize: none; }
.ob-f textarea:focus, .ob-f input:focus { outline: 2px solid rgba(246, 207, 95, .6); outline-offset: 1px; }
.ob-amt { display: flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .4); cursor: text; }
.ob-amt:focus-within { outline: 2px solid rgba(246, 207, 95, .6); outline-offset: 1px; }
.ob-amt b { font: 400 36px/1 'Bebas Neue', var(--f-head); color: #f6cf5f; }
.ob .ob-amt input { flex: 1; border: 0; background: none; padding: 10px 0 8px; font: 400 36px/1 'Bebas Neue', var(--f-head); letter-spacing: .02em; color: #fff; outline: 0; }
.ob-q { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 6px; }
.ob-q button, .ob-cust { height: 48px; min-width: 0; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .4); color: #fff; font: 400 24px/1 'Bebas Neue', var(--f-head); letter-spacing: .03em; cursor: pointer; font-variant-numeric: tabular-nums; transition: transform .13s var(--press), background .2s, border-color .2s; }
.ob-q button:active { transform: scale(.94); }
.ob-q button.on, .ob-cust.on { color: #221500; background: var(--gold-metal); border-color: transparent; box-shadow: 0 4px 12px rgba(200, 147, 26, .35); }
/* the blank one: "$ ___", type any amount */
.ob-cust { display: flex; align-items: center; gap: 4px; padding: 0 10px; cursor: text; border-style: dashed; border-color: rgba(246, 207, 95, .5); }
.ob-cust:focus-within { outline: 2px solid rgba(246, 207, 95, .6); outline-offset: 1px; border-style: solid; }
.ob-cust b { color: #f6cf5f; font-weight: 400; }
.ob-cust.on b { color: #221500; }
.ob .ob-cust input { flex: 1; min-width: 0; width: 100%; border: 0; padding: 0; background: none; color: inherit; font: inherit; outline: 0; border-bottom: 2px solid rgba(246, 207, 95, .35); }
.ob .ob-cust.on input { border-bottom-color: transparent; }
.ob-names { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: start; }
.ob-side { display: grid; gap: 6px; min-width: 0; }
.ob-sl { font: 800 10.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.ob-sl em { font-style: normal; margin-left: 4px; padding: 1px 6px; border-radius: 999px; color: #221500; background: var(--gold-metal); letter-spacing: 0; }
.ob-side[data-side="b"] .ob-sl em { color: #12141a; background: var(--plat-metal); }
.ob-ppl { display: grid; gap: 6px; }
.ob-p { position: relative; }
.ob-p input { width: 100%; min-width: 0; box-sizing: border-box; padding: 12px 34px 12px 13px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .4); color: #fff; font: 600 15px var(--f-body); }
.ob-p:first-child input { padding-right: 13px; }
.ob-side[data-side="a"] .ob-p:first-child input { border-color: rgba(246, 207, 95, .45); }
.ob-side[data-side="b"] .ob-p:first-child input { border-color: rgba(220, 228, 244, .4); }
.ob-p input:focus { outline: 2px solid rgba(246, 207, 95, .6); outline-offset: 1px; }
.ob-p button { position: absolute; right: 6px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--mute); font-size: 11px; cursor: pointer; }
/* tagging profiles: an @ in each name box, a picker of you + your friends, and tagged names as linked chips */
.ob-p input, .ob-p:first-child input { padding-right: 38px; }
.ob-p.rm input { padding-right: 66px; }
.ob-p .ob-tagb { right: 6px; width: 26px; height: 26px; margin-top: -13px; font: 800 14px/1 var(--f-body); color: #f6cf5f; background: rgba(246, 207, 95, .12); }
.ob-p.rm .ob-tagb { right: 36px; }
.ob-p.tagged { display: flex; align-items: center; gap: 6px; min-height: 46px; padding: 4px 34px 4px 6px; border-radius: 14px; border: 1px solid rgba(74, 222, 128, .55); background: linear-gradient(180deg, rgba(74, 222, 128, .14), rgba(0, 0, 0, .35)); box-sizing: border-box; }
.ob-tagc { display: flex; align-items: center; gap: 7px; min-width: 0; flex: 1; text-decoration: none; color: #fff; }
.ob-tagc span, .ob-sug button span { display: grid; min-width: 0; text-align: left; }
.ob-tagc b, .ob-sug b { font: 800 13.5px/1.15 var(--f-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob-tagc small, .ob-sug small { font: 700 10.5px var(--f-body); color: #86efac; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob-av { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-style: normal; font-size: 16px; background: #333 center / cover; box-shadow: 0 0 0 2px rgba(74, 222, 128, .6); }
.ob-sug { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; display: grid; gap: 2px; padding: 5px; border-radius: 14px; background: #15161b; border: 1px solid rgba(74, 222, 128, .4); box-shadow: 0 16px 34px rgba(0, 0, 0, .6); }
.ob-p .ob-sug button { position: static; display: flex; align-items: center; gap: 8px; width: 100%; height: auto; margin: 0; padding: 6px; border-radius: 10px; background: none; color: #fff; text-align: left; }
.ob-p .ob-sug button:hover, .ob-p .ob-sug button:focus-visible { background: rgba(74, 222, 128, .12); }
.ob-sug em { font: 800 9px var(--f-body); font-style: normal; padding: 1px 5px; border-radius: 6px; color: #052e16; background: #4ade80; vertical-align: middle; }
.ob-sug p { margin: 0; padding: 8px; font: 600 12px/1.4 var(--f-body); color: var(--mute); }
.ob-sug a, a.ob-at { color: #86efac; font-weight: 800; text-decoration: none; }
a.ob-at::before { content: '@'; opacity: .7; }
.ob-p.new { animation: obnew .35s cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes obnew { from { opacity: 0; transform: translateY(-8px) scale(.9); } }
.ob-add { padding: 9px 10px; border-radius: 12px; border: 1px dashed rgba(246, 207, 95, .5); background: rgba(246, 207, 95, .05); color: #f6cf5f; font: 800 12.5px var(--f-body); cursor: pointer; transition: background .2s, transform .13s var(--press); }
.ob-side[data-side="b"] .ob-add { border-color: rgba(220, 228, 244, .45); background: rgba(220, 228, 244, .04); color: #e6ecf6; }
.ob-add:hover { background: rgba(246, 207, 95, .12); }
.ob-add:active { transform: scale(.95); }
.ob-recent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ob-recent:empty { display: none; }
.ob-recent small { font: 800 9.5px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-right: 2px; }
.ob-recent button { padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #e9e4d8; font: 700 12px var(--f-body); cursor: pointer; }
.ob-hint { margin: -2px 0 0; min-height: 0; font: 600 12.5px/1.4 var(--f-body); color: #f6cf5f; text-align: center; }
.ob-hint:empty { display: none; }
.ob-vs { align-self: start; margin-top: 28px; font: 400 22px/1 'Bebas Neue', var(--f-head); color: #f6cf5f; }
.ob-err { margin: 0; color: #ff8a8e; font: 700 13px var(--f-body); }
.ob-err:empty { display: none; }
.ob-f select { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: #0d0d11; color: #fff; font: 600 15px var(--f-body); }
.ob-f > span i { font-style: normal; letter-spacing: .04em; text-transform: none; opacity: .7; }
.rc-game { margin-top: 8px; font: 700 13px var(--f-body); color: #e9e4d8; }
.rc-game b { color: #f6cf5f; }
.ob-fine { margin: 0; text-align: center; font: 500 12px/1.45 var(--f-body); color: var(--mute); }
/* the shake: one phone between two people. Your side is the bottom half, theirs is the top half, turned to face them */
.ob-zone { position: relative; height: clamp(440px, calc(100svh - 220px), 680px); overflow: hidden; border-radius: 26px; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; background: radial-gradient(90% 55% at 50% 100%, rgba(246, 207, 95, .1), transparent 70%), radial-gradient(90% 55% at 50% 0, rgba(220, 230, 250, .08), transparent 70%), linear-gradient(180deg, #0e0e12, #070709 50%, #0e0d0a); border: 1px solid rgba(246, 207, 95, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04), 0 20px 50px rgba(0, 0, 0, .5); }
.ob-zone[hidden] { display: none; }
.ob-zone::after { content: ''; position: absolute; left: 6%; right: 6%; top: 50%; border-top: 1px dashed rgba(255, 255, 255, .12); pointer-events: none; }
.ob-half { position: absolute; left: 0; right: 0; height: 50%; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; padding: 0 16px 26px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ob-half.bot { bottom: 0; }
.ob-half.top { top: 0; transform: rotate(180deg); }
.ob-half::before { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; background: radial-gradient(70% 80% at 50% 100%, rgba(246, 207, 95, .2), transparent 70%); }
.ob-half.top::before { background: radial-gradient(70% 80% at 50% 100%, rgba(220, 230, 250, .18), transparent 70%); }
.ob-zone.ha .ob-half.bot::before, .ob-zone.hb .ob-half.top::before { opacity: 1; }
.ob-half:focus-visible .ob-pad { outline: 2px solid #f6cf5f; outline-offset: 4px; }
.ob-pad { --pc: #f6cf5f; position: relative; z-index: 6; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; color: color-mix(in srgb, var(--pc) 60%, #555); background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .08), rgba(0, 0, 0, .5)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--pc) 45%, transparent), 0 10px 26px rgba(0, 0, 0, .5); transition: transform .2s var(--press), color .25s, box-shadow .25s; animation: obpad 1.8s ease-in-out infinite; }
.ob-half.top .ob-pad { --pc: #dce4f4; }
.ob-pad .fp { width: 56px; height: 56px; }
@keyframes obpad { 50% { box-shadow: inset 0 0 0 2px var(--pc), 0 0 0 10px color-mix(in srgb, var(--pc) 10%, transparent), 0 10px 26px rgba(0, 0, 0, .5); } }
.ob-zone.ha .ob-half.bot .ob-pad, .ob-zone.hb .ob-half.top .ob-pad { animation: none; transform: scale(.94); color: #221500; background: var(--gold-metal); box-shadow: 0 0 0 6px rgba(246, 207, 95, .25), 0 0 40px rgba(246, 207, 95, .7); }
.ob-zone.hb .ob-half.top .ob-pad { color: #12141a; background: var(--plat-metal); box-shadow: 0 0 0 6px rgba(220, 228, 244, .2), 0 0 40px rgba(220, 228, 244, .6); }
.ob-n { position: relative; z-index: 6; max-width: 90%; font: 400 30px/1 'Bebas Neue', var(--f-head); letter-spacing: .06em; color: #f6cf5f; text-align: center; text-shadow: 0 2px 8px rgba(0, 0, 0, .8); pointer-events: none; }
.ob-half.top .ob-n { color: #e6ecf6; }
.ob-n.many { font-size: 22px; line-height: 1.1; }
.ob-cue { position: relative; z-index: 6; padding: 6px 13px; border-radius: 999px; font: 700 12px/1.2 var(--f-body); color: #d9d4c6; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .14); }
.ob-zone.ha .ob-half.bot .ob-cue, .ob-zone.hb .ob-half.top .ob-cue { color: #2a1600; background: var(--gold-metal); border-color: transparent; }
.ob-zone.hb .ob-half.top .ob-cue { color: #12141a; background: var(--plat-metal); }
/* the stake in the middle, a casino chip that spins while you both hold */
.ob-pot { position: absolute; left: 50%; top: 50%; z-index: 5; transform: translate(-50%, -50%); pointer-events: none; }
.ob-chip { display: grid; place-items: center; align-content: center; width: 132px; height: 132px; border-radius: 50%; background: radial-gradient(circle, #1a1206 0 54%, transparent 55%), repeating-conic-gradient(#e11d48 0 15deg, #fff 15deg 30deg); box-shadow: 0 0 0 4px #0b0b0e, 0 0 0 6px rgba(246, 207, 95, .6), 0 18px 40px rgba(0, 0, 0, .6); transition: transform .4s cubic-bezier(.2, 1.4, .4, 1); }
.ob-chip b { font: 400 34px/1 'Bebas Neue', var(--f-head); color: #f6cf5f; text-shadow: 0 0 12px rgba(246, 207, 95, .6); }
.ob-chip b.txt { max-width: 74px; font: 800 12px/1.15 var(--f-body); text-align: center; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; text-shadow: none; }
.ob-chip small { font: 800 7.5px var(--f-body); letter-spacing: .16em; color: rgba(255, 255, 255, .6); }
.ob-zone.ha .ob-chip, .ob-zone.hb .ob-chip { transform: scale(1.06); }
.ob-zone.both:not(.locked) .ob-chip { animation: obspin .9s linear infinite; }
@keyframes obspin { to { transform: scale(1.12) rotate(360deg); } }
.ob-zone.locked .ob-pot { opacity: 0; transition: opacity .3s .3s; }
.ob-ring { position: absolute; left: 50%; top: 50%; z-index: 4; width: 172px; height: 172px; margin: -86px; opacity: 0; transform: scale(.8) rotate(-90deg); transition: opacity .25s, transform .25s; pointer-events: none; }
.ob-ring circle { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 3; }
.ob-ring .p { stroke: #f6cf5f; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(246, 207, 95, .8)); }
.ob-zone.both:not(.locked) .ob-ring { opacity: 1; transform: rotate(-90deg); }
.ob-say { position: absolute; left: 12px; right: 12px; top: calc(50% + 84px); z-index: 5; margin: 0; text-align: center; pointer-events: none; font: 700 14px/1.35 var(--f-body); color: #e9e4d8; text-shadow: 0 2px 8px rgba(0, 0, 0, .9); }
.ob-say b { color: #f6cf5f; }
.ob-zone.both .ob-say { display: none; }
.ob-cnt { position: absolute; top: 50%; z-index: 5; width: 46px; margin-top: -30px; text-align: center; font: 400 60px/1 'Bebas Neue', var(--f-head); color: #f6cf5f; text-shadow: 0 0 18px rgba(246, 207, 95, .6); opacity: 0; pointer-events: none; transition: opacity .2s; }
.ob-cnt.l { left: 8px; }
.ob-cnt.r { right: 8px; transform: rotate(180deg); color: #e6ecf6; text-shadow: 0 0 18px rgba(220, 230, 250, .5); }
.ob-zone.both:not(.locked) .ob-cnt { opacity: 1; }
.ob-say:empty { display: none; }
.ob-stamp { position: absolute; left: 50%; top: 50%; z-index: 8; white-space: nowrap; padding: 8px 18px 4px; border: 5px solid #e11d48; border-radius: 12px; font: 400 56px/1 'Bebas Neue', var(--f-head); letter-spacing: .06em; color: #ff3b5c; background: rgba(20, 4, 8, .6); transform: translate(-50%, -50%) rotate(-10deg) scale(2.4); opacity: 0; pointer-events: none; transition: top .45s cubic-bezier(.3, 1.2, .4, 1), transform .45s cubic-bezier(.3, 1.2, .4, 1); }
.ob-zone.locked .ob-stamp { animation: obstamp .42s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.ob-zone.rcpt .ob-stamp { animation: none; opacity: 1; top: 19%; transform: translate(-50%, -50%) rotate(-10deg) scale(.62); }
@keyframes obstamp { from { opacity: 0; transform: translate(-50%, -50%) rotate(-10deg) scale(2.4); } to { opacity: 1; transform: translate(-50%, -50%) rotate(-10deg) scale(1); } }
.ob-card { position: absolute; left: 14px; right: 14px; top: 52%; z-index: 7; opacity: 0; transform: translateY(-50%) scale(.9); pointer-events: none; transition: opacity .4s, transform .5s cubic-bezier(.2, 1.2, .3, 1); }
.ob-zone.rcpt .ob-card { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.rc { padding: 16px 16px 14px; border-radius: 18px; text-align: center; background: linear-gradient(180deg, rgba(22, 22, 27, .97), rgba(10, 10, 13, .97)); border: 2px solid #e3a91e; box-shadow: 0 0 0 4px rgba(227, 169, 30, .15), 0 24px 50px rgba(0, 0, 0, .7); }
.rc-h { display: grid; gap: 2px; }
.rc-h b { font: 400 30px/1 'Bebas Neue', var(--f-head); letter-spacing: .14em; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rc-h small { font: 800 10px/1 var(--f-body); letter-spacing: .18em; color: var(--mute); }
.rc-what { margin: 12px 0; font: 800 20px/1.3 var(--f-serif); color: #fff; overflow-wrap: anywhere; }
.rc-row { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 10px 2px; text-align: left; border-top: 1px solid rgba(255, 255, 255, .09); border-bottom: 1px solid rgba(255, 255, 255, .09); }
.rc-row span { display: grid; gap: 3px; min-width: 0; }
.rc-row small { font: 800 9.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.rc-row b { font: 800 15px/1.25 var(--f-body); color: #fff; overflow-wrap: anywhere; }
.rc-row b i { font-style: normal; }
.rc-row b.g { font: 400 40px/1 'Bebas Neue', var(--f-head); color: #f6cf5f; }
.rc-ts { margin-top: 10px; font: 700 12.5px var(--f-body); color: #d9d4c6; }
.rc-fine { margin: 6px 0 0; font: 500 11px/1.4 var(--f-body); color: var(--mute); }
.ob-flash { position: absolute; inset: 0; z-index: 9; background: #fff; opacity: 0; pointer-events: none; }
.ob-cancel { position: absolute; left: 10px; top: 50%; z-index: 9; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(0, 0, 0, .55); color: #fff; font-size: 14px; cursor: pointer; }
.ob-zone.locked .ob-cancel, .ob-zone.both .ob-cancel { display: none; }
.ob-after { display: grid; gap: 10px; margin-top: 12px; }
.ob-after .duo button[hidden] { display: none; }
.ob-after .duo:has(button[hidden]) { grid-template-columns: 1fr; }
.ob-saved { margin: 0; text-align: center; font: 700 13px var(--f-body); color: #9be3a9; }
.ob-ledger { margin-top: 22px; }
.ob-ledger h3 { margin: 0 0 10px; font: 800 13px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.ob-tally { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.ob-tally li { padding: 9px 12px; border-radius: 12px; font: 600 13.5px var(--f-body); color: #e2ded5; background: linear-gradient(90deg, rgba(246, 207, 95, .12), rgba(246, 207, 95, .02)); border: 1px solid rgba(246, 207, 95, .25); }
.ob-tally b { color: #fff; }
.ob .g { color: #f6cf5f !important; }
.ob-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.ob-row { display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.ob-row.open { border-color: rgba(246, 207, 95, .3); }
.ob-top { display: flex; align-items: flex-start; gap: 10px; }
.ob-rt { flex: 1; min-width: 0; display: grid; gap: 4px; }
.ob-rt b { font: 700 14px/1.35 var(--f-body); color: #fff; overflow-wrap: anywhere; }
.ob-rt small { font: 600 11.5px/1.3 var(--f-body); color: var(--mute); }
.ob-pic { flex: none; width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); cursor: pointer; font-size: 15px; }
.ob-set { display: flex; gap: 6px; }
.ob-set button { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(246, 207, 95, .4); background: rgba(246, 207, 95, .08); color: #f6cf5f; font: 800 12px var(--f-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.ob-set button[data-win="off"] { flex: none; color: var(--mute); border-color: rgba(255, 255, 255, .14); background: none; }
.ob-res { font: 800 12.5px var(--f-body); color: #9be3a9; }
.ob-row.off .ob-res { color: var(--mute); }
.ob-clear { margin-top: 10px; }

/* ---------- golf scorecard ---------- */
.gf { display: grid; gap: 12px; }
.gf-ball { flex: none; display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--b) 45%, color-mix(in srgb, var(--b) 60%, #000)); box-shadow: 0 1px 3px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(0, 0, 0, .15); vertical-align: middle; }
.gf-board { display: grid; gap: 5px; padding: 10px; border-radius: 20px; background: radial-gradient(120% 90% at 50% 0, #17784b, #0b3a23 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 16px 34px rgba(0, 0, 0, .45); }
.gf-row { display: grid; grid-template-columns: 22px 16px 24px 1fr auto 46px 40px; align-items: center; gap: 7px; padding: 9px 10px; border-radius: 13px; background: rgba(0, 0, 0, .28); }
.gf-row.lead { background: linear-gradient(90deg, rgba(246, 207, 95, .3), rgba(0, 0, 0, .25)); box-shadow: inset 0 0 0 1.5px rgba(246, 207, 95, .7); }
.gf-row.worst { background: linear-gradient(90deg, rgba(120, 72, 32, .45), rgba(0, 0, 0, .25)); }
.gf-rk { font: 800 14px var(--f-head); color: rgba(255, 255, 255, .7); text-align: center; }
.gf-ic { font-size: 18px; text-align: center; }
.gf-nm { min-width: 0; font: 800 15px var(--f-body); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-nm i { font-style: normal; }
.gf-row.lead .gf-nm i { display: inline-block; animation: gfcrown 1.6s ease-in-out infinite; }
@keyframes gfcrown { 50% { transform: translateY(-3px) rotate(-8deg); } }
.gf-thru { font: 700 11px var(--f-body); color: rgba(255, 255, 255, .6); }
.gf-tp { font: 400 26px/1 'Bebas Neue', var(--f-head); text-align: right; color: #fff; }
.gf-tp.under { color: #ff6b78; } .gf-tp.over { color: #cfd6e3; }
.gf-gr { display: grid; justify-items: end; font: 800 14px var(--f-body); color: rgba(255, 255, 255, .8); }
.gf-gr small { font: 700 9px var(--f-body); color: rgba(255, 255, 255, .5); }
.gf-pot { display: grid; gap: 8px; padding: 12px 14px; border-radius: 18px; background: linear-gradient(100deg, rgba(246, 207, 95, .18), rgba(246, 207, 95, .04)); border: 1px solid rgba(246, 207, 95, .45); }
.gf-pot > div { display: flex; align-items: baseline; justify-content: space-between; }
.gf-pot small { font: 800 10px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.gf-pot b { font: 400 34px/1 'Bebas Neue', var(--f-head); color: #f6cf5f; }
.gf-pot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font: 700 12.5px var(--f-body); color: #e9e4d8; }
.gf-pot em { display: block; font-style: normal; font-weight: 500; color: var(--mute); font-size: 11.5px; }
.gf-pot p { margin: 0; font-size: 12px; }
.gf-potlink { display: block; padding: 10px 12px; border-radius: 14px; text-decoration: none; font: 600 12.5px var(--f-body); color: #d9d4c6; background: rgba(255, 255, 255, .04); border: 1px dashed rgba(246, 207, 95, .4); }
.gf-potlink b { color: #f6cf5f; }
.gf-hole { display: grid; gap: 8px; padding: 12px; border-radius: 20px; background: linear-gradient(180deg, #131317, #0a0a0d); border: 1px solid rgba(255, 255, 255, .09); }
.gf-hh { display: flex; align-items: center; justify-content: space-between; }
.gf-hh div { display: grid; justify-items: center; }
.gf-hh b { font: 400 30px/1 'Bebas Neue', var(--f-head); color: #fff; letter-spacing: .03em; }
.gf-hh small { font: 700 11px var(--f-body); color: var(--mute); }
.gf-nav { width: 44px; height: 44px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #f6cf5f; font: 800 24px/1 var(--f-body); cursor: pointer; }
.gf-par { display: flex; align-items: center; justify-content: center; gap: 6px; font: 800 11px var(--f-body); letter-spacing: .14em; color: var(--mute); }
.gf-par button { width: 38px; height: 30px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #e2ded5; font: 800 14px var(--f-body); cursor: pointer; }
.gf-par button.on { color: #221500; background: var(--gold-metal); border-color: transparent; }
.gf-in { display: grid; grid-template-columns: 14px 22px 1fr auto 40px 38px 40px; align-items: center; gap: 7px; padding: 6px 4px; border-top: 1px solid rgba(255, 255, 255, .06); }
.gf-in > b:not(.gf-sc) { min-width: 0; font: 700 14px var(--f-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-lbl { font: 800 10px var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.gf-lbl.under { color: #ff6b78; } .gf-lbl.par { color: #9be3a9; }
.gf-pm { width: 40px; height: 40px; border-radius: 12px; border: 0; cursor: pointer; font: 800 22px/1 var(--f-body); color: #221500; background: var(--gold-metal); box-shadow: 0 3px 0 #8a5e00; }
.gf-pm:active { transform: translateY(2px); box-shadow: 0 1px 0 #8a5e00; }
.gf-pm[data-d="-1"] { color: #12141a; background: var(--plat-metal); box-shadow: 0 3px 0 #5b6475; }
.gf-sc { font: 400 28px/1 'Bebas Neue', var(--f-head); text-align: center; color: #fff; }
.gf-dots { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; padding-top: 6px; }
.gf-dots button { width: 26px; height: 26px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); color: var(--mute); font: 700 11px var(--f-body); cursor: pointer; padding: 0; }
.gf-dots button.done { color: #9be3a9; border-color: rgba(155, 227, 169, .4); }
.gf-dots button.on { color: #221500; background: var(--gold-metal); border-color: transparent; }
.gf-setup { display: grid; gap: 8px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.gf-sh { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gf-sh b { font: 800 12px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.gf-n { margin: 0; } .gf-n button { padding: 7px 12px; font-size: 12px; }
.gf-pl { display: grid; grid-template-columns: 40px 1fr 70px 30px; gap: 7px; align-items: center; padding: 8px; border-radius: 14px; background: rgba(0, 0, 0, .25); }
.gf-icb { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); font-size: 21px; cursor: pointer; }
.gf-pl input { width: 100%; min-width: 0; box-sizing: border-box; padding: 9px 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .4); color: #fff; font: 700 14px var(--f-body); }
.gf-hc { display: grid; gap: 2px; } .gf-hc small { font: 800 8.5px var(--f-body); letter-spacing: .12em; color: var(--mute); }
.gf-hc input { padding: 6px 8px; text-align: center; }
.gf-x { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.gf-cols { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.gf-cols button { width: 24px; height: 24px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--b) 45%, color-mix(in srgb, var(--b) 60%, #000)); }
.gf-cols button.on { border-color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .3); }
.gf-add { display: flex; gap: 8px; }
.gf-add input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .4); color: #fff; font: 600 15px var(--f-body); }
.gf-new { justify-self: center; }
.gf-card summary { cursor: pointer; padding: 10px 2px; font: 800 12px var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.gf-tbl { overflow-x: auto; }
.gf-tbl table { border-collapse: collapse; font: 700 12px var(--f-body); white-space: nowrap; }
.gf-tbl th, .gf-tbl td { padding: 6px 7px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.gf-tbl th { color: var(--mute); font-size: 10.5px; }
.gf-tbl td:first-child { text-align: left; position: sticky; left: 0; background: #0b0b0e; }
.gf-tbl tr.par td { color: var(--mute); }
.gf-tbl td.under { color: #ff6b78; } .gf-tbl td.over { color: #cfd6e3; }

.ga.ga-wide { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; min-height: 0; height: 96px; }
.ga-wide .ga-art { height: 100%; background: radial-gradient(70% 90% at 50% 50%, color-mix(in srgb, var(--c) 50%, transparent), transparent 75%); }
.ga-wide .ga-art::after { display: none; }
.ga-wide .ga-tx { gap: 4px; padding: 0 6px 0 2px; }
.ga-wide .ga-tx small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ga-wide .ga-go { margin-right: 14px; }
.ga-bet.wide { position: relative; width: 100%; height: 100%; }
.ga-bet.wide i { font-size: 40px; }
.ga-bet.wide em { position: absolute; font-style: normal; font-size: 16px; opacity: 0; animation: bfcash 2.6s ease-out infinite; }
.ga-bet.wide .m1 { left: 18%; bottom: 18%; } .ga-bet.wide .m2 { left: 58%; bottom: 22%; animation-delay: .9s; } .ga-bet.wide .m3 { left: 38%; bottom: 12%; animation-delay: 1.7s; }
@keyframes bfcash { 0% { opacity: 0; transform: translateY(0) rotate(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(-46px) rotate(24deg); } }
.bf { display: flex; flex-wrap: wrap; font: 400 clamp(28px, 8vw, 40px)/.95 'Bebas Neue', var(--f-head); letter-spacing: .03em; }
.bf i { display: inline-block; font-style: normal; color: #ffe08a; text-shadow: 0 2px 0 #8a5e00, 0 0 16px rgba(246, 207, 95, .45); animation: bfin .6s cubic-bezier(.2, 1.7, .4, 1) both, bfwave 3.4s ease-in-out infinite; animation-delay: calc(var(--d) * 45ms), calc(1.1s + var(--d) * 70ms); }
.bf i.sp { width: .28em; }
.bf i.x { color: #ff6b78; text-shadow: 0 2px 0 #7f1d1d, 0 0 16px rgba(255, 107, 120, .6); }
@keyframes bfin { from { opacity: 0; transform: translateY(20px) scale(.3) rotate(-24deg); } }
@keyframes bfwave { 0%, 72%, 100% { transform: none; filter: none; } 82% { transform: translateY(-6px) rotate(-5deg) scale(1.14); filter: brightness(1.45) drop-shadow(0 0 6px #fff3b8); } }
@media (min-width: 760px) { .ga.ga-wide { height: 104px; grid-template-columns: 130px minmax(0, 1fr) auto; } .bf { font-size: 46px; } }

/* ---------- Lucky Jester: the daily slot ---------- */
.ga-sl { display: flex; gap: 4px; padding: 6px; border-radius: 12px; background: linear-gradient(180deg, #7f1d1d, #3b0a0a); box-shadow: 0 0 0 3px #f6cf5f, 0 10px 20px rgba(0, 0, 0, .5); }
.ga-sl i { display: grid; place-items: center; width: 30px; height: 38px; border-radius: 6px; font-style: normal; font-size: 20px; background: linear-gradient(180deg, #fff, #e9e4d8); animation: gasl 2.4s steps(1) infinite; }
.ga-sl i.j { animation-delay: .3s; box-shadow: 0 0 10px rgba(246, 207, 95, .9); }
@keyframes gasl { 50% { transform: translateY(-3px); } }
.sm-stage { position: relative; width: min(100%, 390px); margin: 0 auto; padding: 4px 56px 96px 0; }
.sm-cab { position: relative; padding: 0 12px 26px; border-radius: 36px 36px 24px 24px; background: linear-gradient(90deg, #450a0a, #b91c1c 14%, #ef4444 32%, #dc2626 48%, #991b1b 75%, #3b0606); box-shadow: 0 0 0 3px #e4e4e7, 0 0 0 6px #52525b, inset 0 3px 0 rgba(255, 255, 255, .45), inset 0 -18px 30px rgba(0, 0, 0, .45), 0 34px 60px rgba(0, 0, 0, .65); -webkit-box-reflect: below 16px linear-gradient(transparent 82%, rgba(255, 255, 255, .22)); }
.sm-cab::before { content: ''; position: absolute; left: 22%; top: 0; bottom: 0; width: 9%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent); pointer-events: none; }
.sm-cab.nope { animation: smnope .4s; }
@keyframes smnope { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
/* the marquee */
.sm-top { position: relative; margin: 0 -12px 12px; padding: 26px 12px 14px; border-radius: 36px 36px 18px 18px; text-align: center; background: radial-gradient(120% 150% at 50% 0, #6d28d9, #2e1065 55%, #12052b); box-shadow: inset 0 0 0 3px #f6cf5f, inset 0 0 0 6px #7a5200, inset 0 0 40px rgba(192, 132, 252, .5); overflow: hidden; }
.sm-top::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .25), transparent); transform: skewX(-18deg); animation: smsheen 4.5s ease-in-out infinite; }
@keyframes smsheen { 0%, 55% { left: -40%; } 100% { left: 130%; } }
.sm-top b { display: block; font: 400 clamp(34px, 11vw, 46px)/.95 'Bebas Neue', var(--f-head); letter-spacing: .08em; color: #fff3b8; text-shadow: 0 3px 0 #b45309, 0 0 14px rgba(246, 207, 95, .9), 0 0 34px rgba(244, 63, 94, .6); animation: smneon 3s steps(1) infinite; }
.sm-top b em { font-style: normal; color: #e9d5ff; text-shadow: 0 3px 0 #5b21b6, 0 0 14px rgba(192, 132, 252, .95), 0 0 34px rgba(192, 132, 252, .6); }
@keyframes smneon { 0%, 92%, 96% { opacity: 1; } 94% { opacity: .55; } }
.sm-top small { display: block; margin-top: 4px; font: 800 9px var(--f-body); letter-spacing: .22em; color: #f6cf5f; }
.sm-bulbs { display: flex; justify-content: space-between; }
.sm-bulbs.arc { position: absolute; left: 22px; right: 22px; top: 8px; }
.sm-bulbs i, .sm-rail i { display: block; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #ffe08a 45%, #f59e0b); box-shadow: 0 0 6px #ffd23f, 0 0 14px rgba(245, 158, 11, .8); animation: smchase 1.4s steps(1) infinite; animation-delay: calc(var(--b) * -.2s); }
@keyframes smchase { 50% { background: #5b3a0a; box-shadow: none; } }
.sm-cab.won .sm-bulbs i, .sm-cab.won .sm-rail i { animation: smchase .22s steps(1) infinite, smhue 1.2s linear infinite; animation-delay: calc(var(--b) * -.05s), 0s; }
@keyframes smhue { to { filter: hue-rotate(360deg); } }
/* the body: chrome rails with lights, and the screen */
.sm-body { display: grid; grid-template-columns: 16px minmax(0, 1fr) 16px; gap: 7px; }
.sm-rail { display: flex; flex-direction: column; justify-content: space-around; align-items: center; padding: 6px 0; border-radius: 9px; background: linear-gradient(90deg, #3f3f46, #f4f4f5 42%, #a1a1aa 62%, #27272a); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35), 0 4px 10px rgba(0, 0, 0, .4); }
.sm-rail i { width: 8px; height: 8px; }
.sm-screen { position: relative; height: 176px; overflow: hidden; border-radius: 18px; background: #05010f; box-shadow: 0 0 0 4px #0b0b0e, 0 0 0 6px #f6cf5f, 0 0 26px rgba(246, 207, 95, .3), inset 0 0 36px rgba(0, 0, 0, .9); }
.sm-bg { position: absolute; inset: -60%; background: conic-gradient(from 0deg, #4c1d95, #1d4ed8, #be185d, #7c2d12, #4c1d95); filter: blur(24px); opacity: .55; animation: smbg 16s linear infinite; }
.sm-cab.spinning .sm-bg { animation-duration: 2.5s; opacity: .8; }
@keyframes smbg { to { transform: rotate(360deg); } }
.sm-screen::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255, 255, 255, .5) 0 1px, transparent 1.5px) 0 0 / 22px 22px; opacity: .25; animation: smstars 8s linear infinite; }
@keyframes smstars { to { background-position: 0 -220px; } }
.sm-cols { position: absolute; inset: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sm-col { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 14px; background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .2), rgba(255, 255, 255, .04) 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 0 22px rgba(192, 132, 252, .3); transition: box-shadow .3s; }
.sm-sym { display: grid; place-items: center; font-size: clamp(46px, 14vw, 60px); line-height: 1; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .55)); animation: smbob 2.8s ease-in-out infinite; }
.sm-col:nth-child(2) .sm-sym { animation-delay: -.9s; } .sm-col:nth-child(3) .sm-sym { animation-delay: -1.8s; }
.sm-sym svg, .sm-sym img { width: clamp(62px, 19vw, 80px); height: clamp(62px, 19vw, 80px); object-fit: contain; }
@keyframes smbob { 50% { transform: translateY(-5px) rotate(-3deg); } }
.sm-col.spin { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 0 30px rgba(56, 189, 248, .55); }
.sm-col.spin .sm-sym { animation: smroll .11s linear infinite; filter: blur(2.5px) brightness(1.35) drop-shadow(0 0 10px rgba(255, 255, 255, .5)); }
@keyframes smroll { from { transform: translateY(-34px) scaleY(1.15); } to { transform: translateY(34px) scaleY(1.15); } }
.sm-col.tease { animation: smtease .45s ease-in-out infinite; box-shadow: inset 0 0 0 2px #f6cf5f, inset 0 0 34px rgba(246, 207, 95, .8); }
@keyframes smtease { 50% { transform: scale(1.04); } }
.sm-col.land .sm-sym { animation: smland .55s cubic-bezier(.2, 1.7, .4, 1); }
@keyframes smland { from { transform: scale(1.6) translateY(-14px); filter: brightness(2.2) drop-shadow(0 0 18px #fff); } }
.sm-col.land::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle, rgba(255, 255, 255, .7), transparent 65%); animation: smflash .5s ease-out forwards; pointer-events: none; }
@keyframes smflash { to { opacity: 0; transform: scale(1.4); } }
.sm-cab.won .sm-col { box-shadow: inset 0 0 0 2px #f6cf5f, inset 0 0 34px rgba(246, 207, 95, .75); animation: smtease .35s ease-in-out infinite; }
.sm-line { position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, transparent, #fb7185 15%, #fb7185 85%, transparent); box-shadow: 0 0 10px #f43f5e; opacity: .55; pointer-events: none; }
.sm-scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px); pointer-events: none; }
.sm-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .17) 40%, transparent 48%) no-repeat, radial-gradient(130% 70% at 50% -20%, rgba(255, 255, 255, .22), transparent 60%); background-size: 260% 100%, 100% 100%; animation: smglare 7s ease-in-out infinite; }
@keyframes smglare { 0%, 100% { background-position: 100% 0, 0 0; } 50% { background-position: 0 0, 0 0; } }
/* the win, on the screen */
.sm-win { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 2px; pointer-events: none; opacity: 0; overflow: hidden; }
.sm-win.on { opacity: 1; background: radial-gradient(circle, rgba(0, 0, 0, .2), rgba(0, 0, 0, .65)); animation: gain .35s cubic-bezier(.2, 1.4, .4, 1); }
.sm-win b { position: relative; z-index: 2; font: 400 clamp(42px, 13vw, 58px)/.9 'Bebas Neue', var(--f-head); letter-spacing: .06em; color: #fff3b8; text-shadow: 0 3px 0 #b45309, 0 0 18px #f6cf5f, 0 0 40px #f43f5e; animation: smneon .6s steps(1) infinite; }
.sm-win em { position: relative; z-index: 2; font: 400 clamp(32px, 10vw, 44px)/1 'Bebas Neue', var(--f-head); font-style: normal; color: #9ff5c4; text-shadow: 0 0 16px rgba(70, 244, 156, .9); }
.sm-win.jp b { color: #e9d5ff; text-shadow: 0 3px 0 #5b21b6, 0 0 18px #c084fc, 0 0 44px #f6cf5f; }
.sm-win i { position: absolute; top: -30px; left: var(--x); font-style: normal; font-size: 20px; animation: smrain 1.3s linear infinite; animation-delay: calc(var(--i) * -.09s); }
@keyframes smrain { to { transform: translateY(240px) rotate(540deg); } }
/* LED meters */
.sm-leds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.sm-leds span { display: grid; justify-items: center; gap: 2px; padding: 6px 4px 5px; border-radius: 10px; background: #140303; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .9), 0 0 0 2px #3f0d0d, 0 1px 0 rgba(255, 255, 255, .15); }
.sm-leds small { font: 800 8px var(--f-body); letter-spacing: .18em; color: #fca5a5; }
.sm-leds b { font: 400 26px/1 'Bebas Neue', var(--f-head); letter-spacing: .08em; color: #ff4d4d; text-shadow: 0 0 8px #ff1f1f, 0 0 18px rgba(255, 31, 31, .6); }
/* the big button and the coin tray */
.sm-base { position: relative; display: flex; justify-content: center; margin-top: 14px; }
.sm-btn { position: relative; z-index: 2; width: 84px; height: 84px; border: 0; border-radius: 50%; cursor: pointer; background: radial-gradient(circle at 50% 28%, #fff 0 7%, #ffe08a 16%, #f6cf5f 42%, #b9840f 82%); box-shadow: 0 8px 0 #7a5200, 0 0 0 6px #2a0b0b, 0 0 0 8px #f6cf5f, 0 16px 30px rgba(0, 0, 0, .6), 0 0 30px rgba(246, 207, 95, .4); transition: transform .1s, box-shadow .1s; -webkit-tap-highlight-color: transparent; }
.sm-btn span { font: 400 24px/1 'Bebas Neue', var(--f-head); letter-spacing: .08em; color: #3b2a00; }
.sm-btn:active { transform: translateY(6px); box-shadow: 0 2px 0 #7a5200, 0 0 0 6px #2a0b0b, 0 0 0 8px #f6cf5f, 0 8px 16px rgba(0, 0, 0, .6); }
.sm-btn:disabled { filter: grayscale(.7) brightness(.7); cursor: default; }
.sm-cab.ready .sm-btn { animation: smbtn 1.3s ease-in-out infinite; }
@keyframes smbtn { 50% { box-shadow: 0 8px 0 #7a5200, 0 0 0 6px #2a0b0b, 0 0 0 8px #fff3b8, 0 16px 30px rgba(0, 0, 0, .6), 0 0 50px rgba(246, 207, 95, .85); } }
.sm-tray { position: absolute; left: 12%; right: 12%; bottom: -22px; height: 20px; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #27272a, #050505); box-shadow: inset 0 5px 8px rgba(0, 0, 0, .9), 0 0 0 2px #a1a1aa, 0 6px 12px rgba(0, 0, 0, .5); }
.sm-tray i { position: absolute; bottom: 1px; left: calc(6% + var(--i) * 5.6%); font-style: normal; font-size: 15px; animation: smcoin .8s cubic-bezier(.3, .6, .4, 1) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes smcoin { from { transform: translateY(-110px) rotate(0); opacity: 0; } 60% { opacity: 1; } to { transform: translateY(0) rotate(380deg); } }
/* the lever: drag it down and it tips toward you in 3D */
.sm-lever { position: absolute; right: 2px; top: 138px; width: 56px; height: 200px; cursor: grab; touch-action: none; perspective: 420px; -webkit-tap-highlight-color: transparent; }
.sm-lever:active { cursor: grabbing; }
.sm-hub { position: absolute; left: 0; top: 104px; width: 36px; height: 56px; border-radius: 10px 20px 20px 10px; background: linear-gradient(90deg, #27272a, #e4e4e7 40%, #71717a 70%, #18181b); box-shadow: 0 8px 14px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .5); }
.sm-hub::after { content: ''; position: absolute; right: 7px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #9ca3af 50%, #3f3f46); box-shadow: 0 0 0 2px #18181b; }
.sm-arm { --p: 0; position: absolute; left: 14px; bottom: 68px; width: 30px; height: 132px; transform-origin: 50% 100%; transform-style: preserve-3d; transform: rotateX(calc(var(--p) * -150deg)); }
.sm-arm.back, .sm-arm.back .sm-ball { transition: transform .75s cubic-bezier(.25, 1.9, .45, 1); }
.sm-arm.auto, .sm-arm.auto .sm-ball { transition: transform .22s ease-in; }
.sm-shaft { position: absolute; left: 11px; bottom: 0; width: 8px; height: 118px; border-radius: 4px; background: linear-gradient(90deg, #3f3f46, #fafafa 38%, #a1a1aa 62%, #27272a); box-shadow: 0 0 6px rgba(0, 0, 0, .4); }
.sm-ball { position: absolute; left: -3px; top: -18px; width: 36px; height: 36px; border-radius: 50%; transform: rotateX(calc(var(--p) * 150deg)); background: radial-gradient(circle at 34% 28%, #fff 0 9%, #ffb4bd 18%, #f43f5e 45%, #9f1239 80%, #4c0519); box-shadow: 0 10px 16px rgba(0, 0, 0, .5), inset 0 -4px 8px rgba(0, 0, 0, .3); }
.sm-tip { position: absolute; left: 6px; top: -4px; font: 800 9px var(--f-body); letter-spacing: .14em; color: #f6cf5f; opacity: 0; }
.sm-lever.ready .sm-tip { opacity: 1; animation: smtip 1s ease-in-out infinite; }
@keyframes smtip { 50% { transform: translateY(6px); opacity: .5; } }
.sm-floor { position: absolute; left: 4%; right: 18%; bottom: 40px; height: 50px; border-radius: 50%; background: radial-gradient(ellipse, rgba(246, 207, 95, .28), transparent 70%); filter: blur(8px); pointer-events: none; }
.say.sm-next { margin: 16px 0 0; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.sl-pay { display: grid; gap: 6px; margin-top: 18px; }
.sl-pay h3 { margin: 0 0 4px; font: 800 12px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.sl-pr { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.sl-pr span { display: flex; gap: 3px; }
.sl-pr span i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; font-style: normal; font-size: 18px; background: #fff; }
.sl-pr span i svg { width: 26px; height: 26px; }
.sl-pr b { justify-self: end; grid-column: 3; font: 400 24px/1 'Bebas Neue', var(--f-head); color: #9ff5c4; }
.sl-pr small { grid-column: 2; grid-row: 1; font: 700 12px var(--f-body); color: #cfcabe; }
.sl-pr.jp { border-color: rgba(246, 207, 95, .5); background: linear-gradient(100deg, rgba(168, 85, 247, .2), rgba(246, 207, 95, .1)); }
.sl-pr.jp b { color: #f6cf5f; font-size: 30px; }
/* the home page card: your free spin */
.d-spin { grid-area: sports; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 12px; border-radius: 16px; text-decoration: none; color: #fff; background: linear-gradient(100deg, #7f1d1d, #3b0764); border: 1px solid rgba(246, 207, 95, .4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 10px 24px rgba(0, 0, 0, .4); }
.d-spin-end .d-spin { max-width: 560px; margin: 0 auto; }
.d-spin-end:not(:has(.d-spin)) { display: none; }
.d-spin.ready { border-color: #f6cf5f; animation: dspin 1.6s ease-in-out infinite; }
@keyframes dspin { 50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 0 26px rgba(246, 207, 95, .55); } }
.ds-reels { display: flex; gap: 3px; flex: none; padding: 4px; border-radius: 9px; background: #1a0505; box-shadow: 0 0 0 2px #f6cf5f; }
.ds-reels i { display: grid; place-items: center; width: 28px; height: 32px; border-radius: 5px; font-style: normal; font-size: 18px; background: #fff; overflow: hidden; }
.ds-reels i svg { width: 26px; height: 26px; }
.d-spin.ready .ds-reels i { animation: gasl 1.2s steps(1) infinite; }
.d-spin.ready .ds-reels i:nth-child(2) { animation-delay: .2s; } .d-spin.ready .ds-reels i:nth-child(3) { animation-delay: .4s; }
.ds-tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ds-tx b { font: 800 14.5px/1.15 var(--f-head); }
.ds-tx small { font: 600 11.5px var(--f-body); color: #e9d5ff; }
.ds-go { flex: none; padding: 6px 12px; border-radius: 999px; font: 800 12px var(--f-body); color: #221500; background: var(--gold-metal); }

/* ---------- card pictures for the new games ---------- */
.ga-chk { position: relative; width: 132px; height: 70px; margin-top: 18px; }
.ga-chk .cl { position: absolute; right: 0; bottom: 0; width: 40px; height: 22px; background: linear-gradient(90deg, #6e3416, #3a1a0a); clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%); }
.ga-chk::before { content: ''; position: absolute; left: 0; right: 40px; bottom: 16px; height: 6px; border-radius: 3px; background: #26232b; box-shadow: 0 6px 0 #c26a33; }
.ga-chk .car { position: absolute; left: 0; bottom: 18px; width: 58px; animation: gachk 3.2s cubic-bezier(.3, .1, .3, 1) infinite; }
.ga-chk .car svg { display: block; width: 58px; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .5)); }
.ga-chk .car i { position: absolute; left: 20px; top: -15px; font-style: normal; font-size: 18px; animation: gahen .25s ease-in-out infinite alternate; }
.ga-chk b { position: absolute; left: 0; top: -12px; font: 400 24px/1 'Bebas Neue', var(--f-head); color: #fff; text-shadow: 0 0 12px rgba(255, 158, 69, .8); }
@keyframes gachk { 0% { transform: translateX(-6px); } 70% { transform: translateX(40px); } 76% { transform: translateX(37px) rotate(-3deg); } 82%, 100% { transform: translateX(38px); } }
@keyframes gahen { to { transform: translateY(-2px) rotate(8deg); } }
.ga-draw { display: flex; align-items: center; gap: 4px; }
.ga-draw i { font-style: normal; font-size: 30px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }
.ga-draw i.r { transform: scaleX(-1); }
.ga-draw b { font: 400 28px/1 'Bebas Neue', var(--f-head); letter-spacing: .04em; color: #fff; animation: gadraw 2.4s ease-in-out infinite; }
@keyframes gadraw { 0%, 55% { opacity: .15; transform: scale(.8); color: #fff; } 60% { opacity: 1; transform: scale(1.25); color: #fff3b8; text-shadow: 0 0 20px #f97316; } 100% { opacity: 1; transform: scale(1); color: #f97316; } }
.ga-sb { position: relative; width: 60px; height: 84px; margin-top: 14px; border-radius: 6px 6px 0 0; background: linear-gradient(90deg, #7a4a1c, #b07a3c 50%, #7a4a1c); box-shadow: 0 10px 20px rgba(0, 0, 0, .5); overflow: hidden; }
.ga-sb span { display: block; height: 16px; font: 400 13px/16px 'Bebas Neue', var(--f-head); color: rgba(40, 20, 4, .55); text-align: center; border-bottom: 1px solid rgba(30, 16, 4, .5); }
.ga-sb i { position: absolute; left: 50%; bottom: 6px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: radial-gradient(circle, #e11d48 0 55%, #d9dee8 58% 100%); box-shadow: 0 3px 5px rgba(0, 0, 0, .5); animation: gaslide 2.6s cubic-bezier(.15, .7, .3, 1) infinite; }
@keyframes gaslide { 0%, 10% { transform: translateY(0); } 70%, 100% { transform: translateY(-62px); } }
.ga-ck { display: grid; justify-items: center; gap: 4px; }
.ga-ck b { padding: 4px 10px; border-radius: 10px; font: 400 34px/1 'Bebas Neue', var(--f-head); letter-spacing: .04em; color: #67e8f9; background: #04161b; box-shadow: inset 0 0 0 1px rgba(103, 232, 249, .35), 0 0 22px rgba(6, 182, 212, .35); text-shadow: 0 0 12px rgba(103, 232, 249, .8); }
.ga-ck b em { font-style: normal; animation: gaflick 1s steps(2) infinite; }
.ga-ck small { font: 800 8.5px var(--f-body); letter-spacing: .16em; color: var(--mute); }

/* ---------- the crew (names for pass-the-phone games) and standings ---------- */
.crew { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 0 0 12px; }
.crew-p { --pc: #f6cf5f; display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid color-mix(in srgb, var(--pc) 55%, transparent); }
.crew-p i { width: 10px; height: 10px; border-radius: 50%; background: var(--pc); box-shadow: 0 0 8px var(--pc); }
.crew-p input { width: 82px; min-width: 0; padding: 4px 0; border: 0; background: none; color: #fff; font: 700 13px var(--f-body); outline: none; }
.crew-p button { width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--mute); font-size: 10px; cursor: pointer; }
.crew-add { padding: 6px 12px; border-radius: 999px; border: 1px dashed rgba(246, 207, 95, .5); background: none; color: #f6cf5f; font: 800 12px var(--f-body); cursor: pointer; }
.stand { list-style: none; display: grid; gap: 5px; margin: 6px 0 0; padding: 0; }
.stand li { --pc: #f6cf5f; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border-left: 4px solid var(--pc); animation: gain .3s ease both; }
.stand li:first-child { background: linear-gradient(100deg, rgba(246, 207, 95, .16), rgba(255, 255, 255, .03)); }
.st-rk { width: 24px; text-align: center; font: 800 15px var(--f-head); }
.stand b { flex: 1; font: 800 14px var(--f-head); color: #fff; }
.stand em { font: 700 13px var(--f-body); font-style: normal; color: #f6cf5f; }
.stand em small { color: var(--mute); font-weight: 600; }
.stand em i { display: inline-block; min-width: 22px; margin-right: 3px; padding: 1px 4px; border-radius: 6px; font-style: normal; font-size: 11px; color: #cfcabe; background: rgba(255, 255, 255, .07); text-align: center; }

/* ---------- Chicken ---------- */
.chk-road { position: relative; height: min(52vh, 340px); border-radius: 22px; overflow: hidden; background: #22094a; box-shadow: inset 0 0 0 1px rgba(255, 158, 69, .35), 0 20px 50px rgba(0, 0, 0, .5), 0 0 40px rgba(225, 29, 72, .15); }
.chk-road canvas { display: block; width: 100%; height: 100%; }
.chk-hud { position: absolute; left: 0; right: 0; top: 7%; display: grid; justify-items: center; gap: 2px; pointer-events: none; text-align: center; }
.chk-hud b { font: 400 clamp(52px, 16vw, 80px)/1 'Bebas Neue', var(--f-head); letter-spacing: .02em; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, .35), 0 0 26px rgba(255, 158, 69, .6); transition: color .3s; }
.chk-hud b.warm { color: #fde68a; }
.chk-hud b.hot { color: #fb7185; text-shadow: 0 3px 0 rgba(0, 0, 0, .35), 0 0 36px rgba(251, 113, 133, .9); }
.chk-hud b.boom { color: #ef4444; animation: rkboom .5s ease; }
@keyframes rkboom { 30% { transform: scale(1.3) rotate(-4deg); } }
.chk-hud small { font: 800 10px var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.chk-hud em { min-height: 18px; font: 800 italic 14px var(--f-body); color: #fff3b8; text-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
.chk-pop { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.chk-pop b { padding: 6px 18px; border-radius: 14px; font: 400 clamp(40px, 13vw, 64px)/1 'Bebas Neue', var(--f-head); letter-spacing: .04em; color: #fff; background: #111; border: 3px solid #fff; transform: rotate(-7deg); box-shadow: 0 10px 0 rgba(0, 0, 0, .35); animation: chkpop .45s cubic-bezier(.2, 1.6, .4, 1) both; }
.chk-pop b.gold { color: #221500; background: var(--gold-metal); border-color: #fff3b8; }
.chk-pop b.red { background: linear-gradient(180deg, #ef4444, #991b1b); border-color: #fecaca; }
@keyframes chkpop { from { transform: rotate(-20deg) scale(.2); opacity: 0; } }
.chk-go.cash { background: linear-gradient(180deg, #bbf7d0, #22c55e 55%, #15803d) !important; color: #052e16 !important; box-shadow: 0 6px 0 #14532d, 0 0 30px rgba(34, 197, 94, .5); animation: rkpulse .6s ease-in-out infinite alternate; }
@keyframes rkpulse { to { box-shadow: 0 6px 0 #14532d, 0 0 50px rgba(34, 197, 94, .85); } }
.chk-go:disabled { filter: saturate(.4) brightness(.85); }
.rk-dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin: 12px 0 0; }
.rk-dots i { display: grid; place-items: center; height: 30px; border-radius: 9px; font: 800 9.5px var(--f-body); font-style: normal; color: var(--mute); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; white-space: nowrap; }
.rk-dots i.next { color: #fff; border-color: #fb923c; box-shadow: 0 0 12px rgba(251, 146, 60, .55); }
.rk-dots i.won { color: #052e16; background: linear-gradient(180deg, #bbf7d0, #4ade80); border-color: transparent; }
.rk-dots i.lost { color: #ffb3ba; background: rgba(225, 29, 72, .18); border-color: rgba(255, 107, 120, .35); }
.rk-tot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; text-align: center; font: 600 12.5px var(--f-body); }
.rk-tot span { display: grid; gap: 3px; padding: 9px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.rk-tot small { font: 800 9px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.rk-tot b { font: 800 17px var(--f-head); color: #fff; }

/* ---------- Quick Draw ---------- */
.qd-arena { position: relative; display: grid; grid-template-rows: 1fr auto 1fr; gap: 8px; height: min(60vh, 460px); padding: 8px; border-radius: 24px; background: radial-gradient(80% 60% at 50% 50%, rgba(234, 88, 12, .18), transparent 70%), repeating-linear-gradient(90deg, #2a1608 0 22px, #22120a 22px 24px, #301a0a 24px 46px); box-shadow: inset 0 0 0 1px rgba(234, 88, 12, .35), 0 20px 50px rgba(0, 0, 0, .5); user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: background .1s; }
.qd-arena.solo { grid-template-rows: auto 1fr; }
.qd-arena.solo .p2 { display: none; }
.qd-pad { display: grid; place-items: center; align-content: center; gap: 4px; border: 0; border-radius: 18px; color: #fff; cursor: pointer; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: transform .08s, background .15s; -webkit-tap-highlight-color: transparent; }
.qd-pad:active { transform: scale(.98); }
.qd-pad.p2 { transform: rotate(180deg); }
.qd-pad.p2:active { transform: rotate(180deg) scale(.98); }
.qd-nm { font: 800 18px var(--f-head); }
.qd-w { font: 400 22px/1 var(--f-body); letter-spacing: .2em; color: #f97316; }
.qd-pad small { font: 700 10.5px var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.qd-pad.hit { background: linear-gradient(180deg, rgba(246, 207, 95, .4), rgba(246, 207, 95, .1)); box-shadow: inset 0 0 0 2px #f6cf5f; }
.qd-mid { display: grid; justify-items: center; gap: 2px; padding: 12px 8px; border-radius: 16px; cursor: pointer; background: rgba(0, 0, 0, .55); border: 1px solid rgba(234, 88, 12, .4); }
.qd-mid b { font: 400 clamp(40px, 12vw, 64px)/1 'Bebas Neue', var(--f-head); letter-spacing: .05em; color: #fff; }
.qd-mid small { font: 700 11px var(--f-body); color: var(--mute); letter-spacing: .06em; }
.qd-arena[data-ph="wait"] .qd-mid b { color: #fde68a; animation: qdwait 1s ease-in-out infinite; }
@keyframes qdwait { 50% { opacity: .55; } }
.qd-arena[data-ph="draw"] { background: radial-gradient(80% 60% at 50% 50%, rgba(239, 68, 68, .7), rgba(127, 29, 29, .9)); }
.qd-arena[data-ph="draw"] .qd-mid b { color: #fff; font-size: clamp(60px, 18vw, 96px); text-shadow: 0 0 30px #fff; }
.qd-arena[data-ph="draw"] .qd-pad { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 2px #fff; }
.qd-arena[data-ph="foul"] .qd-mid b { color: #fb7185; }
.qd-arena[data-ph="won"] .qd-mid b { color: #f6cf5f; text-shadow: 0 0 24px rgba(246, 207, 95, .6); }
.qd-times { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.qd-times i { padding: 4px 9px; border-radius: 999px; font: 800 12px var(--f-body); font-style: normal; color: #fde68a; background: rgba(234, 88, 12, .18); }
.qd-times span { width: 100%; text-align: center; font: 600 13px var(--f-body); color: var(--mute); }
.qd-times span b { color: #fff; }

/* ---------- Blind 10 ---------- */
.ck-tg { display: flex; justify-content: center; gap: 6px; margin: -2px 0 12px; }
.ck-tg button { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(103, 232, 249, .3); background: rgba(6, 182, 212, .06); color: #a5f3fc; font: 800 12px var(--f-body); cursor: pointer; }
.ck-tg button.on { color: #042f2e; background: linear-gradient(180deg, #a5f3fc, #22d3ee); border-color: transparent; }
.ck-face { display: grid; justify-items: center; gap: 4px; margin: 0 auto 14px; padding: 18px 10px 14px; border-radius: 26px; background: radial-gradient(90% 90% at 50% 30%, #082a33, #020b0e); box-shadow: inset 0 0 0 1px rgba(103, 232, 249, .3), inset 0 -20px 40px rgba(0, 0, 0, .5), 0 20px 50px rgba(0, 0, 0, .5), 0 0 40px rgba(6, 182, 212, .12); }
.ck-face small { min-height: 14px; font: 800 11px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #67e8f9; }
.ck-face b { font: 400 clamp(84px, 26vw, 128px)/1 'Bebas Neue', var(--f-head); letter-spacing: .03em; color: #cffafe; text-shadow: 0 0 24px rgba(103, 232, 249, .7); font-variant-numeric: tabular-nums; transition: filter .4s, opacity .4s, color .3s; }
.ck-face span { font: 700 12px var(--f-body); color: var(--mute); }
.ck-face.blind b { filter: blur(3px); opacity: .45; color: #67e8f9; animation: qdwait 1.4s ease-in-out infinite; }
.ck-face.done b { filter: none; opacity: 1; }
.ck-face.close b { color: #fde68a; text-shadow: 0 0 30px rgba(246, 207, 95, .8); }
.ck-btn { display: grid; place-items: center; width: 150px; height: 150px; margin: 0 auto; border: 0; border-radius: 50%; cursor: pointer; background: radial-gradient(circle at 50% 35%, #a5f3fc, #06b6d4 45%, #0e7490); box-shadow: 0 10px 0 #155e75, 0 22px 40px rgba(6, 182, 212, .35), inset 0 2px 0 rgba(255, 255, 255, .6); transition: transform .08s, box-shadow .08s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ck-btn span { font: 400 32px/1 'Bebas Neue', var(--f-head); letter-spacing: .08em; color: #042f2e; }
.ck-btn:active { transform: translateY(8px); box-shadow: 0 2px 0 #155e75, 0 10px 20px rgba(6, 182, 212, .3), inset 0 2px 0 rgba(255, 255, 255, .6); }
.ck-btn.stop { background: radial-gradient(circle at 50% 35%, #fecaca, #ef4444 45%, #991b1b); box-shadow: 0 10px 0 #7f1d1d, 0 22px 40px rgba(239, 68, 68, .4), inset 0 2px 0 rgba(255, 255, 255, .6); }
.ck-btn.stop span { color: #fff; }
.ck-btn.stop:active { box-shadow: 0 2px 0 #7f1d1d, inset 0 2px 0 rgba(255, 255, 255, .6); }

/* ---------- Shuffle Shot ---------- */
.sb-wrap { position: relative; width: min(100%, 360px, calc((100svh - 250px) / 2)); min-width: 220px; margin: 0 auto; padding: 10px 10px 0; border-radius: 18px 18px 8px 8px; background: linear-gradient(180deg, #3b2108, #1f1004); box-shadow: 0 24px 50px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .12); }
.sb-wrap canvas { display: block; width: 100%; border-radius: 4px 4px 0 0; touch-action: none; cursor: grab; }
.sb-pts { position: absolute; left: 0; right: 0; top: 30%; display: grid; place-items: center; pointer-events: none; }
.sb-pts b { padding: 10px 18px; border-radius: 16px; font: 400 38px/1 'Bebas Neue', var(--f-head); letter-spacing: .04em; color: #221500; background: var(--gold-metal); box-shadow: 0 14px 30px rgba(0, 0, 0, .5); animation: gain .35s cubic-bezier(.2, 1.4, .4, 1) both; }
.sb-pts b.hang { background: linear-gradient(180deg, #fff, #fde68a 40%, #f59e0b); box-shadow: 0 0 40px rgba(246, 207, 95, .8); }
.sb-pts b.off { color: #fff; background: linear-gradient(180deg, #ef4444, #7f1d1d); }

/* ---------- the home page: the same cards in a row you swipe ---------- */
.gx-cards.gx-rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(46%, 200px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 2px; padding: 4px 2px 10px; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, #000 88%, transparent); mask: linear-gradient(90deg, #000 88%, transparent); }
.gx-rail::-webkit-scrollbar { display: none; }
.gx-rail .ga { scroll-snap-align: start; }
.rail-nav { display: none; gap: 6px; }
.rail-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(246, 207, 95, .4); background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02)); color: #f6cf5f; font: 400 24px/1 var(--f-body); cursor: pointer; transition: transform .13s var(--press), background .2s; }
.rail-nav button:hover { background: rgba(246, 207, 95, .15); }
.rail-nav button:active { transform: scale(.9); }
@media (min-width: 760px) { .rail-nav { display: flex; } }
@media (min-width: 760px) { .gx-cards.gx-rail { grid-template-columns: none; grid-auto-columns: calc((100% - 48px) / 5.3); } }

/* ---------- the Games page: the same cards ---------- */
.gn-grid .ga:first-child { grid-column: auto; }

@media (min-width: 760px) {
  .gx-cards { grid-template-columns: repeat(5, 1fr); }
  .gx-classic { grid-template-columns: repeat(4, 1fr); }
  #boards .lb-card { max-width: 640px; }
  .stage { max-width: 560px; margin-inline: auto; }
  .rm-board { max-width: 560px; margin-inline: auto; }
  .rm-bar { max-width: 560px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ga-sl i, .sm-bulbs i, .sm-rail i, .sm-bg, .sm-sym, .sm-glare, .sm-top::after, .sm-top b, .sm-btn, .sm-tip, .sm-win i, .sm-screen::before, .d-spin, .ds-reels i, .ga-bet i, .ob-zone.both .ob-chip, .ob-zone.locked .ob-stamp, .ga-chk .car, .ga-chk .car i, .ga-draw b, .ga-sb i, .ga-ck b em, .chk-go.cash, .bf i, .ga-bet.wide em, .ob-p.new, .qd-arena[data-ph="wait"] .qd-mid b, .ck-face.blind b,
  .ga, .ga-coin i, .ga-wheel i, .ga-dice i, .ga-hilo span, .ga-hilo em, .ga-bj i, .wh-bulbs i, .streak.hot .fire, .lb-list li, .trail i, .wh .say b, .lb-name { animation: none !important; }
}

/* ---------- Open Bet, green edition: the form is a felt table, amounts are poker chips, bets are receipts ---------- */
.ob { --obg: #46f49c; --obg2: #1fbf6a; --felt1: #0f5a3a; --felt2: #08311f; overflow-x: clip; }
.ob .ob-form { position: relative; gap: 14px; padding: 16px 14px 14px; border-radius: 22px; isolation: isolate;
  background: radial-gradient(120% 80% at 50% 0%, #17714a 0%, var(--felt1) 45%, var(--felt2) 100%);
  box-shadow: inset 0 0 0 2px rgba(70, 244, 156, .25), inset 0 0 0 7px rgba(0, 0, 0, .25), inset 0 0 0 8px rgba(246, 207, 95, .35), 0 18px 40px rgba(0, 0, 0, .5); }
.ob .ob-form::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: .35; background: repeating-radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px); pointer-events: none; }
.ob .ob-form::after { content: '🪙'; position: absolute; top: -14px; right: 16px; font-size: 26px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); animation: obcoin 3.2s ease-in-out infinite; }
@keyframes obcoin { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-6px) rotate(10deg); } }
.ob .ob-f > span { color: #a7f3c9; }
.ob .ob-f textarea, .ob .ob-f input, .ob .ob-f select, .ob .ob-p input { background: rgba(0, 20, 10, .45); border-color: rgba(70, 244, 156, .28); }
.ob .ob-f textarea:focus, .ob .ob-f input:focus, .ob .ob-p input:focus { outline-color: rgba(70, 244, 156, .7); }
.ob .ob-f select { background: #062417; }
/* amounts: poker chips */
.ob .ob-q { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.5fr); gap: 7px; }
.ob .ob-q button { height: auto; aspect-ratio: 1; border-radius: 50%; border: 0; color: #fff; font-size: 21px; text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  background: radial-gradient(circle, var(--cc) 0 52%, transparent 53%), repeating-conic-gradient(#fff 0 15deg, var(--cc) 15deg 45deg); box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .25), 0 4px 0 rgba(0, 0, 0, .45), 0 8px 14px rgba(0, 0, 0, .35); transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s; }
.ob .ob-q button:nth-child(1) { --cc: #c8102e; } .ob .ob-q button:nth-child(2) { --cc: #1f6fd6; } .ob .ob-q button:nth-child(3) { --cc: #16a35a; } .ob .ob-q button:nth-child(4) { --cc: #18181c; }
.ob .ob-q button:hover { transform: translateY(-3px) rotate(-6deg); }
.ob .ob-q button.on { color: #fff; background: radial-gradient(circle, var(--cc) 0 52%, transparent 53%), repeating-conic-gradient(#fff 0 15deg, var(--cc) 15deg 45deg); transform: translateY(-5px) scale(1.06); box-shadow: 0 0 0 3px var(--obg), 0 0 18px rgba(70, 244, 156, .6), 0 10px 16px rgba(0, 0, 0, .4); }
.ob .ob-cust { align-self: center; height: 52px; border-radius: 999px; background: rgba(0, 20, 10, .45); border: 1px dashed rgba(70, 244, 156, .5); color: #c9ffe1; }
.ob .ob-cust.on { background: linear-gradient(180deg, #5dffae, var(--obg2)); color: #03140a; border-style: solid; box-shadow: 0 0 16px rgba(70, 244, 156, .5); }
/* the two sides */
.ob .ob-sl { color: #a7f3c9; }
.ob .ob-vs { display: grid; place-items: center; width: 40px; height: 40px; margin-top: 22px; border-radius: 50%; color: #03140a; background: radial-gradient(circle at 35% 30%, #b8ffd8, var(--obg) 45%, #13894b); box-shadow: 0 0 0 3px rgba(0, 0, 0, .3), 0 0 18px rgba(70, 244, 156, .55); font-size: 18px; animation: obvs 2.4s ease-in-out infinite; }
@keyframes obvs { 50% { transform: scale(1.08) rotate(-4deg); } }
.ob .ob-add { border-color: rgba(70, 244, 156, .45); color: var(--obg); background: rgba(70, 244, 156, .07); }
.ob .ob-tagb { background: rgba(70, 244, 156, .14); color: var(--obg); }
.ob .ob-recent button { border-color: rgba(70, 244, 156, .3); background: rgba(70, 244, 156, .07); color: #d9ffe9; }
.ob .ob-recent small { color: #a7f3c9; }
/* shake on it */
.ob .btn.gold.big-go, .ob .big-go { position: relative; overflow: hidden; height: 58px; border-radius: 18px; border: 0; color: #03140a; font-size: 19px; letter-spacing: .01em;
  background: linear-gradient(180deg, #7dffbe, var(--obg) 45%, var(--obg2)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), 0 6px 0 #0c6b3a, 0 14px 26px rgba(31, 191, 106, .35); transition: transform .12s, box-shadow .12s; }
.ob .btn.gold.big-go:active, .ob .big-go:active { transform: translateY(5px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), 0 1px 0 #0c6b3a, 0 6px 14px rgba(31, 191, 106, .3); }
.ob .big-go::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-110%); animation: obshine 3s ease-in-out infinite; }
@keyframes obshine { 55%, 100% { transform: translateX(110%); } }
.ob .ob-fine { color: #9fd9b9; }
/* your bets: receipts */
.ob .ob-ledger h3 { color: #a7f3c9; }
.ob .ob-tally li { background: linear-gradient(90deg, rgba(70, 244, 156, .16), rgba(70, 244, 156, .03)); border-color: rgba(70, 244, 156, .3); }
.ob .ob-row { position: relative; min-width: 0; padding: 14px 12px 12px; border-radius: 14px; background: linear-gradient(180deg, #10251a, #0b1711); border: 1px solid rgba(70, 244, 156, .14); }
.ob .ob-row::before { content: ''; position: absolute; left: 10px; right: 10px; top: -1px; height: 6px; background: radial-gradient(circle at 5px -1px, var(--bg, #070807) 4px, transparent 4.5px) 0 0 / 12px 6px repeat-x; }
.ob .ob-row.open { border-color: rgba(70, 244, 156, .4); box-shadow: 0 0 0 1px rgba(70, 244, 156, .1), 0 8px 18px rgba(0, 0, 0, .35); }
.ob .ob-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.ob .ob-rt { min-width: 0; }
.ob .ob-rt small { overflow-wrap: anywhere; }
.ob .ob-rt .g { color: var(--obg); }
.ob .ob-set { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 6px; }
.ob .ob-set button { border-color: rgba(70, 244, 156, .45); background: rgba(70, 244, 156, .1); color: #c9ffe1; }
.ob .ob-set button:hover { background: rgba(70, 244, 156, .2); }
.ob .ob-set button[data-win="off"] { color: var(--mute); border-color: rgba(255, 255, 255, .14); background: none; }
.ob .ob-res { color: var(--obg); }
.ob .ob-at { color: var(--obg); }
@media (prefers-reduced-motion: reduce) { .ob .ob-form::after, .ob .ob-vs, .ob .big-go::after { animation: none; } }

/* ---------- Dice v2: padded felt table, C-Lo players, the roll button ---------- */
.dt.felt { aspect-ratio: 1 / .8; border-radius: 26px; background: radial-gradient(80% 70% at 50% 40%, rgba(255, 95, 162, .1), transparent 70%); }
.dt.flat.felt { background: radial-gradient(90% 80% at 50% 45%, #1f8a52, #0a4526); box-shadow: inset 0 0 0 10px #9c1d55, inset 0 0 0 14px #15100d, inset 0 0 40px rgba(0, 0, 0, .5); }
.cl-pl { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 10px; }
.cl-pl[hidden] { display: none; }
.cl-p { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 8px; align-items: center; min-width: 0; flex: 1 1 100px; max-width: 160px; padding: 8px 10px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: transform .2s, box-shadow .2s, background .2s; }
.cl-p.on { background: rgba(255, 95, 162, .14); border-color: #ff5fa2; box-shadow: 0 0 18px rgba(255, 95, 162, .35); transform: translateY(-2px); }
.cl-p.win { background: rgba(246, 207, 95, .16); border-color: #f6cf5f; box-shadow: 0 0 22px rgba(246, 207, 95, .45); }
.cl-p.out { opacity: .5; }
.cl-av { grid-row: span 2; font-size: 24px; }
.cl-n { font: 800 13px var(--f-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; outline: 0; border-radius: 4px; }
.cl-n[contenteditable]:focus { background: rgba(255, 255, 255, .12); padding: 0 3px; }
.cl-r { font: 700 11.5px var(--f-body); color: #ffd1e5; }
.cl-w { position: absolute; top: -7px; right: 18px; padding: 1px 6px; border-radius: 99px; background: #15100d; border: 1px solid rgba(246, 207, 95, .5); font: 800 10px var(--f-body); color: #f6cf5f; }
.cl-x { position: absolute; top: -7px; right: -5px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: #3a0c22; color: #ffc2da; font: 800 13px/1 var(--f-body); cursor: pointer; }
.cl-add { display: flex; gap: 6px; flex: 1 1 100%; justify-content: center; }
.cl-add button { padding: 6px 12px; border-radius: 999px; border: 1px dashed rgba(255, 95, 162, .5); background: transparent; color: #ffc2da; font: 700 12px var(--f-body); cursor: pointer; }
.cl-rules { margin: 10px 0 0; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .04); font-size: 13px; }
.cl-rules[hidden] { display: none; }
.cl-rules summary { cursor: pointer; font-weight: 800; color: #ffc2da; }
.cl-rules ul { margin: 8px 0 2px; padding-left: 18px; display: grid; gap: 4px; color: #e6dde3; }
/* the roll button: a chunky pink casino button with a die that wobbles, a shine that sweeps, and a real press */
.roll-btn { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; margin-top: 4px; padding: 12px 18px; border: 0; border-radius: 22px; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, #ff6fb0 0%, #e0237a 55%, #a3124f 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -4px 0 rgba(0, 0, 0, .2), 0 7px 0 #5e0a2e, 0 14px 28px rgba(224, 35, 122, .45); transition: transform .08s, box-shadow .08s, filter .2s; -webkit-tap-highlight-color: transparent; }
.roll-btn:active { transform: translateY(6px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .2), 0 1px 0 #5e0a2e, 0 6px 14px rgba(224, 35, 122, .35); }
.roll-btn:disabled { filter: saturate(.6) brightness(.85); cursor: default; }
.roll-btn.wait { filter: saturate(.7); }
.rb-d { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; font-size: 30px; box-shadow: 0 3px 0 #c9b7c1, 0 6px 12px rgba(0, 0, 0, .25); animation: rbwob 2.6s ease-in-out infinite; }
.roll-btn:disabled .rb-d { animation: rbspin .5s linear infinite; }
.rb-t { display: grid; text-align: left; line-height: 1; }
.rb-t b { font: 400 34px/0.95 'Bebas Neue', var(--f-head); letter-spacing: .06em; text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.rb-t small { font: 700 11.5px var(--f-body); opacity: .85; }
.rb-sh { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); transform: translateX(-100%); animation: rbsh 3.5s ease-in-out infinite; pointer-events: none; }
@keyframes rbwob { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-14deg); } 90% { transform: rotate(10deg); } 95% { transform: rotate(-5deg); } }
@keyframes rbspin { to { transform: rotate(360deg); } }
@keyframes rbsh { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .rb-d, .rb-sh, .roll-btn:disabled .rb-d { animation: none; } }

/* the 3D coin */
.cn-air:not(.flat) { position: relative; height: min(64vh, 440px); margin: 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))); }
.cn-canvas { display: block; width: 100%; height: 100%; cursor: pointer; }
.cn-myth { max-width: 520px; margin: 0 auto; padding: 14px 16px; border-radius: 16px; text-align: left; background: linear-gradient(160deg, #eef2f9, #c6cedd); color: #2a3040; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); animation: cnOpen .5s ease-out; }
.cn-myth small { display: block; font: 800 10px var(--f-body); letter-spacing: .2em; color: #5b6475; }
.cn-myth b { display: block; margin: 2px 0 4px; font: 700 20px 'Playfair Display', Georgia, serif; }
.cn-myth p { margin: 0; font: 500 14px/1.5 Georgia, serif; }
@keyframes cnOpen { from { opacity: 0; transform: rotateX(70deg); transform-origin: top; } }

/* the 3D slot machine: full width, the lever reached by dragging down anywhere on it */
.sm.is3d .sm-stage { display: none; }
.sm3 { position: relative; height: min(56vh, 520px); margin: 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))); touch-action: none; cursor: grab; }
.sm3-canvas { display: block; width: 100%; height: 100%; }
.sm3 .sm-win { position: absolute; inset: 0; pointer-events: none; }
.sm3-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.sm3-row .sm-leds, .sm3-row .sm-base { margin: 0; }
