:root{--ink:#17213b;--muted:#6d7890;--line:#e7eaf3;--soft:#f7f8fc;--blue:#5267d8;--blue-dark:#3d4fb7;--lavender:#eef0ff;--green:#45a878;--orange:#ee9660;--shell:1180px}*{box-sizing:border-box}html{min-width:320px;background:#fbfcff}body{margin:0;color:var(--ink);background:linear-gradient(180deg,#fff 0,#fbfcff 40%,#f6f7fc 100%);font:15px/1.7 "Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}button,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}.hidden{display:none!important}.shell{width:min(calc(100% - 48px),var(--shell));margin:0 auto}.app-header{background:rgba(255,255,255,.93);border-bottom:1px solid rgba(231,234,243,.9)}.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;gap:11px}.brand-mark{display:inline-flex;align-items:flex-end;gap:3px;width:31px;height:31px;padding:5px;border-radius:10px;background:var(--blue);box-shadow:0 7px 18px rgba(82,103,216,.23)}.brand-mark i{display:block;width:5px;border-radius:4px;background:#fff}.brand-mark i:first-child{height:10px}.brand-mark i:nth-child(2){height:16px}.brand-mark i:last-child{height:21px}.brand-copy{display:flex;flex-direction:column;line-height:1.15}.brand-copy strong{font-size:18px;letter-spacing:.04em}.brand-copy small{margin-top:4px;color:#929ab0;font-size:9px;letter-spacing:.12em;text-transform:uppercase}.header-actions{display:flex;align-items:center;gap:14px}.session-label{color:#7d879d;font-size:13px}.page-main{padding:70px 0 110px}.login-panel{display:grid;grid-template-columns:1.1fr .9fr;gap:100px;align-items:center;min-height:570px}.eyebrow{display:flex;align-items:center;gap:9px;margin:0 0 18px;color:var(--blue);font-size:12px;font-weight:700;letter-spacing:.13em}.eyebrow span{display:inline-block;width:23px;height:2px;border-radius:2px;background:currentColor}.login-intro h1,.study-toolbar h1{margin:0;color:var(--ink);font-size:clamp(38px,5vw,62px);font-weight:800;line-height:1.27;letter-spacing:-.05em}.login-intro h1 em{color:var(--blue);font-style:normal}.lead{max-width:520px;margin:25px 0 28px;color:var(--muted);font-size:17px;line-height:1.95}.positioning-note{display:flex;gap:13px;max-width:610px;padding:17px 18px;border:1px solid #e1e5f4;border-radius:14px;background:rgba(246,248,255,.78);color:#747f98;font-size:12px;line-height:1.85}.positioning-note p{margin:0}.note-icon{display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:8px;color:var(--blue);background:var(--lavender)}.login-card{max-width:390px;padding:43px 42px;border:1px solid #e2e6f3;border-radius:22px;background:#fff;box-shadow:0 22px 60px rgba(56,68,125,.12);text-align:center}.login-card-icon{display:grid;place-items:center;width:55px;height:55px;margin:0 auto 20px;border-radius:17px;color:#fff;background:linear-gradient(145deg,#5369db,#7887ea);font-size:16px;font-weight:700;box-shadow:0 10px 22px rgba(82,103,216,.22)}.login-card h2{margin:0;font-size:23px}.login-card .muted{min-height:50px;margin:10px 0 20px;color:#8b94a8;font-size:13px}.message-error{color:#c76e61!important}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border:1px solid transparent;border-radius:9px;color:var(--ink);background:#fff;font-size:13px;font-weight:700;transition:background .18s,border-color .18s,transform .18s}.button:hover:not(:disabled){transform:translateY(-1px)}.button-primary{color:#fff;background:var(--blue);box-shadow:0 8px 18px rgba(82,103,216,.2)}.button-primary:hover:not(:disabled){background:var(--blue-dark)}.button-outline{border-color:#d7dcf4;color:var(--blue);background:#fff}.button-outline:hover:not(:disabled){background:#f5f6ff}.button-quiet{border-color:var(--line);color:#68738b;background:#fafbfe}.button-wide{width:100%}.login-tip{margin:18px 0 0;color:#a0a7b7;font-size:11px}.login-card .button+.button{margin-top:10px}.study-panel{min-height:680px}.study-toolbar{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:27px}.study-toolbar h1{font-size:clamp(30px,4vw,46px)}.toolbar-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.select-label{color:#8a94a9;font-size:12px}.toolbar-actions select{min-width:210px;max-width:310px;height:42px;padding:0 32px 0 12px;border:1px solid #dfe3f0;border-radius:9px;color:var(--ink);background:#fff}.icon-button{width:42px;height:42px;border:1px solid #dfe3f0;border-radius:9px;color:var(--blue);background:#fff;font-size:22px;line-height:1}.inline-notice,.error-notice{padding:11px 14px;border-radius:9px;font-size:12px}.inline-notice{margin-bottom:18px;color:#6c72a1;background:#f0f1ff;border:1px solid #e0e2fc}.error-notice{margin-bottom:18px;color:#b85d51;background:#fff1ee;border:1px solid #f5d8d1}.study-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,.75fr);gap:25px;align-items:start}.word-area{min-width:0}.word-card{min-height:610px;padding:28px 34px 24px;border:1px solid #e2e6f2;border-radius:22px;background:#fff;box-shadow:0 20px 56px rgba(56,68,125,.1)}.card-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#929bae;font-size:12px}.keyboard-hint{color:#a3aabd;font-size:11px}.word-content{min-height:310px;padding:65px 0 18px;text-align:center}.word-text{margin:0;color:var(--ink);font:800 clamp(46px,7vw,84px)/1.15 Georgia,"Times New Roman",serif;overflow-wrap:anywhere}.phonetic{min-height:27px;margin:15px 0 0;color:var(--blue);font:18px/1.5 Georgia,serif}.part-of-speech{min-height:24px;margin:4px 0 0;color:#a0a8ba;font-size:12px}.meaning-block,.example-block{max-width:620px;margin:24px auto 0;text-align:left}.detail-label{display:block;margin-bottom:3px;color:#9ca5b8;font-size:11px}.meaning-block p{margin:0;color:#303c5e;font-size:20px;font-weight:600}.example-block{padding-top:15px;border-top:1px solid #eef0f6}.example-block p{margin:0;color:#47526c;font-size:14px;line-height:1.75}.example-block .example-cn{margin-top:4px;color:#a1a8b8;font-size:12px}.word-hint{min-height:27px;margin:0;text-align:center;color:#9da5b6;font-size:12px}.card-actions{display:flex;justify-content:center;gap:11px;margin:14px 0 22px}.card-actions .button span{color:#a0a8ba;font-size:10px;font-weight:400}.rating-area{padding-top:21px;border-top:1px solid var(--line)}.rating-area>p{margin:0 0 12px;color:#8993a8;text-align:center;font-size:12px}.rating-buttons{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.rating{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:65px;padding:8px 3px;border:1px solid #e2e6f0;border-radius:10px;background:#fcfdff;color:#7d879a;transition:transform .15s,background .15s}.rating strong{font-size:19px;line-height:1.15}.rating span{margin-top:4px;font-size:10px;white-space:nowrap}.rating:hover:not(:disabled){transform:translateY(-2px)}.rating-0:hover:not(:disabled),.rating-1:hover:not(:disabled){border-color:#edb8a8;background:#fff4f0;color:#c57460}.rating-2:hover:not(:disabled),.rating-3:hover:not(:disabled){border-color:#e6c391;background:#fff9ee;color:#be8b4a}.rating-4:hover:not(:disabled),.rating-5:hover:not(:disabled){border-color:#a9d6bf;background:#f0fbf4;color:#43996d}.empty-state,.paused-state{min-height:400px;padding:100px 30px;border:1px dashed #dce1ed;border-radius:22px;background:#fff;text-align:center}.empty-icon{display:grid;place-items:center;width:50px;height:50px;margin:0 auto 17px;border-radius:16px;color:var(--green);background:#eaf8f0;font-size:23px}.empty-state h2{margin:0;font-size:23px}.empty-state p{margin:8px 0 22px;color:#929bad;font-size:13px}.paused-state{padding:155px 30px;color:#7d879d;font-size:15px}.stats-area{padding:25px;border:1px solid #e2e6f2;border-radius:20px;background:#fff;box-shadow:0 15px 38px rgba(56,68,125,.07)}.stats-heading{display:flex;align-items:end;justify-content:space-between;gap:20px}.stats-heading .eyebrow{margin-bottom:8px}.stats-heading h2{margin:0;font-size:25px}.text-button{padding:5px 0;border:0;color:var(--blue);background:transparent;font-size:12px}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.stat-card{padding:16px 14px;border:1px solid #edf0f6;border-radius:12px;background:#fbfcff}.stat-card span,.stat-card small{display:block;color:#929bad;font-size:11px}.stat-card strong{display:block;margin:3px 0;color:var(--ink);font-size:26px;line-height:1.25}.progress-card{margin-top:18px;padding:17px;border-radius:13px;background:#f7f8ff}.progress-card-head{display:flex;justify-content:space-between;gap:10px;color:#737d97;font-size:12px}.progress-card-head strong{color:var(--blue)}.progress-track{height:8px;margin:13px 0 9px;border-radius:10px;background:#e2e5f4;overflow:hidden}.progress-track span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#5267d8,#818feb);transition:width .3s}.progress-card p{margin:0;color:#9aa2b3;font-size:11px}.sync-card{display:flex;gap:10px;align-items:flex-start;margin-top:18px;padding-top:17px;border-top:1px solid var(--line)}.sync-dot{width:8px;height:8px;flex:none;margin-top:8px;border-radius:50%;background:#67bd8e;box-shadow:0 0 0 4px #e9f8ef}.sync-card strong{display:block;font-size:12px}.sync-card p{margin:3px 0 0;color:#9aa2b3;font-size:11px}.global-status{position:fixed;right:24px;bottom:24px;z-index:5;max-width:min(360px,calc(100% - 48px));padding:11px 15px;border:1px solid #dce1ef;border-radius:9px;color:#65708b;background:#fff;box-shadow:0 10px 30px rgba(39,53,105,.14);font-size:12px;pointer-events:none;opacity:0;transform:translateY(8px);transition:opacity .2s,transform .2s}.global-status:not(:empty){opacity:1;transform:translateY(0)}.global-status.success{border-color:#c7ead5;color:#398562;background:#f3fcf6}.global-status.warning{border-color:#f2dec0;color:#a27640;background:#fffaf2}.app-footer{border-top:1px solid #e8eaf2;background:#fff;color:#9aa3b6;font-size:11px}.footer-inner{display:flex;justify-content:space-between;gap:15px;padding:24px 0}.footer-inner a{color:var(--blue)}@media (max-width:900px){.login-panel{grid-template-columns:1fr;gap:38px;min-height:0}.login-card{max-width:470px}.study-toolbar{align-items:start;flex-direction:column;gap:20px}.toolbar-actions{justify-content:flex-start}.study-grid{grid-template-columns:1fr}.stats-area{order:-1}.stats-grid{grid-template-columns:repeat(4,1fr)}.progress-card{display:none}}@media (max-width:620px){.shell{width:min(calc(100% - 32px),var(--shell))}.header-inner{min-height:68px}.brand-copy strong{font-size:16px}.session-label{display:none}.page-main{padding:43px 0 80px}.login-intro h1{font-size:40px}.lead{font-size:15px}.positioning-note{font-size:11px}.login-card{padding:30px 23px}.toolbar-actions{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) 42px 70px}.toolbar-actions select{min-width:0;width:100%}.word-card{padding:20px 16px 18px;border-radius:17px}.card-meta{align-items:flex-start}.keyboard-hint{display:none}.word-content{min-height:290px;padding:60px 0 13px}.word-text{font-size:clamp(43px,14vw,66px)}.meaning-block p{font-size:18px}.rating-buttons{grid-template-columns:repeat(3,1fr);gap:7px}.rating{min-height:59px}.rating span{font-size:9px}.stats-area{padding:18px}.stats-grid{gap:7px}.stat-card{padding:12px 8px}.stat-card strong{font-size:21px}.stat-card span,.stat-card small{font-size:10px}.empty-state,.paused-state{min-height:330px;padding:90px 20px}.footer-inner{display:block}.footer-inner a{display:inline-block;margin-top:6px}}@media (max-width:390px){.toolbar-actions{grid-template-columns:1fr 42px 64px}.select-label{grid-column:1/-1}.stats-grid{grid-template-columns:1fr 1fr}.word-text{font-size:40px}.card-actions{flex-wrap:wrap}.card-actions .button{flex:1}}

.guest-notice{display:flex;align-items:center;gap:12px;margin-bottom:18px;padding:12px 14px;border:1px solid #dce2fb;border-radius:12px;background:#f7f8ff;color:#6c7695}
.guest-notice-icon{display:grid;place-items:center;flex:none;width:36px;height:28px;border-radius:8px;color:var(--blue);background:#e9ecff;font-size:11px;font-weight:700}
.guest-notice-copy{min-width:0;flex:1}
.guest-notice-copy strong{display:block;color:#4e5da7;font-size:12px}
.guest-notice-copy p{margin:2px 0 0;color:#8a93ac;font-size:11px;line-height:1.5}
.guest-notice .button{flex:none;min-height:34px;padding:7px 12px;font-size:11px}
@media (max-width:620px){.guest-notice{align-items:flex-start;flex-wrap:wrap}.guest-notice-copy{padding-top:1px}.guest-notice .button{width:100%;margin-left:48px}}
