/*! (c) 2026 Spooky Digital Ltd - spookydigital.io - licensed to Dart Gear Ltd for dartgearcompetitions.co.uk. Not for reuse in other products. */
body:not(.all) .ls-off { display: none !important; }
.ls-h { font: 700 13px/1.2 var(--fd); letter-spacing: .08em; text-transform: uppercase; color: var(--mut); margin: 26px 2px 10px; }
.pane[data-pane="live"] { columns: auto !important; }
.pane[data-pane="stream"] > .ls-wide { column-span: all; }

body.ls-game:not(.all) #lsDeck, body.ls-game:not(.all) .pane[data-pane="livex"], body.ls-game:not(.all) .pane[data-pane="stream"], body.ls-game:not(.all) #ohBlk { display: none !important; }

#lsNow { border: 2px solid var(--line-2); position: sticky; top: 68px; z-index: 20; display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; align-items: center; }
#lsNow.ls-idle { position: static; }
#lsNow.on { border-color: rgba(47,191,113,.65); box-shadow: 0 0 0 4px rgba(47,191,113,.12), 0 14px 30px rgba(0,0,0,.45); }
#lsNow.on.hid { border-color: rgba(242,181,68,.7); box-shadow: 0 0 0 4px rgba(242,181,68,.12), 0 14px 30px rgba(0,0,0,.45); }
#lsNow .ls-top { display: flex; align-items: center; gap: 14px; grid-column: 1; }
#lsNow .ls-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--line-2); flex: 0 0 auto; }
#lsNow.on .ls-dot { background: var(--green-ok); box-shadow: 0 0 0 5px rgba(47,191,113,.2); animation: lsPulse 1.6s ease-in-out infinite; }
#lsNow.on.hid .ls-dot { background: var(--amber); box-shadow: 0 0 0 5px rgba(242,181,68,.2); animation: none; }
@keyframes lsPulse { 50% { box-shadow: 0 0 0 9px rgba(47,191,113,.05); } }
#lsWhat { font: 700 26px/1.15 var(--fd); color: var(--ink); }
#lsHow { color: var(--text-2); margin: 0 0 0 28px; font-size: 15px; grid-column: 1; }
#lsBtns { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
#lsBtns button { min-height: 56px; min-width: 150px; font-size: 17px; font-weight: 700; }
#lsEnd { background: var(--red-bad) !important; border-color: var(--red-bad) !important; color: #fff !important; }

#lsGrid, #lsKeys { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; }
.ls-g, .ls-k { all: unset; box-sizing: border-box; cursor: pointer; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 8px; padding: 14px; border-radius: 18px; color: var(--ink); position: relative; border: 2px solid var(--line-2); background: linear-gradient(160deg, #1c2130, #11141c); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 6px 14px rgba(0,0,0,.35); transition: transform .12s, border-color .15s; }
.ls-g:active, .ls-k:active { transform: scale(.96); }
.ls-g:focus-visible, .ls-k:focus-visible { outline: 3px solid var(--accent-line); outline-offset: 2px; }
.ls-g em { font: 700 10.5px/1 var(--ft); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); position: absolute; top: 14px; left: 0; right: 0; }
.ls-g b { font: 800 19px/1.15 var(--fd); }
.ls-g span { color: var(--text-2); font-size: 12.5px; line-height: 1.3; }
.ls-g .ls-st { font: 800 11.5px/1 var(--ft); font-style: normal; letter-spacing: .06em; color: var(--green-ok); position: absolute; bottom: 13px; left: 0; right: 0; }
.ls-g.live { border-color: var(--green-ok); box-shadow: 0 0 0 4px rgba(47,191,113,.18); }
.ls-g.wait { opacity: .4; }
.ls-k { aspect-ratio: auto; min-height: 96px; }
.ls-k b { font: 800 17px/1.15 var(--fd); }
.ls-k span { font-size: 12.5px; color: var(--text-2); }
.ls-k.gold { background: linear-gradient(160deg, #6b5410, #33280a); border-color: rgba(242,199,68,.55); }
.ls-k.green { background: linear-gradient(160deg, #17633b, #0c2e1c); border-color: rgba(47,191,113,.6); }
.ls-k.red { background: linear-gradient(160deg, #7c2323, #381212); border-color: rgba(240,90,90,.6); }
.ls-k.green span { color: #c9f3dc; }
@media (hover: hover) and (pointer: fine) { .ls-g:hover, .ls-k:hover { border-color: var(--accent-line); } .ls-g.wait:hover { border-color: var(--line-2); } }
#lsWarn { margin: 12px 2px 0; color: var(--amber); font-weight: 700; }

#lsTiles { margin: 16px 0; }
#lsTiles .tile { margin: 0; }
#lsTiles .tile .tile__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.pane[data-pane="livex"] { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: start; }
body:not(.all) .pane[data-pane="livex"].hidden { display: none !important; }
.pane[data-pane="livex"] > .ls-h { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .pane[data-pane="livex"] { grid-template-columns: 1fr; }
  #lsNow { grid-template-columns: 1fr; top: 62px; }
  #lsBtns { grid-column: 1; grid-row: auto; justify-content: stretch; margin-top: 10px; }
  #lsBtns button { flex: 1 1 140px; min-width: 0; }
}
@media (max-width: 520px) {
  #lsGrid, #lsKeys { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ls-g b { font-size: 17px; }
  #lsWhat { font-size: 21px; }
}
