/* Navigation chrome shared by the learner app and the standalone live view. */
.quiz-view-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 3px}
.quiz-refresh{width:44px;height:44px;min-height:44px;min-width:44px;flex:0 0 44px;padding:0}
.quiz-refresh .ui-icon{width:21px;height:21px}
.quiz-back{display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;min-height:44px;padding:0 8px;background:transparent;border:1px solid transparent;border-radius:9px;color:#043762;font:inherit;font-size:.93rem;font-weight:750;text-decoration:none;touch-action:manipulation}
.quiz-back .ui-icon{width:18px;height:18px;flex:none}
.quiz-back:focus-visible,.quiz-refresh:focus-visible{outline:2px solid #0777a4;outline-offset:2px}
.player-app #main .duel-shell>.quiz-back{margin-bottom:3px}
/* Shared panel spacing for round setup. */
.quiz-back:hover{background:transparent;text-decoration:underline;text-underline-offset:3px}
.quiz-view-controls{margin-bottom:8px}
.quiz-section-title{font-size:1.08rem;font-weight:760;letter-spacing:-.015em;line-height:1.2;margin:0;color:#043762}
.player-app #main .quiz-form{display:grid;gap:11px;margin:0;padding:14px;border-radius:16px;border:1px solid #dce6ef;background:#fff;box-shadow:var(--shadow)}
.quiz-form>button[type=submit]{min-height:44px}
.player-app #main .quiz-form .size-options span{border-color:#cddded;background:#f5f9fd}
.player-app #main .quiz-form .size-options input:checked+span{background:#e2effd;border-color:#9dbddf;color:#043762;box-shadow:inset 0 0 0 1px #9dbddf}
.player-app #main .quiz-form .app-field-title{margin-bottom:5px;color:#043762}
.player-app #main .quiz-form [type=submit]{width:100%;margin:0}
.gq-list-head,.gq-attendance{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px}
.gq-list-head{padding-inline:3px}
.gq-list-head .gq-heading,.gq-attendance .gq-heading{font-size:1rem;line-height:1.2}
.gq-attendance{margin:0;padding:.55rem .72rem}
.gq-attendance .gq-muted{margin:.2rem 0 0}
.gq-list-head .quiz-refresh,.gq-attendance .quiz-refresh{background:#e8f3fb;border-color:#bed3e8}
#main .gq-mode-content .quiz-form{gap:8px;padding:12px}
#main .gq-mode-content .quiz-form .gq-topic[open]{inset:38px .8rem auto}
#main .gq-size label{border-color:#cddded;background:#f5f9fd}
#main .gq-size label:has(input:checked){background:#e2effd;border-color:#9dbddf;box-shadow:inset 0 0 0 1px #9dbddf}
.player-app #main{width:100%;max-width:680px;margin-inline:auto}
.player-app #main>.narrow,.player-app #main>.duel-shell{max-width:none}
.quiz-pager{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;align-items:center;text-align:center;margin-top:8px}
.quiz-pager button{min-width:44px;min-height:44px;padding:0}
.quiz-pager .ui-icon{width:19px;height:19px}
.player-app #main .symbol-preview{margin-bottom:10px}
@media(max-height:640px) and (max-width:420px){
 .player-app #main .symbol-preview{grid-template-columns:40px minmax(0,1fr);padding:5px 8px;margin-bottom:7px}
 .player-app #main .symbol-preview #avatar-preview{width:40px;height:40px}
 .player-app #main .symbol-option{min-height:55px}
 .player-app #main .quiz-pager{margin-top:5px}
}
.player-app #main .symbol-studio{margin-bottom:0}
@media(max-height:640px) and (max-width:420px){
 #main .gq-overview .quiz-view-controls{margin-bottom:3px}
 #main .gq-overview .gq-body{gap:6px}
 #main .gq-mode-content .quiz-form{padding:10px 12px}
}
.duel-setup-actions{display:grid;gap:7px}
.duel-setup-actions button,.duel-person-picker>button{min-height:44px}
.duel-person-picker .duel-person-list{display:grid;gap:6px}
.duel-person-picker .duel-person{justify-content:space-between;min-height:44px;min-width:0;padding:5px 10px;text-align:left;background:#f5f9fd;border-color:#cddded}
.duel-person-picker .duel-person>span{overflow-wrap:anywhere}
.duel-person-picker .duel-person[aria-pressed=true]{border-color:#80b8dc;background:#e8f3ff}
.duel-person-picker .ui-icon{width:18px;height:18px;flex:none}
.duel-person-picker .duel-person-pager{margin-top:0}
.player-app[data-view="duel-new"] #main .duel-person-picker{gap:7px}
.player-app[data-view="duel-new"] #main .duel-setup-actions #duel-start{margin:0}
.duel-setup-fields{display:grid;grid-template-columns:minmax(0,1fr) 85px;align-items:start;gap:8px}
.duel-setup-fields .duel-count-field>span{display:block;line-height:1.52;color:#043762;margin:0 0 5px}
.duel-setup-fields .duel-count-field>input{min-height:46px;margin:0}
