/* 547 Phase 1 library navigation */
body.single-player-ui #primary-nav{width:min(330px,calc(100vw - 24px))!important}
body.single-player-ui #primary-nav .nav-library{gap:0}
body.single-player-ui #primary-nav .nav-search-entry{border-bottom:1px solid var(--ui-line)!important;margin-bottom:7px}
body.single-player-ui #primary-nav .nav-search-entry span{font-size:24px;margin-right:9px;opacity:.8}
body.single-player-ui #primary-nav .nav-music-root{appearance:none;border:0;background:none;color:var(--ui-ink);font:inherit;text-align:left;width:100%;cursor:pointer}
body.single-player-ui #primary-nav .music-navigation-options{display:flex;gap:22px;margin:0 0 4px 14px;padding:0 0 4px 12px;border-left:1px solid var(--ui-line)}
body.single-player-ui #primary-nav .music-navigation-options button{width:auto!important;min-height:36px!important;padding:3px 0!important}
body.single-player-ui #primary-nav .nav-tuner-options>button{min-height:46px}
body.single-player-ui #primary-nav .nav-secondary{display:none!important}
.stories-play-all{margin-left:auto;appearance:none;border:0;background:none;color:var(--ui-ink);font:inherit;font-size:16px;cursor:pointer;white-space:nowrap;padding:8px 4px}
.stories-play-all span{font-size:12px;margin-right:6px}
.catalogue-row{position:relative;display:flex!important;align-items:center}
.catalogue-row .catalogue-work{flex:1;min-width:0}
.story-row-play{appearance:none;border:0;background:none;color:var(--ui-ink);font:inherit;font-size:15px;min-width:48px;min-height:48px;cursor:pointer;opacity:.82}
.story-row-play:hover,.story-row-play:focus-visible{opacity:1}
body.single-player-ui .albums-panel{width:min(590px,calc(100vw - 32px))}
.album-shelf{display:flex!important;flex-direction:column;gap:0!important;padding:0!important}
.album-card{position:relative;display:grid!important;grid-template-columns:104px 1fr 44px;grid-template-rows:auto auto;column-gap:18px;row-gap:4px;padding:16px 0!important;border-top:1px solid var(--ui-line)}
.album-card:first-child{border-top:0}
.album-open-area{display:contents;color:inherit;text-decoration:none}
.album-card img{grid-row:1/3;width:104px!important;height:104px!important;object-fit:cover;border:1px solid var(--ui-line)}
.album-copy{align-self:center;display:flex;flex-direction:column;gap:4px}
.album-direct-play{grid-column:3;grid-row:1/3;align-self:center;appearance:none;border:0;background:none;color:var(--ui-ink);font:inherit;min-width:44px;min-height:44px;cursor:pointer}
.album-preview-tracks{grid-column:2/4;margin:4px 0 0;padding:0;list-style:none;color:var(--ui-muted);font-size:15px;line-height:1.45}
.album-preview-tracks li{margin:0}
@media(max-width:520px){.album-card{grid-template-columns:92px 1fr 40px}.album-card img{width:92px!important;height:92px!important}.album-preview-tracks{font-size:14px}.album-name{font-size:22px}}

/* 547.1 visual corrections */
body.single-player-ui #primary-nav .music-navigation-options{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:0!important;margin:0 0 5px 14px!important;padding:0 0 3px 16px!important}
body.single-player-ui #primary-nav .music-navigation-options button{display:block!important;width:100%!important;text-align:left!important;min-height:38px!important;padding:3px 0!important}
body.single-player-ui #primary-nav .nav-close:focus:not(:focus-visible),.albums-panel .album-close:focus:not(:focus-visible),.works-catalogue #catalogue-close:focus:not(:focus-visible){outline:none!important;box-shadow:none!important}
.album-card{grid-template-columns:104px 1fr!important;grid-template-rows:auto auto!important}
.album-open-area{display:grid!important;grid-column:1/3;grid-row:1;grid-template-columns:104px 1fr;column-gap:18px;color:inherit;text-decoration:none}
.album-card img{grid-column:1;grid-row:1/3}
.album-copy{grid-column:2;grid-row:1;align-self:center}
.album-direct-play{grid-column:2!important;grid-row:1!important;justify-self:end!important;align-self:center!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:0!important;font-size:0!important;position:relative;opacity:.88}
.album-direct-play::before,.story-row-play::before,.stories-play-all .play-glyph::before{content:"";display:block;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:9px solid currentColor}
.album-preview-tracks{grid-column:2!important;grid-row:2!important;margin:5px 0 0!important;padding-right:6px!important}
.story-row-play{font-size:0!important;display:grid;place-items:center}
.story-row-play::before{border-top-width:5px;border-bottom-width:5px;border-left-width:8px}
.stories-play-all{display:flex;align-items:center;gap:7px}
.stories-play-all .play-glyph{display:grid;place-items:center;width:14px;height:14px}
@media(max-width:520px){.album-card{grid-template-columns:92px 1fr!important}.album-open-area{grid-template-columns:92px 1fr}.album-direct-play{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}}

/* 547.2 clean library lists and navigation */
.catalogue-back{appearance:none;border:0;background:none;color:var(--ui-ink);font:inherit;font-size:29px;line-height:1;min-width:38px;min-height:42px;padding:0;cursor:pointer}
.works-catalogue[data-stories-only="true"] .catalogue-row{min-height:56px}
.works-catalogue[data-stories-only="true"] .catalogue-work{padding-left:4px}
.works-catalogue[data-stories-only="true"] .catalogue-copy{padding-left:0}
.works-catalogue[data-stories-only="true"] .catalogue-title{font-size:20px}
.works-catalogue[data-stories-only="true"] .catalogue-meta{display:none!important}
.works-catalogue[data-stories-only="true"] .catalogue-work img{display:none!important}
.story-row-play,.album-direct-play{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;-webkit-appearance:none!important;appearance:none!important}
.story-row-play::before,.album-direct-play::before{filter:none!important}
#catalogue-back:focus:not(:focus-visible),#albums-back:focus:not(:focus-visible){outline:none!important}

/* 547.3 cleaner mockup-derived rhythm */
#works-catalogue[data-stories-only="true"] .catalogue-row{border-top:0!important;border-bottom:0!important;min-height:52px!important}
#works-catalogue[data-stories-only="true"] .catalogue-row+.catalogue-row{margin-top:2px}
#works-catalogue[data-stories-only="true"] .catalogue-work{min-height:50px!important;padding:5px 4px!important}
#works-catalogue[data-stories-only="true"] .catalogue-title{line-height:1.2}
#works-catalogue[data-stories-only="true"] .catalogue-results{padding-top:4px}
.album-card{padding:19px 0!important}
.album-copy{padding-right:42px}
.album-name{font-size:22px;line-height:1.15}
.album-meta{margin-top:3px}
.album-preview-tracks{display:flex;flex-direction:column;gap:2px;line-height:1.35!important;margin-top:8px!important}
.album-preview-tracks li{display:grid;grid-template-columns:22px 1fr;gap:5px}
.album-preview-number{color:var(--ui-muted);font-size:.88em;text-align:right}
.album-direct-play{top:0}
body.single-player-ui #primary-nav .menu-footer{padding-top:2px!important}

/* 547.4 album alignment */
.album-card{display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:18px!important;align-items:start!important}
.album-open-area{display:contents!important}
.album-card img{grid-column:1!important;grid-row:1/3!important;align-self:start!important}
.album-copy{grid-column:2!important;grid-row:1!important;align-self:start!important;padding:0 42px 0 0!important;margin:0!important}
.album-name{display:block!important;margin:0!important;padding:0!important;line-height:1.2!important}
.album-meta{display:block!important;margin:4px 0 0!important;padding:0!important}
.album-direct-play{grid-column:2!important;grid-row:1!important;justify-self:end!important;align-self:start!important;margin:1px 0 0!important}
.album-preview-tracks{grid-column:2!important;grid-row:2!important;width:100%!important;box-sizing:border-box!important;margin:9px 0 0!important;padding:0!important}
.album-preview-tracks li{grid-template-columns:20px minmax(0,1fr)!important;text-align:left!important}
.album-preview-number{text-align:left!important}
@media(max-width:520px){.album-card{grid-template-columns:92px minmax(0,1fr)!important;column-gap:18px!important}}

/* 547.5 force album heading/content alignment */
.album-copy{display:block!important;text-align:left!important;justify-self:stretch!important;width:100%!important;padding:0!important}
.album-name{display:inline!important;text-align:left!important;float:none!important}
.album-meta{display:block!important;text-align:left!important}
.album-direct-play{position:static!important;display:inline-grid!important;vertical-align:middle!important;justify-self:auto!important;align-self:auto!important;margin:0 0 0 9px!important;transform:none!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important}
.album-card{position:relative!important}
.album-open-area{display:contents!important}
.album-copy{grid-column:2!important;grid-row:1!important}
.album-direct-play{grid-column:2!important;grid-row:1!important;justify-self:start!important;align-self:start!important;margin-left:calc(var(--album-title-width, 0px) + 9px)!important}
.album-preview-tracks,.album-meta{justify-self:start!important;text-align:left!important}

.album-direct-play{position:absolute!important;left:calc(104px + 18px)!important;top:19px!important;margin-left:0!important;transform:translateX(var(--album-play-x,0px))!important}.album-copy{padding-right:0!important}@media(max-width:520px){.album-direct-play{left:calc(92px + 18px)!important}}
/* 547.6 album play belongs to cover */
.album-card{position:relative!important}
.album-direct-play{position:absolute!important;left:76px!important;top:91px!important;transform:none!important;margin:0!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;z-index:3!important;color:var(--ui-ink)!important;background:rgba(35,35,32,.52)!important;display:grid!important;place-items:center!important}
.album-direct-play::before{border-top-width:5px!important;border-bottom-width:5px!important;border-left-width:8px!important}
.album-copy{padding-right:0!important}
@media(max-width:520px){.album-direct-play{left:66px!important;top:79px!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important}}

/* 547.7 structurally anchor album play to cover */
.album-card{display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:18px!important}
.album-cover-wrap{grid-column:1!important;grid-row:1/3!important;position:relative!important;width:104px!important;height:104px!important;align-self:start!important}
.album-cover-wrap a{display:block;width:100%;height:100%}
.album-cover-wrap img{display:block!important;width:104px!important;height:104px!important;object-fit:cover!important}
.album-cover-wrap .album-direct-play{position:absolute!important;right:5px!important;bottom:5px!important;left:auto!important;top:auto!important;transform:none!important;margin:0!important;width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;background:rgba(25,25,23,.58)!important}
.album-open-area{grid-column:2!important;grid-row:1!important;display:block!important;color:inherit;text-decoration:none}
.album-preview-tracks{grid-column:2!important;grid-row:2!important}
@media(max-width:520px){.album-card{grid-template-columns:92px minmax(0,1fr)!important}.album-cover-wrap{width:92px!important;height:92px!important}.album-cover-wrap img{width:92px!important;height:92px!important}.album-cover-wrap .album-direct-play{right:4px!important;bottom:4px!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important}}

