:root{font-family:Segoe UI,system-ui,-apple-system,sans-serif;color:#383547;background:#f8f9fc;font-synthesis:none;font-weight:400;--purple: #7561d5;--muted: #90909e;--border: #edecf3}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button,input{-webkit-tap-highlight-color:transparent}button{transition:background .18s,transform .18s,box-shadow .18s}button:focus-visible,a:focus-visible{outline:3px solid #b5a3ef;outline-offset:4px}input:focus-visible{outline:3px solid #d4c8f8;outline-offset:1px}button:not(:disabled):active{transform:translateY(1px)}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em}h1{font-size:34px;line-height:1.25;margin-bottom:12px;font-weight:750}h2{font-size:22px;font-weight:700}h3{font-size:18px;margin-bottom:9px}p{line-height:1.65}svg{flex-shrink:0}button svg{vertical-align:middle}small{font-size:11px}strong{font-weight:650}.brand{display:flex;align-items:center;gap:11px;line-height:1.22;letter-spacing:-.5px;font-size:17px;font-weight:700;white-space:nowrap}.brand b{font-weight:700}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:var(--purple);color:#fff;font-size:40px;font-weight:700;line-height:1;box-shadow:0 4px #e5e0f7}.app-shell{display:flex;min-height:100vh}.sidebar{width:248px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--border);padding:33px 22px 20px;display:flex;flex-direction:column;z-index:10}.sidebar .brand{margin-left:9px}.nav-label{font-size:9px;letter-spacing:1.4px;color:#aaa8b6;font-weight:700;margin:52px 13px 18px}nav{display:flex;flex-direction:column;gap:8px}nav button{border:0;background:none;text-align:left;display:flex;align-items:center;gap:13px;padding:15px 13px;color:#858391;font-size:13px;font-weight:600;border-radius:12px;white-space:nowrap}nav button.active{background:#f0ecfc;color:#7962cf}nav button:hover{background:#f6f3fc}nav .count{margin-left:auto;background:#e2d9f8;color:#7460c9;font-size:10px;padding:2px 6px;border-radius:6px}.sidebar-friend{background:#faf7f1;border:1px solid #f4ede0;border-radius:18px;margin:75px 6px 24px;text-align:center;padding:50px 10px 13px;position:relative}.sidebar-friend .fox{position:absolute;top:-55px;left:48px;width:93px;height:104px}.sidebar-friend strong{font-size:13px;line-height:1.6}.sidebar-friend p{font-size:10px;color:#a79b8d;margin:8px 0 0}.little-spark{position:absolute;right:19px;top:14px;color:#dec28a}.side-bottom{margin-top:auto;border-top:1px solid var(--border);padding-top:21px}.profile{display:flex;align-items:center;gap:10px;min-width:0}.profile strong{font-size:12px;display:block;overflow-wrap:anywhere}.profile small{display:block;color:#aaa5b1;font-size:10px;margin-top:4px}.avatar{width:37px;height:37px;background:#fbe6d2;color:#b77e4e;border:3px solid #fff4e8;border-radius:50%;display:grid;place-items:center;font-size:16px;font-weight:700;flex-shrink:0}.avatar.mini{width:35px;height:35px;font-size:14px}.logout{margin:18px 0 0 3px;color:#9993a2;font-size:11px;display:flex;align-items:center;gap:9px;background:transparent;border:0}.workspace{margin-left:248px;flex:1;min-width:0}.topbar{height:80px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 43px;background:#fff;font-size:12px;color:#94909e}.header-right{display:flex;align-items:center;gap:23px}.star-balance{display:flex;align-items:center;gap:7px;background:#fff9e9;border:1px solid #fbefd0;border-radius:20px;padding:7px 12px;color:#c79b43;font-size:11px;font-weight:700}.content{max-width:1350px;margin:auto;padding:36px 43px 0}.eyebrow{font-size:9px;letter-spacing:1.45px;font-weight:750;line-height:1.7}.purple{color:#8d78c7}.page-heading{margin-bottom:25px}.page-heading .eyebrow{margin-bottom:9px}.page-heading p{font-size:13px;color:#9995a4;margin:0}.wave{display:inline-block;font-size:28px;transform:rotate(-15deg);margin-left:5px}.hero{border-radius:22px;min-height:303px;background:#eeebfa;position:relative;overflow:hidden;display:flex;border:1px solid #e8e2f7}.hero-copy{padding:30px 32px;position:relative;z-index:1;flex:1}.hero .pill{font-size:8px;font-weight:700;letter-spacing:.7px;background:#ffffff80;color:#8975b3;padding:6px 10px;border:1px solid #e7e1f2}.pill{display:inline-flex;gap:6px;align-items:center;background:#f0ecf8;border-radius:30px;padding:7px 11px;font-size:10px;font-weight:600;color:#8f80ac;line-height:1.45}.dot{width:5px;height:5px;border-radius:50%;background:#a08cce}.hero h2{font-size:36px;line-height:1.15;color:#55456c;margin:17px 0 13px;letter-spacing:-1.1px}.hero p{color:#9789a6;font-size:12px;line-height:1.8;margin-bottom:21px}.button{border:0;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 18px;min-height:44px;font-size:12px;font-weight:650;line-height:1.4}.primary{color:#fff;background:#7964d6;box-shadow:0 3px #6550bd}.primary:hover:not(:disabled){background:#6b54cb;box-shadow:0 4px 12px #7561d52b}.secondary{background:#f5f3fa;color:#80728e;border:1px solid #e8e3ef}.secondary:hover:not(:disabled){background:#eae3f6}.full{width:100%}.compact{min-height:35px;padding:9px 12px;font-size:11px}.hero-meta{display:block;font-size:9px;color:#a195b0;margin-top:14px;margin-left:3px}.hero-art{width:46%;position:relative;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#ded7f780,transparent 70%)}.island{width:100%;height:auto;display:block}.hero-island{width:110%;max-width:490px;filter:drop-shadow(0 12px 8px #9a83b410)}.hero-art .hero-island{position:relative;left:-8px;top:-5px}.floating-number{position:absolute;z-index:1;color:#a392c6;font-weight:700}.n1{top:33px;left:46px;transform:rotate(-12deg);font-size:22px;opacity:.5}.n2{right:42px;bottom:65px;font-size:25px;color:#b4a1d4}.island-label{position:absolute;bottom:33px;left:50%;transform:translate(-50%) rotate(-5deg);display:flex;gap:7px;white-space:nowrap;background:#fffaf0;color:#b08c57;border:1px solid #f0e5cf;box-shadow:0 3px 7px #87799a12;border-radius:8px;padding:9px 17px;font-size:11px;font-weight:600}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:23px 0 31px}.stat{background:#fff;border:1px solid var(--border);border-radius:14px;display:flex;align-items:center;gap:14px;padding:19px 20px}.stat-icon{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;flex-shrink:0}.stat-icon svg{width:22px;height:22px}.stat-icon.purple{background:#f0ebfb;color:#9a83d6}.stat-icon.yellow{background:#fff7df;color:#d6ac51}.stat-icon.pink{background:#fceef1;color:#d78e9f}.stat strong{font-size:23px;letter-spacing:-.5px;line-height:1.1}.stat p{font-size:10px;color:#a29aa9;margin:5px 0 0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.section-heading h2{font-size:19px;margin:0 0 6px}.section-heading h2 span{color:#dfc481;margin-left:4px}.section-heading p{color:#a59eac;font-size:11px;margin:0}.muted{color:#9b94a4;font-size:12px;line-height:1.7}.section-heading>.muted{font-size:10px}.stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.stage-card{background:#fff;border:1px solid #e8e5ee;border-radius:17px;overflow:hidden;box-shadow:0 3px 5px #4f426003}.stage-card.current{border:1.5px solid #b3a0e2;box-shadow:0 5px 15px #9a89bd0b}.stage-art{background:#f1f7ee;position:relative;height:155px;overflow:hidden}.stage-card:nth-child(3n+2) .stage-art{background:#f8f0f7}.stage-card:nth-child(3n+3) .stage-art{background:#edf4fa}.stage-art .island{height:178px;width:100%;margin-top:6px}.stage-number{position:absolute;top:15px;left:16px;font-size:8px;color:#9eaaa0;letter-spacing:1px;font-weight:700;z-index:1}.stage-state{position:absolute;top:12px;right:12px;z-index:1;display:flex;align-items:center;gap:4px;border-radius:7px;padding:5px 8px;background:#ffffffb5;color:#adb5b0;font-size:8px}.stage-state.current{background:#fff;color:#9982c6;box-shadow:0 1px 4px #9982c61a}.stage-body{padding:19px 18px 14px}.stage-body h3{font-size:17px;margin-bottom:7px}.stage-body>p{font-size:9px;color:#aaa1ad;white-space:normal;margin-bottom:19px;line-height:1.7}.progress-label{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:9px;color:#afa6b8;margin-bottom:8px}.progress-label b{font-weight:500;color:#9586b1;white-space:nowrap}.progress-track{height:6px;background:#f0edf5;overflow:hidden;border-radius:8px}.progress-track>span{display:block;height:100%;background:#ac96df;border-radius:8px;transition:width .3s}.prize-line{display:flex;gap:10px;align-items:center;margin:19px 0 16px}.prize-icon{width:34px;height:34px;background:#fff7e6;display:grid;place-items:center;border-radius:9px;color:#d8ae66}.prize-line small{display:block;font-size:7px;color:#bbaf99;letter-spacing:.75px;margin-bottom:4px}.prize-line strong{font-size:11px;font-weight:600;display:block;color:#958778;overflow-wrap:anywhere}.stage-action{display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%;border:0;background:#f6f5f9;color:#ada3b7;font-size:9px;font-weight:600;padding:11px 10px;border-radius:8px;min-height:36px}.stage-action.current{background:#f0ebfb;color:#8b71bd}.stage-action.current:hover{background:#e7ddf8}.stage-action:disabled{opacity:1}.stage-card.locked .island{opacity:.65}.stage-card.locked h3{color:#918896}.stage-card.complete .stage-state{color:#549b7d;background:#e9f5eb}.tip{display:flex;align-items:center;gap:14px;padding:20px 22px;margin-top:26px;background:#f4f4fb;border:1px solid #eeedf6;border-radius:13px}.tip-icon{font-size:24px}.tip strong{font-size:11px;color:#82718f}.tip p{font-size:10px;color:#a498af;margin:4px 0 0}.tip .text-button{margin-left:auto;white-space:nowrap;font-size:10px}.text-button{border:0;background:none;color:#957fbd;font-size:12px;display:inline-flex;align-items:center;gap:7px;padding:6px 0;line-height:1.5}.text-button:hover{color:#6d4bb0}.danger{color:#be7783}footer{display:flex;align-items:center;justify-content:center;gap:10px;color:#b4adbd;font-size:8px;padding:29px 0}footer span{color:#c9bed9}.panel{background:#fff;border:1px solid var(--border);border-radius:18px;padding:26px;margin-bottom:24px}.panel h2{font-size:20px}.practice-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:24px}.table-picker{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:27px 0}.table-picker button{border:1px solid #e7e0f2;background:#faf8fd;color:#9c87bc;font-size:23px;border-radius:13px;padding:18px 6px;font-weight:650}.table-picker .selected{background:#7964d6;color:#fff;border-color:#7964d6;box-shadow:0 3px #604bb5}.multiplication{background:#f3effa}.multiplication h3{color:#8b6fad}.multiplication>div{display:flex;justify-content:space-between;padding:8px 14px;color:#9687aa;border-bottom:1px solid #e9e1f2;font-size:15px}.multiplication b{color:#79628f}.award-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.award-card{text-align:center}.big-gift{font-size:65px;margin:10px 0 20px}.award-card h2{margin:12px 0}.award-card p{color:#aaa0b4;font-size:11px}.green{background:#eaf6ef!important;color:#65a184!important}.empty{text-align:center;padding:50px 20px;color:#a597b6}.empty>svg{margin-bottom:16px;color:#ae98d2}.empty h2{color:#776284;font-size:24px}.empty p{font-size:13px}.empty .button{margin-top:8px}.history-row,.child-row,.award-row{display:flex;align-items:center;gap:18px;padding:22px 0;border-top:1px solid var(--border)}.history-row strong{font-size:14px}.history-row small{display:block;color:#afa2b8;font-size:11px;margin-top:5px}.history-icon{display:grid;place-items:center;width:40px;height:40px;background:#f3eef9;color:#b49ccf;border-radius:12px}.status-text{margin-left:auto;color:#9e8bb4;font-size:11px}.login-page{min-height:100vh;display:grid;grid-template-columns:1.08fr 1fr;background:#fff}.login-art{background:#efecfa;position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:40px 55px;overflow:hidden}.login-story{text-align:center;margin:50px -20px 30px;position:relative}.login-story h1{font-size:42px;color:#67517f;margin:17px 0}.login-story>p{color:#9c8aaa;font-size:14px}.login-story .eyebrow{color:#a08eb6}.login-story .hero-island{width:85%;margin:-8px auto 0;max-width:450px}.art-badge{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;background:#fffaf0;color:#b69a6a;border-radius:12px;font-size:12px;transform:rotate(-3deg);margin-top:-20px;position:relative}.login-foot{color:#b2a5c1;font-size:11px;text-align:center}.login-form{align-self:center;max-width:425px;width:100%;padding:50px 25px;margin:auto}.login-form h2{font-size:27px;line-height:1.25;margin:10px 0 15px}.login-form>p{font-size:13px;color:#a396ad;margin-bottom:30px}.login-fox{width:85px;margin-bottom:23px}.fox{width:100%;height:auto;display:block}.login-form form{margin-top:20px}label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;color:#8c7e9a;margin-bottom:19px}input{background:#fcfbfe;border:1px solid #e7e0ed;color:#675572;padding:13px 14px;border-radius:9px;min-width:0;width:100%;font-size:14px}input::placeholder{color:#bbb1c6}label small{font-size:10px;font-weight:400;line-height:1.5;color:#a397ad}.login-note{display:flex;align-items:center;justify-content:center;gap:11px;margin-top:30px;color:#b3a8bf;font-size:10px;line-height:1.8}.error{padding:13px 17px;border:1px solid #f3ccd0;background:#fff2f2;border-radius:10px;color:#ae6773;font-size:12px;line-height:1.65;margin-bottom:20px}.error .text-button{display:flex}.success-message{display:flex;align-items:center;gap:10px;padding:14px 18px;background:#edf7ef;color:#689b76;border-radius:10px;font-size:12px;margin-bottom:20px}.toast{position:fixed;bottom:20px;right:20px;max-width:90vw;display:flex;gap:15px;background:#fff2f2;box-shadow:0 8px 30px #67557220;border:1px solid #f3ccd0;color:#a26773;padding:20px;border-radius:12px;z-index:50}.toast button{background:none;border:0;color:inherit}.loading{display:grid;place-content:center;justify-items:center;min-height:100vh;color:#a293b4}.loading p{margin:20px}.game-page{min-height:100vh;background:radial-gradient(ellipse at 50% 30%,#f1ecfb,#faf9fc 75%);padding:28px 40px}.game-header{display:flex;align-items:center;justify-content:space-between;max-width:1250px;margin:auto}.game-container{max-width:720px;margin:40px auto;background:#fff;border:1px solid #ede6f5;border-radius:26px;padding:30px 40px;box-shadow:0 12px 65px #9480aa0c}.game-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.icon-button{display:grid;place-items:center;border:0;background:transparent;color:#a492b6;padding:7px;border-radius:8px}.icon-button:hover{background:#f4f0f9}.game-progress-label{display:flex;justify-content:space-between;gap:10px;color:#aaa0b5;font-size:11px;margin-bottom:12px}.question-area{text-align:center;padding:45px 0 28px}.question-hint{font-size:9px;letter-spacing:1.3px;color:#b0a2be;font-weight:700}.equation{font-size:64px;font-weight:750;color:#716080;margin:24px 0 30px;letter-spacing:-2px;white-space:nowrap}.equation span{font-weight:400;color:#b9a9cd}.equation b{color:#9074cc}.question-area form{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.answer-input{max-width:190px;text-align:center;font-size:23px;height:57px;background:#faf7ff;border:2px solid #e8def7;font-weight:650}.answer-input::placeholder{font-size:15px;font-weight:400}.question-area .button{height:54px;font-size:14px;min-width:175px}.feedback{margin:24px auto 0;border-radius:14px;padding:20px;background:#fff8e9;color:#b19a6c}.feedback.correct{background:#eff8f0;color:#6c9f76}.feedback strong{font-size:17px}.feedback p{font-size:12px;margin-top:10px}.feedback .button{display:flex;margin:17px auto 0;height:44px;font-size:12px}.game-encouragement{display:flex;align-items:center;gap:16px;max-width:400px;margin:0 auto}.game-encouragement .fox{width:63px;height:70px}.game-encouragement p{font-size:11px;color:#b1a2bd;margin:0}.abandon{display:block;margin:22px auto 0;color:#b8adbf;font-size:10px}.result{text-align:center;padding:15px 0}.result-emoji{font-size:77px;margin:6px 0 22px}.result h1{font-size:32px;color:#7d6592}.result>p{font-size:13px;color:#ab9cb5}.result-stats{display:flex;justify-content:center;gap:30px;margin:25px 0 35px;color:#aa99b6;font-size:11px}.result-stats b{display:block;font-size:28px;color:#80649b;margin-bottom:5px}.earned{background:#fff7e5;color:#b29255;border-radius:16px;padding:22px;margin:20px 0 30px}.earned h2{font-size:22px;margin:12px 0}.earned p{font-size:12px;margin:0}.admin-help{padding:22px 18px;background:#f7f4fb;border:1px solid #ece4f5;border-radius:14px;margin:50px 4px 30px;color:#a494b7}.admin-help svg{display:block;margin-bottom:13px}.admin-help strong{font-size:12px}.admin-help p{font-size:11px;margin:9px 0 0}.child-row{justify-content:space-between}.child-row .profile{flex:1}.child-progress{flex:1;font-size:12px}.child-progress small{display:block;color:#ad9fba;margin:4px 0}.child-progress .muted{font-size:10px}.row-actions{display:flex;gap:13px;align-items:center}.row-actions .text-button{font-size:10px}.info-box{display:flex;align-items:center;gap:15px;background:#f1edfa;border:1px solid #e6dff5;color:#a08eb7;border-radius:13px;padding:17px 20px;margin-bottom:25px}.info-box p{font-size:12px;margin:0}.admin-stage{display:flex;gap:19px;align-items:center;padding:24px 0;border-top:1px solid var(--border)}.stage-index{width:35px;height:35px;display:grid;place-items:center;background:#f3eef9;color:#a18abe;font-size:15px;font-weight:700;border-radius:11px;flex-shrink:0}.admin-stage-copy{flex:1}.admin-stage-copy h3{font-size:16px}.admin-stage-copy p{font-size:11px;color:#ad9fba;margin:0 0 8px}.admin-stage-copy>span{display:flex;gap:7px;color:#baa16f;font-size:11px}.award-row h3{font-size:15px}.award-row p{font-size:11px;color:#ac9db7;margin:0}.award-row>.button,.award-row>.pill{margin-left:auto}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#31283f66;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:25px;z-index:100}.modal{width:100%;max-width:510px;max-height:90vh;overflow:auto;background:#fff;border-radius:20px;padding:28px;box-shadow:0 20px 90px #33224140}.modal-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px}.modal-heading h2{font-size:23px;margin:0}.modal>p{font-size:13px;color:#a392af}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:23px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1500px){.content{padding-top:42px}.hero{min-height:340px}.hero-copy{padding:39px}.hero h2{font-size:42px}.hero p{font-size:14px}.stage-art{height:185px}.stage-art .island{height:210px}.stage-body{padding:23px}.stage-body h3{font-size:20px}.stage-body>p{font-size:11px}.stage-action{font-size:11px}.stat p{font-size:12px}.stat strong{font-size:26px}}@media(max-width:1200px){.sidebar{width:215px;padding:28px 15px 20px}.workspace{margin-left:215px}.content{padding:30px 27px 0}.topbar{padding:0 27px}.sidebar-friend .fox{left:40px}.hero h2{font-size:31px}.hero-copy{padding:27px}.hero-art{width:43%}.hero .pill{font-size:7px}.stat{padding:16px 13px;gap:10px}.stat-icon{width:37px;height:37px}.stat strong{font-size:21px}.stage-grid{gap:13px}.stage-body{padding:17px 13px}.stage-body h3{font-size:15px}.stage-art{height:143px}.stage-art .island{height:165px}.stage-number{font-size:7px;left:12px}.stage-state{font-size:7px;right:9px}.hero-art .hero-island{width:125%;max-width:none}.login-story h1{font-size:35px}.login-art{padding:35px}.row-actions{flex-direction:column;align-items:flex-end;gap:4px}.award-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:960px){.sidebar{width:190px;padding:26px 12px 18px}.workspace{margin-left:190px}.brand{font-size:15px;gap:8px}.brand-mark{width:36px;height:36px;border-radius:11px;font-size:34px}nav button{font-size:11px;gap:9px;padding:13px 10px}.sidebar-friend .fox{left:33px}.sidebar-friend{margin-top:80px}.nav-label{font-size:7px;letter-spacing:1px}.content{padding:28px 22px 0}.topbar{padding:0 22px;height:66px}.hero-copy{padding:25px}.hero h2{font-size:29px}.hero-art{width:37%}.hero-art .hero-island{width:165%;left:-10px}.hero .pill{font-size:6px}.hero p{font-size:11px}.hero .button{font-size:10px;padding:13px}.hero-art .n1{font-size:17px;left:10px}.island-label{font-size:8px;bottom:48px;padding:7px 10px;left:45%}.stage-grid{grid-template-columns:1fr 1fr}.stage-art{height:155px}.stage-art .island{height:185px}.stat{gap:8px}.stat-icon{width:32px;height:32px;border-radius:9px}.stat-icon svg{width:18px}.stat strong{font-size:18px}.stat p{font-size:8px}.tip{flex-wrap:wrap}.tip .text-button{margin-left:40px}.desktop-only{display:none}footer{font-size:7px;gap:7px;flex-wrap:wrap}.practice-layout{grid-template-columns:1fr}.table-picker button{padding:15px 5px}.login-page{grid-template-columns:1fr 1fr}.login-story h1{font-size:30px}.login-story p{font-size:12px}.login-form h2{font-size:25px}.login-art{padding:30px}.child-row{flex-wrap:wrap}.child-progress{min-width:130px}.child-row .profile{min-width:140px}.row-actions{flex-direction:row;width:100%;justify-content:flex-end}.admin-stage{flex-wrap:wrap}.admin-stage .row-actions{width:auto;margin-left:54px}.panel{padding:21px}.award-row{flex-wrap:wrap}.award-row>.button,.award-row>.pill{margin-left:61px}}@media(max-width:700px){.app-shell{display:block}.sidebar{position:static;width:100%;padding:17px 18px 0;border-right:0;border-bottom:1px solid var(--border)}.sidebar .brand{margin-left:3px;font-size:13px}.sidebar .brand br{display:none}.sidebar .brand b{margin-left:4px}.sidebar .brand-mark{height:31px;width:31px;font-size:30px;border-radius:10px}.nav-label,.sidebar-friend,.side-bottom,.admin-help{display:none}nav{flex-direction:row;justify-content:space-between;margin-top:16px;gap:5px}nav button{flex:1;justify-content:center;flex-direction:column;font-size:9px;gap:5px;padding:11px 4px;border-radius:10px 10px 0 0}nav button svg{width:19px;height:19px}nav .count{display:none}.workspace{margin-left:0}.topbar{height:51px;padding:0 20px;font-size:10px}.header-right{gap:12px}.avatar.mini{width:28px;height:28px;font-size:12px}.star-balance{font-size:9px;padding:5px 9px}.content{padding:25px 18px 0}h1{font-size:28px}.page-heading .eyebrow{font-size:7px}.page-heading p{font-size:11px}.page-heading{margin-bottom:21px}.hero{min-height:305px;border-radius:18px}.hero-copy{padding:23px 20px;flex:none;width:100%}.hero h2{font-size:29px;max-width:230px}.hero p{font-size:10px;max-width:215px;line-height:1.8}.hero .pill{font-size:6px;padding:5px 7px}.hero .button{font-size:10px;margin-top:7px;min-height:44px;position:relative;z-index:2}.hero-art{position:absolute;right:-28px;bottom:49px;width:48%;height:180px;pointer-events:none;opacity:.9}.hero-art .hero-island{width:140%;left:0;top:-5px}.hero-art .n1{top:-2px;left:34px;font-size:16px}.hero-art .n2{right:10px;bottom:0}.hero-art .island-label{bottom:18px;font-size:7px;left:54%;padding:5px 8px}.hero-meta{font-size:8px;margin-top:13px}.stats-grid{gap:8px;margin:17px 0 27px}.stat{padding:12px 7px;gap:7px;flex-direction:column;text-align:center;border-radius:12px}.stat-icon{width:33px;height:33px}.stat strong{font-size:20px}.stat p{font-size:8px;margin-top:4px}.section-heading{margin-bottom:16px;align-items:flex-start}.section-heading h2{font-size:18px}.section-heading p{font-size:10px}.stage-grid{gap:13px;grid-template-columns:1fr 1fr}.stage-art{height:122px}.stage-art .island{height:150px;margin-top:7px}.stage-body{padding:14px 12px 12px}.stage-body h3{font-size:15px;line-height:1.2;min-height:36px}.stage-body>p{font-size:8px;min-height:28px;margin-bottom:14px}.stage-number{font-size:6px;top:12px;left:10px}.stage-state{top:8px;right:6px;font-size:6px;padding:4px 5px}.stage-state.locked{padding:4px;background:transparent}.stage-state.locked svg{width:10px}.prize-line{gap:6px;margin:16px 0;min-height:37px}.prize-icon{width:27px;height:30px;flex-shrink:0}.prize-icon svg{width:14px}.prize-line strong{font-size:9px}.prize-line small{font-size:6px}.progress-label{font-size:7px}.stage-action{font-size:8px;min-height:42px;padding:8px;line-height:1.45}.stage-action svg{width:12px}.tip{padding:15px;gap:10px}.tip>div{flex:1}.tip strong{font-size:10px}.tip p{font-size:9px}.tip .text-button{margin-left:36px}.tip-icon{font-size:22px}footer{font-size:7px;line-height:1.7;padding:22px 0}.practice-layout{gap:0}.panel{padding:20px}.panel h2{font-size:18px}.table-picker{gap:8px}.table-picker button{font-size:20px}.award-grid{grid-template-columns:1fr}.award-card{margin-bottom:0}.history-row{gap:10px;flex-wrap:wrap}.history-row strong{font-size:12px}.history-row small{font-size:9px}.status-text{font-size:9px;margin-left:50px}.login-page{display:block;background:#fff}.login-art{padding:22px 25px;background:#eeebfa}.login-story{margin:24px 0 4px;text-align:left}.login-story h1{font-size:28px;margin-bottom:10px}.login-story>p{font-size:11px;margin-bottom:0;max-width:230px}.login-story .eyebrow{font-size:6px}.login-story .hero-island{position:absolute;width:165px;right:-34px;bottom:-13px;opacity:.9}.art-badge,.login-foot{display:none}.login-form{padding:30px 25px 38px;max-width:440px}.login-form h2{font-size:25px;max-width:280px}.login-fox{float:right;width:58px;margin:-2px 0 4px 8px}.login-form>.eyebrow{font-size:8px}.login-form>p{font-size:12px}.game-page{padding:20px 15px}.game-header .brand{font-size:12px}.game-header .button{font-size:9px;gap:6px;padding:10px}.game-header .button svg{width:13px}.game-container{margin:27px auto;padding:23px 18px;border-radius:18px}.game-progress-label{font-size:9px}.equation{font-size:48px;margin:30px 0}.question-area{padding:30px 0}.question-area .button{min-width:130px;font-size:12px}.answer-input{width:145px}.question-hint{font-size:8px;letter-spacing:.9px}.feedback strong{font-size:14px}.game-encouragement p{font-size:10px}.game-encouragement .fox{width:50px}.game-encouragement{gap:10px}.result h1{font-size:27px}.result>p{font-size:12px}.result-stats{gap:20px;font-size:10px}.earned h2{font-size:20px}.modal-overlay{padding:15px}.modal{padding:22px;max-height:92vh}.modal-heading h2{font-size:20px}.form-grid{gap:10px}.form-grid label{font-size:10px}.modal-actions{flex-wrap:wrap}.section-heading .button{font-size:10px;padding:10px;min-height:38px;gap:5px}.section-heading .button svg{width:14px}.child-row .profile{flex:1.2}.child-progress{flex:1;font-size:11px}.child-progress small{font-size:9px}.admin-stage{gap:12px}.admin-stage-copy h3{font-size:15px}.admin-stage-copy p{font-size:10px}.admin-stage>.pill{margin-left:47px}.info-box{padding:15px;gap:10px}.info-box p{font-size:10px}.admin-shell .topbar>.pill{font-size:8px}.admin-stage .row-actions{margin-left:47px}.award-row h3{font-size:14px}.award-row p{font-size:10px}.row-actions{gap:12px}.admin-shell .stats-grid .stat p{font-size:8px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}.mobile-logout{display:none}.warmup-panel{max-width:850px}.warmup-all{display:flex;align-items:center;gap:16px;width:100%;text-align:left;padding:22px;border:2px solid #e7dff5;border-radius:15px;background:#faf8ff;color:#79628f;margin:20px 0 28px}.warmup-all.selected{border-color:#9178d8;background:#f0eafb}.warmup-all strong,.warmup-all small{display:block}.warmup-all strong{font-size:18px;margin-bottom:8px}.warmup-all small{font-size:12px;line-height:1.7}.warmup-picker{grid-template-columns:repeat(4,1fr)}.warmup-saved{margin-top:24px;font-size:13px;color:#786c86}.warmup-panel .info-box{margin:24px 0 0}@media(max-width:700px){nav button{white-space:normal;min-width:0}.warmup-all{padding:16px;gap:10px}.warmup-all strong{font-size:16px}}.page-heading p,.hero p,.login-form>p,.login-story>p,.stage-body>p,.game-encouragement p,.muted,.admin-stage-copy p,.award-row p,.history-row small{color:#786c86}.button{font-size:14px}.hero p,.login-form>p{font-size:14px}label{font-size:14px;color:#70607e}.stage-body>p{font-size:12px}.progress-label{font-size:11px;color:#7e6e90}.prize-line strong{font-size:13px;color:#846e50}.stage-action{font-size:12px;min-height:44px}.stage-action.current{color:#72509e}.stat p{font-size:12px;color:#82728e}.game-progress-label{font-size:13px;color:#807089}.game-encouragement p{font-size:13px}.login-note{font-size:12px;color:#8a7c96}.tip p{font-size:12px;color:#81728e}.hero-meta{font-size:11px;color:#8b799d}@media(max-width:700px){.stage-grid{grid-template-columns:1fr}.stage-art{height:170px}.stage-art .island{height:200px}.stage-body{padding:20px}.stage-body h3{font-size:20px;min-height:auto}.stage-body>p{min-height:auto}.stage-number{font-size:10px;top:17px;left:18px}.stage-state{font-size:10px;right:16px;top:13px}.stage-action{font-size:13px}.prize-line strong{font-size:14px}.prize-line small{font-size:9px}.prize-icon{width:36px;height:36px}.stat p{font-size:10px}.hero p,.hero .button{font-size:12px}.hero-art{width:35%;right:-20px;bottom:85px}.game-progress-label{font-size:11px}.hero-meta{font-size:10px}.section-heading p{font-size:12px}.page-heading p{font-size:13px}}@media(max-width:700px){.mobile-logout{display:grid}}.sidebar{overflow-y:auto}.bonus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.bonus-card{margin:0;display:flex;flex-direction:column;gap:12px}.bonus-card h2{margin:0;font-size:23px}.poem-art{height:126px;background:linear-gradient(120deg,#eee9fa,#fff2df);border-radius:13px;display:flex;align-items:center;justify-content:center;gap:23px;color:#9b7cbe}.poem-art span{font-size:30px;color:#d8b172}.poem-art span:last-child{align-self:flex-start;margin-top:20px}.poem-excerpt{white-space:pre-wrap;color:#81728e;font-size:14px;line-height:1.8;overflow-wrap:anywhere}.bonus-card .pill{align-self:flex-start}.bonus-card .button{margin-top:auto}.bonus-prize{display:flex;align-items:center;gap:12px;color:#a07e43;padding:14px 0}.bonus-prize small{display:block;font-size:9px;letter-spacing:.7px;margin-bottom:6px}.bonus-prize strong{font-size:15px}.bonus-refresh{margin-bottom:20px}.poem-heading{margin-top:22px}.poem-heading p{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.poem-modes{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.poem-modes button{padding:13px 20px;border:1px solid #dfd5ed;background:#fff;border-radius:12px;color:#7c6494;font-size:14px;font-weight:600}.poem-modes button.selected{background:#7964d6;color:#fff;border-color:#7964d6;box-shadow:0 3px #604bb5}.poem-sheet{padding:32px 38px;border-left:5px solid #c4b3e5}.poem-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:22px;line-height:2;color:#584968;letter-spacing:.02em;margin-bottom:22px}.poem-line-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.word-hint{display:inline-block;border:0;border-bottom:2px dashed #d9c5ec;background:#f5effb;color:#584968;border-radius:7px;padding:0 5px;font-size:1em;line-height:1.5;vertical-align:baseline}.word-hint:hover{background:#e9def5}.word-hint.revealed{font-size:inherit;background:#fbf7e7;border-bottom-color:#e6cf8b}.bonus-finish{background:#f3effa;color:#7c6793;text-align:center;padding:28px}.bonus-finish h2{margin:10px 0}.bonus-finish p{font-size:14px}.bonus-editor label{margin-top:22px}.bonus-editor textarea{font:inherit;font-weight:400;line-height:1.8;color:#584968;padding:13px 15px;border:1px solid #e0d5eb;border-radius:10px;background:#fdfbff;width:100%;resize:vertical;min-height:90px}.bonus-editor textarea:focus-visible{outline:3px solid #d4c8f8;outline-offset:1px}.emoji-preview{margin-bottom:25px;background:#faf7fd;padding:16px;border-radius:12px}.bonus-area summary{cursor:pointer;color:#8b70ab;font-size:13px;padding:8px 0}.emoji-preview .poem-text{margin-top:16px;font-size:19px}.bonus-review{border-top:1px solid #eee7f6;padding:23px 0}.bonus-review:last-child{padding-bottom:0}.bonus-review>p{display:flex;align-items:center;gap:8px;color:#a08049;font-size:13px}.bonus-review .poem-text{font-size:18px;margin:12px 0 20px}.bonus-review details{margin-bottom:15px}.bonus-admin-list .panel{margin-bottom:16px}.bonus-admin-list h3{margin:0}.bonus-area h1,.bonus-area h2,.bonus-area h3{overflow-wrap:anywhere}@media(max-width:700px){.admin-shell .sidebar nav button{flex-basis:45%}.bonus-grid{grid-template-columns:1fr}.poem-text{font-size:19px;line-height:1.9}.poem-sheet{padding:22px 18px}.poem-modes{gap:7px}.poem-modes button{padding:12px 10px;font-size:12px;flex:1}.bonus-area .section-heading{flex-wrap:wrap}.bonus-review .button{font-size:12px}.poem-excerpt{font-size:13px}.sidebar nav{flex-wrap:wrap}.sidebar nav button{flex-basis:30%;border-radius:10px}.bonus-card h2{font-size:22px}}
