/* Coach App tokens now MAP onto the shared design system (Gate 5E).
   Professional coach workflow. Field-mode optimised.
   Shared tokens (--cl-bg, --cl-card, --cl-text, etc.) come from
   ../shared/design-system.css — loaded first. Only app-specific
   aliases and additions are declared here. */
:root {
  /* aliases onto shared — so existing rules that use --cl-primary etc. still work */
  --cl-primary:       var(--cl-green);
  --cl-primary-light:  var(--cl-green-light);
  --cl-primary-dark:   var(--cl-green-dark);
  --cl-accent:         var(--cl-gold);
  --cl-accent-light:   hsl(25, 95%, 65%);
  --cl-bg-card:        var(--cl-card);
  --cl-bg-elevated:    var(--cl-elevated);
  --cl-text-subtle:    hsl(0, 0%, 40%);
  --cl-text-dim:       hsl(0, 0%, 30%);
  --cl-border:         var(--cl-line);
  --warn:              var(--cl-danger);
  --font:              var(--cl-font);
  --radius-sm: var(--cl-r-sm); --radius-md: var(--cl-r-md); --radius-lg: var(--cl-r-lg); --radius-full: 9999px;
  --ease: var(--cl-ease);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  background: var(--cl-bg);
  color: var(--cl-text);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
button, input { font-family: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--cl-border); border-radius: 99px; }

/* ============ APP GRID ============ */
.app {
  display: grid;
  grid-template-columns: 280px 1fr 340px;
  height: 100vh;
  height: 100dvh;
}

