/* StadiPlus Games: the worlds hub, world pages, stage maps and the game screen.
   Chunky, bright and tactile, like a real game; art by StadiPlus, sounds by Kenney (CC0). */
:root {
  --gx-display: "Baloo 2", "Outfit", system-ui, sans-serif;
  --gx-ink: #17241D; --gx-white: #FFFFFF; --gx-gold: #FFC23D; --gx-gold-deep: #E39A0B; --gx-green: #1F9D57; --gx-green-deep: #137042;
  --gx-shadow: 0 10px 30px rgba(23, 36, 29, .16); --gx-radius: 22px;
}
.gx { padding-bottom: 48px; }
.gx-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.gx h1, .gx h2, .gx-h2 { font-family: var(--gx-display); letter-spacing: -.01em; }
.gx-h2 { font-size: 28px; font-weight: 800; margin: 0; }
.gx-section { display: flex; flex-direction: column; gap: 14px; margin-top: 34px; }
.gx-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; }
.gx-sechead .gx-h2 { white-space: nowrap; }
.gx-peek { height: 90px; width: auto; margin-bottom: -18px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.15)); }
.gx-eyebrow { font: 800 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gx-gold-deep); margin: 0; }
.tiny { font-size: 12.5px; }

/* ---------- buttons */
.gx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 800 18px/1 var(--gx-display); border-radius: 999px; padding: 14px 22px;
  text-decoration: none; border: 0; cursor: pointer; transition: transform .08s; }
.gx-btn-gold { background: linear-gradient(180deg, #FFD566, var(--gx-gold)); color: #3B2600; box-shadow: 0 5px 0 var(--gx-gold-deep), 0 10px 20px rgba(227,154,11,.3); }
.gx-btn-gold:hover { filter: brightness(1.04); }
.gx-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--gx-gold-deep); }
.gx-btn-lg { font-size: 20px; padding: 16px 26px; }

/* ---------- hero */
.gx-hero { position: relative; min-height: 460px; background: #8CCBF0 var(--img) center left / cover no-repeat; display: flex; align-items: center; justify-content: flex-end;
  padding: 28px max(16px, env(safe-area-inset-right, 0px)) 28px max(16px, env(safe-area-inset-left, 0px)); }
.gx-hero-card { width: min(470px, 100%); background: rgba(255,255,255,.93); backdrop-filter: blur(6px); border-radius: 28px; padding: 26px; box-shadow: var(--gx-shadow);
  display: flex; flex-direction: column; gap: 14px; margin-right: max(0px, calc((100vw - 1180px) / 2)); }
.gx-hero-card h1 { font-size: clamp(36px, 5vw, 50px); font-weight: 800; line-height: 1; margin: 0; }
.gx-lead { color: var(--muted); margin: 0; max-width: 46ch; }
.gx-level { display: flex; align-items: center; gap: 14px; }
.gx-lvbadge { flex: none; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE08A, var(--gx-gold) 55%, var(--gx-gold-deep));
  color: #3B2600; font: 800 30px/1 var(--gx-display); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 4px 0 #B87800, inset 0 -4px 0 rgba(0,0,0,.08); }
