.score-card { border-left: 4px solid var(--team-color, var(--gold)); }
.question-labels { display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: .55rem; padding: .7rem; background: rgba(255,255,255,.04); border-radius: 12px; }
.question-labels label { display: grid; gap: .25rem; font-size: .78rem; }
.question-labels input, .question-labels select { width: 100%; }
.approval-chip { grid-column: 1 / -1; font-size: .78rem; color: var(--gold); }
.approval-chip[data-approved="yes"] { color: #67d6a2; }
.flashcard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; }
.word-flashcard { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; text-align: center; }
.word-flashcard b { font-size: 1.8rem; }
.word-flashcard small { line-height: 1.45; }
@media (max-width: 520px) { .question-labels { grid-template-columns: 1fr; } }
.room-note { color: var(--muted); font-size: .9rem; }
#labPlayDialog { width: min(1180px, 96vw); max-width: none; height: min(850px, 94vh); padding: 0; overflow: hidden; }
#labPlayDialog::backdrop { background: rgba(0, 7, 18, .92); }
.lab-player-shell { min-height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; padding: clamp(1rem, 3vw, 2.5rem); }
.lab-player-header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--border); padding-right: 2rem; }
.lab-player-header h2 { margin: .2rem 0; }
.lab-player-actions, .lab-play-footer { display: flex; flex-wrap: wrap; gap: .65rem; }
.lab-player-actions button, .lab-play-footer button, .lab-score-strip button { min-height: 44px; padding: .65rem 1rem; border: 1px solid var(--border); border-radius: 10px; color: var(--ink); background: rgba(255,255,255,.06); font-weight: 700; }
.lab-score-strip { display: grid; grid-template-columns: auto minmax(120px,1fr) auto minmax(130px,auto) auto minmax(120px,1fr) auto; align-items: center; gap: .5rem; padding: 1rem 0; text-align: center; }
.lab-score-strip strong { color: var(--gold-2); }
.lab-play-stage { display: grid; align-content: center; justify-items: center; gap: 1.2rem; min-height: 360px; overflow: auto; padding: 1.5rem; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(145deg, rgba(10,28,55,.92), rgba(5,16,34,.96)); text-align: center; }
.lab-main-prompt { max-width: 900px; margin: 0; font-family: "Libre Baskerville", serif; font-size: clamp(1.7rem, 4vw, 3.4rem); line-height: 1.25; }
.lab-round-answer { max-width: 850px; padding: 1rem 1.4rem; border-radius: 14px; color: #071225; background: var(--gold); }
.lab-round-answer p { margin: .35rem 0 0; font-size: clamp(1.15rem, 2.5vw, 1.8rem); font-weight: 800; }
.lab-answer-grid { width: min(850px,100%); display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.lab-answer-grid button { min-height: 62px; border: 1px solid var(--border); border-radius: 12px; color: var(--ink); background: rgba(255,255,255,.06); font-size: 1rem; }
.lab-answer-grid button.selected { border-color: var(--gold); background: rgba(246,189,69,.18); }
.lab-play-footer { justify-content: center; padding-top: 1rem; }
.lab-round-editor { width: 100%; min-height: 300px; font-family: ui-monospace, monospace; }
#labEditDialog label { display: grid; gap: .35rem; margin: .8rem 0; }
#labEditDialog input, #labEditDialog textarea { width: 100%; }
@media (max-width: 700px) { #labPlayDialog { width: 100vw; height: 100dvh; max-height: none; border-radius: 0; } .lab-player-header { display: block; } .lab-score-strip { grid-template-columns: auto 1fr auto; } #labRoundCount { grid-column: 1 / -1; grid-row: 1; } .lab-answer-grid { grid-template-columns: 1fr; } .lab-play-stage { min-height: 300px; padding: 1rem; } }
.home-room-card { margin: 1.25rem 0; padding: 1rem; border: 1px solid rgba(246,189,69,.35); border-radius: 14px; background: rgba(246,189,69,.07); }
.home-room-card > strong { display: block; margin-bottom: .7rem; color: var(--gold-2); font-size: 1rem; }
.home-room-actions, #homeJoinForm { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-bottom: .55rem; }
.home-room-card button, .home-room-card input { min-height: 44px; border: 1px solid var(--border); border-radius: 9px; }
.home-room-card button { padding: .6rem .75rem; color: #071225; background: var(--gold); font-weight: 800; }
.home-room-card input { width: 100%; padding: .6rem .7rem; color: var(--ink); background: rgba(255,255,255,.06); }
#homeJoinForm { grid-template-columns: 1fr 1fr auto; }
.home-room-card small { display: block; color: var(--muted); line-height: 1.4; }
@media (max-width: 520px) { .home-room-actions, #homeJoinForm { grid-template-columns: 1fr; } }
.room-start-help { color: var(--muted); font-size: .9rem; }
.room-shared-game { margin: .75rem auto; width: min(1180px, calc(100% - 2rem)); display: grid; gap: .75rem; padding: 1rem; border: 1px solid rgba(246,189,69,.35); border-radius: 14px; background: #0c203c; color: var(--ink); }
.room-shared-game > div:first-child { display: flex; justify-content: space-between; gap: 1rem; }
.room-shared-game small { color: var(--gold); }
.shared-question { display: grid; gap: .45rem; padding: .85rem; border-radius: 10px; background: rgba(255,255,255,.05); }
.shared-question span { color: var(--gold-2); font-weight: 800; }
.shared-question em { color: #67d6a2; font-style: normal; font-weight: 800; }
.shared-scores { display: flex; flex-wrap: wrap; gap: .6rem; }
.shared-scores span { padding: .45rem .7rem; border: 1px solid var(--border); border-radius: 999px; }
@media (max-width: 600px) { .room-shared-game > div:first-child { display: grid; } }
