:root{--brand: #003468;--brand-strong: #001e44;--brand-soft: #e8efff;--accent: #6c8cff;--bg: #f4f5f7;--surface: #ffffff;--surface-muted: #f9fafb;--surface-pressed: #eef0f3;--divider: #e5e7eb;--text: #111827;--text-muted: #6b7280;--text-dim: #9ca3af;--danger: #dc2626;--success: #10b981;--warning: #f59e0b;--radius-sm: 8px;--radius: 14px;--radius-lg: 20px;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .04);--shadow: 0 2px 8px rgba(0, 0, 0, .05), 0 1px 2px rgba(0, 0, 0, .04);--shadow-lg: 0 12px 32px rgba(0, 0, 0, .12);--blur: saturate(180%) blur(20px);--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);color-scheme:light dark}@media(prefers-color-scheme:dark){:root{--bg: #000000;--surface: #1c1c1e;--surface-muted: #161618;--surface-pressed: #2c2c2e;--divider: #2c2c2e;--text: #f5f5f7;--text-muted: #98989d;--text-dim: #6e6e72;--brand: #5b8cff;--brand-strong: #95b3ff;--brand-soft: #1e2645;--shadow: 0 2px 8px rgba(0, 0, 0, .4)}}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,Helvetica Neue,Helvetica,Microsoft YaHei,Arial,sans-serif;font-size:15px;line-height:1.5;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;overscroll-behavior:none}button{font:inherit;color:inherit;border:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}input,textarea{font:inherit;color:inherit}a{color:var(--brand);text-decoration:none}.app-shell{display:flex;flex-direction:column;min-height:100vh;padding-top:var(--safe-top)}.app-shell main{flex:1;padding-bottom:calc(64px + var(--safe-bottom))}.tab-bar{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:stretch;justify-content:space-around;height:calc(56px + var(--safe-bottom));padding-bottom:var(--safe-bottom);background:color-mix(in srgb,var(--surface) 80%,transparent);backdrop-filter:var(--blur);-webkit-backdrop-filter:var(--blur);border-top:1px solid var(--divider);z-index:50}.tab-bar a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11px;color:var(--text-muted);transition:color .12s ease}.tab-bar a.active{color:var(--brand)}.tab-bar .icon{font-size:20px;line-height:1}.card{background:var(--surface);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow)}.row{display:flex;align-items:center;gap:12px;padding:12px 16px;background:var(--surface);border-bottom:1px solid var(--divider);cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .1s ease}.row:active,.row:hover{background:var(--surface-pressed)}.row:last-child{border-bottom:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:44px;padding:0 18px;border-radius:12px;font-weight:600;font-size:15px;background:var(--brand);color:#fff;transition:transform .1s ease,background .12s ease,opacity .12s ease}.btn:active{transform:scale(.97)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn--ghost{background:transparent;color:var(--brand)}.btn--danger{background:transparent;color:var(--danger)}.input{width:100%;height:48px;padding:0 14px;border-radius:12px;background:var(--surface);border:1px solid var(--divider);font-size:15px;color:var(--text);transition:border-color .12s ease}.input:focus{outline:none;border-color:var(--brand)}textarea.input{height:auto;min-height:44px;padding:12px 14px;resize:vertical}.page{padding:20px 20px 40px}.page h1{margin:4px 0 16px;font-size:28px;font-weight:700;letter-spacing:-.02em}.page h2{font-size:18px;font-weight:700;margin:0}.page p{margin:0;color:var(--text-muted)}.muted{color:var(--text-muted);font-size:13px}.dim{color:var(--text-dim)}.danger{color:var(--danger)}.avatar{flex:0 0 auto;width:36px;height:36px;border-radius:50%;background:var(--brand-soft);color:var(--brand);display:inline-flex;align-items:center;justify-content:center;font-weight:700}.avatar.big{width:72px;height:72px;font-size:26px}.center{display:flex;align-items:center;justify-content:center;min-height:60vh;flex-direction:column;gap:12px}.spinner{width:24px;height:24px;border:2px solid var(--divider);border-top-color:var(--brand);border-radius:50%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.video-shell{width:100%;aspect-ratio:16 / 9;background:#000}.video-shell video{width:100%;height:100%;object-fit:contain;background:#000}.module-row{display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--surface);border-bottom:1px solid var(--divider);cursor:pointer;transition:background .1s ease}.module-row:hover,.module-row:active{background:var(--surface-pressed)}.module-row .icon{width:24px;text-align:center;font-size:18px;flex:0 0 24px}.module-row .body{flex:1;min-width:0}.module-row .name{font-size:15px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.module-row.is-container .name{font-weight:600}.module-row .meta{margin-top:2px;font-size:12px;color:var(--text-dim)}.module-row .chevron{color:var(--text-dim);font-size:16px}.module-row .done{color:var(--success);font-weight:700}.bg-stack{display:flex;flex-direction:column;gap:12px}.tile{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);text-decoration:none;color:inherit;transition:transform .12s ease}.tile:active{transform:scale(.99)}.tile .body{flex:1;min-width:0}.tile .arrow{color:var(--text-dim);font-size:20px}.tile .title{font-weight:600;font-size:15px;color:var(--text)}.tile .sub{margin-top:2px;font-size:12px;color:var(--text-muted)}.login{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px 24px;background:linear-gradient(180deg,var(--surface) 0%,var(--bg) 100%)}.login .brand{font-size:48px;font-weight:800;letter-spacing:-.04em;color:var(--brand);margin-bottom:8px}.login form{width:100%;max-width:360px;display:flex;flex-direction:column;gap:12px}.comments{padding:20px 16px}.comments h2{font-size:16px;margin:0 0 12px}.comment{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--divider)}.comment .meta{display:flex;gap:8px;align-items:baseline}.comment .name{font-weight:600;font-size:14px}.comment .time{font-size:12px;color:var(--text-dim)}.comment .content{margin-top:4px;font-size:14px;color:var(--text);line-height:1.55;white-space:pre-wrap;word-break:break-word}.composer{display:flex;gap:8px;align-items:flex-end;margin-bottom:8px}.composer .input{flex:1}.composer .btn{min-width:72px;padding:0 14px}.list{display:flex;flex-direction:column;gap:0}.list-section{background:var(--surface);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm)}.spacer{height:12px}.hero{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 24px;text-align:center;background:linear-gradient(135deg,#003468,#6c8cff);color:#fff}.hero h1{font-size:48px;margin:0 0 16px;letter-spacing:-.03em}.hero p{color:#ffffffd9;max-width:540px;font-size:16px;line-height:1.6}.hero .downloads{margin-top:28px;display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.hero .download-btn{display:inline-flex;align-items:center;gap:10px;padding:12px 20px;border-radius:14px;background:#ffffff2e;color:#fff;font-weight:600;font-size:15px;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);transition:transform .12s ease,background .12s ease}.hero .download-btn:hover{background:#ffffff47;transform:translateY(-1px)}@media(prefers-reduced-motion:no-preference){.fade-in{animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}}