/* 547.7 mockup-derived library headers + true cover play */
.works-catalogue .catalogue-head{display:flex!important;align-items:center!important;gap:12px!important}
.works-catalogue .catalogue-head h2{font-family:Arial,Helvetica,sans-serif!important;font-size:14px!important;font-weight:400!important;letter-spacing:.19em!important;text-transform:uppercase!important;line-height:1!important;margin:0!important}
.catalogue-back,.album-back{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:0!important;color:var(--ui-ink)!important;font-family:Arial,Helvetica,sans-serif!important;font-size:21px!important;line-height:1!important}
.library-close{margin-left:auto!important;display:grid!important;place-items:center!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:0!important;border:0!important;background:none!important;color:var(--ui-ink)!important;font-family:Arial,Helvetica,sans-serif!important;font-size:27px!important;font-weight:200!important;line-height:1!important;cursor:pointer!important}
.stories-play-all{margin-left:auto!important;font-family:Arial,Helvetica,sans-serif!important;font-size:13px!important;letter-spacing:.06em!important;text-transform:none!important}
.stories-play-all+.library-close{margin-left:3px!important}
.album-cover-wrap{grid-column:1!important;grid-row:1/3!important;position:relative!important;width:104px!important;height:104px!important;align-self:start!important}
.album-cover-wrap>a{display:block!important;width:100%!important;height:100%!important}
.album-cover-wrap img{position:static!important;width:100%!important;height:100%!important;display:block!important;object-fit:cover!important}
.album-cover-wrap .album-direct-play{position:absolute!important;right:6px!important;bottom:6px!important;left:auto!important;top:auto!important;transform:none!important;margin:0!important;width:25px!important;height:25px!important;min-width:25px!important;min-height:25px!important;background:rgba(28,29,27,.58)!important;color:#f4f3ef!important;z-index:4!important}
.album-card>.album-open-area{grid-column:2!important;grid-row:1!important;display:block!important;color:inherit!important;text-decoration:none!important}
.album-card>.album-open-area .album-copy{display:block!important}
.album-card>.album-preview-tracks{grid-column:2!important;grid-row:2!important}
@media(max-width:520px){.album-cover-wrap{width:92px!important;height:92px!important}.album-cover-wrap .album-direct-play{right:5px!important;bottom:5px!important;width:23px!important;height:23px!important;min-width:23px!important;min-height:23px!important}}

/* 547.8 */
.nav-archive-search{display:grid;grid-template-columns:24px 1fr;align-items:center;gap:7px;border-bottom:1px solid var(--ui-line);margin:2px 0 8px;padding:3px 2px 8px;color:var(--ui-muted)}
.nav-archive-search>span{font-family:Arial,Helvetica,sans-serif;font-size:23px;line-height:1}
.nav-archive-search input{width:100%;min-width:0;border:0!important;outline:0!important;background:transparent!important;color:var(--ui-ink)!important;font:inherit;font-size:15px;padding:5px 0!important;box-shadow:none!important}
.nav-archive-search input::placeholder{color:var(--ui-muted);opacity:1}
#works-catalogue .catalogue-row+.catalogue-row{border-top:0!important}
.album-preview-tracks li{grid-template-columns:20px minmax(0,1fr) 28px!important;align-items:center}
.album-track-play{appearance:none;border:0;background:none;color:var(--ui-ink);width:28px;height:28px;padding:0;display:grid;place-items:center;cursor:pointer;opacity:.78}
.album-track-play::before{content:"";width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:7px solid currentColor}

/* 547.9 dates/sort/story-back */
.short-sort{display:flex;align-items:center;gap:8px;margin:3px 0 2px;font-family:Arial,Helvetica,sans-serif;font-size:11px;letter-spacing:.12em;color:var(--ui-muted)}
.short-sort button{appearance:none;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;padding:5px 0;cursor:pointer}
.short-sort button[aria-pressed="true"]{color:var(--ui-ink);text-decoration:underline;text-underline-offset:4px}
.insight-back{appearance:none;border:0;background:none;color:inherit;width:34px;height:34px;min-width:34px;padding:0;display:grid;place-items:center;font-family:Arial,Helvetica,sans-serif;font-size:21px;cursor:pointer}
.player-insight-head{display:flex!important;align-items:center!important}
.player-insight-head #player-insight-title{font-family:Arial,Helvetica,sans-serif!important;font-size:13px!important;letter-spacing:.14em!important;text-transform:uppercase!important}
.nav-social-icons a[aria-label="Spotify"] svg circle{fill:none}
.nav-social-icons a[aria-label="Spotify"] svg path{fill:none}

/* 547.10 */
#works-catalogue[data-stories-only="true"] .catalogue-title{font-size:18px!important;line-height:1.25!important}

/* 547.11 main menu hierarchy */
body.single-player-ui #primary-nav .nav-library>button,
body.single-player-ui #primary-nav .nav-music-root{font-size:24px!important;line-height:1.2!important}
body.single-player-ui #primary-nav .music-navigation-options button{font-size:18px!important;line-height:1.25!important}
body.single-player-ui #primary-nav .nav-close-x{margin-left:auto!important;display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:0!important;border:0!important;background:none!important;color:var(--ui-ink)!important}
body.single-player-ui #primary-nav .nav-close-x>span{font-family:Arial,Helvetica,sans-serif!important;font-size:29px!important;font-weight:200!important;line-height:1!important}
.album-name{font-size:24px!important}
@media(max-width:520px){.album-name{font-size:24px!important}}

/* 547.12 simplify albums + story reader controls */
.album-cover-static{display:block;width:100%;height:100%}
.album-cover-static img{display:block;width:100%!important;height:100%!important;object-fit:cover}
.album-card>.album-open-area{cursor:default}
.player-insight-actions{display:flex!important;align-items:center!important;gap:7px!important}
.player-insight-listen{appearance:none!important;border:0!important;background:none!important;box-shadow:none!important;padding:5px 7px!important;min-height:32px!important;display:flex!important;align-items:center!important;gap:6px!important;color:inherit!important}
.player-insight-listen svg{width:16px!important;height:16px!important}
.player-insight-listen span{font-family:Arial,Helvetica,sans-serif!important;font-size:12px!important;letter-spacing:.06em!important;text-transform:lowercase!important}
.story-reader-close{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;font-size:25px!important}

/* 547.13 album accordion + final navigation cleanup */
.album-shelf{display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important}
.album-card{display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:18px!important;row-gap:0!important;padding:16px 0!important;border-top:1px solid var(--ui-line)!important;align-items:start!important}
.album-card:first-child{border-top:0!important}
.album-cover-wrap{grid-column:1!important;grid-row:1/3!important;position:relative!important;width:104px!important;height:104px!important}
.album-cover-toggle{appearance:none!important;border:0!important;background:none!important;padding:0!important;margin:0!important;width:100%!important;height:100%!important;display:block!important;cursor:pointer!important}
.album-cover-toggle img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border:1px solid var(--ui-line)!important;box-sizing:border-box!important}
.album-heading-toggle{grid-column:2!important;grid-row:1!important;appearance:none!important;border:0!important;background:none!important;color:inherit!important;font:inherit!important;text-align:left!important;padding:4px 0 0!important;margin:0!important;cursor:pointer!important;display:block!important;width:100%!important}
.album-heading-toggle .album-name{display:block!important;font-size:24px!important;line-height:1.15!important;margin:0!important}
.album-heading-toggle .album-meta{display:block!important;margin:5px 0 0!important;font-size:14px!important;color:var(--ui-muted)!important;line-height:1.35!important}
.album-card .album-preview-tracks{grid-column:2!important;grid-row:2!important;margin:12px 0 0!important;padding:0!important;width:100%!important;list-style:none!important;display:flex!important;flex-direction:column!important;gap:2px!important}
.album-card .album-preview-tracks li{display:grid!important;grid-template-columns:20px minmax(0,1fr) 28px!important;gap:6px!important;align-items:center!important;min-height:30px!important}
.album-direct-play{position:absolute!important;right:6px!important;bottom:6px!important;left:auto!important;top:auto!important;transform:none!important;margin:0!important;width:25px!important;height:25px!important;min-width:25px!important;min-height:25px!important;background:rgba(28,29,27,.58)!important;color:#f4f3ef!important;display:grid!important;place-items:center!important;z-index:3!important}
.album-direct-play::before{content:""!important;display:block!important;width:0!important;height:0!important;border-top:5px solid transparent!important;border-bottom:5px solid transparent!important;border-left:8px solid currentColor!important}
.album-card:not(.is-expanded) .album-heading-toggle{align-self:center!important;padding-top:0!important}
@media(max-width:520px){
  .album-card{grid-template-columns:92px minmax(0,1fr)!important;column-gap:18px!important;padding:14px 0!important}
  .album-cover-wrap{width:92px!important;height:92px!important}
  .album-heading-toggle .album-name{font-size:24px!important}
  .album-direct-play{right:5px!important;bottom:5px!important;width:23px!important;height:23px!important;min-width:23px!important;min-height:23px!important}
}

/* 547.14 catalogue cleanup */
body.single-player-ui #works-catalogue .catalogue-row{border-bottom:0!important}
body.single-player-ui #works-catalogue .catalogue-row+.catalogue-row{border-top:0!important}
body.single-player-ui #works-catalogue .catalogue-meta{margin-top:2px}
body.single-player-ui #works-catalogue .catalogue-music-options{display:none!important}

/* 547.15 unified library placement + play/pause state */
@media(max-width:760px){
  body.single-player-ui #primary-nav,
  body.single-player-ui .works-catalogue{
    position:fixed!important;
    top:var(--fs-library-top,72px)!important;
    bottom:auto!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-width:none!important;
    height:auto!important;
    max-height:calc(100dvh - var(--fs-library-top,72px) - var(--fs-library-bottom,181px))!important;
    transform:none!important;
    box-sizing:border-box!important;
  }
  body.single-player-ui #primary-nav .nav-scroll,
  body.single-player-ui .albums-body,
  body.single-player-ui .catalogue-results{min-height:0!important;overflow:auto!important}
}
.story-row-play.is-pausing::before,
.album-track-play.is-pausing::before,
.album-direct-play.is-pausing::before{
  content:""!important;
  width:9px!important;
  height:11px!important;
  border:0!important;
  background:linear-gradient(90deg,currentColor 0 3px,transparent 3px 6px,currentColor 6px 9px)!important;
}
.stories-play-all.is-pausing .play-glyph::before{
  content:""!important;
  width:9px!important;
  height:11px!important;
  border:0!important;
  background:linear-gradient(90deg,currentColor 0 3px,transparent 3px 6px,currentColor 6px 9px)!important;
}

/* 548: normal website menu is never internally scrollable; long library lists still are. */
@media(max-width:760px){
  body.single-player-ui #primary-nav{max-height:none!important;height:auto!important;}
  body.single-player-ui #primary-nav .nav-scroll{overflow:visible!important;min-height:auto!important;flex:0 0 auto!important;}
  body.single-player-ui #primary-nav #check-app-update[hidden]{display:none!important;}
}

/* 548.2: subpage panels share one top edge on desktop too. */
@media(min-width:761px){
  body.single-player-ui .works-catalogue{
    top:var(--fs-library-top,64px)!important;
    bottom:auto!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    max-height:calc(100dvh - var(--fs-library-top,64px) - var(--fs-library-bottom,231px))!important;
  }
}

/* 549: open menu uses only the close X; install remains a normal-browser action. */
body.single-player-ui #primary-nav .nav-header{justify-content:flex-end!important;}
body.single-player-ui #primary-nav .nav-menu-mark{display:none!important;}

/* 550: Story sorting + grouped persistent archive search */
.catalogue-sort{display:flex;align-items:center;gap:8px;margin:4px 0 2px;font-family:Arial,Helvetica,sans-serif;font-size:11px;letter-spacing:.12em;color:var(--ui-muted)}
.catalogue-sort button{appearance:none;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;padding:5px 0;cursor:pointer}
.catalogue-sort button[aria-pressed="true"]{color:var(--ui-ink);text-decoration:underline;text-underline-offset:4px}
#works-catalogue[data-catalogue-mode="search"] .catalogue-count{margin-top:11px}
#works-catalogue[data-catalogue-mode="search"] .catalogue-results{padding-top:2px}
.search-group{list-style:none;margin:0;padding:0}
.search-group+.search-group{margin-top:16px;padding-top:14px;border-top:1px solid var(--ui-line)}
.search-group>h3{margin:0 0 5px;padding:0;font-family:Arial,Helvetica,sans-serif;font-size:11px;font-weight:400;letter-spacing:.15em;line-height:1.3;color:var(--ui-muted)}
.search-group>ul{list-style:none;margin:0;padding:0}
.search-result-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;column-gap:8px;min-height:62px}
.search-result-row+.search-result-row{margin-top:2px}
.search-result-open{appearance:none;border:0;background:none;color:var(--ui-ink);font:inherit;display:flex;align-items:center;gap:12px;width:100%;min-width:0;min-height:58px;padding:4px 0;text-align:left;cursor:pointer}
.search-result-open img{display:block;flex:0 0 48px;width:48px;height:48px;object-fit:cover;background:#fff1}
.search-result-open:hover .catalogue-title,.search-result-open:focus-visible .catalogue-title{text-decoration:underline;text-underline-offset:4px}
.search-result-play{appearance:none;border:0;background:none;color:var(--ui-ink);width:34px;height:34px;padding:0;display:grid;place-items:center;cursor:pointer;opacity:.8}
.search-result-play::before{content:"";width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:8px solid currentColor}
.search-result-play.is-pausing::before{width:9px;height:11px;border:0;background:linear-gradient(90deg,currentColor 0 3px,transparent 3px 6px,currentColor 6px 9px)}
.search-result-row.is-current .catalogue-title{text-decoration:underline;text-underline-offset:4px}
.search-album-row.is-expanded{padding-bottom:7px}
.search-album-tracks{grid-column:1/3;list-style:none;margin:3px 0 4px 60px;padding:0}
.search-album-tracks li{display:grid;grid-template-columns:20px minmax(0,1fr) 34px;gap:6px;align-items:center;min-height:32px;color:var(--ui-muted)}
.search-track-number{font-size:.85em}
@media(max-width:520px){
  .search-result-open img{flex-basis:44px;width:44px;height:44px}
  .search-album-tracks{margin-left:56px}
}

/* 553 Music library */
.stories-play-all .play-all-label{font-size:inherit!important;margin-right:0!important}
#works-catalogue[data-catalogue-mode="music"] .catalogue-row{min-height:64px}
#works-catalogue[data-catalogue-mode="music"] .catalogue-meta{font-size:15px;line-height:1.35}

/* 553.2 clickable album references in Music */
.music-library-work{cursor:pointer}
.music-library-work .catalogue-meta{display:flex;align-items:center;gap:0;flex-wrap:wrap}
.music-album-link{appearance:none;border:0;background:none;color:inherit;font:inherit;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.music-album-link:hover,.music-album-link:focus-visible{color:var(--ui-ink)}
.music-meta-sep{white-space:pre}

/* 553.4 collection nouns + stable Search frame */
#works-catalogue[data-catalogue-mode="search"]{
  padding:8px 14px 12px!important;
  box-sizing:border-box!important;
}
#works-catalogue[data-catalogue-mode="search"] .catalogue-head{
  min-height:50px!important;
  padding:0 0 6px!important;
  border-bottom:1px solid var(--ui-line)!important;
  box-sizing:border-box!important;
}
.albums-panel #albums-count{margin:10px 0 0!important}
@media(max-width:760px){
  body.single-player-ui #works-catalogue[data-catalogue-mode="search"]{
    position:fixed!important;
    top:var(--fs-library-top,72px)!important;
    bottom:auto!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-width:none!important;
    transform:none!important;
  }
}
@media(min-width:761px){
  body.single-player-ui #works-catalogue[data-catalogue-mode="search"]{
    position:fixed!important;
    top:64px!important;
    bottom:auto!important;
    left:auto!important;
    right:12px!important;
    width:min(330px,calc(100vw - 24px))!important;
    max-width:none!important;
    transform:none!important;
  }
}

