.game-header{max-width:1510px;min-height:76px;padding:12px 28px}.game-header h1{font-size:28px;letter-spacing:-.8px;margin:0}.game-header .brand{font-size:18px}.game-header nav{gap:8px}.game-header nav button{font-size:14px;min-height:48px;background:transparent;box-shadow:none}.game-shell{max-width:1480px;padding-top:0}.activity-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.activity-tabs{display:flex;gap:6px;background:#e8e2f7;padding:5px;border-radius:20px}.activity-tabs button{border:0;background:transparent;min-height:52px;min-width:135px;font-weight:750;box-shadow:none;display:flex;align-items:center;justify-content:center;gap:9px}.activity-tabs button.active{background:var(--purple);color:white;box-shadow:0 3px 0 #5336a5}.hint-toggle{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;min-height:48px;cursor:pointer}.hint-toggle input{width:23px;min-height:23px;accent-color:var(--purple);margin:0}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:30px;align-items:start}.timetable-panel{min-width:0;background:white;border:1px solid #d8e1ed;border-radius:25px;padding:16px 12px 5px;box-shadow:0 5px 0 #e0e6f0}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 9px 8px}.panel-header h2{font-size:24px;margin:0 0 3px}.panel-header p{color:var(--muted);font-size:15px;margin:0}#table-badge{font-size:13px;color:var(--muted)}.table-scroll{overflow:auto;padding:0 0 6px}table{width:100%;border-collapse:separate;table-layout:fixed;border-spacing:6px}thead th{font-size:16px;padding:7px 0 9px}thead th:first-child{width:65px;font-size:12px;color:var(--muted)}thead small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:2px}tbody th{font-size:14px;color:#56647d}td{padding:0}td button{width:100%;min-height:60px;border-radius:13px;padding:6px 4px;border:1px solid transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;line-height:1.1;box-shadow:0 3px 0 #273d5810;font-size:14px;color:#26364b}td button.selected{outline:3px solid var(--purple);outline-offset:0}td button small{font-size:11px;color:#47566c}.subject-symbol{font-size:23px;font-weight:800;line-height:1}.subject-name{font-weight:700}.violet{background:#e9e0fb!important}.blue{background:#deebfe!important}.mint{background:#d9f2e5!important}.coral{background:#ffe2d5!important}.sand{background:#f9edc6!important}.pink{background:#fbddea!important}.lilac{background:#eae0fb!important}.orange{background:#ffe5ca!important}.cyan{background:#d9eff2!important}.sage{background:#e9edda!important}.rose{background:#f9dcdf!important}.grey{background:#edf0f7!important}.empty{background:#f0f3f8!important;color:#66718a}.lunch-row td{height:22px;background:#f4f6fb;border-radius:8px;text-align:center;font-size:12px;color:var(--muted);padding:3px}.source-details{padding:0 10px;font-size:14px;color:var(--muted)}.source-details summary{cursor:pointer;min-height:36px;font-size:13px;padding:7px 0}.source-details p{margin:5px 0 12px}.activity-panel{padding:4px 0;min-width:0}.activity-panel .eyebrow{font-size:12px;letter-spacing:1px;margin:0 0 11px}.level-choices{display:flex;gap:5px;margin:0 0 19px;align-items:center}.level-choices button{flex:1;min-height:48px;border:1px solid transparent;background:#ece7f6;padding:6px;font-size:13px;line-height:1.1;border-radius:13px;box-shadow:none}.level-choices button strong{font-size:17px;display:block;margin-bottom:3px}.level-choices button[aria-pressed=true]{background:white;border:2px solid #8061d4;box-shadow:0 2px 0 #d4c6ed;color:#5b35b6}.question-number{font-size:13px;color:var(--purple);font-weight:750}.question{font-size:30px!important;line-height:1.2;letter-spacing:-.7px;margin:8px 0 20px!important}.options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.options button{min-height:62px;border:2px solid #d5dce9;border-radius:17px;text-align:center;font-size:18px;font-weight:750;padding:11px 7px;box-shadow:0 4px 0 #dce2ec}.options button.correct{background:#e0f4e8;border-color:#3a8062;box-shadow:0 3px 0 #8dbba7}.options button.retry{background:#fff0d2;border-color:#b1802d;box-shadow:0 3px 0 #d7ba84}.feedback{font-size:17px;font-weight:750;margin:12px 0 5px}.feedback:empty{display:none}.feedback.good{color:#23684e}.feedback.try{color:#805114}.quiet-actions{display:flex;gap:7px;margin-top:17px}.quiet-actions button{flex:1;padding:10px 7px;font-size:15px;font-weight:700;min-height:48px;background:transparent;border-color:#d1c4eb;box-shadow:none}.primary.wide{width:100%;min-height:60px;margin-top:12px;font-size:20px;font-weight:800}.answer-model{padding:12px 15px;background:#e1f1e8;border-radius:16px;margin-top:12px;font-size:17px;color:#245a44}.answer-model strong{display:none}.answer-model p{margin:0}.answer-model .wide{min-height:44px;margin-top:9px;padding:6px 12px;font-size:16px}.tip{background:#eee8f8;color:#59457b;border-radius:15px;padding:12px 15px;font-size:15px;margin:12px 0 0}.tip p{font-size:15px;margin:0}.activity-panel>p.muted{font-size:15px;margin-bottom:14px}.answer-input{width:100%;min-height:52px;margin:0 0 5px;background:white}.level-label{display:block;font-size:14px;font-weight:700;margin-bottom:6px}.word-bank,.sentence-output{display:flex;flex-wrap:wrap;gap:7px;min-height:56px;align-items:start}.word-bank{margin:13px 0}.word-bank button,.sentence-output button{min-height:48px;padding:10px 12px;font-size:17px;background:white}.sentence-output{border:2px dashed #baa6df;background:#f4f0fc;padding:10px;border-radius:15px}.sentence-output:empty:before{content:'Tap the words to build it.';color:var(--muted);font-size:15px}.sentence-output button{background:#e8def8;border-color:#bba6dc}.explore-icon{font-size:44px;width:80px;height:80px;border-radius:24px;display:grid;place-items:center;margin:4px 0 16px}.activity-panel h2:not(.question){font-size:29px;margin:0 0 9px}.activity-panel p{font-size:16px}.detail-line{display:flex;gap:12px;align-items:center;margin:10px 0}.detail-line strong,.detail-line span{display:block}.detail-line span{font-size:14px;color:var(--muted)}.detail-line .detail-icon{font-size:23px;color:var(--purple)}.activity-panel>.wide{width:100%;min-height:52px}.palette{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0}.palette button{font-size:12px;line-height:1.1;padding:6px 4px;min-height:57px;border:2px solid transparent}.palette button span{display:block;font-size:20px;margin-bottom:3px}.palette button[aria-pressed=true]{border-color:var(--purple);outline:2px solid #d2c4ed}.builder-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.builder-actions button{min-height:48px;font-size:15px;padding:9px}.builder-actions .wide{grid-column:1/-1}.builder-settings{margin-top:12px;font-size:14px}.builder-settings summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:700;color:var(--purple)}.builder-settings .builder-actions{padding:0 0 12px}.time-edit{width:90px;min-height:48px;font-size:14px;padding:7px 4px}table.editing thead th:first-child{width:97px}.game-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:13px;color:var(--muted);padding-top:14px}.game-footer strong{font-weight:400}.game-footer details{font-size:13px}.game-footer summary{cursor:pointer;min-height:32px;padding:6px}.game-footer details button{font-size:14px;margin-top:7px}.day-jump{display:none}.days-panel{max-width:850px;margin:8px auto 0;padding:20px 28px;text-align:center}.days-panel>.eyebrow{font-size:13px}.days-panel h2{font-size:36px}.days-panel .level-choices{max-width:400px;margin:0 auto 22px}.days-panel .question{font-size:37px!important}.day-options{display:flex;gap:13px;flex-wrap:wrap;justify-content:center;margin:25px 0}.day-options button{font-size:23px;min-height:70px;border:2px solid #c8b6e7;box-shadow:0 4px 0 #d5c8ec;padding:14px 24px}.day-options small{display:block;font-size:15px;margin-top:4px}.days-controls{display:flex;gap:10px;justify-content:center;margin-top:16px}.days-controls button{min-height:56px}.day-order{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;background:#ede7fa;border:2px dashed #b89adf;border-radius:22px;padding:20px;min-height:90px;margin:20px 0}.day-order:empty:before{content:'Start with Monday.';color:var(--muted)}.day-order button{min-height:56px;background:white;font-size:20px}.days-panel .feedback{font-size:21px}.days-panel .answer-input{max-width:600px}.days-panel .wide{display:block;max-width:600px;margin:12px auto}.workspace.build-layout{grid-template-columns:minmax(0,1fr) 355px}.toast:not(:empty){padding:6px 0 10px}.board-mode .game-header nav button,.board-mode .activity-tabs button{min-height:56px}.board-mode .level-choices button{min-height:52px}.board-mode .question{font-size:34px!important}.board-mode .options button{min-height:64px;font-size:21px}.board-mode .quiet-actions button{min-height:56px;font-size:16px}.board-mode .primary.wide{min-height:64px;font-size:23px}.board-mode td button{min-height:60px;font-size:16px}.board-mode .subject-symbol{font-size:25px}.board-mode thead th{font-size:17px}.board-mode .source-details,.board-mode .game-footer{display:none}
@media(min-width:1600px){.game-shell{max-width:1650px}.game-header{max-width:1700px}.workspace{grid-template-columns:minmax(0,1fr) 390px;gap:38px}td button{min-height:74px;font-size:17px}td button small{font-size:13px}.subject-symbol{font-size:27px}.question{font-size:36px!important}.board-mode td button{min-height:78px;font-size:19px}.board-mode .question{font-size:40px!important}.board-mode .options button{min-height:72px}.level-choices button{font-size:15px;min-height:54px}}
@media(max-width:1100px){.workspace,.workspace.build-layout{grid-template-columns:minmax(0,1fr) 310px;gap:18px}.game-shell{padding:0 20px 20px}.game-header{padding:10px 20px}.activity-tabs button{min-width:115px;font-size:16px}thead th{font-size:14px}td button{font-size:12px}thead th:first-child{width:54px}.question{font-size:27px!important}.options button{font-size:16px}.palette{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.workspace,.workspace.build-layout{display:flex;flex-direction:column;gap:18px}.activity-panel{order:-1;width:100%;padding:0}.timetable-panel{width:100%}.activity-panel .level-choices{max-width:390px;margin:0 0 10px}.question{font-size:30px!important;margin-bottom:14px!important}.options{grid-template-columns:repeat(4,1fr)}.quiet-actions{display:inline-flex;gap:7px;margin-top:12px;max-width:400px}.quiet-actions button{min-width:86px}.activity-panel .primary.wide{display:inline-flex;width:auto;min-width:180px;margin-left:12px;align-items:center;justify-content:center;vertical-align:bottom}.palette{grid-template-columns:repeat(4,1fr)}.build-layout .activity-panel{order:1}.explore-icon{float:left;margin-right:18px}.detail-line{display:inline-flex;margin:10px 25px 10px 0}.activity-panel>.wide{width:auto;padding-left:20px;padding-right:20px}.day-options button{font-size:20px}.activity-panel .eyebrow{display:none}td button{font-size:14px;min-height:60px}}
@media(max-width:600px){.game-header{padding:9px 14px;gap:8px;min-height:64px;flex-wrap:wrap}.game-header .brand{font-size:0;gap:0}.game-header .brand span:last-child{font-size:14px;margin-left:6px}.game-header h1{font-size:21px;letter-spacing:-.7px}.game-header nav{width:100%;justify-content:flex-end;gap:7px}.game-header nav button{font-size:12px;min-height:38px;padding:7px 10px}.game-shell{padding:0 13px 15px}.activity-bar{gap:8px;margin-bottom:12px}.activity-tabs{width:100%;gap:2px;padding:4px}.activity-tabs button{min-width:0;flex:1;min-height:52px;font-size:16px;padding:6px 4px;flex-direction:column;gap:0}.activity-tabs button span{font-size:12px;white-space:nowrap}.hint-toggle{font-size:12px;gap:4px;flex-direction:column}.hint-toggle input{width:22px;min-height:22px}.activity-panel .level-choices{margin-bottom:10px;max-width:100%;gap:5px}.level-choices button{min-height:44px;font-size:12px;padding:5px}.level-choices button strong{font-size:15px;display:inline;margin-right:4px}.question-number{font-size:12px}.question{font-size:25px!important;line-height:1.2;margin:6px 0 12px!important}.options{grid-template-columns:repeat(2,1fr);gap:8px}.options button{min-height:52px;font-size:17px;padding:8px}.quiet-actions{display:flex;max-width:none;gap:7px;margin-top:10px}.quiet-actions button{min-width:0;min-height:44px;font-size:14px;padding:7px}.activity-panel .primary.wide{display:flex;width:100%;min-height:54px;font-size:18px;margin:10px 0 0}.feedback{font-size:16px;margin:10px 0 0}.workspace{gap:15px}.timetable-panel{padding:12px 6px 2px;border-radius:21px}.panel-header{padding:0 8px 6px}.panel-header h2{font-size:22px}.panel-header p{font-size:13px}#table-badge{display:none}.day-jump{display:flex;gap:4px;padding:4px 6px 6px;justify-content:space-between}.day-jump button{flex:1;min-width:0;min-height:44px;padding:7px 3px;font-size:14px;border:0;border-radius:12px;background:#eee8fa;box-shadow:none;font-weight:700}.day-jump button[aria-pressed=true]{background:var(--purple);color:white}.table-scroll{padding:0}table{border-spacing:5px;min-width:0}thead th:first-child{width:69px}thead th{font-size:17px;padding:6px 0}thead th small{display:none}td button{font-size:18px;min-height:53px;flex-direction:row;justify-content:flex-start;gap:12px;padding:8px 15px}td button small{margin-left:auto;font-size:12px;max-width:90px}.subject-symbol{font-size:24px}.subject-name{font-size:16px;text-align:left}tbody th{font-size:14px}.lunch-row td{font-size:11px;height:20px}.source-details summary{font-size:12px;min-height:35px}.mobile-focus [data-day]:not(.shown-day){display:none}.week-view table{min-width:640px}.week-view td button{font-size:13px;flex-direction:column;padding:6px;gap:3px}.week-view td button small{margin-left:0}.week-view .subject-name{font-size:13px;text-align:center}.game-footer{padding-top:12px;font-size:12px}.days-panel{padding:10px 3px}.days-panel h2{font-size:29px}.days-panel .question{font-size:29px!important}.day-options{gap:10px;margin:18px 0}.day-options button{font-size:20px;min-height:62px;padding:12px 18px}.day-options small{font-size:13px}.days-controls{gap:7px}.days-controls button{font-size:14px;padding:9px;min-height:48px}.day-order{padding:13px;gap:8px}.day-order button{font-size:17px;min-height:50px}.palette{grid-template-columns:repeat(3,1fr)}.build-layout .activity-panel{order:1}.explore-icon{float:left;width:66px;height:66px;font-size:36px}.detail-line{margin:6px 15px 8px 0}.activity-panel .answer-model{font-size:16px}.board-mode .question{font-size:28px!important}.board-mode .game-header nav button{min-height:40px}.board-mode td button{min-height:56px}.board-mode .primary.wide{font-size:20px;min-height:58px}.board-mode .quiet-actions button{min-height:48px;font-size:14px}.board-mode .activity-tabs button{min-height:52px}}
@media(max-height:820px) and (min-width:1001px){.game-header{min-height:62px;padding-top:7px;padding-bottom:7px}.activity-bar{margin-bottom:12px}.timetable-panel{padding-top:12px}.panel-header{padding-bottom:5px}.panel-header h2{font-size:22px}.panel-header p{font-size:13px}td button,.board-mode td button{min-height:56px}.subject-symbol,.board-mode .subject-symbol{font-size:22px}td button small{font-size:10px}.board-mode td button{font-size:14px}thead th{padding-top:4px;padding-bottom:7px}.level-choices{margin-bottom:13px}.question{font-size:28px!important}.board-mode .question{font-size:30px!important}.options button,.board-mode .options button{min-height:58px;font-size:18px}.quiet-actions{margin-top:12px}.quiet-actions button,.board-mode .quiet-actions button{min-height:52px}.primary.wide,.board-mode .primary.wide{min-height:60px;font-size:21px}.answer-model{font-size:16px;margin-top:9px;padding:10px 12px}.source-details summary{min-height:30px}.game-footer{padding-top:9px}}

.subject-icon{width:25px;height:25px;flex:none;display:block;color:#354968}.palette .subject-icon{width:24px;height:24px;margin:0 auto 4px}.options .subject-icon{width:29px;height:29px;margin:0 auto 6px}.options .answer-subject{padding:9px 7px}.board-mode .toast{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.board-mode td button small,.board-mode thead th small,.board-mode .panel-header p{display:none}
@media(max-height:820px) and (min-width:1001px){.board-mode .subject-icon{width:23px;height:23px}.board-mode td button{min-height:56px}.board-mode .panel-header{padding-bottom:4px}.board-mode .timetable-panel{padding-top:10px}.board-mode thead th{padding-bottom:6px}.board-mode .options .subject-icon{width:24px;height:24px;margin-bottom:3px}}
@media(max-width:600px){.subject-icon{width:25px;height:25px}.options .subject-icon{width:23px;height:23px;margin:0 auto 3px}.options .answer-subject{font-size:16px}.week-view .subject-icon{width:23px;height:23px}.board-mode td button small{display:none}}

.board-mode .answer-model{display:flex;align-items:center;gap:8px}.board-mode .answer-model p{flex:1}.board-mode .answer-model .wide{width:auto;min-width:90px;max-width:110px;margin:0;min-height:44px;font-size:14px;padding:7px}
@media(max-width:600px){.game-header{flex-wrap:nowrap;gap:8px}.game-header h1{font-size:19px;white-space:nowrap}.game-header nav{width:auto;flex-shrink:0;margin-left:auto}.game-header nav button{white-space:nowrap}.game-header #board{font-size:0}.game-header #board:before{content:'Board';font-size:12px}.game-header #fullscreen{font-size:12px;padding:8px}.game-header .brand-mark{width:29px;height:29px;font-size:13px}.game-header .brand span:last-child{display:none}.game-header .brand{min-height:44px}.mobile-focus td button{width:100%}}

.workspace>#timetable-panel{grid-column:1;grid-row:1}.workspace>#activity-panel{grid-column:2;grid-row:1}.board-mode .activity-panel>.eyebrow,.board-mode .board-instruction{display:none}.board-mode .quiet-actions button{min-height:56px}.board-mode .options .answer-subject{display:flex;align-items:center;justify-content:center;gap:7px}.board-mode .options .answer-subject .subject-icon{margin:0;flex:none}.board-mode .panel-header p.translation-visible{display:block;font-size:14px}.source-details summary,.game-footer summary{min-height:44px}.hint-toggle{min-width:44px}
@media(max-width:900px){.build-layout .activity-panel{order:-1}}
@media(max-width:600px){.game-header nav button,.board-mode .game-header nav button{min-height:44px}.source-details summary{min-height:44px}.build-layout .activity-panel{order:-1}}
@media(max-height:820px) and (min-width:1001px){.source-details summary{min-height:44px}.board-mode .options button{min-height:56px}.board-mode .activity-panel>.explore-icon{float:left;margin-right:15px;margin-bottom:8px}}

.explore-icon .subject-icon{width:46px;height:46px}.board-mode td button{flex-direction:row;gap:8px;padding:8px}.board-mode td .subject-name{text-align:left}.feedback:not(:empty){animation:feedback-in .18s ease-out}@keyframes feedback-in{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-height:820px) and (min-width:1001px){.board-mode td button{font-size:16px}.board-mode .subject-icon{width:22px;height:22px}}
@media(max-width:600px){.game-header .brand span:last-child{display:inline;font-size:13px;margin-left:5px}}
@media(prefers-reduced-motion:reduce){.feedback:not(:empty){animation:none}}
