/* Дартс: a canvas dartboard straight on the stage, a legend of raised chips under it */
.g-darts .g-stage { padding: 40px 12px 12px; }
.drt-wrap { position: relative; }
.drt-board { position: relative; margin: 0 auto; width: 300px; height: 300px; max-width: 100%; }
.drt-cv { display: block; width: 100%; height: 100%; }
/* the multiplier that pops beside the dart */
.drt-pop { position: absolute; left: 50%; top: 50%; z-index: 7; opacity: 0; transform: translate(-50%, -50%); pointer-events: none; display: grid; justify-items: center; gap: 2px; padding: 8px 14px 9px; border-radius: 16px; background: rgba(10,11,16,.92); box-shadow: inset 0 0 0 2px var(--c, #d4ff3a), 0 0 26px rgba(0,0,0,.6), 0 10px 22px rgba(0,0,0,.5); white-space: nowrap; }
.drt-pop b { font-size: 44px; font-weight: 900; line-height: 1; letter-spacing: -1.2px; color: var(--c, #d4ff3a); }
.drt-pop small { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 800; color: var(--fg); }
.drt-pop small img { width: 15px; height: 15px; }
.drt-pop.top b { font-size: 52px; }
.drt-pop.top { box-shadow: inset 0 0 0 2px #ffc337, 0 0 34px rgba(255,195,55,.45), 0 10px 22px rgba(0,0,0,.5); }
.drt-pop.mid { padding: 6px 12px 7px; }
.drt-pop.mid b { font-size: 30px; letter-spacing: -.6px; }
.drt-pop.l { padding: 6px 12px 7px; box-shadow: inset 0 0 0 2px #ff5d63, 0 10px 22px rgba(0,0,0,.5); }
.drt-pop.l b { font-size: 30px; color: #ff5d63; }
/* legend: raised chips with the ring colour as the edge; the ring just hit takes the colour */
.drt-leg { margin-top: 12px; padding-bottom: 4px; display: grid; grid-template-columns: repeat(var(--k, 5), minmax(0, 1fr)); gap: 5px; }
.drt-li { height: 44px; border-radius: 10px; background: var(--tile); box-shadow: 0 4px 0 var(--c), inset 0 1px 0 rgba(255,255,255,.06); display: grid; place-content: center; justify-items: center; gap: 3px; min-width: 0; color: var(--fg); }
.drt-li b { font-size: 14px; font-weight: 900; line-height: 1; white-space: nowrap; }
.drt-li small { font-size: 11px; font-weight: 700; line-height: 1; color: var(--fg2); white-space: nowrap; }
.drt-li.on { background: var(--c); color: var(--ink); box-shadow: 0 4px 0 var(--e), inset 0 1px 0 rgba(255,255,255,.35); }
.drt-li.on small { color: var(--ink); opacity: .72; }
/* risk: raised segmented chips */
.drt-seg { padding: 3px; gap: 3px; }
.drt-seg button { height: 40px; padding: 0; font-size: 13.5px; min-width: 0; }
.drt-seg button.on { background: var(--tile-hi); box-shadow: 0 3px 0 var(--tile-edge); color: #fff; }
.drt-seg button:disabled { opacity: .55; }
/* the flying dart: a canvas over the whole stage, so the dart comes in from below it */
.g-darts .g-stage { position: relative; }
.drt-fly { position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; }
