*{box-sizing:border-box}:root{--ink: #162033;--muted: #60728a;--line: rgba(124, 154, 187, .18);--paper: rgba(255, 255, 255, .9);--paper-strong: #fff;--blue: #4f7cff;--green: #10b981;--pink: #ec4899;--amber: #f59e0b;--violet: #8b5cf6;--radius-lg: 22px;--radius-md: 16px;--shadow-soft: 0 18px 44px rgba(58, 91, 132, .13);--shadow-card: 0 10px 26px rgba(58, 91, 132, .1)}body{margin:0;min-width:320px;background:#e8f7ff;color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision}button,textarea{font:inherit}button{border:0}.app{min-height:100vh;padding:18px 16px calc(112px + env(safe-area-inset-bottom));background:linear-gradient(135deg,rgba(255,255,255,.34) 0 12%,transparent 12% 100%),linear-gradient(180deg,#aeeaff,#eaf8ff 45%,#fff7e6)}.hero-band{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:stretch;margin:0 auto 14px;max-width:980px;padding:16px;border:1px solid var(--line);border-radius:26px;background:linear-gradient(135deg,#ffffffeb,#f4fbffd6);box-shadow:var(--shadow-soft)}.hero-copy{min-width:0}.eyebrow{display:inline-flex;padding:5px 10px;border-radius:999px;background:#eef5ff;color:#3f5f7d;font-size:12px;font-weight:800}.hero-band h1{margin:8px 0 4px;color:#17345d;font-size:34px;line-height:1.08;letter-spacing:0}.hero-band p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.hero-summary{display:grid;grid-template-columns:repeat(3,76px);gap:8px;align-content:stretch}.hero-summary div{display:grid;align-content:center;min-height:74px;padding:10px;border:1px solid rgba(79,124,255,.12);border-radius:18px;background:#f7fbff}.hero-summary span{color:var(--muted);font-size:11px;font-weight:900;white-space:nowrap}.hero-summary strong{margin-top:3px;color:var(--ink);font-size:25px;line-height:1}.role-button,.install-button,.reset-button,.upload-card button,.teacher-input button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 14px;border-radius:999px;background:var(--ink);color:#fff;font-weight:800;box-shadow:0 10px 24px #17203324;cursor:pointer}.hero-actions{display:grid;align-content:center;gap:8px}.install-button{background:var(--blue)}.install-button:disabled{cursor:default;opacity:.72}.teacher-input button:disabled{cursor:wait;opacity:.74}.score-strip,.page-stack,.teacher-page{max-width:980px;margin:0 auto}.score-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.metric-card{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:18px;background:var(--paper);box-shadow:var(--shadow-card)}.metric-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:14px;background:color-mix(in srgb,var(--accent) 18%,white);color:var(--accent);font-size:18px}.metric-card span,.main-progress span,.reward-progress span,.shop-head span{display:block;color:#6f8298;font-size:12px;font-weight:700}.metric-card strong{display:block;margin-top:3px;color:var(--ink);font-size:19px;line-height:1.1}.page-stack{display:flex;flex-direction:column;gap:14px}.island-home{gap:12px}.home-top-grid,.home-bottom-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:12px}.main-progress,.reward-progress,.mini-panel,.teacher-rules,.upload-card,.shop-head,.admin-panel,.week-card,.review-card,.review-item{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--paper);box-shadow:var(--shadow-soft)}.main-progress{display:flex;justify-content:space-between;gap:16px;align-items:center;min-height:128px;padding:18px}.main-progress h2{margin:5px 0 0;color:#17345d;font-size:22px;line-height:1.25;letter-spacing:0}.reward-progress{display:grid;align-content:center;min-height:128px;padding:18px}.reward-progress strong{display:block;margin:4px 0;color:#172033;font-size:18px}.reward-progress p,.main-progress p,.mini-panel p,.teacher-rules p,.upload-card p,.shop-head p,.admin-panel p{margin:0;color:#61758f;font-size:13px;line-height:1.6}.home-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:2px 4px 0}.home-section-head span{display:block;color:#6f8298;font-size:12px;font-weight:900}.home-section-head h2{margin:3px 0 0;color:#17345d;font-size:20px;line-height:1.2}.home-section-head b{flex:0 0 auto;padding:6px 10px;border-radius:999px;background:#eef5ff;color:#35506e;font-size:12px;font-weight:900}.zone-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.zone-card{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center;min-height:96px;padding:14px;border:1px solid color-mix(in srgb,var(--accent) 18%,white);border-radius:20px;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 13%,white),#fff 78%);color:var(--ink);box-shadow:var(--shadow-card);cursor:pointer;text-align:left;transition:transform .16s ease,box-shadow .16s ease}.zone-card:active{transform:translateY(1px) scale(.99)}.zone-card span{display:grid;place-items:center;width:42px;height:42px;border-radius:15px;background:var(--accent);color:#fff;font-size:20px}.zone-card div{min-width:0}.zone-card strong,.upload-card strong,.teacher-rules strong,.admin-panel h2{color:var(--ink);font-size:17px;letter-spacing:0}.zone-card strong{display:block;overflow-wrap:anywhere}.zone-card em,.task-row em,.reward-card em,.mistake em{display:block;margin-top:4px;color:#61758f;font-size:12px;font-style:normal;line-height:1.45}.zone-card i{display:none;justify-self:end;padding:5px 8px;border-radius:999px;background:color-mix(in srgb,var(--accent) 12%,white);color:var(--accent);font-size:11px;font-style:normal;font-weight:900}.zone-card.featured{grid-column:1 / -1;grid-template-columns:48px minmax(0,1fr) auto;min-height:88px;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 18%,white),#fff 72%)}.zone-card.featured span{width:48px;height:48px;border-radius:17px}.zone-card.featured i{display:inline-flex}.mini-panel{padding:15px}.week-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;align-items:center;padding:15px}.week-card>div{display:flex;align-items:center;gap:8px;color:#6f8298;font-size:12px;font-weight:800}.week-card>div .anticon{color:#4f7cff;font-size:18px}.week-card strong{color:#172033;font-size:24px;line-height:1}.week-card p{grid-column:1 / -1;margin:0;color:#61758f;font-size:13px}.mini-panel strong{display:block;margin-bottom:3px;color:#172033}.task-group-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:4px 2px 9px}.task-group-head h2{margin:0;color:#17345d;font-size:18px}.task-group-head p{margin:3px 0 0;color:var(--muted);font-size:12px;font-weight:800}.task-group-head>span{flex:0 0 auto;padding:6px 10px;border-radius:999px;background:#eef5ff;color:#35506e;font-size:12px;font-weight:900}.task-list,.mistake-list,.reward-list{display:flex;flex-direction:column;gap:10px}.task-row,.mistake,.reward-card{display:grid;align-items:center;gap:10px;width:100%;min-height:72px;padding:12px;border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--ink);box-shadow:var(--shadow-card);cursor:pointer;text-align:left}.task-row{grid-template-columns:42px minmax(0,1fr) auto}.task-row.done{border-color:color-mix(in srgb,var(--accent) 24%,white);background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 14%,white),#fff)}.check-dot{display:grid;place-items:center;width:40px;height:40px;border-radius:15px;background:color-mix(in srgb,var(--accent) 15%,white);color:var(--accent);font-weight:900}.task-row strong,.mistake strong,.reward-card strong{display:block;color:#172033;font-size:15px;line-height:1.25}.task-row b{color:var(--accent);font-size:15px}.teacher-page{display:flex;flex-direction:column;gap:12px}.teacher-simple{gap:10px}.teacher-simple-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(135deg,#fff,#f7fbff);box-shadow:var(--shadow-card)}.teacher-simple-head strong{display:block;color:var(--ink);font-size:20px;line-height:1.2}.teacher-simple-head p{margin:4px 0 0;color:var(--muted);font-size:12px;font-weight:800}.teacher-simple .mode-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.teacher-simple .chat-box{min-height:260px;max-height:42vh}.teacher-simple .photo-tools{grid-template-columns:88px 88px minmax(0,1fr)}.teacher-rules,.upload-card{display:flex;align-items:center;gap:12px;padding:15px}.teacher-status-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto}.teacher-rules>.anticon,.upload-card>.anticon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:16px;background:#efeaff;color:#8b5cf6;font-size:21px}.teacher-avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:18px;background:#efeaff;color:var(--violet);font-size:23px}.teacher-status-pill{display:grid;justify-items:center;align-content:center;min-width:68px;min-height:54px;padding:8px 10px;border-radius:18px;background:#f7fbff}.teacher-status-pill span{color:var(--muted);font-size:11px;font-weight:900}.teacher-status-pill b{color:var(--ink);font-size:22px;line-height:1}.mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.mode{min-height:42px;padding:0 8px;border:1px solid var(--line);border-radius:14px;background:var(--paper);color:#52667f;font-size:13px;font-weight:800;cursor:pointer}.mode.active{background:var(--ink);color:#fff;box-shadow:0 10px 20px #16203326}.chat-box{display:flex;flex-direction:column;gap:10px;min-height:260px;max-height:42vh;overflow:auto;padding:14px;border:1px solid var(--line);border-radius:var(--radius-lg);background:#f7fbffdb}.bubble{max-width:86%;padding:10px 12px;border-radius:16px;font-size:14px;line-height:1.55}.bubble>span{display:block;white-space:pre-wrap}.bubble.teacher{align-self:flex-start;background:#fff;color:#243247;box-shadow:0 8px 20px #3a5b8414}.bubble.child{align-self:flex-end;background:var(--blue);color:#fff}.bubble-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.bubble-actions button{display:inline-flex;align-items:center;gap:4px;min-height:30px;padding:0 10px;border-radius:999px;background:#eef5ff;color:#4f7cff;font-size:12px;font-weight:900;cursor:pointer}.teacher-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.teacher-flow div{display:flex;align-items:center;gap:7px;min-height:42px;padding:7px 9px;border:1px solid var(--line);border-radius:14px;background:var(--paper);color:#35506e;font-size:12px;font-weight:900}.teacher-flow strong{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:10px;background:var(--blue);color:#fff}.prompt-chip-row{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.prompt-chip-row button{min-height:36px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:var(--paper);color:#35506e;font-size:13px;font-weight:900;white-space:nowrap;cursor:pointer}.learning-actions,.follow-up-row{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.learning-actions button,.follow-up-row button{min-height:38px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#35506e;font-size:13px;font-weight:900;cursor:pointer;white-space:nowrap}.learning-actions button{background:#172033;color:#fff}.learning-actions button:nth-child(2){background:var(--blue)}.learning-actions button:nth-child(3){background:var(--green)}.learning-actions button:nth-child(4){background:var(--amber)}.follow-up-row button{background:#fff7ed;color:#8a4d00}.speech-tools{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:8px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:18px;background:#ffffffb8}.speech-tools button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:0 12px;border-radius:999px;background:var(--ink);color:#fff;font-size:12px;font-weight:900;cursor:pointer;white-space:nowrap}.speech-tools button.active{background:var(--green)}.speech-tools button:disabled{cursor:default;opacity:.48}.speech-tools span{overflow:hidden;color:#61758f;font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.voice-dialog-panel{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:var(--radius-lg);background:linear-gradient(135deg,#f7fbff,#fff);box-shadow:var(--shadow-card)}.voice-dialog-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.voice-dialog-head strong{display:block;color:var(--ink);font-size:16px}.voice-dialog-head p{margin:3px 0 0;color:var(--muted);font-size:12px;line-height:1.55}.voice-dialog-head button{flex:0 0 auto;min-height:34px;padding:0 11px;border-radius:999px;background:var(--ink);color:#fff;font-size:12px;font-weight:900;cursor:pointer}.voice-dialog-head button.active{background:var(--green)}.voice-orb{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;width:100%;min-height:58px;padding:10px 14px;border-radius:20px;background:var(--blue);color:#fff;font-weight:900;cursor:pointer;text-align:left;box-shadow:0 14px 30px #4f7cff3d}.voice-orb:disabled{cursor:wait;opacity:.72}.voice-orb .anticon{display:grid;place-items:center;width:42px;height:42px;border-radius:16px;background:#ffffff38;font-size:22px}.voice-orb span{font-size:17px;line-height:1.1}.voice-orb.listening{background:var(--pink);box-shadow:0 14px 30px #ec489938}.voice-dialog-status{display:grid;gap:4px;padding:10px;border-radius:16px;background:#f7fbff}.voice-dialog-status span{color:#35506e;font-size:12px;font-weight:900}.voice-dialog-status p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.photo-tools{display:grid;grid-template-columns:88px 88px minmax(0,1fr);gap:9px;align-items:center}.photo-tools label{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;border-radius:999px;background:var(--blue);color:#fff;font-size:13px;font-weight:900;cursor:pointer;overflow:hidden}.photo-tools label:nth-child(2){background:var(--green)}.photo-tools input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.photo-preview{display:grid;grid-template-columns:54px minmax(0,1fr) 38px;gap:8px;align-items:center;min-height:54px;padding:6px;border-radius:16px;background:#ffffffd6}.photo-preview img{width:54px;height:42px;border-radius:12px;object-fit:cover}.photo-preview span{overflow:hidden;color:#35506e;font-size:12px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.photo-preview button{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ec4899;color:#fff;cursor:pointer}.teacher-input{display:grid;grid-template-columns:minmax(0,1fr) 76px 82px;gap:9px}.teacher-input textarea{width:100%;resize:none;border:1px solid var(--line);border-radius:18px;padding:12px;outline:0;background:#fff;color:var(--ink);line-height:1.5}.teacher-input .voice-button{background:var(--violet);flex-direction:column;gap:2px;padding:0 8px}.teacher-input .voice-button.listening{background:var(--pink)}.voice-hint{margin:-3px 2px 0;color:#61758f;font-size:12px;line-height:1.6}.upload-card{justify-content:space-between}.upload-card>div{flex:1}.mistake-dashboard{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.mistake-dashboard div{min-height:70px;padding:12px;border-radius:18px;background:#ffffffdb;box-shadow:0 12px 30px #48719a1a}.mistake-dashboard span{display:block;color:#61758f;font-size:12px;font-weight:900}.mistake-dashboard strong{display:block;margin-top:3px;color:#172033;font-size:26px;line-height:1}.subject-review-strip{display:flex;flex-wrap:wrap;gap:8px}.subject-review-strip span{padding:8px 10px;border-radius:999px;background:#eef5ff;color:#35506e;font-size:12px;font-weight:900}.review-plan{display:grid;gap:10px;padding:14px;border-radius:20px;background:#ffffffc7;box-shadow:0 12px 30px #48719a1a}.review-plan-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.review-plan-head strong{display:block;color:#172033;font-size:16px}.review-plan-head p,.empty-plan{margin:3px 0 0;color:#61758f;font-size:12px;line-height:1.55}.review-plan-head>span{flex:0 0 auto;padding:8px 10px;border-radius:999px;background:#ec4899;color:#fff;font-size:12px;font-weight:900}.review-plan-list{display:grid;gap:8px}.review-plan-list article{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:58px;padding:10px;border-radius:16px;background:#f7fbff}.review-plan-list article>span{display:grid;place-items:center;width:38px;height:38px;border-radius:14px;background:#eef5ff;color:#4f7cff;font-size:12px;font-weight:900}.review-plan-list strong{display:block;overflow:hidden;color:#172033;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.review-plan-list em{display:block;margin-top:3px;color:#61758f;font-size:12px;font-style:normal;font-weight:800}.review-plan-list button{min-height:34px;padding:0 11px;border-radius:999px;background:#10b981;color:#fff;font-size:12px;font-weight:900;cursor:pointer;white-space:nowrap}.mistake{grid-template-columns:50px minmax(0,1fr) auto;align-items:flex-start;cursor:default}.mistake span{display:grid;place-items:center;width:42px;height:42px;border-radius:15px;background:#eef5ff;color:#4f7cff;font-weight:900}.mistake b{color:#ec4899;font-size:12px}.mistake p{display:-webkit-box;margin:8px 0 0;overflow:hidden;color:#35506e;font-size:12px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:3}.mistake-actions{display:grid;justify-items:end;gap:6px;min-width:92px}.mistake-actions small{color:#61758f;font-size:11px;font-weight:900;white-space:nowrap}.mistake-actions button{min-height:30px;padding:0 9px;border-radius:999px;background:#4f7cff;color:#fff;font-size:12px;font-weight:900;cursor:pointer;white-space:nowrap}.mistake-actions button:last-child{background:#172033}.mistake.mastered{opacity:.72}.mistake.mastered b{color:#10b981}.admin-due-list{display:grid;gap:8px;margin-top:12px}.admin-due-list span{padding:9px 10px;border-radius:12px;background:#f7fbff;color:#35506e;font-size:12px;font-weight:900}.shop-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px}.shop-head strong{display:block;color:#172033;font-size:32px;line-height:1}.reward-card{grid-template-columns:46px minmax(0,1fr) auto;position:relative}.reward-card span{display:grid;place-items:center;width:42px;height:42px;border-radius:15px;background:color-mix(in srgb,var(--accent) 16%,white);color:var(--accent);font-size:20px}.reward-card b{color:var(--accent);font-size:13px;white-space:nowrap}.reward-card i{grid-column:2 / -1;justify-self:start;max-width:100%;padding:5px 9px;border-radius:999px;background:color-mix(in srgb,var(--accent) 12%,white);color:var(--accent);font-size:12px;font-style:normal;font-weight:900;line-height:1.35}.reward-card.locked i{background:#f3f6fa;color:#60728a}.reward-card.used{opacity:.62}.admin-panel{padding:16px}.admin-panel h2{margin:0 0 12px}.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rule-list{display:flex;flex-wrap:wrap;gap:8px}.rule-list span{padding:8px 10px;border-radius:999px;background:#eef5ff;color:#35506e;font-size:12px;font-weight:800}.review-card{padding:16px}.review-card h2{margin:0 0 6px;color:#172033;font-size:18px}.review-card p,.review-list p,.review-item p{margin:0;color:#61758f;font-size:13px;line-height:1.6}.review-fields{display:flex;flex-direction:column;gap:10px;margin-top:14px}.review-fields label{display:flex;flex-direction:column;gap:6px}.review-fields span{color:#35506e;font-size:13px;font-weight:800}.review-fields textarea{width:100%;resize:vertical;border:1px solid var(--line);border-radius:14px;padding:10px;outline:0;background:#fff;color:var(--ink);line-height:1.5}.submit-review{display:inline-flex;justify-content:center;align-items:center;width:100%;min-height:44px;margin-top:14px;border-radius:16px;background:var(--pink);color:#fff;font-weight:900;cursor:pointer}.review-list{display:flex;flex-direction:column;gap:10px}.review-item{padding:14px}.review-item strong{display:block;margin-bottom:4px;color:#172033}.week-table{display:grid;gap:8px;margin-top:12px}.week-table div{display:grid;grid-template-columns:56px 1fr auto;gap:8px;align-items:center;min-height:34px;padding:0 10px;border-radius:12px;background:#f7fbff}.week-table span{color:#61758f;font-size:12px;font-weight:800}.week-table strong{color:#172033;font-size:13px}.week-table em{color:#4f7cff;font-size:12px;font-style:normal;font-weight:800}.teacher-log-list{display:grid;gap:10px}.teacher-log{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:16px;background:#f7fbff}.teacher-log.flagged{border-color:#ec48995c;background:#fff5fb}.teacher-log-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.teacher-log-head span{color:#61758f;font-size:12px;font-weight:900}.teacher-log-head button{min-height:32px;padding:0 10px;border-radius:999px;background:var(--violet);color:#fff;font-size:12px;font-weight:900;cursor:pointer;white-space:nowrap}.teacher-log.flagged .teacher-log-head button{background:var(--pink)}.teacher-log p{margin:0;color:#35506e;font-size:13px;line-height:1.65;word-break:break-word}.teacher-log strong{color:#172033}.sync-box{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:8px}.sync-box input{min-height:42px;border:1px solid var(--line);border-radius:14px;padding:0 12px;outline:0;background:#fff;color:var(--ink)}.sync-box button,.sync-actions button{min-height:42px;border-radius:14px;background:var(--ink);color:#fff;font-weight:900;cursor:pointer}.sync-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.sync-actions button{background:var(--blue);font-size:13px}.reset-button{margin-top:12px;background:var(--pink)}.games-page{gap:14px}.game-hero,.math-map-panel,.math-day-panel{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--paper);box-shadow:var(--shadow-soft)}.game-hero{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:16px;align-items:center;overflow:hidden;padding:20px;background:linear-gradient(135deg,#0ea5e924,#ffffffeb 46%),radial-gradient(circle at 92% 18%,rgba(245,158,11,.18),transparent 30%)}.game-hero span,.math-map-head span,.math-day-title span,.math-mission-card>span,.panel-headline span,.island-daily span{display:block;color:#61758f;font-size:12px;font-weight:900}.game-hero h2,.math-map-head h2,.math-day-title h2{margin:4px 0;color:#17345d;letter-spacing:0}.game-hero h2{font-size:27px;line-height:1.15}.game-hero p,.math-day-title p,.island-daily p{margin:0;color:#61758f;font-size:13px;line-height:1.65}.game-progress-orb{display:grid;place-items:center;width:96px;height:96px;border-radius:28px;background:#172033;color:#fff}.game-progress-orb strong{font-size:36px;line-height:1}.game-progress-orb span{color:#ffffffc2}.subject-game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.subject-game-card{min-height:112px;padding:15px;border:1px solid var(--line);border-radius:20px;background:#ffffffdb;color:var(--ink);box-shadow:var(--shadow-card);cursor:pointer;text-align:left}.subject-game-card.active{border-color:#0ea5e947;background:linear-gradient(145deg,#0ea5e921,#fff 72%)}.subject-game-card span{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eef7ff;color:#0f749f;font-size:12px;font-weight:900}.subject-game-card strong{display:block;margin-top:10px;color:#172033;font-size:18px}.subject-game-card em{display:block;margin-top:5px;color:#61758f;font-size:12px;font-style:normal;line-height:1.45}.math-island-shell{display:grid;grid-template-columns:minmax(280px,.86fr) minmax(0,1.14fr);gap:14px;align-items:start}.math-map-panel,.math-day-panel{padding:16px}.math-map-head{display:grid;gap:8px;margin-bottom:12px}.math-map-head h2,.math-day-title h2{font-size:21px}.math-day-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.math-day-dot{display:grid;align-content:center;min-height:72px;padding:8px;border:1px solid rgba(124,154,187,.18);border-radius:16px;background:#f7fbff;color:#35506e;cursor:pointer}.math-day-dot b{color:#172033;font-size:16px;line-height:1}.math-day-dot span{display:-webkit-box;margin-top:5px;overflow:hidden;font-size:11px;font-weight:900;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:2}.math-day-dot.active{border-color:#0ea5e970;background:#e8f7ff}.math-day-dot.done{background:#ecfdf5;color:#0f766e}.math-day-title{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;margin-bottom:12px}.math-day-title>strong{justify-self:end;padding:8px 10px;border-radius:999px;background:#172033;color:#fff;font-size:12px;white-space:nowrap}.math-mission-card{display:grid;gap:9px;padding:14px;border-radius:18px;background:linear-gradient(135deg,#fff7ed,#f7fbff)}.math-mission-card strong{color:#172033;font-size:15px;line-height:1.55}.mission-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.mission-timeline i{min-height:38px;padding:8px;border-radius:12px;background:#ffffffc7;color:#915c00;font-size:11px;font-style:normal;font-weight:900;line-height:1.25;text-align:center}.play-step-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.play-step-grid div{min-height:80px;padding:11px;border-radius:16px;background:#f7fbff}.play-step-grid span{display:grid;place-items:center;width:28px;height:28px;border-radius:10px;background:#0ea5e9;color:#fff;font-weight:900}.play-step-grid strong{display:block;margin-top:8px;color:#172033;font-size:13px;line-height:1.35}.quick-task-panel{display:grid;gap:9px;margin-top:12px}.panel-headline{display:flex;justify-content:space-between;gap:10px;align-items:center}.panel-headline strong{color:#172033;font-size:14px}.quick-task-row{display:grid;grid-template-columns:82px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:54px;padding:10px;border-radius:16px;background:#f7fbff}.quick-task-row span{color:#0f749f;font-size:12px;font-weight:900}.quick-task-row strong{color:#172033;font-size:14px;line-height:1.35}.quick-task-row em{min-width:48px;padding:6px 9px;border-radius:999px;background:#172033;color:#fff;font-size:13px;font-style:normal;font-weight:900;text-align:center}.math-playground{display:grid;gap:10px;margin-top:12px;padding:14px;border-radius:20px;background:linear-gradient(145deg,#0ea5e91a,#ffffffeb),#f7fbff}.playground-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.playground-head span{display:block;color:#61758f;font-size:12px;font-weight:900}.playground-head strong{display:block;margin-top:3px;color:#172033;font-size:16px}.playground-head b{flex:0 0 auto;padding:7px 10px;border-radius:999px;background:#172033;color:#fff;font-size:12px}.repair-board{position:relative;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:repeat(6,40px);gap:6px;padding:10px;border:1px solid rgba(14,165,233,.18);border-radius:18px;background:linear-gradient(180deg,#ffffffb8,#e8f7ffc7),repeating-linear-gradient(0deg,transparent 0 38px,rgba(14,165,233,.1) 38px 40px)}.repair-board i{border-radius:12px;background:#ffffff94;box-shadow:inset 0 0 0 1px #7c9abb24}.target-tile,.repair-piece{z-index:2;display:grid;place-items:center;border-radius:14px;font-weight:1000;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.target-tile{border:2px dashed rgba(15,116,159,.48);background:#0ea5e914;color:#0f749f75}.repair-piece{background:#ec4899;color:#fff;box-shadow:0 12px 26px #ec489947}.repair-piece.aligned{background:#10b981;box-shadow:0 12px 28px #10b98147;transform:scale(1.06)}.geometry-stage{width:100%;min-height:250px;border:1px solid rgba(14,165,233,.18);border-radius:20px;background:linear-gradient(180deg,#ffffffd1,#e8f7ffbd),#f7fbff}.stage-grid line{stroke:#0ea5e92e;stroke-width:1}.flower-shadow rect,.flower-shadow circle,.gate-shadow rect,.gate-shadow circle{fill:#0f749f1f;stroke:#0f749f61;stroke-dasharray:4 4;stroke-width:2}.flower-piece rect,.flower-piece circle,.gate-piece rect,.gate-piece circle{fill:#ec4899;stroke:#fff;stroke-width:2;filter:drop-shadow(0 10px 12px rgba(236,72,153,.22))}.flower-piece.aligned rect,.flower-piece.aligned circle,.gate-piece.aligned rect,.gate-piece.aligned circle{fill:#10b981}.match-line{stroke:#ec48998c;stroke-width:3;stroke-dasharray:8 7}.angle-arc{fill:none;stroke:#f59e0b;stroke-width:4;stroke-linecap:round}.pivot-dot{fill:#172033;stroke:#fff;stroke-width:3}.chart-stage line,.tile-stage line,.decimal-stage line{stroke:#17203347;stroke-width:2}.chart-stage text,.decimal-stage text,.chance-stage text,.relation-stage text{fill:#35506e;font-size:13px;font-weight:900}.bar-town{fill:#0ea5e9}.bar-country{fill:#10b981}.table-cell{fill:#fff;stroke:#0ea5e947;stroke-width:2}.area-main{fill:#0ea5e97a;stroke:#0f749f;stroke-width:3}.area-cut{fill:#f59e0b7a;stroke:#b45309;stroke-width:3}.area-ghost{fill:#10b9816b;stroke:#047857;stroke-width:3;stroke-dasharray:7 5}.split-line{stroke:#172033;stroke-width:3;stroke-dasharray:6 5}.meter-shell{fill:#fff;stroke:#1720332e;stroke-width:3}.meter-fill{fill:#0ea5e9}.chance-red{fill:#ec4899;stroke:#fff;stroke-width:3}.chance-blue{fill:#0ea5e9;stroke:#fff;stroke-width:3}.room-shape{fill:#fff;stroke:#172033;stroke-width:3}.tile-stage line{stroke:#0ea5e97a}.relation-body{fill:#10b981;stroke:#fff;stroke-width:3}.relation-stage line{stroke:#047857;stroke-width:5;stroke-linecap:round}.move-console.three{grid-template-columns:repeat(3,minmax(0,1fr))}.move-console.four{grid-template-columns:repeat(4,minmax(0,1fr))}.move-console .selected-tool{background:#10b981}.capstone-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.capstone-grid span{display:grid;place-items:center;min-height:70px;border-radius:18px;background:linear-gradient(145deg,#0ea5e92e,#fff);color:#172033;font-weight:900}.move-console{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.move-console button,.choice-row button{min-height:38px;border-radius:14px;background:#172033;color:#fff;font-weight:900;cursor:pointer}.move-console button:last-child{background:#eef5ff;color:#35506e}.move-feedback{min-height:38px;padding:9px 11px;border-radius:14px;background:#ffffffd1;color:#35506e;font-size:13px;font-weight:800;line-height:1.45}.move-feedback.success{background:#ecfdf5;color:#047857}.play-step-grid.compact div{min-height:64px}.quick-task-panel.playable{gap:10px}.quick-play-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.7fr);gap:12px;align-items:center;min-height:86px;padding:12px;border:1px solid rgba(124,154,187,.16);border-radius:18px;background:#f7fbff}.quick-play-card.solved{border-color:#10b98138;background:#ecfdf5}.quick-play-card.miss{border-color:#ec489942;background:#fff5fb}.quick-play-card span{display:block;color:#0f749f;font-size:12px;font-weight:900}.quick-play-card strong{display:block;margin-top:5px;color:#172033;font-size:14px;line-height:1.4}.quick-play-card em{display:block;margin-top:5px;color:#61758f;font-size:12px;font-style:normal;font-weight:800}.choice-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.choice-row button{background:#fff;color:#172033;box-shadow:inset 0 0 0 1px #7c9abb38}.choice-row button.selected{background:#172033;color:#fff}.island-daily{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;margin-top:12px;padding:14px;border-radius:18px;background:#ecfdf5}.island-daily strong{display:block;margin:4px 0;color:#172033;font-size:14px;line-height:1.45}.island-daily button{min-height:42px;padding:0 14px;border-radius:14px;background:#10b981;color:#fff;font-weight:900;cursor:pointer;white-space:nowrap}.island-daily button:disabled{cursor:default;opacity:.62}.english-studio-shell{display:grid;grid-template-columns:minmax(260px,.78fr) minmax(0,1.22fr);gap:14px;align-items:start}.english-scene-panel,.english-dubbing-panel,.coming-game-panel{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--paper);box-shadow:var(--shadow-soft)}.english-scene-panel,.english-dubbing-panel{padding:16px}.english-scene-list,.line-take-list{display:grid;gap:9px;margin-top:12px}.english-scene{display:grid;gap:5px;min-height:74px;padding:12px;border:1px solid color-mix(in srgb,var(--accent) 16%,white);border-radius:16px;background:#f7fbff;color:var(--ink);cursor:pointer;text-align:left}.english-scene.active{background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 16%,white),#fff 76%);box-shadow:0 10px 24px #3a5b841a}.english-scene span,.english-film-frame span,.dubbing-score-card span,.line-take span,.film-review-card span{color:#61758f;font-size:12px;font-weight:900}.english-scene strong,.english-film-frame h2,.line-take strong,.film-review-card strong,.coming-game-panel strong{color:#172033;letter-spacing:0}.english-scene em{color:#61758f;font-size:12px;font-style:normal;line-height:1.4}.english-dubbing-panel{display:grid;grid-template-columns:minmax(0,1fr) 128px;gap:12px}.english-film-frame{min-height:150px;padding:18px;border-radius:20px;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 17%,white),#ffffffe6),repeating-linear-gradient(90deg,rgba(23,32,51,.08) 0 8px,transparent 8px 18px)}.english-film-frame h2{margin:5px 0;font-size:24px;line-height:1.15}.english-film-frame p,.dubbing-score-card p,.line-take p,.coming-game-panel p{margin:0;color:#61758f;font-size:13px;line-height:1.6}.english-film-frame strong{display:inline-flex;margin-top:12px;padding:7px 10px;border-radius:999px;background:#172033;color:#fff;font-size:12px}.dubbing-score-card{display:grid;align-content:center;min-height:150px;padding:14px;border-radius:20px;background:#fff7ed}.dubbing-score-card strong{color:#172033;font-size:34px;line-height:1.1}.cartoon-video-card{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(220px,.95fr);gap:12px;align-items:stretch;padding:12px;border-radius:20px;background:#f7fbff}.textbook-cartoon-video{width:100%;aspect-ratio:16 / 9;display:block;align-self:center;border-radius:18px;background:#111827;box-shadow:0 12px 28px #17203324}.cartoon-stage{position:relative;overflow:hidden;min-height:210px;border-radius:18px;background:linear-gradient(180deg,#bdefff 0,#bdefff 52%,#fef3c7 52%,#fef3c7)}.cartoon-stage.classroom{background:linear-gradient(180deg,#dbeafe 0,#dbeafe 52%,#f8fafc 52%,#f8fafc)}.cartoon-stage.track{background:linear-gradient(180deg,#e0f2fe 0,#e0f2fe 52%,#fecaca 52%,#fecaca)}.cartoon-stage.club{background:linear-gradient(180deg,#fce7f3 0,#fce7f3 52%,#ede9fe 52%,#ede9fe)}.cartoon-stage.pool{background:linear-gradient(180deg,#cffafe 0,#cffafe 50%,#bae6fd 50%,#bae6fd)}.cartoon-stage.weekend{background:linear-gradient(180deg,#dcfce7 0,#dcfce7 52%,#fde68a 52%,#fde68a)}.cartoon-stage.neighbour{background:linear-gradient(180deg,#e0e7ff 0,#e0e7ff 52%,#bbf7d0 52%,#bbf7d0)}.cartoon-stage.shop{background:linear-gradient(180deg,#fdf2f8 0,#fdf2f8 52%,#fef9c3 52%,#fef9c3)}.cartoon-stage.festival{background:linear-gradient(180deg,#ede9fe 0,#ede9fe 52%,#fee2e2 52%,#fee2e2)}.cartoon-sky{position:absolute;top:14px;right:14px;left:14px;display:flex;justify-content:space-between;gap:10px;color:#1720338f;font-size:12px;font-weight:900}.cartoon-ground{position:absolute;right:0;bottom:0;left:0;height:42%;background:linear-gradient(90deg,rgba(255,255,255,.38) 0 18%,transparent 18% 34%,rgba(255,255,255,.24) 34% 48%,transparent 48% 100%),#ffffff38}.cartoon-character{position:absolute;bottom:42px;z-index:2;width:54px;height:92px;animation:character-bob 1.8s ease-in-out infinite}.cartoon-character.lead{left:24%}.cartoon-character.friend{right:22%;animation-delay:.36s}.cartoon-character b{position:absolute;top:0;left:10px;width:34px;height:34px;border:3px solid #fff;border-radius:50%;background:#facc15;box-shadow:0 8px 18px #17203321}.cartoon-character.friend b{background:#fb7185}.cartoon-character i{position:absolute;bottom:0;left:5px;width:44px;height:58px;border:3px solid #fff;border-radius:19px 19px 12px 12px;background:#4f7cff;box-shadow:0 8px 18px #1720331f}.cartoon-character.friend i{background:#10b981}.cartoon-prop{position:absolute;bottom:62px;left:50%;z-index:3;width:58px;height:42px;border:3px solid #fff;border-radius:16px;background:#172033;box-shadow:0 10px 20px #17203329;transform:translate(-50%);animation:prop-pop 2.2s ease-in-out infinite}.cartoon-prop.notes,.cartoon-prop.card,.cartoon-prop.list{background:#fff;box-shadow:inset 0 -10px #4f7cff29,0 10px 20px #1720331f}.cartoon-prop.bag,.cartoon-prop.basket{border-radius:18px 18px 10px 10px;background:#f59e0b}.cartoon-prop.ball{width:44px;height:44px;border-radius:50%;background:#ec4899}.cartoon-prop.star{clip-path:polygon(50% 0,62% 35%,100% 35%,69% 56%,82% 100%,50% 72%,18% 100%,31% 56%,0 35%,38% 35%);background:#facc15}.cartoon-prop.paper,.cartoon-prop.flower{border-radius:50% 10px;background:#f9a8d4}.cartoon-prop.music{width:34px;border-radius:999px;background:#8b5cf6}.cartoon-prop.whistle,.cartoon-prop.arrow,.cartoon-prop.sign{background:#ef4444}.cartoon-prop.bus{width:78px;background:#38bdf8}.cartoon-prop.moon{border-radius:50%;background:#fde68a}.cartoon-prop.door,.cartoon-prop.shoes,.cartoon-prop.sweater,.cartoon-prop.boat,.cartoon-prop.packet{background:#14b8a6}.cartoon-prop.boat{border-radius:0 0 26px 26px}.cartoon-caption{display:grid;align-content:center;gap:6px;min-width:0}.cartoon-caption span{color:#61758f;font-size:12px;font-weight:900}.cartoon-caption strong{color:#172033;font-size:23px;line-height:1.2}.cartoon-caption p{margin:0;color:#61758f;font-size:13px;line-height:1.6}.cartoon-controls{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.cartoon-controls button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;border-radius:14px;background:#172033;color:#fff;font-weight:900;cursor:pointer}.cartoon-controls button:nth-child(2){background:color-mix(in srgb,var(--accent) 82%,#172033)}.cartoon-controls button:nth-child(3){background:#eef5ff;color:#35506e}.cartoon-video-card.playing .cartoon-stage:after{position:absolute;top:12px;left:14px;z-index:4;padding:5px 9px;border-radius:999px;background:#172033db;color:#fff;content:"PLAY";font-size:11px;font-weight:900}@keyframes character-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-7px)}}@keyframes prop-pop{0%,to{transform:translate(-50%) scale(1)}50%{transform:translate(-50%,-8px) scale(1.05)}}.line-take-list,.film-review-card{grid-column:1 / -1}.line-take{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:18px;background:#f7fbff}.line-take.active{border-color:color-mix(in srgb,var(--accent) 28%,white);background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 10%,white),#fff 78%)}.line-take.passed{border-color:#10b98157;background:#f0fdf4}.line-take.passed .line-controls b{background:#dcfce7;color:#15803d}.line-take strong{display:block;margin:4px 0;font-size:18px;line-height:1.25}.line-take em{display:block;margin-top:7px;color:#0f749f;font-size:12px;font-style:normal;font-weight:900}.line-controls{display:grid;grid-template-columns:1fr;gap:7px;justify-items:stretch;min-width:92px}.line-controls b{justify-self:center;padding:5px 9px;border-radius:999px;background:#eef5ff;color:#35506e;font-size:12px}.line-controls button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:0 10px;border-radius:13px;background:#172033;color:#fff;font-size:12px;font-weight:900;cursor:pointer}.line-controls button.recording{background:var(--pink)}.film-review-card{padding:14px;border-radius:18px;background:#ecfdf5}.film-review-card strong{display:block;margin-top:4px;font-size:14px;line-height:1.5}.coming-game-panel{display:grid;place-items:center;gap:9px;min-height:220px;padding:24px;text-align:center}.coming-game-panel>.anticon{display:grid;place-items:center;width:56px;height:56px;border-radius:20px;background:#eef5ff;color:#4f7cff;font-size:26px}.bottom-tabs{position:fixed;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));left:12px;z-index:20;display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));max-width:760px;margin:0 auto;padding:8px;border:1px solid rgba(124,154,187,.18);border-radius:24px;background:#ffffffe6;box-shadow:0 18px 48px #3a5b842e;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.parent-unlock{display:flex;flex-direction:column;gap:12px}.parent-unlock p{margin:0;color:#52667f;line-height:1.7}.parent-unlock input{min-height:44px;border:1px solid var(--line);border-radius:14px;padding:0 12px;outline:0}.approval-list{display:flex;flex-direction:column;gap:10px}.approval-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border-radius:16px;border:1px solid var(--line);background:#f7fbff}.approval-item strong{display:block;color:#172033;font-size:15px}.approval-item span{display:inline-flex;margin:5px 0;padding:3px 8px;border-radius:999px;background:#eef5ff;color:#4f7cff;font-size:12px;font-weight:900}.approval-item.approved span{background:#ecfdf5;color:#10b981}.approval-item.used span{background:#fff7ed;color:#f59e0b}.approval-item.rejected span{background:#fdf2f8;color:#ec4899}.approval-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.approval-actions button{min-height:34px;padding:0 10px;border-radius:12px;background:var(--ink);color:#fff;font-size:12px;font-weight:900;cursor:pointer}.install-guide{display:flex;flex-direction:column;gap:10px}.install-guide-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:#eef5ff;color:#4f7cff;font-size:25px}.install-guide p{margin:0;color:#52667f;font-size:14px;line-height:1.7}.tab{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;min-height:54px;border-radius:17px;background:transparent;color:#6f8298;font-size:11px;font-weight:800;cursor:pointer}.tab .anticon{margin-top:8px;font-size:18px}.tab.active{background:var(--ink);color:#fff;box-shadow:0 10px 22px #16203329}@media(min-width:760px){.app{padding-top:28px}.hero-band h1{font-size:46px}}@media(min-width:760px)and (max-width:1180px){.app{padding:28px 28px calc(118px + env(safe-area-inset-bottom))}.hero-band,.score-strip,.page-stack,.teacher-page{max-width:1040px}.hero-band{align-items:center;margin-bottom:18px}.hero-band h1{font-size:44px}.hero-band p{font-size:15px}.score-strip{gap:14px;margin-bottom:18px}.metric-card{min-height:78px;padding:16px}.metric-icon{width:44px;height:44px;flex-basis:44px;font-size:21px}.metric-card strong{font-size:24px}.page-stack,.teacher-page{gap:18px}.main-progress,.reward-progress,.mini-panel,.teacher-rules,.upload-card,.shop-head,.admin-panel,.week-card,.review-card,.review-item{border-radius:24px}.main-progress{min-height:136px;padding:22px}.main-progress h2{max-width:620px;font-size:25px}.zone-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.zone-card{grid-template-columns:48px minmax(0,1fr);min-height:108px;padding:16px}.zone-card.featured{grid-column:auto;grid-template-columns:48px minmax(0,1fr)}.zone-card.featured i{display:none}.task-list,.reward-list,.mistake-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.task-row,.reward-card,.mistake{min-height:86px;padding:16px}.teacher-rules{padding:18px}.chat-box{min-height:430px;max-height:52vh}.teacher-input{grid-template-columns:minmax(0,1fr) 96px 108px}.teacher-input button{min-height:72px}.teacher-flow div{min-height:52px;padding:10px 12px;font-size:13px}.review-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.review-fields label:first-child,.review-fields label:last-child{grid-column:1 / -1}.admin-grid,.week-table{grid-template-columns:repeat(2,minmax(0,1fr))}.math-island-shell,.english-studio-shell{grid-template-columns:1fr}.math-day-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.bottom-tabs{right:24px;bottom:20px;left:24px;max-width:720px}.tab{min-height:62px;font-size:12px}}@media(min-width:1181px){.app{padding:32px 36px calc(118px + env(safe-area-inset-bottom))}.hero-band,.score-strip,.page-stack,.teacher-page{max-width:1120px}.zone-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.zone-card,.zone-card.featured{grid-column:auto;grid-template-columns:1fr;align-content:start;min-height:134px}.zone-card.featured i{display:none}.task-list,.reward-list,.mistake-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.app{padding:10px 12px calc(116px + env(safe-area-inset-bottom))}.hero-band{grid-template-columns:1fr;gap:10px;padding:12px;border-radius:22px}.hero-band h1{margin-top:6px;font-size:29px}.hero-band p{font-size:12px;line-height:1.45}.hero-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.hero-summary div{min-height:56px;padding:8px}.hero-summary strong{font-size:20px}.hero-band{align-items:stretch}.hero-actions{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center}.role-button{width:42px;height:42px;min-height:42px;padding:0;border-radius:16px;font-size:0}.role-button .anticon{font-size:18px}.install-button{min-height:34px;padding:0 10px;font-size:12px}.score-strip{display:none}.game-hero{grid-template-columns:1fr;padding:15px}.game-hero h2{font-size:22px}.game-progress-orb{grid-template-columns:auto auto;justify-content:center;gap:6px;width:100%;height:auto;min-height:54px;border-radius:18px}.game-progress-orb strong{font-size:24px}.subject-game-grid,.math-island-shell,.english-studio-shell,.english-dubbing-panel,.play-step-grid{grid-template-columns:1fr}.math-map-panel,.math-day-panel,.english-scene-panel,.english-dubbing-panel{padding:13px;border-radius:20px}.english-film-frame,.dubbing-score-card{min-height:116px}.cartoon-video-card{grid-template-columns:1fr}.cartoon-stage{min-height:184px}.cartoon-caption strong{font-size:18px}.line-take{grid-template-columns:1fr}.line-controls{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0}.cartoon-controls{grid-template-columns:1fr}.math-day-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.math-day-dot{min-height:62px;padding:7px 5px}.math-day-dot span{font-size:10px}.math-day-title,.island-daily{grid-template-columns:1fr}.math-day-title>strong{justify-self:start}.mission-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}.play-step-grid{gap:7px}.repair-board{grid-template-rows:repeat(6,34px);gap:4px;padding:8px}.move-console{grid-template-columns:repeat(3,minmax(0,1fr))}.move-console button{min-height:40px}.quick-play-card{grid-template-columns:1fr;gap:9px;padding:10px}.choice-row{grid-template-columns:repeat(3,minmax(0,1fr))}.play-step-grid div{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:center;min-height:54px;padding:9px}.play-step-grid strong{margin-top:0}.panel-headline{align-items:flex-start;flex-direction:column}.quick-task-row{grid-template-columns:1fr auto}.quick-task-row span{grid-column:1 / -1}.mistake-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}.review-plan-head{flex-direction:column}.review-plan-list article{grid-template-columns:38px minmax(0,1fr)}.review-plan-list button{grid-column:1 / -1}.main-progress{align-items:flex-start;min-height:104px;padding:14px}.main-progress h2{font-size:19px}.main-progress p{font-size:12px;line-height:1.45}.main-progress .ant-progress{flex:0 0 auto}.home-top-grid,.home-bottom-grid{gap:10px}.home-top-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-bottom-grid{grid-template-columns:1fr;gap:10px}.main-progress,.reward-progress{min-height:104px;padding:12px 14px}.main-progress{display:grid;align-content:center}.main-progress h2,.reward-progress strong{font-size:16px}.main-progress p,.main-progress .ant-progress{display:none}.home-section-head h2{font-size:18px}.zone-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.zone-card{grid-template-columns:38px minmax(0,1fr);gap:9px;min-height:88px;padding:11px;border-radius:18px}.zone-card span{width:38px;height:38px;border-radius:14px;font-size:18px}.zone-card strong{font-size:14px;line-height:1.2}.zone-card em{font-size:11px;line-height:1.35}.zone-card.featured{grid-template-columns:42px minmax(0,1fr) auto;min-height:82px}.zone-card.featured span{width:42px;height:42px}.admin-grid{grid-template-columns:1fr}.mode-grid,.teacher-simple .mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-simple .chat-box{min-height:220px;max-height:34vh}.teacher-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-status-card{grid-template-columns:48px minmax(0,1fr)}.teacher-status-pill{grid-column:1 / -1;grid-template-columns:auto auto;justify-content:center;gap:8px;min-height:42px}.teacher-status-pill b{font-size:18px}.speech-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.speech-tools span{grid-column:1 / -1;white-space:normal}.voice-dialog-head{flex-direction:column}.voice-dialog-head button{width:100%}.photo-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-preview{grid-column:1 / -1}.teacher-input{grid-template-columns:minmax(0,1fr) 68px}.teacher-input textarea{grid-column:1 / -1}.teacher-input button{min-height:44px}.upload-card,.shop-head{align-items:flex-start;flex-direction:column}.reward-card,.mistake{grid-template-columns:46px minmax(0,1fr)}.mistake-actions{grid-column:1 / -1;grid-template-columns:auto auto 1fr 1fr;justify-items:stretch;align-items:center;width:100%}.mistake-actions b,.mistake-actions small{justify-self:start}.reward-card b{grid-column:2}.approval-item{grid-template-columns:1fr}.approval-actions{justify-content:stretch}.approval-actions button{flex:1}}
