:root{--star-primary: #2577E8;--star-primary-light: #E8F1FF;--star-primary-dark: #1A5FC2;--star-success: #22B573;--star-success-light: #E6F7EF;--star-danger: #F53F3F;--star-danger-light: #FFECEC;--star-warning: #FF9500;--star-warning-light: #FFF4E5;--bg-page: #F7F9FC;--bg-card: #FFFFFF;--text-title: #1D2129;--text-body: #4E5969;--text-aux: #86909C;--border-line: #E5E6EB;--shadow: 0 2px 12px rgba(0, 0, 0, .06);--radius-card: 12px;--radius-btn: 8px;color-scheme:light;color:var(--text-body);background:var(--bg-page);font-family:PingFang SC,Microsoft YaHei,Segoe UI,sans-serif;font-size:16px;line-height:1.5}*{box-sizing:border-box}body{margin:0;background:var(--bg-page)}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--star-primary);outline-offset:2px}.phone{width:min(480px,100%);min-height:100vh;margin:0 auto;background:var(--bg-page)}.phone.has-tab{padding-bottom:72px}.tabs{position:fixed;z-index:20;bottom:0;left:50%;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;width:min(480px,100%);height:62px;padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid var(--border-line);transform:translate(-50%)}.tabs a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--text-aux);font-size:11px;text-decoration:none}.tabs a.router-link-active{color:var(--star-primary)}.tabs svg,.glyph{width:22px;height:22px;display:block}.screen{min-height:100vh}.pad-bar{padding-bottom:92px}.pad-dock{padding-bottom:132px}.screen-body{padding:12px 16px 24px}.bar,.brand-bar{background:var(--star-primary);color:#fff}.bar{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:42px 1fr 72px;align-items:center;height:52px;padding:0 8px}.bar strong,.brand-name{font-size:18px;font-weight:700;letter-spacing:.5px}.bar strong{text-align:center}.icon-btn,.tool{display:flex;flex-direction:column;align-items:center;justify-content:center;border:0;background:transparent;color:inherit}.icon-btn{width:42px;height:42px;font-size:28px;line-height:1}.pill{justify-self:end;padding:4px 8px;border-radius:999px;background:#ffffff2e;font-size:13px;font-variant-numeric:tabular-nums}.brand-bar{padding:18px 16px 22px}.brand-row{display:flex;align-items:center;gap:12px}.brand-name{font-size:26px;white-space:nowrap}.search{display:flex;flex:1;align-items:center;gap:6px;min-width:0;padding:8px 12px;border-radius:999px;background:#fff;color:var(--text-aux)}.search input{width:100%;border:0;outline:0;background:transparent;color:var(--text-title)}.search svg{width:16px;height:16px;flex:none}.hero{display:flex;align-items:center;justify-content:space-between;margin:16px 16px 0;padding:18px 16px;border-radius:var(--radius-card);background:linear-gradient(135deg,#3d8bf5,#2577e8);color:#fff;box-shadow:var(--shadow)}.hero.lively{background:linear-gradient(135deg,#8ebfff,#2577e8 68%)}.hero.calm{background:#2577e8}.hero h1{margin:0 0 6px;font-size:26px;font-weight:750}.hero p{margin:0;color:#ffffffe0;font-size:13px}.hero-art{width:72px;height:72px;flex:none;color:#ffffffeb}.hero-art svg{width:72px;height:72px}.panel{margin:12px 16px;padding:8px 8px 14px;border-radius:var(--radius-card);background:var(--bg-card);box-shadow:var(--shadow)}.entries{display:grid;grid-template-columns:repeat(3,1fr);gap:4px 0}.entry{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 4px;border:0;border-radius:var(--radius-btn);background:transparent;color:var(--text-title);font-size:13px;text-decoration:none}.entry:hover{background:var(--star-primary-light)}.entry-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px}.entry-icon svg{width:26px;height:26px}.stat-card{display:grid;grid-template-columns:repeat(3,1fr);margin:0 16px 16px;padding:14px 0;border-radius:var(--radius-card);background:#fff;box-shadow:var(--shadow)}.stat-card div,.stat4 button{border:0;background:transparent;text-align:center}.stat-card span,.stat4 span,.muted{color:var(--text-aux);font-size:12px}.stat-card strong,.stat4 strong{display:block;margin-top:4px;color:var(--text-title);font-size:22px;font-weight:750}.stat-card small,.stat4 small{margin-left:2px;font-size:12px;font-weight:500}.stat4{display:grid;grid-template-columns:repeat(4,1fr);margin:-28px 16px 12px;padding:8px 0;border-radius:var(--radius-card);background:#fff;box-shadow:var(--shadow)}.stat4 button{padding:8px 2px}.stat4 button.on strong{color:var(--star-primary)}.pick{display:grid;grid-template-columns:88px 1fr;min-height:calc(100vh - 52px);background:#f4f8fd}.grades{background:#fff;overflow:auto}.grades button{width:100%;padding:16px 6px;border:0;background:transparent;color:var(--text-body)}.grades button.on{background:var(--star-primary);color:#fff;font-weight:700}.subject-wrap{padding:12px}.subjects{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.subject{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:96px;padding:8px;border:1.5px solid transparent;border-radius:var(--radius-card);background:#fff;box-shadow:var(--shadow);color:var(--text-title)}.subject.soft{background:linear-gradient(#fff,#f3f7ff)}.subject:hover{background:var(--star-primary-light);transform:translateY(-2px)}.subject.on,.subject.on:hover{border-color:var(--star-primary);background:var(--star-primary-light);transform:none}.sub-ico{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:#fff;font-weight:700}.subject b{font-size:14px;font-weight:650}.chapters{display:flex;flex-direction:column;gap:8px;margin-top:14px}.chapter{display:flex;gap:10px;align-items:center;width:100%;padding:12px;border:1px solid transparent;border-radius:var(--radius-card);background:#fff;box-shadow:var(--shadow);color:var(--text-title);text-align:left}.chapter em{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--star-primary-light);color:var(--star-primary);font-style:normal;font-size:12px}.chapter.on{border-color:var(--star-primary);background:var(--star-primary-light)}.progress{padding:10px 16px 0;background:var(--bg-page)}.progress-line{height:4px;border-radius:4px;background:#e5e6eb;overflow:hidden}.progress-line span{display:block;height:100%;background:var(--star-primary)}.progress p{margin:8px 0 0;color:var(--text-aux);font-size:13px;text-align:center}.q-card,.card{margin:12px 16px;padding:16px;border-radius:var(--radius-card);background:var(--bg-card);box-shadow:var(--shadow)}.stem{margin:0 0 8px;color:var(--text-body);font-size:18px;line-height:1.65}.opt{display:block;width:100%;margin-top:10px;padding:12px 16px;border:1px solid var(--border-line);border-radius:999px;background:#fff;color:var(--text-title);text-align:left}.opt:hover:not(:disabled){background:var(--star-primary-light)}.opt.on{border-color:var(--star-primary);background:var(--star-primary-light);color:var(--star-primary-dark)}.opt.right{border-color:var(--star-success);background:var(--star-success);color:#fff}.opt.wrong{border-color:var(--star-danger);background:var(--star-danger);color:#fff}.opt:disabled{cursor:default}.blank{width:100%;margin-top:12px;padding:12px;border:1px solid var(--border-line);border-radius:var(--radius-btn);background:#fff}.blank.right{border-color:var(--star-success);background:var(--star-success-light)}.blank.wrong{border-color:var(--star-danger);background:var(--star-danger-light)}.answer-bar,.dock{position:fixed;z-index:25;bottom:0;left:50%;display:flex;gap:10px;align-items:center;width:min(480px,100%);padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--border-line);transform:translate(-50%)}.dock{flex-direction:column;align-items:stretch;background:linear-gradient(transparent,#fff 24%);border-top:0}.tool{min-width:48px;color:var(--text-body);font-size:11px;gap:2px}.tool svg{width:20px;height:20px}.tool.on{color:var(--star-warning)}.counts{display:flex;gap:8px}.counts button,.chip{border:0;border-radius:999px;background:var(--star-primary-light);color:var(--star-primary);padding:6px 12px}.counts button.on,.chip.on{background:var(--star-primary);color:#fff}.btn{border:0;border-radius:var(--radius-btn);padding:10px 16px;background:var(--star-primary);color:#fff;font-weight:650}.btn:hover{background:var(--star-primary-dark)}.btn:disabled{opacity:.45;cursor:default}.btn.block{width:100%;height:46px}.btn.grow{flex:1;height:44px}.btn.success{background:var(--star-success)}.btn.success:hover{background:#1a9a62}.btn.danger{background:var(--star-danger)}.btn.ghost{background:#fff;color:var(--star-primary);border:1px solid var(--border-line)}.btn.line{background:transparent;color:var(--star-primary)}.mask{position:fixed;z-index:40;top:0;right:0;bottom:0;left:0;display:flex;align-items:flex-end;justify-content:center;background:#1d212959}.sheet{width:min(480px,100%);max-height:72vh;overflow:auto;padding:16px 16px calc(16px + env(safe-area-inset-bottom));border-radius:12px 12px 0 0;background:#fff}.sheet h2{margin:0 0 12px;color:var(--text-title);font-size:16px}.num-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.num-grid button{height:40px;border:1px solid var(--border-line);border-radius:var(--radius-btn);background:#fff;color:var(--text-title)}.num-grid button.now{border-color:var(--star-primary);background:var(--star-primary-light);color:var(--star-primary-dark)}.num-grid button.good{border-color:transparent;background:var(--star-success);color:#fff}.num-grid button.bad{border-color:transparent;background:var(--star-danger);color:#fff}.num-grid button.mark{box-shadow:inset 0 -3px 0 var(--star-warning)}.sheet-links{display:flex;flex-direction:column}.sheet-links a,.sheet-links button{padding:14px 4px;border:0;border-bottom:1px solid var(--border-line);background:transparent;color:var(--text-title);text-align:left;text-decoration:none}.review{position:relative;padding-top:28px}.badge{position:absolute;top:0;left:50%;padding:4px 14px;border-radius:0 0 8px 8px;background:var(--star-success);color:#fff;font-size:13px;transform:translate(-50%)}.badge.bad{background:var(--star-danger)}.answer-line{color:var(--text-title)}.answer-line b{color:var(--star-primary);font-size:18px}.parse{padding:12px;border-radius:var(--radius-btn);background:var(--star-primary-light);color:var(--text-body);white-space:pre-wrap}.steps{margin:8px 0 0;padding:0;list-style:none}.steps li{position:relative;padding:10px 0 10px 18px;border-bottom:1px dashed var(--border-line);color:var(--text-body)}.steps li:before{content:"";position:absolute;top:16px;left:0;width:8px;height:8px;border:2px solid var(--star-primary);border-radius:50%;background:#fff}.score-num{margin:8px 0;color:var(--text-title);font-size:40px;font-weight:750}.score-num small{font-size:16px;color:var(--text-aux);font-weight:500}.chips{display:flex;gap:18px;overflow:auto;padding:0 16px 8px;background:var(--star-primary);color:#ffffffb8}.chips button{flex:none;padding:8px 0 10px;border:0;background:transparent;color:inherit}.chips button.on{color:#fff;font-weight:700;box-shadow:inset 0 -2px #fff}.blue-head{background:var(--star-primary);color:#fff;padding-bottom:36px}.blue-head .bar{position:static}.wrong-card,.paper-card,.mine-card,.q-item{margin:0 16px 12px;padding:14px;border-radius:var(--radius-card);background:#fff;box-shadow:var(--shadow)}.tag{display:inline-block;margin-right:6px;padding:1px 6px;border-radius:4px;background:var(--star-danger);color:#fff;font-size:12px}.state{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;font-size:12px}.state.wait{background:var(--star-warning-light);color:var(--star-warning)}.state.done{background:var(--star-success-light);color:var(--star-success)}.card-top,.row-between{display:flex;justify-content:space-between;gap:8px;align-items:center}.paper-card h2,.wrong-card h2,.q-item h2{margin:8px 0;color:var(--text-title);font-size:16px;font-weight:700}.meta{color:var(--text-aux);font-size:13px}.linkish{border:0;background:transparent;color:var(--star-primary);text-decoration:none}.mine-top{padding-bottom:28px}.profile{display:flex;gap:12px;align-items:center;margin:-20px 16px 12px;padding:16px;border-radius:var(--radius-card);background:#fff;box-shadow:var(--shadow)}.avatar{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--star-primary-light);color:var(--star-primary);font-size:24px;font-weight:750}.profile h1{margin:0;color:var(--text-title);font-size:20px}.grade-badge{display:inline-block;margin-top:4px;padding:1px 8px;border-radius:999px;background:var(--star-primary-light);color:var(--star-primary);font-size:12px}.menu{display:grid;grid-template-columns:repeat(4,1fr);gap:8px 0;margin:0 16px 12px;padding:12px 0;border-radius:var(--radius-card);background:#fff;box-shadow:var(--shadow)}.menu a{display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--text-title);font-size:12px;text-decoration:none}.menu i{display:grid;place-items:center;width:42px;height:42px;border-radius:12px}.menu svg{width:22px;height:22px}.auth-page{display:flex;justify-content:center;min-height:100vh;padding:54px 16px 32px;background:linear-gradient(#2577e8 0 200px,var(--bg-page) 200px)}.auth-card{width:min(420px,100%);height:fit-content;padding:28px 22px;border-radius:var(--radius-card);background:#fff;box-shadow:var(--shadow)}.logo-mark{display:grid;place-items:center;width:54px;height:54px;margin-bottom:10px;border-radius:16px;background:var(--star-primary);color:#fff;font-size:28px}.auth-card h1{margin:0 0 4px;color:var(--text-title);font-size:26px}.auth-card h2{margin:18px 0 8px;color:var(--text-title);font-size:16px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px;color:var(--text-body);font-size:14px}input,select,textarea{width:100%;padding:10px 12px;border:1px solid var(--border-line);border-radius:var(--radius-btn);background:#fff;color:var(--text-title)}textarea{min-height:90px;resize:vertical}.error{margin:0 0 8px;color:var(--star-danger);font-size:13px}.ok{color:var(--star-success)}.auth-links{display:flex;justify-content:space-between;margin-top:12px;font-size:14px}.auth-links a,.auth-links button{color:var(--star-primary);border:0;background:transparent;padding:0}.form-grid{display:grid;grid-template-columns:1fr;gap:12px}.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.filters>*{width:auto;min-width:120px}.table-wrap{overflow:auto;background:#fff;border-radius:var(--radius-card);box-shadow:var(--shadow)}.table{width:100%;border-collapse:collapse;background:#fff}.table th,.table td{padding:10px 12px;border-bottom:1px solid var(--border-line);text-align:left;vertical-align:top}.table th{color:var(--text-aux);font-weight:600;font-size:13px}.opt-row{display:grid;grid-template-columns:64px 1fr auto;gap:8px;align-items:center;margin-bottom:8px}.opt-row label{display:flex;align-items:center;gap:4px;white-space:nowrap}.pager{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center;margin-top:12px;padding:0 16px 16px;color:var(--text-aux)}.screen>.mine-card:first-of-type{margin-top:12px}.empty{padding:28px 16px;color:var(--text-aux);text-align:center}.stack-row{padding:10px 0;border-bottom:1px solid var(--border-line)}
