/* 라이브 퀴즈 · O/X 단어 퀴즈 (2026-11-23): a child's panel (dist/live-tab.js) and the teacher's full-screen host (dist/live-host.js).
   Colours are the app's --b-* tokens only, so the four 화면 색 follow; O is teal and X berry, and each carries
   its letter, so they are told apart without colour too. */

/* ═════════ 학생 · 라이브 퀴즈 ═════════ */
.live-view{display:flex;flex-direction:column;gap:12px}
.live-card{background:var(--b-card);border:1px solid var(--b-line);border-radius:24px;padding:20px 16px 22px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;min-height:min(560px,calc(100dvh - 240px));justify-content:center}
.live-icon-big svg{width:56px;height:56px;fill:none;stroke:var(--b-teal);stroke-width:1.7;stroke-linecap:round}
.live-title{margin:0;font-size:var(--act-title,20px);font-weight:800;color:var(--b-ink)}
.live-eyebrow{margin:0;font-size:13px;font-weight:800;color:var(--b-teal);letter-spacing:.02em}
.live-note{margin:0;font-size:var(--act-note,14px);color:var(--b-muted);min-height:1.4em}
.live-join{min-height:56px;min-width:220px;border:0;border-radius:999px;background:var(--b-teal);color:var(--b-on);font-size:18px;font-weight:800;cursor:pointer}
.live-join:active{filter:brightness(.92)}
.live-joined{margin:0;padding:12px 18px;border-radius:16px;background:var(--b-teal-soft);color:var(--b-teal-deep);font-weight:800}
.live-card.is-play{justify-content:flex-start;gap:14px}
.live-ox-top{align-self:stretch;display:flex;align-items:center;gap:10px;font-weight:800;color:var(--b-muted);font-size:15px}
.live-ox-seconds{min-width:2.2em;font-size:26px;font-weight:900;color:var(--b-ink);font-variant-numeric:tabular-nums;text-align:left}
.live-ox-right b{color:var(--b-teal-deep);font-size:22px;font-variant-numeric:tabular-nums}
.live-ox-place{margin-left:auto;padding:4px 12px;border-radius:999px;background:var(--b-orange-soft);color:var(--b-orange-deep);font-size:14px;min-height:1.4em}
.live-ox-place:empty{visibility:hidden}
.live-timer{align-self:stretch;height:8px;border-radius:999px;background:var(--b-sunk);overflow:hidden}
.live-timer-bar{display:block;height:100%;width:calc(var(--share,1)*100%);background:var(--b-teal);border-radius:inherit;transition:width .2s linear}
.live-ox-card{position:relative;align-self:stretch;flex:1;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:18px 12px;border-radius:22px;background:var(--b-faint,var(--b-teal-mist));border:2px solid transparent;transition:border-color .12s,background .12s}
.live-ox-card.is-right{border-color:var(--b-leaf)}
.live-ox-card.is-wrong{border-color:var(--b-berry)}
.live-ox-word{margin:0;font-family:var(--font-en,inherit);font-size:clamp(30px,10vw,46px);font-weight:900;color:var(--b-ink);line-height:1.15;overflow-wrap:anywhere}
.live-ox-meaning{margin:0;font-size:clamp(22px,7vw,30px);font-weight:800;color:var(--b-teal-deep);word-break:keep-all;overflow-wrap:anywhere}
.live-ox-buttons{align-self:stretch;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.live-ox-button{min-height:96px;border:0;border-radius:22px;font-size:52px;font-weight:900;color:var(--b-on);cursor:pointer;touch-action:manipulation;user-select:none}
.live-ox-button.is-o{background:var(--b-teal)}
.live-ox-button.is-x{background:var(--b-berry)}
.live-ox-button:active{transform:scale(.96)}
.live-count{margin:8px 0 0;font-size:88px;font-weight:900;color:var(--b-teal);line-height:1;font-variant-numeric:tabular-nums}
.live-place-final{margin:0;font-size:22px;font-weight:900;color:var(--b-orange-deep);min-height:1.4em}
.live-big{margin:0;font-size:56px;font-weight:900;color:var(--b-teal);font-variant-numeric:tabular-nums}
.live-big small{font-size:22px;margin-left:4px}
@media (prefers-reduced-motion:reduce){.live-timer-bar,.live-ox-card{transition:none}.live-ox-button:active{transform:none}}

/* ═════════ 선생님 · 라이브 퀴즈 (전체 화면) ═════════ */
body.live-host-open{overflow:hidden}
.live-host{position:fixed;inset:0;z-index:2000;background:var(--b-paper);color:var(--b-ink);display:flex;flex-direction:column;overflow:auto;-webkit-tap-highlight-color:transparent}
.live-host-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:12px max(16px,3vw);border-bottom:1px solid var(--b-line);background:var(--b-card);position:sticky;top:0;z-index:1}
.live-host-name{margin:0;font-weight:900;font-size:16px;display:flex;align-items:center;gap:8px;white-space:nowrap;overflow:hidden}
.live-host-name span{color:var(--b-muted);font-weight:700}
.live-host-dot{width:10px;height:10px;border-radius:50%;background:var(--b-berry);flex:none;animation:live-dot 1.6s ease-in-out infinite}
@keyframes live-dot{50%{opacity:.35}}
.live-host-title{margin:0;font-weight:800;color:var(--b-muted);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40vw}
.live-host-x{justify-self:end;min-height:44px;padding:0 18px;border-radius:999px;border:1.5px solid var(--b-line);background:var(--b-card);color:var(--b-ink);font-weight:800;cursor:pointer}
.live-host-body{flex:1;width:100%;max-width:1200px;margin:0 auto;padding:clamp(16px,3vw,36px) max(16px,3vw) 28px;display:flex;flex-direction:column;gap:clamp(12px,2vw,22px);box-sizing:border-box}
.live-host-body.is-center{align-items:center;justify-content:center;text-align:center}
.live-host-lead{margin:0;font-size:16px;color:var(--b-muted)}
.live-host-lead b{color:var(--b-ink)}
.live-host-error{margin:0;min-height:1.4em;color:var(--b-berry);font-weight:700}
.live-host-main{align-self:center;min-height:60px;min-width:240px;padding:0 32px;border:0;border-radius:999px;background:var(--b-teal);color:var(--b-on);font-size:20px;font-weight:900;cursor:pointer}
.live-host-main:disabled{opacity:.45;cursor:default}
.live-host-sub-button{min-height:52px;padding:0 24px;border-radius:999px;border:1.5px solid var(--b-line);background:var(--b-card);color:var(--b-ink);font-size:17px;font-weight:800;cursor:pointer}
.live-host-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:auto}
.live-host-note{margin:0;color:var(--b-muted);font-size:16px;text-align:center}
.live-host-join{margin:0;text-align:center;font-size:clamp(18px,2.6vw,28px);color:var(--b-muted)}
.live-host-join b{color:var(--b-teal-deep)}
.live-host-count{margin:0;text-align:center;font-size:clamp(20px,3vw,30px);font-weight:800}
.live-host-count b{font-size:clamp(48px,8vw,96px);color:var(--b-teal);font-variant-numeric:tabular-nums}
.live-host-names{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.live-host-names li{padding:10px 18px;border-radius:999px;background:var(--b-card);border:1.5px solid var(--b-line);font-weight:800;font-size:clamp(16px,1.8vw,22px);animation:live-pop .3s ease-out}
.live-host-names li.is-empty{color:var(--b-muted);border-style:dashed}
@keyframes live-pop{from{transform:scale(.6);opacity:0}}
.live-host-clock{width:clamp(80px,10vw,120px);height:clamp(80px,10vw,120px);border-radius:50%;background:var(--b-teal);color:var(--b-on);display:flex;align-items:baseline;justify-content:center;padding-top:clamp(18px,2.4vw,30px);box-sizing:border-box;font-size:clamp(34px,4.4vw,54px);font-weight:900;font-variant-numeric:tabular-nums;flex:none;transition:background .3s}
.live-host-clock small{font-size:.38em;margin-left:2px}
.live-host-clock.is-hurry{background:var(--b-berry)}
.live-host-ready{margin:0;font-size:clamp(72px,12vw,150px);font-weight:900;color:var(--b-teal);line-height:1;font-variant-numeric:tabular-nums}
.live-host-playtop{display:flex;align-items:center;justify-content:center;gap:clamp(14px,3vw,32px);flex-wrap:wrap}
.live-host-playtop .live-host-note b{color:var(--b-ink)}
/* The live board: rows kept by player, placed by translate (--x the column), so a row slides when its place changes. */
.live-board{position:relative;--cols:1;--gap:16px;width:100%}
.live-board-row{position:absolute;top:0;left:calc(var(--x,0)*(100% + var(--gap))/var(--cols));width:calc((100% - (var(--cols) - 1)*var(--gap))/var(--cols));height:44px;display:flex;align-items:center;gap:12px;padding:0 14px;box-sizing:border-box;background:var(--b-card);border:1px solid var(--b-line);border-radius:14px;font-weight:800;font-size:clamp(15px,1.7vw,21px);transition:transform .55s cubic-bezier(.2,.8,.2,1)}
.live-board-place{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--b-sunk);font-variant-numeric:tabular-nums;flex:none;font-size:.85em}
.live-board-row.is-place1 .live-board-place{background:var(--b-orange);color:var(--b-on-accent)}
.live-board-row.is-place2 .live-board-place{background:var(--b-teal-soft);color:var(--b-teal-deep)}
.live-board-row.is-place3 .live-board-place{background:var(--b-orange-soft);color:var(--b-orange-deep)}
.live-board-name{flex:0 0 clamp(64px,11vw,140px);min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-board-track{flex:1;height:14px;border-radius:999px;background:var(--b-sunk);overflow:hidden;min-width:20px}
.live-board-fill{display:block;height:100%;width:0;border-radius:inherit;background:var(--b-teal);transition:width .5s ease-out}
.live-board-row.is-place1 .live-board-fill{background:var(--b-orange)}
.live-board-score{min-width:2.2em;text-align:right;font-size:1.15em;font-variant-numeric:tabular-nums}
.live-host-board-title{margin:0 0 6px;font-weight:900;color:var(--b-muted)}
.live-host-board{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.live-host-board li{display:flex;align-items:center;gap:12px;background:var(--b-card);border:1px solid var(--b-line);border-radius:16px;padding:10px 16px;font-size:clamp(16px,1.9vw,22px);font-weight:800;animation:live-pop .3s ease-out}
.live-host-place{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--b-sunk);font-variant-numeric:tabular-nums;flex:none}
.live-host-board li.is-place1 .live-host-place{background:var(--b-orange);color:var(--b-on-accent)}
.live-host-board li.is-place2 .live-host-place{background:var(--b-line-2,var(--b-line))}
.live-host-board li.is-place3 .live-host-place{background:var(--b-orange-soft);color:var(--b-orange-deep)}
.live-host-who{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-host-gain{color:var(--b-leaf);font-size:.8em;font-variant-numeric:tabular-nums}
.live-host-score{font-variant-numeric:tabular-nums;min-width:4.5em;text-align:right}
.live-host-board.is-rest{max-width:640px;width:100%;margin:0 auto}
.live-host-done{margin:0;text-align:center;font-size:clamp(28px,4vw,48px);font-weight:900;color:var(--b-teal)}
.live-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end;max-width:760px;width:100%;margin:0 auto}
.live-podium-col{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
.live-podium-name{font-weight:900;font-size:clamp(18px,2.4vw,30px);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-podium-score{font-weight:800;color:var(--b-muted);font-variant-numeric:tabular-nums}
.live-podium-block{width:100%;border-radius:18px 18px 6px 6px;display:grid;place-items:center;font-size:clamp(30px,4vw,52px);font-weight:900;animation:live-rise .7s cubic-bezier(.2,.9,.3,1.2) both}
.live-podium-col.is-p1 .live-podium-block{height:clamp(140px,24vh,240px);background:var(--b-orange);color:var(--b-on-accent);animation-delay:.6s}
.live-podium-col.is-p2 .live-podium-block{height:clamp(100px,17vh,170px);background:var(--b-teal-soft);color:var(--b-teal-deep);animation-delay:.3s}
.live-podium-col.is-p3 .live-podium-block{height:clamp(76px,12vh,120px);background:var(--b-orange-soft);color:var(--b-orange-deep)}
@keyframes live-rise{from{transform:scaleY(0);transform-origin:bottom}to{transform:scaleY(1);transform-origin:bottom}}
@media (max-width:760px){
 .live-host-bar{grid-template-columns:1fr auto}
 .live-host-title{display:none}
 .live-board{--cols:1!important}
 .live-board-name{flex-basis:72px}
}
@media (prefers-reduced-motion:reduce){.live-host *{animation:none!important}}

/* 액티비티 탭 맨 아래의 작은 라이브 퀴즈 버튼 */
.teacher-live-open{display:flex;justify-content:center;margin:18px 0 4px}
.teacher-live-button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px;border-radius:999px;border:1.5px solid var(--b-teal);background:var(--b-card);color:var(--b-teal-deep);font-size:14px;font-weight:800;cursor:pointer}
.teacher-live-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
.teacher-live-button:active{background:var(--b-teal-mist)}

/* 준비 (2026-11-23, owner: 반 = 학습 관리의 반 줄, 교재 = 복습의 책 고르기, 회차 = 학습 관리의 회차 줄, 게임 = 액티비티 타일).
   The class and 회차 strips slide sideways (one line, no scroll bar); the setup is one narrow column even on a projector. */
.live-host-body.is-setup{max-width:640px;gap:18px;padding-bottom:110px}
.live-sec{display:flex;flex-direction:column;gap:8px;min-width:0}
.live-sec-title{margin:0;font-size:13px;font-weight:800;color:var(--b-muted)}
.live-sec-title small{font-weight:700;margin-left:4px;opacity:.8}
.live-strip,.live-days{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
.live-strip::-webkit-scrollbar,.live-days::-webkit-scrollbar{display:none}
.live-strip-chip{flex:0 0 auto;min-width:64px;min-height:40px;padding:0 16px;border:1px solid var(--b-line-2,var(--b-line));border-radius:999px;background:var(--b-card);color:var(--b-ink-2,var(--b-ink));font-size:15px;font-weight:800;scroll-snap-align:start;cursor:pointer}
.live-strip-chip.is-on{background:var(--b-solid,var(--b-teal-deep));border-color:var(--b-solid,var(--b-teal-deep));color:var(--b-on)}
.live-days{gap:4px;padding:6px;border:1px solid var(--b-line);border-radius:12px;background:var(--b-card)}
.live-days button{flex:0 0 auto;min-width:64px;min-height:36px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--b-muted);font-size:13px;font-weight:800;scroll-snap-align:start;cursor:pointer}
.live-days button.is-on{background:var(--b-solid,var(--b-teal-deep));color:var(--b-on)}
.live-games{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.live-game{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 4px 10px;border:2px solid transparent;border-radius:18px;background:var(--b-card);box-shadow:var(--b-shadow);color:var(--b-ink);cursor:default}
.live-game.is-on{border-color:var(--b-teal)}
.live-game-icon{width:52px;height:52px;border-radius:14px;background:var(--b-teal-mist);display:grid;place-items:center;color:var(--b-teal-deep)}
.live-game-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.live-game-name{font-size:13px;font-weight:800;text-align:center;line-height:1.25;word-break:keep-all}
.live-game-note{font-size:11px;color:var(--b-muted);font-weight:700}
.live-books{list-style:none;margin:0;padding:4px 14px;border-radius:20px;background:var(--b-card);box-shadow:var(--b-shadow);max-height:min(40vh,360px);overflow:auto}
.live-books>li+li{border-top:1px solid var(--b-line)}
.live-book-row{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:6px 2px;border:0;background:transparent;color:var(--b-muted);text-align:left;cursor:pointer}
.live-book-row:disabled{opacity:.45;cursor:default}
.live-book-num{flex:0 0 2ch;text-align:right;font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}
.live-book-name{flex:0 1 auto;min-width:0;margin-right:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--font-en,inherit);font-size:15px}
.live-book-mark{flex:none;font-size:11px;font-weight:800;color:var(--b-muted)}
.live-book-check{flex:0 0 22px;width:22px;height:22px;box-sizing:border-box;border:1.5px solid var(--b-line-2,var(--b-line));border-radius:50%;display:grid;place-items:center;color:transparent}
.live-book-check svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.live-book-row[aria-pressed="true"]{color:var(--b-ink)}
.live-book-row[aria-pressed="true"] .live-book-name{font-weight:700}
.live-book-row[aria-pressed="true"] .live-book-num{color:var(--b-teal-deep)}
.live-book-row[aria-pressed="true"] .live-book-check{border-color:var(--b-teal);background:var(--b-teal);color:var(--b-on)}
.live-setup-go{position:fixed;left:0;right:0;bottom:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));display:flex;justify-content:center;background:linear-gradient(transparent,var(--b-paper) 30%)}
.live-setup-go .live-host-main{min-width:min(320px,100%)}