/* 553.5 iPhone-stable centered library/search + explicit clear buttons */
.search-clear[hidden]{display:none!important}
.search-clear{appearance:none;border:0;background:none;color:var(--ui-muted);width:30px;height:30px;min-width:30px;padding:0;display:grid;place-items:center;cursor:pointer;font-family:Arial,Helvetica,sans-serif}
.search-clear>span{font-size:22px!important;line-height:1!important;margin:0!important}
.search-clear:hover,.search-clear:focus-visible{color:var(--ui-ink)}
.nav-archive-search{grid-template-columns:24px minmax(0,1fr) 30px!important}
.nav-archive-search input::-webkit-search-cancel-button,
#catalogue-search::-webkit-search-cancel-button{-webkit-appearance:none;display:none}
.catalogue-search-shell{position:relative;width:100%}
body.single-player-ui .catalogue-search-shell #catalogue-search{padding-right:38px!important}
.catalogue-search-shell #catalogue-search-clear{position:absolute;right:0;top:50%;transform:translateY(-50%);z-index:2}
@media(max-width:760px){
  body.single-player-ui #primary-nav,
  body.single-player-ui #works-catalogue[data-catalogue-mode="search"]{
    position:fixed!important;
    left:var(--fs-mobile-panel-center-x,50%)!important;
    right:auto!important;
    width:var(--fs-mobile-panel-width,calc(100vw - 24px))!important;
    max-width:none!important;
    transform:translateX(-50%)!important;
    box-sizing:border-box!important;
  }
  body.single-player-ui #primary-nav,
  body.single-player-ui #works-catalogue[data-catalogue-mode="search"]{
    top:var(--fs-library-top,72px)!important;
  }
}

/* 553.6 clear buttons live inside search fields */
.nav-archive-search{position:relative!important;grid-template-columns:24px minmax(0,1fr)!important}
.nav-archive-search input{padding-right:34px!important}
.nav-archive-search #nav-archive-clear{
  position:absolute!important;
  right:1px!important;
  top:5px!important;
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  z-index:2!important;
}
.catalogue-search-shell #catalogue-search-clear{
  right:2px!important;
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
}
.search-clear{opacity:.72!important}
.search-clear>span{font-size:17px!important;font-weight:400!important;line-height:1!important}
.search-clear:hover,.search-clear:focus-visible{opacity:1!important}

/* 553.7 Search song metadata mirrors Music */
.search-song-open .catalogue-meta{display:flex;align-items:center;gap:0;flex-wrap:wrap}

/* 553.8 unified title-only hover/current state; artwork gets edge cue, never glow */
body.single-player-ui #works-catalogue .catalogue-work:hover,
body.single-player-ui #works-catalogue .catalogue-work:focus-visible{
  text-decoration:none!important;
  background:transparent!important;
}
body.single-player-ui #works-catalogue :is(.catalogue-work,.music-library-work,.catalogue-media-name):hover .catalogue-title,
body.single-player-ui #works-catalogue :is(.catalogue-work,.music-library-work,.catalogue-media-name):focus-visible .catalogue-title,
.search-result-open:hover .catalogue-title,
.search-result-open:focus-visible .catalogue-title,
.search-media-name:hover .catalogue-title,
.search-media-name:focus-visible .catalogue-title{
  color:var(--ui-ink)!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:4px!important;
}
body.single-player-ui #works-catalogue .catalogue-row.is-current .catalogue-title,
.search-result-row.is-current .catalogue-title{
  color:var(--ui-ink)!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:4px!important;
}
body.single-player-ui #works-catalogue .catalogue-meta,
.search-result-row .catalogue-meta{
  color:var(--ui-muted)!important;
  text-decoration:none!important;
}
body.single-player-ui #works-catalogue .catalogue-row.is-current .catalogue-meta,
.search-result-row.is-current .catalogue-meta{
  color:var(--ui-muted)!important;
  text-decoration:none!important;
}
.music-album-link{
  color:inherit!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:3px!important;
}
.catalogue-media-art,
.search-media-art{
  appearance:none;
  border:0;
  background:none;
  padding:0;
  margin:0;
  cursor:pointer;
  display:block;
  flex:none;
}
.catalogue-media-art img,
.search-media-art img{
  display:block;
  object-fit:cover;
  box-sizing:border-box;
  border:1px solid transparent;
  transition:border-color .15s ease,filter .15s ease;
}
.catalogue-media-art:hover img,
.catalogue-media-art:focus-visible img,
.search-media-art:hover img,
.search-media-art:focus-visible img{
  border-color:rgba(243,242,238,.58);
  filter:contrast(1.04);
}
.catalogue-media-name,
.search-media-name{
  appearance:none;
  border:0;
  background:none;
  color:var(--ui-ink);
  font:inherit;
  text-align:left;
  padding:0;
  margin:0;
  min-width:0;
  cursor:pointer;
}
.media-catalogue-row{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr);
  column-gap:12px!important;
  align-items:center!important;
}
.catalogue-media-art{width:44px;height:44px}
.catalogue-media-art img{width:44px;height:44px}
.catalogue-media-name{min-height:56px;display:flex;align-items:center}
.search-media-open{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr);
  gap:12px!important;
}
.search-media-art{width:48px;height:48px}
.search-media-name{min-height:48px;display:flex;align-items:center}
@media(max-width:520px){
  .search-media-open{grid-template-columns:44px minmax(0,1fr)}
  .search-media-art{width:44px;height:44px}
}

/* 554 Singles album links */
.singles-library-work{cursor:pointer}
.singles-library-work .catalogue-meta{display:flex;align-items:center;gap:0;flex-wrap:wrap}

/* 554.3 Albums target reveal + expand all */
.albums-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:10px 0 0;
}
.albums-summary .catalogue-count{margin:0!important}
.albums-expand-all{
  appearance:none;
  border:0;
  background:none;
  color:var(--ui-muted);
  font:inherit;
  font-size:13px;
  line-height:1.4;
  padding:4px 0;
  cursor:pointer;
  white-space:nowrap;
}
.albums-expand-all:hover,
.albums-expand-all:focus-visible{
  color:var(--ui-ink);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}

/* 554.4 Story reader: Story / title + icon-first narration player above text */
body.single-player-ui .player-insight-transport{
  margin-top:-10px!important;
  margin-bottom:18px!important;
  gap:10px!important;
}
body.single-player-ui .player-insight-transport .player-insight-listen{
  flex:0 0 34px!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  display:grid!important;
  place-items:center!important;
  opacity:.78;
}
body.single-player-ui .player-insight-transport .player-insight-listen:hover,
body.single-player-ui .player-insight-transport .player-insight-listen:focus-visible,
body.single-player-ui .player-insight-transport .player-insight-listen.is-playing{
  background:transparent!important;
  border:0!important;
  color:var(--ui-ink)!important;
  opacity:1;
}
body.single-player-ui .player-insight-transport .player-insight-listen svg{
  width:17px!important;
  height:17px!important;
  margin:0!important;
}
body.single-player-ui .player-insight-head>span{
  text-transform:none!important;
}

/* 555 IBM Plex Sans interface typography */
:root{--fs-ui-sans:"IBM Plex Sans",Arial,Helvetica,sans-serif}

/* Hamburger = interface/navigation */
body.single-player-ui #primary-nav{
  font-family:var(--fs-ui-sans)!important;
}
body.single-player-ui #primary-nav :is(input,button,a){
  font-family:var(--fs-ui-sans)!important;
}

/* Tuner system labels use Plex; choices intentionally remain EB Garamond */
body.single-player-ui #works-menu .tuner-head>div>span:first-child{
  font-family:var(--fs-ui-sans)!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1.2!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
}
body.single-player-ui #works-menu .tuner-section h3{
  font-family:var(--fs-ui-sans)!important;
}
body.single-player-ui :is(.works-selector .works-label,#player-expanded-browse #player-tuner-label){
  font-family:var(--fs-ui-sans)!important;
}

/* Library/system labels */
body.single-player-ui .works-catalogue .catalogue-head h2,
body.single-player-ui .albums-panel .catalogue-head h2,
body.single-player-ui :is(.catalogue-count,.catalogue-meta,.album-meta,.catalogue-sort,.short-sort,.story-sort,.music-sort,.search-group>h3,.albums-expand-all,#catalogue-search),
body.single-player-ui .player-insight-head #player-insight-title{
  font-family:var(--fs-ui-sans)!important;
}

/* Content / choices stay literary */
body.single-player-ui #works-menu :is(.tuner-meter-options button,.tuner-order-options button),
body.single-player-ui :is(.catalogue-title,.album-name,.player-insight-copy){
  font-family:"EB Garamond",Garamond,Georgia,"Times New Roman",serif!important;
}

/* 555.2 menu hierarchy: Music subchoices stay literary */
body.single-player-ui #primary-nav .music-navigation-options button{
  font-family:"EB Garamond",Garamond,Georgia,"Times New Roman",serif!important;
}

/* 556 clean typography: remove legacy text shadows from approved interface/content areas */
body.single-player-ui #works-menu .tuner-head>div>span:first-child,
body.single-player-ui #works-menu .tuner-meter-options button,
body.single-player-ui #works-menu .tuner-order-options button,
body.single-player-ui #works-catalogue[data-stories-only="true"] .catalogue-head h2,
body.single-player-ui #works-catalogue[data-stories-only="true"] .catalogue-title{
  text-shadow:none!important;
}

/* 557 shadow-free interface typography
   Keep atmospheric/home and player effects separate; remove legacy text-shadow only
   from navigation, library/search panels, Albums, and Tuner UI. */
body.single-player-ui #primary-nav,
body.single-player-ui #primary-nav *,
body.single-player-ui #works-menu,
body.single-player-ui #works-menu *,
body.single-player-ui #works-catalogue,
body.single-player-ui #works-catalogue *,
body.single-player-ui .albums-panel,
body.single-player-ui .albums-panel *,
body.single-player-ui .works-selector .works-label,
body.single-player-ui .works-selector .works-chevron,
body.single-player-ui #player-expanded-browse #player-tuner-label,
body.single-player-ui #player-expanded-browse .player-browse-chevron{
  text-shadow:none!important;
}

/* 558 main menu scale refinement */
body.single-player-ui #primary-nav .nav-music-root,
body.single-player-ui #primary-nav [data-open-catalogue="moving"],
body.single-player-ui #primary-nav [data-open-catalogue="signals"],
body.single-player-ui #primary-nav [data-open-catalogue="stories"]{
  font-size:22px!important;
  line-height:1.2!important;
}

/* 558.2 ensure all primary destinations resolve to 22px */
body.single-player-ui #primary-nav .nav-library > .nav-music-root,
body.single-player-ui #primary-nav .nav-library > button[data-open-catalogue="moving"],
body.single-player-ui #primary-nav .nav-library > button[data-open-catalogue="signals"],
body.single-player-ui #primary-nav .nav-library > button[data-open-catalogue="stories"]{
  font-size:22px!important;
  line-height:1.2!important;
}

/* 559 row-action refinement */
/* Stories: narration control belongs to the title, not the far edge. */
body.single-player-ui #works-catalogue[data-stories-only="true"] .catalogue-row{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  column-gap:8px!important;
  align-items:center!important;
}
body.single-player-ui #works-catalogue[data-stories-only="true"] .story-row-play{
  grid-column:1!important;
  grid-row:1!important;
  width:28px!important;
  min-width:28px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
  justify-self:start!important;
}
body.single-player-ui #works-catalogue[data-stories-only="true"] .catalogue-work{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  padding-left:0!important;
}

