/* MindStream approved-reference UI v2. Real structural redesign, not a recolor. */
:root{--ms-v2-glow:var(--mint);--ms-v2-ease:cubic-bezier(.2,.75,.28,1)}
html,body,.shell,.player-sheet{max-width:100%;overflow-x:clip}
body{background:radial-gradient(ellipse 80% 420px at 80% 0%,color-mix(in srgb,var(--mint) 11%,transparent),transparent 75%),var(--bg)}
.shell{width:min(100%,1080px)}
/* Reference: discreet application header, editorial hero, rich progress-series cards. */
.brand-title{font-weight:900;letter-spacing:-.035em}.brand-title span{color:var(--mint)}
#view-home .welcome-line{margin:0 0 12px}
#view-home .hero{position:relative;display:flex!important;align-items:flex-end;min-height:360px;border-radius:25px;isolation:isolate;overflow:hidden;background:linear-gradient(155deg,#172c4e 5%,#0a2839 57%,#0a1723);border:1px solid color-mix(in srgb,var(--mint) 30%,transparent);box-shadow:0 20px 70px #0005}
#view-home .hero::before{content:'';pointer-events:none;position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#05152625 0%,#06142314 22%,#061523a6 60%,#061522ef 100%)}
#view-home .hero::after{content:'';pointer-events:none;position:absolute;inset:0;z-index:1;background:radial-gradient(circle at 85% 10%,color-mix(in srgb,var(--mint) 15%,transparent),transparent 48%)}
#view-home .hero .hero-art{z-index:0;position:absolute!important;inset:0!important;min-height:0;display:flex;align-items:center;justify-content:center;padding:0;pointer-events:none;overflow:hidden}
#view-home .hero .hero-art.has-cover::before{opacity:.8;filter:blur(14px);transform:scale(1.07)}
#view-home .hero .hero-art .ms-cover-media{width:100%!important;height:100%!important;inset:0!important;position:absolute!important;border-radius:0!important;transform:none!important;box-shadow:none!important;background-position:center 42%!important;background-size:cover!important;opacity:.8!important}
#view-home .hero .hero-art .orb{transform:scale(1.5);filter:drop-shadow(0 15px 34px color-mix(in srgb,var(--mint) 33%,transparent))}
#view-home .hero .hero-copy{z-index:2;position:relative;min-width:0;width:100%;padding:clamp(19px,5vw,32px)!important;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
#view-home .hero .eyebrow{font-weight:800;font-size:.7rem;border:1px solid #ffffff40;background:#051e2aac;border-radius:999px;padding:5px 13px;backdrop-filter:blur(9px);color:#b5ffef}
#view-home .hero h1{font-size:clamp(1.5rem,5.2vw,2.2rem);line-height:1.5;max-width:580px;color:#fff;max-height:unset;-webkit-line-clamp:unset;text-shadow:0 5px 20px #0009}
#view-home .hero p{font-size:clamp(.77rem,2.2vw,.95rem);color:#e5eef3;line-height:1.95;max-width:500px;max-height:none;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}
#view-home .hero-tags span{background:#091c2b9a;color:#e1f6f2;border-color:#ffffff28;padding:5px 11px}
#view-home .hero .hero-primary{min-height:44px;padding:8px 19px;border-radius:999px;background:#f3fcfa;color:#102632;font-weight:850;box-shadow:0 9px 22px #0003}
#view-home .hero .hero-more{color:#e6f2f0;font-size:.77rem}
#view-home .home-quick{display:flex;gap:9px;overflow-x:auto;scroll-snap-type:x mandatory;padding:5px 1px 15px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
#view-home .home-quick button{flex:0 0 auto;min-height:42px;scroll-snap-align:start;white-space:nowrap;border:1px solid color-mix(in srgb,var(--ms-domain,var(--mint)) 35%,var(--line));border-radius:999px;background:color-mix(in srgb,var(--ms-domain,var(--mint)) 10%,var(--card));color:var(--text);font-weight:700;display:flex;align-items:center;gap:7px;padding:8px 15px}
#view-home .home-quick .quick-icon{color:var(--ms-domain,var(--mint));font-size:19px}
#view-home .home-section{margin-top:25px}
#view-home .section-head{margin-bottom:12px}
#view-home .section-head h2{font-size:clamp(1rem,3.7vw,1.24rem);font-weight:850;line-height:1.65}
#view-home .section-kicker{font-size:.66rem;letter-spacing:.015em;color:var(--mint)}
#view-home .episode-row{background:color-mix(in srgb,var(--card) 93%,transparent);border:1px solid var(--line);border-radius:18px}
/* Reference: illustrated, branded and progress-aware series rather than plain rows. */
.ms-series-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:13px}
.ms-v2-series-card{border:1px solid color-mix(in srgb,var(--ms-domain) 40%,var(--line))!important;border-radius:21px!important;background:var(--card)!important;overflow:hidden!important;min-width:0;box-shadow:0 14px 34px #0002;position:relative}
.ms-v2-series-card .ms-series-click{display:block!important;position:relative!important;width:100%;height:auto;min-height:190px;padding:0!important;isolation:isolate;overflow:hidden;text-align:right}
.ms-v2-series-card .ms-series-mark{display:grid;place-items:center;position:absolute;inset:0;width:100%;height:100%;border-radius:0!important;flex:none;border:0!important;background:radial-gradient(circle at 65% 26%,color-mix(in srgb,var(--ms-domain) 60%,#173143),#0b1b2b 78%)!important;font-size:72px;transform:none}
.ms-v2-series-card .ms-series-mark .ms-cover-media{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border-radius:0!important;background-size:cover!important;background-position:center!important;opacity:.88}
.ms-v2-series-graphic{color:var(--ms-domain);font-size:74px;filter:drop-shadow(0 0 28px color-mix(in srgb,var(--ms-domain) 65%,transparent))}
.ms-v2-series-card .ms-series-click::after{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,transparent 0%,#0712211a 27%,#071221d4 72%,#071221f6 100%)}
.ms-v2-series-card .ms-v2-series-badge{position:absolute;z-index:2;top:12px;right:12px;max-width:calc(100% - 24px);font-size:.65rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:999px;padding:4px 10px;color:#fff;background:color-mix(in srgb,var(--ms-domain) 48%,#081b2d);border:1px solid #ffffff36;font-weight:700}
.ms-v2-series-card .ms-series-info{z-index:2;position:absolute;right:14px;left:14px;bottom:15px;color:#fff;display:grid;gap:3px}
.ms-v2-series-card .ms-series-info small{color:#dcf1ec;font-size:.67rem}
.ms-v2-series-card .ms-series-info strong{color:#fff;font-weight:900;font-size:clamp(.84rem,3vw,1rem);text-shadow:0 2px 12px #000b}
.ms-v2-series-card .ms-series-footer{display:grid;grid-template-columns:1fr auto;gap:9px 13px;padding:11px 13px 13px;background:var(--card);align-items:center}
.ms-v2-series-card .ms-series-footer>span:first-child{font-size:.69rem;color:var(--muted)}
.ms-v2-series-card .ms-series-progress{grid-column:1/-1;grid-row:2;width:100%;height:5px;background:var(--soft);border-radius:100px;overflow:hidden}
.ms-v2-series-card .ms-series-start{font-size:.7rem;border:1px solid color-mix(in srgb,var(--ms-domain) 55%,var(--line));color:var(--text);background:var(--panel);border-radius:10px;padding:7px 10px}
.ms-series-card .ms-series-progress i,.ms-v2-detail-hero .ms-series-progress i{background:var(--ms-domain)!important}
/* Reference: a rich series detail, selected episode and compact sequential list. */
.ms-v2-detail-hero{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px!important;padding:20px!important;align-items:center;border-radius:26px!important;overflow:hidden;background:linear-gradient(145deg,color-mix(in srgb,var(--ms-domain) 19%,var(--card)),var(--bg))!important;border:1px solid color-mix(in srgb,var(--ms-domain) 43%,var(--line))}
.ms-v2-detail-art{order:0;aspect-ratio:4/5;position:relative;overflow:hidden;border-radius:19px;background:radial-gradient(circle at 60% 20%,var(--ms-domain),#0b1c34 90%);display:grid;place-items:center}
.ms-v2-detail-art .ms-cover-media{position:absolute;inset:0;width:100%;height:100%;background-position:center;background-size:cover}
.ms-v2-detail-contents{order:1;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}
.ms-v2-detail-kicker{color:var(--ms-domain)!important;font-size:.77rem;font-weight:800}
.ms-v2-detail-hero h1{font-size:clamp(1.25rem,4vw,2.1rem);line-height:1.55;font-weight:900}
.ms-v2-detail-hero p{font-size:.82rem;line-height:2;color:var(--muted)}
.ms-v2-detail-hero .primary{border-radius:999px;padding:11px 24px;color:#102b35}
.ms-v2-episodes-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0 13px}
.ms-v2-episodes-heading h2{margin:0;font-size:1.1rem}.ms-v2-episodes-heading>span{font-size:.77rem;color:var(--muted)}
.ms-v2-series-list{display:grid;gap:9px}
.ms-v2-series-list .ms-series-episode{display:flex;align-items:center;gap:13px;text-align:right;background:var(--card)!important;border:1px solid var(--line);border-radius:16px;padding:9px!important;min-width:0}
.ms-v2-episode-art{width:65px;height:65px;flex:0 0 65px;position:relative;display:grid;place-items:center;border-radius:12px;background:var(--soft);overflow:hidden;color:var(--mint)}
.ms-v2-episode-art .ms-cover-media{inset:0;position:absolute;width:100%;height:100%;border-radius:inherit;background-size:cover;background-position:center}
.ms-v2-episode-info{display:grid;gap:7px;flex:1;min-width:0}
.ms-v2-episode-info strong{line-height:1.65;color:var(--text);font-size:.84rem;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.ms-v2-episode-info small{color:var(--muted);font-size:.7rem}
.ms-v2-episode-state{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);color:var(--mint);flex-shrink:0}
/* Fully composed audio player inspired by approved single-screen design */
.player-sheet{padding:calc(10px + env(safe-area-inset-top)) clamp(15px,4vw,25px) max(30px,env(safe-area-inset-bottom))!important;overflow-x:clip!important;background:radial-gradient(ellipse 68% 22% at 84% 24%,color-mix(in srgb,var(--ms-domain) 16%,transparent),transparent 95%),radial-gradient(ellipse 65% 32% at 0 6%,color-mix(in srgb,var(--mint) 12%,transparent),transparent 85%),var(--bg)!important}
.player-sheet .sheet-top{width:min(100%,540px);margin:0 auto 14px!important;min-height:45px;align-items:center}
.player-sheet .sheet-heading b{font-size:1rem;font-weight:900;color:var(--text)}
.player-sheet .ms-v2-main{width:min(100%,540px);min-width:0;margin:0 auto;display:flex;flex-direction:column;align-items:stretch;gap:0;padding-bottom:24px}
.player-sheet .ms-new-art-stage{width:min(100%,360px)!important;margin:2px auto 18px!important;position:relative;isolation:isolate}
.player-sheet .sheet-art-wrap{width:100%!important;max-width:100%!important;aspect-ratio:1!important;margin:0!important;border:1px solid color-mix(in srgb,var(--ms-domain) 48%,var(--line));border-radius:24px!important;overflow:hidden;box-shadow:0 20px 55px #0006,0 0 45px color-mix(in srgb,var(--ms-domain) 14%,transparent)!important}
.player-sheet .sheet-art{width:100%!important;height:100%!important;border-radius:inherit!important;box-shadow:none!important}
.player-sheet .ms-cover-halo{inset:22% -8% 0;background:radial-gradient(ellipse,color-mix(in srgb,var(--ms-domain) 20%,transparent),transparent 74%);pointer-events:none}
.player-sheet .ms-v2-art-badge{position:absolute;z-index:5;right:14px;top:14px;background:color-mix(in srgb,#091c2b 85%,transparent);border:1px solid color-mix(in srgb,var(--ms-domain) 65%,transparent);color:var(--ms-domain);border-radius:999px;font-size:.72rem;font-weight:850;padding:6px 12px;max-width:calc(100% - 30px);box-shadow:0 6px 23px #0006}
.player-sheet .sheet-info{margin:0 auto 13px!important;text-align:center!important;display:flex;flex-direction:column;align-items:center;gap:4px;padding:0 5px!important;width:100%;color:var(--text)}
.player-sheet .sheet-title{font-size:clamp(1.25rem,5vw,1.85rem)!important;line-height:1.55!important;font-weight:900!important;max-width:100%;overflow-wrap:anywhere;letter-spacing:-.035em}
.player-sheet .sheet-subtitle{font-size:.81rem!important;color:var(--muted)!important;line-height:1.9}
.player-sheet .ms-sheet-series{border:0!important;padding:0!important;margin:3px 0!important;max-width:100%}
.player-sheet .ms-sheet-series button{border:0;background:none;color:var(--ms-domain);font-size:.77rem;line-height:1.8;max-width:100%;white-space:normal}
.player-sheet .episode-identity{margin-top:2px;opacity:.85}.player-sheet .episode-link-btn{font-size:.73rem!important}
.player-sheet .sheet-controls{width:100%!important;border:0!important;margin:2px auto 0!important;padding:0!important}
.player-sheet .seek{display:block;width:100%!important;height:22px!important;margin:0!important}
.player-sheet .seek::-webkit-slider-runnable-track{background:linear-gradient(to right,var(--ms-domain) 0%,var(--ms-domain) var(--played,0%),color-mix(in srgb,var(--muted) 38%,var(--panel)) var(--played,0%))!important;height:5px!important;border-radius:99px}
.player-sheet .seek::-webkit-slider-thumb{width:16px;height:16px;margin-top:-5.5px;background:var(--ms-domain)!important;box-shadow:0 0 0 5px color-mix(in srgb,var(--ms-domain) 14%,transparent)}
.player-sheet .time-row{margin-top:2px;color:var(--muted);font-size:.77rem;font-variant-numeric:tabular-nums;letter-spacing:.015em}
.player-sheet .transport{direction:ltr;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr)) 78px repeat(2,minmax(0,1fr))!important;gap:clamp(0px,2vw,14px)!important;align-items:center;justify-content:space-between;margin:17px 0 20px!important}
.player-sheet .transport button{justify-self:center;flex-shrink:0;touch-action:manipulation;display:grid;place-items:center;transition:transform .2s var(--ms-v2-ease)}
.player-sheet .transport button:active{transform:scale(.94)}
.player-sheet .transport button:not(.play-large){width:44px!important;height:48px!important;padding:7px!important;background:transparent!important;color:var(--text)!important;opacity:.91;border:0!important;border-radius:50%!important}
.player-sheet .transport button svg{width:27px;height:27px;stroke-width:1.75}
.player-sheet .transport .transport-episode svg{width:25px;height:25px}
.player-sheet .transport .transport-seek span{font-size:10px!important;top:56%!important;font-weight:850}
.player-sheet .transport .play-large{width:76px!important;height:76px!important;min-width:76px!important;min-height:76px!important;border-radius:50%!important;padding:0!important;border:2px solid color-mix(in srgb,var(--mint) 69%,#fff)!important;background:linear-gradient(135deg,color-mix(in srgb,var(--mint) 80%,#fff),var(--mint))!important;box-shadow:0 9px 37px color-mix(in srgb,var(--mint) 26%,transparent),inset 0 2px 3px #fff4!important;color:var(--ms-player-ink);font-size:0!important;position:relative;overflow:hidden}
.player-sheet .transport .play-large::after{content:'▶';color:var(--ms-player-ink);font:700 28px/1 Arial,sans-serif;position:absolute;inset:0;display:grid;place-items:center;transform:translateX(2px)}
.player-sheet .transport .play-large[data-ms-playing="true"]::after{content:'Ⅱ';font-size:31px;transform:none}
.player-sheet .ms-v2-toolbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;margin:2px 0 11px}
.player-sheet .ms-v2-tool{min-width:0!important;min-height:79px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid color-mix(in srgb,var(--mint) 18%,var(--line))!important;border-radius:16px;background:linear-gradient(145deg,color-mix(in srgb,var(--card) 85%,transparent),color-mix(in srgb,var(--panel) 85%,transparent));color:var(--text);font-family:inherit;font-size:clamp(.62rem,2.3vw,.8rem);padding:7px 3px;position:relative;cursor:pointer;text-align:center;box-shadow:0 9px 18px #0001}
.player-sheet .ms-v2-tool svg{width:26px;height:26px;fill:none;stroke:var(--mint);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.player-sheet .ms-v2-tool-icon{font:800 1.28rem Arial,sans-serif;color:var(--mint)}
.player-sheet .ms-v2-speed select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px;z-index:2}
.player-sheet .ms-v2-tool-label{pointer-events:none}
.player-sheet .ms-v2-transcript{border:1px solid color-mix(in srgb,var(--ms-domain) 35%,var(--line));border-radius:19px;background:linear-gradient(110deg,color-mix(in srgb,var(--ms-domain) 11%,var(--card)),var(--panel));padding:13px 14px;display:flex;align-items:center;gap:13px;min-height:74px;width:100%;text-align:right;color:var(--text);font-family:inherit;cursor:pointer}
.player-sheet .ms-v2-transcript-icon{width:45px;height:45px;flex:0 0 45px;background:color-mix(in srgb,var(--mint) 16%,transparent);border:1px solid color-mix(in srgb,var(--mint) 33%,transparent);border-radius:14px;display:grid;place-items:center;color:var(--mint);font-size:1.6rem}
.player-sheet .ms-v2-transcript>span:nth-child(2){flex:1;min-width:0;display:grid;gap:3px}
.player-sheet .ms-v2-transcript strong{font-size:.93rem}.player-sheet .ms-v2-transcript small{font-size:.75rem;color:var(--muted);line-height:1.65}
.player-sheet .ms-v2-chevron{font-size:2rem;color:var(--mint)}
.player-sheet .sheet-footer{display:flex;align-items:center;justify-content:flex-start!important;border:0!important;margin:10px 0!important;padding:0!important;gap:12px!important}
.player-sheet .sheet-footer>*{min-height:0!important;background:none!important;border:0!important}
.player-sheet .sheet-footer .sheet-heart{width:40px!important;height:40px!important;border:1px solid var(--line)!important;border-radius:50%!important;padding:7px!important;color:var(--text)}
.player-sheet .ms-v2-footer-note{font-size:.71rem;color:var(--muted);padding:0!important}
.player-sheet .ms-listening-tools,.player-sheet .med-player-options{width:100%!important;margin-top:12px!important;border-radius:18px;background:var(--card);border:1px solid var(--line);padding:13px!important;box-sizing:border-box}
.player-sheet .ms-listening-line{flex-wrap:wrap;gap:10px}
.player-sheet .sheet-description{max-width:100%;font-size:.78rem;line-height:2.05;color:var(--muted)}
html[data-ms-theme="light"] .player-sheet .ms-v2-art-badge{background:#fffdf3;color:#175a5a;border-color:var(--ms-domain)}
html[data-ms-theme="light"] .player-sheet .ms-v2-tool{background:#fff;color:#18323d}
html[data-ms-theme="light"] .player-sheet .ms-v2-transcript{background:#fff}
html[data-ms-theme="light"] #view-home .hero,.ms-v2-series-card .ms-series-click{color:#fff}
@media(max-width:600px){.ms-v2-detail-hero{grid-template-columns:1fr!important;gap:14px!important}.ms-v2-detail-art{order:0;aspect-ratio:16/10;max-height:270px}.ms-v2-detail-contents{order:1}.ms-v2-series-card .ms-series-click{min-height:170px}.ms-series-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ms-v2-series-card .ms-series-footer{grid-template-columns:1fr;gap:7px}.ms-v2-series-card .ms-series-start{justify-self:start}.ms-v2-series-card .ms-series-progress{grid-row:auto}}
@media(max-width:420px){.player-sheet .ms-new-art-stage{width:min(100%,302px)!important}.player-sheet .transport{grid-template-columns:repeat(2,minmax(0,1fr)) 70px repeat(2,minmax(0,1fr))!important;gap:2px!important}.player-sheet .transport .play-large{width:69px!important;height:69px!important;min-width:69px!important;min-height:69px!important}.player-sheet .transport button:not(.play-large){width:41px!important}.player-sheet .ms-v2-tool{min-height:74px}.ms-series-grid{gap:9px}.ms-v2-series-card .ms-series-info strong{font-size:.8rem}}
@media(max-width:350px){.ms-series-grid{grid-template-columns:1fr}.player-sheet .transport .play-large{width:62px!important;height:62px!important;min-width:62px!important;min-height:62px!important}.player-sheet .transport{grid-template-columns:repeat(2,minmax(0,1fr)) 63px repeat(2,minmax(0,1fr))!important}.player-sheet .ms-v2-tool{font-size:.57rem}.player-sheet .ms-v2-transcript small{font-size:.68rem}}
@media(max-height:740px){.player-sheet .ms-new-art-stage{width:min(75vw,260px)!important;margin-bottom:12px!important}.player-sheet .sheet-title{font-size:1.15rem!important}.player-sheet .ms-v2-toolbar{margin-top:0}}
@media(prefers-reduced-motion:reduce){.player-sheet .ms-cover-halo{filter:none}.ms-v2-series-card{transition:none!important}}
/* Nine independent domain accent identities from the real taxonomy */
.ms-v2-domain-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 12px}
.ms-v2-domain-head h2{font-weight:900;font-size:1.11rem;margin:0}.ms-v2-domain-head span{font-size:.73rem;color:var(--muted)}
.ms-v2-domain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:22px}
.ms-v2-domain-card{min-width:0;min-height:109px;border-radius:18px;padding:10px 6px;display:flex;align-items:center;justify-content:center;gap:9px;flex-direction:column;text-align:center;font-size:clamp(.66rem,2.2vw,.81rem);font-weight:850;line-height:1.65;font-family:inherit;color:var(--text);border:1px solid color-mix(in srgb,var(--ms-domain) 44%,var(--line));background:radial-gradient(ellipse at 65% 0%,color-mix(in srgb,var(--ms-domain) 27%,transparent),transparent 73%),var(--card);cursor:pointer;box-shadow:0 9px 25px #0001}
.ms-v2-domain-card.is-active,.ms-v2-domain-card:hover{border-color:var(--ms-domain);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ms-domain) 34%,transparent),0 13px 35px #0002}
.ms-v2-domain-icon{width:42px;height:42px;border-radius:13px;color:var(--ms-domain);background:color-mix(in srgb,var(--ms-domain) 17%,transparent);display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--ms-domain) 30%,transparent)}
.ms-v2-domain-icon svg{width:26px;height:26px;overflow:visible}
@media(max-width:365px){.ms-v2-domain-grid{gap:7px}.ms-v2-domain-card{min-height:103px;font-size:.62rem}.ms-v2-domain-icon{width:38px;height:38px}}
/* Meditation intentionally uses its actual two applicable tools; unavailable podcast features are not presented. */
.player-sheet.is-meditation .ms-v2-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}
.player-sheet.is-meditation #msV2Queue,.player-sheet.is-meditation #msV2Chapters,.player-sheet.is-meditation #msV2Transcript{display:none}
/* Glow is visual-only: its layout bounds must NEVER expand narrow phone viewports. */
.player-sheet .ms-cover-halo{inset:22% 0 0!important}

/* Screen Wake Lock preference; unchanged responsive player structure. */
.ms-wake-pref{padding:12px 14px;margin:9px 0;border:1px solid var(--line,rgba(160,190,190,.25));border-radius:14px;background:var(--surface,rgba(25,45,55,.35));max-width:100%;min-width:0}
.ms-wake-pref label{display:flex;align-items:center;gap:9px;min-width:0;font-weight:650;line-height:1.65}
.ms-wake-pref input{flex:0 0 auto;accent-color:var(--accent,#76e9d0);width:19px;height:19px}
.ms-wake-pref small,.ms-wake-feedback{display:block;font-size:12px;color:var(--muted,#a9c6c7);line-height:1.65;margin:5px 0 0;overflow-wrap:anywhere}
.ms-wake-feedback[data-wake-status="unavailable"],.ms-wake-feedback[data-wake-status="unsupported"]{color:var(--warning,#eab66d)}

/* MindStream Listen UX — 2026-10: playlist, stripped-down player, featured artwork. */
#view-home .hero{min-height:340px}
#view-home .hero .hero-copy{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto 1fr auto;
 align-content:stretch!important;align-items:start!important;gap:6px 12px!important;
 min-height:340px;width:100%;direction:rtl;align-self:stretch!important;
 padding:clamp(16px,4vw,30px)!important;
}
#view-home .hero .eyebrow{grid-column:1/-1;grid-row:1;justify-self:start;max-width:100%;width:fit-content}
#view-home .hero h1{grid-column:1/-1;grid-row:2;max-width:min(92%,520px);align-self:start;justify-self:start;text-align:right;margin:0!important;font-size:clamp(1.15rem,4.3vw,1.9rem)!important;line-height:1.55!important;text-shadow:0 2px 12px #000c;z-index:2}
#view-home .hero #heroSummary{display:none!important}
#view-home .hero #heroTags{grid-column:1;grid-row:4;justify-self:start;align-self:end;margin:0!important;min-width:0}
#view-home .hero .hero-actions{grid-column:2;grid-row:4;justify-self:end;align-self:end;margin:0!important;display:flex;flex-wrap:nowrap}
#view-home .hero #heroExplore{display:none!important}
#view-home .hero .hero-primary{white-space:nowrap;font-size:clamp(.7rem,2.5vw,.88rem);padding:8px clamp(9px,2.5vw,16px)!important}
#view-home .hero .hero-art .ms-cover-media{opacity:1!important}
#view-home .hero::before{background:linear-gradient(180deg,#0615229c 0%,#06152212 30%,#06152212 60%,#061522d9 100%)}
@media(max-width:380px){#view-home .hero,#view-home .hero .hero-copy{min-height:310px}#view-home .hero h1{max-width:100%;font-size:1.1rem!important}}

/* Remove the old multi-tool tiles. The only visible row is ♡ · ×1 · +/- . */
.player-sheet .sheet-footer.ms-player-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;align-items:center!important;justify-items:center!important;margin:6px 0 5px!important;padding:4px 0!important;width:100%;border:0!important;}
.player-sheet .sheet-footer.ms-player-actions>*{box-sizing:border-box!important;border:1px solid var(--line)!important;background:color-mix(in srgb,var(--card) 90%,transparent)!important;color:var(--text)!important;border-radius:16px!important;width:100%!important;min-width:0!important;max-width:125px;height:55px!important;min-height:55px!important;display:grid!important;place-items:center!important;padding:6px!important;margin:0!important;box-shadow:none!important;}
.player-sheet .sheet-footer.ms-player-actions .sheet-heart svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2}
.player-sheet .sheet-footer.ms-player-actions .sheet-heart.is-liked svg{fill:#f78c99;color:#f78c99}
.player-sheet .sheet-footer.ms-player-actions .ms-playlist-toggle{font:700 2.1rem/1 Arial,sans-serif;color:var(--mint)!important;touch-action:manipulation}
.player-sheet .sheet-footer.ms-player-actions .ms-playlist-toggle[data-in-playlist="true"]{color:var(--ms-domain)!important;box-shadow:inset 0 0 0 1px var(--ms-domain)!important}
.player-sheet .sheet-footer.ms-player-actions .ms-speed-minimal{position:relative;overflow:hidden;cursor:pointer;}
.player-sheet .sheet-footer.ms-player-actions .ms-speed-minimal span{font:750 1.15rem/1.3 Arial,sans-serif;color:var(--text);pointer-events:none}
.player-sheet .sheet-footer.ms-player-actions .ms-speed-minimal select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px;z-index:1}
.player-sheet .ms-listening-tools.ms-listening-simple{display:grid;gap:0;background:transparent!important;border:0!important;padding:0!important;margin:8px 0 12px!important;box-shadow:none!important}
.player-sheet .ms-listening-simple .ms-wake-pref,.player-sheet .ms-listening-simple .ms-next-line{margin:0 0 7px!important;display:flex;justify-content:flex-start;align-items:center;padding:10px 12px!important;min-height:47px;border:1px solid var(--line);border-radius:13px;background:var(--card)!important;font-size:clamp(.73rem,2.6vw,.86rem)}
.player-sheet .ms-listening-simple .ms-next-line label{display:flex;align-items:center;gap:9px;margin:0;line-height:1.65}
.player-sheet .ms-listening-simple input{width:18px;height:18px;accent-color:var(--mint);flex-shrink:0}
.player-sheet .ms-listening-simple .is-disabled{opacity:.45}
.player-sheet .ms-listening-simple .ms-wake-feedback{display:none!important}
.ms-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.player-sheet .sheet-art{touch-action:manipulation;user-select:none;-webkit-user-select:none}

/* Library — permanent ordered playlist, independent of favorites. */
.ms-playlist-library{width:100%;min-width:0}
.ms-playlist-actions{display:flex;flex-wrap:wrap;gap:8px;margin:9px 0 15px}
.ms-playlist-actions button{min-height:39px;font-size:.77rem;border-radius:12px;padding:6px 12px}
.ms-playlist-entries{display:grid;gap:9px;min-width:0}
.ms-playlist-item{display:grid;grid-template-columns:26px 60px minmax(0,1fr) 40px;align-items:center;gap:10px;direction:rtl;padding:8px 10px;border:1px solid var(--line);background:var(--card);border-radius:17px;min-width:0}
.ms-playlist-choice{display:flex;align-items:center;justify-content:center}
.ms-playlist-choice input{accent-color:var(--mint);width:19px;height:19px}
.ms-playlist-art{display:block;position:relative;width:60px;height:60px;padding:0;border:0;border-radius:11px;overflow:hidden;background:var(--soft);color:var(--mint)}
.ms-playlist-art .ms-cover-media{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit;background-position:center;background-size:cover}
.ms-playlist-title{display:flex;flex-direction:column;gap:4px;align-items:flex-start;justify-content:center;text-align:right;background:none;border:none;min-width:0;padding:0;color:var(--text)}
.ms-playlist-title strong{font-size:.84rem;line-height:1.7;max-width:100%;overflow-wrap:anywhere}
.ms-playlist-title small{font-size:.72rem;color:var(--muted)}
.ms-playlist-remove{height:38px;width:38px;border:1px solid var(--line);border-radius:12px;background:var(--soft);color:var(--text);font-size:1.75rem;line-height:1}
.ms-queue-switch{font:700 1.5rem/1 Arial,sans-serif!important}
@media(max-width:360px){.ms-playlist-item{grid-template-columns:22px 49px minmax(0,1fr) 34px;gap:7px;padding:8px 6px}.ms-playlist-art{width:49px;height:49px}.ms-playlist-remove{width:34px;height:34px}}
/* Wide home rows: keep + and heart adjacent without pushing outside phone width. */
.episode-row:has(.row-heart){grid-template-columns:clamp(52px,13vw,76px) minmax(0,1fr) 35px 35px 38px!important;gap:clamp(3px,1vw,8px)!important;padding-inline:8px!important}
.episode-row .row-heart,.episode-row .ms-queue-switch{min-width:0!important;min-height:38px!important;padding:4px!important;text-align:center}
.episode-row .row-heart{color:var(--text)!important;font-size:1.4rem}
.episode-row .row-heart.liked{color:#fa8598!important}
@media(max-width:360px){.episode-row:has(.row-heart){grid-template-columns:47px minmax(0,1fr) 29px 29px 33px!important;gap:4px!important}.episode-row .row-heart,.episode-row .ms-queue-switch{min-height:33px!important}}

/* MindStream DiscoveryCards2: distinct home rows; preserve global mini player and explore card tools. */
#view-home .episode-row {grid-template-columns: minmax(0,78px) minmax(0,1fr) 40px;gap:10px;align-items:center}
#view-home .episode-row .row-info{min-width:0;overflow:hidden}
#view-home .episode-row .row-title{overflow-wrap:anywhere}
/* Series: featured-hero composition, first episode image as full-bleed cover. */
#view-home .ms-series-grid,#view-library .ms-series-grid,#view-explore .ms-series-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
.ms-v2-series-card.ms-series-feature-card{min-height:300px;aspect-ratio:auto;display:block;position:relative;isolation:isolate;border-radius:25px!important;background:#0b2030!important}
#view-home .ms-series-feature-card{min-height:340px}
#view-library .ms-series-feature-card,#view-explore .ms-series-feature-card{min-height:280px}
.ms-v2-series-card.ms-series-feature-card .ms-series-click{width:100%!important;height:100%!important;min-height:inherit!important;display:block!important;text-align:right!important;padding:0!important;position:absolute!important;inset:0;isolation:isolate}
.ms-series-feature-card .ms-series-mark{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;z-index:0!important}
.ms-series-feature-card .ms-series-mark .ms-cover-media{opacity:1!important;background-position:center center!important;background-size:cover!important}
.ms-series-feature-card .ms-series-click::after{content:''!important;position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#07122177 0%,transparent 34%,transparent 47%,#071221b0 84%,#071221d9 100%)!important}
.ms-series-feature-card .ms-series-top{position:absolute;top:21px;right:22px;left:16px;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:10px;max-width:calc(100% - 45px);pointer-events:none}
.ms-series-feature-card .ms-series-type{background:color-mix(in srgb,var(--ms-domain) 45%,#0a1d2c);color:#fff;border:1px solid #ffffff55;font-size:.77rem;font-weight:850;padding:5px 12px;border-radius:999px}
.ms-series-feature-card .ms-series-main-title{font-size:clamp(1.12rem,4vw,1.8rem);font-weight:900;line-height:1.6;color:#fff;text-align:right;text-shadow:0 2px 15px #000d;overflow-wrap:anywhere}
.ms-series-feature-card .ms-series-bottom{position:absolute;right:19px;left:19px;bottom:18px;z-index:3;display:flex;align-items:end;justify-content:space-between;gap:9px;pointer-events:none}
.ms-series-feature-card .ms-series-category{font-size:clamp(.7rem,2.5vw,.9rem);color:#fff;background:#071c2bb8;padding:6px 9px;border-radius:9px;line-height:1.5;max-width:65%;overflow-wrap:anywhere}
.ms-series-feature-card .ms-series-start{pointer-events:auto;background:var(--ms-domain)!important;color:#0b1821!important;border:none!important;font-weight:850!important;border-radius:13px!important;padding:10px 13px!important;font-size:.8rem!important;white-space:nowrap}
#view-explore .ms-series-feature-card .ms-series-type{display:none!important}
/* Discover section should not duplicate the nine main categories. */
#view-explore #categoryChips[hidden]{display:none!important}
#view-explore #topicFilterGroup{scroll-margin-top:20px}
#view-explore .ms-topic-all{font-weight:900!important;color:#fff!important;background:color-mix(in srgb,var(--ms-domain,var(--mint)) 48%,#123341)!important;border:2px solid var(--ms-domain,var(--mint))!important}
@media(max-width:420px){#view-home .ms-series-feature-card{min-height:305px}#view-library .ms-series-feature-card,#view-explore .ms-series-feature-card{min-height:245px}.ms-series-feature-card .ms-series-top{top:14px;right:15px;left:13px}.ms-series-feature-card .ms-series-bottom{right:12px;left:12px;bottom:12px}}

/* PlaylistThemes1 — episode descriptions with Word-like full justification. */
.player-sheet .sheet-description{
  direction:rtl!important;text-align:justify!important;text-align-last:right;
  text-justify:inter-word;white-space:pre-line;overflow-wrap:anywhere;
  hyphens:none;unicode-bidi:plaintext;
}
/* The status also appears above the full-screen player and Mini App navigation. */
.ms-playlist-toast{position:fixed;z-index:120;left:50%;bottom:calc(105px + env(safe-area-inset-bottom));
 transform:translateX(-50%);direction:rtl;text-align:center;pointer-events:none;
 width:max-content;max-width:min(90vw,340px);border:1px solid var(--line);
 background:var(--panel);color:var(--text);font-family:inherit;font-size:.88rem;font-weight:800;
 border-radius:99px;padding:12px 20px;box-shadow:0 12px 40px #0008;}
.ms-playlist-toast[hidden]{display:none!important}
/* Light-themed dialogs inherit dark-readable labels, artwork is not recolored. */
:is(html[data-ms-theme="frost"],html[data-ms-theme="sun"],html[data-ms-theme="lilac"],html[data-ms-theme="royal"]) .player-sheet .ms-v2-tool{
 background:var(--card);color:var(--text)
}
:is(html[data-ms-theme="frost"],html[data-ms-theme="sun"],html[data-ms-theme="lilac"],html[data-ms-theme="royal"]) .player-sheet .ms-v2-art-badge{
 background:var(--card);color:var(--text);border-color:var(--ms-domain)
}
:is(html[data-ms-theme="frost"],html[data-ms-theme="sun"],html[data-ms-theme="lilac"],html[data-ms-theme="royal"]) .player-sheet .ms-v2-transcript{background:var(--card)}


/* MindStream Home Mini Typography 1: theme-aware home episode-row typography. */
/* These are the small cards exclusive to Home, NOT the shared docked .mini-player.
   Use exactly the same theme tokens and font selection as Explore/Library cards. */
#view-home .episode-row .row-title{
  color:var(--text);
  font-family:inherit;
  font-weight:800;
  font-size:.9rem;
  line-height:1.78;
  letter-spacing:-.016em;
  opacity:1;
}
#view-home .episode-row .row-kicker,
#view-home .episode-row .row-duration{
  color:var(--muted);
  font-family:inherit;
  font-weight:600;
  opacity:1;
}
@media(max-width:550px){
  #view-home .episode-row .row-title{font-size:.75rem;line-height:1.7}
  #view-home .episode-row .row-kicker,
  #view-home .episode-row .row-duration{font-size:.5625rem}
}

/* Home Carousels 1 — only Home receives swipe tracks; Explore and Library stay unchanged. */
#view-home{min-width:0}
#view-home .ms-hero-carousel{position:relative;min-width:0}
#view-home #homeHero{width:100%;min-width:0}
#view-home #homeHero .hero-copy{min-width:0}
#view-home #homeHero #heroTitle{
 width:100%;max-width:100%!important;min-width:0;white-space:nowrap!important;
 overflow:hidden!important;text-overflow:ellipsis;text-align:right!important;
 font-family:inherit;line-height:1.65!important;letter-spacing:-.035em;
}
#view-home #homeHero .eyebrow{margin-right:-5px;transform:translate(5px,-4px);padding-block:3px}
#view-home #homeHero .hero-primary{
 padding:6px 9px!important;font-size:clamp(.68rem,2.1vw,.82rem)!important;
 min-height:29px!important;height:auto;border-radius:9px!important;box-shadow:none;
}
#view-home #homeHero .hero-tags span{
 padding:6px 9px;border-radius:9px;font-size:clamp(.68rem,2.1vw,.82rem);
 font-weight:800;line-height:1.35;white-space:nowrap;
}
#view-home .ms-hero-controls{display:grid;grid-template-columns:repeat(3,max-content);justify-content:center;justify-items:center;align-items:center;column-gap:10px;row-gap:9px;margin:10px 0 0}
#view-home .ms-hero-controls[hidden]{display:none!important}
#view-home .ms-slide-arrow{
 min-height:31px;min-width:34px;border:1px solid var(--line);border-radius:12px;
 background:var(--card);color:var(--text);font:800 19px/1 sans-serif;
}
#view-home .ms-slide-toggle{font-size:16px;min-width:40px}
#view-home .ms-hero-indicators{display:flex;gap:7px;align-items:center;justify-content:center}
#view-home .ms-hero-indicators button{width:8px;height:8px;background:var(--muted);opacity:.5;border:0;border-radius:99px;padding:0}
#view-home .ms-hero-indicators button.is-active{background:var(--mint);width:25px;opacity:1}
#view-home .ms-slide-wrap{width:100%;min-width:0;position:relative;display:grid;grid-template-columns:minmax(0,1fr)}
#view-home .ms-home-slide-track{
 width:100%;max-width:100%;min-width:0;display:flex!important;gap:12px!important;
 overflow-x:auto!important;overflow-y:hidden;overscroll-behavior-inline:contain;
 scroll-snap-type:x mandatory;scroll-padding-inline:1px;scrollbar-width:none;
 -webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;
 padding:1px 1px 9px!important;
}
#view-home .ms-home-slide-track::-webkit-scrollbar{display:none}
#view-home .ms-home-slide-track>.ms-series-feature-card,
#view-home .ms-home-slide-track>.episode-row{
 flex:0 0 calc(100% - 2px)!important;width:calc(100% - 2px)!important;
 max-width:none!important;scroll-snap-align:start;scroll-snap-stop:always;margin:0!important;
}
/* Silk Scroll 5: restore vertical scroll chaining through the collection carousel. */
/* Silk Coverflow 3: explicit positions ensure a single card is centered at rest.
   No native x-overflow / scroll-snap / inertial scrolling inside this section. */
#view-home #homeSeriesCards.ms-coverflow-track{
 position:relative!important;display:block!important;isolation:isolate;
 width:100%;height:380px;min-height:380px;max-width:100%;margin:14px 0 18px;
 padding:0!important;overflow:hidden!important;scroll-snap-type:none!important;
 perspective:1100px;perspective-origin:50% 46%;transform-style:preserve-3d;
 touch-action:pan-y;overscroll-behavior:auto;user-select:none;-webkit-user-select:none;
 --ms-cf-drag:0px;cursor:grab;
}
/* Silk Touch 4: remove the Android/WebView blue tap flash, text selection,
   and iOS long-press callout ONLY inside Home's collection Coverflow. */
#view-home #homeSeriesCards.ms-coverflow-track,
#view-home #homeSeriesCards.ms-coverflow-track *,
#view-home #homeSeriesCards.ms-coverflow-track *::before,
#view-home #homeSeriesCards.ms-coverflow-track *::after{
 -webkit-tap-highlight-color:transparent!important;
 -webkit-touch-callout:none!important;
 -webkit-user-select:none!important;user-select:none!important;
}
#view-home #homeSeriesCards.ms-coverflow-track ::selection{background:transparent!important}
#view-home #homeSeriesCards.ms-coverflow-track :is(button,.ms-series-card):focus:not(:focus-visible){outline:none!important}
#view-home #homeSeriesCards.ms-coverflow-track.ms-cf-dragging{cursor:grabbing}
#view-home #homeSeriesCards.ms-coverflow-track>.ms-series-feature-card{
 --ms-cf-x:0px;--ms-cf-y:0px;--ms-cf-z:0px;--ms-cf-rotate:0deg;--ms-cf-scale:1;
 position:absolute!important;top:12px;left:50%;right:auto!important;
 display:block!important;width:min(70vw,340px)!important;max-width:min(70vw,340px)!important;
 margin:0!important;flex:none!important;min-width:0!important;
 transform:translate3d(calc(-50% + var(--ms-cf-x) + var(--ms-cf-drag)),var(--ms-cf-y),var(--ms-cf-z)) rotateY(var(--ms-cf-rotate)) scale(var(--ms-cf-scale))!important;
 transform-origin:center center;backface-visibility:hidden;transform-style:preserve-3d;
 transition:transform 640ms cubic-bezier(.22,1,.36,1),opacity 480ms ease,filter 480ms ease,box-shadow 480ms ease,visibility 0s linear 480ms;
 opacity:0;visibility:hidden;pointer-events:none;filter:brightness(.82) saturate(.82);
 will-change:transform;
}
#view-home #homeSeriesCards.ms-coverflow-track>.ms-series-feature-card.is-near{
 opacity:.76;visibility:visible;pointer-events:auto;filter:brightness(.84) saturate(.9);
 transition-delay:0s;box-shadow:0 18px 35px rgba(0,0,0,.24);
}
#view-home #homeSeriesCards.ms-coverflow-track>.ms-series-feature-card.is-active{
 opacity:1;visibility:visible;pointer-events:auto;filter:none;
 transition-delay:0s;box-shadow:0 24px 50px rgba(0,0,0,.3);
}
#view-home #homeSeriesCards.ms-coverflow-track>.ms-series-feature-card.is-far{opacity:0;visibility:hidden;pointer-events:none}
#view-home #homeSeriesCards.ms-coverflow-track:is(.ms-cf-dragging,.ms-cf-initializing)>.ms-series-feature-card{
 transition:none!important;
}
#view-home #homeSeriesCards.ms-coverflow-track:focus-visible{outline:2px solid var(--mint);outline-offset:1px;border-radius:12px}
#view-home #homeSeriesCards.ms-coverflow-track .ms-series-click{min-height:240px;align-items:stretch;justify-content:flex-end;padding:0;position:relative;overflow:hidden}
#view-home #homeSeriesCards.ms-coverflow-track .ms-series-mark{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit;background:linear-gradient(180deg,transparent,rgba(4,10,18,.08) 52%,rgba(4,10,18,.72) 100%)}
#view-home #homeSeriesCards.ms-coverflow-track .ms-series-mark>.ms-cover-media{border-radius:inherit;background-position:center;background-size:cover;transform:scale(1.02)}
#view-home #homeSeriesCards.ms-coverflow-track .ms-v2-series-graphic{font-size:3.4rem;opacity:.92;text-shadow:0 12px 24px rgba(0,0,0,.32)}
#view-home #homeSeriesCards.ms-coverflow-track .ms-series-top{right:14px!important;left:14px!important;bottom:52px!important;top:auto!important;width:auto!important;max-width:none!important;padding:9px 11px!important}
#view-home #homeSeriesCards.ms-coverflow-track .ms-series-bottom{position:absolute;left:14px;right:14px;bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;z-index:3}
#view-home #homeSeriesCards.ms-coverflow-track .ms-series-category{max-width:calc(100% - 52px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#view-home #homeSeriesCards.ms-coverflow-track .ms-series-start{position:relative;z-index:4}
@media(max-width:420px){#view-home #homeSeriesCards.ms-coverflow-track{height:345px;min-height:345px}#view-home #homeSeriesCards.ms-coverflow-track>.ms-series-feature-card{top:10px}}
@media(prefers-reduced-motion:reduce){#view-home #homeSeriesCards.ms-coverflow-track>.ms-series-feature-card{transition:none!important}}
html[data-ms-reduce-motion="yes"] #view-home #homeSeriesCards.ms-coverflow-track>.ms-series-feature-card{
 transform:translate3d(calc(-50% + var(--ms-cf-x)),var(--ms-cf-y),var(--ms-cf-z)) rotateY(var(--ms-cf-rotate)) scale(var(--ms-cf-scale))!important;
 transition:none!important;
}
#view-home .ms-slide-edge{
 position:absolute;top:50%;z-index:5;transform:translateY(-50%);
 width:35px;height:40px;background:color-mix(in srgb,var(--panel) 82%,transparent);
 border:1px solid var(--line);color:var(--text);border-radius:14px;
 font-size:18px;font-weight:900;backdrop-filter:blur(12px);
 box-shadow:0 3px 12px #0003;display:none;
}
#view-home .ms-slide-wrap.has-multiple>.ms-slide-edge{display:block}
#view-home .ms-slide-edge[data-slide-step="-1"]{right:4px}
#view-home .ms-slide-edge[data-slide-step="1"]{left:4px}
#view-home #continueCards>.episode-row{min-height:100px}
#view-home #newEpisodes{display:flex!important;flex-direction:column!important;gap:10px;width:100%}
#view-home #newEpisodes>.episode-row{width:100%;margin:0}
/* Icon identities are shared among cards in Home, Explore, Library and detail views. */
.ms-series-main-title::before,.ms-v2-detail-contents h1::before{
 content:'▦';display:inline-block;vertical-align:middle;color:#9df4dc;
 font-weight:900;font-size:.84em;margin-left:.4em;text-shadow:0 1px 5px #03282b;
}
:is(.episode-title,.row-title,.ms-playlist-title strong,.ms-v2-episode-info strong)::before{
 content:'🎙';display:inline-block;vertical-align:middle;
 font-size:.88em;margin-left:.38em;line-height:1;
}
#view-home #heroTitle::before{content:'🎙';display:inline-block;font-size:.78em;vertical-align:middle;margin-left:.35em}
/* Home collection/featured card text: no wrap, retain the original size until JS detects overflow. */
#view-home .ms-series-feature-card .ms-series-top{right:14px;left:14px;max-width:calc(100% - 28px);width:calc(100% - 28px);top:20px}
#view-home .ms-series-feature-card .ms-series-main-title{
 display:block;width:100%;min-width:0;max-width:100%;white-space:nowrap!important;
 overflow:hidden!important;text-overflow:ellipsis;line-height:1.65;
}
#view-home .ms-series-feature-card .ms-series-category,
#view-home .ms-series-feature-card .ms-series-start{font-size:clamp(.68rem,2.1vw,.82rem)!important;
 line-height:1.35!important;padding:6px 9px!important;border-radius:9px!important;
 min-height:29px;box-sizing:border-box;white-space:nowrap;
}
#view-home .ms-series-feature-card .ms-series-bottom{align-items:center}
/* Four premium glass-glow glyphs without labels; retain native navigation events. */
.bottom-nav.ms-glass-nav{padding:8px 10px calc(7px + env(safe-area-inset-bottom));background:var(--ms-glass);border-top:1px solid var(--line);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
.bottom-nav.ms-glass-nav .inner{display:flex;gap:10px;justify-content:space-between;max-width:460px;margin:auto}
.bottom-nav.ms-glass-nav button{padding:3px!important;min-height:56px!important;max-width:108px;display:flex;align-items:center;justify-content:center;flex:1;border-radius:20px;color:var(--muted);font-size:0!important;background:transparent}
.bottom-nav.ms-glass-nav .ms-nav-orb{width:48px;height:48px;border:1px solid var(--line);
 border-radius:16px;display:grid;place-items:center;
 background:linear-gradient(135deg,color-mix(in srgb,var(--card) 70%,white 10%),var(--panel));
 box-shadow:inset 0 1px 0 #ffffff46,0 7px 15px #0002;transition:background .2s,transform .2s;}
.bottom-nav.ms-glass-nav button.active .ms-nav-orb{
 color:var(--mint);transform:translateY(-3px);
 border-color:color-mix(in srgb,var(--mint) 60%,var(--line));
 background:linear-gradient(140deg,color-mix(in srgb,var(--mint) 20%,var(--card)),var(--panel));
 box-shadow:inset 0 1px 0 #ffffff55,0 5px 15px color-mix(in srgb,var(--mint) 16%,transparent);
}
.bottom-nav.ms-glass-nav svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block}
@media(max-width:360px){#view-home .ms-series-feature-card .ms-series-top{right:12px;left:12px;max-width:calc(100% - 24px)}#view-home .ms-home-slide-track{gap:8px!important}.bottom-nav.ms-glass-nav .ms-nav-orb{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){#view-home .ms-home-slide-track{scroll-behavior:auto!important}.bottom-nav.ms-glass-nav .ms-nav-orb{transition:none!important}}


/* MindStream Motion Aspect 1: animated cover follows the source video ratio, not a forced square.
   The still artwork and every mini-player remain at their existing sizes. */
.player-sheet .ms-new-art-stage.ms-motion-natural{
 width:min(100%,var(--ms-motion-fit-width,430px))!important;
}
.player-sheet .sheet-art-wrap.ms-motion-natural{
 width:100%!important;max-width:100%!important;
 height:auto!important;aspect-ratio:var(--ms-motion-ratio)!important;
}
.player-sheet .sheet-art-wrap.ms-motion-natural video.motion-video{
 object-fit:contain!important;
}
/* A hidden / buffering video must not obstruct the original static artwork. */
.player-sheet .sheet-art video.motion-video[hidden]{display:none!important}

/* Motion Controls 1: video-player framing and an unobtrusive brand watermark. */
.player-sheet .sheet-art-wrap.ms-motion-natural{border-radius:12px!important;overflow:hidden!important}
.player-sheet .sheet-art-wrap.ms-motion-natural .sheet-art{border-radius:12px!important}
.player-sheet .sheet-art-wrap.ms-motion-natural video.motion-video{object-fit:contain!important}
.player-sheet .ms-v2-art-badge.ms-motion-brand{
 left:10px!important;right:auto!important;top:10px!important;
 padding:4px 9px!important;border-radius:7px!important;
 font:750 10px/1.35 'Vazirmatn',system-ui,sans-serif!important;
 background:rgba(12,22,34,.32)!important;color:#fff!important;
 border:1px solid rgba(255,255,255,.27)!important;
 backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);
 box-shadow:none!important;max-width:max-content!important;
}
.player-sheet .sheet-footer.ms-player-actions{
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:clamp(5px,1.5vw,9px)!important;
}
.player-sheet .sheet-footer.ms-player-actions>*{
 max-width:92px!important;height:43px!important;min-height:43px!important;
 border-radius:13px!important;padding:4px!important;
 background:color-mix(in srgb,var(--card) 50%,transparent)!important;
 border:1px solid color-mix(in srgb,var(--line) 70%,transparent)!important;
 backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
}
.player-sheet .sheet-footer.ms-player-actions .ms-inline-share svg{
 width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;
 stroke-linejoin:round;stroke-linecap:round;
}
.player-sheet .sheet-footer.ms-player-actions .sheet-heart svg{width:23px;height:23px}
.player-sheet .sheet-footer.ms-player-actions .ms-playlist-toggle{font-size:1.8rem!important}
.player-sheet .sheet-footer.ms-player-actions .ms-speed-minimal span{font-size:1rem!important}

/* Display the watermark only when the moving cover actually renders. */
.player-sheet .ms-v2-art-badge.ms-motion-brand{display:none!important}
.player-sheet .ms-new-art-stage:has(video.motion-video:not([hidden])) .ms-v2-art-badge.ms-motion-brand{display:block!important}

/* MindStream Carousel Arrows 1: scoped to Home collection and continue rows. */
#view-home #homeSeriesBox .ms-slide-edge{
 background:color-mix(in srgb,var(--panel) 32%,transparent);
 border:1px solid color-mix(in srgb,var(--line) 65%,transparent);
 box-shadow:0 2px 8px #0002;
 backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px);
}
#view-home .ms-continue-slide-wrap{
 display:grid;grid-template-columns:minmax(0,1fr);row-gap:4px;
}
#view-home .ms-continue-slide-controls{
 display:none;justify-content:center;align-items:center;gap:12px;
 padding:3px 0 7px;direction:ltr;
}
#view-home .ms-continue-slide-wrap.has-multiple .ms-continue-slide-controls{display:flex}
#view-home .ms-continue-slide-controls .ms-slide-edge{
 display:inline-flex;position:static;transform:none;
 align-items:center;justify-content:center;
 width:29px;height:27px;min-width:29px;min-height:27px;
 padding:0;border-radius:9px;
 font:800 15px/1 sans-serif;
 background:color-mix(in srgb,var(--card) 66%,transparent);
 box-shadow:0 1px 5px #0002;
 backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);
}
#view-home .ms-continue-slide-wrap:not(.has-multiple) .ms-continue-slide-controls{display:none}

/* MindStream Glass Cards 1 — theme-aware card geometry, watermark and carousel polish. */
/* Cards, not nested badges, media, progress tracks, or full-screen player controls. */
:is(.episode-card,.episode-row,.ms-series-card,.ms-series-feature-card,.ms-v2-series-card,.ms-v2-domain-card,.ms-series-episode,.ms-playlist-item,.ms-playlist-library,.ms-v2-detail-hero,.ms-v2-transcript,.med-card,.meditation-card,.hero,.ms-home-feature,.card){border-radius:12px!important}
#view-home .episode-row{border-radius:12px!important}
#view-home #continueCards .episode-row,
#view-home #continueCards .episode-card{
 background:linear-gradient(115deg,color-mix(in srgb,var(--mint) 13%,var(--card)),color-mix(in srgb,var(--card) 90%,var(--panel)))!important;
 border-color:color-mix(in srgb,var(--mint) 40%,var(--line))!important;
 box-shadow:inset 3px 0 0 color-mix(in srgb,var(--mint) 68%,transparent),0 6px 19px #0001!important;
}
#view-home #continueCards :is(.episode-row,.episode-card) :is(strong,h3,.episode-title){color:var(--text)!important;font-weight:850!important}
#view-home #continueCards :is(small,.meta,.subtitle,.episode-meta){color:color-mix(in srgb,var(--text) 72%,var(--mint))!important}
#view-home .ms-swipe-hint{font-size:.66em;font-weight:500;color:var(--muted);white-space:nowrap}
#view-home #homeSeriesBox .ms-slide-edge{
 background:rgba(180,195,205,.07)!important;
 border:1px solid rgba(200,215,223,.26)!important;
 backdrop-filter:blur(8px) saturate(125%)!important;
 -webkit-backdrop-filter:blur(8px) saturate(125%)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 3px 12px #0002!important;
 color:#fff!important;
}
#view-home #homeSeriesBox .ms-slide-edge:focus-visible{outline:2px solid var(--mint);outline-offset:2px}
/* Align series glyph and title with equal top/right insets everywhere. */
.ms-series-feature-card .ms-series-top,
#view-home .ms-series-feature-card .ms-series-top{
 top:12px!important;right:12px!important;left:12px!important;
 width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;
 align-items:flex-start!important;
}
/* Brand watermark only on moving cover, aligned with header brand. */
.player-sheet .ms-v2-art-badge.ms-motion-brand{
 top:auto!important;bottom:10px!important;left:10px!important;right:auto!important;
 background:rgba(14,30,39,.16)!important;
 border:1px solid rgba(255,255,255,.28)!important;
 color:var(--mint)!important;
 font:850 11px/1.35 'Vazirmatn',system-ui,sans-serif!important;
 letter-spacing:.02em!important;
 backdrop-filter:blur(10px) saturate(125%)!important;
 -webkit-backdrop-filter:blur(10px) saturate(125%)!important;
 box-shadow:inset 0 1px rgba(255,255,255,.12)!important;
}


/* MindStream Home Precision 12 — 12 confirmed UX changes, Pages-only. */
/* Header: keep original SVG logomark and type, move them left of RTL header. */
.topbar.ms-header-grid{display:flex!important;flex-direction:column;align-items:stretch!important;gap:9px;padding-bottom:13px}
.ms-brand-row{display:flex;direction:ltr;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.ms-brand-row .brand{flex:0 0 auto;direction:ltr}
.ms-header-tagline{direction:rtl;text-align:right;min-width:0;color:var(--muted);font-weight:700;font-size:clamp(9px,2.4vw,12px);line-height:1.8}
.ms-header-second{display:flex;direction:rtl;align-items:center;justify-content:space-between;gap:12px;min-height:42px}
.ms-header-second .desktop-nav{display:flex;flex-wrap:wrap;min-width:0;gap:3px;max-width:calc(100% - 175px)}
.ms-header-second .desktop-nav button{font-size:clamp(9px,1vw,12px);padding:7px 10px;white-space:nowrap}
.ms-header-second .top-actions{margin-inline-start:auto;gap:4px}
.ms-header-second .top-actions .iconbtn{min-width:34px;height:36px;border-radius:10px}
.ms-header-second .avatar{width:35px;height:35px;border-radius:10px}
@media(max-width:850px){.ms-header-second .desktop-nav{display:none}}
@media(max-width:550px){.ms-brand-row .brand-title{font-size:22px}.ms-brand-row .logo{width:43px;height:43px}.ms-header-second{justify-content:flex-end;min-height:36px}.ms-header-second .top-actions{margin-left:0}.ms-header-tagline{font-size:10px}}
/* Featured slide changes animate the artwork and copy together, without the lag of large page reflows. */
#view-home #homeHero.ms-feature-reveal .hero-copy,
#view-home #homeHero.ms-feature-reveal .hero-art{animation:msFeaturedReveal .2s cubic-bezier(.2,.7,.25,1) both}
@keyframes msFeaturedReveal{from{opacity:.65;filter:brightness(.89)}to{opacity:1;filter:brightness(1)}}
#view-home .ms-hero-controls{direction:rtl}
#view-home .ms-hero-controls #msHeroPrev{grid-column:1}
#view-home .ms-hero-controls #msHeroPause{grid-column:2}
#view-home .ms-hero-controls #msHeroNext{grid-column:3}
#view-home .ms-hero-controls #msHeroIndicators{grid-column:1 / span 3}
/* Use the same native RTL semantics for series controls: prev is on right, next on left. */
#view-home .ms-slide-wrap .ms-slide-edge[data-slide-step="-1"]{right:4px;left:auto}
#view-home .ms-slide-wrap .ms-slide-edge[data-slide-step="1"]{left:4px;right:auto}
/* Never allow a later selector/old !important to enlarge collection cards. */
.ms-series-grid > .ms-series-card,
:is(#view-home,#view-explore,#view-library) .ms-v2-series-card.ms-series-feature-card{border-radius:12px!important;clip-path:inset(0 round 12px)}
.ms-v2-series-card .ms-series-click,.ms-v2-series-card .ms-series-mark{border-radius:12px!important}
.ms-series-feature-card .ms-series-top,#view-home .ms-series-feature-card .ms-series-top{
 top:12px!important;right:12px!important;left:12px!important;width:calc(100% - 24px)!important;
 max-width:calc(100% - 24px)!important;align-items:flex-start!important;
}
/* Glass grouping is exclusive to Home card heading, not whole-card overlay. */
#view-home .ms-series-feature-card .ms-series-top{position:absolute!important;z-index:2!important}
#view-home #homeHero .eyebrow,
#view-home #homeHero #heroTitle{position:relative}
#view-home .ms-series-feature-card .ms-series-top{
 background:rgba(7,19,30,.22);border:1px solid rgba(255,255,255,.32);
 border-radius:12px;padding:7px 10px;backdrop-filter:blur(10px) saturate(125%);
 -webkit-backdrop-filter:blur(10px) saturate(125%);box-shadow:inset 0 1px rgba(255,255,255,.15);
 width:fit-content!important;max-width:calc(100% - 24px)!important;left:auto!important;right:12px!important;
}
#view-home .ms-series-feature-card .ms-series-main-title{font-size:clamp(.85rem,3vw,1.35rem);text-shadow:0 2px 12px #000b}
#view-home #homeHero .eyebrow{margin:0!important;transform:none!important;display:inline-flex;align-items:center;
 border:1px solid rgba(255,255,255,.36);padding:5px 9px!important;border-radius:12px;
 background:rgba(9,23,36,.24);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
 color:#fff;box-shadow:inset 0 1px rgba(255,255,255,.12)}
#view-home #homeHero #heroTitle{display:block;background:rgba(9,23,36,.24);border:1px solid rgba(255,255,255,.28);
 border-radius:12px;padding:5px 10px!important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#fff}
#view-home .hero-copy{align-items:flex-start}
/* Matching domain badge and play-only control in Featured and Series cards. */
#view-home #homeHero .hero-tags span,#view-home .ms-series-feature-card .ms-series-category,
#view-home #homeHero .hero-primary,#view-home .ms-series-feature-card .ms-series-start{
 display:inline-grid!important;place-items:center!important;min-height:33px!important;height:33px!important;
 padding:5px 10px!important;border-radius:12px!important;font:800 12px/1.4 'Vazirmatn',Tahoma,system-ui,sans-serif!important;
 background:rgba(8,25,39,.31)!important;color:#fff!important;border:1px solid rgba(255,255,255,.34)!important;
 backdrop-filter:blur(12px) saturate(130%);-webkit-backdrop-filter:blur(12px) saturate(130%);
 box-shadow:inset 0 1px rgba(255,255,255,.14)!important;text-shadow:0 1px 3px #0007;
}
#view-home #homeHero .hero-primary,#view-home .ms-series-feature-card .ms-series-start{min-width:37px!important;width:37px!important;padding:5px!important;line-height:1!important;cursor:pointer}
#view-home #homeHero .hero-primary svg{width:19px;height:19px}
#view-home #homeHero .hero-more{display:none!important}
.ms-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;white-space:nowrap!important;clip-path:inset(50%)!important}
/* Older parts of card chrome cannot contain 'continue listening' call-to-action text. */
#view-home #continueCards{--continue-highlight:color-mix(in srgb,var(--mint) 52%,var(--text))}
#view-home #continueCards>.episode-row{
 min-height:116px!important;padding:12px!important;
 background:linear-gradient(115deg,color-mix(in srgb,var(--mint) 27%,var(--card)),color-mix(in srgb,var(--card) 74%,var(--panel)))!important;
 border:1.5px solid color-mix(in srgb,var(--mint) 65%,var(--line))!important;
 box-shadow:inset 4px 0 0 var(--mint),inset 0 1px 0 color-mix(in srgb,var(--text) 21%,transparent),0 8px 24px #0002!important;
}
#view-home #continueCards .row-info{border-radius:9px;padding:5px 7px;background:color-mix(in srgb,var(--panel) 25%,transparent)}
#view-home #continueCards .row-title{color:var(--text)!important;font-size:clamp(12px,3vw,15px)!important;font-weight:900!important}
#view-home #continueCards .row-kicker{color:var(--continue-highlight)!important;font-weight:900!important}
#view-home #continueCards .row-duration{color:var(--text)!important;font-weight:650!important}
#view-home #continueCards .row-action{border:1px solid color-mix(in srgb,var(--mint) 65%,var(--line));box-shadow:0 4px 14px #0003}
/* Non-interactive text and covers on podcast cards: only play buttons receive events. */
:is(.episode-card,.episode-row) :is(.art-cover,.row-cover,.episode-title,.row-title,.episode-desc,.episode-meta,.row-kicker,.row-duration),
:is(.episode-card,.episode-row) :is(.art-cover,.row-cover,.episode-title,.row-title) *{
 -webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important;
 -webkit-tap-highlight-color:transparent!important;
}
.episode-card .ms-static-episode-title,.episode-row .ms-static-row-title{cursor:default!important;outline:0}
.episode-row .ms-static-row-cover,.episode-card .art-cover{cursor:default!important}
.episode-card .art-cover .play-overlay,.episode-row .row-action{cursor:pointer!important;touch-action:manipulation}
/* Minimal bottom navigation: no floating pills, labels, coloured boxes or vertical lift. */
.bottom-nav.ms-glass-nav{background:var(--ms-glass);border-top:1px solid var(--line)}
.bottom-nav.ms-glass-nav button,
.bottom-nav.ms-glass-nav button.active{background:transparent!important;border:0!important;color:var(--muted)!important;transform:none!important;box-shadow:none!important;border-radius:0!important}
.bottom-nav.ms-glass-nav .ms-nav-orb,
.bottom-nav.ms-glass-nav button.active .ms-nav-orb{background:transparent!important;border:0!important;box-shadow:none!important;transform:none!important;transition:none!important;border-radius:0!important}
.bottom-nav.ms-glass-nav button.active{color:var(--text)!important}
.bottom-nav.ms-glass-nav svg{width:27px;height:27px;stroke-width:1.8}
.bottom-nav.ms-glass-nav button.active svg{stroke-width:2.5}
.bottom-nav.ms-glass-nav button.active[data-tab="home"] svg path{fill:currentColor;fill-opacity:.9}
.bottom-nav.ms-glass-nav button.active[data-tab="library"] svg path{fill:currentColor;fill-opacity:.76}
.bottom-nav.ms-glass-nav button.active[data-tab="meditation"] svg path:first-child{fill:currentColor;fill-opacity:.9}
.bottom-nav.ms-glass-nav button.active[data-tab="explore"] svg circle{fill:currentColor;fill-opacity:.18}
.bottom-nav.ms-glass-nav button:focus-visible{outline:2px solid var(--mint);outline-offset:-5px}
/* About prose follows full justification without changing headings or inline controls. */
#view-about :is(.about-intro,.about-value p,.about-disclosure p,.about-legal p){direction:rtl;text-align:justify;text-align-last:right;text-justify:inter-word;overflow-wrap:anywhere}