/* ---- SIDEBAR ---- */
.sidebar {
  background: var(--cl-bg-card);
  border-right: 1px solid var(--cl-border);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 20px; border-bottom: 1px solid var(--cl-border);
}
.brand-logo { height: 28px; width: auto; display: block; }
.brand-name { font-weight: 800; letter-spacing: -0.02em; }
.brand-tag {
  margin-left: auto; font-size: 11px; font-weight: 600;
  color: var(--cl-primary-light); background: hsla(145,72%,42%,0.12);
  padding: 3px 9px; border-radius: var(--radius-full);
}
.side-section { padding: 16px 16px 8px; }
.drill-section { flex: 1; display: flex; flex-direction: column; overflow: hidden; padding-bottom: 0; }
.side-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--cl-text-subtle); margin-bottom: 10px;
}
.icon-btn {
  margin-left: auto; width: 24px; height: 24px; border-radius: 6px;
  background: var(--cl-glass); color: var(--cl-text-muted);
  font-size: 16px; line-height: 1; display: grid; place-items: center;
  transition: all .2s var(--ease);
}
.icon-btn:hover { background: var(--cl-primary); color: #fff; }
.drill-search {
  margin-left: auto; width: 110px; font-size: 12px;
  background: var(--cl-bg-elevated); border: 1px solid var(--cl-border);
  border-radius: 6px; padding: 4px 8px; color: var(--cl-text); text-transform: none;
}
.session-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.session-list li {
  padding: 9px 12px; border-radius: var(--radius-sm); font-size: 14px;
  color: var(--cl-text-muted); transition: all .15s var(--ease);
  display: flex; align-items: center; gap: 8px;
}
.session-list li:hover { background: var(--cl-glass); color: var(--cl-text); }
.session-list li.active { background: var(--cl-bg-elevated); color: var(--cl-text); font-weight: 600; }
.session-list li .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--cl-primary); }
.drill-list { list-style: none; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; }
.drill-list li {
  padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--cl-bg-elevated); border: 1px solid var(--cl-border);
  cursor: grab; transition: all .15s var(--ease);
}
.drill-list li:hover { border-color: var(--cl-primary); transform: translateX(2px); }
.drill-list li.sel { border-color: var(--cl-primary); }
.dl-name { font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.dl-add { width: 22px; height: 22px; border-radius: 6px; background: var(--cl-glass); color: var(--cl-primary-light); font-size: 14px; line-height: 1; display: grid; place-items: center; flex-shrink: 0; transition: all .15s var(--ease); border: 1px solid var(--cl-border); }
.dl-add:hover { background: var(--cl-primary); color: #fff; }
.dl-tag { font-size: 11px; color: var(--cl-text-subtle); margin-top: 2px; }
.dl-int { font-weight: 700; }
.int-low { color: hsl(145,60%,55%); }
.int-medium { color: hsl(45,90%,58%); }
.int-high { color: hsl(12,90%,62%); }
.side-foot { padding: 14px 20px; border-top: 1px solid var(--cl-border); }
.back-link { color: var(--cl-text-subtle); font-size: 12px; text-decoration: none; }
.back-link:hover { color: var(--cl-text); }

/* ---- BUILDER ---- */
.builder { display: flex; flex-direction: column; overflow: hidden; }
.builder-head {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 28px; border-bottom: 1px solid var(--cl-border);
}
.bh-left { flex: 1; }
.session-title-input {
  font-size: 24px; font-weight: 800; letter-spacing: -0.02em;
  background: none; border: none; width: 100%; color: var(--cl-text);
}
.session-title-input:focus { outline: none; }
.session-meta { font-size: 13px; color: var(--cl-text-muted); margin-top: 4px; }
.age-selector { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.age-selector label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--cl-text-subtle); }
.age-selector select { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-sm); background: var(--cl-bg-elevated); border: 1px solid var(--cl-border); color: var(--cl-text); font-family: inherit; cursor: pointer; }
.age-selector select:focus { outline: none; border-color: var(--cl-primary); }
.bh-actions { display: flex; gap: 10px; }
.btn {
  font-size: 14px; font-weight: 600; padding: 10px 18px;
  border-radius: var(--radius-full); transition: all .2s var(--ease); white-space: nowrap;
}
.btn.primary { background: var(--cl-primary); color: #fff; }
.btn.primary:hover { background: var(--cl-primary-light); transform: translateY(-1px); }
.btn.ghost { background: var(--cl-glass); color: var(--cl-text); border: 1px solid var(--cl-border); }
.btn.ghost:hover { background: var(--cl-bg-elevated); }

.builder-body { flex: 1; overflow-y: auto; padding: 24px 28px; }
.empty-state {
  text-align: center; color: var(--cl-text-subtle); padding: 80px 20px;
  border: 2px dashed var(--cl-border); border-radius: var(--radius-lg);
}
.empty-state h3 { color: var(--cl-text-muted); margin-bottom: 6px; }

.block {
  background: var(--cl-bg-card); border: 1px solid var(--cl-border);
  border-radius: var(--radius-md); padding: 18px 20px; margin-bottom: 14px;
  transition: border-color .2s var(--ease);
}
.block:hover { border-color: hsla(0,0%,100%,0.16); }
.block-head { display: flex; align-items: center; gap: 12px; }
.block-num {
  width: 26px; height: 26px; border-radius: 7px; background: var(--cl-bg-elevated);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--cl-primary-light);
}
.block-name { font-size: 16px; font-weight: 700; flex: 1; }
.block-cat { font-size: 11px; color: var(--cl-accent); background: hsla(25,95%,55%,0.12); padding: 3px 9px; border-radius: 99px; }
.block-del { color: var(--cl-text-subtle); font-size: 16px; padding: 2px 6px; border-radius: 6px; }
.block-del:hover { color: var(--warn); background: hsla(0,80%,60%,0.1); }
/* ---- soccer plan strip + grid ---- */
.plan-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.plan-pill {
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-full);
  background: var(--cl-bg-elevated); border: 1px solid var(--cl-border); color: var(--cl-text-muted);
}
.plan-pill.int-low { color: hsl(145,60%,60%); }
.plan-pill.int-medium { color: hsl(45,90%,62%); }
.plan-pill.int-high { color: hsl(12,90%,66%); }
.plan-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; margin-top: 14px; }
.plan-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--cl-text-subtle); margin-bottom: 6px; }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.plan-list li { font-size: 13px; color: var(--cl-text-muted); padding-left: 16px; position: relative; }
.plan-list li::before { content: '•'; position: absolute; left: 2px; color: var(--cl-text-subtle); }
.plan-list.cp li::before { content: '✓'; color: var(--cl-primary-light); }

/* ---- progression / regression ---- */
.plan-pr { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; font-size: 12.5px; }
.pr-up { color: hsl(145,55%,62%); }
.pr-dn { color: hsl(210,30%,62%); }

/* ---- next focus on kid row ---- */
.kid-next { font-size: 11.5px; color: var(--cl-accent-light); margin-top: 5px; font-weight: 600; }
.kn-label { color: var(--cl-text-dim); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 10px; }

