.ha-library,.ha-reader-page,.ha-profile-page{--ha-bg:#111318;--ha-panel:#171a21;--ha-panel-2:#1e222b;--ha-surface-2:#ffffff0b;--ha-panel-glass:#14171ef5;--ha-ink:#f3f1ec;--ha-muted:#9a9891;--ha-gold:#d97706;--ha-gold-light:#f59e0b;--ha-blue:#2563eb;--ha-blue-light:#60a5fa;--ha-line:#ffffff16;--ha-line-strong:#ffffff29;--ha-line-gold:#d9770652;--ha-ease:cubic-bezier(.16, 1, .3, 1);--rd-bg:#14171f;--rd-surface:#1b1f2a;--rd-ink:#ece9e2;--rd-sub:#9ea3b0;--rd-line:#ffffff16;--rd-active-bg:#d9770621;--rd-accent:#f59e0b;-webkit-font-smoothing:antialiased;background:var(--ha-bg)!important;color:var(--ha-ink)!important;font-family:var(--font-outfit), system-ui, -apple-system, "Segoe UI", sans-serif!important;max-width:100vw!important;overflow-x:hidden!important}html[data-ha-theme=light] .ha-library,html[data-ha-theme=light] .ha-reader-page,html[data-ha-theme=light] .ha-profile-page{--ha-bg:#f6f3ec;--ha-panel:#fff;--ha-panel-2:#efebe1;--ha-surface-2:#18181b0b;--ha-panel-glass:#fffffff5;--ha-ink:#18181b;--ha-muted:#57534e;--ha-gold:#b45309;--ha-gold-light:#b45309;--ha-line:#18181b1a;--ha-line-strong:#18181b33;--ha-line-gold:#b4530947;--rd-bg:#faf7f0;--rd-surface:#fff;--rd-ink:#1c1917;--rd-sub:#57534e;--rd-line:#1c19171a;--rd-active-bg:#b4530917;--rd-accent:#b45309}.ha-reader-page[data-reader-paper=paper]{--ha-bg:#f4f0e6;--ha-panel:#fff;--ha-panel-2:#ede8dc;--ha-surface-2:#1c19170d;--ha-panel-glass:#faf7f0f7;--ha-ink:#1c1917;--ha-muted:#57534e;--ha-line:#1c19171a;--ha-line-gold:#b4530947;--rd-bg:#faf7f0;--rd-surface:#fff;--rd-ink:#1c1917;--rd-sub:#57534e;--rd-line:#1c191717;--rd-active-bg:#b4530916;--rd-accent:#b45309}.ha-reader-page[data-reader-paper=sepia]{--ha-bg:#eadec7;--ha-panel:#f5ebd6;--ha-panel-2:#e3d5ba;--ha-surface-2:#2c22180f;--ha-panel-glass:#f4ead5f7;--ha-ink:#2c2218;--ha-muted:#6b5b4b;--ha-line:#2c22181f;--ha-line-gold:#92400e4d;--rd-bg:#f2e8d5;--rd-surface:#f8f0df;--rd-ink:#2a2016;--rd-sub:#6b5844;--rd-line:#2c22181c;--rd-active-bg:#92400e1c;--rd-accent:#92400e}.ha-reader-page[data-reader-paper=slate]{--ha-bg:#11141b;--ha-panel:#181c25;--ha-panel-2:#202531;--ha-surface-2:#ffffff0d;--ha-panel-glass:#161a23f7;--ha-ink:#ece9e2;--ha-muted:#9499a6;--ha-line:#ffffff16;--ha-line-gold:#f59e0b4d;--rd-bg:#151922;--rd-surface:#1b202b;--rd-ink:#ece9e2;--rd-sub:#9aa0ae;--rd-line:#ffffff14;--rd-active-bg:#d9770624;--rd-accent:#f59e0b}.ha-reader-page[data-reader-paper=oled]{--ha-bg:#08090c;--ha-panel:#0f1116;--ha-panel-2:#161920;--ha-surface-2:#ffffff0b;--ha-panel-glass:#0c0e12fa;--ha-ink:#dad7d0;--ha-muted:#827f78;--ha-line:#ffffff13;--ha-line-gold:#d9770647;--rd-bg:#0a0b0e;--rd-surface:#101217;--rd-ink:#dbd8d1;--rd-sub:#85827b;--rd-line:#ffffff13;--rd-active-bg:#d9770624;--rd-accent:#eab308}.ha-nav,.ha-reader-nav{background:var(--ha-panel-glass)!important;border-bottom:1px solid var(--ha-line)!important;-webkit-backdrop-filter:blur(14px)!important;z-index:100!important;width:100%!important;position:sticky!important;top:0!important}.ha-nav-inner,.ha-reader-nav-inner{justify-content:space-between!important;align-items:center!important;gap:14px!important;max-width:1440px!important;margin:0 auto!important;padding:10px clamp(14px,2.5vw,32px)!important;display:flex!important}.ha-portal-link{border:1px solid var(--ha-line);background:var(--ha-surface-2);color:var(--ha-ink);border-radius:8px;align-items:center;gap:5px;padding:6px 12px;font-size:.78rem;font-weight:600;text-decoration:none;transition:border-color .15s;display:inline-flex}.ha-portal-link:hover{border-color:var(--ha-line-strong)}.ha-player-console{z-index:90!important;background:var(--ha-panel-glass)!important;-webkit-backdrop-filter:blur(16px)!important;border-bottom:1px solid var(--ha-line)!important;box-sizing:border-box!important;width:100%!important;padding:9px clamp(14px,2.5vw,32px)!important;position:sticky!important;top:56px!important}.ha-player-inner{flex-direction:column!important;gap:8px!important;width:100%!important;max-width:1440px!important;margin:0 auto!important;display:flex!important}.ha-player-primary{justify-content:space-between!important;align-items:center!important;gap:14px!important;width:100%!important;display:flex!important}.ha-player-row-top{flex:none!important;align-items:center!important;gap:10px!important;display:flex!important}.ha-player-row-bottom{flex:auto!important;align-items:center!important;gap:12px!important;min-width:0!important;display:flex!important}.ha-player-meta{flex-shrink:1!important;align-items:center!important;gap:10px!important;min-width:160px!important;max-width:280px!important;display:flex!important}.ha-player-nav-group{flex-shrink:0!important;align-items:center!important;gap:5px!important;display:flex!important}.ha-nav-btn{background:var(--ha-surface-2)!important;border:1px solid var(--ha-line)!important;width:34px!important;height:34px!important;color:var(--ha-ink)!important;cursor:pointer!important;border-radius:8px!important;justify-content:center!important;align-items:center!important;font-size:.72rem!important;font-weight:700!important;transition:background .15s,border-color .15s!important;display:inline-flex!important}.ha-nav-btn:hover:not(:disabled){border-color:var(--ha-line-strong)!important}.ha-nav-btn:disabled{opacity:.38!important;cursor:not-allowed!important}.ha-play-btn{background:var(--rd-accent)!important;color:#fff!important;cursor:pointer!important;border:none!important;border-radius:10px!important;flex-shrink:0!important;justify-content:center!important;align-items:center!important;width:40px!important;height:40px!important;transition:transform .12s,filter .12s!important;display:inline-flex!important;box-shadow:0 2px 6px #00000038!important}.ha-play-btn:hover{filter:brightness(1.06)}.ha-play-btn:active{transform:scale(.95)!important}.ha-player-track-group{flex:1!important;align-items:center!important;gap:10px!important;min-width:120px!important;display:flex!important}.ha-player-tools-group{flex-wrap:wrap!important;flex-shrink:0!important;align-items:center!important;gap:6px!important;display:flex!important}.ha-tool-pill{border:1px solid var(--ha-line);background:var(--ha-surface-2);height:30px;color:var(--ha-ink);cursor:pointer;white-space:nowrap;border-radius:7px;align-items:center;gap:5px;padding:0 10px;font-size:.75rem;font-weight:600;transition:border-color .15s,background .15s;display:inline-flex}.ha-tool-pill:hover{border-color:var(--ha-line-strong)}.ha-tool-pill.is-active{border-color:var(--rd-accent);background:var(--rd-active-bg);color:var(--rd-accent)}.ha-voice-studio-drawer{background:var(--ha-panel)!important;border:1px solid var(--ha-line-strong)!important;border-radius:12px!important;grid-template-columns:220px 1fr 250px!important;align-items:start!important;gap:18px!important;margin-top:6px!important;padding:16px 18px!important;display:grid!important;box-shadow:0 16px 40px #00000047!important}.ha-voice-card{background:var(--ha-surface-2)!important;border:1px solid var(--ha-line)!important;cursor:pointer!important;text-align:left!important;border-radius:8px!important;flex-direction:column!important;gap:2px!important;padding:9px 11px!important;transition:border-color .14s,background .14s!important;display:flex!important}.ha-voice-card:hover{border-color:var(--ha-line-strong)!important}.ha-voice-card.is-active-vi,.ha-voice-card.is-active-en{background:var(--rd-active-bg)!important;border-color:var(--rd-accent)!important}.ha-reader-story-card{background:var(--ha-panel)!important;border:1px solid var(--ha-line)!important;box-sizing:border-box!important;border-radius:14px!important;align-items:flex-start!important;gap:18px!important;width:calc(100% - clamp(28px,5vw,64px))!important;max-width:1440px!important;margin:14px auto!important;padding:16px 20px!important;display:flex!important}.ha-reader-story-cover{object-fit:cover!important;border:1px solid var(--ha-line)!important;border-radius:8px!important;flex-shrink:0!important;width:88px!important;height:122px!important;box-shadow:0 4px 14px #00000038!important}.ha-reader-story-meta{color:var(--ha-muted);flex-wrap:wrap;align-items:center;gap:8px 12px;margin:6px 0 8px;font-size:.8rem;display:flex}.ha-reading-room{max-width:1440px!important;margin:12px auto 0!important;padding:0 clamp(14px,2.5vw,32px) 44px!important}.ha-reading-grid{grid-template-columns:minmax(0,1fr) 336px!important;align-items:start!important;gap:18px!important;display:grid!important}.ha-reading-grid.is-focus-mode{grid-template-columns:minmax(0,920px)!important;justify-content:center!important}.ha-reader-surface{border:1px solid var(--rd-line)!important;background:var(--rd-surface)!important;color:var(--rd-ink)!important;-webkit-overflow-scrolling:touch!important;scroll-behavior:smooth!important;overscroll-behavior:contain!important;border-radius:14px!important;flex-direction:column!important;gap:6px!important;height:calc(100vh - 196px)!important;padding:clamp(20px,3.2vw,44px)!important;display:flex!important;overflow-y:auto!important}.ha-reader-page[data-reader-font=serif] .ha-paragraph-primary{font-family:Newsreader,Lora,Georgia,Times New Roman,serif!important}.ha-reader-page[data-reader-font=sans] .ha-paragraph-primary{font-family:var(--font-outfit), system-ui, -apple-system, "Segoe UI", sans-serif!important}.ha-paragraph{cursor:pointer!important;word-break:break-word!important;content-visibility:auto!important;contain-intrinsic-size:0 54px!important;border-left:3px solid #0000!important;border-radius:8px!important;width:100%!important;max-width:740px!important;margin:0 auto!important;padding:10px 16px!important;transition:background-color .14s,border-color .14s!important;position:relative!important}.ha-paragraph:hover{background:var(--ha-surface-2)!important}.ha-paragraph.is-active,.ha-paragraph.is-active-en{background:var(--rd-active-bg)!important;border-left-color:var(--rd-accent)!important}.ha-paragraph.is-bookmarked{border-right:2px solid var(--rd-accent)!important}.ha-chapter-sidebar{border:1px solid var(--ha-line)!important;background:var(--ha-panel)!important;border-radius:14px!important;flex-direction:column!important;gap:10px!important;height:calc(100vh - 196px)!important;padding:14px!important;display:flex!important}.ha-chapter-item{cursor:pointer;color:var(--ha-ink);border:1px solid #0000;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:9px 12px;transition:background .12s,border-color .12s;display:flex}.ha-chapter-item:hover{background:var(--ha-surface-2)}.ha-chapter-item-selected{background:var(--rd-active-bg)!important;border-color:var(--ha-line-gold)!important}.ha-chapter-item-selected .ha-chapter-item-title{color:var(--rd-accent)!important;font-weight:700!important}.ha-resume{width:min(1380px,100% - 32px);margin:22px auto 0}.ha-resume-heading{justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;display:flex}.ha-resume-heading span,.ha-history-heading span,.ha-profile-hero>div>span{color:var(--ha-gold-light);letter-spacing:.12em;text-transform:uppercase;font-size:10px;font-weight:700}.ha-resume-heading h2,.ha-history-heading h2{margin:2px 0 0;font-size:clamp(1.15rem,1.8vw,1.45rem);font-weight:700}.ha-resume-heading a,.ha-history-heading a{border:1px solid var(--ha-line);background:var(--ha-surface-2);color:var(--ha-ink);border-radius:8px;align-items:center;padding:6px 12px;font-size:12px;font-weight:600;text-decoration:none;display:inline-flex}.ha-resume-track{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:10px;display:grid}.ha-resume-track>a{border:1px solid var(--ha-line);background:var(--ha-panel);color:var(--ha-ink);border-radius:12px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 13px;text-decoration:none;transition:border-color .15s;display:grid}.ha-resume-track>a:hover{border-color:var(--ha-line-gold)}.ha-resume-cover,.ha-history-cover{background:var(--ha-panel-2);border-radius:7px;place-items:center;width:48px;height:64px;display:grid;overflow:hidden}.ha-resume-cover img,.ha-history-cover img{object-fit:cover;width:100%;height:100%}.ha-resume-track b,.ha-resume-track small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.ha-resume-track b{font-size:13px;font-weight:600}.ha-resume-track small{color:var(--ha-muted);margin-top:3px;font-size:11.5px}.ha-resume-track i{color:var(--ha-gold-light);font-size:12px;font-style:normal;font-weight:700}.ha-profile-page{min-height:100svh}.ha-profile-nav{align-items:center;gap:10px;display:flex}.ha-profile-nav>a{border:1px solid var(--ha-line);color:var(--ha-ink);border-radius:8px;padding:8px 12px;font-size:12px;font-weight:600;text-decoration:none}.ha-profile-shell{width:min(1160px,100% - 24px);margin:0 auto;padding:28px 0 72px}.ha-profile-hero{border:1px solid var(--ha-line);background:var(--ha-panel);border-radius:16px;grid-template-columns:76px 1fr auto;align-items:center;gap:18px;padding:clamp(18px,3vw,30px);display:grid}.ha-profile-avatar{background:var(--ha-gold);color:#fff;border-radius:18px;place-items:center;width:76px;height:76px;font-size:30px;font-weight:800;display:grid}.ha-profile-hero h1{margin:4px 0;font-size:clamp(1.4rem,3vw,2.2rem)}.ha-profile-hero p{color:var(--ha-muted);margin:0}.ha-profile-hero>a{background:var(--ha-ink);color:var(--ha-bg);border-radius:9px;padding:10px 16px;font-size:13px;font-weight:700;text-decoration:none}.ha-profile-summary{grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0;display:grid}.ha-profile-summary>div{border:1px solid var(--ha-line);background:var(--ha-panel);border-radius:12px;padding:16px}.ha-profile-summary b{color:var(--ha-gold-light);font-size:20px;display:block}.ha-profile-summary span{color:var(--ha-muted);margin-top:4px;font-size:11.5px;display:block}.ha-history{border:1px solid var(--ha-line);background:var(--ha-panel);border-radius:16px;padding:clamp(16px,2.5vw,26px)}.ha-history-heading{border-bottom:1px solid var(--ha-line);justify-content:space-between;align-items:end;gap:14px;padding-bottom:14px;display:flex}.ha-history-list{display:grid}.ha-history-list>a{border-bottom:1px solid var(--ha-line);color:var(--ha-ink);grid-template-columns:52px 1fr auto auto;align-items:center;gap:14px;padding:12px 4px;text-decoration:none;display:grid}.ha-history-list b,.ha-history-list small,.ha-history-list em{display:block}.ha-history-list small,.ha-history-list em,.ha-history-list time{color:var(--ha-muted);margin-top:3px;font-size:11.5px;font-style:normal}.ha-history-list i{color:var(--ha-gold-light);font-size:12px;font-style:normal;font-weight:700}.ha-history-empty{color:var(--ha-muted);text-align:center;padding:32px 0}.ha-mobile-dock{display:none!important}.ha-audio-menu-toggle,.ha-audio-compact-menu{display:none}@media (max-width:992px){.ha-voice-studio-drawer,.ha-reading-grid{grid-template-columns:1fr!important;gap:14px!important}.ha-chapter-sidebar{height:360px!important}.ha-reader-surface{height:auto!important;min-height:62vh!important;max-height:76vh!important}}@media (max-width:900px){.ha-nav,.ha-nav-inner{overflow:visible!important}.ha-nav .hide-on-mobile,.ha-global-search,.ha-nav-actions>.ha-login-link,.ha-nav-actions>.ha-theme-toggle,.ha-nav-actions>.ha-portal-link{display:none!important}.ha-audio-menu-toggle{border:1px solid var(--ha-line-strong);background:var(--ha-panel-2);color:var(--ha-ink);font:inherit;cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:7px 12px;font-size:12.5px;font-weight:700;display:inline-flex!important}.ha-audio-compact-menu{border:1px solid var(--ha-line-strong);background:var(--ha-panel);opacity:0;visibility:hidden;pointer-events:none;border-radius:14px;padding:14px;transition:opacity .16s;box-shadow:0 20px 60px #00000073;z-index:10020!important;width:min(420px,100vw - 24px)!important;position:fixed!important;top:64px!important;right:12px!important}.ha-audio-compact-menu.is-open{opacity:1;visibility:visible;pointer-events:auto;display:grid}.ha-audio-menu-heading{border-bottom:1px solid var(--ha-line);gap:2px;padding-bottom:10px;display:grid}.ha-audio-menu-heading span{color:var(--ha-gold-light);letter-spacing:.12em;font-size:10px;font-weight:700}.ha-audio-menu-heading b{color:var(--ha-ink);font-size:16px}.ha-audio-menu-grid{grid-template-columns:1fr 1fr;gap:8px;padding:12px 0;display:grid}.ha-audio-menu-grid a,.ha-audio-menu-grid button{border:1px solid var(--ha-line);background:var(--ha-surface-2);color:var(--ha-ink);text-align:left;font:inherit;cursor:pointer;border-radius:10px;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:8px;padding:9px;text-decoration:none;display:grid}.ha-audio-menu-grid i{background:var(--rd-active-bg);width:32px;height:32px;color:var(--rd-accent);border-radius:8px;place-items:center;font-style:normal;font-weight:700;display:grid}.ha-audio-menu-grid b{font-size:12px;display:block}.ha-audio-menu-grid small{color:var(--ha-muted);font-size:10px;display:block}.ha-audio-menu-footer{border-top:1px solid var(--ha-line);align-items:center;gap:8px;padding-top:10px;display:flex}.ha-audio-menu-footer>a{background:var(--ha-surface-2);color:var(--ha-ink);border-radius:8px;padding:7px 10px;font-size:11px;text-decoration:none}}@media (max-width:768px){.ha-player-console{padding:8px 10px!important;top:54px!important}.ha-player-primary{flex-direction:column!important;align-items:stretch!important;gap:8px!important}.ha-player-row-top{justify-content:space-between!important;width:100%!important}.ha-player-meta{flex:auto!important;min-width:0!important;max-width:170px!important}.ha-player-row-bottom{flex-wrap:wrap!important;gap:6px!important}.ha-player-track-group{flex:1 0 100%!important}.ha-player-tools-group{justify-content:space-between!important;width:100%!important}.ha-reader-story-card{gap:12px!important;width:calc(100% - 20px)!important;padding:12px!important}.ha-reader-story-cover{width:68px!important;height:96px!important}.ha-reading-room{padding:0 10px 32px!important}.ha-reader-surface{padding:16px 14px!important}.ha-story-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}}@media (prefers-reduced-motion:reduce){.ha-library *,.ha-reader-page *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