/* Glass box encloses featured identity glyph AND title together. */
#view-home #homeHero .ms-feature-heading-glass{display:flex;flex-direction:column;align-items:flex-start;gap:5px;
 max-width:100%;min-width:0;width:fit-content;padding:8px 11px;position:relative;z-index:2;
 border-radius:12px;border:1px solid rgba(255,255,255,.32);
 background:rgba(8,23,35,.25);backdrop-filter:blur(12px) saturate(125%);
 -webkit-backdrop-filter:blur(12px) saturate(125%);box-shadow:inset 0 1px rgba(255,255,255,.15)}
#view-home #homeHero .ms-feature-heading-glass .eyebrow,
#view-home #homeHero .ms-feature-heading-glass #heroTitle{padding:0!important;border:0!important;background:transparent!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;
 margin:0!important;max-width:100%!important}
#view-home #homeHero .ms-feature-heading-glass #heroTitle{width:auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
@media(max-width:420px){#view-home #homeHero .ms-feature-heading-glass{max-width:100%;padding:6px 8px}}
/* Active nav icon must inherit the legible foreground, not the earlier mint pill accent. */
.bottom-nav.ms-glass-nav button.active .ms-nav-orb{color:var(--text)!important}
/* The remaining card-like containers use the same 12px system. This deliberately
   excludes full-screen player shells, icon buttons and chip/badge pills. */
:is(.feature-card,.stat-tile,.about-value,.about-brand-panel,.about-disclosure,.about-legal,.form-card,.cr-block,.library-hero,.med-hero,.home-footer,.ms-series-hero,.ms-theme-choice){border-radius:12px!important}

/* MindStream Nav Precision 1 — exact outline/active pictograms, never an icon container. */
.bottom-nav.ms-icon-only-nav{background:var(--ms-glass);border-top:1px solid var(--line);padding:6px 10px calc(6px + env(safe-area-inset-bottom));}
.bottom-nav.ms-icon-only-nav .inner{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;max-width:460px;margin:0 auto;}
.bottom-nav.ms-icon-only-nav button,
.bottom-nav.ms-icon-only-nav button.active,
.bottom-nav.ms-icon-only-nav button:hover,
.bottom-nav.ms-icon-only-nav button:focus,
.bottom-nav.ms-icon-only-nav button:active{
 appearance:none!important;-webkit-appearance:none!important;background:none!important;background-color:transparent!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;outline:none!important;
 transform:none!important;filter:none!important;transition:none!important;
 padding:6px 0!important;margin:0!important;min-width:0!important;max-width:none!important;
 width:100%!important;min-height:49px!important;height:49px!important;color:var(--muted)!important;
 font-size:0!important;display:grid!important;place-items:center!important;
 -webkit-tap-highlight-color:transparent!important;touch-action:manipulation;user-select:none;
}
.bottom-nav.ms-icon-only-nav button.active{color:var(--text)!important}
.bottom-nav.ms-icon-only-nav button:focus-visible{outline:2px solid var(--text)!important;outline-offset:-3px!important}
.bottom-nav.ms-icon-only-nav .ms-tab-icon{width:30px!important;height:30px!important;display:block!important;
 stroke:none!important;fill:none!important;stroke-width:initial!important;transform:scale(1);transition:transform .14s ease-out!important;
 pointer-events:none!important;overflow:visible;}
.bottom-nav.ms-icon-only-nav button.active .ms-tab-icon{transform:scale(1.045)!important;}
.bottom-nav.ms-icon-only-nav .ms-tab-icon .ms-nav-filled{display:none!important}
.bottom-nav.ms-icon-only-nav button.active .ms-tab-icon .ms-nav-outline{display:none!important}
.bottom-nav.ms-icon-only-nav button.active .ms-tab-icon .ms-nav-filled{display:inline!important}
@media(prefers-reduced-motion:reduce){.bottom-nav.ms-icon-only-nav .ms-tab-icon{transition:none!important}}
/* A real featured card moves into view while a non-interactive snapshot moves out. */
#view-home #msHeroCarousel{position:relative;isolation:isolate;overflow:hidden;border-radius:12px;}
#view-home #homeHero{position:relative;z-index:2;will-change:transform;}
#view-home #msHeroCarousel .ms-hero-slide-ghost{position:absolute;inset:0 auto auto 0;width:100%;height:var(--ms-hero-height,auto);z-index:1;
 pointer-events:none!important;user-select:none!important;will-change:transform;overflow:hidden;}