/* ---- repeat-after-me line in builder lang pack ---- */
.lp-repeat { margin-top: 6px; font-size: 12px; font-style: italic; color: hsl(45,80%,68%); }

/* ---- language pack on drill card ---- */
.lang-pack { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-md); background: hsla(25,95%,55%,0.06); border: 1px solid hsla(25,95%,55%,0.18); }
.lp-head { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--cl-accent-light); margin-bottom: 8px; }
.lp-row { display: flex; gap: 10px; font-size: 13px; margin-bottom: 4px; align-items: center; }
.lp-k { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--cl-text-subtle); width: 28px; flex-shrink: 0; }
.lp-v { color: var(--cl-text); }
.lp-audio { font-size: 14px; padding: 2px 6px; border-radius: 6px; background: var(--cl-glass); }
.lp-audio:hover, .lp-audio.saying { background: var(--cl-accent); }
.lp-vocab { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lp-token { font-size: 12px; padding: 3px 9px; border-radius: var(--radius-full); background: var(--cl-bg-elevated); border: 1px solid var(--cl-border); color: var(--cl-text-muted); }

.block-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.field label {
  display: block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--cl-text-subtle); margin-bottom: 6px;
}
.field input {
  width: 100%; background: var(--cl-bg-elevated); border: 1px solid var(--cl-border);
  border-radius: var(--radius-sm); padding: 9px 12px; font-size: 14px; color: var(--cl-text);
}
.field input:focus { outline: none; border-color: var(--cl-primary); }
.field.objective input { border-left: 2px solid var(--cl-primary); }
.field.lang input { border-left: 2px solid var(--cl-accent); }