/* Albums: whole track line is one control; number stays a number, play state sits inline after title. */
.album-preview-tracks{
  font-size:17px!important;
}
.album-preview-tracks li{
  display:block!important;
  margin:0!important;
}
.album-track-row{
  appearance:none!important;
  -webkit-appearance:none!important;
  border:0!important;
  background:none!important;
  color:inherit!important;
  font:inherit!important;
  width:100%!important;
  min-height:34px!important;
  padding:4px 0!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  text-align:left!important;
  cursor:pointer!important;
}
.album-track-row .album-preview-number{
  flex:0 0 22px!important;
  font-size:13px!important;
  line-height:1!important;
  opacity:.72!important;
}
.album-track-row .album-track-title{
  flex:0 1 auto!important;
  min-width:0!important;
  font-size:17px!important;
  line-height:1.28!important;
}
.album-track-row .album-track-play{
  flex:0 0 10px!important;
  width:10px!important;
  height:14px!important;
  display:grid!important;
  place-items:center!important;
  margin-left:1px!important;
  opacity:.84!important;
}
.album-track-row .album-track-play::before{
  content:""!important;
  display:block!important;
  width:0!important;
  height:0!important;
  border-top:5px solid transparent!important;
  border-bottom:5px solid transparent!important;
  border-left:7px solid currentColor!important;
}
.album-track-row.is-pausing .album-track-play::before{
  width:8px!important;
  height:10px!important;
  border:0!important;
  background:linear-gradient(90deg,currentColor 0 3px,transparent 3px 5px,currentColor 5px 8px)!important;
}
.album-track-row:hover .album-track-title,
.album-track-row:focus-visible .album-track-title{
  color:var(--ui-ink)!important;
}
.album-track-row:focus-visible{
  outline:1px solid rgba(243,242,238,.34)!important;
  outline-offset:2px!important;
}
@media(max-width:520px){
  .album-preview-tracks{font-size:16px!important}
  .album-track-row .album-track-title{font-size:16px!important}
  .album-track-row .album-preview-number{font-size:12px!important}
}

/* 559.2 desktop artwork-to-copy breathing room */
@media(min-width:761px){
  .music-library-work,
  .singles-library-work{
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr)!important;
    column-gap:18px!important;
    align-items:center!important;
  }
  .media-catalogue-row{
    column-gap:18px!important;
  }
  .album-card{
    column-gap:24px!important;
  }
}

/* 559.3 album track row specificity fix */
.album-card .album-preview-tracks li{
  display:block!important;
  grid-template-columns:none!important;
  gap:0!important;
  min-height:0!important;
  width:100%!important;
}
.album-card .album-preview-tracks .album-track-row{
  width:100%!important;
  grid-column:1/-1!important;
}

/* 559.4 album track baseline + quieter playback state */
.album-card .album-preview-tracks .album-track-row{
  align-items:baseline!important;
}
.album-track-row .album-preview-number{
  font-size:1em!important;
  line-height:1.28!important;
  align-self:baseline!important;
}
.album-track-row .album-track-title{
  align-self:baseline!important;
}
.album-track-row .album-track-play{
  flex:0 0 8px!important;
  width:8px!important;
  height:12px!important;
  margin-left:1px!important;
  opacity:.5!important;
  align-self:center!important;
}
.album-track-row .album-track-play::before{
  border-top-width:4px!important;
  border-bottom-width:4px!important;
  border-left-width:6px!important;
}
.album-track-row:hover .album-track-play,
.album-track-row:focus-visible .album-track-play{
  opacity:.8!important;
}
.album-track-row.is-pausing .album-track-play{
  opacity:1!important;
}
.album-track-row.is-pausing .album-track-play::before{
  width:7px!important;
  height:9px!important;
  background:linear-gradient(90deg,currentColor 0 2.5px,transparent 2.5px 4.5px,currentColor 4.5px 7px)!important;
}
@media(max-width:520px){
  .album-track-row .album-preview-number{font-size:1em!important}
}

/* 559.5 album expansion affordance: title-only hover/focus treatment */
@media(hover:hover) and (pointer:fine){
  .album-heading-toggle:hover .album-name{
    color:var(--ui-ink)!important;
    text-decoration:underline!important;
    text-decoration-thickness:1px!important;
    text-underline-offset:4px!important;
  }
}
.album-heading-toggle:focus-visible .album-name{
  color:var(--ui-ink)!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:4px!important;
}

/* 559.6 mobile Videos/Shorts artwork spacing */
@media(max-width:760px){
  .media-catalogue-row{
    column-gap:18px!important;
  }
}

/* 559.7 mobile Singles artwork spacing */
@media(max-width:760px){
  .singles-library-work{
    column-gap:18px!important;
  }
}

/* 559.10 Story narration transport scale */
body.single-player-ui #player-insight-listen{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
}
body.single-player-ui #player-insight-listen svg{
  width:20px!important;
  height:20px!important;
}

/* 559.13 language tuner + terminal search refinement */
body.single-player-ui #works-menu .tuner-play-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 13px}
body.single-player-ui #works-menu .tuner-play-head h3{margin:0!important}
body.single-player-ui #works-menu .tuner-language-options{display:flex;align-items:center;gap:8px;margin-left:auto}
body.single-player-ui #works-menu .tuner-language-options button{appearance:none;border:0;background:none;padding:2px 0;display:flex;align-items:center;gap:4px;color:var(--ui-muted);font-family:var(--fs-ui-sans)!important;font-size:10px;line-height:1;letter-spacing:.08em;cursor:pointer}
body.single-player-ui #works-menu .tuner-language-dot{display:block;width:9px;height:9px;border:1px solid currentColor;border-radius:50%;box-sizing:border-box}
body.single-player-ui #works-menu .tuner-language-options button[aria-pressed="true"]{color:var(--ui-ink)}
body.single-player-ui #works-menu .tuner-language-options button[aria-pressed="true"] .tuner-language-dot{background:currentColor}
body.single-player-ui #works-menu .tuner-language-options button:hover,
body.single-player-ui #works-menu .tuner-language-options button:focus-visible{color:var(--ui-ink)}
body.single-player-ui .terminal-search-shell{position:relative!important;background:rgba(8,9,8,.25)!important;border:1px solid rgba(243,242,238,.13)!important;box-sizing:border-box}
body.single-player-ui .terminal-search-shell input{background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;color:var(--ui-ink)!important;font-family:var(--fs-ui-sans)!important;font-size:15px!important}
body.single-player-ui .terminal-search-shell input::placeholder{color:transparent!important}
body.single-player-ui .terminal-search-prompt{position:absolute;left:9px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:5px;pointer-events:none;color:var(--ui-muted);font-family:var(--fs-ui-sans);font-size:15px;line-height:1;letter-spacing:.01em;transition:opacity .12s linear}
body.single-player-ui .terminal-block-cursor{display:block;width:7px;height:13px;background:var(--ui-ink);opacity:.9;animation:fs-terminal-blink 1s steps(1,end) infinite}
body.single-player-ui .terminal-search-shell:focus-within .terminal-search-prompt,
body.single-player-ui .terminal-search-shell input:not(:placeholder-shown)~.terminal-search-prompt{opacity:0}
body.single-player-ui #primary-nav .nav-archive-search.terminal-search-shell{display:block!important;min-height:36px;margin:2px 0 10px!important;padding:0 34px 0 0!important}
body.single-player-ui #primary-nav .nav-archive-search.terminal-search-shell #nav-archive-query{width:100%;height:34px;padding:7px 8px!important}
body.single-player-ui #primary-nav .nav-archive-search.terminal-search-shell #nav-archive-clear{right:3px!important;top:50%!important;transform:translateY(-50%)!important}
body.single-player-ui .catalogue-search-shell.terminal-search-shell{min-height:36px}
body.single-player-ui .catalogue-search-shell.terminal-search-shell #catalogue-search{height:36px!important;padding:7px 38px 7px 9px!important;font-size:15px!important}
body.single-player-ui #works-catalogue[data-stories-only="true"] .catalogue-search-shell{order:0}
body.single-player-ui #works-catalogue[data-stories-only="true"] #catalogue-languages{order:1!important;padding:5px 0 0!important}
body.single-player-ui #works-catalogue[data-stories-only="true"] .story-sort{order:2;margin:2px 0 0!important}
body.single-player-ui #works-catalogue[data-stories-only="true"] #catalogue-languages .story-language-options{gap:13px}
body.single-player-ui #works-catalogue[data-stories-only="true"] #catalogue-languages .story-language-options button{font-family:var(--fs-ui-sans)!important;font-size:13px!important;letter-spacing:.08em!important;min-height:30px!important;min-width:32px!important;padding:4px 2px!important}
@keyframes fs-terminal-blink{0%,48%{opacity:.9}49%,100%{opacity:.08}}
@media(prefers-reduced-motion:reduce){body.single-player-ui .terminal-block-cursor{animation:none}}

/* 559.13b align Story search scale with archive search */
body.single-player-ui .catalogue-search-shell.terminal-search-shell{height:36px!important;min-height:36px!important;padding:0!important}
body.single-player-ui .catalogue-search-shell.terminal-search-shell #catalogue-search{height:34px!important}

/* 559.14 terminal search refinement */
body.single-player-ui .terminal-search-shell{
  background:linear-gradient(90deg,rgba(5,6,5,.22) 0%,rgba(10,11,10,.14) 58%,rgba(20,20,18,.06) 100%)!important;
  border:0!important;
  box-shadow:inset 0 1px 0 rgba(243,242,238,.025),inset 0 -1px 0 rgba(0,0,0,.14)!important;
}
body.single-player-ui .terminal-search-shell input{font-size:13px!important}
body.single-player-ui .terminal-search-prompt{font-size:13px!important;gap:4px!important}
body.single-player-ui .terminal-block-cursor{
  width:5px!important;height:11px!important;
  background:rgba(243,242,238,.88)!important;
  box-shadow:none!important;
}
@keyframes fs-terminal-blink{0%,48%{opacity:.9}49%,100%{opacity:0}}

/* 559.16 search belongs only to archive/search and Stories */
body.single-player-ui #works-catalogue[data-catalogue-mode="music"] .catalogue-search-shell,
body.single-player-ui #works-catalogue[data-catalogue-mode="singles"] .catalogue-search-shell,
body.single-player-ui #works-catalogue[data-catalogue-mode="moving"] .catalogue-search-shell,
body.single-player-ui #works-catalogue[data-catalogue-mode="signals"] .catalogue-search-shell{
  display:none!important;
}

/* 559.17 archive search moves into menu header */
body.single-player-ui #primary-nav .nav-header{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  min-height:42px!important;
  padding:0 0 5px!important;
}
body.single-player-ui #primary-nav .nav-header .nav-archive-search.terminal-search-shell{
  flex:1 1 auto!important;
  min-width:0!important;
  min-height:36px!important;
  height:36px!important;
  margin:0!important;
  padding:0 30px 0 0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.single-player-ui #primary-nav .nav-header .nav-archive-search .terminal-search-prompt{
  left:2px!important;
  font-size:15px!important;
}
body.single-player-ui #primary-nav .nav-header .nav-archive-search #nav-archive-query{
  height:34px!important;
  padding:7px 4px!important;
  font-size:15px!important;
}
body.single-player-ui #primary-nav .nav-header .nav-archive-search #nav-archive-clear{
  right:0!important;
}
body.single-player-ui #primary-nav .nav-scroll{padding-top:6px!important}

/* 559.18 cursor-only archive search with hover hint */
body.single-player-ui #primary-nav .nav-header .nav-archive-search .terminal-block-cursor{
  width:8px!important;
  height:16px!important;
}
body.single-player-ui #primary-nav .nav-header .nav-archive-search .terminal-search-prompt{
  gap:5px!important;
}

/* 559.20 Stories search returns to a quiet inline field */
body.single-player-ui #works-catalogue[data-stories-only="true"] .catalogue-search-shell{
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid rgba(243,242,238,.16)!important;
  box-shadow:none!important;
}
body.single-player-ui #works-catalogue[data-stories-only="true"] .catalogue-search-shell .terminal-search-prompt{
  display:none!important;
}
body.single-player-ui #works-catalogue[data-stories-only="true"] #catalogue-search{
  padding-left:2px!important;
  font-size:15px!important;
}
body.single-player-ui #works-catalogue[data-stories-only="true"] #catalogue-search::placeholder{
  color:var(--ui-muted)!important;
  opacity:1!important;
}

/* 559.21 Stories search + controls compact composition */
body.single-player-ui #works-catalogue[data-stories-only="true"] .catalogue-tools{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:14px!important;
  row-gap:3px!important;
}
body.single-player-ui #works-catalogue[data-stories-only="true"] .catalogue-search-shell{
  grid-column:1 / -1!important;
  grid-row:1!important;
}
body.single-player-ui #works-catalogue[data-stories-only="true"] #catalogue-languages{
  grid-column:1!important;
  grid-row:2!important;
  padding:3px 0 0!important;
  min-width:0!important;
}
body.single-player-ui #works-catalogue[data-stories-only="true"] .story-sort{
  grid-column:2!important;
  grid-row:2!important;
  align-self:center!important;
  justify-self:end!important;
  margin:3px 0 0!important;
  white-space:nowrap!important;
}

