.live-shell { width: min(100%, 1300px); padding: 28px 42px; margin: auto; min-height: 100svh; display: flex; flex-direction: column; }
.live-shell main { padding: 36px 0; flex: 1; }
.live-player { max-width: 460px; padding-inline: 26px; }
.live-connection { font-size: 11px; color: var(--muted); }
[data-mode-panel] { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 18px; }
[data-mode-panel] p { width: 100%; line-height: 1.6; }
[data-mode-panel] button, [data-mode-panel] input { border: 2px solid #b995ee; border-radius: 15px; padding: 16px; font: inherit; background: #3b2455; color: #fff6e9; min-height: 52px; }
[data-mode-panel] button { background: #ff914d; color: #281440; cursor: pointer; font-weight: 700; }
[data-mode-panel] button:disabled { opacity: .45; cursor: default; }
[data-mode-panel] input { width: 100%; }
[data-mode-panel] button:focus-visible, [data-mode-panel] input:focus-visible { outline: 3px solid #fff6e9; outline-offset: 3px; }
.live-eyebrow { display: block; font-size: 10px; letter-spacing: 1.5px; font-weight: 800; color: var(--muted); margin-bottom: 11px; }
.live-intro { margin: 10px 0 30px; }
.live-intro p, .live-room-heading p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.live-host .live-welcome { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.live-host h1 { font-size: clamp(38px, 5vw, 65px); }
.live-create-card { background: var(--orange); border: 2px solid #170d26; border-radius: 25px; padding: 23px; box-shadow: 0 7px 0 #170d26; }
.live-create-card img { display: block; width: 100%; height: 260px; object-fit: contain; }
.live-create-card .mobile-primary { background: #fff6e9; }
.live-color-label { font-size: 14px; font-weight: 800; display: block; margin-bottom: 10px; }
.live-shell select { width: 100%; height: 48px; border: 1px solid #ffffff35; border-radius: 12px; background: #3b2455; color: var(--ink); padding: 10px 14px; font: inherit; }
.live-room-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 30px; }
.live-code-card { background: var(--orange); color: var(--bg); border: 2px solid #170d26; box-shadow: 0 4px 0 #170d26; border-radius: 16px; padding: 15px 23px; text-align: center; }
.live-code-card > span { display: block; font-size: 9px; font-weight: 800; letter-spacing: 2px; }
.live-code-card > strong { font-size: 42px; letter-spacing: 5px; }
.live-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; }
.live-player .live-layout { grid-template-columns: 1fr; }
.live-player .live-room-heading { align-items: flex-start; }
.live-player h1 { font-size: 35px; }
.live-player .live-code-card { padding: 9px 11px; }
.live-player .live-code-card > strong { font-size: 22px; letter-spacing: 2px; }
.live-player .live-room-heading p { font-size: 12px; }
.live-join-card { background: #fff6e9; color: var(--bg); padding: 27px; border: 2px solid #170d26; border-radius: 20px; box-shadow: 0 5px 0 #170d26; }
.live-join-card > span { font: 800 25px var(--display); display: block; }
.live-join-card a { display: block; font-weight: 800; margin-top: 15px; color: #873e14; overflow-wrap: anywhere; text-decoration: underline; }
.live-join-card p { font-size: 12px; margin-bottom: 0; }
.live-question-top { display: flex; justify-content: space-between; gap: 15px; align-items: center; color: var(--muted); font-size: 12px; }
.live-question-top strong { font-size: 29px; color: var(--orange); }
.live-question h2 { font-size: 30px; line-height: 1.2; margin: 15px 0 23px; }
.live-player .live-question h2 { font-size: 25px; }
.live-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.live-player .live-answers { grid-template-columns: 1fr; }
.live-answers button { display: flex; align-items: center; gap: 13px; padding: 18px 15px; min-height: 78px; border: 1px solid #ffffff35; border-radius: 16px; color: var(--ink); background: #b995ee15; text-align: left; }
.live-answers button:nth-child(2) { background: #ffad9912; }
.live-answers button:nth-child(3) { background: #9db5ff18; }
.live-answers button:nth-child(4) { background: #ff914d18; }
.live-answers button > span { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; background: #ffffff15; font: 800 19px var(--display); }
.live-answers button strong { font-size: 20px; overflow-wrap: anywhere; }
.live-answers button i { margin-left: auto; font-style: normal; }
.live-answers button:disabled { cursor: default; }
.live-answers button.is-selected { border: 2px solid var(--orange); background: #ff914d30; }
.live-answers button.is-correct { background: var(--orange); color: var(--bg); border: 2px solid #fff6e9; }
.live-answer-status { color: #ffd1ad; line-height: 1.6; font-size: 13px; min-height: 24px; }
.live-controls { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.live-controls button { min-height: 48px; padding: 12px 18px; border: 1px solid #ffffff35; border-radius: 12px; color: var(--ink); background: #ffffff08; font-weight: 800; }
.live-controls .live-primary { color: var(--bg); background: var(--orange); border-color: #170d26; box-shadow: 0 3px 0 #170d26; }
.live-controls .live-danger { color: #ffc4b3; }
.live-controls button:disabled { opacity: .5; cursor: wait; }
.live-team-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.live-team-heading h2 { margin: 0; font-size: 26px; }
.live-team-heading > span { color: var(--muted); font-size: 11px; }
.live-players { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.live-players li { display: flex; gap: 11px; align-items: center; background: #ffffff06; border: 1px solid #ffffff25; border-radius: 14px; padding: 12px 13px; min-width: 0; }
.live-players li.is-self { border-color: #ff914d90; }
.live-players svg { width: 38px; height: 38px; flex-shrink: 0; }
.live-players strong { font-size: 20px; overflow-wrap: anywhere; min-width: 0; }
.live-players .live-score { margin-left: auto; white-space: nowrap; color: #ffc196; font-size: 17px; }
.live-players .live-rank { font: 800 18px var(--display); color: var(--muted); }
.live-players button { border: 0; min-width: 36px; min-height: 36px; border-radius: 8px; background: #ffffff08; color: #ffc4b3; font-size: 20px; }
.live-error { color: #ffd0bd; border: 1px solid #ffad9970; background: #ffad990e; padding: 14px 17px; border-radius: 13px; margin-bottom: 22px; font-size: 13px; line-height: 1.6; }
.live-footer { text-align: center; color: var(--muted); font-size: 10px; padding-bottom: 10px; }
.live-footer span { color: var(--orange); padding-inline: 7px; }
.live-confirm-actions { margin-top: 25px; }
.live-confirm-actions button { font-size: 20px; }
@media (max-width: 760px) { .live-shell { padding: 24px; } .live-layout, .live-host .live-welcome { grid-template-columns: 1fr; gap: 25px; } .live-answers { grid-template-columns: 1fr; } .live-host h1 { font-size: 39px; } }
@media (max-width: 360px) { .live-shell { padding-inline: 20px; } .live-player h1 { font-size: 30px; } .live-code-card > strong { font-size: 20px; } }
.live-quiz-picker{width:100%;display:grid;gap:10px;margin-bottom:16px}.live-quiz-picker[hidden]{display:none}.live-quiz-picker label{font-weight:700}.live-quiz-picker select{width:100%;min-height:48px;padding:12px;border-radius:12px;background:#fff6e9;color:#281440;font:inherit}.live-quiz-picker p{font-size:13px;line-height:1.5;color:#c7b5d9}.live-quiz-picker button{justify-self:start}
.live-image-preview{background:rgba(255,246,233,.04);border:1px solid rgba(255,246,233,.15);border-radius:24px;padding:24px;margin-bottom:20px}.live-image-preview[hidden]{display:none}.live-image-preview img{display:block;width:100%;max-height:52vh;object-fit:contain;margin:16px 0}.live-image-preview img[hidden]{display:none}.live-image-preview p{color:#c7b5d9;line-height:1.5}.live-image-preview strong{display:block;color:#ff914d;margin-top:12px;font-size:24px}.live-image-preview button{padding:12px;background:#ff914d;color:#281440;border:0;border-radius:12px;font:inherit}
.live-selected-quiz { padding: 22px; margin-bottom: 25px; border: 1px solid #b995ee4d; border-radius: 20px; background: #b995ee12; }
.live-selected-quiz h2 { margin: 0 0 14px; font-size: 27px; overflow-wrap: anywhere; }
.live-game-mode { display: inline-block; padding: 4px 9px; border: 1px solid transparent; border-radius: 6px; background: #eee7f5; color: #281440; font-size: 14px; font-weight: 600; line-height: 1.5; }
.live-game-mode[data-mode="classic"] { background: #eee4fc; color: #492671; border-color: #d9c3f3; }
.live-game-mode[data-mode="number"] { background: #ffeadc; color: #8b3c0e; border-color: #f5c7a8; }
.live-game-mode[data-mode="tactical"] { background: #e4eaff; color: #294b92; border-color: #c4d1f6; }
.live-game-mode[data-mode="vote"] { background: #fce1ec; color: #942e58; border-color: #efbad0; }
.live-account-link { margin-bottom: 22px; color: #c7b5d9; font-size: 13px; }
.live-account-link a { color: #ffc196; }