#view-home #msHeroCarousel .ms-hero-slide-ghost *{pointer-events:none!important}
#view-home #msHeroCarousel .ms-hero-controls{position:relative;z-index:4;}
/* Featured label outside the glass title — full title takes the available content width. */
#view-home #homeHero .ms-feature-kicker{display:inline-flex!important;align-items:center;width:max-content;max-width:100%;margin:0!important;
 align-self:flex-start;transform:none!important;}
#view-home #homeHero .ms-feature-heading-glass{display:block!important;width:max-content!important;max-width:100%!important;min-width:0!important;
 padding:9px 12px!important;overflow:visible!important;box-sizing:border-box;
 border:1px solid rgba(255,255,255,.32)!important;border-radius:12px!important;
 background:rgba(9,23,36,.29)!important;backdrop-filter:blur(13px) saturate(125%)!important;-webkit-backdrop-filter:blur(13px) saturate(125%)!important;
 box-shadow:inset 0 1px rgba(255,255,255,.16)!important;}
#view-home #homeHero .ms-feature-heading-glass #heroTitle{display:block!important;box-sizing:border-box;
 width:max-content!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;
 background:none!important;border:0!important;box-shadow:none!important;
 white-space:nowrap!important;text-overflow:clip!important;overflow:visible!important;
 line-height:1.6!important;text-align:right!important;}