/* 559.22 top-level Music hover parity */
body.single-player-ui #primary-nav .nav-music-root:hover,
body.single-player-ui #primary-nav .nav-music-root:focus-visible{
  color:#fff!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:6px!important;
}

/* 559.23 restore generous collapsed album expansion target */
.album-card:not(.is-expanded) .album-heading-toggle{
  align-self:stretch!important;
  min-height:104px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
@media(max-width:520px){
  .album-card:not(.is-expanded) .album-heading-toggle{
    min-height:92px!important;
  }
}

/* 559.25 Shorts do not participate in Story modes */
body.single-player-ui #works-menu [data-tuner-story]:disabled{
  opacity:.28!important;
  cursor:default!important;
  color:var(--ui-muted)!important;
}
body.single-player-ui #works-menu [data-tuner-slider="stories"].is-disabled{
  cursor:default!important;
}
body.single-player-ui #works-menu [data-tuner-slider="stories"].is-disabled .tuner-node:not(.is-selected){
  opacity:.28!important;
}
body.single-player-ui #works-menu [data-tuner-slider="stories"].is-disabled .tuner-thumb{
  cursor:default!important;
}

/* 559.27 Tuner small-label readability */
body.single-player-ui #works-menu .tuner-section h3{
  font-size:14px!important;
  letter-spacing:.22em!important;
}
body.single-player-ui #works-menu .tuner-language-options button{
  font-size:12px!important;
}
body.single-player-ui #works-menu .tuner-language-dot{
  width:10px!important;
  height:10px!important;
}

/* 559.28 optical alignment: language filters center visually with PLAY */
body.single-player-ui #works-menu .tuner-language-options{
  transform:translateY(1px);
}

/* 559.30 Tuner title hierarchy */
body.single-player-ui #works-menu .tuner-head>div>span:first-child{
  font-size:24px!important;
  letter-spacing:.08em!important;
  text-transform:none!important;
}

/* 559.31 responsive Tuner + desktop drag handle */
body.single-player-ui #works-menu .tuner-head>div>span:first-child{
  font-size:22px!important;
  font-weight:400!important;
  line-height:1.2!important;
  letter-spacing:normal!important;
  text-transform:none!important;
}
@media(min-width:761px){
  body.single-player-ui #works-menu .tuner-head{
    cursor:grab;
    touch-action:none;
    user-select:none;
    -webkit-user-select:none;
  }
  body.single-player-ui #works-menu.is-user-dragging .tuner-head{cursor:grabbing}
  body.single-player-ui #works-menu .tuner-close{cursor:pointer;touch-action:auto}
}
@media(max-width:760px) and (max-height:640px){
  body.single-player-ui #works-menu.tuner-panel{padding:8px 14px 10px!important}
  body.single-player-ui #works-menu .tuner-head{min-height:44px!important;margin-bottom:8px!important;padding-bottom:6px!important}
  body.single-player-ui #works-menu .tuner-meters{padding-bottom:10px!important;margin-bottom:8px!important}
  body.single-player-ui #works-menu .tuner-section h3{margin-bottom:8px!important}
  body.single-player-ui #works-menu .tuner-meter{height:160px!important}
  body.single-player-ui #works-menu .tuner-meter-options button{min-height:34px!important}
  body.single-player-ui #works-menu .tuner-order h3{margin-bottom:7px!important}
  body.single-player-ui #works-menu .tuner-order-control{gap:5px!important}
  body.single-player-ui #works-menu .tuner-slider-horizontal{height:20px!important}
  body.single-player-ui #works-menu .tuner-order-options button{min-height:28px!important}
}
@media(max-width:760px) and (max-height:560px){
  body.single-player-ui #works-menu.tuner-panel{padding:6px 12px 8px!important}
  body.single-player-ui #works-menu .tuner-head{min-height:38px!important;margin-bottom:6px!important;padding-bottom:4px!important}
  body.single-player-ui #works-menu .tuner-meters{padding-bottom:7px!important;margin-bottom:6px!important}
  body.single-player-ui #works-menu .tuner-section h3{margin-bottom:6px!important}
  body.single-player-ui #works-menu .tuner-meter{height:132px!important}
  body.single-player-ui #works-menu .tuner-meter-options button{min-height:30px!important}
  body.single-player-ui #works-menu .tuner-order h3{margin-bottom:5px!important}
  body.single-player-ui #works-menu .tuner-order-control{gap:4px!important}
  body.single-player-ui #works-menu .tuner-slider-horizontal{height:16px!important}
  body.single-player-ui #works-menu .tuner-order-options button{min-height:26px!important}
}

/* 559.32 Stories heading uses same brightness as PLAY / ORDER */
body.single-player-ui #works-menu .tuner-stories h3{
  color:rgba(243,242,238,.82)!important;
}

/* 559.33 tiny language-filter spacing refinement */
body.single-player-ui #works-menu .tuner-language-options{
  gap:10px;
}

/* 559.34 Tuner close glyph matches hamburger close treatment */
body.single-player-ui #works-menu .tuner-close>span{
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:29px!important;
  font-weight:200!important;
  line-height:1!important;
}

/* 559.35 optical header alignment + catalogue rhythm */
body.single-player-ui #works-menu .tuner-close>span{
  display:block;
  transform:translateY(0);
}
body.single-player-ui #works-catalogue #catalogue-results{
  padding-top:4px!important;
}

/* 559.37 slightly larger ORDER option labels */
body.single-player-ui #works-menu .tuner-order-options button{
  font-size:16px!important;
}
@media(max-width:760px){
  body.single-player-ui #works-menu .tuner-order-options button{
    font-size:15px!important;
  }
}

/* 559.38 desktop library panels match hamburger width */
@media(min-width:761px){
  body.single-player-ui #works-catalogue,
  body.single-player-ui .albums-panel{
    width:330px!important;
    max-width:calc(100vw - 24px)!important;
  }
}

/* 559.38 mobile library panels use the same maximum width as hamburger */
@media(max-width:760px){
  body.single-player-ui #works-catalogue,
  body.single-player-ui .albums-panel{
    width:min(406px,calc(100vw - 24px))!important;
    max-width:calc(100vw - 24px)!important;
  }
}

/* 559.39 mobile library shell matches hamburger position as well as width */
@media(max-width:760px){
  body.single-player-ui #works-catalogue,
  body.single-player-ui .albums-panel{
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
  }
}

/* 559.40 collapsed mobile album title keeps expanded-state left alignment */
@media(max-width:520px){
  .album-card:not(.is-expanded) .album-heading-toggle .album-name{
    align-self:stretch!important;
    width:100%!important;
    text-align:left!important;
  }
}

/* 559.41 desktop library panels regain content-appropriate width */
@media(min-width:761px){
  body.single-player-ui #works-catalogue,
  body.single-player-ui .albums-panel{
    width:540px!important;
    max-width:calc(100vw - 32px)!important;
  }
}

/* 559.42 desktop library panels share hamburger navigation zone */
@media(min-width:761px){
  body.single-player-ui #works-catalogue,
  body.single-player-ui .albums-panel{
    top:64px!important;
    right:12px!important;
    left:auto!important;
    bottom:auto!important;
    transform:none!important;
    width:540px!important;
    max-width:calc(100vw - 24px)!important;
  }
}

/* 559.43 desktop visible count-to-first-title rhythm matches Stories */
@media(min-width:761px){
  body.single-player-ui #works-catalogue[data-catalogue-mode="music"] #catalogue-results{
    padding-top:10px!important;
  }
  body.single-player-ui #works-catalogue:is(
    [data-catalogue-mode="singles"],
    [data-catalogue-mode="moving"],
    [data-catalogue-mode="signals"]
  ) #catalogue-results{
    padding-top:6.5px!important;
  }
}

/* 559.44 larger library artwork */
body.single-player-ui #works-catalogue .music-library-work>img,
body.single-player-ui #works-catalogue .singles-library-work>img{
  width:52px!important;
  height:52px!important;
}
body.single-player-ui #works-catalogue .media-catalogue-row{
  grid-template-columns:52px minmax(0,1fr)!important;
}
body.single-player-ui #works-catalogue .catalogue-media-art,
body.single-player-ui #works-catalogue .catalogue-media-art img{
  width:52px!important;
  height:52px!important;
}
@media(min-width:761px){
  body.single-player-ui #works-catalogue .music-library-work,
  body.single-player-ui #works-catalogue .singles-library-work{
    grid-template-columns:52px minmax(0,1fr)!important;
  }
  body.single-player-ui .albums-panel .album-card{
    grid-template-columns:120px minmax(0,1fr)!important;
  }
  body.single-player-ui .albums-panel .album-cover-wrap{
    width:120px!important;
    height:120px!important;
  }
  body.single-player-ui .albums-panel .album-card:not(.is-expanded) .album-heading-toggle{
    min-height:120px!important;
  }
}

/* 559.45 explicit library typography system */
body.single-player-ui #works-catalogue .catalogue-head h2{
  font-family:var(--fs-ui-sans)!important;
}
body.single-player-ui #works-catalogue:is(
  [data-catalogue-mode="music"],
  [data-catalogue-mode="singles"],
  [data-catalogue-mode="moving"],
  [data-catalogue-mode="signals"]
) .catalogue-title{
  font-family:"EB Garamond",Garamond,Georgia,"Times New Roman",serif!important;
  font-size:18px!important;
  font-weight:400!important;
  line-height:1.25!important;
  letter-spacing:normal!important;
}
body.single-player-ui #works-catalogue:is(
  [data-catalogue-mode="music"],
  [data-catalogue-mode="singles"],
  [data-catalogue-mode="moving"],
  [data-catalogue-mode="signals"]
) .catalogue-meta{
  font-family:var(--fs-ui-sans)!important;
  font-size:15px!important;
  font-weight:400!important;
  line-height:1.35!important;
  letter-spacing:.035em!important;
  margin-top:2px!important;
}
body.single-player-ui #works-catalogue:is(
  [data-catalogue-mode="music"],
  [data-catalogue-mode="singles"],
  [data-catalogue-mode="moving"],
  [data-catalogue-mode="signals"]
) .catalogue-copy{
  gap:2px!important;
}

/* 559.46 library content typography follows scrolling artwork language */
body.single-player-ui #works-catalogue:is(
  [data-catalogue-mode="music"],
  [data-catalogue-mode="singles"],
  [data-catalogue-mode="moving"],
  [data-catalogue-mode="signals"]
) .catalogue-title{
  font-family:"EB Garamond",Garamond,Georgia,"Times New Roman",serif!important;
  font-size:18px!important;
  font-weight:400!important;
  line-height:1.25!important;
  letter-spacing:normal!important;
  text-transform:lowercase!important;
  margin:0!important;
}
body.single-player-ui #works-catalogue:is(
  [data-catalogue-mode="music"],
  [data-catalogue-mode="singles"],
  [data-catalogue-mode="moving"],
  [data-catalogue-mode="signals"]
) .catalogue-meta{
  font-family:"EB Garamond",Garamond,Georgia,"Times New Roman",serif!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.3!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  margin:0!important;
}
body.single-player-ui #works-catalogue:is(
  [data-catalogue-mode="music"],
  [data-catalogue-mode="singles"],
  [data-catalogue-mode="moving"],
  [data-catalogue-mode="signals"]
) .catalogue-copy{
  gap:4px!important;
}

/* 559.47 mockup-style metadata: quiet IBM caps, date first */
body.single-player-ui #works-catalogue:is(
  [data-catalogue-mode="music"],
  [data-catalogue-mode="singles"],
  [data-catalogue-mode="moving"],
  [data-catalogue-mode="signals"]
) .catalogue-meta{
  font-family:var(--fs-ui-sans)!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.3!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  margin:0!important;
}
body.single-player-ui #works-catalogue:is(
  [data-catalogue-mode="music"],
  [data-catalogue-mode="singles"],
  [data-catalogue-mode="moving"],
  [data-catalogue-mode="signals"]
) .catalogue-meta .music-album-link{
  font-family:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  line-height:inherit!important;
  letter-spacing:inherit!important;
  text-transform:inherit!important;
}

/* 559.48 quieter library metadata */
body.single-player-ui #works-catalogue:is(
  [data-catalogue-mode="music"],
  [data-catalogue-mode="singles"],
  [data-catalogue-mode="moving"],
  [data-catalogue-mode="signals"]
) .catalogue-meta{
  font-size:12px!important;
  line-height:1.25!important;
  letter-spacing:.10em!important;
}
body.single-player-ui #works-catalogue:is(
  [data-catalogue-mode="music"],
  [data-catalogue-mode="singles"],
  [data-catalogue-mode="moving"],
  [data-catalogue-mode="signals"]
) .catalogue-meta .music-album-link{
  font-size:inherit!important;
  line-height:inherit!important;
  letter-spacing:inherit!important;
}

