.test-classroom-bar{z-index:40;color:#241d0d;background:#f5c94c;border-bottom:5px solid #0000;border-image:repeating-linear-gradient(135deg,#65530f 0 12px,#f5c94c 12px 24px) 5;flex:none;padding:10px 20px 12px;font-size:12px;position:relative}.test-classroom-top,.test-classroom-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.test-classroom-top{margin-bottom:8px}.test-classroom-top strong{font-size:17px}.test-classroom-top>button{margin-left:auto}.test-classroom-bar button{color:#241d0d;background:#fff8db;border:1px solid #a68b34;border-radius:5px;min-height:30px;padding:5px 10px;font-size:12px}.test-classroom-bar button.test-next{color:#fff9e0;background:#292410;border-color:#292410;font-weight:700}.test-classroom-bar p{margin:8px 0 0}.test-classroom-bar button:disabled{opacity:.55;cursor:wait}.teacher-operation-root[data-test-room=true]{--test-bar-height:110px}.teacher-operation-root[data-test-room=true] .teacher-a2{height:calc(100dvh - var(--test-bar-height));min-height:0}.teacher-operation-root[data-test-room=true] #teacher-live-stage{top:calc(100px + var(--test-bar-height))}.teacher-operation-root[data-test-room=true] .teacher-party-float:has(.party-teacher-dock[data-expanded=true]){top:calc(100px + var(--test-bar-height))}.test-setup-fields{grid-template-columns:1fr 1fr;gap:14px;display:grid}.test-recovery{gap:10px;display:grid}.test-recovery textarea{width:100%;font:12px monospace}.test-preview-tabs{flex-wrap:wrap;gap:8px;display:flex}.test-preview-tabs button[aria-pressed=true]{color:#241d0d;background:#f5c94c}.test-student-preview{border:1px solid var(--line,#555);border-radius:8px;margin-top:14px;padding:18px}.test-student-preview h2{font-size:26px}.test-student-preview p{line-height:1.7}@media (max-width:800px){.test-classroom-bar{padding:8px}.test-classroom-top>span{width:100%}.test-classroom-top>button{margin-left:0}.test-setup-fields{grid-template-columns:1fr}.teacher-operation-root[data-test-room=true]{--test-bar-height:180px}}.teacher-operation-root[data-test-legacy=true] .teacher-shell{display:none}@media (max-width:600px){.test-classroom-top{grid-template-columns:1fr auto;gap:4px;display:grid}.test-classroom-top>strong{grid-area:1/1}.test-classroom-top>button{grid-area:1/2;margin:0}.test-classroom-top>span{grid-area:2/1/auto/3;font-size:11px}.test-classroom-controls{overscroll-behavior:contain;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;max-height:76px;display:grid;overflow-y:auto}.test-classroom-controls button{white-space:normal;min-width:0;padding:4px 6px;font-size:11px;line-height:1.25}}
.lesson-refresh.teacher-shell .teacher-top{align-items:center;gap:12px;padding:0 20px}.lesson-refresh.teacher-shell .teacher-top .navi-brand{max-width:260px;margin-right:4px}.lesson-refresh.teacher-shell .teacher-top>.clock-compact{align-items:center;margin-right:auto}.lesson-refresh.teacher-shell .teacher-top>.clock-compact>div:last-child{border-radius:16px;align-self:center;height:auto;min-height:0;padding:6px 12px;line-height:1.2}.lesson-refresh.teacher-shell .teacher-top .teacher-sync{color:#a7b0d8;flex:none;align-items:center;gap:7px;max-width:240px;font-size:12px;display:flex;overflow:visible}.teacher-top .teacher-sync>i{background:#2bffd0;border-radius:50%;flex:none;width:9px;height:9px;box-shadow:0 0 0 3px #2bffd022}.teacher-top .teacher-sync>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.teacher-top .teacher-sync[data-sync=ok]>span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.teacher-top .teacher-sync[data-sync=busy]>i{box-shadow:none;background:#a7b0d8;animation:1s ease-in-out infinite alternate tidy-blink}.teacher-top .teacher-sync[data-sync=busy]>span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.teacher-top .teacher-sync[data-sync=warn]{color:#ffb648}.teacher-top .teacher-sync[data-sync=warn]>i{background:#ffb648;box-shadow:0 0 0 3px #ffb64833}@keyframes tidy-blink{0%{opacity:.35}to{opacity:1}}@media (prefers-reduced-motion:reduce){.teacher-top .teacher-sync[data-sync=busy]>i{animation:none}}.lesson-refresh.teacher-shell .teacher-top .teacher-projection{border:1px solid #303951;border-radius:8px;flex:none;align-items:stretch;gap:0;height:36px;display:flex;overflow:hidden}.lesson-refresh.teacher-shell .teacher-top .teacher-projection label{flex-direction:row;align-items:center;gap:0;margin:0;font-size:12px;display:flex}.teacher-top .teacher-projection label>span{color:#8d97bd;white-space:nowrap;border-right:1px solid #303951;align-items:center;height:100%;padding:0 10px;display:flex}.lesson-refresh.teacher-shell .teacher-top .teacher-projection select{background-color:#0000;border:0;border-radius:0;width:auto;min-width:0;max-width:none;height:34px;min-height:0;padding:0 28px 0 10px;font-size:14px}.lesson-refresh.teacher-shell .teacher-top .teacher-projection>button{background:0 0;border:0;border-left:1px solid #303951;border-radius:0;place-items:center;width:38px;height:34px;min-height:0;padding:0;display:grid}.lesson-refresh.teacher-shell .teacher-top .teacher-call-send{border-radius:8px 0 0 8px;height:36px;min-height:0}.lesson-refresh.teacher-shell .teacher-top .teacher-call-send+details>summary{color:#a7b0d8;border:1px solid #303951;border-left:0;border-radius:0 8px 8px 0;place-items:center;width:30px;height:36px;min-height:0;padding:0;display:grid}.lesson-refresh.teacher-shell .teacher-top .teacher-call-send+details>summary::-webkit-details-marker{display:none}.lesson-refresh.teacher-shell .teacher-top .teacher-roster-shortcut{height:36px;min-height:0}.lesson-refresh.teacher-shell .teacher-top .teacher-menu>summary{place-items:center;width:38px;height:36px;min-height:0;padding:0;font-size:18px;display:grid}@media (min-width:821px) and (max-width:1320px){.lesson-refresh.teacher-shell .teacher-top{gap:9px;padding:0 12px}.lesson-refresh.teacher-shell .teacher-top .navi-brand b{display:none}}.teacher-operation-root:has(#teacher-live-stage[data-expanded=true]){--arena-footer:76px}.teacher-operation-root #teacher-live-stage[data-expanded=true]{inset:68px 0 var(--arena-footer) 0;z-index:30;box-shadow:none;background:#05060d;border:0;border-radius:0;flex-direction:column;gap:6px;padding:10px 20px;display:flex;overflow:hidden}.teacher-operation-root[data-test-room=true] #teacher-live-stage[data-expanded=true]{top:calc(68px + var(--test-bar-height,110px))}.teacher-operation-root #teacher-live-stage[data-expanded=true] .live-stage-head{flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:40px;margin:0;display:flex}.teacher-operation-root #teacher-live-stage[data-expanded=true] .live-stage-head>div:first-child{align-items:baseline;gap:14px;min-width:0;display:flex}.teacher-operation-root #teacher-live-stage[data-expanded=true] .live-stage-head h2{white-space:nowrap;margin:0;font-size:18px}.teacher-operation-root #teacher-live-stage[data-expanded=true] .live-stage-head .live-status{white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.teacher-operation-root #teacher-live-stage[data-expanded=true] .live-stage-head>.actions button{min-height:34px;padding:5px 12px;font-size:13px}.teacher-operation-root #teacher-live-stage[data-expanded=true] [aria-label=キャプテンの接続状況]{flex:none;font-size:11px}.teacher-operation-root #teacher-live-stage[data-expanded=true] [aria-label=キャプテンの接続状況] .badge{padding:3px 8px;font-size:11px}.teacher-operation-root #teacher-live-stage[data-expanded=true] .teacher-arena-preview{flex:1 1 0;height:0;min-height:0}.teacher-operation-root #teacher-live-stage[data-expanded=true]{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:auto minmax(0,1fr) auto;gap:6px 14px;display:grid}.teacher-operation-root #teacher-live-stage[data-expanded=true]>*{grid-column:1/-1}.teacher-operation-root #teacher-live-stage[data-expanded=true]>[aria-label=キャプテンの接続状況]{grid-area:2/1;margin:0}.teacher-operation-root #teacher-live-stage[data-expanded=true]>.teacher-live-help,.teacher-operation-root #teacher-live-stage[data-expanded=true]>.teacher-live-options{grid-area:2;align-self:center;margin:0}.teacher-operation-root #teacher-live-stage[data-expanded=true]>.teacher-arena-preview{grid-row:3;height:auto}.teacher-operation-root #teacher-live-stage[data-expanded=true] [data-arena-field=fit]{grid-template-rows:auto minmax(0,1fr);grid-template-columns:clamp(190px,18vw,260px) minmax(0,1fr);max-width:none;height:100%;margin:0;display:grid}.teacher-operation-root #teacher-live-stage[data-expanded=true] [data-arena-field=fit]>header{border-right:1px solid var(--edge);grid-area:1/1}.teacher-operation-root #teacher-live-stage[data-expanded=true] [data-arena-field=fit]>[data-arena-part=scoreboard]{border-bottom:0;border-right:1px solid var(--edge);flex-direction:column;grid-area:2/1;display:flex}.teacher-operation-root #teacher-live-stage[data-expanded=true] [data-arena-field=fit]>[data-arena-part=scoreboard]>*{flex:none;height:auto;min-height:92px}.teacher-operation-root #teacher-live-stage[data-expanded=true] [data-arena-field=fit]>[data-arena-part=scoreboard] strong{font-size:16px}.teacher-operation-root #teacher-live-stage[data-expanded=true] [data-arena-field=fit]>[data-arena-part=scoreboard] b{font-size:40px}.teacher-operation-root #teacher-live-stage[data-expanded=true] [data-arena-field=fit]>[data-arena-playfield]{grid-area:1/2/-1;min-height:0}.teacher-operation-root #teacher-live-stage[data-expanded=true] [data-arena-field=fit]>:not(header):not([data-arena-part]):not([data-arena-playfield]){grid-column:1/-1}.teacher-operation-root:has(#teacher-live-stage[data-expanded=true]) .cockpit-next{z-index:45;height:var(--arena-footer);min-height:0;box-shadow:none;background:#05060d;border:0;border-top:1px solid #303951;align-items:center;padding:10px 24px;display:flex;position:fixed;bottom:0;left:0;right:0}.teacher-operation-root:has(#teacher-live-stage[data-expanded=true]) .cockpit-next .teacher-action-fallback:empty{display:none}.teacher-operation-root:has(#teacher-live-stage[data-expanded=true]) .cockpit-next>small{display:none}.teacher-operation-root:has(#teacher-live-stage[data-expanded=true]) .teacher-action-reason{display:none}.teacher-operation-root:has(#teacher-live-stage[data-expanded=true]) :is(.teacher-game-action,.teacher-phase-action){justify-content:space-between;align-items:center;gap:16px;width:100%;display:flex}.teacher-operation-root:has(#teacher-live-stage[data-expanded=true]) .teacher-action-primary{flex:none;min-width:280px}.teacher-operation-root:has(#teacher-live-stage[data-expanded=true]) .teacher-action-primary>.primary{min-height:44px;font-size:15px}.teacher-operation-root:has(#teacher-live-stage[data-expanded=true]) .teacher-action-alternatives{flex-wrap:wrap;gap:12px;display:flex}.teacher-operation-root:has(#teacher-live-stage[data-expanded=true]) .teacher-action-alternatives button{background:0 0;border:0;padding:6px 10px;font-size:14px}.teacher-operation-root:has(#teacher-live-stage[data-expanded=true]) :is(.cockpit-left,.cockpit-right,.cockpit-now,.cockpit-done,.cockpit-step){visibility:hidden}@media (max-width:820px){.teacher-operation-root #teacher-live-stage[data-expanded=true]{min-height:70vh;position:relative;inset:auto}.teacher-operation-root:has(#teacher-live-stage[data-expanded=true]) .cockpit-next{height:auto;position:static}.teacher-operation-root:has(#teacher-live-stage[data-expanded=true]) :is(.cockpit-left,.cockpit-right,.cockpit-now,.cockpit-done,.cockpit-step){visibility:visible}}.teacher-a2 .cockpit-right>.teacher-wait{overscroll-behavior:contain;flex:0 auto;overflow:auto}.teacher-a2 .cockpit-right>.teacher-wait:first-child{flex-shrink:0;max-height:min(32%,9rem)}.teacher-a2 .cockpit-right>.student-display-note{flex:none}