#view-home #homeHero .ms-feature-heading-glass #heroTitle.ms-title-can-wrap{width:auto!important;white-space:normal!important;
 overflow-wrap:anywhere!important;word-break:normal!important;}

/* MindStream Nav Precision 1 */

/* MindStream Sleep & True Glass 1: title glass only; featured label remains unboxed. */
#view-home #homeHero .ms-feature-kicker,
#view-home #homeHero .eyebrow.ms-feature-kicker{
 background:transparent!important;background-color:transparent!important;
 border:0!important;box-shadow:none!important;border-radius:0!important;
 -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
 padding:0!important;max-width:100%;text-shadow:0 2px 8px rgba(0,0,0,.9)!important;
 color:#fff!important;
}
#view-home #homeHero .ms-feature-heading-glass{
 background:rgba(10,24,38,.12)!important;
 background-color:rgba(10,24,38,.12)!important;
 border:1px solid rgba(255,255,255,.40)!important;
 -webkit-backdrop-filter:blur(6px) saturate(115%)!important;
 backdrop-filter:blur(6px) saturate(115%)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 3px 14px rgba(0,0,0,.12)!important;
}
/* Bottom navigation: reduce glyph geometry only; tap hit area stays large. */
.bottom-nav.ms-icon-only-nav .ms-tab-icon{width:25px!important;height:25px!important}
@media(max-width:360px){.bottom-nav.ms-icon-only-nav .ms-tab-icon{width:24px!important;height:24px!important}}
/* Compact translucent timer tool follows the same four-item player row. */
.player-sheet .sheet-footer.ms-player-actions .ms-sleep-trigger{
 display:grid!important;place-items:center!important;color:var(--text)!important;
 background:color-mix(in srgb,var(--card) 44%,transparent)!important;
 border:1px solid color-mix(in srgb,var(--line) 74%,transparent)!important;
 -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
}
.player-sheet .sheet-footer.ms-player-actions .ms-sleep-trigger svg{
 width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;
 stroke-linecap:round;stroke-linejoin:round;
}
.player-sheet .sheet-footer.ms-player-actions .ms-sleep-trigger:disabled{
 opacity:.28!important;cursor:not-allowed!important;filter:grayscale(1)!important;
}
.player-sheet .sheet-footer.ms-player-actions .ms-sleep-trigger.is-running{
 color:var(--mint)!important;border-color:color-mix(in srgb,var(--mint) 70%,transparent)!important;
}
.player-sheet .ms-sleep-chooser[hidden],.player-sheet .ms-podcast-sleep-status[hidden]{display:none!important}
.player-sheet .ms-sleep-chooser{
 margin:5px 0 12px;padding:12px;border-radius:12px;
 background:color-mix(in srgb,var(--card) 42%,transparent);
 border:1px solid color-mix(in srgb,var(--line) 80%,transparent);
 -webkit-backdrop-filter:blur(13px);backdrop-filter:blur(13px);
 box-shadow:0 9px 24px #0003;color:var(--text);
}
.player-sheet .ms-sleep-chooser-title{display:flex;align-items:center;justify-content:space-between;font-weight:800;margin-bottom:8px}
.player-sheet .ms-sleep-chooser-title button{border:0;background:transparent;color:var(--text);font-size:24px;line-height:1;padding:3px 9px}
.player-sheet .ms-sleep-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.player-sheet .ms-sleep-presets button{
 border:1px solid var(--line);background:color-mix(in srgb,var(--panel) 42%,transparent);
 color:var(--text);border-radius:10px;min-height:38px;padding:6px 3px;font-size:12px;
}
.player-sheet .ms-sleep-presets button[aria-pressed="true"]{border-color:var(--mint);color:var(--mint);font-weight:850}
.player-sheet .ms-sleep-hint,.player-sheet .ms-podcast-sleep-status{font-size:11px;color:var(--muted);line-height:1.9;margin:6px 0 10px}
.player-sheet .ms-podcast-sleep-status{color:var(--text);text-align:center;margin:0 0 7px}
.player-sheet .sheet-footer.ms-player-actions .ms-sleep-trigger[hidden]{display:none!important}

/* TitleSize14: consistent featured and series titles on Home. */
#view-home #homeHero #heroTitle,
#view-home .ms-series-feature-card .ms-series-main-title{font-size:14px!important;}
@media(max-width:380px){#view-home #homeHero #heroTitle{font-size:14px!important;}}

/* Title14 WidthFix 1: use BOTH hero grid columns for the glass heading.
   Previously the glass auto-placed only in column 1, needlessly reserving
   the player button's column even though that button is on row 4. */
#view-home #homeHero .hero-copy > .ms-feature-heading-glass{
 grid-column:1 / -1!important;
 grid-row:2!important;
 justify-self:start!important;
 min-width:0!important;
 max-width:100%!important;
}