/* 559.49 quieter top-level navigation scale */
body.single-player-ui #primary-nav .nav-library > .nav-music-root,
body.single-player-ui #primary-nav .nav-library > button[data-open-catalogue="moving"],
body.single-player-ui #primary-nav .nav-library > button[data-open-catalogue="signals"],
body.single-player-ui #primary-nav .nav-library > button[data-open-catalogue="stories"]{
  font-size:20px!important;
  line-height:1.2!important;
}
body.single-player-ui #works-menu .tuner-head>div>span:first-child{
  font-size:20px!important;
  line-height:1.2!important;
}

/* 559.50 ensure Music matches other top-level destinations */
body.single-player-ui #primary-nav .nav-music-root{
  font-size:20px!important;
  line-height:1.2!important;
}

/* 559.51 environmental navigation uses Garamond; opened libraries stay IBM */
body.single-player-ui #primary-nav .nav-music-root,
body.single-player-ui #primary-nav [data-open-catalogue="moving"],
body.single-player-ui #primary-nav [data-open-catalogue="signals"],
body.single-player-ui #primary-nav [data-open-catalogue="stories"]{
  font-family:"EB Garamond",Garamond,Georgia,"Times New Roman",serif!important;
  font-size:20px!important;
  font-weight:400!important;
  line-height:1.2!important;
  letter-spacing:.02em!important;
  text-transform:lowercase!important;
}
body.single-player-ui #works-menu .tuner-head>div>span:first-child{
  font-family:"EB Garamond",Garamond,Georgia,"Times New Roman",serif!important;
  font-size:20px!important;
  font-weight:400!important;
  line-height:1.2!important;
  letter-spacing:.02em!important;
  text-transform:lowercase!important;
}

/* 559.52 quieter utility footer */
body.single-player-ui #primary-nav .menu-footer{
  margin-top:10px!important;
  padding-top:0!important;
  gap:4px!important;
  border-top:0!important;
}
body.single-player-ui #primary-nav .menu-footer :is(a,button){
  min-height:44px!important;
  font-family:var(--fs-ui-sans)!important;
  font-size:14px!important;
  line-height:1.2!important;
  letter-spacing:0!important;
}

/* 559.53 visually tighten install app + privacy while preserving 44px targets */
body.single-player-ui #primary-nav .menu-footer{
  gap:0!important;
}
body.single-player-ui #primary-nav .menu-footer .install-app{
  align-items:flex-end!important;
  padding-top:0!important;
  padding-bottom:5px!important;
}
body.single-player-ui #primary-nav .menu-footer a[href="/privacy.html"]{
  align-items:flex-start!important;
  padding-top:5px!important;
  padding-bottom:0!important;
}

/* 559.54 slightly increase environmental navigation + tuner title */
body.single-player-ui #primary-nav .nav-music-root,
body.single-player-ui #primary-nav [data-open-catalogue="moving"],
body.single-player-ui #primary-nav [data-open-catalogue="signals"],
body.single-player-ui #primary-nav [data-open-catalogue="stories"]{
  font-size:21px!important;
}
body.single-player-ui #works-menu .tuner-head>div>span:first-child{
  font-size:21px!important;
}

/* 559.55 enforce 21px across all top-level hamburger destinations */
body.single-player-ui #primary-nav .nav-library > .nav-music-root,
body.single-player-ui #primary-nav .nav-library > button[data-open-catalogue="moving"],
body.single-player-ui #primary-nav .nav-library > button[data-open-catalogue="signals"],
body.single-player-ui #primary-nav .nav-library > button[data-open-catalogue="stories"]{
  font-size:21px!important;
}

/* 559.56 mobile/library consistency + installed-app footer pairing */
body.single-player-ui #works-catalogue .catalogue-row.is-current .catalogue-title{
  text-decoration:none!important;
}
body.single-player-ui #works-catalogue :is(.catalogue-work,.music-library-work,.catalogue-media-name):hover .catalogue-title,
body.single-player-ui #works-catalogue :is(.catalogue-work,.music-library-work,.catalogue-media-name):focus-visible .catalogue-title{
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:4px!important;
}
body.single-player-ui #primary-nav .menu-footer:has(.install-app[hidden]) a[href="/privacy.html"]{
  align-items:flex-end!important;
  padding-top:0!important;
  padding-bottom:5px!important;
}
body.single-player-ui #primary-nav .menu-footer:has(.install-app[hidden]) #check-app-update:not([hidden]){
  align-items:flex-start!important;
  padding-top:5px!important;
  padding-bottom:0!important;
}

/* 559.57 prevent sticky touch-hover from changing library title treatment */
@media (hover:none), (pointer:coarse){
  body.single-player-ui #works-catalogue :is(.catalogue-work,.music-library-work,.catalogue-media-name):hover .catalogue-title{
    text-decoration:none!important;
  }
}

/* 559.58 album interaction model: title expands, cover plays */
.album-card:not(.is-expanded) .album-heading-toggle .album-name{
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:4px!important;
}
.album-card.is-expanded .album-heading-toggle .album-name{
  text-decoration:none!important;
}
.album-cover-toggle[data-album-direct-play]{
  position:relative!important;
}
.album-cover-toggle[data-album-direct-play]::before{
  content:""!important;
  position:absolute!important;
  right:6px!important;
  bottom:6px!important;
  width:25px!important;
  height:25px!important;
  background:rgba(28,29,27,.58)!important;
  z-index:2!important;
  pointer-events:none!important;
}
.album-cover-toggle[data-album-direct-play]::after{
  content:""!important;
  position:absolute!important;
  right:13px!important;
  bottom:13px!important;
  width:0!important;
  height:0!important;
  border-top:5px solid transparent!important;
  border-bottom:5px solid transparent!important;
  border-left:8px solid #f4f3ef!important;
  z-index:3!important;
  pointer-events:none!important;
}
.album-cover-toggle[data-album-direct-play].is-pausing::after{
  right:14px!important;
  bottom:13px!important;
  width:9px!important;
  height:11px!important;
  border:0!important;
  background:linear-gradient(90deg,#f4f3ef 0 3px,transparent 3px 6px,#f4f3ef 6px 9px)!important;
}
@media(max-width:520px){
  .album-cover-toggle[data-album-direct-play]::before{
    right:5px!important;
    bottom:5px!important;
    width:23px!important;
    height:23px!important;
  }
  .album-cover-toggle[data-album-direct-play]::after{
    right:11px!important;
    bottom:11px!important;
  }
  .album-cover-toggle[data-album-direct-play].is-pausing::after{
    right:12px!important;
    bottom:11px!important;
  }
}

/* 559.59 clearer album context in bottom player */
body.single-player-ui .playback-context .playback-context-kind,
body.single-player-ui .playback-context .playback-context-sep,
body.single-player-ui .playback-context .playback-context-retry{
  color:var(--ui-muted)!important;
}
body.single-player-ui .playback-context .playback-context-album{
  color:var(--ui-ink)!important;
  font-size:1.08em!important;
  font-weight:500!important;
  letter-spacing:.015em!important;
}
@media(max-width:760px){
  body.single-player-ui .playback-context .playback-context-album{
    font-size:1.1em!important;
  }
}

/* 559.60 album status shows only album context; track title remains elsewhere in player */
body.single-player-ui #player-state.album-context-only #player-title{
  display:none!important;
}

