/* The fourth batch (2026-10-24, Ethiopia-themed at the owner's request): Erta Ale = Danakil night, lava and sulphur;
   Simien Climb = morning cliffs over a sea of clouds; Adey Abeba = sky blue and daisy yellow meadow; Highland Run =
   green hills and a red-earth road; Buna Scratch = espresso, cream and a woven mesob border. */

/* ---------- ERTA ALE: Danakil night, lava orange and sulphur yellow ---------- */
body.ertaale-mode {
  background: radial-gradient(600px 380px at 50% 110%, rgba(255,106,26,.45), transparent 65%), radial-gradient(1px 1px at 20% 30%, #fff 50%, transparent 51%) 0 0 / 90px 90px,
    linear-gradient(180deg, #07021a 0%, #2a0a33 55%, #4a1410 100%);
  background-attachment: fixed;
}
body.ertaale-mode .topbar { background: rgba(20,4,14,.92); border-bottom-color: rgba(255,106,26,.4); }
body.ertaale-mode .tabbar { background: rgba(20,4,14,.96); border-top-color: rgba(255,106,26,.4); }
body.ertaale-mode .game-bar button { border-color: rgba(255,160,60,.45); background: rgba(255,106,26,.1); }
#tab-ertaale { color: #fff2e6; }
.cx-ertaale { box-shadow: 0 0 0 2px rgba(255,106,26,.6), 0 0 34px rgba(255,90,20,.35), 0 16px 34px rgba(0,0,0,.6); background: #12040a; }
.cx-ertaale .cx-hud b.flying { color: #fff6c8; text-shadow: 0 0 16px rgba(255,140,30,.95), 0 0 2px #000, 0 4px 16px rgba(0,0,0,.7); }
.cx-ertaale .cx-hud b.crashed { color: #ff5a3a; }
#tab-ertaale .cx-recent { background: rgba(40,8,10,.6); }
#tab-ertaale .cx-bet { background: linear-gradient(180deg, rgba(120,30,10,.45), rgba(30,6,10,.7)); border-color: rgba(255,140,40,.4); }
#tab-ertaale .cx-go { background: linear-gradient(180deg, #ffe27a, #ff8a1f 50%, #d0200d); color: #2a0600; box-shadow: 0 6px 22px rgba(255,90,20,.45); }
#tab-ertaale .cx-list { background: rgba(30,6,10,.65); border-color: rgba(255,140,40,.25); }
.g-ertaale { background: linear-gradient(135deg, #ff6a1a, #3a0d3a 55%, #07021a); border-color: rgba(255,140,40,.6); color: #fff; }
.g-ertaale .g-status { color: #ffd23f; } .g-ertaale .g-play { background: linear-gradient(180deg, #ffe27a, #ff8a1f); color: #2a0600; }
.g-ertaale .g-art { background: #07021a; }
.ps-ertaale { background: radial-gradient(120% 120% at 50% 100%, #ff6a1a, #2a0a33 55%, #07021a) !important; }

/* ---------- SIMIEN CLIMB: morning cliffs, basalt and green ---------- */
body.climb-mode { background: linear-gradient(180deg, #4aa3f0 0%, #bfe3ff 40%, #ffe2b8 70%, #8a7565 100%); background-attachment: fixed; }
body.climb-mode .topbar { background: rgba(30,60,100,.88); border-bottom-color: rgba(255,255,255,.45); }
body.climb-mode .tabbar { background: rgba(40,32,26,.95); border-top-color: rgba(255,255,255,.3); }
body.climb-mode .game-bar button { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.2); color: #fff; }
#tab-climb { color: #fff; }
.sm-cliff { position: relative; isolation: isolate; overflow: hidden; margin-top: 10px; padding: 12px; border-radius: 22px; box-shadow: 0 0 0 3px rgba(255,255,255,.75), 0 16px 34px rgba(20,30,50,.45); }
.sm-cliff.shake { animation: smShake .45s; }
@keyframes smShake { 20% { transform: translate(-5px, 2px); } 40% { transform: translate(5px, -2px); } 60% { transform: translate(-3px, 1px); } 80% { transform: translate(2px, 0); } }
.sm-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.sm-bird { animation: smBird 14s linear infinite; }
@keyframes smBird { 0% { transform: translate(-60px, 160px) scale(.9); } 50% { transform: translate(220px, 120px) scale(1); } 100% { transform: translate(460px, 170px) scale(.9); } }
.sm-head { display: flex; align-items: center; justify-content: space-between; }
.sm-title { font: 900 22px/1 'Space Grotesk', system-ui, sans-serif; letter-spacing: .12em; color: #fff; text-shadow: 0 2px 0 #3b2f28, 0 0 12px rgba(0,0,0,.35); }
.sm-title b { color: #b8f28a; }
.sm-mult { text-align: right; padding: 4px 10px; border-radius: 12px; background: rgba(30,40,60,.55); }
.sm-mult b { display: block; font-size: 25px; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.sm-mult small { font-size: 12px; font-weight: 800; color: #b8f28a; }
.sm-wall { position: relative; display: grid; gap: 6px; margin: 10px auto 0; max-width: 360px; }
.sm-wall::before { content: ''; position: absolute; left: 16px; top: 4px; bottom: 4px; width: 3px; border-radius: 2px; background: repeating-linear-gradient(180deg, #e8c33a 0 6px, #a87e12 6px 9px); opacity: .9; box-shadow: 0 0 4px rgba(0,0,0,.4); }
/* each ledge: a thin rock shelf with grass on top; the holds sit on it and the cliff picture shows between the ledges */
.sm-ledge { position: relative; z-index: 0; display: grid; grid-template-columns: 34px 1fr 62px; gap: 6px; align-items: end; padding: 0 4px 9px; transition: opacity .2s; }
.sm-ledge::after { content: ''; position: absolute; z-index: -1; left: 30px; right: 60px; bottom: 0; height: 13px; border-radius: 4px 4px 9px 9px;
  background: linear-gradient(180deg, #9a8473, #5a4a40 60%, #3b2f28); box-shadow: 0 5px 8px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.25); }
.sm-ledge::before { content: ''; position: absolute; z-index: 1; left: 32px; right: 62px; bottom: 10px; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, #6fbf4a 0 6px, #4c8f3a 6px 10px); }
.sm-ledge.locked { opacity: .4; }
.sm-ledge.summit::after { background: linear-gradient(180deg, #9ad07a, #4c8f3a 60%, #2f5a24); }
.sm-ledge.cur::after { box-shadow: 0 0 0 2px #ffe27a, 0 0 18px rgba(255,226,122,.75), 0 5px 8px rgba(0,0,0,.35); }
.sm-who { width: 34px; height: 34px; display: grid; place-items: center; }
.sm-climber { width: 30px; height: 38px; margin-top: -6px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.45)); animation: smBob 1.2s ease-in-out infinite; }
@keyframes smBob { 50% { transform: translateY(-2px); } }
.sm-gelada { width: 30px; height: 30px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
.sm-row { display: grid; gap: 5px; } .sm-row.t2 { grid-template-columns: repeat(2, 1fr); } .sm-row.t3 { grid-template-columns: repeat(3, 1fr); } .sm-row.t4 { grid-template-columns: repeat(4, 1fr); }
.sm-hold { height: 32px; border-radius: 40% 46% 38% 44%; border: 0; cursor: pointer; display: grid; place-items: center; padding: 0;
  background: radial-gradient(circle at 35% 30%, #b8a391, #7a6655 55%, #4a3c33); box-shadow: 0 3px 0 #2f2620, inset 0 1px 0 rgba(255,255,255,.3); }
.sm-ledge:not(.cur) .sm-hold { cursor: default; filter: saturate(.7) brightness(.8); }
.sm-ledge.cur .sm-hold { animation: smGlow 1.6s ease-in-out infinite; filter: none; }
@keyframes smGlow { 50% { box-shadow: 0 3px 0 #2f2620, 0 0 14px rgba(255,226,122,.75), inset 0 1px 0 rgba(255,255,255,.3); } }
.sm-hold.picking { animation: smWiggle .25s infinite; }
@keyframes smWiggle { 50% { transform: rotate(4deg) translateY(1px); } }
.sm-hold.firm { background: radial-gradient(circle at 35% 30%, #9ad07a, #4c8f3a 60%, #2f5a24); filter: none !important; }
.sm-hold.fell { background: radial-gradient(circle at 35% 30%, #c0563a, #7a2a18 60%, #3a120a); filter: none !important; animation: smDrop .5s ease-in; }
@keyframes smDrop { 40% { transform: translateY(4px) rotate(-6deg); } 100% { transform: none; } }
.sm-hold.shown-fall { background: radial-gradient(circle at 35% 30%, #8a6a5a, #5a3a2a 60%, #3a2418); }
.sm-hold.shown-fall .sm-ico { opacity: .6; }
.sm-ico { width: 24px; height: 24px; }
.sm-x { justify-self: end; margin-bottom: 2px; padding: 3px 7px; border-radius: 9px; background: rgba(30,40,60,.62); font-size: 12.5px; font-weight: 900; color: #f1e6d8; font-variant-numeric: tabular-nums; }
.sm-ledge.done .sm-x { color: #b8f28a; } .sm-ledge.cur .sm-x { color: #ffe27a; }
.sm-msg { background: rgba(30,40,60,.6); color: #fff; }
.sm-msg b { color: #ffe27a; }
.sm-panel { background: rgba(40,32,26,.88); border-color: rgba(184,242,138,.35); }
.sm-levels button { min-width: 0; padding: 0 8px; font-size: 12px; }
.sm-levels button.on { background: linear-gradient(180deg, #c8f2a0, #6fbf4a); color: #1a3a10; }
.sm-btns { display: grid; }
.sm-go { background: linear-gradient(180deg, #ffe27a, #e8a01e 55%, #a8620a); color: #2a1600; box-shadow: 0 6px 22px rgba(232,160,30,.4), inset 0 1px 0 rgba(255,255,255,.5); }
.sm-cash { background: linear-gradient(180deg, #b8f28a, #4c8f3a 55%, #2f5a24); color: #0e2408; box-shadow: 0 6px 22px rgba(76,143,58,.45), inset 0 1px 0 rgba(255,255,255,.5); }
.g-climb { background: linear-gradient(135deg, #4aa3f0, #8a7565 75%); border-color: rgba(255,255,255,.65); color: #fff; }
.g-climb .g-status { color: #e8ffd6; } .g-climb .g-play { background: linear-gradient(180deg, #b8f28a, #4c8f3a); color: #0e2408; }
.g-climb .g-art { background: #4aa3f0; }
.ps-climb { background: linear-gradient(160deg, #4aa3f0, #ffe2b8 60%, #8a7565) !important; }

/* ---------- ADEY ABEBA: sky blue, meadow green, daisy yellow ---------- */
body.adey-mode { background: linear-gradient(180deg, #2f8fe8 0%, #9fd4ff 38%, #5cb85c 39%, #2e8a3a 100%); background-attachment: fixed; }
body.adey-mode .topbar { background: rgba(20,70,130,.88); border-bottom-color: rgba(255,210,28,.5); }
body.adey-mode .tabbar { background: rgba(20,70,30,.95); border-top-color: rgba(255,210,28,.45); }
body.adey-mode .game-bar button { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.2); color: #fff; }
#tab-adey { color: #fff; }
.ad-machine { position: relative; margin-top: 10px; padding: 10px 10px 30px; border-radius: 22px;
  background: linear-gradient(180deg, #5fb3ff, #2f6fd1 60%, #1f4fa0); box-shadow: 0 0 0 3px #ffd21c, 0 0 0 6px #2e8a3a, 0 18px 36px rgba(10,40,20,.5); }
.ad-machine::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30px; border-radius: 0 0 22px 22px; background: var(--ad-daisies) left bottom / auto 100% repeat-x; pointer-events: none; }
.ad-top { display: flex; justify-content: center; }
.ad-title { text-align: center; font: 900 24px/1 'Space Grotesk', system-ui, sans-serif; letter-spacing: .08em; color: #fff; text-shadow: 0 2px 0 #1a3a8a, 0 0 14px rgba(255,210,28,.5); }
.ad-title small { display: block; font-size: 13px; letter-spacing: .1em; color: #ffd21c; margin-bottom: 2px; text-shadow: 0 1px 0 #1a3a8a; }
.ad-title b { color: #ffd21c; }
.ad-free { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin: 8px 0 0; padding: 7px; border-radius: 12px; background: #1a3a10; color: #fff; font-size: 12.5px; font-weight: 800; }
.ad-free b { color: #ffd21c; letter-spacing: .06em; width: 100%; text-align: center; } .ad-free span b { width: auto; }
.ad-reels { --cell: 64px; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 8px; padding: 5px; border-radius: 14px; background: #1a3a8a; box-shadow: inset 0 4px 12px rgba(0,0,0,.5); }
.ad-reel { height: calc(var(--cell) * 3); overflow: hidden; border-radius: 10px; background: linear-gradient(180deg, #e8f3d8, #fffdf4 50%, #e8f3d8); box-shadow: inset 0 10px 14px -8px rgba(0,0,0,.35), inset 0 -10px 14px -8px rgba(0,0,0,.35); }
.ad-strip { will-change: transform; }
.ad-cell { position: relative; height: var(--cell); display: grid; place-items: center; }
.ad-cell svg { width: 86%; height: 86%; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.ad-cell.hit svg { animation: adPop .5s ease-out; }
@keyframes adPop { 40% { transform: scale(1.14); } }
.ad-cell.glow svg { animation: adGlow .5s ease-in-out infinite alternate; }
@keyframes adGlow { to { filter: drop-shadow(0 0 10px #ffd21c) brightness(1.15); } }
.ad-x { position: absolute; right: 4px; top: 4px; font: 900 11px/1 system-ui, sans-serif; font-style: normal; padding: 3px 5px; border-radius: 8px; background: #e2453c; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); animation: adPop .5s; }
.ad-lines { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); pointer-events: none; }
.ad-lines polyline { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: .9; filter: drop-shadow(0 0 3px rgba(0,0,0,.5)); vector-effect: non-scaling-stroke; }
.ad-win { text-align: center; margin-top: 8px; padding: 8px; border-radius: 12px; background: rgba(10,40,100,.75); color: #fff; font-weight: 800; font-size: 14.5px; min-height: 20px; }
.ad-win b { color: #ffd21c; font-size: 17px; }
.ad-machine.freemode { box-shadow: 0 0 0 3px #ff8a1f, 0 0 0 6px #ffd21c, 0 0 36px rgba(255,210,28,.7), 0 18px 36px rgba(10,40,20,.5); }
.ad-panel { background: rgba(14,50,24,.88); border-color: rgba(255,210,28,.4); }
.ad-go { background: linear-gradient(180deg, #fff07a, #ffd21c 45%, #e8860a); color: #2a1600; box-shadow: 0 6px 22px rgba(255,210,28,.45), inset 0 1px 0 rgba(255,255,255,.6); }
.ad-go.stop { background: linear-gradient(180deg, #ff7aa8, #e0287a); color: #fff; }
.ad-mini { display: inline-block; width: 24px; height: 24px; vertical-align: middle; } .ad-mini svg { width: 100%; height: 100%; }
.ad-pay td:first-child { white-space: nowrap; }
.g-adey { background: linear-gradient(135deg, #2f8fe8, #3c9a3c 80%); border-color: #ffd21c; color: #fff; }
.g-adey .g-status { color: #fff3a0; } .g-adey .g-play { background: linear-gradient(180deg, #fff07a, #ffd21c); color: #2a1600; }
.g-adey .g-art { background: #2f8fe8; }
.ps-adey { background: linear-gradient(160deg, #2f8fe8, #5cb85c 60%, #ffd21c) !important; }
@media (max-width: 360px) { .ad-reels { --cell: 56px; } .ad-title { font-size: 20px; } }

/* ---------- HIGHLAND RUN: green hills, blue sky, a red-earth road ---------- */
body.highland-mode { background: linear-gradient(180deg, #2f8fe8 0%, #cfeaff 30%, #6aa84f 31%, #3c7a2e 70%, #a24f2a 100%); background-attachment: fixed; }
body.highland-mode .topbar { background: rgba(20,60,110,.88); border-bottom-color: rgba(255,255,255,.45); }
body.highland-mode .tabbar { background: rgba(60,30,16,.95); border-top-color: rgba(255,255,255,.3); }
body.highland-mode .game-bar button { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.2); color: #fff; }
#tab-highland { color: #fff; }
.hr-stage { position: relative; margin-top: 10px; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 0 0 6px #fb8c00, 0 16px 34px rgba(0,0,0,.35); }
#hrCanvas { display: block; width: 100%; height: clamp(270px, calc(100dvh - 590px), 390px); }
.hr-call { margin-top: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(60,30,16,.85); border: 1px solid rgba(255,255,255,.3); min-height: 20px; color: #fff; font-weight: 800; font-size: 13px; text-align: center; line-height: 1.35; }
.hr-call b { color: #ffd23f; }
.hr-panel { background: linear-gradient(180deg, rgba(255,255,255,.96), #f3f7ec); border-color: #c5e1a5; color: #1f3a14; }
.hr-panel .xg-stake button { border-color: #c5e1a5; background: #fff; color: #1f3a14; }
.hr-kind { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hr-kind button { min-height: 44px; border-radius: 12px; border: 2px solid #c5e1a5; background: #fff; color: #2e6b2e; font-weight: 900; font-size: 13.5px; cursor: pointer; line-height: 1.1; }
.hr-kind small { display: block; font-size: 10.5px; font-weight: 700; opacity: .7; }
.hr-kind button.on { background: linear-gradient(180deg, #fb8c00, #e65100); color: #fff; border-color: transparent; }
.hr-runners { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.hr-runners button { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 6px; padding: 6px 8px 6px 5px; border-radius: 12px; border: 2px solid #e0e0e0; background: #fff; color: #1f3a14; cursor: pointer; text-align: left; font-size: 13.5px; }
.hr-runners button b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hr-runners button.on { border-color: #fb8c00; background: #fff3e0; box-shadow: 0 0 0 2px rgba(251,140,0,.3); }
.hr-vest { width: 28px; height: 30px; border-radius: 6px 6px 10px 10px; display: grid; place-items: center; font-weight: 900; color: var(--b); background: var(--a); clip-path: polygon(22% 0, 78% 0, 100% 18%, 100% 100%, 0 100%, 0 18%); font-size: 14px; }
.hr-odds { font: 900 14.5px 'Space Grotesk', system-ui, sans-serif; color: #c62828; } .hr-odds i { font-style: normal; font-size: 9px; background: #ffd23f; color: #5a3a00; border-radius: 5px; padding: 2px 4px; margin-right: 4px; vertical-align: 2px; }
.hr-go { background: linear-gradient(180deg, #ffb74d, #fb8c00 50%, #e65100); color: #fff; box-shadow: 0 6px 18px rgba(230,81,0,.4); line-height: 1.1; display: grid; place-content: center; }
.hr-go small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; opacity: .92; color: inherit; }
.g-highland { background: linear-gradient(135deg, #3d9bf0, #4c8f3a 55%, #c0643a); border-color: rgba(255,255,255,.65); color: #fff; }
.g-highland .g-status { color: #fff3c9; } .g-highland .g-play { background: linear-gradient(180deg, #ffb74d, #e65100); color: #fff; }
.g-highland .g-art { background: #3d9bf0; }
.ps-highland { background: linear-gradient(160deg, #3d9bf0, #6aa84f 55%, #c0643a) !important; }

/* ---------- BUNA SCRATCH: espresso, cream, a woven mesob border ---------- */
body.coffee-mode { background: radial-gradient(500px 320px at 50% -10%, rgba(200,145,58,.3), transparent 65%), linear-gradient(180deg, #2a1208 0%, #3a1a0c 60%, #1a0904 100%); background-attachment: fixed; }
body.coffee-mode .topbar { background: rgba(30,12,6,.92); border-bottom-color: rgba(200,145,58,.45); }
body.coffee-mode .tabbar { background: rgba(30,12,6,.96); border-top-color: rgba(200,145,58,.45); }
body.coffee-mode .game-bar button { border-color: rgba(200,145,58,.5); background: rgba(200,145,58,.12); }
#tab-coffee { color: #fff4e6; }
.bs-ticket { margin-top: 10px; padding: 14px; border-radius: 22px; color: #3a1a0c; position: relative;
  background: linear-gradient(180deg, #f8ecd4, #ead6b0); box-shadow: 0 0 0 6px #8a5a2b, 0 0 0 10px #c8913a, 0 18px 36px rgba(0,0,0,.55); padding-top: 22px; padding-bottom: 22px; }
/* the woven mesob bands at the top and bottom of the ticket */
.bs-ticket::before, .bs-ticket::after { content: ''; position: absolute; left: 10px; right: 10px; height: 9px; border-radius: 5px;
  background: repeating-linear-gradient(45deg, #c8913a 0 5px, #8a5a2b 5px 10px, #e2453c 10px 13px, #8a5a2b 13px 18px, #2f6fb5 18px 21px, #8a5a2b 21px 26px); }
.bs-ticket::before { top: 7px; } .bs-ticket::after { bottom: 7px; }
.bs-head { display: flex; align-items: center; justify-content: center; gap: 10px; font: 900 24px/1 'Space Grotesk', system-ui, sans-serif; letter-spacing: .06em; color: #5a2e14; text-shadow: 0 2px 0 #fff4dc; }
.bs-head i { font-style: normal; color: #c8650a; }
.bs-head small { font-size: 16px; padding: 3px 8px; border-radius: 8px; background: #5a2e14; color: #ffd28a; text-shadow: none; }
.bs-steam { width: 18px; height: 22px; background: radial-gradient(circle at 50% 80%, #fff 0 3px, transparent 4px), linear-gradient(90deg, transparent 40%, rgba(120,90,60,.35) 41% 59%, transparent 60%); border-radius: 50%; animation: bsSteam 2.4s ease-in-out infinite; }
@keyframes bsSteam { 50% { transform: translateY(-3px) scaleX(1.2); opacity: .6; } }
.bs-sub { text-align: center; font-size: 12.5px; font-weight: 800; color: #8a5a2b; margin: 5px 0 10px; letter-spacing: .04em; text-transform: uppercase; }
.bs-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px; border-radius: 18px; background: radial-gradient(circle at 50% 30%, #6b3a1c, #3a1a0c); box-shadow: inset 0 3px 12px rgba(0,0,0,.5); touch-action: none; }
.bs-box { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fffdf6 0 58%, #e8d6b8 60%, #c8a070 72%, #8a5a2b 74%); display: grid; place-items: center;
  box-shadow: 0 4px 0 #2a1208, 0 6px 10px rgba(0,0,0,.4); transition: transform .25s, box-shadow .25s, opacity .25s; }
.bs-foil { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 18px; cursor: grab; touch-action: none; }
.bs-token { --tc: #eee; display: grid; place-items: center; text-align: center; width: 70%; aspect-ratio: 1; }
.bs-token svg { width: 78%; height: 78%; filter: drop-shadow(0 2px 1px rgba(0,0,0,.2)); }
.bs-token b { font: 900 clamp(11px, 3.6vw, 14px)/1 'Space Grotesk', system-ui, sans-serif; color: #5a2e14; margin-top: -2px; padding: 2px 6px; border-radius: 8px; background: var(--tc); }
.bs-box.match { box-shadow: 0 0 0 3px #ffd28a, 0 0 22px rgba(255,180,60,.95), 0 4px 0 #2a1208; transform: scale(1.06); animation: bsGlow .8s ease-in-out infinite alternate; }
@keyframes bsGlow { to { box-shadow: 0 0 0 4px #fff2c8, 0 0 30px rgba(255,200,80,1), 0 4px 0 #2a1208; } }
.bs-box.dim { opacity: .45; }
.bs-win { text-align: center; margin-top: 10px; font-weight: 800; font-size: 15px; color: #5a2e14; min-height: 20px; }
.bs-win.won { color: #b0121b; font-size: 17px; } .bs-win b { font-size: 19px; }
.bs-panel { background: rgba(42,18,8,.9); border-color: rgba(200,145,58,.4); }
.bs-btns { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.bs-btns:has(.bs-reveal.hidden) { grid-template-columns: 1fr; }
.bs-go { background: linear-gradient(180deg, #ffd28a, #c8913a 50%, #8a5a2b); color: #2a1208; box-shadow: 0 6px 22px rgba(200,145,58,.4); }
.bs-go.stop { background: linear-gradient(180deg, #ff7aa8, #e0287a); color: #fff; }
.bs-reveal { padding: 0 16px; font-size: 14px; letter-spacing: .06em; background: linear-gradient(180deg, #f8ecd4, #d9b98a); color: #3a1a0c; }
.bs-mini { display: inline-flex; gap: 2px; margin-left: 4px; vertical-align: middle; }
.bs-mini i { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: #fff8ec; } .bs-mini svg { width: 100%; height: 100%; }
.g-coffee { background: linear-gradient(135deg, #8a5a2b, #2a1208 70%); border-color: #c8913a; color: #fff; }
.g-coffee .g-status { color: #ffd28a; } .g-coffee .g-play { background: linear-gradient(180deg, #ffd28a, #c8913a); color: #2a1208; }
.g-coffee .g-art { background: #2a1208; }
.ps-coffee { background: radial-gradient(120% 120% at 30% 0%, #c8913a, #5a2e14 50%, #2a1208) !important; }

:is(.g-ertaale, .g-climb, .g-adey, .g-highland, .g-coffee) .g-info b { color: #fff; }
:is(.g-ertaale, .g-climb, .g-adey, .g-highland, .g-coffee) .g-art svg { width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) { .sm-bird, .sm-climber, .sm-ledge.cur .sm-hold, .sm-hold.picking, .ad-cell.glow svg, .bs-box.match, .bs-steam { animation: none; } }
html.lite .sm-bird, html.lite .sm-ledge.cur .sm-hold, html.lite .bs-steam { animation: none; }