/* 개인전 3세트 · 단체전 · 지난 기록 (2026-11-23) */
.live-games{grid-template-columns:repeat(2,minmax(0,1fr))}
.live-game{cursor:pointer;padding:12px 8px}
.live-game-tag{position:absolute;top:8px;left:8px;padding:2px 8px;border-radius:999px;background:var(--b-sunk);color:var(--b-muted);font-size:11px;font-weight:800}
.live-game.is-on .live-game-tag{background:var(--b-teal);color:var(--b-on)}
.live-game:not(.is-on){opacity:.72}
.live-sets{margin:0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;font-weight:700;color:var(--b-muted)}
.live-levels{display:flex;flex-direction:column;gap:8px;padding:10px 14px;border-radius:16px;background:var(--b-card);box-shadow:var(--b-shadow)}
.live-level{display:flex;align-items:center;justify-content:space-between;gap:10px}
.live-level-name{font-size:14px;font-weight:800;color:var(--b-ink)}
.live-seg{display:inline-flex;gap:2px;padding:3px;border-radius:999px;background:var(--b-sunk)}
.live-seg button{min-height:34px;padding:0 14px;border:0;border-radius:999px;background:transparent;color:var(--b-muted);font-size:13px;font-weight:700;cursor:pointer}
.live-seg button.is-on{background:var(--b-card);color:var(--b-teal-deep);font-weight:800;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.live-past-list{list-style:none;margin:0;padding:4px 14px;border-radius:20px;background:var(--b-card);box-shadow:var(--b-shadow)}
.live-past-list>li+li{border-top:1px solid var(--b-line)}
.live-past-row{display:grid;grid-template-columns:auto auto minmax(0,1fr);grid-template-areas:"when kind book" "top top top";gap:2px 8px;width:100%;padding:10px 2px;border:0;background:transparent;text-align:left;color:var(--b-ink);cursor:pointer}
.live-past-when{grid-area:when;font-size:12px;font-weight:700;color:var(--b-muted)}
.live-past-kind{grid-area:kind;font-size:11px;font-weight:800;padding:1px 7px;border-radius:999px;background:var(--b-teal-mist);color:var(--b-teal-deep)}
.live-past-book{grid-area:book;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--font-en,inherit)}
.live-past-top{grid-area:top;font-size:14px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-past-detail{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-direction:column;gap:4px;font-size:13px}
.live-past-detail li{display:grid;grid-template-columns:2ch minmax(0,1fr) auto;gap:2px 10px;align-items:baseline}
.live-past-detail li small{grid-column:2/4;color:var(--b-muted)}
.live-past-detail p{margin:0}
.live-host-setname{margin:0;font-size:clamp(20px,2.6vw,30px);font-weight:900;color:var(--b-teal-deep)}
.live-host-teams{display:grid;grid-template-columns:1fr 1fr;gap:clamp(12px,2vw,24px)}
.live-host-team{border-radius:24px;padding:clamp(14px,2.4vw,28px);background:var(--b-card);box-shadow:var(--b-shadow);text-align:center;border:4px solid transparent;transition:border-color .3s,transform .3s}
.live-host-team.is-t0{--team:var(--b-teal)}.live-host-team.is-t1{--team:var(--b-orange)}
.live-host-team.is-turn{border-color:var(--team);transform:scale(1.02)}
.live-host-team-name{margin:0;font-size:clamp(18px,2.4vw,28px);font-weight:900;color:var(--team)}
.live-host-team-score{margin:4px 0;font-size:clamp(56px,10vw,120px);font-weight:900;line-height:1;font-variant-numeric:tabular-nums}
.live-host-team-members{margin:0;font-size:clamp(13px,1.5vw,17px);color:var(--b-muted);font-weight:700}
.live-host-turn{margin:0;font-size:clamp(18px,2.6vw,30px);font-weight:800;text-align:center}
.live-host-turn.is-t0 b{color:var(--b-teal-deep)}.live-host-turn.is-t1 b{color:var(--b-orange-deep)}
/* phone */
.live-set-name{align-self:stretch;margin:-4px 0 0;font-size:13px;font-weight:800;color:var(--b-teal-deep);text-align:left}
.live-ox-right b{color:var(--b-teal-deep)}
.live-flash{position:absolute;top:10px;right:14px;font-size:24px;font-weight:900;line-height:1;font-variant-numeric:tabular-nums}
.live-flash.is-right{color:var(--b-teal-deep)}.live-flash.is-wrong{color:var(--b-berry)}
.live-puzzle{position:relative;align-self:stretch;display:flex;flex-direction:column;align-items:center;gap:14px;padding:18px 10px;border-radius:22px;background:var(--b-faint,var(--b-teal-mist));border:2px solid transparent}
.live-puzzle.is-right{border-color:var(--b-leaf)}.live-puzzle.is-wrong{border-color:var(--b-berry)}
.live-puzzle-ko{margin:0;font-size:clamp(18px,5.6vw,24px);font-weight:800;color:var(--b-ink);word-break:keep-all;text-align:center}
.live-slots{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}
.live-slot{min-width:32px;height:42px;display:grid;place-items:center;border-radius:10px;font-size:24px;font-weight:800;font-family:var(--font-en,inherit);color:var(--b-ink)}
.live-slot.is-fixed{min-width:10px}
.live-slot.is-blank{border:2px dashed var(--b-line-2,var(--b-line));background:var(--b-card);cursor:pointer;padding:0}
.live-slot.is-filled{border-style:solid;border-color:var(--b-teal);color:var(--b-teal-deep)}
.live-tray{align-self:stretch;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.live-tile{min-width:48px;min-height:52px;border:0;border-radius:14px;background:var(--b-teal);color:var(--b-on);font-size:24px;font-weight:800;font-family:var(--font-en,inherit);cursor:pointer;touch-action:manipulation}
.live-tile:disabled{opacity:.25}
.live-answer-line{min-height:52px;align-self:stretch;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;padding:6px;border-radius:14px;background:var(--b-card)}
.live-answer-empty{font-size:13px;color:var(--b-muted)}
.live-piece{min-height:44px;padding:0 14px;border:0;border-radius:12px;background:var(--b-teal);color:var(--b-on);font-size:17px;font-weight:700;font-family:var(--font-en,inherit);cursor:pointer;touch-action:manipulation}
.live-piece.is-placed{background:var(--b-teal-mist);color:var(--b-teal-deep)}
.live-piece:disabled{opacity:.25}
.live-teams{align-self:stretch;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.live-team{border-radius:16px;padding:10px;text-align:center;background:var(--b-faint,var(--b-sunk));border:2px solid transparent}
.live-team.is-t0{--team:var(--b-teal)}.live-team.is-t1{--team:var(--b-orange)}
.live-team.is-mine{border-color:var(--team)}
.live-team-name{display:block;font-size:13px;font-weight:800;color:var(--b-muted)}
.live-team-score{display:block;font-size:34px;font-weight:900;color:var(--b-ink);font-variant-numeric:tabular-nums}
.live-turn{margin:0;font-size:18px;font-weight:800}
.live-turn.is-t0{color:var(--b-teal-deep)}.live-turn.is-t1{color:var(--b-orange-deep)}
.live-big-note{margin:0;font-size:22px;font-weight:900;color:var(--b-ink);word-break:keep-all}
.live-describe-hint{margin:0;font-size:12px;font-weight:800;color:var(--b-muted)}
.live-ox-button.is-pass{background:var(--b-sunk);color:var(--b-ink);font-size:24px}
.live-card.is-team .live-ox-button.is-o{font-size:24px}
.live-history{margin-top:4px}
.live-history-title{margin:0 0 8px;font-size:15px;font-weight:800;color:var(--b-ink)}
.live-history-title small{font-size:12px;font-weight:700;color:var(--b-muted);margin-left:6px}
.live-history ol{list-style:none;margin:0;padding:4px 14px;border-radius:20px;background:var(--b-card);box-shadow:var(--b-shadow)}
.live-history li{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"date book" "what what";gap:2px 10px;padding:10px 0}
.live-history li+li{border-top:1px solid var(--b-line)}
.live-history-date{grid-area:date;font-size:12px;font-weight:700;color:var(--b-muted)}
.live-history-book{grid-area:book;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--font-en,inherit)}
.live-history-what{grid-area:what;font-size:14px;color:var(--b-ink)}
.live-history-what b.is-win{color:var(--b-teal-deep)}
@media (max-width:760px){.live-host-teams{grid-template-columns:1fr 1fr}.live-level{flex-wrap:wrap}}
/* 개인전: three set icons on the tile; one row a set — 난이도 and its time (− n분 +) */
.live-game-icons{display:flex;gap:6px;justify-content:center}
.live-game-icons .live-game-icon{width:40px;height:40px;border-radius:12px}
.live-game-icons .live-game-icon svg{width:22px;height:22px}
.live-level{flex-wrap:wrap;row-gap:6px;padding:2px 0}
.live-level+.live-level{border-top:1px solid var(--b-line);padding-top:8px}
.live-level-name{display:inline-flex;align-items:center;gap:6px}
.live-level-icon{width:26px;height:26px;border-radius:8px;background:var(--b-teal-mist);color:var(--b-teal-deep);display:grid;place-items:center}
.live-level-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.live-level-controls{display:flex;align-items:center;gap:8px;margin-left:auto}
.live-seg button{padding:0 11px}
.live-step{display:inline-flex;align-items:center;border-radius:999px;background:var(--b-sunk);padding:3px}
.live-step button{width:34px;height:34px;border:0;border-radius:50%;background:var(--b-card);color:var(--b-teal-deep);font-size:18px;font-weight:800;line-height:1;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.1)}
.live-step button:disabled{opacity:.35;cursor:default;box-shadow:none}
.live-step span{min-width:3.2em;text-align:center;font-size:14px;font-weight:800;color:var(--b-ink);font-variant-numeric:tabular-nums}
.live-game{padding-top:34px}
/* 교재: a folding summary row (chevron turns when open) above the numbered list */
.live-book-summary{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:6px 16px;border:0;border-radius:20px;background:var(--b-card);box-shadow:var(--b-shadow);color:var(--b-ink);text-align:left;cursor:pointer}
.live-book-summary.is-open{border-radius:20px 20px 0 0;box-shadow:none;border-bottom:1px solid var(--b-line)}
.live-book-summary-text{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--font-en,inherit);font-size:15px;font-weight:700}
.live-book-summary-count{flex:none;font-size:12px;font-weight:800;color:var(--b-muted)}
.live-book-chevron{flex:none;width:22px;height:22px;color:var(--b-muted);transition:transform .2s}
.live-book-chevron svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.live-book-summary.is-open .live-book-chevron{transform:rotate(180deg)}
.live-book-summary.is-open+.live-books{margin-top:-8px;border-radius:0 0 20px 20px}
@media (prefers-reduced-motion:reduce){.live-book-chevron{transition:none}}
/* changing the class: what is below the class strip fades while that class's books come (nothing is blanked or moved) */
.live-host.is-switching .live-host-body.is-setup>.live-sec:not(:first-child),.live-host.is-switching .live-setup-go{opacity:.45;pointer-events:none;transition:opacity .15s}
@media (prefers-reduced-motion:reduce){.live-host.is-switching .live-host-body.is-setup>.live-sec{transition:none}}
/* one game tile (단체전 held): it takes the whole row (owner 2026-11-24: “아이콘 박스를 옆에 비어있는 만큼 늘려줘”) */
.live-game:only-child{grid-column:1/-1}
.live-game:only-child .live-game-icons{gap:10px}
.live-game:only-child .live-game-icons .live-game-icon{width:52px;height:52px;border-radius:14px}
.live-game:only-child .live-game-icons .live-game-icon svg{width:28px;height:28px}