/* 559.61 Search uses the same library visual + interaction system */
@media(min-width:761px){
  body.single-player-ui #works-catalogue[data-catalogue-mode="search"]{
    top:64px!important;
    right:12px!important;
    left:auto!important;
    bottom:auto!important;
    transform:none!important;
    width:540px!important;
    max-width:calc(100vw - 24px)!important;
  }
}
@media(max-width:760px){
  body.single-player-ui #works-catalogue[data-catalogue-mode="search"]{
    left:50%!important;
    right:auto!important;
    width:min(406px,calc(100vw - 24px))!important;
    max-width:none!important;
    transform:translateX(-50%)!important;
  }
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-group>h3{
  font-family:var(--fs-ui-sans)!important;
  font-size:12px!important;
  font-weight:400!important;
  line-height:1.3!important;
  letter-spacing:.12em!important;
  color:var(--ui-muted)!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .catalogue-title{
  font-family:"EB Garamond",Garamond,Georgia,"Times New Roman",serif!important;
  font-size:18px!important;
  font-weight:400!important;
  line-height:1.25!important;
  letter-spacing:normal!important;
  text-transform:lowercase!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .catalogue-meta{
  font-family:var(--fs-ui-sans)!important;
  font-size:12px!important;
  font-weight:400!important;
  line-height:1.25!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
  margin:0!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .catalogue-copy{
  gap:4px!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-song-row,
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-media-row{
  grid-template-columns:minmax(0,1fr)!important;
  column-gap:0!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-song-row{
  min-height:64px!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-song-open{
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr)!important;
  column-gap:18px!important;
  align-items:center!important;
  min-height:64px!important;
  padding:3px 0!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-song-open>img{
  width:52px!important;
  height:52px!important;
  flex-basis:52px!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-media-row{
  min-height:68px!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-media-open{
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr)!important;
  column-gap:18px!important;
  align-items:center!important;
  min-height:68px!important;
  padding:0!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-media-art,
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-media-art img{
  width:52px!important;
  height:52px!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-media-name{
  min-height:68px!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-story-row{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  column-gap:10px!important;
  align-items:center!important;
  min-height:52px!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-story-open{
  appearance:none!important;
  border:0!important;
  background:none!important;
  color:var(--ui-ink)!important;
  padding:0!important;
  margin:0!important;
  min-width:0!important;
  min-height:50px!important;
  display:flex!important;
  align-items:center!important;
  text-align:left!important;
  cursor:pointer!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-story-play{
  justify-self:center!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-album-row{
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:18px!important;
  row-gap:0!important;
  align-items:center!important;
  min-height:68px!important;
  padding:6px 0!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-album-cover-wrap{
  grid-column:1!important;
  grid-row:1!important;
  width:52px!important;
  height:52px!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-album-cover{
  appearance:none!important;
  border:0!important;
  background:none!important;
  padding:0!important;
  margin:0!important;
  width:52px!important;
  height:52px!important;
  position:relative!important;
  display:block!important;
  cursor:pointer!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-album-cover img{
  display:block!important;
  width:52px!important;
  height:52px!important;
  object-fit:cover!important;
  box-sizing:border-box!important;
  border:1px solid var(--ui-line)!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-album-cover::before{
  content:""!important;
  position:absolute!important;
  right:4px!important;
  bottom:4px!important;
  width:20px!important;
  height:20px!important;
  background:rgba(28,29,27,.58)!important;
  pointer-events:none!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-album-cover::after{
  content:""!important;
  position:absolute!important;
  right:9px!important;
  bottom:9px!important;
  width:0!important;
  height:0!important;
  border-top:5px solid transparent!important;
  border-bottom:5px solid transparent!important;
  border-left:8px solid #f4f3ef!important;
  pointer-events:none!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-album-cover.is-pausing::after{
  right:10px!important;
  bottom:8px!important;
  width:8px!important;
  height:10px!important;
  border:0!important;
  background:linear-gradient(90deg,#f4f3ef 0 3px,transparent 3px 5px,#f4f3ef 5px 8px)!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-album-toggle{
  grid-column:2!important;
  grid-row:1!important;
  appearance:none!important;
  border:0!important;
  background:none!important;
  color:inherit!important;
  font:inherit!important;
  text-align:left!important;
  padding:0!important;
  margin:0!important;
  min-width:0!important;
  min-height:52px!important;
  display:flex!important;
  align-items:center!important;
  cursor:pointer!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-album-row:not(.is-expanded) .search-album-toggle .catalogue-title{
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:4px!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-album-row.is-expanded .search-album-toggle .catalogue-title{
  text-decoration:none!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-album-tracks{
  grid-column:2!important;
  grid-row:2!important;
  list-style:none!important;
  margin:8px 0 2px!important;
  padding:0!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-album-tracks li{
  display:block!important;
  min-height:0!important;
  color:var(--ui-ink)!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-album-track-row{
  appearance:none!important;
  border:0!important;
  background:none!important;
  color:inherit!important;
  width:100%!important;
  min-height:32px!important;
  padding:3px 0!important;
  margin:0!important;
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr) 24px!important;
  gap:6px!important;
  align-items:center!important;
  text-align:left!important;
  cursor:pointer!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-track-number{
  font-family:var(--fs-ui-sans)!important;
  font-size:11px!important;
  color:var(--ui-muted)!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-album-track-title{
  font-family:"EB Garamond",Garamond,Georgia,"Times New Roman",serif!important;
  font-size:16px!important;
  line-height:1.25!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-album-track-play{
  width:24px!important;
  height:24px!important;
  display:grid!important;
  place-items:center!important;
  justify-self:end!important;
  opacity:.8!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-album-track-play::before{
  content:""!important;
  width:0!important;
  height:0!important;
  border-top:5px solid transparent!important;
  border-bottom:5px solid transparent!important;
  border-left:8px solid currentColor!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-album-track-row.is-pausing .search-album-track-play::before{
  width:8px!important;
  height:10px!important;
  border:0!important;
  background:linear-gradient(90deg,currentColor 0 3px,transparent 3px 5px,currentColor 5px 8px)!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-result-row.is-current .catalogue-title{
  text-decoration:none!important;
}
@media(hover:hover) and (pointer:fine){
  body.single-player-ui #works-catalogue[data-catalogue-mode="search"] :is(.search-song-open,.search-media-name,.search-story-open,.search-album-toggle):hover .catalogue-title,
  body.single-player-ui #works-catalogue[data-catalogue-mode="search"] :is(.search-song-open,.search-media-name,.search-story-open,.search-album-toggle):focus-visible .catalogue-title{
    text-decoration:underline!important;
    text-decoration-thickness:1px!important;
    text-underline-offset:4px!important;
  }
}
@media(hover:none), (pointer:coarse){
  body.single-player-ui #works-catalogue[data-catalogue-mode="search"] :is(.search-result-open,.search-media-name,.search-story-open):hover .catalogue-title{
    text-decoration:none!important;
  }
  body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-album-row:not(.is-expanded) .search-album-toggle:hover .catalogue-title{
    text-decoration:underline!important;
  }
}

/* 559.63 Music/Singles/Search artwork opens the visual player and starts the song */
body.single-player-ui #works-catalogue .music-catalogue-row,
body.single-player-ui #works-catalogue .singles-catalogue-row{
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr)!important;
  column-gap:18px!important;
  align-items:center!important;
}
body.single-player-ui #works-catalogue .music-catalogue-row{
  min-height:64px!important;
}
body.single-player-ui #works-catalogue .singles-catalogue-row{
  min-height:68px!important;
}
body.single-player-ui #works-catalogue .music-library-work,
body.single-player-ui #works-catalogue .singles-library-work{
  display:flex!important;
  grid-template-columns:none!important;
  column-gap:0!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  padding:3px 0!important;
}
body.single-player-ui #works-catalogue .music-library-work{
  min-height:64px!important;
}
body.single-player-ui #works-catalogue .singles-library-work{
  min-height:68px!important;
}
body.single-player-ui #works-catalogue .music-library-art,
body.single-player-ui #works-catalogue .singles-library-art,
body.single-player-ui #works-catalogue .music-library-art img,
body.single-player-ui #works-catalogue .singles-library-art img{
  width:52px!important;
  height:52px!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-song-row{
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr)!important;
  column-gap:18px!important;
  align-items:center!important;
  min-height:64px!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-song-art,
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-song-art img{
  width:52px!important;
  height:52px!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .search-song-name{
  min-height:64px!important;
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
}

/* 559.65 Search-results field matches the transparent hamburger search */
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .catalogue-search-shell.terminal-search-shell{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .catalogue-search-shell .terminal-search-prompt{
  left:2px!important;
  font-size:15px!important;
  gap:5px!important;
}
body.single-player-ui #works-catalogue[data-catalogue-mode="search"] #catalogue-search{
  padding-left:4px!important;
  font-size:15px!important;
}

/* 559.67 prevent iOS/PWA search-focus auto-zoom from shifting centered panels */
@media(max-width:760px){
  body.single-player-ui #primary-nav .nav-header .nav-archive-search #nav-archive-query,
  body.single-player-ui #works-catalogue .catalogue-search-shell #catalogue-search{
    font-size:16px!important;
  }
  body.single-player-ui #primary-nav .nav-header .nav-archive-search .terminal-search-prompt,
  body.single-player-ui #works-catalogue[data-catalogue-mode="search"] .catalogue-search-shell .terminal-search-prompt{
    font-size:16px!important;
  }
}



/* 559.79 Tuner language filters live beside ALL; radio dot precedes label */
body.single-player-ui #works-menu .tuner-play-head{
  justify-content:flex-start!important;
}
body.single-player-ui #works-menu .tuner-type-all-row{
  display:flex;
  align-items:center;
  width:100%;
  min-width:0;
}
body.single-player-ui #works-menu .tuner-type-all-row>button[data-tuner-type]{
  width:auto!important;
  flex:1 1 auto;
  min-width:0;
}
body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-options{
  flex:0 0 auto;
  margin-left:8px!important;
  transform:none!important;
  gap:10px!important;
}
body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-options button{
  width:auto!important;
  min-height:0!important;
  padding:2px 0!important;
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  font-family:var(--fs-ui-sans)!important;
  font-size:12px!important;
  line-height:1!important;
  letter-spacing:.08em!important;
  color:var(--ui-muted)!important;
  background:transparent!important;
  border:0!important;
}
body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-options button::before{
  display:none!important;
  content:none!important;
}
body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-options button[aria-pressed="true"]{
  color:var(--ui-ink)!important;
}

/* 559.81 Anchor the minimize tooltip above and to the right of its control. */
body.single-player-ui #player-close[data-tooltip]{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
}
body.single-player-ui #player-close[data-tooltip]::after{
  left:auto!important;
  right:0!important;
  top:auto!important;
  bottom:calc(100% + 1px)!important;
  transform:translateY(1px)!important;
  text-align:right!important;
}
body.single-player-ui #player-close[data-tooltip]:focus-visible::after{
  transform:none!important;
}
@media(hover:hover) and (pointer:fine){
  body.single-player-ui #player-close[data-tooltip]:hover::after{
    transform:none!important;
  }
}
/* 559.82 Keep the artwork rail visible while the Tuner is open; motion remains paused in JS. */
body.single-player-ui .works.browse-open .rail-viewport{
  opacity:1!important;
  pointer-events:none!important;
}
/* 559.84 Tuner-open rail is a manual queue browser: visible, draggable/swipeable, no auto-scroll. */
body.single-player-ui .works.browse-open .rail-viewport{
  opacity:1!important;
  pointer-events:auto!important;
}
/* 559.86 Tuner typography refinement: language stays system; stories reads as a choice modifier. */
body.single-player-ui #works-menu .tuner-language-options button,
body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-options button{
  font-family:"IBM Plex Sans",Arial,sans-serif!important;
  font-weight:400!important;
}
body.single-player-ui #works-menu .tuner-stories h3{
  font-family:"EB Garamond",Garamond,Georgia,"Times New Roman",serif!important;
  font-size:20px!important;
  font-weight:400!important;
  line-height:1.1!important;
  letter-spacing:0!important;
  text-transform:none!important;
  color:rgba(243,242,238,.72)!important;
}
@media(max-width:760px){
  body.single-player-ui #works-menu .tuner-stories h3{
    font-size:18px!important;
  }
}
/* 559.87 Story control hierarchy: subordinate to PLAY, label attached to its slider. */
body.single-player-ui #works-menu .tuner-stories{
  border-left:0!important;
  padding-left:18px!important;
  padding-top:42px!important;
}
body.single-player-ui #works-menu .tuner-stories h3{
  font-family:"EB Garamond",Garamond,Georgia,"Times New Roman",serif!important;
  font-size:18px!important;
  font-weight:400!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-transform:none!important;
  margin:0 0 8px 0!important;
  color:rgba(243,242,238,.72)!important;
}
body.single-player-ui #works-menu .tuner-stories .tuner-meter{
  height:184px!important;
}
body.single-player-ui #works-menu .tuner-language-options button,
body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-options button{
  font-family:"IBM Plex Sans",Arial,sans-serif!important;
  font-weight:400!important;
}
@media(max-width:760px){
  body.single-player-ui #works-menu .tuner-stories{
    padding-left:14px!important;
    padding-top:35px!important;
  }
  body.single-player-ui #works-menu .tuner-stories h3{
    font-size:18px!important;
    margin-bottom:7px!important;
  }
  body.single-player-ui #works-menu .tuner-stories .tuner-meter{
    height:174px!important;
  }
}
/* 559.88 Final story-control geometry from approved mockup; preserve existing visual system. */
body.single-player-ui #works-menu .tuner-stories{
  border-left:0!important;
  padding-left:18px!important;
  padding-top:42px!important;
}
body.single-player-ui #works-menu .tuner-stories h3{
  font-family:"EB Garamond",Garamond,Georgia,"Times New Roman",serif!important;
  font-size:18px!important;
  font-weight:400!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-transform:none!important;
  margin:0 0 8px 0!important;
  color:rgba(243,242,238,.82)!important;
}
body.single-player-ui #works-menu .tuner-stories .tuner-meter{
  height:160px!important;
}
body.single-player-ui #works-menu .tuner-language-options button,
body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-options button{
  font-family:"IBM Plex Sans",Arial,sans-serif!important;
  font-weight:400!important;
}
@media(max-width:760px){
  body.single-player-ui #works-menu .tuner-stories{
    padding-left:14px!important;
    padding-top:35px!important;
  }
  body.single-player-ui #works-menu .tuner-stories h3{
    font-size:18px!important;
    margin-bottom:7px!important;
  }
  body.single-player-ui #works-menu .tuner-stories .tuner-meter{
    height:174px!important;
  }
}
/* 559.89 Optical alignment: Stories matches option scale; ENG/RU sits on the ALL text baseline. */
body.single-player-ui #works-menu .tuner-stories{
  padding-top:39px!important;
}
body.single-player-ui #works-menu .tuner-stories h3{
  font-size:20px!important;
  line-height:20px!important;
  margin-bottom:8px!important;
}
body.single-player-ui #works-menu .tuner-stories .tuner-meter{
  height:161px!important;
}
body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-options{
  transform:translateY(4px)!important;
}
@media(max-width:760px){
  body.single-player-ui #works-menu .tuner-stories{
    padding-top:41px!important;
  }
  body.single-player-ui #works-menu .tuner-stories h3{
    font-size:20px!important;
    line-height:20px!important;
    margin-bottom:8px!important;
  }
  body.single-player-ui #works-menu .tuner-stories .tuner-meter{
    height:165px!important;
  }
}
/* 559.90 Match STORIES tracking to Garamond slider-option rhythm. */
body.single-player-ui #works-menu .tuner-stories h3{
  letter-spacing:.04em!important;
}
@media(max-width:760px){
  body.single-player-ui #works-menu .tuner-stories h3{
    letter-spacing:.065em!important;
  }
}
/* 559.91 Refine language hierarchy and center ORDER without reducing label type. */
body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-options{
  gap:6px!important;
}
body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-options button{
  gap:3px!important;
  letter-spacing:.06em!important;
}
body.single-player-ui #works-menu .tuner-language-dot{
  width:8px!important;
  height:8px!important;
}
body.single-player-ui #works-menu .tuner-order-control{
  box-sizing:border-box!important;
  padding-left:10px!important;
  padding-right:10px!important;
}
body.single-player-ui #works-menu .tuner-order-options{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
}
body.single-player-ui #works-menu .tuner-order-options button,
body.single-player-ui #works-menu .tuner-order-options button:first-child,
body.single-player-ui #works-menu .tuner-order-options button:last-child{
  text-align:center!important;
  justify-content:center!important;
}
body.single-player-ui #works-menu .tuner-slider-horizontal{
  margin-left:0!important;
  margin-right:0!important;
}
/* 559.92 Bind language filters to ALL instead of letting ALL flex-fill the row. */
body.single-player-ui #works-menu .tuner-type-all-row>button[data-tuner-type="transmission"]{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
}
body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-options{
  margin-left:8px!important;
  margin-right:auto!important;
}
/* 559.93 Make language and ORDER spacing visibly balanced on mobile/desktop. */
body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-options{
  margin-left:16px!important;
  gap:12px!important;
}
body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-options button{
  gap:4px!important;
}
body.single-player-ui #works-menu .tuner-order-control{
  padding-left:20px!important;
  padding-right:20px!important;
}
body.single-player-ui #works-menu .tuner-slider-horizontal{
  margin-left:0!important;
  margin-right:0!important;
}
/* 559.94 Content-filter row: ALL | eng | ru in Garamond; tighten ORDER vertical rhythm. */
body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-options{
  margin-left:12px!important;
  margin-right:auto!important;
  gap:10px!important;
  transform:none!important;
  align-items:center!important;
}
body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-options button{
  position:relative!important;
  min-height:0!important;
  padding:0 0 0 10px!important;
  gap:0!important;
  border:0!important;
  border-left:1px solid rgba(243,242,238,.32)!important;
  background:transparent!important;
  font-family:"EB Garamond",Garamond,Georgia,"Times New Roman",serif!important;
  font-size:18px!important;
  font-weight:400!important;
  line-height:1.1!important;
  letter-spacing:.04em!important;
  text-transform:lowercase!important;
}
body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-dot{
  display:none!important;
}
body.single-player-ui #works-menu .tuner-order-control{
  gap:2px!important;
}
@media(max-width:760px){
  body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-options button{
    letter-spacing:.065em!important;
  }
}
/* 559.95 Mutually exclusive visual state for ALL | eng | ru. */
body.single-player-ui #works-menu .tuner-type-all-row>button[data-tuner-type="transmission"]{
  color:var(--ui-muted)!important;
  font-weight:400!important;
}
body.single-player-ui #works-menu .tuner-type-all-row>button[data-tuner-type="transmission"].is-language-active{
  color:var(--ui-ink)!important;
  font-weight:500!important;
}
body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-options button{
  color:var(--ui-muted)!important;
  font-weight:400!important;
}
body.single-player-ui #works-menu .tuner-type-all-row .tuner-language-options button[aria-pressed="true"]{
  color:var(--ui-ink)!important;
  font-weight:500!important;
}
/* 559.96 Make the whole album cover read as clickable, not only its play glyph. */
.album-cover-toggle[data-album-direct-play]{
  outline:1px solid transparent!important;
  outline-offset:2px!important;
}
.album-cover-toggle[data-album-direct-play] img{
  transition:filter .16s ease,box-shadow .16s ease,border-color .16s ease!important;
}
@media(hover:hover) and (pointer:fine){
  .album-cover-toggle[data-album-direct-play]:hover img{
    filter:brightness(1.10) contrast(1.03)!important;
    border-color:rgba(243,242,238,.78)!important;
    box-shadow:0 0 0 1px rgba(243,242,238,.34),0 6px 18px rgba(0,0,0,.22)!important;
  }
  .album-cover-toggle[data-album-direct-play]:hover::before{
    background:rgba(28,29,27,.76)!important;
  }
}
.album-cover-toggle[data-album-direct-play]:focus-visible{
  outline-color:rgba(243,242,238,.78)!important;
}
.album-cover-toggle[data-album-direct-play]:focus-visible img{
  filter:brightness(1.10) contrast(1.03)!important;
  border-color:rgba(243,242,238,.78)!important;
  box-shadow:0 0 0 1px rgba(243,242,238,.34)!important;
}
/* 559.97 Optically bottom-align album count and expand-all control. */
body.single-player-ui .albums-summary{
  align-items:baseline!important;
}
/* 559.98 Give underlined album titles a clear interactive hover/focus response. */
.album-card:not(.is-expanded) .album-heading-toggle .album-name{
  text-decoration-color:rgba(243,242,238,.52)!important;
  transition:color .15s ease,text-decoration-color .15s ease,text-shadow .15s ease!important;
}
@media(hover:hover) and (pointer:fine){
  .album-card:not(.is-expanded) .album-heading-toggle:hover .album-name{
    color:var(--ui-ink)!important;
    text-decoration-color:var(--ui-ink)!important;
    text-shadow:0 0 10px rgba(243,242,238,.18)!important;
  }
}
.album-card:not(.is-expanded) .album-heading-toggle:focus-visible .album-name{
  color:var(--ui-ink)!important;
  text-decoration-color:var(--ui-ink)!important;
  text-shadow:0 0 10px rgba(243,242,238,.18)!important;
}
/* 559.99 Unify metadata outside Albums; keep collection links lowercase and optically balanced. */
body.single-player-ui #works-catalogue .catalogue-meta{
  font-family:var(--fs-ui-sans)!important;
  font-size:12px!important;
  font-weight:400!important;
  line-height:1.25!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
  color:var(--ui-muted)!important;
}
body.single-player-ui #works-catalogue .catalogue-meta .music-album-link{
  font-family:var(--fs-ui-sans)!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.25!important;
  letter-spacing:.045em!important;
  text-transform:lowercase!important;
  color:inherit!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:3px!important;
  vertical-align:baseline!important;
}
/* 560.00 Specificity fix: linked collection names stay lowercase inside catalogue metadata. */
body.single-player-ui #works-catalogue[data-catalogue-mode] .catalogue-meta .music-album-link{
  font-family:var(--fs-ui-sans)!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.25!important;
  letter-spacing:.045em!important;
  text-transform:lowercase!important;
  color:inherit!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:3px!important;
  vertical-align:baseline!important;
}
/* 560.01 Album release metadata: system date/type in caps; track count stays descriptive lowercase. */
body.single-player-ui .albums-panel .album-meta-date,
body.single-player-ui .albums-panel .album-meta-type{
  text-transform:uppercase!important;
}
body.single-player-ui .albums-panel .album-meta-count{
  text-transform:lowercase!important;
}
/* 560.02 Robust video compositing on iOS/Safari: poster fallback below iframe, loading mask above it. */
body.single-player-ui .player-video-shell{
  isolation:isolate!important;
  background:#0d0d0c!important;
}
body.single-player-ui .player-video-shell:not(.is-music) .player-artwork{
  display:block!important;
  z-index:0!important;
}
body.single-player-ui .player-video-shell #youtube-player,
body.single-player-ui .player-video-shell iframe{
  z-index:1!important;
  -webkit-transform:translateZ(0)!important;
  transform:translateZ(0)!important;
  -webkit-backface-visibility:hidden!important;
  backface-visibility:hidden!important;
}
body.single-player-ui .player-video-shell.has-video-cover .player-artwork{
  display:block!important;
  z-index:2!important;
}
/* 560.05 Desktop Story reader becomes an opaque reading aperture inside the persistent world. */
@media(min-width:761px){
  body.single-player-ui .player-insight-panel{
    inset:auto!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    width:min(860px,calc(100vw - 96px))!important;
    height:min(900px,calc(100dvh - 72px))!important;
    max-width:860px!important;
    max-height:calc(100dvh - 72px)!important;
    padding:30px clamp(42px,5vw,68px) 34px!important;
    overflow:hidden!important;
    background:#1c201e!important;
    border:1px solid var(--ui-line)!important;
    border-radius:2px!important;
    box-shadow:0 24px 72px rgba(0,0,0,.32)!important;
  }
  body.single-player-ui .player-insight-panel :is(.player-insight-head,.player-insight-transport,.player-insight-copy){
    width:min(720px,100%)!important;
  }
}
@media(max-width:760px){
  body.single-player-ui .player-insight-panel{
    inset:0!important;
    left:auto!important;
    top:auto!important;
    transform:none!important;
    width:100vw!important;
    height:100dvh!important;
    max-width:none!important;
    max-height:none!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
}
/* 560.08 Give desktop Story copy a clear gutter before its scrollbar. */
@media(min-width:761px){
  body.single-player-ui .player-insight-copy{
    box-sizing:border-box!important;
    padding-right:38px!important;
    scrollbar-gutter:stable!important;
  }
}
/* 560.11 Story reader header uses the same structural grammar as library headers. */
@media(min-width:761px){
  body.single-player-ui .player-insight-head{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr) 34px!important;
    align-items:center!important;
    gap:12px!important;
    min-height:44px!important;
  }
  body.single-player-ui #player-insight-back{
    grid-column:1!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    padding:0!important;
    justify-self:start!important;
  }
  body.single-player-ui #player-insight-title{
    grid-column:2!important;
    justify-self:start!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    text-align:left!important;
    font-family:var(--fs-ui-sans)!important;
    font-size:14px!important;
    font-weight:400!important;
    line-height:1!important;
    letter-spacing:.19em!important;
    text-transform:uppercase!important;
  }
  body.single-player-ui .player-insight-actions{
    grid-column:3!important;
    justify-self:end!important;
    width:34px!important;
    height:34px!important;
    gap:0!important;
  }
  body.single-player-ui #player-insight-close{
    display:grid!important;
    place-items:center!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:none!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:27px!important;
    font-weight:200!important;
    line-height:1!important;
  }
}
/* 560.12 Normalize Story header + transport control cells to one grid. */
@media(min-width:761px){
  body.single-player-ui .player-insight-actions #player-insight-close{
    display:grid!important;
    place-items:center!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    margin:0!important;
    padding:0!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:27px!important;
    font-weight:200!important;
    line-height:1!important;
  }
  body.single-player-ui .player-insight-transport{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr) 88px!important;
    align-items:center!important;
    gap:12px!important;
  }
  body.single-player-ui .player-insight-transport #player-insight-listen{
    display:grid!important;
    place-items:center!important;
    justify-self:start!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    padding:0!important;
  }
  body.single-player-ui .player-insight-transport #player-insight-progress{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }
  body.single-player-ui .player-insight-transport .player-insight-time{
    width:88px!important;
    min-width:88px!important;
    justify-content:flex-end!important;
  }
}
/* 560.13 Add a single Next Story control to the reader transport. */
body.single-player-ui .player-insight-next{
  appearance:none!important;
  border:0!important;
  background:none!important;
  color:var(--ui-ink)!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  flex:none!important;
  cursor:pointer!important;
  opacity:.82;
}
body.single-player-ui .player-insight-next svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.5!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.single-player-ui .player-insight-next:hover,
body.single-player-ui .player-insight-next:focus-visible{opacity:1!important}
body.single-player-ui .player-insight-next:focus-visible{
  outline:1px solid currentColor!important;
  outline-offset:3px!important;
}
body.single-player-ui .player-insight-next:disabled{
  opacity:.24!important;
  cursor:default!important;
}
@media(min-width:761px){
  body.single-player-ui .player-insight-transport{
    grid-template-columns:34px minmax(0,1fr) 88px 34px!important;
    gap:12px!important;
  }
  body.single-player-ui .player-insight-next{
    justify-self:end!important;
  }
}

