.football-team-setup{padding:18px 0;border-top:1px solid #d4ddce}.team-mode-toggle{display:flex;gap:10px;align-items:center;font-weight:650;line-height:1.5}.team-mode-toggle input{width:20px;height:20px;accent-color:#28543a}.football-team-setup p,.roster-note{font-size:13px;line-height:1.6;color:#556a59}.football-team-setup details{margin:12px 0}.football-team-setup summary{cursor:pointer;margin-bottom:10px}.football-team-setup textarea{display:block;box-sizing:border-box;width:100%;min-width:0;font:inherit;font-size:14px;border:1px solid #b9c8b7;border-radius:10px;background:#fffef8;color:#173725;padding:10px;margin:6px 0 12px;resize:vertical}.football-team-setup button,.team-round-submit,.football-teacher-panel button{border:1px solid #779475;border-radius:10px;padding:12px 16px;background:#234e35;color:white;font:inherit;cursor:pointer}.roster-columns{display:grid;grid-template-columns:1fr 1fr;gap:10px}.roster-columns label{min-width:0;font-size:13px;font-weight:600}.football-teacher-panel{background:#fcfcf3;color:#183923;border-radius:18px;padding:22px;margin:20px 0}.football-teacher-panel h2{font-size:22px;margin:0 0 8px}.teacher-team-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.teacher-team-columns>section{min-width:0}.teacher-team-columns h3{font-size:18px}.student-check-row{padding:12px 0;border-top:1px solid #d5dfd0}.student-check-row strong{display:block;overflow-wrap:anywhere}.student-checks{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.student-checks label{font-size:12px;display:flex;flex-direction:column;gap:4px}.student-checks select{max-width:100%;font:inherit;font-size:14px;padding:9px 28px 9px 10px;border:1px solid #94a68e;border-radius:8px;background:white;color:#183923}.teacher-round-summary{font-size:16px;font-weight:600;line-height:1.5}.team-round-submit:disabled{opacity:.5;cursor:default}.football-teacher-panel[hidden],.football-team-setup [hidden],[hidden]#student-report{display:none!important}.done-actions{flex-wrap:wrap}.screen-wait{padding:15vh 24px;text-align:center;font:500 28px var(--ui-font)}.class-screen .game-content{margin:0 auto;padding:30px 0;justify-content:flex-start}.class-screen .question-card{cursor:default}.class-match-finished{text-align:center;font-size:28px}.class-screen .game-screen{min-height:100vh}.class-screen-status{padding:8px;text-align:center;background:#fcfcf3;color:#183923}.class-screen #screen-fullscreen{position:fixed;right:12px;bottom:12px;z-index:10;border:1px solid #8d9f8b;background:#183923;color:#fff;padding:10px;border-radius:8px;cursor:pointer}.class-screen:fullscreen #screen-fullscreen{display:none}@media(max-width:650px){.teacher-team-columns,.roster-columns{grid-template-columns:1fr}.football-teacher-panel{padding:16px}.class-screen .game-content{width:calc(100% - 24px)}}
/* The existing projector-sized grid has four rows; teacher checks need a scrolling layout. */
.football-page #game-screen.has-roster .game-content{display:flex;flex-direction:column;justify-content:flex-start;height:auto;min-height:0;gap:12px}
.football-page #game-screen.has-roster .game-content>section{flex-shrink:0}
.football-page #game-screen.has-roster .question-area{display:block;min-height:220px}
.football-page #game-screen.has-roster .question-grid{min-height:170px}
.football-page #game-screen.has-roster .game-actions{display:flex;justify-content:center}
.football-page.roster-setup-open #builder-screen,.football-page.roster-setup-open #builder-screen .config-panel,.football-page.roster-setup-open #builder-screen .task-panel{height:auto;max-height:none;overflow:visible}
.football-page.roster-setup-open #builder-screen .builder-grid,.football-page.roster-setup-open #builder-screen .main-layout{height:auto;max-height:none;overflow:visible}
.football-page.roster-setup-open #builder-screen .config-panel>.settings-rows{flex:none;overflow:visible}
.football-page.class-screen .game-content{grid-template-rows:auto auto minmax(220px,1fr);height:100vh}
.football-page.class-screen .question-area{grid-template-rows:auto minmax(0,1fr)}
@media(max-width:740px){.football-page #game-screen.has-roster .game-toolbar{height:auto;min-height:52px;flex-wrap:wrap;padding-block:8px}.football-page #game-screen.has-roster .game-toolbar-right{flex-wrap:wrap;gap:6px}.football-page.class-screen .game-content{height:auto;min-height:100vh}}
.football-page.class-screen .game-content{justify-content:stretch;width:calc(100% - 48px);max-width:1510px}
.football-page.class-screen .game-content:has(.class-match-finished){grid-template-rows:auto auto auto minmax(220px,1fr)}
