#forest-app{--bg:#161719;--surface:#202124;--ink:#f5f0e7;--muted:#989792;--accent:#e3b978;position:fixed;inset:0;z-index:1000;overflow:auto;overscroll-behavior-y:contain;background:var(--bg);color:var(--ink);font:15px/1.5 -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif;scrollbar-width:thin;padding-bottom:calc(86px + env(safe-area-inset-bottom));box-sizing:border-box;color-scheme:dark}#forest-app[hidden]{display:none!important}#forest-app *{box-sizing:border-box}#forest-app button,#forest-app input,#forest-app select{font:inherit}#forest-app button{color:inherit;border:0;background:none;cursor:pointer;min-height:44px}#forest-app button:disabled{opacity:.45;cursor:default}#forest-app button:focus-visible,#forest-app input:focus-visible,#forest-app select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}#forest-app .f-hidden{display:none}.f-preview{text-align:center;background:#29261f;color:#c4b397;font-size:10px;padding:5px;letter-spacing:1px}.f-header{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:18px;padding:10px 18px;background:#161719f5;backdrop-filter:blur(15px);height:70px;border-bottom:1px solid #ffffff0b}.f-subject{position:relative;width:42px;flex:none;font-family:serif;font-size:26px;font-weight:bold}.f-subject i{font:14px sans-serif;color:var(--accent);margin-left:1px}.f-subject select{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.f-tabs{flex:1;display:flex;justify-content:space-around;gap:10px}.f-tabs button{position:relative;font-size:21px!important;color:var(--muted)!important;padding:0 3px}.f-tabs .on{color:var(--ink)!important;font-weight:650}.f-tabs .on:after{content:'';position:absolute;bottom:0;left:24%;right:24%;height:3px;border-radius:3px;background:#e96767}.f-search-icon{font-size:32px!important;width:38px}.f-page-title{flex:1;font-size:23px}.f-search{display:flex;padding:10px 18px;gap:10px}.f-search input{min-width:0;flex:1;background:#292a2c;border:1px solid #454545;color:var(--ink);padding:10px;border-radius:10px}.f-main{max-width:1000px;margin:auto}.f-feed-meta{display:flex;justify-content:space-between;align-items:center;padding:9px 13px;font-size:11px;color:var(--muted);gap:8px}.f-feed-meta button{color:var(--accent)!important;white-space:nowrap}.f-grid{columns:2;column-gap:9px;padding:0 9px}.f-card{display:inline-block;width:100%;break-inside:avoid;background:var(--surface);margin:0 0 10px;border-radius:8px;overflow:hidden}.f-cover{position:relative;display:block;width:100%;padding:0!important;text-align:left;background:#3b3630!important;overflow:hidden}.f-cover img{display:block;width:100%;height:auto;min-height:170px;object-fit:contain}.f-placeholder{display:flex;flex-direction:column;justify-content:center;padding:36px 19px;min-height:240px;background:radial-gradient(ellipse at 80% 90%,#a38e663a,transparent 70%),linear-gradient(145deg,#494236,#201f1b);border:9px solid #ffffff05}.tone-1 .f-placeholder{min-height:290px;background:radial-gradient(ellipse at 0 0,#78867940,transparent 80%),#242e2c}.tone-2 .f-placeholder{min-height:220px;background:linear-gradient(30deg,#31343f,#5e58604d)}.tone-3 .f-placeholder{min-height:270px;background:linear-gradient(140deg,#72554370,#262121)}.tone-4 .f-placeholder{min-height:250px;background:linear-gradient(160deg,#45525e,#252b30)}.f-placeholder small{font-size:10px;letter-spacing:2px;color:#d2c3a7;margin-bottom:22px}.f-placeholder b{font:26px/1.55 'Songti SC',serif;color:#eee4d2;overflow-wrap:anywhere}.f-placeholder em{font-size:9px;font-style:normal;color:#bcb3a4;margin-top:25px;letter-spacing:1px}.f-cover-tag{position:absolute;right:8px;bottom:8px;background:#0007;color:#e7ddca;border:1px solid #fff2;border-radius:4px;padding:2px 7px;font-size:10px}.f-card-body{padding:8px 11px 3px}.f-title{text-align:left;font-size:15px!important;font-weight:600!important;min-height:0!important;line-height:1.55!important}.f-card-meta{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:10px}.f-card-meta span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.f-card-meta button{font-size:24px!important}.f-card-meta button[aria-pressed=true]{color:#ea7777!important}.f-nav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(6,1fr);padding:5px 8px calc(8px + env(safe-area-inset-bottom));background:#121315f5;border-top:1px solid #ffffff14;z-index:5;backdrop-filter:blur(15px)}.f-nav button{font-size:17px!important;color:#888985!important;position:relative;padding:5px 0}.f-nav .on{color:#fff2dc!important;font-weight:700}.f-nav .on:after{content:'';position:absolute;bottom:0;left:40%;right:40%;height:2px;background:var(--accent)}.f-chapters{display:flex;overflow:auto;gap:23px;padding:4px 18px 0;border-bottom:1px solid #fff1;scrollbar-width:none}.f-chapters button{flex:none;white-space:nowrap;color:#aaa8a2!important;padding:9px 0 13px}.f-chapters .on{color:var(--accent)!important;border-bottom:2px solid var(--accent)!important}.f-genres{display:grid;grid-template-columns:repeat(5,1fr);gap:10px 5px;padding:22px 12px 18px;border-bottom:1px solid #fff1}.f-genres button{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:12px!important;color:#b8b7b1!important}.f-genres i{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#25282b;font-style:normal;font-size:27px;color:#bcb7a7}.f-genres .on{color:var(--accent)!important}.f-genres .on i{background:#50402b;color:#efd4a6;box-shadow:0 0 0 1px #c29a5860}.f-empty{padding:60px 24px;text-align:center;color:var(--muted)}.f-more{display:block;margin:10px auto;font-size:12px!important;color:var(--muted)!important}.f-audio-hero{position:relative;overflow:hidden;margin:20px 18px 26px;border-radius:14px;padding:27px 23px;background:linear-gradient(120deg,#4d4337,#252c2d);min-height:240px}.f-audio-hero small{font-size:10px;letter-spacing:2px;color:#c9bba4}.f-audio-hero h1{font:29px/1.6 'Songti SC',serif;margin:20px 0 10px;position:relative;z-index:1}.f-audio-hero p{font-size:11px;color:#c5bbaa;position:relative;z-index:1}.f-disc{position:absolute;width:210px;height:210px;border-radius:50%;right:-64px;top:40px;background:repeating-radial-gradient(#141719 0 3px,#303335 4px 5px);box-shadow:0 15px 25px #0007;display:grid;place-items:center;transform:rotate(-20deg)}.f-disc span{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:#b4905b;color:#382e21;font:32px serif}.f-select{display:flex;align-items:center;gap:15px;margin:0 20px;color:var(--muted);font-size:12px}.f-select select{flex:1;min-width:0;background:#252628;color:#e3d7c2;border:1px solid #41403d;border-radius:8px;padding:12px;font-size:13px!important}.f-list-head{display:flex;justify-content:space-between;align-items:center;margin:22px 20px 8px}.f-list-head h2{font-size:18px;margin:0}.f-list-head button{font-size:12px!important;color:var(--accent)!important}.f-unit{font-size:11px;font-weight:400;color:#a49d91;padding:6px 20px;background:#ffffff04}.f-episode{display:flex;gap:13px;align-items:center;width:calc(100% - 36px);text-align:left;margin:0 18px;padding:15px 0!important;border-bottom:1px solid #fff1!important}.f-episode-number{color:#847a68;font-size:14px}.f-episode>span:nth-child(2){flex:1}.f-episode strong{display:block;font-size:14px;font-weight:500}.f-episode small{display:block;font-size:10px;color:#908d85;margin-top:5px}.f-episode b{font-size:24px;font-weight:400;color:#c4b18f}.f-episode.on strong{color:var(--accent)}.f-player{position:fixed;bottom:calc(63px + env(safe-area-inset-bottom));left:8px;right:8px;z-index:6;padding:5px 13px 10px;border:1px solid #68563d;border-radius:12px;background:#2a2926f5;box-shadow:0 -8px 30px #0003}.f-now{display:flex;gap:13px;align-items:center}.f-now>button:first-child{flex:1;min-width:0;text-align:left}.f-now small{display:block;font-size:9px;color:var(--accent)}.f-now strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.f-audio-tools{display:flex;gap:7px;align-items:center;font-size:9px}.f-audio-tools input{min-width:40px;flex:1;accent-color:var(--accent)}.f-audio-tools select{font-size:10px!important;background:transparent;color:#dbceb6;border:0;max-width:78px}.f-has-player{padding-bottom:190px!important}.f-toast{position:fixed;bottom:170px;left:50%;transform:translateX(-50%);max-width:85%;width:max-content;background:#eee6d8;color:#25231e;padding:10px 17px;border-radius:8px;font-size:12px;z-index:10;display:none}.f-toast.on{display:block}.f-error{padding:12px 18px;color:#f8b4a5;background:#422a25}.f-preview-page{padding:40px 25px}.f-preview-page h2{font:30px 'Songti SC',serif}.f-preview-page p{color:#aaa;font-size:14px}.f-preview-page a{color:var(--accent)}
@media(min-width:700px){.f-header{max-width:1000px;margin:auto}.f-grid{columns:3}.f-genres{grid-template-columns:repeat(10,1fr)}.f-nav{left:calc((100% - min(100%,1000px))/2);right:calc((100% - min(100%,1000px))/2)}.f-player{max-width:970px;margin:auto}.f-tabs{justify-content:center;gap:70px}.f-audio-hero{min-height:210px}.f-disc{right:50px}.f-audio-hero h1 br{display:none}}
@media(prefers-reduced-motion:reduce){#forest-app *{scroll-behavior:auto!important}}
/* Stable columns: appending items never redistributes the cards already on screen. */
#forest-app .f-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;columns:auto;align-items:start}.f-stack{min-width:0}.f-placeholder b{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;font-size:24px}.f-card-body .f-title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#forest-player-shell{--accent:#e3b978;color:#f5f0e7;font:15px/1.5 -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif;color-scheme:dark}#forest-player-shell .f-hidden{display:none}#forest-player-shell *{box-sizing:border-box}#forest-player-shell button{color:inherit;border:0;background:none;cursor:pointer;min-height:44px;font:inherit}#forest-player-shell .f-player{z-index:1100}#forest-player-shell button:focus-visible{outline:2px solid var(--accent)}body.forest-discovery-active #mobileStudyNav{visibility:hidden}#forest-app{padding-top:env(safe-area-inset-top)}#forest-player-shell .f-player{max-width:970px}#forest-app .f-cover img{aspect-ratio:4/5;max-height:420px;object-fit:contain;background:#242424}#forest-app .f-toast{z-index:1300}
body.forest-discovery-active #workspace{visibility:hidden}body.forest-discovery-active #appWatermark{visibility:visible}body.forest-discovery-active #studentPullRefreshTrigger{display:none!important}#forest-player-shell .f-now{gap:8px}#forest-player-shell [data-close-player]{font-size:20px;opacity:.6}
#forest-app .f-subject{height:48px!important;width:42px!important;display:block!important;margin:0!important;padding:0!important;flex:0 0 42px!important}#forest-app .f-subject>span{position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;font:700 26px/1.2 'Songti SC',serif!important;color:#f5f0e7!important;margin:0!important}#forest-app .f-subject>span i{font:14px/1 sans-serif!important;color:#e3b978!important}#forest-app .f-subject>.wf-app-select-button{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;opacity:0!important;z-index:1!important}#forest-app .f-subject:focus-within{outline:2px solid #e3b978;outline-offset:2px;border-radius:8px}
#forest-player-shell{position:fixed!important;inset:0!important;z-index:1101!important;pointer-events:none!important}#forest-player-shell .f-player{pointer-events:auto!important}
/* Reference refinement r2: compact feed and podcast queue. */
#forest-app{--bg:#171719;--surface:#202023;--ink:#eeeef0;--muted:#909094;--accent:#ef6170;padding:0!important;overflow:hidden!important;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif!important}
#forest-app .f-header{position:relative!important;top:auto!important;flex:0 0 auto;width:100%;max-width:none;height:calc(58px + env(safe-area-inset-top))!important;padding:env(safe-area-inset-top) 14px 0!important;margin:0!important;gap:12px;background:#19191b!important;z-index:5;border-bottom:1px solid #ffffff0b}
#forest-app .f-main{width:100%;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding-bottom:76px;scrollbar-width:none}
#forest-app.f-has-player .f-main{padding-bottom:140px}
#forest-app .f-icon,#forest-player-shell .f-icon{display:inline-block;width:22px;height:22px;min-height:0;max-height:none;aspect-ratio:1;object-fit:contain;vertical-align:middle;filter:invert(92%);background:none;border:0;border-radius:0}
#forest-app .f-subject{width:42px!important;flex-basis:42px!important;height:44px!important}#forest-app .f-subject>span{font:600 23px/1.2 sans-serif!important}#forest-app .f-subject .f-icon{width:13px;height:13px;opacity:.6}
#forest-app .f-tabs button{font-size:19px!important;font-weight:500;min-height:48px;padding:0 4px}#forest-app .f-tabs .on{font-weight:650}#forest-app .f-tabs .on:after{bottom:3px;height:3px;background:#ff3153}
#forest-app .f-page-title{font:500 19px/1.3 sans-serif!important;text-align:center;margin-right:42px}#forest-app .f-search-icon{position:absolute;right:10px;width:40px;padding:0!important}
#forest-app .f-tabs{padding-right:37px;gap:15px}#forest-app .f-feed-meta{height:37px;padding:0 10px;font-size:10px}#forest-app .f-feed-meta button{font-size:11px;min-height:32px}
#forest-app .f-grid{padding:0 6px;gap:6px}#forest-app .f-card{border-radius:5px;margin-bottom:7px;box-shadow:none;border:0}#forest-app .f-cover{min-height:0!important;background:transparent!important}#forest-app .f-cover img{width:100%;height:auto!important;min-height:0!important;max-height:360px;aspect-ratio:auto!important;object-fit:contain;display:block;background:#222}
#forest-app .f-card-body{padding:8px 9px 2px}#forest-app .f-card-body .f-title{font:500 14px/1.45 -apple-system,'PingFang SC',sans-serif!important;letter-spacing:0;text-align:left;padding:0!important;margin:0!important;-webkit-line-clamp:2;min-height:0!important;max-height:41px}
#forest-app .f-card-meta{font:10px/1.3 sans-serif;gap:6px;margin-top:2px;min-height:33px}#forest-app .f-card-meta button{width:30px;padding:0;min-height:32px}#forest-app .f-card-meta .f-icon{width:18px;height:18px;opacity:.65}#forest-app .f-card-meta [aria-pressed=true] .f-icon{filter:invert(43%) sepia(65%) saturate(1470%) hue-rotate(314deg)}
#forest-app .f-text-card{padding-top:13px;background:#252528}#forest-app .f-text-type{font:10px/1.3 sans-serif;color:#9e9ea6;padding:0 10px 6px}#forest-app .f-text-card .f-card-body{padding-top:0}#forest-app .f-text-card .f-title{font-size:15px!important;line-height:1.5!important;max-height:68px;-webkit-line-clamp:3;font-weight:550!important}#forest-app .f-text-card .f-card-meta{margin-top:12px}
#forest-app .f-nav{height:calc(57px + env(safe-area-inset-bottom));padding:0 7px env(safe-area-inset-bottom);background:#18181a!important;backdrop-filter:none}#forest-app .f-nav button{font:500 17px/1.2 sans-serif!important;min-height:48px;color:#85858a!important}#forest-app .f-nav .on{color:#f3f3f5!important;font-weight:650!important}#forest-app .f-nav .on:after{display:none}
#forest-app .f-chapters{gap:20px;padding:0 14px}#forest-app .f-chapters button{font:14px/1.4 sans-serif;padding:13px 0 11px;min-height:44px}#forest-app .f-genres{padding:14px 8px 10px;gap:8px}#forest-app .f-genres i{width:36px;height:36px;border-radius:10px;background:#29292e}#forest-app .f-genres .on i{background:#493039;box-shadow:none}#forest-app .f-genres button{gap:5px;font-size:11px!important}#forest-app .f-genres .f-icon{width:22px;height:22px}
#forest-app[data-page=podcast]{--accent:#28afd2}#forest-app[data-page=podcast] .f-main{padding-top:15px}#forest-app .f-select{margin:0 16px;gap:12px;font:12px/1.4 sans-serif}#forest-app .f-select select,#forest-app .f-select .wf-app-select-button{font:13px/1.4 sans-serif!important;padding:10px 12px!important;background:#252529!important;color:#eee!important;border:1px solid #ffffff12!important;border-radius:8px;min-height:40px}
#forest-app .f-list-head{margin:20px 16px 10px}#forest-app .f-list-head h2{font:500 19px/1.4 sans-serif;color:#28afd2}#forest-app .f-list-head h2 small{font:11px/1.4 sans-serif;color:#87878e;margin-left:6px}#forest-app .f-list-head button{font-size:12px!important;padding:0;min-height:36px}#forest-app .f-list-head .f-icon{width:15px;height:15px}
#forest-app .f-unit{background:transparent;font:12px/1.5 sans-serif;color:#8c8c94;margin:15px 16px 3px;padding:0}#forest-app .f-episode{width:calc(100% - 32px);margin:0 16px;padding:13px 0!important;gap:12px;min-height:94px;border:0!important}#forest-app .f-episode-cover{width:66px;height:66px;flex:0 0 66px;overflow:hidden;border-radius:5px;background:#252a30;display:grid;place-items:center}#forest-app .f-episode-cover img:not(.f-icon){width:100%;height:100%;object-fit:cover}#forest-app .f-episode-cover .f-icon{width:28px;height:28px;opacity:.5}#forest-app .f-episode>span:nth-child(2){min-width:0}#forest-app .f-episode strong{font:400 15px/1.45 sans-serif;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#e0e0e3}#forest-app .f-episode small{font:11px/1.4 sans-serif;margin-top:7px;color:#7e7e87}#forest-app .f-episode b{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#172d34;flex:0 0 36px}#forest-app .f-episode b .f-icon{width:22px;height:22px;filter:invert(61%) sepia(70%) saturate(646%) hue-rotate(147deg)}
#forest-player-shell{--accent:#28afd2;font-family:-apple-system,'PingFang SC',sans-serif}#forest-player-shell .f-player{left:0;right:0;bottom:calc(57px + env(safe-area-inset-bottom));border:0;border-top:1px solid #ffffff14;border-radius:0;background:#1b1b1efc;box-shadow:none;padding:4px 12px;max-width:1000px}
#forest-player-shell .f-now{height:51px;gap:4px}#forest-player-shell .f-now button{padding:0;width:36px;min-height:44px;flex-shrink:0}#forest-player-shell .f-now>button:first-child{width:auto;flex:1}#forest-player-shell .f-now strong{font:500 13px/1.5 sans-serif}#forest-player-shell .f-now small{font:10px/1.3 sans-serif;color:#83838a}#forest-player-shell [data-prev],#forest-player-shell [data-close-player]{display:none}#forest-player-shell .f-audio-tools{display:none}#forest-player-shell .is-expanded .f-audio-tools{display:flex;padding:10px 0 7px;height:48px}#forest-player-shell .is-expanded [data-prev],#forest-player-shell .is-expanded [data-close-player]{display:block}#forest-player-shell .f-audio-tools select,#forest-player-shell .f-audio-tools .wf-app-select-button{font:11px/1.4 sans-serif!important;padding:6px!important;min-height:30px!important;max-width:84px;background:#26262c!important;color:#ccc!important;border:0!important}#forest-player-shell .f-now [data-toggle]{background:#17303a;border-radius:50%;width:36px;min-height:36px}#forest-player-shell .f-now [data-toggle] .f-icon{filter:invert(61%) sepia(70%) saturate(646%) hue-rotate(147deg)}
/* Shared six-entry navigation on retained quiz/account screens. */
html body.student-page.museum-refined #mobileStudyNav:has(>button[data-forest-page]):not(.knowledge-module-dock){display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-rows:1fr!important;grid-auto-flow:column!important;height:calc(57px + env(safe-area-inset-bottom))!important;min-height:0!important;padding:0 7px env(safe-area-inset-bottom)!important;gap:0!important;background:#18181a!important;border-top:1px solid #ffffff14!important;max-width:1000px!important;overflow:hidden!important}
html body.student-page.museum-refined #mobileStudyNav:not(.knowledge-module-dock)>button[data-forest-page]{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:0!important;height:57px!important;padding:0!important;margin:0!important;font:500 17px/1.2 -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif!important;color:#85858a!important;white-space:nowrap!important}
html body.student-page.museum-refined #mobileStudyNav:not(.knowledge-module-dock)>button[data-forest-page]>strong{font:inherit!important;letter-spacing:0!important;white-space:nowrap!important}
html body.student-page.museum-refined #mobileStudyNav:not(.knowledge-module-dock)>button[data-forest-page].active{color:#f3f3f5!important;font-weight:650!important}
html body.student-page.museum-refined #mobileStudyNav:not(.knowledge-module-dock)>button[data-forest-page] :is(svg,img,.mr-icon),html body.student-page.museum-refined #mobileStudyNav:not(.knowledge-module-dock)>button[data-forest-page]::before,html body.student-page.museum-refined #mobileStudyNav:not(.knowledge-module-dock)>button[data-forest-page]::after{display:none!important;content:none!important}
/* Audio queue and shared select sheets use the podcast palette. */
body:has(#forest-app[data-page=podcast]:not([hidden]))>.wf-app-select-overlay,body:has(#forest-player-shell .is-expanded)>.wf-app-select-overlay{--wf-ui-surface:#202126;--wf-ui-raised:#272930;--wf-ui-ink:#e9eaf0;--wf-ui-muted:#969ba6;--wf-ui-line:#343841;--wf-ui-accent:#28b5dc;--wf-ui-soft:#173641;--wf-ui-on-accent:#101b20;--font-body:-apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif}
#forest-player-shell .f-queue-backdrop{position:fixed;inset:0;background:#0009;display:flex;align-items:flex-end;justify-content:center;pointer-events:auto;z-index:1200}
#forest-player-shell .f-queue{width:100%;max-width:620px;max-height:78dvh;background:#1b1c20;color:#e9eaf0;border-radius:18px 18px 0 0;display:flex;flex-direction:column;padding:0 16px env(safe-area-inset-bottom);font:15px/1.5 -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif;box-shadow:0 -10px 40px #0004}
#forest-player-shell .f-queue-head{display:flex;justify-content:space-between;align-items:center;padding:17px 0 12px;border-bottom:1px solid #ffffff10;gap:10px}
#forest-player-shell .f-queue h2{margin:0;font:500 20px/1.5 sans-serif;color:#eee}#forest-player-shell .f-queue h2 small{display:block;font:11px/1.5 sans-serif;color:#828a94;margin-top:4px}
#forest-player-shell .f-queue-list{overflow:auto;min-height:0;padding:6px 0 22px;overscroll-behavior:contain}
#forest-player-shell .f-queue-row{display:flex;width:100%;gap:12px;text-align:left;align-items:center;min-height:78px;padding:14px 0;border-bottom:1px solid #ffffff09}
#forest-player-shell .f-queue-row>span:nth-child(2){flex:1;min-width:0}#forest-player-shell .f-queue-row strong{display:block;font-size:15px;font-weight:500;line-height:1.5}#forest-player-shell .f-queue-row small{display:block;font-size:11px;color:#9096a0;margin-top:5px}#forest-player-shell .f-queue-number{color:#737e88;font-size:12px;min-width:20px}#forest-player-shell .f-queue-row.on strong{color:#28b5dc}#forest-player-shell .f-queue-row>.f-icon{flex:none;filter:invert(61%) sepia(70%) saturate(646%) hue-rotate(147deg)}
/* Other screens keep a small side player, not a second bottom bar. */
#forest-player-shell.f-floating .f-player{left:auto;right:10px;top:42%;bottom:auto;width:166px;max-width:calc(100vw - 20px);padding:7px 9px;border:1px solid #34404a;border-radius:14px;background:#20252af5;box-shadow:0 5px 24px #0005}
#forest-player-shell.f-floating .f-now{height:49px;gap:8px}
#forest-player-shell.f-floating .f-now>button:first-child{min-width:0;width:95px}
#forest-player-shell.f-floating .f-now strong{font-size:11px;max-width:95px}#forest-player-shell.f-floating .f-now small{font-size:9px;color:#99a5ad;margin-bottom:3px}
#forest-player-shell.f-floating .f-now :is([data-prev],[data-next],[data-player-queue],[data-close-player]),#forest-player-shell.f-floating .f-audio-tools{display:none!important}
/* Reserve the bottom navigation row beneath the map tools. */
html body.student-page.museum-refined.gm-open #museumGenreMap{bottom:calc(57px + env(safe-area-inset-bottom))!important;height:auto!important;padding-top:env(safe-area-inset-top)}
html body.student-page.museum-refined.gm-open #mobileStudyNav:has(>button[data-forest-page]):not(.knowledge-module-dock){display:grid!important;visibility:visible!important;z-index:1102!important}
#museumGenreMap .gm-tools-area{padding-bottom:6px!important}
#museumGenreMap .gm-header .gm-brand{display:none}
#museumGenreMap .gm-header button[data-forest-map-theme]{margin-left:auto;flex:0 0 auto;width:48px;height:36px;min-height:36px;border:1px solid #666;border-radius:18px;background:#f7f7f7;color:#151515;font:13px/1.3 -apple-system,'PingFang SC',sans-serif;padding:0 7px}
html body.museum-refined #museumGenreMap.forest-map-light{--gm-gold:#303740;--gm-ink:#ffffff;--gm-line:#d4d8df;background:#fff!important;color:#15171b;--font-body:-apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif}
#museumGenreMap.forest-map-light :is(h1,h2,strong,small,.gm-status,.gm-header,.gm-tools,.gm-courses button,.gm-styles button,.gm-modes button,.gm-modes span,.gm-genre>button,.gm-selection>button,.gm-hint,.gm-chapter-number,.gm-toggle){color:#20252c!important}
#museumGenreMap.forest-map-light :is(.gm-selection,.gm-tools-area,.gm-styles,.gm-root,.gm-mark-panel,.gm-mark-picker){background:#fff!important;border-color:#cdd3da!important}
#museumGenreMap.forest-map-light .gm-root{border:1px solid #cdd3da;border-radius:14px}
#museumGenreMap.forest-map-light :is(button[aria-selected=true],button[aria-pressed=true]){color:#111!important;background:#e9edf2!important;border-color:#5c6979!important}
#museumGenreMap.forest-map-light .gm-reference-mark{background:#303740!important}
#museumGenreMap.forest-map-light .gm-category-mark{filter:grayscale(1) brightness(.35)}
#museumGenreMap.forest-map-light canvas{filter:grayscale(1) brightness(.45)}
#museumGenreMap.forest-map-light .gm-header button[data-forest-map-theme]{background:#202126!important;color:#fff!important;border-color:#202126!important}
#museumGenreMap.forest-map-light :is(button,output,.gm-zoom,.gm-selected-copy,.gm-text-topic){color:#20252c!important}
#museumGenreMap.forest-map-light :is(.gm-topic-art,.gm-selected-art,.gm-toggle,[data-gm-action=marks],.gm-selection>button,.gm-topic-copy strong){border-color:#aab4c1!important}
#museumGenreMap.forest-map-light [data-gm-action=marks]{background:#f3f5f7!important}
#museumGenreMap.forest-map-light .gm-mark-dot:not(.is-marked){border-color:#536171!important;color:#536171!important}
/* Compact map chrome; keep the canvas as the dominant surface. */
html body.student-page.museum-refined.gm-open #museumGenreMap{padding-top:0!important}
#museumGenreMap .gm-header{padding:env(safe-area-inset-top,0px) 10px 0!important;gap:6px!important;min-height:42px;height:calc(42px + env(safe-area-inset-top,0px));box-sizing:border-box}
#museumGenreMap .gm-header h1{font:500 16px/1.3 -apple-system,'PingFang SC',sans-serif!important;letter-spacing:0!important;gap:6px}
#museumGenreMap .gm-header h1 .gm-icon{display:none}#museumGenreMap .gm-header>button{width:32px;min-height:36px}#museumGenreMap .gm-header>button .gm-icon{width:20px;height:20px}
#museumGenreMap .gm-header button[data-forest-map-theme]{width:42px;height:28px;min-height:28px;font-size:11px}
#museumGenreMap .gm-modes{padding:0 12px!important;margin:0!important;gap:20px!important;min-height:32px;border-bottom:1px solid var(--gm-line)}
#museumGenreMap .gm-modes button{min-height:32px!important;padding:3px 0!important;font:500 13px/1.4 sans-serif!important;letter-spacing:0!important}#museumGenreMap .gm-modes button span{display:none!important}
#museumGenreMap .gm-controls{display:grid!important;grid-template-columns:78px 1fr 76px;gap:6px!important;padding:6px 10px 0!important;align-items:center}
#museumGenreMap .gm-courses{gap:6px!important;overflow:hidden}#museumGenreMap .gm-courses button{font:12px/1.3 sans-serif!important;min-height:32px!important;padding:4px 2px!important}
#museumGenreMap .gm-styles{padding:1px;border-radius:6px;justify-content:space-around}#museumGenreMap .gm-styles button{padding:3px 6px!important;min-height:30px!important;font:11px/1.3 sans-serif!important}
#museumGenreMap [data-gm-action=marks]{font:11px/1.3 sans-serif!important;min-height:32px!important;padding:4px!important;border-radius:6px!important}
#museumGenreMap .gm-status{height:18px!important;margin:5px 12px 0!important;font:10px/1.3 sans-serif!important;letter-spacing:0}
#museumGenreMap .gm-tools-area,#museumGenreMap.forest-map-light .gm-tools-area{position:absolute;left:12px;right:12px;bottom:4px;padding:0!important;background:transparent!important;border:0!important;z-index:5;pointer-events:none}
#museumGenreMap .gm-tools{max-width:360px;pointer-events:auto;background:transparent!important;gap:8px}
#museumGenreMap .gm-tools button{width:34px!important;min-height:36px!important;background:transparent!important;border:0!important;padding:0!important;margin:0!important;font:11px/1.2 sans-serif!important}
#museumGenreMap .gm-tools .gm-icon{width:18px;height:18px}#museumGenreMap .gm-zoom{font:11px/1.3 sans-serif!important}#museumGenreMap .gm-hint{display:none!important}
#museumGenreMap .gm-selection{position:absolute;bottom:47px;left:10px;right:10px;min-height:40px!important;padding:5px 8px!important;border:1px solid var(--gm-line)!important;border-radius:8px;gap:8px;z-index:4}
#museumGenreMap .gm-selected-art,#museumGenreMap .gm-selected-copy small{display:none!important}#museumGenreMap .gm-selected-copy strong{font:12px/1.4 sans-serif!important}
#museumGenreMap .gm-selection>button{min-height:30px!important;font:11px/1.3 sans-serif!important;padding:4px 7px!important;border:0!important;gap:4px}
#forest-player-shell .f-float-open{display:none!important}
#forest-player-shell.f-floating .f-player{width:44px!important;height:44px!important;max-width:44px!important;padding:0!important;border-radius:10px!important;right:10px;box-shadow:0 2px 8px #0003}
#forest-player-shell.f-floating .f-now{height:42px;display:block}
#forest-player-shell.f-floating .f-now>button{display:none!important}
#forest-player-shell.f-floating .f-now>.f-float-open{display:grid!important;place-items:center;width:42px!important;height:42px;min-height:42px!important;padding:0!important}
#forest-player-shell.f-floating .f-float-open .f-icon{width:23px;height:23px;filter:invert(61%) sepia(70%) saturate(646%) hue-rotate(147deg)}
#forest-player-shell:not(.f-floating) .f-now>.f-player-title{flex:1;min-width:0;width:auto;text-align:left}
#museumGenreMap .gm-controls>*{grid-column:auto!important;grid-row:auto!important;min-width:0;justify-self:stretch}
#museumGenreMap .gm-controls .gm-styles{width:auto!important}
#museumGenreMap .gm-modes{flex-direction:row!important}
#museumGenreMap.forest-map-light .gm-tools button[aria-pressed],#museumGenreMap .gm-tools button[aria-pressed]{background:transparent!important;border:0!important}
#museumGenreMap .gm-tools button[aria-pressed=true]{opacity:1}#museumGenreMap .gm-tools button[aria-pressed=false]{opacity:.5}

/* Home appearance menu: native modal, no external icon dependency. */
#forest-app .f-feed-dialog{color:var(--f-text,#eee);background:var(--f-panel,#252525);border:1px solid #7775;border-radius:20px;padding:20px;width:min(440px,calc(100vw - 32px));max-height:82dvh;box-sizing:border-box;overflow:auto;box-shadow:0 18px 80px #0008}
#forest-app .f-feed-dialog::backdrop{background:#0009}
#forest-app .f-feed-dialog button{min-height:44px;color:inherit;cursor:pointer}
#forest-app .f-feed-head{display:flex;align-items:center;justify-content:space-between;gap:12px}#forest-app .f-feed-head h2{font-size:20px;margin:0}#forest-app .f-feed-head button{min-width:44px}
#forest-app .f-feed-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}#forest-app .f-feed-options button{border:1px solid #8886;border-radius:12px;padding:10px}#forest-app .f-feed-options button[aria-pressed=true]{color:#dbc78f;border-color:#dbc78f;background:#dbc78f18}
#forest-app .f-feed-dialog p{font-size:13px;opacity:.75}#forest-app .f-feed-actions{display:flex;align-items:center;gap:16px;font-size:14px}#forest-app .f-feed-actions span{margin-left:auto;opacity:.7}
#forest-app .f-feed-scopes{max-height:38dvh;overflow:auto;overscroll-behavior:contain}#forest-app .f-feed-scopes section{padding:8px 0;border-top:1px solid #8883}#forest-app .f-feed-scopes label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px;line-height:1.5}#forest-app .f-feed-chapter{font-weight:700}#forest-app .f-feed-unit{padding-left:22px}#forest-app .f-feed-scopes input{flex:0 0 auto;width:19px;height:19px;accent-color:#bfa66a}
#forest-app .f-feed-apply{width:100%;margin-top:14px;background:#dbc78f;color:#242018!important;border-radius:12px;font-weight:700}#forest-app .f-feed-search{width:100%;border-top:1px solid #8884;margin-top:12px}#forest-app .f-feed-dialog [hidden]{display:none!important}

#forest-app .f-memory-kinds{display:flex;gap:10px;padding:10px 12px 14px}#forest-app .f-memory-kinds button{flex:1;min-height:40px;border:1px solid var(--f-line,#494236);border-radius:12px;background:transparent;color:inherit}#forest-app .f-memory-kinds button.on{background:var(--accent,#d1b779);color:#171719;font-weight:700}.f-video-label{display:block;font-size:12px;color:var(--accent,#d1b779);margin-bottom:6px}

/* Separate artwork navigation from audio playback, without nested buttons. */
html body.student-page #forest-app .f-episode-play{display:flex;align-items:center;gap:10px;flex:1;min-width:0;min-height:46px;padding:0;text-align:left}
html body.student-page #forest-app .f-episode-play>span{flex:1;min-width:0}
html body.student-page #forest-app .f-episode-cover{padding:0;flex-shrink:0}