/* 560.14 Tooltips: no text halo; expanded-player minimize has no tooltip. */
body.single-player-ui [data-tooltip]::after{
  text-shadow:none!important;
}
body.single-player-ui #player-close::after{
  display:none!important;
  content:none!important;
}

/* 560.14 Story transport: match Play and Next visual geometry. */
body.single-player-ui .player-insight-listen svg,
body.single-player-ui .player-insight-next svg{
  width:18px!important;
  height:18px!important;
}
@media(min-width:761px){
  body.single-player-ui .player-insight-transport #player-insight-listen{
    justify-self:start!important;
  }
  body.single-player-ui .player-insight-transport #player-insight-next{
    justify-self:end!important;
  }
}
/* 560.15 Match Story Play and Next glyph size exactly. */
body.single-player-ui #player-insight-listen svg,
body.single-player-ui #player-insight-next svg{
  width:20px!important;
  height:20px!important;
}
/* 560.16 Mobile Story frame: shared left/right control centerlines. */
@media(max-width:760px){
  body.single-player-ui .player-insight-head{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr) 34px!important;
    align-items:center!important;
    gap:8px!important;
  }
  body.single-player-ui #player-insight-back{
    grid-column:1!important;
    justify-self:start!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    padding:0!important;
  }
  body.single-player-ui #player-insight-title{
    grid-column:2!important;
    justify-self:start!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    text-align:left!important;
  }
  body.single-player-ui .player-insight-actions{
    grid-column:3!important;
    justify-self:end!important;
    width:34px!important;
    height:34px!important;
    gap:0!important;
  }
  body.single-player-ui .player-insight-actions #player-insight-close{
    display:grid!important;
    place-items:center!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    margin:0!important;
    padding:0!important;
  }
  body.single-player-ui .player-insight-transport{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr) 88px 34px!important;
    align-items:center!important;
    gap:10px!important;
  }
  body.single-player-ui .player-insight-transport #player-insight-listen{
    display:grid!important;
    place-items:center!important;
    justify-self:start!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    padding:0!important;
  }
  body.single-player-ui .player-insight-transport #player-insight-progress{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }
  body.single-player-ui .player-insight-transport .player-insight-time{
    width:88px!important;
    min-width:88px!important;
    justify-content:flex-end!important;
  }
  body.single-player-ui .player-insight-transport #player-insight-next{
    justify-self:end!important;
  }
}
/* 560.17 Story reading surface: soft translucent near-black, distinct from utility menus. */
@media(min-width:761px){
  body.single-player-ui .player-insight-panel{
    background:rgba(17,20,18,.91)!important;
    -webkit-backdrop-filter:blur(10px) saturate(.72)!important;
    backdrop-filter:blur(10px) saturate(.72)!important;
    border:1px solid rgba(255,255,255,.06)!important;
    box-shadow:0 18px 52px rgba(0,0,0,.18)!important;
  }
}
@media(max-width:760px){
  body.single-player-ui .player-insight-panel{
    background:rgba(17,20,18,.94)!important;
    -webkit-backdrop-filter:blur(10px) saturate(.72)!important;
    backdrop-filter:blur(10px) saturate(.72)!important;
    border:0!important;
    box-shadow:none!important;
  }
}
/* 560.18 Allow Garamond descenders to render outside the compact heading box. */
body.single-player-ui .player-heading{
  overflow:visible!important;
}
/* 560.20 Touch-only archive search affordance: persistent label + terminal cursor. */
@media(max-width:760px), (hover:none), (pointer:coarse){
  body.single-player-ui #primary-nav .nav-header .nav-archive-search .terminal-search-prompt{
    font-size:13px!important;
    gap:5px!important;
  }
  body.single-player-ui #primary-nav .nav-header .nav-archive-search #nav-search-hint::before{
    content:'search';
    color:var(--ui-muted)!important;
  }
}
/* 560.21 Story-local search: small inactive label, full-size input when typing. */
body.single-player-ui #works-catalogue[data-stories-only="true"] #catalogue-search::placeholder{
  font-family:var(--fs-ui-sans)!important;
  font-size:13px!important;
  color:var(--ui-muted)!important;
  opacity:1!important;
}