@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/figtree-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/figtree-1.ttf) format('truetype');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/figtree-2.ttf) format('truetype');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/figtree-3.ttf) format('truetype');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/figtree-4.ttf) format('truetype');
}

.nav-icon[data-icon="home"] { --icon:url('../icons/home.svg'); }
.nav-icon[data-icon="quran"] { --icon:url('../icons/quran.svg'); }
.nav-icon[data-icon="lectures"] { --icon:url('../icons/lectures.svg'); }
.nav-icon[data-icon="podcasts"] { --icon:url('../icons/podcasts.svg'); }
.nav-icon[data-icon="books"] { --icon:url('../icons/books.svg'); }
.nav-icon[data-icon="settings"] { --icon:url('../icons/settings.svg'); }
.nav-icon[data-icon="search"] { --icon:url('../icons/search.svg'); }
.nav-icon[data-icon="profile"] { --icon:url('../icons/profile.svg'); }

:root{color-scheme:dark;--bg:#1B2932;--surface:#263A46;--elevated:#2E4755;--muted:#9CA3AF;--gold:#DEC39B;--text:#f6f7f8;--line:rgba(156,163,175,.14);--font:Figtree,"Helvetica Neue",Helvetica,Arial;--sidebar-width:230px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:1rem;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{color:inherit}img{display:block;max-width:100%}button svg{width:20px;height:20px;flex:none}button:disabled{cursor:default}h1,h2,h3,p{margin:0}h1{font-size:1.9rem;line-height:1.2;font-weight:700;letter-spacing:-.045em}h2{font-size:1.125rem;line-height:1.4;font-weight:700;letter-spacing:-.015em}h3{font-size:1rem}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:5px}::selection{background:var(--gold);color:var(--bg)}[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-80px;left:24px;padding:12px 20px;border-radius:8px;background:var(--gold);color:var(--bg);z-index:120}.skip-link:focus{top:12px}
.sidebar{position:fixed;top:20px;bottom:20px;left:20px;width:var(--sidebar-width);border-radius:26px;background:var(--surface);display:flex;flex-direction:column;padding:32px 22px 25px;z-index:40}.sidebar-top{margin-bottom:30px;padding:0 10px}.brand{display:block;width:143px}.brand img{width:100%;height:auto}.sidebar nav{display:grid;gap:7px}.nav-link{display:flex;align-items:center;gap:13px;color:var(--muted);font-size:.925rem;font-weight:600;min-height:43px;padding:10px 12px;border-radius:11px;transition:background .18s,color .18s}.nav-link:hover{background:rgba(46,71,85,.65);color:var(--text)}.nav-link.active{background:var(--elevated);color:var(--text)}.nav-link.active .nav-icon{color:var(--gold)}.nav-icon{display:inline-block;width:21px;height:21px;flex:none;background:currentColor;mask:var(--icon) center/contain no-repeat;-webkit-mask:var(--icon) center/contain no-repeat}.main-shell{margin-left:calc(var(--sidebar-width) + 65px);padding:30px 42px 0 0;max-width:1670px}main{min-height:calc(100svh - 106px)}.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:42px;height:42px;border:1px solid var(--line);background:transparent;border-radius:50%;color:var(--muted);transition:background .2s,color .2s}.icon-button:hover{background:var(--surface);color:var(--gold)}.icon-button svg{width:20px;height:20px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.text-link{font-size:.875rem;color:var(--muted);font-weight:500;padding:4px 0}.text-link:hover{color:var(--gold)}.quick-navigation-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;align-items:center}.quick-navigation-profile{text-align:center;padding:4px 0}.quick-navigation-portrait{width:200px;height:200px;border-radius:50%;margin:0 auto 17px;padding:0;border:0;object-fit:cover;object-position:center 26%}.quick-navigation-profile h3{font-size:1rem;font-weight:650;line-height:1.3;margin-bottom:4px}.quick-navigation-profile>p{color:var(--muted);font-size:.8125rem;margin-bottom:18px}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:var(--gold);color:var(--bg);padding:11px 17px;border-radius:25px;font-size:.8125rem;font-weight:750;min-height:42px;transition:background .2s,transform .2s}.primary-button:hover{background:#ead2b1;transform:translateY(-1px)}.primary-button svg{width:16px;height:16px}.quick-navigation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(5,1fr);grid-auto-flow:column;column-gap:15px;row-gap:3px}.surah-row{display:flex;align-items:center;gap:12px;text-align:left;min-width:0;border:0;background:transparent;padding:8px 10px;border-radius:14px;min-height:58px;position:relative;transition:background .2s}.surah-row:hover,.surah-row.selected{background:var(--surface)}.surah-number{display:flex;align-items:center;justify-content:center;min-width:39px;height:39px;border-radius:11px;background:var(--surface);font-size:1rem;font-weight:650;transition:background .2s,color .2s}.selected .surah-number,.surah-row:hover .surah-number{background:var(--elevated);color:var(--gold)}.surah-text{min-width:0}.surah-title{display:block;font-size:.875rem;line-height:1.5;font-weight:500;white-space:nowrap}.surah-translation{display:block;color:var(--muted);font-size:.75rem;line-height:1.6}.surah-arabic{font-family:Arial,sans-serif;font-size:.8125rem;font-weight:400;margin-left:4px;color:var(--muted)}.featured-section{margin-top:33px}.scholar-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}.scholar-card{display:block;position:relative;border:0;padding:0;aspect-ratio:1/1.08;min-width:0;overflow:hidden;border-radius:15px;background:var(--surface);text-align:left;isolation:isolate}.scholar-card img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .35s}.scholar-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 32%,rgba(8,15,20,.08) 40%,rgba(8,15,20,.88) 100%);z-index:1}.scholar-name{position:absolute;left:14px;right:12px;bottom:16px;z-index:2;font-size:1rem;line-height:1.18;font-weight:650;letter-spacing:-.025em}.scholar-card:hover img{transform:scale(1.045)}.podcast-section{margin-top:32px}.eyebrow{display:block;text-transform:uppercase;font-size:.6875rem;font-weight:650;letter-spacing:.12em;color:var(--gold);margin-bottom:7px}.status-pill{margin-left:auto;flex:none;font-size:.75rem;background:rgba(222,195,155,.07);border:1px solid rgba(222,195,155,.19);border-radius:20px;padding:5px 11px;color:var(--gold)}.mobile-header,.menu-close{display:none}
dialog{padding:34px;border:1px solid rgba(222,195,155,.2);border-radius:24px;background:var(--surface);color:var(--text);width:min(480px,calc(100% - 32px));max-height:calc(100svh - 48px);overflow-y:auto;box-shadow:0 25px 100px rgba(0,0,0,.4)}dialog::backdrop{background:rgba(8,15,20,.78);backdrop-filter:blur(5px)}.dialog-close{position:absolute;top:14px;right:14px}.dialog-profile-image{width:130px;height:130px;object-fit:cover;border-radius:50%;margin-bottom:23px}.dialog-content h2{font-size:1.55rem;line-height:1.3;margin-bottom:10px;letter-spacing:-.035em}.dialog-content>p{color:var(--muted);line-height:1.7;margin:12px 0 20px}.dialog-content .status-pill{display:inline-block;margin:0}.dialog-arabic{font-family:Arial,sans-serif;color:var(--gold);font-size:1.7rem;margin:20px 0 12px}.dialog-number{display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;background:var(--elevated);border-radius:16px;color:var(--gold);font-size:1.6rem;margin-bottom:25px}.dialog-secondary{font-size:.875rem;color:var(--muted);margin-top:14px}
@media(min-width:1700px){.main-shell{margin-left:280px;padding-right:55px}.scholar-card{aspect-ratio:1.15/1}.surah-row{min-height:64px}}
@media(max-width:1280px) and (min-width:1024px){:root{--sidebar-width:200px}.sidebar{padding:30px 17px}.brand{width:137px}.main-shell{margin-left:245px;padding-right:25px}.quick-navigation-layout{grid-template-columns:210px minmax(0,1fr);gap:17px}.quick-navigation-grid{column-gap:4px}.surah-row{gap:8px;padding:8px 7px}.surah-arabic{display:none}.scholar-name{font-size:.9rem;left:11px;bottom:13px}.scholar-grid{gap:10px}.primary-button{padding:11px 12px;font-size:.75rem}}
@media(max-width:1023px){.mobile-header{display:flex;align-items:center;justify-content:space-between;position:relative;padding:24px 30px 8px;z-index:20}.mobile-brand{width:134px}.menu-trigger{width:44px;height:44px;flex-direction:column;gap:6px;color:var(--gold)}.menu-trigger span{height:2px;width:18px;background:currentColor;border-radius:2px}.sidebar{display:none;position:fixed;inset:0;width:100%;height:100dvh;border-radius:0;padding:29px 35px;z-index:100;background:var(--bg);overflow-y:auto;overscroll-behavior:contain}.sidebar.open{display:flex}.sidebar-top{display:flex;align-items:center;justify-content:space-between;padding:0;margin-bottom:40px}.brand{width:160px}.menu-close{display:flex}.sidebar nav{gap:7px;max-width:600px;width:100%;margin:0 auto}.nav-link{min-height:59px;gap:20px;font-size:1.35rem;border-radius:14px;padding:13px 18px}.nav-link .nav-icon{width:26px;height:26px}.main-shell{margin:0;padding:26px 30px 0;max-width:none}.page-header{margin-bottom:29px}.scholar-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.scholar-card{aspect-ratio:1.2/1}.scholar-name{font-size:1.15rem;left:18px;bottom:18px}.quick-navigation-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-flow:row;gap:3px 10px}.surah-row:nth-child(n+11){display:none}.quick-navigation-layout{grid-template-columns:200px minmax(0,1fr);gap:25px}.surah-arabic{display:none}.quick-navigation-profile{padding-bottom:10px}.featured-section{margin-top:37px}}
@media(max-width:600px){.mobile-header{padding:20px 20px 0}.mobile-brand{width:125px}.main-shell{padding:25px 20px 0}.page-header{margin-bottom:29px}h1{font-size:1.7rem}.section-heading{margin-bottom:18px;gap:12px}.section-heading h2{font-size:1.0625rem}.text-link{font-size:.8125rem}.quick-navigation-layout{grid-template-columns:1fr;gap:20px}.quick-navigation-profile{display:grid;grid-template-columns:85px minmax(0,1fr);grid-template-rows:auto auto auto;text-align:left;column-gap:18px;align-items:start;padding:17px;background:var(--surface);border:1px solid var(--line);border-radius:18px}.quick-navigation-portrait{width:85px;height:85px;grid-row:1/4;margin:0}#home-quick-navigation{display:none}.quick-navigation-profile h3{margin-top:1px;font-size:1rem}.quick-navigation-profile>p{font-size:.75rem;margin:1px 0 10px}.quick-navigation-profile .primary-button{justify-self:start;min-height:32px;font-size:.75rem;padding:7px 13px;gap:5px}.primary-button svg{width:13px;height:13px}.quick-navigation-grid{grid-template-columns:1fr;gap:3px}.surah-row:nth-child(n+6){display:none}.surah-row{min-height:58px;padding:9px 11px;gap:15px}.surah-title{font-size:.925rem}.surah-arabic{display:inline}.surah-translation{font-size:.75rem}.surah-number{width:40px;height:40px}.featured-section{margin-top:29px}.scholar-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.scholar-card{aspect-ratio:1/1.06;border-radius:13px}.scholar-name{font-size:1.05rem;left:13px;bottom:16px}.podcast-section{margin-top:30px}.eyebrow{font-size:.625rem;letter-spacing:.09em}.sidebar{padding:23px 23px 28px}.sidebar-top{margin-bottom:28px}.sidebar nav{gap:4px}.nav-link{font-size:1.2rem;min-height:55px}.dialog-content h2{font-size:1.35rem}dialog{padding:29px 25px}}
.menu-open,.dialog-open{overflow:hidden}.collection-reciter{display:flex;align-items:center;gap:22px;background:var(--surface);padding:23px 27px;border-radius:18px;border:1px solid var(--line)}.collection-reciter>img{width:78px;height:78px;object-fit:cover;border-radius:50%;flex:none}.collection-reciter h2{font-size:1.2rem;margin-bottom:5px}.collection-reciter p{font-size:.875rem;color:var(--muted);max-width:420px}.collection-reciter .eyebrow{font-size:.75rem}.collection-reciter>.status-pill{white-space:normal;text-align:center;max-width:150px}.catalog-heading{margin:32px 0 19px}.item-count{color:var(--muted);font-size:.8125rem;font-weight:400;margin-left:8px}.search-field{display:flex;align-items:center;gap:14px;width:100%;max-width:600px;background:var(--surface);border:1px solid rgba(156,163,175,.22);border-radius:13px;padding:0 17px;color:var(--muted)}.search-field:focus-within{border-color:var(--gold)}.search-field input{width:100%;min-width:0;background:transparent;color:var(--text);border:0;padding:15px 0;font-size:.925rem;outline:none}.search-field input:focus-visible{outline:none}.search-field input::placeholder{color:var(--muted);opacity:.85}.result-summary{font-size:.8125rem;color:var(--muted);margin:20px 0 15px;min-height:20px}.surah-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 15px}.surah-catalog .surah-row{border:1px solid var(--line);min-height:70px}.surah-catalog .surah-title{white-space:normal}.surah-catalog .surah-arabic{display:block;margin:3px 0 0;line-height:1.5}.surah-catalog .surah-number{color:var(--gold)}.surah-catalog .surah-translation{font-size:.8125rem}.source-note{margin-top:24px;color:var(--muted);font-size:.75rem}.source-note a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}.all-scholars{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1040px;gap:20px}.all-scholars .scholar-card{aspect-ratio:1.25/1}.all-scholars .scholar-name{font-size:1.3rem;left:21px;bottom:22px}.collection-note{display:flex;gap:22px;align-items:flex-start;padding:27px 0;border-top:1px solid var(--line);margin-top:32px;max-width:770px}.collection-note>.nav-icon{color:var(--gold);width:30px;height:30px;margin-top:5px}.collection-note h2{margin-bottom:9px}.collection-note p{font-size:1rem;color:var(--muted);line-height:1.7}.empty-state{max-width:660px;min-height:480px;padding:55px 35px 65px;text-align:center;border:1px solid var(--line);border-radius:23px;margin:28px auto 0;background:linear-gradient(180deg,var(--surface),rgba(38,58,70,.12));display:flex;flex-direction:column;align-items:center;justify-content:center}.empty-icon{display:flex;align-items:center;justify-content:center;width:95px;height:95px;background:var(--elevated);border:1px solid rgba(222,195,155,.24);border-radius:50%;color:var(--gold);margin-bottom:32px}.empty-icon .nav-icon{width:43px;height:43px}.empty-state>.eyebrow{font-size:.75rem}.empty-state h2{font-size:1.8rem;font-weight:600;letter-spacing:-.035em;line-height:1.3;margin:7px 0 18px}.empty-state p{color:var(--muted);font-size:1rem;line-height:1.8;max-width:425px}.empty-state>.status-pill{margin:27px 0 15px}.search-suggestions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:17px;font-size:.8125rem;color:var(--muted)}.search-suggestions button{color:var(--gold);font-size:.8125rem;border:1px solid rgba(222,195,155,.16);background:rgba(222,195,155,.035);border-radius:20px;padding:5px 12px}.search-suggestions button:hover{background:var(--surface)}.search-intro{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:310px;padding:30px;gap:15px;color:var(--muted)}.search-intro>.nav-icon{width:34px;height:34px;color:var(--gold);opacity:.8;margin-bottom:5px}.search-intro h2{font-size:1.3rem;font-weight:500;color:var(--text)}.search-intro p{font-size:.925rem}.search-result-section{margin-top:28px}.search-result-section h2{margin-bottom:18px}.search-scholar-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.no-results{grid-column:1/-1;padding:55px 25px;text-align:center;border:1px solid var(--line);border-radius:18px}.no-results h2{font-size:1.25rem;font-weight:500}.no-results p{font-size:.925rem;color:var(--muted);margin-top:12px}.settings-panel{max-width:750px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:29px 30px}.settings-panel>h2{font-size:1.25rem;margin-bottom:14px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:24px 0;border-bottom:1px solid var(--line)}.setting-row label,.setting-row h3{font-weight:600;font-size:1rem;line-height:1.4}.setting-row p{color:var(--muted);font-size:.875rem;margin-top:6px}.setting-row select{background:var(--bg);color:var(--text);border:1px solid rgba(156,163,175,.3);border-radius:9px;padding:9px 35px 9px 12px;font-size:.875rem}.switch{border:1px solid rgba(156,163,175,.3);background:var(--bg);border-radius:25px;width:48px;height:28px;flex:none;padding:3px}.switch>span{display:block;width:20px;height:20px;border-radius:50%;background:var(--muted);transition:transform .2s,background .2s}.switch[aria-checked=true]{background:var(--gold);border-color:var(--gold)}.switch[aria-checked=true]>span{background:var(--bg);transform:translateX(19px)}.preference-note{color:var(--muted);font-size:.8125rem;margin-top:23px}.large-text{font-size:112.5%}.reduce-motion{scroll-behavior:auto}.reduce-motion *,.reduce-motion *::before,.reduce-motion *::after{transition:none!important;animation:none!important}.eyebrow{font-size:.75rem}
@media(max-width:1023px){.surah-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.surah-catalog .surah-row:nth-child(n){display:flex}.all-scholars{gap:16px}.all-scholars .scholar-name{font-size:1.15rem;left:18px;bottom:18px}.search-scholar-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.collection-reciter{gap:15px;padding:19px;flex-wrap:wrap}.collection-reciter>img{width:60px;height:60px}.collection-reciter>div{flex:1;min-width:0}.collection-reciter h2{font-size:1rem}.collection-reciter p{font-size:.8125rem;line-height:1.6}.collection-reciter>.status-pill{max-width:none;margin-left:75px;font-size:.6875rem}.surah-catalog{grid-template-columns:1fr;gap:9px}.surah-catalog .surah-row{padding:13px;min-height:78px}.surah-catalog .surah-number{width:43px;height:43px}.surah-catalog .surah-arabic{display:inline;margin-left:5px}.catalog-heading{margin-top:28px}.search-field{padding:0 14px;gap:11px}.search-field input{font-size:.875rem}.all-scholars{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.all-scholars .scholar-card{aspect-ratio:1/1.06}.all-scholars .scholar-name{font-size:1rem;left:13px;bottom:16px}.collection-note{gap:15px;margin-top:26px;padding-top:22px}.collection-note p{font-size:.925rem}.collection-note>.nav-icon{width:25px;height:25px}.empty-state{padding:39px 24px 44px;min-height:420px;margin-top:20px}.empty-state h2{font-size:1.5rem}.empty-state p{font-size:.925rem}.empty-icon{width:78px;height:78px;margin-bottom:28px}.empty-icon .nav-icon{width:33px;height:33px}.search-suggestions{gap:8px}.search-suggestions>span{width:100%}.search-scholar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.search-intro{padding:40px 10px;min-height:270px}.search-intro h2{font-size:1.15rem}.settings-panel{padding:24px 20px}.setting-row{gap:14px}.setting-row p{font-size:.8125rem}.setting-row select{padding:9px 14px 9px 9px}.eyebrow{font-size:.75rem;line-height:1.5}.collection-reciter>.status-pill{font-size:.75rem}}
.mobile-brand img{width:100%;height:auto}
.home-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.7fr);align-items:center;gap:28px;min-height:226px;margin-bottom:34px;padding:30px 38px}
.hero-copy{min-width:0}.hero-copy #hero-heading{font-size:1.875rem;font-weight:750;line-height:1.1;letter-spacing:-.02em}.hero-copy #hero-heading span{display:block}.hero-copy p{margin-top:10px;font-size:1rem;line-height:1.3;color:var(--text)}.hero-discover{min-height:36px;margin-top:16px;padding:7px 20px;border-radius:11px;font-size:1rem;font-weight:500}.hero-illustration{justify-self:center;width:282px;max-width:100%;height:auto}
@media(max-width:1280px) and (min-width:1024px){.home-hero{grid-template-columns:minmax(0,1fr) minmax(200px,.65fr);gap:20px;padding:28px 30px}.hero-copy #hero-heading{font-size:1.75rem}.hero-copy-break{display:none}.hero-illustration{width:250px}}
@media(max-width:1023px){.home-hero{grid-template-columns:minmax(0,1fr) minmax(190px,.65fr);gap:24px;padding:30px}.hero-copy #hero-heading{font-size:1.75rem}.hero-copy-break{display:none}.hero-illustration{width:260px}}
@media(max-width:600px){.home-hero{grid-template-columns:minmax(0,1fr);gap:24px;min-height:0;margin-bottom:29px;padding:27px 24px 25px}.hero-copy #hero-heading{font-size:1.625rem;line-height:1.15}.hero-copy p{margin-top:12px;line-height:1.45}.hero-discover{min-height:42px;margin-top:18px;padding:9px 20px}.hero-illustration{width:230px}}
@media(max-width:600px){.surah-title{white-space:normal}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Hide scrollbars while preserving touch, wheel, and keyboard scrolling. */
* { scrollbar-width:none; }
*::-webkit-scrollbar { display:none; }
.section-heading .text-link { flex:none;white-space:nowrap; }
.section-heading-actions { display:flex;align-items:center;gap:12px;flex:none;margin-left:auto; }
.nav-soon { margin-left:-5px;padding:2px 7px;border-radius:999px;background:rgba(222,195,155,.1);color:var(--gold);font-size:.625rem;font-weight:600;line-height:1.4; }

/* A soft diagonal light wash, with no texture or decorative patterns. */
.quick-navigation-row { display:flex;align-items:center;gap:12px;text-align:left;min-width:0;border:0;background:transparent;padding:8px 10px;border-radius:14px;min-height:58px;transition:background .2s; }
.quick-navigation-row:hover,.quick-navigation-row.is-current { background:var(--surface); }
.quick-navigation-number { display:flex;align-items:center;justify-content:center;width:39px;height:39px;flex:none;border-radius:11px;background:var(--surface);font-size:1rem;font-weight:650; }
.quick-navigation-row:hover .quick-navigation-number,.quick-navigation-row.is-current .quick-navigation-number { background:var(--elevated);color:var(--gold); }
.quick-navigation-copy { min-width:0; }
.quick-navigation-title { display:block;font-size:.875rem;line-height:1.5;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.quick-navigation-subtitle { display:block;color:var(--muted);font-size:.75rem;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
@media(min-width:1024px) and (max-width:1280px) { .quick-navigation-row { gap:8px;padding:8px 7px; } }
@media(max-width:1023px) { .quick-navigation-row:nth-child(n+11) { display:none; } }

body {
  background-image:
    linear-gradient(115deg,transparent 26%,rgba(71,99,117,.10) 60%,transparent 85%),
    linear-gradient(115deg,var(--bg) 18%,#20313b 62%,#293f4b 100%);
  background-attachment:fixed;
}

/* Align page and footer content in one bounded column beside the sidebar. */
@media(min-width:1281px) {
  :root { --sidebar-width:280px; }
}
.footer-grid,.footer-bottom { width:min(1040px,calc(100% - 60px));margin-inline:auto; }
@media(min-width:1024px) {
  .main-shell,.footer-grid,.footer-bottom {
    --content-max-width:1040px;
    --content-left-gutter:65px;
    --content-right-gutter:42px;
    width:min(var(--content-max-width),calc(100% - var(--sidebar-width) - var(--content-left-gutter) - var(--content-right-gutter)));
    max-width:none;
    margin-left:max(calc(var(--sidebar-width) + var(--content-left-gutter)),calc((100% + var(--sidebar-width) + 20px - var(--content-max-width)) / 2));
    margin-right:auto;
    padding-right:0;
  }
}
@media(min-width:1024px) and (max-width:1280px) {
  .main-shell,.footer-grid,.footer-bottom { --content-left-gutter:53px;--content-right-gutter:25px; }
}

/* Give the hero text the section's full inset-free area above mobile sizes. */
.hero-copy #hero-heading { font-weight:400; }
@media(min-width:601px) {
  .home-hero {
    grid-template-columns:minmax(0,1fr) clamp(230px,38%,282px);
    padding-inline:0 clamp(0px,calc(40% - 240px),144px);
  }
  .hero-copy { width:100%; }
  .hero-illustration { width:100%; }
  .hero-copy #hero-heading { font-size:2rem; }
}
@media(min-width:1281px) {
  .hero-copy #hero-heading { font-size:2.25rem; }
}

/* Search and account actions remain available outside the navigation menu. */
:root { --page-header-inset:30px; }
.main-shell { padding-top:var(--page-header-inset); }
.page-header { position:static;flex-wrap:wrap;min-height:42px;padding-right:114px; }
.mobile-header { position:sticky;isolation:isolate; }
.mobile-header::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
@media(max-width:1023px) {
  :root { --mobile-header-height:80px;--page-header-inset:26px; }
  .mobile-header { top:0;height:var(--mobile-header-height);padding-block:20px 16px;z-index:60; }
  .page-header { min-height:0;padding-right:0; }
}
.header-actions { display:flex;align-items:center;gap:10px;position:sticky;top:var(--page-header-inset);z-index:50;width:max-content;min-height:42px;margin-left:auto;margin-bottom:-42px; }
.header-actions:empty { display:none; }
@media(min-width:1024px) {
  .header-actions { min-height:54px;padding:6px;margin-bottom:-54px;background:var(--bg);border:0;border-radius:999px; }
  .header-actions .icon-button { border:0;background:transparent; }
  .header-actions .icon-button:hover { background:var(--elevated); }
}
#detail-dialog { border:0; }
.mobile-header-actions,.mobile-menu-actions { display:flex;align-items:center;gap:8px; }
@media(min-width:601px) and (max-width:1023px) {
  .sidebar-top { width:100%;max-width:600px;margin-inline:auto; }
}
.account-control { position:relative;display:flex;flex:none; }
.account-button { padding:0;background:var(--surface);color:var(--text); }
.account-button:hover { background:var(--elevated);color:var(--text); }
.account-button .nav-icon { width:20px;height:20px; }
.account-tooltip { position:absolute;right:0;top:calc(100% + 14px);z-index:50;padding:9px 10px;border-radius:3px;background:#E5E9EC;color:var(--surface);box-shadow:0 3px 10px rgba(0,0,0,.12);font-size:.875rem;line-height:1.4;font-weight:500;white-space:nowrap;visibility:hidden;opacity:0; }
.account-tooltip::before { content:"";position:absolute;right:13px;bottom:100%;border:8px solid transparent;border-top:0;border-bottom-color:#E5E9EC; }
.account-tooltip::after { content:"";position:absolute;left:0;right:0;bottom:100%;height:14px; }
.account-control:not(.tooltip-dismissed):hover .account-tooltip,
.account-control:not(.tooltip-dismissed) .account-button:focus-visible + .account-tooltip { visibility:visible;opacity:1; }
.account-dialog-icon { display:block;width:48px;height:48px;color:var(--gold);margin-bottom:18px; }
.account-dialog-icon .nav-icon { width:100%;height:100%; }
@media(max-width:600px) {
  :root { --page-header-inset:25px; }
  .quick-navigation-profile { border:0; }
  .page-header { gap:12px; }
  .header-actions { gap:6px; }
}

/* Fit whole square covers in each collection's available width. */
.page-view { container:scholar-layout / inline-size; }
.scholar-grid { --scholar-columns:1; }
.scholar-grid,.scholar-grid.all-scholars,.scholar-grid.search-scholar-grid {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - (var(--scholar-columns) - 1) * 14px) / var(--scholar-columns));
  grid-template-columns:none;
  max-width:none;
  gap:14px;
  overflow-x:auto;
  overflow-y:hidden;
  overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;
  scroll-padding-inline:0;
  padding:0;
  margin:0;
}
.scholar-grid .scholar-card { width:100%;height:auto;min-height:0;aspect-ratio:auto;overflow:visible;background:transparent;border-radius:0;scroll-snap-align:start; }
.scholar-card::after { content:none; }
.scholar-card-cover { display:block;position:relative;width:100%;aspect-ratio:1 / 1;overflow:hidden;border-radius:15px;background:var(--surface);isolation:isolate; }
.scholar-card-cover::after { content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 32%,rgba(8,15,20,.08) 40%,rgba(8,15,20,.88) 100%);z-index:1;pointer-events:none; }
.card-play-overlay { position:absolute;z-index:3;top:14px;left:14px;display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:50%;background:#dec39b;color:var(--bg);box-shadow:0 10px 16px -5px rgba(0,0,0,.32);opacity:0;transform:translateY(18px);transition:opacity .2s ease,transform .24s cubic-bezier(.22,.61,.36,1);pointer-events:none; }
.card-play-overlay svg { width:28px;height:28px; }
@media(hover:hover) {
  .scholar-card-cover:hover .card-play-overlay,.podcast-card:hover .card-play-overlay { opacity:1;transform:translateY(0); }
}
.scholar-card:focus-visible .card-play-overlay,.podcast-card:focus-visible .card-play-overlay { opacity:1;transform:translateY(0); }
.scholar-card:focus-visible img { transform:scale(1.045); }
.card-stats { display:grid;gap:2px;margin-top:10px;color:var(--muted);font-size:.875rem;font-weight:400;line-height:1.5; }
.card-stats>span { white-space:nowrap; }
#view-home .card-stats { display:none; }
.scholar-grid.all-scholars { grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(var(--scholar-columns),minmax(0,1fr));gap:24px 14px;overflow:visible;scroll-snap-type:none; }
@container scholar-layout (min-width:334px) { .scholar-grid { --scholar-columns:2; } }
@container scholar-layout (min-width:568px) { .scholar-grid { --scholar-columns:3; } }
@container scholar-layout (min-width:762px) { .scholar-grid { --scholar-columns:4; } }
@container scholar-layout (min-width:956px) { .scholar-grid { --scholar-columns:5; } }
.scholar-grid .scholar-name { font-size:1rem;left:14px;bottom:16px; }
.scholar-scroll-controls { display:none;align-items:center;gap:10px;margin:0; }
.scholar-scroll-button { display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:0;border-radius:50%;background:var(--surface);color:var(--text);transition:background .18s,opacity .18s; }
.scholar-scroll-button svg { width:14px;height:14px;stroke-width:2; }
.scholar-scroll-button:hover:not(:disabled) { background:var(--elevated); }
.scholar-scroll-button:disabled { opacity:.35;cursor:default; }
@media(min-width:1024px) {
  .scholar-scroll-controls:not([hidden]) { display:flex; }
}

/* The supplied podcast artwork and name, as in the reference. */
.podcast-grid { display:flex;flex-wrap:wrap;gap:26px; }
.podcast-card { display:flex;flex-direction:column;align-items:center;width:146px;gap:15px;text-align:center; }
.podcast-card-cover { display:block;position:relative;width:100%;aspect-ratio:1 / 1;border-radius:50%;overflow:visible;isolation:isolate; }
.podcast-card-artwork { display:block;width:100%;height:100%;border-radius:50%;overflow:hidden; }
.podcast-card .card-play-overlay { top:0;left:0; }
.podcast-card img { width:146px;height:146px;object-fit:cover;border-radius:50%;transition:transform .2s; }
.podcast-card>.podcast-name { font-size:1.125rem;font-weight:500;line-height:1.25; }
.podcast-card>.card-stats { align-self:stretch;margin-top:-5px; }
.podcast-card:hover img,.podcast-card:focus-visible img { transform:scale(1.025); }

/* Each selection opens its own profile and audio collection. */
.collection-back { width:38px;height:38px;border:0;background:var(--surface);color:var(--text);margin-bottom:24px; }
.audio-profile { display:grid;grid-template-columns:180px minmax(0,1fr);align-items:start;gap:26px;margin-bottom:32px; }
.audio-profile-image { width:180px;height:180px;object-fit:cover;object-position:center 28%;border-radius:18px; }
.audio-profile-copy { min-width:0; }
.audio-profile h1 { font-size:2rem;line-height:1.2;font-weight:600;letter-spacing:-.035em;overflow-wrap:anywhere; }
.audio-profile .profile-title { font-size:.875rem;letter-spacing:.035em;text-transform:none; }
.profile-remembrance { display:inline-block;margin-inline-start:6px;font-family:Arial,sans-serif;letter-spacing:normal; }
.profile-bio { margin-top:12px;max-width:none;color:var(--muted);font-size:1.0625rem;line-height:1.75;white-space:pre-line;overflow-wrap:anywhere; }
.audio-list-section .section-heading { margin-bottom:18px; }
.collection-filters { display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px; }
.collection-filter { border:0;border-radius:999px;background:var(--surface);color:var(--muted);padding:6px 14px;min-height:32px;font-size:.875rem;font-weight:500;line-height:1.4; }
.collection-filter:hover { color:var(--text);background:var(--elevated); }
.collection-filter[aria-pressed=true] { background:#fff;color:var(--bg); }
.collection-audio-search { border-color:transparent; }
.audio-track-list { margin-top:20px; }
.audio-track-group { display:grid;gap:6px; }
.audio-track-group+.audio-track-group { margin-top:18px; }
.audio-track-group h3 { margin:0 12px 6px;font-size:1rem;font-weight:500;color:var(--muted); }
.collection-audio-empty { display:flex;align-items:center;gap:14px;padding:23px 24px;background:rgba(38,58,70,.48);border-radius:14px;color:var(--muted);font-size:1rem; }
.collection-audio-empty .nav-icon { width:24px;height:24px;color:var(--gold); }
.audio-detail .search-field { max-width:none;border-radius:28px; }
.audio-track-list { display:grid;gap:6px; }
.audio-track-row { display:flex;align-items:center;gap:14px;width:100%;min-height:70px;padding:10px 12px;border:0;border-radius:14px;background:transparent;text-align:left; }
.audio-track-row:hover,.audio-track-row[aria-pressed=true] { background:var(--surface); }
.audio-track-number { display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;background:var(--surface);border-radius:14px;font-weight:600; }
.audio-track-copy { min-width:0;flex:1; }
.audio-track-title { display:block;font-size:1rem; }
.audio-track-description { display:block;margin-top:3px;color:var(--muted);font-size:.875rem; }
.audio-track-duration { flex:none;color:var(--muted);font-size:.875rem; }
.audio-track-row>svg { width:18px;height:18px;flex:none;color:var(--gold); }
.collection-no-results { padding:24px 12px;color:var(--muted); }
@media(max-width:600px) {
  .audio-profile { grid-template-columns:108px minmax(0,1fr);gap:18px;align-items:start;margin-bottom:28px; }
  .audio-profile-image { width:108px;height:108px;border-radius:14px; }
  .audio-profile h1 { font-size:1.5rem; }
  .profile-bio { font-size:1rem; }
  .collection-audio-empty { padding:19px 18px;align-items:flex-start; }
}

/* Footer supplied by the user. */
/* Keep the footer below the first screen, even when a page has no content. */
main { min-height:100vh;min-height:100svh; }
.main-shell { padding-bottom:0; }
.pearl-footer { background:var(--surface);border-radius:0;margin-top:80px;padding:32px 0 calc(36px + var(--player-clearance,0px)); }
.footer-grid { display:grid;grid-template-columns:minmax(230px,1.5fr) repeat(3,minmax(110px,.55fr));gap:32px; }
.footer-brand { display:inline-flex;margin-bottom:15px; }
.footer-mark { display:block;width:43px;height:53px;background:var(--gold);mask:url('../images/pearl-mark.png') center/contain no-repeat;-webkit-mask:url('../images/pearl-mark.png') center/contain no-repeat; }
.footer-about>p { max-width:355px;color:var(--muted);font-size:.875rem;font-weight:500;line-height:1.4; }
.footer-socials { display:flex;align-items:center;gap:9px;margin-top:13px; }
.footer-socials a { display:flex;align-items:center;justify-content:center;width:23px;height:26px;color:var(--text); }
.footer-socials a:hover { color:var(--gold); }
.footer-socials svg { width:22px;height:22px; }
.footer-column h2 { font-size:1rem;font-weight:650;margin-bottom:14px; }
.footer-column ul { list-style:none;padding:0;margin:0;display:grid;gap:10px; }
.footer-column a,.footer-column button,.footer-legal button { font-size:.875rem;font-weight:500;line-height:1.5;color:var(--muted); }
.footer-column button,.footer-legal button { background:none;border:0;padding:0;text-align:left; }
.footer-column a:hover,.footer-column button:hover,.footer-legal button:hover { color:var(--gold); }
.footer-bottom { display:flex;justify-content:space-between;align-items:flex-start;gap:24px;border-top:1px solid rgba(156,163,175,.42);margin-top:34px;padding-top:18px; }
.footer-copyright { color:var(--muted);font-size:.8125rem;font-weight:500;line-height:1.6; }
.footer-copyright address { font-style:normal;margin-top:11px; }
.footer-copyright strong { font-weight:600; }
.footer-copyright a:hover,#dialog-content a[href="https://atharise.com"]:hover { color:var(--gold);text-decoration:underline;text-underline-offset:3px; }
.footer-legal { display:flex;align-items:center;flex-wrap:wrap;gap:7px;justify-content:flex-end;color:var(--muted); }
.footer-legal button { font-size:.8125rem; }
@media(max-width:900px) {
  .pearl-footer { padding:28px 0 calc(28px + var(--player-clearance,0px)); }
  .footer-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px; }
  .footer-about { grid-column:1/-1; }
  .footer-about>p { max-width:480px; }
  .footer-bottom { flex-direction:column;gap:22px; }
  .footer-legal { justify-content:flex-start; }
}
@media(max-width:600px) {
  .pearl-footer { padding:25px 0 calc(28px + var(--player-clearance,0px));margin-top:56px; }
  .footer-grid,.footer-bottom { width:calc(100% - 40px); }
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px; }
  .footer-column:last-child { grid-column:1/-1; }
  .footer-column:last-child ul { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px; }
  .footer-about>p { font-size:.875rem;line-height:1.6; }
  .footer-column h2 { font-size:.9375rem; }
  .footer-column a,.footer-column button { font-size:.8125rem; }
  .footer-socials { gap:12px;margin-top:15px; }
  .footer-socials a { width:26px;height:32px; }
  .footer-bottom { margin-top:28px;padding-top:19px; }
  .footer-legal { gap:6px; }
  .footer-legal button,.footer-copyright { font-size:.75rem; }
  .podcast-card { width:138px;gap:13px; }
  .podcast-card img { width:138px;height:138px; }
  .podcast-card>span { font-size:1.0625rem; }
}

:root { --player-height:88px;--player-bottom:max(20px,env(safe-area-inset-bottom));--player-clearance:calc(var(--player-height) + var(--player-bottom) + 24px); }
html { scroll-padding-bottom:var(--player-clearance); }
body { padding-bottom:0; }
.playing-equalizer { display:none;align-items:flex-end;justify-content:center;gap:3px;width:21px;height:20px;color:var(--gold); }
.playing-equalizer i { display:block;flex:none;width:3px;height:100%;border-radius:2px;background:currentColor;transform:scaleY(var(--bar-rest,.5));transform-origin:center bottom; }
.playing-equalizer i:nth-child(2) { --bar-rest:.9; }
.playing-equalizer i:nth-child(3) { --bar-rest:.35; }
.playing-equalizer i:nth-child(4) { --bar-rest:.7; }
.recording-play { display:none;width:20px;height:20px;color:var(--gold); }
.is-playing .recording-number,.is-paused .recording-number { display:none; }
.is-paused .recording-play { display:block; }
.is-playing .playing-equalizer { display:flex; }
.is-playing .playing-equalizer i { animation:pearl-equalizer .85s ease-in-out infinite; }
.is-playing .playing-equalizer i:nth-child(2) { animation-duration:1.05s;animation-delay:-.4s; }
.is-playing .playing-equalizer i:nth-child(3) { animation-duration:.7s;animation-delay:-.25s; }
.is-playing .playing-equalizer i:nth-child(4) { animation-duration:.95s;animation-delay:-.6s; }
@keyframes pearl-equalizer { 0%,100% { transform:scaleY(.25); } 30% { transform:scaleY(.85); } 60% { transform:scaleY(.4); } 80% { transform:scaleY(1); } }
.reduce-motion .is-playing .playing-equalizer i { animation:none; }
@media(prefers-reduced-motion:reduce) { .is-playing .playing-equalizer i { animation:none; } }
.pearl-player {
  position:fixed;z-index:70;left:30px;bottom:var(--player-bottom);width:calc(100% - 60px);
  display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,1.7fr) minmax(0,1fr);align-items:center;gap:22px;
  padding:14px 24px;border-radius:999px;border:0;
  background:rgba(25,39,48,.72);box-shadow:0 12px 40px rgba(0,0,0,.16);
  backdrop-filter:blur(24px) saturate(135%);-webkit-backdrop-filter:blur(24px) saturate(135%);cursor:pointer;
}
.pearl-player:focus-visible { outline:2px solid var(--gold);outline-offset:4px; }
.player-now { display:flex;align-items:center;gap:12px;min-width:0; }
.player-artwork { display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;border-radius:50%;overflow:hidden;background:var(--surface); }
.player-artwork img { width:100%;height:100%;object-fit:cover;object-position:center 28%; }
.player-track-copy { display:flex;flex-direction:column;min-width:0;gap:1px; }
.player-track-title { display:block;max-width:100%;border:0;background:transparent;padding:0;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;font-weight:600;line-height:1.4; }
.player-track-title:hover { color:var(--gold); }
.player-track-copy>span { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;line-height:1.5;color:var(--muted); }
.player-transport { min-width:0;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;column-gap:10px; }
.player-controls { display:flex;justify-content:center;align-items:center;gap:10px;transition:filter .18s,opacity .18s; }
.seek-previewing .player-controls { filter:blur(4px);opacity:.7; }
.player-control { position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;border:0;background:transparent;padding:4px;border-radius:50%;color:var(--muted); }
.player-control:hover { color:var(--text);background:rgba(255,255,255,.06); }
.player-control[aria-pressed=true],.player-control[aria-expanded=true] { color:var(--gold); }
.player-control:disabled { opacity:.35; }
.player-control svg { width:21px;height:21px; }
.player-play { width:38px;height:38px;color:var(--text); }
.player-play svg { width:29px;height:29px; }
.player-repeat-one { position:absolute;top:7px;left:13px;font-size:9px;font-weight:700;line-height:1; }
.player-shuffle[aria-pressed=true]::after,.player-repeat[aria-pressed=true]::after { content:"";position:absolute;bottom:0;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:currentColor; }
.player-timeline { position:relative;grid-column:1/-1;margin-top:4px; }
.player-seek-preview { position:absolute;z-index:5;bottom:calc(100% + 2px);min-width:54px;padding:4px 10px;border-radius:999px;background:#fff;color:var(--bg);text-align:center;font-size:.75rem;font-weight:650;line-height:1.3;font-variant-numeric:tabular-nums;white-space:nowrap;transform:translateX(-50%);pointer-events:none;box-shadow:0 4px 16px rgba(0,0,0,.15); }
.player-timeline .player-range { display:block; }
.player-transport>span { color:var(--muted);font-size:.75rem;font-variant-numeric:tabular-nums;line-height:1.5; }
#player-duration { text-align:right; }
.player-range { --range-fill:0%;--range-track-height:3px;--range-thumb-size:8px;appearance:none;-webkit-appearance:none;width:100%;min-width:0;height:16px;margin:0;padding:0;border:0;background:transparent;cursor:pointer;accent-color:var(--gold); }
.player-range::-webkit-slider-runnable-track { height:var(--range-track-height);border-radius:8px;background:linear-gradient(to right,var(--gold) var(--range-fill),rgba(156,163,175,.22) var(--range-fill));transition:height .15s; }
.player-range::-moz-range-track { height:var(--range-track-height);border-radius:8px;background:rgba(156,163,175,.22);transition:height .15s; }
.player-range::-moz-range-progress { height:var(--range-track-height);border-radius:8px;background:var(--gold); }
.player-range::-webkit-slider-thumb { appearance:none;-webkit-appearance:none;width:var(--range-thumb-size);height:var(--range-thumb-size);margin-top:calc((var(--range-track-height) - var(--range-thumb-size)) / 2);border:0;border-radius:50%;background:var(--gold);opacity:0; }
.player-range::-moz-range-thumb { width:var(--range-thumb-size);height:var(--range-thumb-size);border:0;border-radius:50%;background:var(--gold);opacity:0; }
.seek-previewing #player-seek { --range-track-height:8px;--range-thumb-size:12px; }
.seek-previewing #player-seek::-webkit-slider-thumb { opacity:1; }
.seek-previewing #player-seek::-moz-range-thumb { opacity:1; }
.player-range:hover::-webkit-slider-thumb,.player-range:focus-visible::-webkit-slider-thumb { opacity:1; }
.player-range:hover::-moz-range-thumb,.player-range:focus-visible::-moz-range-thumb { opacity:1; }
.player-range:disabled { cursor:default;opacity:.5; }
.player-actions { display:flex;align-items:center;gap:5px;justify-self:end; }
.player-volume-control { position:relative;display:flex; }
.player-volume-popup { position:absolute;z-index:2;right:-4px;bottom:calc(100% + (var(--player-height) - 32px) / 2 + 12px);width:min(320px,calc(100vw - 40px));padding:16px 20px;background:rgba(38,58,70,.98);border:0;border-radius:26px;box-shadow:0 12px 36px rgba(0,0,0,.24);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px); }
.player-volume-heading { margin-bottom:8px;color:var(--muted);font-size:.875rem;font-weight:500; }
.player-volume-slider { display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:10px; }
.player-volume-slider .player-control { width:32px;height:32px; }
.player-volume { display:block;width:100%;height:32px;--range-fill:100%;--range-track-height:6px;--range-thumb-size:18px; }
.player-volume::-webkit-slider-thumb { width:26px;height:18px;border-radius:999px;background:#fff;opacity:1; }
.player-volume::-moz-range-thumb { width:26px;height:18px;border-radius:999px;background:#fff;opacity:1; }
.player-queue { position:fixed;z-index:71;top:calc(var(--page-header-inset,30px) + 58px);right:30px;bottom:calc(var(--player-bottom) + var(--player-height) + 12px);width:min(360px,calc(100vw - 40px));overflow-y:auto;padding:0;background:rgba(25,39,48,.55);border:0;border-radius:20px;box-shadow:0 12px 40px rgba(0,0,0,.16);backdrop-filter:blur(24px) saturate(135%);-webkit-backdrop-filter:blur(24px) saturate(135%); }
.player-queue-heading { position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;margin:0;padding:14px 18px;background:rgba(25,39,48,.25);backdrop-filter:blur(24px) saturate(135%);-webkit-backdrop-filter:blur(24px) saturate(135%); }
.player-queue-heading h2 { font-size:1rem; }
.player-queue-empty { padding:0 18px 18px;color:var(--muted);font-size:.875rem;line-height:1.6; }
.player-queue-list { list-style:none;margin:0;padding:4px 18px 18px;display:grid;gap:4px; }
.player-queue-track { display:flex;align-items:center;gap:10px;width:100%;min-width:0;border:0;border-radius:10px;background:transparent;padding:10px;text-align:left;font-size:.875rem; }
.player-queue-track:hover,.player-queue-track[aria-pressed=true] { background:var(--surface); }
.player-queue-track[aria-pressed=true] { color:var(--gold); }
.player-queue-track>span:first-child { color:var(--muted);font-size:.8125rem;flex:none; }
.player-queue-track>span:last-child { min-width:0;overflow-wrap:anywhere; }
.menu-open .pearl-player { visibility:hidden; }
@media(min-width:1024px) {
  .pearl-player {
    --content-left-gutter:65px;--content-right-gutter:42px;
    left:0;width:min(1040px,calc(100% - var(--sidebar-width) - var(--content-left-gutter) - var(--content-right-gutter)));
    margin-left:max(calc(var(--sidebar-width) + var(--content-left-gutter)),calc((100% + var(--sidebar-width) + 20px - 1040px) / 2));
  }
  .player-queue { right:max(42px,calc((100vw - var(--sidebar-width) - 20px - 1040px) / 2)); }
}
@media(min-width:1024px) and (max-width:1280px) {
  .pearl-player { --content-left-gutter:53px;--content-right-gutter:25px;gap:14px;padding-inline:20px; }
  .player-queue { right:25px; }
}
@media(max-width:1023px) {
  :root { --player-height:72px; }
  body:not(.player-screen-open) .pearl-player { left:20px;right:20px;width:min(440px,calc(100% - 40px));margin-inline:auto;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px 16px;border-radius:999px; }
  body:not(.player-screen-open) .player-artwork { width:40px;height:40px; }
  body:not(.player-screen-open) .player-now { gap:10px; }
  body:not(.player-screen-open) .player-track-title { font-size:1rem; }
  body:not(.player-screen-open) .player-track-copy>span { font-size:.75rem; }
  body:not(.player-screen-open) .player-transport { display:flex;justify-content:center; }
  body:not(.player-screen-open) .player-controls { gap:0; }
  body:not(.player-screen-open) .player-control { width:36px;height:44px;color:var(--text); }
  body:not(.player-screen-open) .player-play { width:38px; }
  body:not(.player-screen-open) .player-play svg { width:26px;height:26px; }
  body:not(.player-screen-open) .player-transport>span,
  body:not(.player-screen-open) .player-timeline,
  body:not(.player-screen-open) .player-shuffle,
  body:not(.player-screen-open) .player-repeat,
  body:not(.player-screen-open) .player-actions,
  body:not(.player-screen-open) .player-queue { display:none; }
}
.player-screen {
  margin:0;padding:0;width:100%;max-width:none;height:100svh;max-height:none;
  border:0;border-radius:0;overflow:hidden;background:#080b0d;box-shadow:none;
}
.player-screen::backdrop { background:#080b0d;backdrop-filter:none; }
.player-screen::before,.player-screen::after {
  content:"";position:absolute;inset:25% -25% -40%;pointer-events:none;
  background:radial-gradient(ellipse at 20% 85%,rgba(191,139,67,.78),rgba(147,99,43,.28) 32%,transparent 63%);
  filter:blur(60px);transform:translate3d(-4%,4%,0) scale(1.02);
}
.player-screen::after { background:radial-gradient(ellipse at 80% 85%,rgba(222,195,155,.62),rgba(169,120,57,.3) 35%,transparent 65%);transform:translate3d(4%,0,0) scale(1.1); }
.player-screen-background { position:absolute;z-index:1;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none; }
.player-screen-open { overflow:hidden; }
.player-screen-close { position:absolute;z-index:3;top:max(21px,env(safe-area-inset-top));left:21px;width:52px;height:52px;background:rgba(255,255,255,.08); }
.player-screen-actions { position:absolute;z-index:3;top:max(21px,env(safe-area-inset-top));right:21px; }
.player-screen .player-actions { flex-direction:row-reverse;gap:12px;padding:4px 12px;border-radius:999px;background:rgba(255,255,255,.08); }
.player-screen .player-control { width:44px;height:44px; }
.player-screen .player-screen-close { width:52px;height:52px; }
.player-screen .pearl-player {
  position:absolute;z-index:2;left:0;right:0;bottom:max(24px,env(safe-area-inset-bottom));width:min(480px,calc(100% - 40px));margin:0 auto;
  grid-template-columns:minmax(0,1fr);gap:24px;padding:24px;border-radius:34px;
  background:rgba(25,39,48,.42);cursor:default;
}
.player-screen .player-now { gap:14px; }
.player-screen .player-artwork { width:60px;height:60px; }
.player-screen .player-track-title { font-size:1.4rem;line-height:1.2;white-space:normal;overflow-wrap:anywhere;cursor:default; }
.player-screen .player-track-title:hover { color:var(--text); }
.player-screen .player-track-copy>span { font-size:.875rem; }
.player-screen .player-transport { grid-column:1;grid-row:2;grid-template-columns:1fr 1fr;column-gap:12px; }
.player-screen .player-controls { grid-column:1/-1;grid-row:1;justify-content:space-between;gap:4px;margin-bottom:16px; }
.player-screen #player-elapsed { grid-column:1;grid-row:2; }
.player-screen #player-duration { grid-column:2;grid-row:2; }
.player-screen .player-timeline { grid-row:3;margin-top:0; }
.player-screen .player-seek-preview { bottom:calc(100% + 20px); }
.player-screen .player-play { width:52px;height:52px; }
.player-screen .player-play svg { width:36px;height:36px; }
.player-screen .player-range { height:20px; }
.player-screen .player-volume-popup { position:fixed;top:88px;bottom:auto;right:21px; }
.player-screen .player-queue { position:fixed;z-index:4;top:88px;right:21px;bottom:auto;height:calc(100svh - 112px);max-height:none; }
@media(max-width:600px) {
  .player-screen .pearl-player { padding:20px;border-radius:28px; }
  .player-screen .player-artwork { width:48px;height:48px; }
  .player-screen .player-track-title { font-size:1.25rem; }
  .player-screen .player-play { width:44px;height:44px; }
}
@media(max-height:400px) {
  .player-screen .pearl-player { bottom:16px;gap:12px;padding:16px 20px; }
  .player-screen .player-artwork { width:40px;height:40px; }
  .player-screen .player-controls { margin-bottom:8px; }
}
