:root{--bg-canvas: #efece4;--paper-bg: #faf6ee;--card-bg: #ffffff;--line-soft: #eae1d2;--ink-strong: #23201c;--ink-body: #4b453d;--ink-muted: #847b6f;--brand-amber: #b85d28;--brand-amber-soft: #fdf2e9;--brand-pine: #234e48;--brand-pine-soft: #eaf3f1;--gold-accent: #d48b28;--danger: #df453a}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{margin:0;padding:0;min-height:100%;background:var(--bg-canvas);color:var(--ink-strong);font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;-webkit-font-smoothing:antialiased}button{font-family:inherit}.demo-topbar{position:sticky;top:0;z-index:900;height:52px;padding:0 20px;background:#fcf9f3e0;backdrop-filter:blur(20px) saturate(170%);-webkit-backdrop-filter:blur(20px) saturate(170%);border-bottom:1px solid var(--line-soft);display:flex;align-items:center;justify-content:space-between;gap:12px}.demo-topbar-left{display:flex;align-items:center;gap:10px;min-width:0}.demo-brand-badge{width:28px;height:28px;border-radius:8px;background:var(--brand-pine);color:#fff;font-weight:700;font-size:13px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.demo-topbar-title{font-size:14px;font-weight:600;color:var(--ink-strong);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.demo-seg-switch{position:relative;display:inline-grid;grid-template-columns:1fr 1fr;padding:3px;border-radius:999px;background:#e7e0d3;border:1px solid #dcd3c2;min-width:268px}.demo-seg-pill{position:absolute;top:3px;bottom:3px;left:3px;width:calc(50% - 3px);border-radius:999px;background:#fff;box-shadow:0 2px 6px #23201c1a;transition:transform .32s cubic-bezier(.22,1.12,.36,1)}.demo-seg-pill.is-admin{transform:translate(100%)}.demo-seg-btn{position:relative;z-index:1;border:0;background:transparent;padding:6px 14px;font-size:13px;font-weight:600;color:var(--ink-body);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:999px;transition:color .2s ease}.demo-seg-btn.active{color:var(--brand-pine)}.topbar-reset-btn{height:32px;padding:0 12px;border-radius:999px;border:1px solid #ddd3c2;background:#ffffffd9;color:var(--ink-body);font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:5px;cursor:pointer;transition:background .18s ease}.topbar-reset-btn:hover{background:#fff}.mobile-stage{min-height:calc(100vh - 52px);padding:18px 16px 22px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--bg-canvas)}.mobile-stage.noguide{min-height:100vh}.iphone-18pm-frame{position:relative;width:430px;height:min(896px,calc(100vh - 92px));min-height:740px;background:var(--paper-bg);border-radius:54px;border:11px solid #1d1b19;box-shadow:0 0 0 2px #3b3733,0 26px 64px #201a1238;overflow:hidden;display:flex;flex-direction:column}.mobile-stage.noguide .iphone-18pm-frame{height:min(900px,calc(100vh - 36px))}.ios-statusbar{position:relative;height:46px;padding:12px 26px 0;display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;color:var(--ink-strong);background:#faf6eee0;backdrop-filter:blur(20px) saturate(170%);-webkit-backdrop-filter:blur(20px) saturate(170%);flex-shrink:0;z-index:95}.dynamic-island{position:absolute;left:50%;top:10px;transform:translate(-50%);width:122px;height:31px;border-radius:999px;background:#0f0e0d;display:flex;align-items:center;justify-content:flex-end;padding-right:11px}.dynamic-island-lens{width:9px;height:9px;border-radius:50%;background:#1e2a38;border:1px solid #2d3e52}.ios-status-icons{display:inline-flex;align-items:center;gap:5px;font-size:11px}.liquid-top-nav{position:sticky;top:0;z-index:44;margin:0 -16px 10px;padding:6px 16px 10px;background:#faf6eeb8;backdrop-filter:blur(24px) saturate(185%);-webkit-backdrop-filter:blur(24px) saturate(185%);border-bottom:1px solid rgba(255,255,255,.65);display:flex;align-items:center;justify-content:space-between;gap:10px}.glass-child-pill{display:inline-flex;align-items:center;gap:8px;height:42px;padding:4px 13px 4px 5px;border-radius:999px;background:#ffffffc7;backdrop-filter:blur(22px) saturate(180%);-webkit-backdrop-filter:blur(22px) saturate(180%);border:1px solid rgba(255,255,255,.94);box-shadow:inset 0 1px #fffffffa,0 6px 18px #261f1614;cursor:pointer;color:var(--ink-strong);transition:transform .16s ease}.glass-child-pill:active{transform:scale(.98)}.glass-child-pill img{width:31px;height:31px;border-radius:50%;object-fit:cover;border:1.5px solid #ffffff}.glass-top-actions{display:inline-flex;align-items:center;gap:8px}.glass-circle-btn{position:relative;width:40px;height:40px;border-radius:50%;background:#ffffffc7;backdrop-filter:blur(22px) saturate(180%);-webkit-backdrop-filter:blur(22px) saturate(180%);border:1px solid rgba(255,255,255,.94);box-shadow:inset 0 1px #fffffffa,0 6px 16px #261f1614;color:var(--ink-strong);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:transform .16s ease,background .18s ease}.glass-circle-btn:active{transform:scale(.94)}.notif-red-dot{position:absolute;top:7px;right:8px;width:9px;height:9px;border-radius:50%;background:var(--danger);border:1.8px solid #ffffff;box-shadow:0 2px 5px #df453a73}.miniapp-scroll-viewport{flex:1;overflow-y:auto;overflow-x:hidden;padding:0 16px 168px;scroll-behavior:smooth}.miniapp-scroll-viewport::-webkit-scrollbar{width:0;height:0}.liquid-tabbar{position:absolute;left:14px;right:14px;bottom:22px;height:62px;padding:5px;border-radius:31px;background:#fffcf6c7;backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border:1px solid rgba(255,255,255,.92);box-shadow:inset 0 1px #fffffff5,0 10px 28px #2a211624;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;z-index:50}.liquid-pill{position:absolute;top:5px;bottom:5px;left:5px;width:calc((100% - 10px)/4);border-radius:26px;background:#fffffff2;border:1px solid rgba(226,214,196,.75);box-shadow:inset 0 1px #fff,0 4px 12px #234e481c;transform:translate(calc(var(--active-tab, 0) * 100%));transition:transform .34s cubic-bezier(.22,1.12,.36,1);pointer-events:none}.liquid-tab-btn{position:relative;z-index:1;height:100%;min-height:44px;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#6b6358;font-size:11px;font-weight:600;cursor:pointer;transition:color .22s ease}.liquid-tab-btn.active{color:var(--brand-pine);font-weight:700}.home-indicator{position:absolute;bottom:8px;left:50%;transform:translate(-50%);width:136px;height:5px;border-radius:999px;background:#23201c47;z-index:95;pointer-events:none}.floating-mini-player{position:absolute;left:16px;right:16px;bottom:92px;height:52px;padding:6px 10px 6px 8px;border-radius:26px;background:#234e48eb;backdrop-filter:blur(22px) saturate(175%);-webkit-backdrop-filter:blur(22px) saturate(175%);border:1px solid rgba(255,255,255,.24);box-shadow:inset 0 1px #fff3,0 8px 24px #18302c3d;color:#fff;display:flex;align-items:center;gap:10px;z-index:48;cursor:pointer}.mini-disc{width:36px;height:36px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.72);flex-shrink:0}.mini-disc.spinning{animation:spinDisc 9s linear infinite}@keyframes spinDisc{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.mini-player-meta{flex:1;min-width:0}.mini-player-title{font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-player-sub{font-size:10.5px;color:#fffc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-icon-btn{width:34px;height:34px;border-radius:50%;border:0;background:#fff3;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}.mp-card{background:var(--card-bg);border:1px solid rgba(234,225,210,.9);border-radius:20px;padding:14px 15px;margin-bottom:11px;box-shadow:0 3px 12px #23201c09}.mp-section-head{display:flex;align-items:center;justify-content:space-between;margin:14px 2px 9px}.mp-section-title{font-size:15.5px;font-weight:700;color:var(--ink-strong);letter-spacing:-.01em}.mp-section-more{font-size:12px;color:var(--brand-pine);font-weight:600;background:none;border:0;cursor:pointer;padding:4px 2px;display:inline-flex;align-items:center;gap:2px}.ios-search-bar{display:flex;align-items:center;gap:8px;height:40px;padding:0 13px;border-radius:999px;background:#f0ebe0;border:1px solid rgba(255,255,255,.85);box-shadow:inset 0 1px 2px #23201c0d;margin-bottom:11px}.ios-search-bar input{flex:1;border:0;outline:none;background:transparent;font-size:13.5px;color:var(--ink-strong)}.ios-search-bar input::placeholder{color:#968c7e}.ios-search-clear{width:18px;height:18px;border-radius:50%;border:0;background:#c5bcad;color:#fff;font-size:11px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}.ios-chip-strip{display:flex;align-items:center;gap:7px;overflow-x:auto;margin:0 -16px 8px;padding:2px 16px 4px;scrollbar-width:none}.ios-chip-strip::-webkit-scrollbar{display:none}.ios-chip{height:32px;padding:0 13px;border-radius:999px;border:1px solid #e5dccb;background:#ffffffe0;color:#534c43;font-size:12.5px;font-weight:600;white-space:nowrap;flex-shrink:0;cursor:pointer;transition:all .18s ease}.ios-chip.active{background:var(--brand-pine);border-color:var(--brand-pine);color:#fff;box-shadow:0 3px 10px #234e4833}.ios-segmented{display:grid;padding:3px;border-radius:999px;background:#ede7da;border:1px solid #e2dac9;gap:2px}.ios-segmented-item{height:31px;border:0;border-radius:999px;background:transparent;color:#5c5449;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s ease;padding:0 8px;white-space:nowrap}.ios-segmented-item.active{background:#fff;color:var(--brand-pine);font-weight:700;box-shadow:0 2px 7px #23201c1a}.ios-pill-tag{display:inline-flex;align-items:center;gap:3px;height:21px;padding:0 8px;border-radius:999px;font-size:10.5px;font-weight:700;white-space:nowrap}.ios-pill-tag.green{background:#e7f4ef;color:#1f6354}.ios-pill-tag.amber{background:#fcf0e1;color:#a8541e}.ios-pill-tag.muted{background:#f1ece2;color:#6f665a}.ios-pill-tag.purple{background:#efeaf8;color:#5b3fa6}.btn-pine{min-height:44px;padding:0 18px;border-radius:999px;border:0;background:var(--brand-pine);color:#fff;font-size:13.5px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;box-shadow:0 4px 12px #234e482e;transition:transform .15s ease,opacity .15s ease}.btn-pine:active{transform:scale(.98)}.btn-pine:disabled{opacity:.46;box-shadow:none;cursor:not-allowed}.btn-amber{min-height:44px;padding:0 18px;border-radius:999px;border:0;background:var(--brand-amber);color:#fff;font-size:13.5px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;box-shadow:0 4px 12px #b85d2838;transition:transform .15s ease}.btn-amber:active{transform:scale(.98)}.btn-pill-sm{height:34px;padding:0 14px;border-radius:999px;border:0;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:4px;cursor:pointer;white-space:nowrap;transition:transform .15s ease}.btn-pill-sm.pine{background:var(--brand-pine);color:#fff}.btn-pill-sm.amber{background:var(--brand-amber-soft);color:var(--brand-amber);border:1px solid #f0d0b4}.btn-pill-sm.ghost{background:#f3eee3;color:var(--ink-body);border:1px solid #e4dbc9}.btn-soft{min-height:36px;padding:0 14px;border-radius:999px;border:1px solid #e4dbc9;background:#ffffffd9;color:var(--ink-strong);font-size:12.5px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:5px}.icon-circle-sm{width:34px;height:34px;border-radius:50%;border:1px solid #eadfce;background:#faf6ee;color:#6b6358;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;flex-shrink:0}.ios-input-group{background:#faf6ee;border:1px solid #e6ddd0;border-radius:14px;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.ios-input-group label{font-size:12.5px;font-weight:600;color:#6b6358;white-space:nowrap}.ios-input-group input{flex:1;border:0;outline:none;background:transparent;font-size:13.5px;font-weight:600;color:var(--ink-strong);text-align:right}.hero-carousel{position:relative;height:158px;border-radius:20px;overflow:hidden;margin-bottom:10px;border:1px solid var(--line-soft)}.hero-carousel img{width:100%;height:100%;object-fit:cover;display:block}.hero-carousel-mask{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#18151129,#1815118f);padding:13px 14px;display:flex;flex-direction:column;justify-content:space-between;color:#fff}.hero-dots{position:absolute;right:12px;bottom:13px;display:flex;gap:5px}.hero-dot{width:6px;height:6px;border-radius:999px;background:#ffffff7a;border:0;padding:0;cursor:pointer;transition:width .24s ease,background .24s ease}.hero-dot.active{width:18px;background:#fff}.community-marquee{display:flex;align-items:center;gap:8px;background:#fff9ef;border:1px solid #f0dec2;border-radius:999px;padding:7px 12px;margin-bottom:12px;cursor:pointer}.community-marquee-text{flex:1;font-size:12px;color:#7c4d1e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.book-cover-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}.book-cover-card{position:relative;border-radius:18px;overflow:hidden;height:168px;border:1px solid var(--line-soft);cursor:pointer;background:#2b2620;text-align:left;padding:0}.book-cover-card img{width:100%;height:100%;object-fit:cover;display:block}.book-cover-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#16130f24,#16130f9e);padding:10px 12px;display:flex;flex-direction:column;justify-content:space-between;color:#fff}.four-portal-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:12px}.portal-tile{background:#fff;border:1px solid var(--line-soft);border-radius:16px;padding:11px 12px;display:flex;align-items:center;gap:10px;cursor:pointer;text-align:left;min-height:62px}.portal-icon-box{width:38px;height:38px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.classroom-hscroll{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px;margin-bottom:10px;scrollbar-width:none}.classroom-hscroll::-webkit-scrollbar{display:none}.classroom-card{min-width:224px;max-width:224px;background:#fff;border:1px solid var(--line-soft);border-radius:16px;overflow:hidden;flex-shrink:0;cursor:pointer;text-align:left;padding:0}.classroom-card-thumb{position:relative;height:98px}.classroom-card-thumb img{width:100%;height:100%;object-fit:cover}.sheet-overlay{position:absolute;top:46px;left:0;right:0;bottom:0;z-index:80;background:var(--paper-bg);display:flex;flex-direction:column;animation:slideUpSheet .26s cubic-bezier(.22,1,.36,1)}@keyframes slideUpSheet{0%{transform:translateY(24px);opacity:0}to{transform:translateY(0);opacity:1}}.sheet-header{padding:8px 16px 10px;background:#fffcf6cc;backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border-bottom:1px solid rgba(234,225,210,.8);display:grid;grid-template-columns:76px 1fr 76px;align-items:center;flex-shrink:0}.sheet-header-title{text-align:center;font-weight:700;font-size:14.5px;color:var(--ink-strong);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sheet-header-right{display:flex;justify-content:flex-end;align-items:center}.ios-back-btn{width:36px;height:36px;border-radius:50%;background:#ffffffd9;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(229,220,203,.9);box-shadow:inset 0 1px #fff,0 2px 8px #23201c0f;color:var(--ink-strong);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}.sheet-body{flex:1;overflow-y:auto;overflow-x:hidden;padding:12px 16px 32px}.sheet-body::-webkit-scrollbar{width:0}.sheet-footer{padding:12px 16px 24px;background:#fffcf6e0;backdrop-filter:blur(20px) saturate(170%);-webkit-backdrop-filter:blur(20px) saturate(170%);border-top:1px solid var(--line-soft);display:flex;gap:10px}.audio-range{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:5px;border-radius:999px;background:#e6decb;outline:none;margin:10px 0 14px;cursor:pointer}.audio-range::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:15px;height:15px;border-radius:50%;background:var(--brand-pine);border:2px solid #ffffff;box-shadow:0 2px 6px #234e4852}.copyright-foot{text-align:center;font-size:11px;color:var(--ink-muted);padding:12px 8px 6px;line-height:1.6}.admin-shell{min-height:calc(100vh - 52px);display:grid;grid-template-columns:232px 1fr;background:#f5f3ee}.admin-sider{background:#1f2b29;color:#eef3f1;padding:18px 12px;display:flex;flex-direction:column;justify-content:space-between}.admin-nav-btn{width:100%;border:0;background:transparent;color:#eef3f1c2;padding:10px 12px;border-radius:10px;font-size:13.5px;font-weight:500;display:flex;align-items:center;gap:9px;cursor:pointer;margin-bottom:4px;text-align:left}.admin-nav-btn:hover{background:#ffffff14;color:#fff}.admin-nav-btn.active{background:#2f5e56;color:#fff;font-weight:600}.admin-main{padding:22px 26px 36px;overflow-x:auto}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:14px;margin-bottom:18px}.kpi-card{background:#fff;border:1px solid #e6e0d5;border-radius:14px;padding:15px 16px}@media(max-width:520px){.demo-topbar-title{display:none}.mobile-stage{padding:0}.iphone-18pm-frame{width:100vw;height:calc(100vh - 52px);border-radius:0;border:0;box-shadow:none}.dynamic-island{display:none}.ios-statusbar{height:12px;padding:0}.ios-statusbar>*{display:none}.sheet-overlay{top:12px}.admin-shell{grid-template-columns:1fr}}
