/* WordPress integration layer. The visual tokens and original KIRTANAM layout
   live in kirtanam-design.css; this file only maps dynamic CMS content into it. */

html { scroll-behavior: smooth; }
/* The approved HTML used `.page` for its in-file view switcher. WordPress adds
   the same class to the body of every real Page, so explicitly keep it visible. */
body.page { display: block !important; animation: none !important; }
body.admin-bar header.nav { top: 46px; }
body.admin-bar .mpanel { padding-top: 120px; }
@media (min-width: 783px) {
  body.admin-bar header.nav { top: 46px; }
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  width: auto;
  height: auto;
  clip: auto;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 12px 18px;
  border-radius: 12px;
  color: #20180a;
  background: #f3d69b;
}

.site-main { min-height: 72vh; }
.page-shell { padding-top: 96px; }
.page-shell > .section:first-child { margin-top: 22px; }
.page-hero { max-width: 800px; }
.entry-content > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: 1180px; }
.entry-content > .alignfull { max-width: none; }
.entry-content p,
.entry-content li { color: #c0c5d8; line-height: 1.8; }
.entry-content a { color: #f0d394; text-decoration: underline; text-underline-offset: 3px; }

.site-nav-list,
.footer-menu { list-style: none; margin: 0; padding: 0; }
.site-nav-list { display: flex; gap: 14px; align-items: center; }
.site-nav-list a { font-family: var(--ios); font-weight: 550; font-size: .7rem; color: #b9c0d8; }
.site-nav-list a:hover { color: #fff; }
header.nav .brand,
header.nav .nav-r { flex: 0 0 auto; }
header.nav .links { flex: 1 1 auto; min-width: 0; justify-content: center; overflow: hidden; }
header.nav .site-nav-list { justify-content: center; white-space: nowrap; }
header.nav .site-nav-list > li:nth-child(n+6) { display: none; }
.mpanel .menu-booking { display: inline-flex; visibility: visible; }
@media (min-width: 621px) {
  header.nav .header-booking { display: inline-flex; visibility: visible; flex: 0 0 auto; }
}
.menu-grid .menu { display: contents; }
.menu-grid .menu-item { list-style: none; }
.menu-grid .menu-item a { display: block; }

.hero-copy,
.orb-column { min-width: 0; }
.hero .hero-wordmark-static {
  width: 100%;
  font-family: var(--ios);
  font-weight: 700;
  font-size: clamp(3.4rem, 5.7vw, 5.2rem);
  line-height: .84;
  letter-spacing: .035em;
  margin-top: 34px;
  text-align: center;
  color: #f4d38a;
  text-shadow: 0 4px 28px rgba(201,164,91,.3);
}
.hero-copy { align-items: stretch; }
.hero-copy .ios-overline { align-self: center; }
.hero-copy .hero-wordmark-static { align-self: stretch; }
.hero-copy .hero-metrics { width: 100%; }

@media (min-width: 961px) {
  .hero-shell { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .hero-copy .tag,
  .hero-copy .mantra,
  .hero-copy .hero-lede { text-align: left; }
  .hero-copy .hero-lede,
  .hero-copy .hero-metrics { margin-left: 0; margin-right: 0; }
  .hero-copy .hero-btns { justify-content: flex-start; }
}

.dynamic-home-section[hidden] { display: none !important; }
.section-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.event-grid,
.track-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}
.event-card,
.track-card,
.article-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--glass-line);
  border-radius: 27px;
  background: rgba(255,255,255,.043);
  box-shadow: inset 0 1px rgba(255,255,255,.045);
  transition: transform .35s, border-color .35s, background .35s;
}
.event-card:hover,
.track-card:hover,
.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(235,207,146,.3);
  background: rgba(255,255,255,.06);
}
.event-date {
  width: 66px;
  min-height: 72px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 20px;
  color: #1b1408;
  background: linear-gradient(145deg, #f3d69b, #b98b3c);
  box-shadow: 0 12px 28px rgba(201,164,91,.2);
}
.event-date strong { font-size: 1.35rem; line-height: 1; }
.event-date span { margin-top: 5px; font-size: .53rem; font-weight: 750; letter-spacing: .11em; }
.event-card h3,
.track-card h3,
.article-card h3 { margin-top: 22px; font-size: 1.12rem; line-height: 1.3; }
.event-meta,
.track-meta,
.article-meta { margin-top: 12px; color: var(--stone); font-size: .76rem; line-height: 1.6; }
.event-meta span { display: block; }
.event-card .btn,
.track-card .btn { margin-top: 22px; }
.event-empty { margin-top: 32px; padding: 26px; border: 1px dashed var(--glass-line); border-radius: 22px; color: var(--stone); }

.track-cover {
  aspect-ratio: 1.45;
  display: grid;
  place-items: center;
  margin: -14px -14px 22px;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(53,160,154,.32), rgba(49,91,200,.24) 48%, rgba(7,12,34,.9) 75%);
  overflow: hidden;
}
.track-cover img { width: 100%; height: 100%; object-fit: cover; }
.track-cover .eq { display: flex; align-items: end; gap: 4px; height: 36px; }
.track-cover .eq i { width: 4px; height: 9px; border-radius: 3px; background: #f4d38a; animation: eqbar 1.2s ease-in-out infinite; }
.track-cover .eq i:nth-child(2) { animation-delay: .18s; }
.track-cover .eq i:nth-child(3) { animation-delay: .36s; }
.track-cover .eq i:nth-child(4) { animation-delay: .54s; }
.track-audio { width: 100%; margin-top: 18px; accent-color: #c9a45b; }

.kirtanam-player {
  width: min(350px, 100%);
  margin-top: 20px;
  padding: 9px 11px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 11px;
  align-items: center;
  border: 1px solid var(--glass-line);
  border-radius: 17px;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px rgba(255,255,255,.07);
}
.kirtanam-player .player-toggle {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #1b1408;
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  cursor: pointer;
}
.kirtanam-player .player-toggle svg { width: 15px; fill: currentColor; }
.kirtanam-player .player-copy { min-width: 0; }
.kirtanam-player .player-copy small { display: block; color: var(--gold); font-size: .48rem; font-weight: 700; letter-spacing: .14em; }
.kirtanam-player .player-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; }
.kirtanam-player .player-copy span { display: block; color: #8e98b7; font-size: .64rem; }
.kirtanam-player .player-wave { display: flex; align-items: center; gap: 2px; height: 20px; }
.kirtanam-player .player-wave i { width: 2px; height: 5px; border-radius: 2px; background: var(--gold); }
.kirtanam-player.is-playing .player-wave i { animation: eqbar 1s ease-in-out infinite; }
.kirtanam-player.is-playing .player-wave i:nth-child(2) { animation-delay: .15s; }
.kirtanam-player.is-playing .player-wave i:nth-child(3) { animation-delay: .3s; }
.kirtanam-player.is-playing .player-wave i:nth-child(4) { animation-delay: .45s; }
.autoplay-notice {
  position: fixed;
  z-index: 145;
  right: 18px;
  bottom: 88px;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(235,207,146,.3);
  border-radius: 100px;
  color: #1b1408;
  background: linear-gradient(145deg,#f3d69b,#c79b4d);
  box-shadow: 0 14px 34px rgba(0,0,20,.35);
  cursor: pointer;
}
.autoplay-notice.is-visible { display: flex; }

.booking-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 22px; align-items: start; }
.booking-aside,
.booking-form-card { padding: 34px; border: 1px solid var(--glass-line); border-radius: 28px; background: rgba(255,255,255,.043); }
.booking-aside { position: sticky; top: 116px; }
.booking-aside ul { list-style: none; margin: 26px 0 0; padding: 0; }
.booking-aside li { padding: 13px 0; border-top: 1px solid var(--line-soft); color: #c8cddd; font-size: .86rem; }
.booking-status { margin-bottom: 24px; padding: 14px 16px; border-radius: 15px; }
.booking-status.success { color: #d8fff7; background: rgba(53,160,154,.17); border: 1px solid rgba(53,160,154,.32); }
.booking-status.error { color: #ffe2e7; background: rgba(217,108,128,.16); border: 1px solid rgba(217,108,128,.3); }
.kirtanam-hp { position: absolute !important; left: -9999px !important; }

.research-paper {
  width: min(960px, calc(100% - 36px));
  margin: 118px auto 24px;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: 38px;
  color: #202232;
  background: #f6f3eb;
  box-shadow: 0 36px 100px rgba(0,0,20,.45);
}
.research-masthead { padding: 24px 52px; display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid #d8d3c8; color: #696a72; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.research-header { padding: 60px 72px 44px; border-bottom: 1px solid #d8d3c8; }
.research-label { color: #8c6b2e; font-size: .68rem; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }
.research-title { max-width: 17ch; margin-top: 18px; color: #171822; font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 500; line-height: .98; letter-spacing: -.035em; }
.research-subtitle { max-width: 760px; margin-top: 22px; color: #555866; font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; }
.research-byline { margin-top: 30px; color: #343744; font-size: .86rem; }
.research-doi { margin-top: 8px; color: #7c7d85; font-family: var(--mono); font-size: .65rem; }
.research-abstract { padding: 38px 72px; display: grid; grid-template-columns: 140px 1fr; gap: 28px; border-bottom: 1px solid #d8d3c8; background: #eeebe3; }
.research-abstract h2 { color: #8c6b2e; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.research-abstract p { color: #424551; line-height: 1.75; }
.research-keywords { margin-top: 16px; color: #6f7078; font-size: .76rem; }
.research-content { padding: 58px 72px 72px; color: #30323c; counter-reset: research-section; }
.research-content > h2 { counter-increment: research-section; margin: 2.2em 0 .8em; color: #171822; font-family: var(--serif); font-size: 2.1rem; }
.research-content > h2::before { content: counter(research-section, decimal-leading-zero) "  "; color: #a9823c; font-family: var(--mono); font-size: .78rem; }
.research-content h3 { margin: 1.8em 0 .65em; color: #222430; font-family: var(--serif); font-size: 1.5rem; }
.research-content p,
.research-content li { color: #3f424e; font-family: Georgia, serif; font-size: 1.04rem; line-height: 1.9; }
.research-content blockquote { margin: 2.2em 0; padding: 28px 34px; border-left: 3px solid #b58a3d; color: #383a43; background: #eeebe3; font-family: var(--serif); font-size: 1.35rem; }
.research-content img { border-radius: 12px; }
.research-references { padding: 42px 72px 64px; border-top: 1px solid #d8d3c8; color: #3f424e; background: #eeebe3; }
.research-references h2 { color: #171822; font-family: var(--serif); font-size: 1.8rem; }
.research-references ol { padding-left: 22px; }
.research-references li { margin-top: 12px; line-height: 1.65; }

.archive-pagination { margin-top: 38px; }
.archive-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.archive-pagination a,
.archive-pagination span { min-width: 38px; min-height: 38px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--glass-line); border-radius: 12px; color: #c8cee1; background: rgba(255,255,255,.04); }
.archive-pagination .current { color: #1b1408; background: #f3d69b; }

.wp-caption-text,
.gallery-caption { color: var(--stone); font-size: .76rem; }
.sticky { border-color: rgba(235,207,146,.4); }
.bypostauthor { color: inherit; }

@media (max-width: 960px) {
  .site-nav-list { display: none; }
  .event-grid,
  .track-grid,
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-layout { grid-template-columns: 1fr; }
  .booking-aside { position: static; }
}

@media (max-width: 620px) {
  body.admin-bar header.nav { top: 55px; }
  .page-shell { padding-top: 70px; }
  .hero .hero-wordmark-static { font-size: clamp(2.75rem, 15.5vw, 4.1rem); }
  .hero-wordmark-static { font-size: clamp(2.75rem,15.5vw,4.1rem); letter-spacing: .025em; margin-top: 24px; }
  .event-grid,
  .track-grid,
  .article-grid { grid-template-columns: 1fr; gap: 11px; }
  .booking-aside,
  .booking-form-card { padding: 24px; border-radius: 24px; }
  .research-paper { width: calc(100% - 18px); margin-top: 86px; border-radius: 28px; }
  .research-masthead { padding: 18px 22px; flex-direction: column; gap: 5px; }
  .research-header { padding: 40px 24px 32px; }
  .research-title { font-size: clamp(2.3rem,12vw,3.5rem); }
  .research-subtitle { font-size: 1.1rem; }
  .research-abstract { padding: 30px 24px; grid-template-columns: 1fr; gap: 12px; }
  .research-content { padding: 38px 24px 50px; }
  .research-references { padding: 34px 24px 48px; }
  .autoplay-notice { right: 10px; bottom: 78px; }
}

/* Premium page rhythm: the page remains spacious without placing every
   section inside a large rounded box. Component cards remain selective. */
.page-shell > .section,
.dynamic-home-section.section {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}
.page-shell > .section:first-child { margin-top: 0; }
body.page .page-shell > .section:first-child { margin-top: 0; }
.page-shell > .section + .section,
.dynamic-home-section.section + .dynamic-home-section.section {
  border-top: 1px solid rgba(255,255,255,.075);
}
.page-shell > .section::before,
.dynamic-home-section.section::before { opacity: .5; }
.dynamic-home-section.section { padding-top: clamp(76px, 8vw, 116px); padding-bottom: clamp(76px, 8vw, 116px); }
.site-footer { width: 100%; margin: 0; border-width: 1px 0 0; border-radius: 0; background: rgba(6,11,29,.72); }

/* Music Sankalan application. */
.music-library-shell { padding-top: 92px; }
.music-library-hero { position: relative; padding: clamp(70px,9vw,122px) 0 48px; overflow: hidden; }
.music-library-hero::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 520px;
  left: 48%;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(74,120,204,.2),rgba(7,12,34,0) 68%);
  pointer-events: none;
}
.music-library-intro { max-width: 850px; }
.music-library-intro h1,
.single-music-copy h1 {
  margin-top: 24px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(3.35rem,7vw,6.8rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.045em;
}
.music-library-intro h1 em { color: var(--gold-2); font-weight: 300; }
.music-library-intro p { max-width: 720px; margin-top: 28px; color: #aeb6ce; font-size: 1.02rem; line-height: 1.8; }
.music-library-section { padding: 34px 0 clamp(110px,12vw,170px); }
.music-app { display: grid; grid-template-columns: 224px minmax(0,1fr); gap: clamp(38px,5vw,72px); align-items: start; }
.music-sidebar { position: sticky; top: 112px; }
.music-sidebar-label { margin-bottom: 14px; color: #7e89a8; font-family: var(--mono); font-size: .58rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.music-filter {
  width: 100%;
  min-height: 64px;
  padding: 9px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  border: 0;
  border-radius: 13px;
  color: #9ea7bf;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color .25s,background .25s;
}
.music-filter + .music-filter { margin-top: 5px; }
.music-filter > span { min-width: 0; display: grid; grid-template-columns: 34px minmax(0,1fr); column-gap: 10px; align-items: center; }
.music-filter-icon { grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #ddbf7d; background: rgba(201,164,91,.1); font-family: var(--serif); font-size: .9rem; font-style: normal; }
.music-filter-icon.mantra { color: #9bd7d2; background: rgba(53,160,154,.13); }
.music-filter-icon.kirtan { color: #e5bd6e; background: rgba(201,164,91,.14); }
.music-filter-icon.sound-therapy { color: #aebcf2; background: rgba(78,106,190,.15); }
.music-filter strong { overflow: hidden; color: inherit; font-size: .68rem; letter-spacing: .08em; text-overflow: ellipsis; white-space: nowrap; }
.music-filter small { overflow: hidden; color: #69738f; font-size: .57rem; text-overflow: ellipsis; white-space: nowrap; }
.music-filter b { color: #69738f; font-family: var(--mono); font-size: .56rem; }
.music-filter:hover,
.music-filter.is-active { color: #fff; background: rgba(255,255,255,.065); }
.music-filter.is-active b { color: var(--gold-2); }
.music-sidebar-manage { margin-top: 20px; padding: 15px 8px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.09); color: #8f99b4; font-size: .65rem; }
.music-sidebar-manage:hover { color: var(--gold-2); }
.music-library-main { min-width: 0; }
.music-spotlight {
  min-height: 315px;
  padding: clamp(26px,4vw,48px);
  display: grid;
  grid-template-columns: 190px minmax(0,1fr) 92px;
  gap: clamp(25px,4vw,48px);
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.105);
  border-radius: 30px;
  background: radial-gradient(circle at 10% 20%,rgba(50,139,136,.28),transparent 42%),linear-gradient(135deg,rgba(20,34,76,.92),rgba(8,13,35,.78));
  box-shadow: 0 30px 90px rgba(0,0,24,.3),inset 0 1px rgba(255,255,255,.07);
}
.music-spotlight::after { content: ""; position: absolute; inset: auto -6% -65% 36%; height: 270px; border-radius: 50%; background: rgba(40,81,168,.16); filter: blur(30px); }
.music-spotlight-art { aspect-ratio: 1; display: grid; place-items: center; position: relative; z-index: 1; overflow: hidden; border-radius: 23px; color: #f0d394; background: radial-gradient(circle,#315a81,#121a3c 70%); box-shadow: 0 24px 52px rgba(0,0,20,.36); }
.music-spotlight-art img { width: 100%; height: 100%; object-fit: cover; }
.music-spotlight-art span { font-size: 3rem; }
.music-spotlight-copy { min-width: 0; position: relative; z-index: 1; }
.music-spotlight-copy > small { color: #99cec9; font-family: var(--mono); font-size: .57rem; font-weight: 700; letter-spacing: .18em; }
.music-spotlight-copy h2 { max-width: 14ch; margin-top: 14px; color: #fff; font-family: var(--serif); font-size: clamp(2rem,4vw,3.6rem); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
.music-spotlight-copy p { margin-top: 13px; color: #aab5ce; font-size: .78rem; }
.music-spotlight-actions { margin-top: 28px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.music-spotlight-play,
.single-music-play {
  min-height: 47px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 100px;
  color: #1a1408;
  background: linear-gradient(145deg,#f3d69b,#c49748);
  box-shadow: 0 14px 30px rgba(201,164,91,.2);
  font-weight: 700;
  cursor: pointer;
}
.music-spotlight-play svg,
.single-music-play svg { width: 15px; fill: currentColor; }
.music-spotlight-actions > a { color: #c4cbe0; font-size: .7rem; }
.music-spotlight-actions > a:hover { color: #fff; }
.playlist-icon-pause { display: none; }
.is-playing .playlist-icon-play { display: none; }
.is-playing .playlist-icon-pause { display: block; }
.music-spotlight-wave { height: 110px; display: flex; align-items: center; justify-content: center; gap: 5px; position: relative; z-index: 1; }
.music-spotlight-wave i { width: 3px; height: 14%; border-radius: 10px; background: linear-gradient(#8ecac6,#d9b86f); opacity: .55; }
.music-spotlight-wave i:nth-child(2),.music-spotlight-wave i:nth-child(5) { height: 46%; }
.music-spotlight-wave i:nth-child(3) { height: 82%; }
.music-spotlight-wave i:nth-child(4) { height: 64%; }
.music-spotlight.is-playing .music-spotlight-wave i { animation: eqbar .9s ease-in-out infinite alternate; }
.music-spotlight.is-playing .music-spotlight-wave i:nth-child(2) { animation-delay: .12s; }
.music-spotlight.is-playing .music-spotlight-wave i:nth-child(3) { animation-delay: .24s; }
.music-spotlight.is-playing .music-spotlight-wave i:nth-child(4) { animation-delay: .36s; }
.playlist-heading { margin-top: 54px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.playlist-heading small { color: #75809d; font-family: var(--mono); font-size: .55rem; letter-spacing: .17em; }
.playlist-heading h2 { margin-top: 8px; color: #f2eddf; font-family: var(--serif); font-size: 2.15rem; font-weight: 400; }
.playlist-heading > span { color: #7e89a5; font-size: .66rem; }
.playlist-heading > span b { color: var(--gold-2); }
.playlist-column-head,
.playlist-track { display: grid; grid-template-columns: 42px 56px minmax(180px,1fr) minmax(120px,.45fr) 86px 32px; gap: 13px; align-items: center; }
.playlist-column-head { margin-top: 24px; padding: 0 13px 10px; color: #626d89; font-family: var(--mono); font-size: .5rem; letter-spacing: .13em; text-transform: uppercase; }
.playlist-column-head span:nth-child(2) { grid-column: 2 / 4; }
.playlist-list { border-top: 1px solid rgba(255,255,255,.08); }
.playlist-track { min-height: 76px; padding: 8px 13px; border-bottom: 1px solid rgba(255,255,255,.065); border-radius: 10px; transition: background .22s,color .22s; }
.playlist-track:hover,.playlist-track.is-current { background: rgba(255,255,255,.052); }
.playlist-track[hidden] { display: none !important; }
.playlist-track-index { color: #69748e; font-family: var(--mono); font-size: .58rem; text-align: center; }
.playlist-track-art { width: 48px; height: 48px; position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 9px; color: #ddc27f; background: linear-gradient(145deg,#253d67,#101733); }
.playlist-track-art img { width: 100%; height: 100%; object-fit: cover; }
.playlist-art-fallback { font-size: .88rem; }
.playlist-row-play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; color: #fff; background: rgba(4,8,24,.57); opacity: 0; cursor: pointer; transition: opacity .2s; }
.playlist-row-play svg { grid-area: 1 / 1; width: 17px; fill: currentColor; }
.playlist-track:hover .playlist-row-play,.playlist-track.is-current .playlist-row-play,.playlist-row-play:focus-visible { opacity: 1; }
.playlist-track-copy { min-width: 0; }
.playlist-track-copy strong,.playlist-track-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.playlist-track-copy strong { color: #e8e8ed; font-size: .83rem; font-weight: 600; }
.playlist-track-copy strong a { color: inherit; }
.playlist-track-copy span { margin-top: 4px; color: #77829f; font-size: .65rem; }
.playlist-track.is-current .playlist-track-copy strong { color: var(--gold-2); }
.playlist-track-collection,.playlist-track-duration { overflow: hidden; color: #858faa; font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.playlist-track-duration { font-family: var(--mono); font-size: .56rem; }
.playlist-track-more { color: #747f9b; font-size: .72rem; letter-spacing: .06em; }
.playlist-track-more:hover { color: #fff; }
.home-music-labels { margin-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.home-music-labels span { padding: 6px 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 100px; color: #929db8; font-family: var(--mono); font-size: .48rem; letter-spacing: .11em; }
.home-playlist { margin-top: 38px; border-top: 1px solid rgba(255,255,255,.08); }
.home-playlist .playlist-track { grid-template-columns: 42px 56px minmax(170px,1fr) minmax(110px,.35fr) 84px 32px; }

/* Persistent playlist transport, positioned above the iOS navigation dock. */
.playlist-dock {
  width: min(1060px,calc(100% - 32px));
  min-height: 76px;
  padding: 10px 17px;
  display: grid;
  grid-template-columns: minmax(210px,.8fr) minmax(330px,1.25fr) minmax(110px,.35fr);
  gap: 22px;
  align-items: center;
  position: fixed;
  z-index: 155;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 22px;
  color: #fff;
  background: rgba(7,12,31,.9);
  box-shadow: 0 22px 65px rgba(0,0,18,.52),inset 0 1px rgba(255,255,255,.075);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
}
.playlist-dock[hidden] { display: none !important; }
.playlist-dock-track { min-width: 0; display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 12px; align-items: center; }
.playlist-dock-art { width: 48px; height: 48px; display: grid; place-items: center; overflow: hidden; border-radius: 10px; color: #e0c27f; background: linear-gradient(145deg,#294568,#111730); }
.playlist-dock-art img { width: 100%; height: 100%; object-fit: cover; }
.playlist-dock-copy { min-width: 0; }
.playlist-dock-copy small,.playlist-dock-copy strong,.playlist-dock-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.playlist-dock-copy small { color: var(--gold); font-family: var(--mono); font-size: .45rem; letter-spacing: .14em; }
.playlist-dock-copy strong { margin-top: 3px; font-size: .75rem; }
.playlist-dock-copy span { margin-top: 2px; color: #7f8aa7; font-size: .57rem; }
.playlist-dock-center { min-width: 0; }
.playlist-transport { display: flex; justify-content: center; align-items: center; gap: 12px; }
.playlist-transport button { width: 28px; height: 28px; display: grid; place-items: center; border: 0; color: #9da6bc; background: transparent; cursor: pointer; }
.playlist-transport button:hover { color: #fff; }
.playlist-transport button svg { grid-area: 1 / 1; width: 15px; fill: currentColor; }
.playlist-transport .playlist-main-play { width: 34px; height: 34px; border-radius: 50%; color: #171108; background: #eed18e; }
.playlist-progress { margin-top: 4px; display: grid; grid-template-columns: 34px minmax(0,1fr) 34px; gap: 8px; align-items: center; color: #7e88a2; font-family: var(--mono); font-size: .48rem; }
.playlist-progress input,.playlist-dock-volume input { width: 100%; height: 3px; accent-color: #e2bd6d; cursor: pointer; }
.playlist-dock-volume { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 8px; align-items: center; }
.playlist-dock-volume svg { width: 18px; fill: currentColor; color: #7f89a3; }
.playlist-dock.has-error { border-color: rgba(217,108,128,.42); }
body.playlist-open { padding-bottom: 84px; }

/* Single listening page. */
.single-music-shell { padding-bottom: 120px; }
.single-music-hero { padding: clamp(72px,9vw,126px) 0 clamp(70px,8vw,108px); }
.single-music-layout { display: grid; grid-template-columns: minmax(260px,430px) minmax(0,1fr); gap: clamp(48px,8vw,120px); align-items: center; }
.single-music-art { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 26px; color: #e6c579; background: radial-gradient(circle,#315b7b,#111832 70%); box-shadow: 0 32px 90px rgba(0,0,22,.4); }
.single-music-art img { width: 100%; height: 100%; object-fit: cover; }
.single-music-art span { font-size: 5rem; }
.single-music-copy > p { margin-top: 20px; color: #a9b1c8; font-size: 1rem; }
.single-music-meta { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; color: #7c87a2; font-family: var(--mono); font-size: .56rem; letter-spacing: .08em; }
.single-music-meta span + span::before { content: "·"; margin-right: 12px; }
.single-music-play { margin-top: 35px; }
.single-music-play:disabled,.music-spotlight-play:disabled { opacity: .45; cursor: not-allowed; }
.single-music-notes { padding: clamp(70px,8vw,110px) 0; border-top: 1px solid rgba(255,255,255,.08); }
.listening-notes-layout { display: grid; grid-template-columns: minmax(190px,.42fr) minmax(0,1fr); gap: clamp(45px,8vw,120px); align-items: start; }
.listening-notes-title { position: sticky; top: 118px; }
.listening-notes-title small { color: var(--gold); font-family: var(--mono); font-size: .56rem; letter-spacing: .16em; }
.listening-notes-title h2 { margin-top: 13px; color: #f0ecdf; font-family: var(--serif); font-size: 2.3rem; font-weight: 400; }
.listening-notes-content > * { max-width: 720px; margin-left: 0; margin-right: 0; }
.single-music-back { padding: 38px 0; border-top: 1px solid rgba(255,255,255,.07); }
.single-music-back a { color: #9ca6bd; font-size: .7rem; }
.single-music-back a:hover { color: var(--gold-2); }

@media (max-width: 960px) {
  .music-app { grid-template-columns: 1fr; }
  .music-sidebar { position: static; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
  .music-sidebar::-webkit-scrollbar { display: none; }
  .music-sidebar-label { display: none; }
  .music-filter { min-width: 190px; width: auto; }
  .music-sidebar-manage { min-width: 180px; margin: 0; border-top: 0; align-items: center; }
  .music-spotlight { grid-template-columns: 150px minmax(0,1fr); }
  .music-spotlight-wave { display: none; }
  .playlist-dock { grid-template-columns: minmax(180px,.8fr) minmax(300px,1.2fr); }
  .playlist-dock-volume { display: none; }
}

@media (max-width: 720px) {
  .page-shell > .section,
  .dynamic-home-section.section { width: 100%; margin: 0; border-radius: 0; }
  .music-library-shell { padding-top: 70px; }
  .music-library-hero { padding: 66px 0 32px; }
  .music-library-intro h1,.single-music-copy h1 { font-size: clamp(2.75rem,14vw,4.5rem); }
  .music-app { gap: 28px; }
  .music-spotlight { min-height: 0; grid-template-columns: 92px minmax(0,1fr); gap: 20px; padding: 22px; border-radius: 24px; }
  .music-spotlight-art { border-radius: 17px; }
  .music-spotlight-copy h2 { font-size: 1.65rem; }
  .music-spotlight-actions { margin-top: 20px; }
  .music-spotlight-actions > a { display: none; }
  .music-spotlight-play { min-height: 41px; padding: 0 17px; }
  .playlist-heading { margin-top: 40px; }
  .playlist-column-head { display: none; }
  .playlist-list { margin-top: 15px; }
  .playlist-track,.home-playlist .playlist-track { grid-template-columns: 42px 48px minmax(0,1fr) 50px; gap: 10px; padding: 7px 4px; }
  .playlist-track-index { display: none; }
  .playlist-track-art { width: 44px; height: 44px; }
  .playlist-track-collection,.playlist-track-more { display: none; }
  .playlist-track-duration { text-align: right; }
  .playlist-row-play { opacity: 1; background: rgba(4,8,24,.38); }
  .home-music-labels { margin-top: 16px; }
  .playlist-dock { min-height: 94px; bottom: 73px; padding: 9px 12px; grid-template-columns: minmax(0,1fr); gap: 5px; border-radius: 18px; }
  .playlist-dock-track { grid-template-columns: 38px minmax(0,1fr); }
  .playlist-dock-art { width: 38px; height: 38px; border-radius: 8px; }
  .playlist-dock-copy small { display: none; }
  .playlist-dock-copy strong { font-size: .68rem; }
  .playlist-transport { position: absolute; right: 12px; top: 12px; gap: 5px; }
  .playlist-dock-track { padding-right: 105px; }
  .playlist-dock-center { padding-top: 2px; }
  .playlist-progress { margin-top: 0; }
  body.playlist-open { padding-bottom: 118px; }
  .single-music-layout { grid-template-columns: 1fr; gap: 38px; }
  .single-music-art { width: min(88vw,380px); }
  .listening-notes-layout { grid-template-columns: 1fr; gap: 28px; }
  .listening-notes-title { position: static; }
}

@media (max-width: 420px) {
  .music-filter { min-width: 172px; }
  .music-spotlight { grid-template-columns: 72px minmax(0,1fr); padding: 18px; gap: 15px; }
  .music-spotlight-copy > small { font-size: .45rem; }
  .music-spotlight-copy h2 { margin-top: 8px; font-size: 1.35rem; }
  .music-spotlight-copy p { margin-top: 7px; font-size: .65rem; }
  .music-spotlight-actions { margin-top: 14px; }
  .music-spotlight-play { min-height: 37px; padding: 0 14px; font-size: .66rem; }
  .playlist-dock { width: calc(100% - 18px); }
}