.gx-lvbadge small { font: 800 10px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1px; }
.gx-lvbadge.sm { width: 54px; height: 54px; font-size: 22px; box-shadow: 0 3px 0 #B87800; }
.gx-lvbadge.sm small { font-size: 8.5px; }
.gx-level-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.gx-level-body .gx-xpbar { flex: none; width: 100%; }
.gx-xpbar { height: 16px; border-radius: 999px; background: #E6EFE9; overflow: hidden; box-shadow: inset 0 2px 3px rgba(0,0,0,.08); flex: 1; min-width: 80px; }
.gx-xpbar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #36C27A, var(--gx-green)); box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); }
.gx-xptext { font-size: 13px; font-weight: 700; color: var(--muted); }
.gx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gx-chip { background: #FFF6DF; border: 2px solid #F6DFA8; border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 14px; }
@media (max-width: 720px) {
  .gx-hero { min-height: 0; display: block; padding: 0; background-position: 18% center; padding-top: 58vw; }
  .gx-hero-card { margin: -40px 12px 0; width: auto; border-radius: 24px; padding: 20px; }
}

/* ---------- continue playing */
.gx-continue { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gx-cont { position: relative; display: block; border-radius: 18px; overflow: hidden; text-decoration: none; color: #fff; box-shadow: var(--gx-shadow); aspect-ratio: 16 / 8.2; background: #234; max-width: 100%; }
.gx-cont img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.gx-cont:hover img { transform: scale(1.04); }
.gx-cont-body { position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.72)); display: flex; flex-direction: column; gap: 2px; }
.gx-cont-body strong { font: 800 18px/1.15 var(--gx-display); }
.gx-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 66px; height: 66px; border-radius: 50%; background: var(--gx-green);
  border: 4px solid #fff; color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; padding-left: 4px; box-shadow: 0 6px 16px rgba(0,0,0,.25); transition: transform .15s; }
.gx-play.sm { width: 46px; height: 46px; font-size: 18px; top: 38%; border-width: 3px; }
.gx-world:hover .gx-play, .gx-cont:hover .gx-play { transform: translate(-50%, -50%) scale(1.1); }

/* ---------- world cards (like an adventure map) */
.gx-worlds { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
@media (max-width: 640px) {
  .gx-worlds { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gx-world-body { padding: 10px 12px 12px; gap: 4px; }
  .gx-world-name { font-size: 18px; }
  .gx-world-blurb { display: none; }
  .gx-world-meta { font-size: 11.5px; }
  .gx-play { width: 48px; height: 48px; font-size: 19px; border-width: 3px; }
  .gx-cont { aspect-ratio: 16 / 6.5; }
  .gx-play.sm { left: auto; right: 6px; top: 50%; }
}
.gx-world { display: flex; flex-direction: column; background: #fff; border-radius: var(--gx-radius); border: 3px solid #fff; box-shadow: var(--gx-shadow); overflow: hidden; text-decoration: none; color: var(--gx-ink);
  transition: transform .15s, box-shadow .15s; min-width: 0; }
.gx-world:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(23,36,29,.22); }
.gx-world-img { position: relative; aspect-ratio: 16 / 9; display: block; overflow: hidden; border-radius: 18px 18px 0 0; }
.gx-world-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gx-world-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.gx-world-name { font: 800 23px/1.1 var(--gx-display); }
.gx-world-blurb { color: var(--muted); font-size: 14.5px; }
.gx-world-meta { font-size: 13px; font-weight: 700; color: var(--muted); }
.gx-prog { display: block; height: 12px; border-radius: 999px; background: #EDF1EE; overflow: hidden; margin-top: 4px; }
.gx-prog i { display: block; height: 100%; border-radius: 999px; background: var(--c, var(--gx-green)); box-shadow: inset 0 -3px 0 rgba(0,0,0,.14); }

/* ---------- friends row */
.gx-friends { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.gx-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 2px solid var(--line); text-decoration: none; color: var(--gx-ink); box-shadow: 0 4px 0 var(--line); }
.gx-tile .ic { font-size: 30px; }
.gx-tile strong { font: 800 19px var(--gx-display); }
.gx-tile:hover { border-color: var(--gx-gold); }

/* ---------- world page */
.gx-banner { position: relative; background: #567 var(--img) center / cover no-repeat; min-height: 300px; display: flex; align-items: flex-end; }
.gx-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.55)); }
.gx-banner-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 16px; padding-block: 18px; min-height: 300px; }
.gx-back { position: absolute; top: 14px; left: max(16px, env(safe-area-inset-left, 0px)); background: rgba(255,255,255,.92); border-radius: 999px; padding: 8px 14px; font-weight: 800; text-decoration: none; color: var(--gx-ink); box-shadow: 0 3px 10px rgba(0,0,0,.15); }
.gx-banner-title { flex: 1; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.gx-banner-title h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 800; line-height: 1; margin: 0; }
.gx-banner-title p { font-size: 18px; font-weight: 600; margin: 4px 0 0; }
.gx-banner-lion { height: 190px; width: auto; margin-bottom: -46px; filter: drop-shadow(0 8px 10px rgba(0,0,0,.3)); }
@media (max-width: 640px) { .gx-banner, .gx-banner-inner { min-height: 230px; } .gx-banner-lion { height: 130px; margin-bottom: -30px; } }
.gx-levelstrip { display: flex; align-items: center; gap: 12px; margin: 24px 0 18px; max-width: 520px; }
.gx-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.gx-game { display: flex; flex-direction: column; background: #fff; border-radius: 20px; box-shadow: var(--gx-shadow); overflow: hidden; text-decoration: none; color: var(--gx-ink); transition: transform .15s; min-width: 0; }
.gx-game:hover { transform: translateY(-4px); }
.gx-game-img { position: relative; aspect-ratio: 16 / 8; display: block; }
.gx-game-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gx-game-ic { position: absolute; left: 12px; bottom: -22px; width: 54px; height: 54px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.gx-new { position: absolute; top: 10px; right: 10px; background: #E8573A; color: #fff; font: 800 12px/1 var(--body); text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; }
.gx-game-body { display: flex; flex-direction: column; gap: 4px; padding: 30px 16px 16px; }
.gx-game-body strong { font: 800 20px/1.1 var(--gx-display); }
.gx-game-meta { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; color: var(--muted); }

/* ---------- stage map */
.gx-stagepage { position: relative; isolation: isolate; min-height: 100dvh; padding-bottom: 110px; }
.gx-stagepage::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--img) center / cover no-repeat; filter: blur(3px) saturate(1.1); transform: scale(1.04); }
.gx-stagepage::after { content: ""; position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,250,240,.55), rgba(255,250,240,.82)); }
.gx-stagehead { display: flex; align-items: center; gap: 14px; padding-block: 18px; position: relative; }
.gx-stagehead .gx-back { position: static; }
.gx-stagetitle { flex: 1; min-width: 0; }
.gx-stagetitle h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin: 0; line-height: 1.05; }
.gx-stagetitle p { margin: 2px 0 0; font-weight: 700; color: var(--muted); }
.gx-path { list-style: none; margin: 0 auto; padding: 0; max-width: 620px; display: flex; flex-direction: column; gap: 10px; }
.gx-tier { position: relative; background: rgba(255,255,255,.75); border-radius: 26px; padding: 30px 16px 16px; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.gx-tierlabel { position: absolute; top: -12px; left: 18px; background: var(--c, var(--gx-green)); color: #fff; font: 800 14px/1 var(--gx-display); padding: 7px 14px 6px; border-radius: 999px; box-shadow: 0 3px 0 rgba(0,0,0,.18); }
.gx-nodes { display: flex; justify-content: space-around; align-items: center; gap: 8px; position: relative; }
.gx-nodes::before { content: ""; position: absolute; left: 12%; right: 12%; top: 40px; border-top: 6px dotted rgba(0,0,0,.14); z-index: 0; }
.gx-tier.rev .gx-nodes { flex-direction: row-reverse; }
.gx-node { position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none;
  background: var(--c, #1F9D57); box-shadow: 0 6px 0 rgba(0,0,0,.28), 0 10px 18px rgba(0,0,0,.18);
  background: radial-gradient(circle at 35% 22%, rgba(255,255,255,.45), transparent 42%), linear-gradient(180deg, color-mix(in srgb, var(--c, #1F9D57) 75%, #fff), var(--c, #1F9D57));
  color: #fff; box-shadow: 0 6px 0 color-mix(in srgb, var(--c, #1F9D57) 70%, #000), 0 10px 18px rgba(0,0,0,.18); transition: transform .1s; }
.gx-node:hover { transform: translateY(-3px); }
.gx-node:active { transform: translateY(3px); box-shadow: 0 2px 0 color-mix(in srgb, var(--c, #1F9D57) 70%, #000); }
.gx-node .num { font: 800 32px/1 var(--gx-display); text-shadow: 0 2px 0 rgba(0,0,0,.2); }
.gx-node .stars { position: absolute; bottom: -18px; display: flex; gap: 1px; font-size: 19px; }
.gx-node .stars b { color: #D9D4C7; text-shadow: 0 1px 0 #fff; }
.gx-node .stars b.on { color: var(--gx-gold); text-shadow: 0 1px 0 #B87800; }
.gx-node.gold { background: radial-gradient(circle at 35% 22%, rgba(255,255,255,.6), transparent 42%), linear-gradient(180deg, #FFDE7A, #F2AE16); color: #5B3A00; box-shadow: 0 6px 0 #B87800, 0 10px 18px rgba(0,0,0,.18); }
.gx-node.gold .num { text-shadow: 0 2px 0 rgba(255,255,255,.5); }
.gx-node.cur { animation: gx-pulse 1.6s ease-in-out infinite; }
.gx-node-lion { position: absolute; top: -56px; right: -40px; width: 70px; height: auto; pointer-events: none; filter: drop-shadow(0 3px 3px rgba(0,0,0,.2)); }
.gx-node.locked { background: #D9DDD8; color: #6B746E; box-shadow: 0 6px 0 #B9BFB8; }
.gx-node.locked .num { font-size: 24px; text-shadow: none; }
@keyframes gx-pulse { 0%, 100% { box-shadow: 0 6px 0 rgba(0,0,0,.25), 0 0 0 0 rgba(255,194,61,.7); } 50% { box-shadow: 0 6px 0 rgba(0,0,0,.25), 0 0 0 14px rgba(255,194,61,0); } }
.gx-stagecta { position: fixed; left: 0; right: 0; bottom: 0; display: flex; justify-content: center;
  padding: 14px max(16px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: linear-gradient(180deg, transparent, rgba(255,250,240,.95) 40%); z-index: 5; }
@media (max-width: 480px) { .gx-node { width: 70px; height: 70px; } .gx-node .num { font-size: 27px; } .gx-node-lion { width: 56px; top: -44px; right: -26px; } .gx-nodes::before { top: 33px; } }

/* ---------- the game screen */
.sh-game-scene.has-bg { position: relative; isolation: isolate; min-height: calc(100dvh - 69px); }
.sh-game-scene.has-bg::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--scene) center / cover no-repeat; }
.sh-game-scene.has-bg::after { content: ""; position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,250,240,.35)); }
.has-bg .sh-g-top { background: rgba(255,255,255,.92); border-radius: 18px; padding: 8px 10px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.has-bg .sh-g-bar { background: rgba(255,255,255,.7); height: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.has-bg .sh-g-stage, .has-bg .sh-g-end { background: rgba(255,255,255,.94); border: 0; box-shadow: 0 12px 30px rgba(0,0,0,.18); backdrop-filter: blur(4px); }
.sh-game .sh-g-title strong, .sh-g-q, .sh-g-end h2 { font-family: var(--gx-display); }
.sh-g-coach .sh-g-lion { width: 72px; height: 72px; border-radius: 0; object-fit: contain; object-position: bottom; background: none; filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }
.sh-g-coach p { box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.sh-g-lion.hop { animation: gx-hop .45s ease; }
@keyframes gx-hop { 0% { transform: translateY(0) scale(1); } 35% { transform: translateY(-10px) scale(1.06); } 100% { transform: translateY(0) scale(1); } }
.sh-g-choice { font-family: var(--gx-display); font-weight: 700; }
.sh-g-choice.right { animation: gx-pop .3s ease; }
.sh-g-choice.wrong { animation: gx-shake .35s ease; }
@keyframes gx-pop { 50% { transform: scale(1.06); } }
@keyframes gx-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.sh-g-pop { position: absolute; z-index: 30; transform: translateX(-50%); font: 800 22px var(--gx-display); color: var(--gx-green-deep); text-shadow: 0 2px 0 #fff, 0 0 8px #fff; pointer-events: none; animation: gx-float 1.1s ease-out forwards; white-space: nowrap; }
@keyframes gx-float { from { opacity: 1; translate: 0 0; } to { opacity: 0; translate: 0 -46px; } }
.sh-g-stagebadge { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(180deg, #36C27A, var(--gx-green)); color: #fff; font: 800 44px/1 var(--gx-display);
  display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 6px 0 var(--gx-green-deep); }
.sh-g-stagebadge small { font: 800 11px/1 var(--body); text-transform: uppercase; letter-spacing: .1em; }
.sh-g-prepimg { width: 120px; height: auto; animation: gx-hop 1.4s ease-in-out infinite; }
.sh-g-target { margin: 0; text-align: center; font-weight: 800; color: var(--gx-green-deep); }

/* end of a round */
.sh-g-endtag { margin: 0; font: 800 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sh-g-starrow { display: flex; gap: 6px; justify-content: center; font-size: 64px; line-height: 1; }
.sh-g-starrow .st { color: #E3DED2; text-shadow: 0 3px 0 #CFC8B6; transform: scale(.85); transition: transform .3s cubic-bezier(.3,1.8,.5,1), color .2s; }
.sh-g-starrow .st:nth-child(2) { font-size: 80px; margin-top: -10px; }
.sh-g-starrow .st.on { color: var(--gx-gold); text-shadow: 0 4px 0 #B87800, 0 0 18px rgba(255,194,61,.6); transform: scale(1.12); }
.sh-g-xp { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; font: 800 26px var(--gx-display); color: var(--gx-green-deep); }
.sh-g-lvl { flex-basis: 100%; display: flex; align-items: center; gap: 10px; max-width: 360px; margin: 6px auto 0; font-family: var(--body); }
.sh-g-lvl .bar { flex: 1; height: 14px; border-radius: 999px; background: #E6EFE9; overflow: hidden; }
.sh-g-lvl .bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #36C27A, var(--gx-green)); transition: width 1s ease; }
.sh-g-levelup { background: linear-gradient(90deg, #8B5CF6, #DB2777); color: #fff; font: 800 22px var(--gx-display); padding: 10px 18px; border-radius: 999px; box-shadow: 0 6px 18px rgba(139,92,246,.35); animation: gx-pop .5s ease; }
.sh-g-unlock { margin: 0; font-weight: 800; color: var(--gx-green-deep); }
.sh-g-endbtns { gap: 10px; justify-content: center; }
.sh-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; }

/* robot maze */
.sh-robot-board { width: min(100%, 440px); aspect-ratio: 1; align-self: center; display: block; }
.sh-robot-board .floor { fill: #F4E6CF; }
.sh-robot-board .tile { fill: #ECD9B9; }
.sh-robot-board .wall { stroke: #6B4A2B; stroke-width: 1.6; stroke-linecap: round; }
.sh-robot-board .edge { fill: none; stroke: #6B4A2B; stroke-width: 2; }
.sh-robot-board .emo { text-anchor: middle; dominant-baseline: central; }
.sh-robot-board .bot { transition: x .22s ease, y .22s ease; }
.sh-robot-board .bot.crash { animation: gx-shake .35s ease; }
.sh-robot-board .gem.got { opacity: .2; }
.sh-robot-board .trail { fill: none; stroke: #2B7FD1; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 3 3; opacity: .7; }
.sh-robot-prog { display: flex; flex-wrap: wrap; gap: 6px; min-height: 48px; padding: 8px; border-radius: 14px; background: #F2F6FB; border: 2px dashed #C9D8EA; align-items: center; }
.sh-robot-cmd { width: 40px; height: 40px; border-radius: 10px; border: 0; background: #fff; font-size: 22px; box-shadow: 0 3px 0 #C9D8EA; cursor: pointer; }
.sh-robot-pad { display: grid; grid-template-columns: repeat(3, 64px); grid-template-rows: repeat(2, 64px); gap: 8px; justify-content: center; }
.sh-robot-arrow { border: 0; border-radius: 16px; background: linear-gradient(180deg, #5AA2EC, #2B7FD1); font-size: 30px; box-shadow: 0 5px 0 #1D5D9E; cursor: pointer; }
.sh-robot-arrow:active { transform: translateY(3px); box-shadow: 0 2px 0 #1D5D9E; }
.sh-robot-arrow:disabled { opacity: .5; }
.sh-robot-arrow.a-u { grid-column: 2; grid-row: 1; } .sh-robot-arrow.a-l { grid-column: 1; grid-row: 2; } .sh-robot-arrow.a-d { grid-column: 2; grid-row: 2; } .sh-robot-arrow.a-r { grid-column: 3; grid-row: 2; }
.sh-robot-count { font: 800 18px var(--gx-display); }
.sh-robot-count.over { color: var(--danger); }

@media (prefers-reduced-motion: reduce) {
  .gx-node.cur, .sh-g-lion.hop, .sh-g-prepimg, .sh-g-choice.right, .sh-g-choice.wrong { animation: none; }
  .gx-world, .gx-game, .gx-cont img { transition: none; }
}

/* word master */
.sh-spell-clue { margin: 0; font: 700 19px/1.35 var(--gx-display); text-align: center; }
.sh-spell-sentence { margin: 0; text-align: center; color: var(--muted); font-style: italic; }
.sh-spell-slots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 6px 0; }
.sh-spell-slot { width: 42px; height: 52px; border-radius: 12px; border: 0; border-bottom: 4px solid #C9B98F; background: #FFF6DF; font: 800 26px/1 var(--gx-display); color: var(--gx-ink); text-transform: lowercase; cursor: pointer; }
.sh-spell-slot.on { background: #fff; border-bottom-color: var(--gx-gold-deep); animation: gx-pop .2s ease; }
.sh-spell-slot.given { background: #E3F0EA; border-bottom-color: #2E8D60; color: #0B4A37; }
.sh-spell-slots.right .sh-spell-slot { background: #E3F6EC; border-bottom-color: #2E8D60; color: #0B4A37; }
.sh-spell-slots.wrong { animation: gx-shake .35s ease; }
.sh-spell-slots.wrong .sh-spell-slot.on { background: #FDE2E2; border-bottom-color: var(--danger); }
.sh-spell-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sh-spell-tile { width: 54px; height: 58px; border-radius: 14px; border: 0; background: linear-gradient(180deg, #FFD566, var(--gx-gold)); box-shadow: 0 5px 0 var(--gx-gold-deep);
  font: 800 28px/1 var(--gx-display); color: #3B2600; cursor: pointer; text-transform: lowercase; transition: transform .08s, opacity .15s; }
.sh-spell-tile:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--gx-gold-deep); }
.sh-spell-tile.used { opacity: .25; transform: scale(.9); box-shadow: none; }
.sh-g-explain b { font-size: 1.15em; letter-spacing: .04em; }
.sh-g-explain b.miss { color: var(--danger); text-decoration: underline; }
@media (max-width: 420px) { .sh-spell-slot { width: 34px; height: 46px; font-size: 22px; } .sh-spell-tile { width: 46px; height: 52px; font-size: 24px; } }

/* money manager */
.sh-money-item { font-size: 54px; text-align: center; line-height: 1; }
.sh-money-list { display: grid; gap: 8px; }
.sh-money-row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; border: 2px solid var(--line-strong); background: #fff;
  font: 700 17px var(--gx-display); color: var(--gx-ink); text-align: left; cursor: pointer; box-shadow: 0 3px 0 var(--line-strong); }
.sh-money-row .ic { font-size: 26px; }
.sh-money-row .pr { font-variant-numeric: tabular-nums; }
.sh-money-row.on { border-color: #2E8D60; background: #E3F6EC; box-shadow: 0 3px 0 #2E8D60; }
.sh-money-row.on .nm::before { content: "✓ "; color: #2E8D60; }
.sh-money-total { margin: 0; text-align: center; font: 800 18px var(--gx-display); color: var(--gx-green-deep); font-variant-numeric: tabular-nums; }
.sh-money-total.over { color: var(--danger); }

/* daily goal and weekly leaderboard */
.gx-chip.done { background: #E3F6EC; border-color: #A7DDBF; color: #0B4A37; }
.gx-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 640px; }
.gx-board li { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 10px 16px; box-shadow: 0 3px 0 var(--line); font-weight: 700; }
.gx-board li.me { background: #FFF6DF; box-shadow: 0 3px 0 #F6DFA8; }
.gx-board .rk { font: 800 22px var(--gx-display); text-align: center; }
.gx-board .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--gx-display); font-size: 18px; }
.gx-board .lv { font-size: 13px; color: var(--muted); }
.gx-board .xp { font-variant-numeric: tabular-nums; color: var(--gx-green-deep); }

/* ---------------------------------------------------------------- robot: preview of the plan, running each step */
.sh-robot-board .ghost { fill: none; stroke: #8B5CF6; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1.5 3; opacity: .85; }
.sh-robot-board .ghost-end { fill: #8B5CF6; opacity: 0; }
.sh-robot-board .ghost-end.on { opacity: .8; }
.sh-robot-board .ghost-end.hit { fill: var(--danger, #C2410C); }
.sh-robot-cmd.run { background: var(--gold); box-shadow: 0 3px 0 var(--gold-dark); transform: translateY(-2px); }
.sh-robot-cmd.bad { background: #FDE2DA; box-shadow: 0 3px 0 #E8573A; }

/* ---------------------------------------------------------------- draughts */
.dr-modes { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.dr-rules { margin-top: 6px; background: #fff; border-radius: 14px; padding: 10px 14px; border: 1px solid var(--line); }
.dr-rules summary { font-weight: 700; cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.dr-opt { display: flex; gap: 10px; align-items: center; min-height: 40px; }
.dr-opt input { width: 20px; height: 20px; accent-color: var(--green); }
.dr-info { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.dr-side { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 2px solid transparent; }
.dr-side.on { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-tint); }
.dr-dot { width: 16px; height: 16px; border-radius: 50%; display: inline-block; }
.dr-dot.lt { background: #F4E7C5; box-shadow: inset 0 0 0 2px #C9B07A; } .dr-dot.dk { background: #C0392B; box-shadow: inset 0 0 0 2px #7E2016; }
.dr-host { display: flex; justify-content: center; }
.dr-board { display: grid; grid-template-columns: repeat(8, 1fr); width: min(100%, 520px); aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 6px solid #6B4A2B; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.dr-sq { border: 0; padding: 0; margin: 0; position: relative; display: flex; align-items: center; justify-content: center; cursor: default; min-width: 0; }
.dr-sq.light { background: #F1DDB5; }
.dr-sq.dark { background: #8A5A35; }
.dr-sq.last { background: #A97A4E; }
.dr-sq.can { cursor: pointer; }
.dr-sq.can .dr-pc { box-shadow: 0 0 0 3px var(--gold), 0 3px 0 rgba(0,0,0,.35); }
.dr-sq.sel .dr-pc { transform: translateY(-3px) scale(1.06); box-shadow: 0 0 0 4px #fff, 0 6px 10px rgba(0,0,0,.35); }
.dr-sq.target { cursor: pointer; }
.dr-sq.target::after { content: ''; width: 30%; height: 30%; border-radius: 50%; background: rgba(255, 194, 61, .9); box-shadow: 0 0 0 4px rgba(255,194,61,.35); }
.dr-pc { width: 78%; height: 78%; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.dr-pc.lt { background: radial-gradient(circle at 35% 30%, #FFF8E6, #E8D3A0); box-shadow: inset 0 0 0 3px #C9B07A, 0 3px 0 rgba(0,0,0,.35); }
.dr-pc.dk { background: radial-gradient(circle at 35% 30%, #E25B4B, #A82B1F); box-shadow: inset 0 0 0 3px #7E2016, 0 3px 0 rgba(0,0,0,.35); }
.dr-pc.king::after { content: '♛'; font-size: clamp(14px, 4.2vw, 26px); line-height: 1; color: #B7791F; text-shadow: 0 1px 0 #fff; }
.dr-pc.dk.king::after { color: #FFD66B; text-shadow: 0 1px 0 #6E1A10; }
.dr-tools { justify-content: center; }

/* ---------------------------------------------------------------- sudoku */
.su-grid { display: grid; grid-template-columns: repeat(var(--n), 1fr); width: min(100%, 460px); aspect-ratio: 1; align-self: center; border: 3px solid #2B3A4A; border-radius: 10px; overflow: hidden; background: #2B3A4A; gap: 1px; }
.su-cell { border: 0; background: #fff; font: 700 clamp(16px, 4.6vw, 28px) var(--gx-display, inherit); color: #1D5C9A; cursor: pointer; padding: 0; min-width: 0; }
.su-4 .su-cell { font-size: clamp(24px, 8vw, 40px); } .su-6 .su-cell { font-size: clamp(20px, 6vw, 34px); }
.su-cell.given { color: #1E2A24; background: #F4F6F8; cursor: default; }
.su-cell.bR { margin-right: 2px; } .su-cell.bB { margin-bottom: 2px; }
.su-cell.peer { background: #EEF4FB; } .su-cell.given.peer { background: #E6EDF5; }
.su-cell.same { background: #FFF3D6; }
.su-cell.sel { background: #FFE6A3; outline: 3px solid var(--gold); outline-offset: -3px; }
.su-cell.ok { color: #137042; } .su-cell.hinted { color: #7C3AED; }
.su-cell.bad { color: #fff; background: #E8573A; }
.su-pad { display: grid; grid-template-columns: repeat(min(var(--n), 5), 1fr); gap: 8px; width: min(100%, 460px); align-self: center; }
.su-key { min-height: 52px; border: 0; border-radius: 14px; background: linear-gradient(180deg, #5AA2EC, #2B7FD1); color: #fff; font: 800 24px var(--gx-display, inherit); box-shadow: 0 4px 0 #1D5D9E; cursor: pointer; }
.su-key:active { transform: translateY(3px); box-shadow: 0 1px 0 #1D5D9E; }

/* ---------------------------------------------------------------- free play for visitors, two-player end */
.sh-g-guest { margin-top: 14px; background: #FFF3D6; border: 2px solid var(--gold); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.sh-g-guest p { margin: 0; }
.sh-g-trophy { font-size: 64px; line-height: 1; }
.bg-free { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.bg-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.bg-card-top { padding: 22px 22px 6px; display: flex; gap: 14px; align-items: center; }
.bg-card-top .ic { font-size: 40px; line-height: 1; }
.bg-card h2 { margin: 0; font-size: 24px; }
.bg-card p { margin: 0; padding: 0 22px; color: var(--muted); }
.bg-levels { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 22px 22px; }
.bg-hero { position: relative; border-radius: 26px; overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; background: #2E7D32 center / cover no-repeat; }
.bg-hero-in { position: relative; margin: 18px; background: rgba(255,255,255,.94); border-radius: 18px; padding: 18px 20px; max-width: 520px; display: flex; flex-direction: column; gap: 6px; }
.bg-hero-in h1 { margin: 0; font-size: clamp(26px, 5vw, 38px); }
.bg-hero-in p { margin: 0; color: var(--muted); }
.dl-wait { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.dl-code { font: 800 44px/1 var(--gx-display, inherit); letter-spacing: .12em; background: #fff; border-radius: 16px; padding: 12px 20px; border: 2px dashed var(--gold); }
.dl-says { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.dl-bubble { background: #fff; border-radius: 14px; padding: 6px 12px; box-shadow: 0 2px 6px rgba(0,0,0,.08); font-weight: 700; }

/* ---------------------------------------------------------------- chess */
.ch-board { display: grid; grid-template-columns: repeat(8, 1fr); width: min(100%, 520px); aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 6px solid #5B3A22; box-shadow: 0 10px 24px rgba(0,0,0,.18); position: relative; }
.ch-sq { border: 0; padding: 0; position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; cursor: default; }
.ch-sq.light { background: #F0DDB8; } .ch-sq.dark { background: #B07D4F; }
.ch-sq.last.light { background: #F3E28A; } .ch-sq.last.dark { background: #CDB052; }
.ch-sq.can { cursor: pointer; }
.ch-sq.sel { box-shadow: inset 0 0 0 4px var(--gold); }
.ch-sq.check { background: radial-gradient(circle, #FF6B57 0%, #E8573A 45%, transparent 75%); }
.ch-sq.target { cursor: pointer; }
.ch-sq.target::after { content: ''; position: absolute; width: 28%; height: 28%; border-radius: 50%; background: rgba(30, 42, 36, .28); }
.ch-sq.takes::after { width: 86%; height: 86%; background: transparent; box-shadow: inset 0 0 0 4px rgba(30, 42, 36, .35); }
.ch-pc { font-size: clamp(26px, 9.2vw, 52px); line-height: 1; font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", "DejaVu Sans", serif; user-select: none; position: relative; z-index: 1; }
.ch-pc.w { color: #FFFDF6; text-shadow: 0 0 1px #2B2B2B, 0 0 1px #2B2B2B, 1px 1px 0 #2B2B2B, -1px -1px 0 #2B2B2B, 1px -1px 0 #2B2B2B, -1px 1px 0 #2B2B2B, 0 3px 3px rgba(0,0,0,.3); }
.ch-pc.b { color: #1F1A17; text-shadow: 0 1px 0 rgba(255,255,255,.35), 0 3px 3px rgba(0,0,0,.3); }
.ch-lf, .ch-lr { position: absolute; font: 700 10px/1 'DM Sans', sans-serif; color: rgba(60, 35, 15, .7); pointer-events: none; }
.ch-lf { right: 3px; bottom: 2px; } .ch-lr { left: 3px; top: 2px; }
.ch-dot { width: 16px; height: 16px; border-radius: 50%; display: inline-block; }
.ch-dot.w { background: #FFFDF6; box-shadow: inset 0 0 0 2px #2B2B2B; } .ch-dot.b { background: #1F1A17; }
.dr-host { position: relative; }
.ch-promo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.3); display: flex; gap: 8px; align-items: center; z-index: 5; flex-wrap: wrap; justify-content: center; }
.ch-promo strong { width: 100%; text-align: center; }
.ch-promo-b { width: 56px; height: 56px; border-radius: 14px; border: 2px solid var(--line); background: #F7F2E8; font-size: 36px; line-height: 1; cursor: pointer; }
.ch-promo-b.w { color: #FFFDF6; text-shadow: 0 0 1px #222, 1px 1px 0 #222, -1px -1px 0 #222, 1px -1px 0 #222, -1px 1px 0 #222; }

/* ---------------------------------------------------------------- mancala */
.mc-host { display: flex; justify-content: center; }
.mc-board { display: grid; grid-template-columns: minmax(44px, 12%) 1fr minmax(44px, 12%); gap: 8px; width: min(100%, 620px); padding: 12px; box-sizing: border-box; border-radius: 40px; background: linear-gradient(180deg, #C48A4E, #9C6532); box-shadow: inset 0 2px 0 rgba(255,255,255,.25), 0 10px 24px rgba(0,0,0,.25); }
.mc-mid { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; }
.mc-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.mc-pit { position: relative; border: 0; border-radius: 50%; aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, #6E4220, #8C5A2E 70%); box-shadow: inset 0 4px 8px rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; padding: 0; min-width: 0; cursor: default; color: #fff; }
.mc-pit.store { border-radius: 40px; aspect-ratio: auto; flex-direction: column; }
.mc-pit.can { cursor: pointer; box-shadow: inset 0 4px 8px rgba(0,0,0,.45), 0 0 0 3px var(--gold); }
.mc-pit.can:hover { transform: translateY(-1px); }
.mc-pit.hot { box-shadow: inset 0 4px 8px rgba(0,0,0,.45), 0 0 0 3px #fff; }
.mc-pit.glow { box-shadow: inset 0 4px 8px rgba(0,0,0,.45), 0 0 0 4px #E8573A; }
.mc-seeds { position: absolute; inset: 18%; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 2px; pointer-events: none; }
.mc-pit.store .mc-seeds { inset: 22% 18%; }
.mc-seeds i { width: clamp(6px, 2vw, 10px); height: clamp(6px, 2vw, 10px); border-radius: 50%; background: hsl(var(--h), 55%, 62%); box-shadow: inset -1px -1px 0 rgba(0,0,0,.25); }
.mc-n { position: absolute; bottom: -2px; right: -2px; background: #fff; color: #3B2600; font: 800 13px/1 var(--gx-display, inherit); border-radius: 999px; padding: 3px 6px; box-shadow: 0 2px 4px rgba(0,0,0,.25); }
.mc-pit.store .mc-n { position: static; margin-top: auto; margin-bottom: 8px; font-size: 16px; }
.mc-pit.store small { position: absolute; top: 8px; left: 0; right: 0; text-align: center; font: 700 11px 'DM Sans', sans-serif; color: #FFE6A3; }
.mc-pit:disabled { opacity: 1; }

/* ---------------------------------------------------------------- crossword */
.cw-clue { background: #fff; border-radius: 14px; padding: 10px 14px; min-height: 48px; box-sizing: border-box; border: 2px solid var(--gold); font-size: 16px; line-height: 1.35; }
.cw-clue b { color: #8A4300; }
.cw-grid { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 2px; width: min(100%, 480px); align-self: center; background: transparent; }
.cw-cell { aspect-ratio: 1; position: relative; border: 0; padding: 0; margin: 0; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px #9AA7B2; display: flex; align-items: center; justify-content: center; min-width: 0; cursor: pointer; font: 800 clamp(13px, 4.2vw, 24px) var(--gx-display, inherit); color: #1E2A24; }
.cw-cell.block { background: transparent; box-shadow: none; cursor: default; }
.cw-cell small { position: absolute; top: 1px; left: 3px; font: 700 clamp(7px, 2vw, 10px)/1 'DM Sans', sans-serif; color: #5E5A4E; }
.cw-cell.in { background: #EAF3FC; }
.cw-cell.sel { background: #FFE6A3; box-shadow: inset 0 0 0 3px var(--gold); }
.cw-cell.ok { color: #137042; }
.cw-cell.hinted b { color: #7C3AED; }
.cw-cell.bad { background: #E8573A; color: #fff; }
.cw-keys { display: flex; flex-direction: column; gap: 6px; align-items: center; width: 100%; }
.cw-krow { display: flex; gap: 4px; justify-content: center; width: 100%; }
.cw-key { flex: 1 1 0; max-width: 46px; min-height: 46px; border: 0; border-radius: 10px; background: #fff; box-shadow: 0 3px 0 #C9D2DA; font: 800 18px var(--gx-display, inherit); color: #1E2A24; cursor: pointer; padding: 0; }
.cw-key.wide { max-width: 70px; flex-grow: 1.5; background: #F3E2DC; }
.cw-key:active { transform: translateY(2px); box-shadow: 0 1px 0 #C9D2DA; }
.cw-list { background: #fff; border-radius: 14px; padding: 8px 14px; border: 1px solid var(--line); }
.cw-list summary { font-weight: 700; cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.cw-clues { margin: 6px 0 4px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; max-height: 260px; overflow: auto; }
.cw-clues li { padding: 6px 8px; border-radius: 8px; cursor: pointer; font-size: 15px; }
.cw-clues li:hover { background: #F4F6F8; }
.cw-clues li.done { color: #137042; text-decoration: line-through; opacity: .75; }

/* ---------------------------------------------------------------- Biashara Board */
.bb-stage { gap: 10px; }
.bb-board { display: grid; grid-template-columns: 1.25fr repeat(6, 1fr) 1.25fr; grid-template-rows: 1.25fr repeat(6, 1fr) 1.25fr; gap: 2px; width: min(100%, 640px); aspect-ratio: 1; align-self: center; background: #2F6B3A; border: 4px solid #1F4A27; border-radius: 14px; padding: 2px; box-sizing: border-box; }
.bb-sq { position: relative; border: 0; padding: 2px; margin: 0; min-width: 0; min-height: 0; overflow: hidden; background: #FFFDF6; border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; cursor: pointer; box-shadow: inset 0 0 0 2px var(--own, transparent); }
.bb-sq.owned { box-shadow: inset 0 0 0 3px var(--own); }
.bb-sq.corner { background: #FFF3D6; }
.bb-sq.bb-quiz { background: #EAF3FC; } .bb-sq.bb-chance { background: #EAF7EE; }
.bb-strip { position: absolute; top: 0; left: 0; right: 0; height: 18%; }
.bb-ic { font-size: clamp(14px, 4.4vw, 26px); line-height: 1; margin-top: 10%; }
.bb-nm { display: none; font: 700 9px/1.1 'DM Sans', sans-serif; text-align: center; color: #33445E; }
.bb-pr { font: 700 clamp(8px, 2.2vw, 11px)/1 'DM Sans', sans-serif; color: #5E5A4E; letter-spacing: -.02em; }
.bb-sq.owned .bb-pr { color: var(--own); font-size: clamp(9px, 2.6vw, 13px); }
.bb-tk { position: absolute; bottom: 1px; left: 1px; right: 1px; display: flex; flex-wrap: wrap; justify-content: center; gap: 1px; }
.bb-tk b { font-size: clamp(11px, 3.4vw, 18px); line-height: 1; border-radius: 50%; padding: 1px; box-shadow: 0 0 0 2px #fff; }
.bb-centre { grid-row: 2 / 8; grid-column: 2 / 8; background: #FFFDF6; border-radius: 10px; margin: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px; text-align: center; overflow: auto; }
.bb-dice { font-size: clamp(34px, 11vw, 64px); line-height: 1; letter-spacing: .05em; color: #1E2A24; }
.bb-msg { font-size: clamp(13px, 3.5vw, 16px); line-height: 1.35; max-width: 100%; }
.bb-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; min-height: 52px; }
.bb-actions .sh-btn { white-space: normal; text-align: center; }
.bb-players { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.bb-pl { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; background: #fff; border-radius: 14px; padding: 8px 12px; border: 2px solid transparent; }
.bb-pl.on { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-tint); }
.bb-pl.out { opacity: .5; }
.bb-pl-tk { grid-row: 1 / 3; font-size: 22px; border-radius: 50%; padding: 4px; }
.bb-pl-nm { font-weight: 700; }
.bb-pl-cash { grid-column: 2; font: 800 16px var(--gx-display, inherit); color: #137042; }
.bb-pl .tiny { grid-column: 2; }
@media (min-width: 600px) { .bb-nm { display: block; } .bb-ic { margin-top: 12%; } }