/* ---- RIGHT PANEL ---- */
.rightpanel {
  background: var(--cl-bg-card); border-left: 1px solid var(--cl-border);
  display: flex; flex-direction: column; overflow: hidden;
}
.rp-tabs { display: flex; border-bottom: 1px solid var(--cl-border); }
.rp-tab {
  flex: 1; padding: 16px 8px; font-size: 13px; font-weight: 600;
  color: var(--cl-text-subtle); border-bottom: 2px solid transparent; transition: all .2s var(--ease);
}
.rp-tab.active { color: var(--cl-text); border-bottom-color: var(--cl-primary); }
.rp-pane { flex: 1; overflow-y: auto; padding: 18px 18px 24px; }
.rp-pane.hidden { display: none; }
.rp-hint { font-size: 12px; color: var(--cl-text-subtle); line-height: 1.5; margin-bottom: 14px; }
.rp-subhead, .lk-head, .rp-subhead {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--cl-text-subtle); margin: 18px 0 10px;
}
.cue-pool { display: flex; flex-wrap: wrap; gap: 8px; }
.cue-chip {
  font-size: 13px; padding: 7px 12px; border-radius: var(--radius-full);
  background: var(--cl-bg-elevated); border: 1px solid var(--cl-border);
  cursor: pointer; transition: all .15s var(--ease);
}
.cue-chip:hover { border-color: var(--cl-accent); color: var(--cl-accent-light); }
.cue-sheet { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.cue-sheet li {
  display: flex; align-items: center; gap: 8px; font-size: 13px;
  background: var(--cl-bg-elevated); padding: 8px 12px; border-radius: var(--radius-sm);
  border-left: 2px solid var(--cl-accent);
}
.cue-sheet li button { margin-left: auto; color: var(--cl-text-subtle); font-size: 14px; }
.cue-sheet li button:hover { color: var(--warn); }

.kid-progress { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.kid-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: var(--cl-bg-elevated); border-radius: var(--radius-sm);
}
.kid-avatar {
  width: 32px; height: 32px; border-radius: 99px; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; background: var(--cl-primary-dark); color: #fff; flex-shrink: 0;
}
.kid-info { flex: 1; min-width: 0; }
.kid-name { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.kid-lvl { font-size: 10px; font-weight: 700; color: var(--cl-primary-light); background: hsla(145,72%,42%,0.14); padding: 2px 7px; border-radius: var(--radius-full); }
.kid-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 5px 0 4px; }
.kc { font-size: 11px; color: var(--cl-text-muted); background: var(--cl-bg-card); border: 1px solid var(--cl-border); padding: 2px 7px; border-radius: var(--radius-full); }
.kid-stat { font-size: 11px; color: var(--cl-text-subtle); }
.kid-bar { height: 5px; background: var(--cl-border); border-radius: 99px; margin-top: 5px; overflow: hidden; }
.kid-bar span { display: block; height: 100%; background: var(--cl-primary); transition: width .4s var(--ease); }
.kid-badge { font-size: 11px; padding: 3px 8px; border-radius: 99px; font-weight: 600; flex-shrink: 0; }
.kid-badge.ok { background: hsla(145,72%,42%,0.15); color: var(--cl-primary-light); }
.kid-badge.help { background: hsla(0,80%,60%,0.15); color: var(--warn); }
.kid-badge.none { background: var(--cl-glass); color: var(--cl-text-subtle); }

/* ============ LIVE MODE ============ */
.live {
  position: fixed; inset: 0; z-index: 100; background: var(--cl-bg);
  display: flex; flex-direction: column;
  background-image: radial-gradient(circle at 50% 0%, hsla(145,72%,42%,0.12), transparent 60%);
}
.live[hidden] { display: none; }
.live-head {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 28px; border-bottom: 1px solid var(--cl-border);
}
.live-exit { font-size: 15px; font-weight: 600; color: var(--cl-text-muted); padding: 8px 14px; border-radius: 99px; background: var(--cl-glass); }
.live-exit:hover { color: var(--cl-text); }
.live-title { flex: 1; text-align: center; font-size: 16px; font-weight: 700; }
.live-timer { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--cl-primary-light); }
.live-stage { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 24px; overflow-y: auto; }
.live-drillnav { display: flex; align-items: center; gap: 20px; }
.ln-btn { width: 48px; height: 48px; border-radius: 99px; background: var(--cl-bg-elevated); font-size: 24px; color: var(--cl-text); transition: all .2s var(--ease); }
.ln-btn:hover { background: var(--cl-primary); }
.ln-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.ln-count { font-size: 14px; color: var(--cl-text-muted); font-weight: 600; min-width: 60px; text-align: center; }
.live-card {
  width: min(680px, 94vw); text-align: center;
  background: var(--cl-bg-card); border: 1px solid var(--cl-border);
  border-radius: var(--radius-lg); padding: 32px 32px;
}
.live-meta { display: flex; justify-content: center; gap: 16px; font-size: 14px; font-weight: 600; color: var(--cl-text-muted); margin-bottom: 10px; }
.live-drillname { font-size: clamp(30px, 7vw, 48px); font-weight: 900; letter-spacing: -0.03em; }
.live-objective { font-size: 16px; color: var(--cl-text-muted); margin-top: 10px; }
.live-cue { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--cl-border); }
.cue-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cl-accent); margin-bottom: 10px; }
.cue-main { display: flex; align-items: center; justify-content: center; gap: 12px; }
.cue-phrase { font-size: clamp(26px, 5vw, 38px); font-weight: 800; color: var(--cl-accent-light); }
.cue-say { width: 44px; height: 44px; border-radius: 99px; background: var(--cl-bg-elevated); border: 1px solid var(--cl-border); font-size: 20px; transition: all .2s var(--ease); }
.cue-say:hover, .cue-say.saying { background: var(--cl-accent); transform: scale(1.08); }
.cue-pron { display: block; font-size: 15px; color: var(--cl-text-subtle); margin-top: 6px; font-style: italic; }
.cue-fr { display: block; font-size: 16px; color: var(--cl-text-muted); margin-top: 6px; }
.cue-vocab { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.cue-repeat { margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--cl-primary-light); background: hsla(145,72%,42%,0.1); border: 1px solid hsla(145,72%,42%,0.2); border-radius: var(--radius-md); padding: 10px 14px; }
.cue-repeat:empty { display: none; }
.live-kids { width: min(680px, 92vw); }
.lk-head { text-align: center; }
.lk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.lk-card {
  background: var(--cl-bg-card); border: 1px solid var(--cl-border);
  border-radius: var(--radius-md); padding: 14px; text-align: center;
}
.lk-card.state-ok { border-color: var(--cl-primary); background: hsla(145,72%,42%,0.08); }
.lk-card.state-help { border-color: var(--warn); background: hsla(0,80%,60%,0.08); }
.lk-name { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.lk-actions { display: flex; gap: 8px; }
.lk-actions button { flex: 1; padding: 14px 8px; border-radius: var(--radius-md); font-size: 15px; font-weight: 800; transition: all .15s var(--ease); }
.lk-ok { background: var(--cl-glass); color: var(--cl-primary-light); }
.lk-ok:hover, .lk-card.state-ok .lk-ok { background: var(--cl-primary); color: #fff; }
.lk-help { background: var(--cl-glass); color: var(--warn); }
.lk-help:hover, .lk-card.state-help .lk-help { background: var(--warn); color: #fff; }

/* ============ TOAST ============ */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--cl-bg-elevated); border: 1px solid var(--cl-border);
  padding: 12px 22px; border-radius: var(--radius-full); font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: all .3s var(--ease); z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   GATE 5E — premium coach workflow polish
   Professional field-mode aesthetic. No kid-zone playfulness.
   ============================================================ */

/* drill cards: shadow + hover lift */
.block { box-shadow: var(--cl-e1); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.block:hover { border-color: hsla(0,0%,100%,0.16); transform: translateY(-1px); }

/* builder session meta: tabular-nums for drill count */
.session-meta { font-variant-numeric: tabular-nums; }

/* kid progress rows: hover lift */
.kid-row { transition: background .15s var(--ease); }
.kid-row:hover { background: hsla(145,72%,42%,0.04); }

/* right panel: subtle card separation */
.rp-tab.active { border-bottom-color: var(--cl-primary); }

/* live mode card: premium elevation */
.live-card { box-shadow: var(--cl-e2); }

/* live kid cards: lift + glow on state */
.lk-card { transition: transform .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease); }
.lk-card.state-ok { box-shadow: 0 0 12px hsla(145,72%,42%,0.18); }
.lk-card.state-help { box-shadow: 0 0 12px hsla(0,80%,60%,0.18); }

/* language pack: upgrade accent */
.lang-pack { box-shadow: var(--cl-e1); }

/* session title: display font for hierarchy */
.session-title-input { font-family: var(--cl-font-display); }

/* empty state: dashed border with softer feel */
.empty-state { border-color: var(--cl-line); }

/* focus-visible (a11y) */
:focus-visible { outline: 3px solid var(--cl-sky); outline-offset: 3px; }
.session-title-input:focus-visible { outline: none; border-bottom: 2px solid var(--cl-primary); }

/* entrance: blocks stagger in builder */
.block { animation: cl-fade-up var(--cl-dur-med) var(--cl-ease) both; }
.block:nth-child(2) { animation-delay: 40ms; }
.block:nth-child(3) { animation-delay: 80ms; }
.block:nth-child(4) { animation-delay: 120ms; }
.block:nth-child(5) { animation-delay: 160ms; }

/* live timer: premium number font */
.live-timer { font-family: var(--cl-font-num); }

/* ============ RESPONSIVE / MOBILE ============ */
@media (max-width: 1024px) {
  body { overflow-y: auto; }
  .app { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; height: auto; }
  .sidebar { flex-direction: column; max-height: 38vh; }
  .drill-section { max-height: 22vh; }
  .rightpanel { border-left: none; border-top: 1px solid var(--cl-border); max-height: 40vh; }
  .builder { order: -1; }
}
@media (max-width: 640px) {
  .app { display: block; height: auto; overflow-y: auto; }
  body { overflow-y: auto; }
  .sidebar, .rightpanel { max-height: none; }
  .builder-head { flex-direction: column; gap: 12px; }
  .bh-actions { width: 100%; }
  .bh-actions .btn { flex: 1; text-align: center; padding: 14px; font-size: 15px; }
  .block-fields, .plan-grid { grid-template-columns: 1fr; }
  .lk-grid { grid-template-columns: repeat(2, 1fr); }
  .live-card { padding: 24px 18px; }
}

/* ---- field mode: big thumb targets, fixed bottom marking bar ---- */
@media (max-width: 820px) {
  .live-head { padding: 16px 18px; }
  .live-stage { padding: 16px 14px 0; gap: 18px; }
  .live-drillnav { position: sticky; top: 0; z-index: 5; width: 100%; justify-content: space-between; padding: 4px 0; }
  .ln-btn { width: 64px; height: 64px; font-size: 30px; }
  .live-kids { position: sticky; bottom: 0; background: linear-gradient(to top, var(--cl-bg) 70%, transparent); padding: 12px 0 16px; }
  .lk-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lk-card { padding: 12px 10px; }
  .lk-actions button { padding: 16px 8px; font-size: 16px; }
  .cue-say { width: 52px; height: 52px; font-size: 24px; }
}
