:root {
  --navy: #071b2f;
  --navy-2: #0d2d49;
  --orange: #ef6b2e;
  --gold: #f5b942;
  --cream: #f7f1e6;
  --ink: #14202b;
  --muted: #65717b;
  --line: #d9d7cf;
  --white: #fff;
  --shadow: 0 22px 70px rgba(3, 20, 35, .16);
}

* { box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { max-width: 100%; margin: 0; overflow-x: hidden; background: var(--cream); color: var(--ink); font-family: Inter, sans-serif; }
button, input { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: #fff; padding: .8rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.project-bar { min-height: 35px; display: grid; place-items: center; padding: .45rem 1rem; background: #03111f; color: #9fb0bd; font-size: .7rem; letter-spacing: .11em; text-align: center; text-transform: uppercase; }
.project-bar a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; }
.project-bar strong { color: var(--gold); font-weight: 800; }
.project-bar a:hover { color: #fff; }
.project-bar a:hover strong { color: #ffd56f; }

.hero { min-height: min(740px, 86vh); position: relative; display: flex; flex-direction: column; color: #fff; background: #081f34 url("assets/images/hero-desktop.webp?v=109") center 58% / cover no-repeat fixed; overflow: hidden; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 13, 25, .78) 0%, rgba(2, 13, 25, .58) 36%, rgba(2, 13, 25, .16) 72%), linear-gradient(0deg, rgba(2, 13, 25, .56), transparent 50%); }
.site-nav { position: relative; z-index: 2; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 1.35rem 0 .65rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .9rem; color: #fff; text-decoration: none; filter: drop-shadow(0 5px 18px rgba(0,0,0,.46)); }
.brand-logo { width: min(430px, 72vw); height: auto; display: block; }
.hero-content { position: relative; z-index: 1; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 1.2rem 0 5.2rem; }
.eyebrow { margin: 0 0 .8rem; color: var(--gold); font-size: .77rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.dark { color: #b44f20; }
h1, h2 { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; }
h1 { max-width: 900px; margin: 0; font-size: clamp(3.65rem, 7.8vw, 7rem); line-height: .88; letter-spacing: -.03em; text-transform: none; text-wrap: balance; }
.hero-copy { max-width: 600px; margin: 1.2rem 0 2rem; font-size: clamp(1rem, 1.45vw, 1.14rem); line-height: 1.72; color: #ecf2f6; }
.primary-button { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: .18rem; min-width: 248px; min-height: 84px; border: 1px solid rgba(125, 75, 0, .24); border-radius: 22px; padding: 1rem 1.3rem; background: linear-gradient(180deg, #ffd36a, var(--gold)); color: var(--navy); box-shadow: 0 16px 34px rgba(245, 185, 66, .24); font-weight: 800; text-decoration: none; cursor: pointer; text-align: center; }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 18px 36px rgba(245, 185, 66, .28); }
.primary-button .button-main { font-family: "Barlow Condensed", sans-serif; font-size: 1.8rem; line-height: .95; letter-spacing: .02em; text-transform: uppercase; }
.primary-button .button-sub { font-size: .78rem; line-height: 1.1; letter-spacing: .035em; }

main { position: relative; z-index: 3; background: var(--cream); }
.catalog-section { width: 100%; max-width: 1180px; min-width: 0; margin: 0 auto; padding: 3rem 20px 4.5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: .9rem; }
.section-heading h2, .purpose-card h2, .closing-section h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 4.6rem); line-height: .92; color: var(--navy); }
.section-heading p:not(.eyebrow) { color: var(--muted); }
.catalog-controls { width: 100%; min-width: 0; margin-bottom: 2rem; padding: 1rem; border: 1px solid rgba(7,27,47,.13); border-radius: 18px; background: rgba(255,255,255,.68); box-shadow: 0 8px 26px rgba(7,27,47,.055); }
.catalog-find-row, .catalog-play-row { display: flex; align-items: center; justify-content: space-between; gap: .85rem; }
.catalog-search { flex: 1 1 330px; max-width: 470px; min-height: 42px; display: flex; align-items: center; gap: .55rem; padding: 0 .9rem; border: 1px solid #cfd3d3; border-radius: 999px; background: #fff; color: var(--muted); }
.catalog-search > span:first-child { font-size: 1.35rem; line-height: 1; transform: rotate(-15deg); }
.catalog-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .85rem; }
.catalog-search input::placeholder { color: #74808a; opacity: 1; }
.filter-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .6rem 1rem; border: 1px solid var(--navy); border-radius: 999px; background: transparent; color: var(--navy); font-size: .82rem; font-weight: 800; }
.filter-button[aria-expanded="true"] { background: var(--navy); color: #fff; }
.filter-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 .3rem; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: .68rem; }
.filter-count[hidden], .filter-panel[hidden] { display: none; }
.filter-panel { margin-top: .85rem; padding: 1rem; border: 1px solid rgba(7,27,47,.12); border-radius: 14px; background: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.filter-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .85rem; border-bottom: 1px solid rgba(7,27,47,.1); }
.filter-panel-heading strong, .filter-panel-heading span { display: block; }
.filter-panel-heading strong { color: var(--navy); font-family: "Barlow Condensed", sans-serif; font-size: 1.35rem; letter-spacing: .02em; text-transform: uppercase; }
.filter-panel-heading span { margin-top: .16rem; color: var(--muted); font-size: .75rem; }
.clear-filters { border: 0; background: transparent; color: #ad4a20; font-size: .72rem; font-weight: 800; cursor: pointer; }
.filter-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-top: .95rem; }
.filter-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.filter-group legend { margin-bottom: .55rem; color: var(--navy); font-size: .69rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.filter-options { display: flex; flex-wrap: wrap; gap: .38rem; }
.filter-chip { min-height: 31px; padding: .35rem .65rem; border: 1px solid #cfd3d3; border-radius: 999px; background: #f7f7f4; color: #34424d; font-size: .69rem; font-weight: 700; cursor: pointer; }
.filter-chip:hover { border-color: var(--navy); }
.filter-chip[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color: var(--navy); box-shadow: 0 3px 8px rgba(245,185,66,.25); }
.filter-preview-note { margin: .85rem 0 0; color: #7a858d; font-size: .66rem; font-style: italic; }
.catalog-views { width: 100%; max-width: 100%; display: flex; gap: .42rem; margin: .85rem 0; padding: .7rem 0; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; border-top: 1px solid rgba(7,27,47,.1); border-bottom: 1px solid rgba(7,27,47,.1); scrollbar-width: thin; }
.catalog-view { flex: 0 0 auto; min-height: 34px; padding: .42rem .8rem; border: 1px solid rgba(7,27,47,.2); border-radius: 999px; background: #fff; color: var(--navy); font-size: .75rem; font-weight: 800; white-space: nowrap; }
.catalog-view.active { border-color: var(--navy); background: var(--navy); color: #fff; }
.preview-control { cursor: default; }
.catalog-result-count { flex: 0 0 auto; margin: 0; color: var(--muted); font-size: .72rem; font-weight: 700; white-space: nowrap; }
.collection-actions { display: flex; align-items: stretch; gap: .65rem; flex-wrap: wrap; justify-content: flex-start; }
.control-button, .icon-button { min-height: 42px; border: 1px solid var(--navy); border-radius: 999px; padding: .62rem .84rem; background: var(--navy); color: #fff; font-size: .82rem; font-weight: 700; cursor: pointer; }
.control-button.secondary, .icon-button { background: transparent; color: var(--navy); }
.icon-button { width: 44px; padding-inline: 0; font-size: 1.3rem; }
.control-button.play-all-control { background: var(--orange); border-color: var(--orange); }
.control-button.stacked-control { min-width: 0; min-height: 58px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: .12rem; line-height: 1.05; }
.stacked-control .control-main { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font-size: .94rem; font-weight: 800; }
.stacked-control .control-sub { font-size: .7rem; font-weight: 700; letter-spacing: .045em; opacity: .84; }
.control-button.play-all-control .control-main { font-size: 1.04rem; }
.control-button.play-all-control .control-sub { font-size: .76rem; }
.control-button.ride-list-control { min-height: 48px; border-color: #d49a24; background: linear-gradient(180deg, #ffd978, var(--gold)); color: var(--navy); box-shadow: 0 4px 10px rgba(166,109,0,.16); }
.control-button.ride-list-control:hover { border-color: #a86f05; background: #ffcf58; box-shadow: 0 6px 14px rgba(166,109,0,.22); }
.control-button.ride-list-control .control-sub { opacity: .76; }

.catalog-display-row { display: flex; justify-content: flex-end; margin: 0 0 .85rem; }
.catalog-layout-switch { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid rgba(7,27,47,.16); border-radius: 14px; background: rgba(255,255,255,.78); box-shadow: 0 5px 16px rgba(7,27,47,.06); }
.catalog-layout-label { padding: 0 .55rem; color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.layout-button { display: inline-flex; align-items: center; justify-content: center; gap: .42rem; min-height: 38px; padding: .48rem .78rem; border: 0; border-radius: 10px; background: transparent; color: var(--navy); font-size: .75rem; font-weight: 800; cursor: pointer; }
.layout-button.active { background: var(--navy); color: #fff; box-shadow: 0 4px 12px rgba(7,27,47,.18); }
.layout-grid-icon { display: grid; grid-template-columns: repeat(2, 5px); gap: 2px; }
.layout-grid-icon i { width: 5px; height: 5px; border: 1.5px solid currentColor; border-radius: 1px; }
.layout-list-icon { display: grid; gap: 2px; }
.layout-list-icon i { width: 13px; height: 2px; border-radius: 2px; background: currentColor; }
.list-column-headings { display: none; grid-template-columns: minmax(280px, 1fr) minmax(145px, 190px) 84px 100px; gap: 1rem; padding: 0 1rem .38rem; color: #6b7882; font-size: .63rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.list-column-headings.visible { display: grid; }
.list-column-headings span:nth-child(n+2) { text-align: center; }

.song-list { width: 100%; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.song-card { position: relative; isolation: isolate; width: 100%; min-width: 0; max-width: 100%; align-self: start; overflow: hidden; display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto; align-items: start; gap: .45rem; padding: .9rem 1rem .72rem; background: rgba(255,255,255,.76); border: 1px solid rgba(10, 36, 58, .12); border-radius: 18px; box-shadow: 0 6px 24px rgba(10, 36, 58, .05); transition: transform .2s, box-shadow .2s, border-color .2s, background-color .25s; }
.song-card > * { position: relative; z-index: 1; }
.song-card::before { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(112deg, transparent 9%, rgba(255,255,255,.7) 35%, rgba(255,205,113,.48) 49%, rgba(239,107,46,.14) 61%, transparent 87%); transform: translateX(-120%); }
.song-card.on-ride-list { border-color: rgba(10,36,58,.12); box-shadow: 0 6px 24px rgba(10,36,58,.05); }
.song-card:hover, .song-card.playing { transform: translateY(-2px); box-shadow: 0 14px 35px rgba(10, 36, 58, .12); border-color: rgba(239,107,46,.48); }
.song-card.on-ride-list:hover { box-shadow: 0 14px 35px rgba(10,36,58,.12); }
.song-card.playing { background: #ffe5b8; border-color: rgba(239,107,46,.58); box-shadow: 0 10px 34px rgba(239,107,46,.25), 0 3px 11px rgba(10,36,58,.09); animation: active-card-breathe 2.6s ease-in-out infinite; }
.song-card.playing::before { opacity: 1; animation: road-light 3.2s linear infinite; }
@keyframes road-light { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
@keyframes active-card-breathe { 0%, 100% { box-shadow: 0 9px 28px rgba(239,107,46,.2), 0 3px 10px rgba(10,36,58,.08); } 50% { box-shadow: 0 13px 39px rgba(239,107,46,.34), 0 4px 14px rgba(10,36,58,.12); } }
.track-number { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; font-family: "Barlow Condensed", sans-serif; font-size: 1.45rem; font-weight: 800; }
.song-identity { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.song-cover-button { position: relative; flex: 0 0 auto; width: 48px; height: 48px; padding: 0; overflow: hidden; border: 0; border-radius: 9px; background: #071b2f; box-shadow: 0 4px 12px rgba(3, 20, 35, .18); cursor: pointer; }
.song-cover { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; transition: transform .2s ease, filter .2s ease; }
.song-cover-play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(7,27,47,.78); color: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.28); transition: transform .2s ease, background .2s ease; }
.song-cover-play .play-symbol { border-top-width: 5px; border-bottom-width: 5px; border-left-width: 8px; }
.song-cover-play .pause-icon { width: 13px; height: 13px; }
.song-card.playing .song-cover { filter: brightness(.78) saturate(1.08); transform: scale(1.025); }
.song-card.playing .song-cover-play { border-color: rgba(255,255,255,.9); background: rgba(239,107,46,.9); box-shadow: 0 0 0 4px rgba(239,107,46,.2), 0 4px 14px rgba(0,0,0,.32); }
.card-equalizer { height: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 2px; }
.card-equalizer i { width: 3px; height: 8px; display: block; border-radius: 3px; background: #fff; transform-origin: center; animation: card-level .72s ease-in-out infinite; }
.card-equalizer i:nth-child(2) { height: 13px; animation-delay: -.42s; }
.card-equalizer i:nth-child(3) { height: 10px; animation-delay: -.2s; }
@keyframes card-level { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.song-cover-button:hover .song-cover, .song-cover-button:focus-visible .song-cover { transform: scale(1.05); filter: brightness(.83); }
.song-cover-button:hover .song-cover-play, .song-cover-button:focus-visible .song-cover-play { transform: scale(1.08); background: var(--orange); }
.song-cover-button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.song-title { margin: 0; font-size: 1.35rem; font-weight: 800; }
.song-artist { margin: .28rem 0 0; color: var(--muted); font-size: .82rem; }
.song-heading-copy { min-width: 0; }
.song-heading-copy[role="button"] { cursor: pointer; border-radius: 8px; }
.song-heading-copy[role="button"]:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.song-button.list-ride-toggle { display: none; }
.song-secondary-controls { min-width: 0; max-width: 100%; align-self: end; display: grid; grid-template-columns: minmax(145px, 1fr) repeat(4, 38px); align-items: stretch; width: 100%; border-top: 1px solid #e1e2e2; }
.song-card-footer { min-width: 0; max-width: 100%; align-self: end; display: grid; gap: 0; width: 100%; }
.song-secondary-controls .song-button { min-height: 32px; padding: .22rem .22rem; gap: .26rem; font-size: .66rem; }
.song-secondary-controls .action-icon { width: 19px; height: 19px; }
.song-secondary-controls .youtube-icon { width: 21px; height: 15px; transform: none; }
.song-list:not(.list-view) .song-secondary-controls .action-button > span:last-child { display: none; }
.song-list:not(.list-view) .song-secondary-controls .action-button { padding-inline: 0; }
.song-secondary-controls .toolbar-ride-toggle { width: 100%; min-height: 34px; height: 100%; padding: .25rem .38rem; border: 0; border-radius: 0; box-shadow: none; background: transparent; font-size: .69rem; }
.song-secondary-controls .toolbar-ride-toggle:hover { border-radius: 7px; background: rgba(7,27,47,.06); }
.song-secondary-controls .toolbar-ride-toggle.active { border: 0; border-radius: 7px; box-shadow: inset 0 0 0 1px #d49a24; background: linear-gradient(180deg, #ffd978, var(--gold)); color: var(--navy); }
.song-button { min-height: 42px; border: 0; border-radius: 8px; padding: .45rem .72rem; background: transparent; color: var(--navy); font-size: .76rem; font-weight: 700; cursor: pointer; text-decoration: none; }
.song-button.play { display: inline-flex; align-items: center; justify-content: center; gap: .42rem; width: auto; height: 36px; min-height: 36px; padding: .4rem .78rem; border-radius: 999px; background: var(--orange); color: #fff; box-shadow: 0 6px 15px rgba(239, 107, 46, .22); white-space: nowrap; }
.song-button.play:hover { background: #d95720; transform: translateY(-1px); }
.play-symbol { display: block; width: 0; height: 0; margin-left: 1px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.pause-symbol { display: inline-flex; align-items: stretch; justify-content: center; gap: 4px; width: 10px; height: 12px; }
.pause-symbol::before, .pause-symbol::after { content: ""; position: static; flex: 0 0 3px; width: 3px; height: 12px; border-radius: 2px; background: currentColor; }
.pause-icon { display: block; width: 16px; height: 16px; fill: currentColor; shape-rendering: crispEdges; }
.song-button.action-button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .42rem; border-left: 1px solid #d8dadd; border-radius: 0; white-space: nowrap; }
.song-button.action-button:hover { background: rgba(7, 27, 47, .06); border-radius: 8px; }
.action-icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.song-button.youtube-button { color: #111; }
.song-button.youtube-button .youtube-icon { display: inline-grid; place-items: center; width: 23px; height: 16px; border-radius: 4px; background: #ff0033; color: #fff; font-size: 8px; line-height: 1; padding-left: 1px; }
.song-button:disabled { cursor: wait; opacity: .65; }
.song-button.ride-list-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .34rem; min-height: 30px; padding: .28rem .6rem; border: 1px solid rgba(7, 27, 47, .3); border-radius: 999px; background: rgba(255,255,255,.82); box-shadow: 0 2px 7px rgba(7,27,47,.07); font-size: .68rem; white-space: nowrap; }
.song-button.ride-list-toggle:hover { border-radius: 999px; border-color: var(--navy); background: #fff; }
.song-button.ride-list-toggle.active { color: var(--navy); background: #fff; border-color: #d49a24; border-radius: 999px; box-shadow: 0 4px 11px rgba(212,154,36,.17); }
.ride-list-toggle .ride-list-mark { flex: 0 0 22px; width: 22px; height: 22px; }
.ride-list-toggle > span { flex: 0 0 auto; }
.ride-list-mark .bookmark-fill { fill: var(--navy); stroke: var(--navy); }
.ride-list-mark .bookmark-check { fill: none; stroke: #fff; stroke-width: 2.2; }
.song-button.ride-list-toggle.active .bookmark-fill { fill: var(--navy); stroke: var(--navy); }
.song-button.ride-list-toggle.active .bookmark-check { stroke: var(--gold); }
.song-secondary-controls .song-button.toolbar-ride-toggle { width: 100%; min-height: 34px; height: 100%; padding: .25rem .38rem; border: 0; border-radius: 0; box-shadow: none; background: transparent; font-size: .69rem; }
.song-secondary-controls .song-button.toolbar-ride-toggle:hover { border: 0; border-radius: 7px; background: rgba(7,27,47,.06); }
.song-secondary-controls .song-button.toolbar-ride-toggle.active { border: 0; border-radius: 7px; box-shadow: inset 0 0 0 1px #d49a24; background: #fff; color: var(--navy); }
.song-stats { display: flex; align-items: center; justify-content: center; gap: .3rem; min-height: 12px; margin: 0 0 -.75rem; padding: 1px 0 0; color: #5b6872; font-size: .63rem; font-weight: 700; line-height: 1; white-space: nowrap; }
body:not(.show-card-stats) .song-list:not(.list-view) .song-stats { display: none !important; }
.stat-metric { display: inline-flex; align-items: center; gap: .22rem; white-space: nowrap; }
.song-stats .stat-separator { color: #a2a9ae; }
.song-stats .stat-value { color: var(--navy); font-weight: 800; }
.ride-count { display: inline; }
.song-secondary-controls .song-button { width: 100%; }

.song-list.list-view { grid-template-columns: 1fr; gap: .5rem; }
.song-list.list-view .song-card { grid-template-columns: minmax(280px, 1fr) minmax(145px, 190px) 84px 100px; grid-template-rows: auto; align-items: center; gap: 1rem; padding: .52rem 1rem; border-radius: 14px; }
.song-list.list-view .song-card:hover, .song-list.list-view .song-card.playing { transform: translateY(-1px); }
.song-list.list-view .song-identity { grid-column: 1; grid-row: 1; }
.song-list.list-view .song-cover-button { width: 52px; height: 52px; border-radius: 9px; }
.song-list.list-view .song-cover-play { width: 26px; height: 26px; }
.song-list.list-view .song-title { font-size: 1.02rem; }
.song-list.list-view .song-artist { margin-top: .12rem; font-size: .7rem; }
.song-list.list-view .toolbar-ride-toggle { display: none; }
.song-list.list-view .list-ride-toggle { display: inline-flex; grid-column: 2; grid-row: 1; justify-self: center; align-items: center; justify-content: center; gap: .3rem; white-space: nowrap; }
.song-list.list-view .song-card-footer { grid-column: 3 / 5; grid-row: 1; align-self: center; display: grid; grid-template-columns: 84px 100px; align-items: center; gap: 1rem; width: 100%; }
.song-list.list-view .song-secondary-controls { grid-column: 2; grid-row: 1; align-self: center; display: block; width: auto; border: 0; }
.song-list.list-view .song-secondary-controls .song-button { display: none; }
.song-list.list-view .song-secondary-controls [data-download] { display: inline-flex; min-height: 32px; padding: .3rem .55rem; border: 1px solid rgba(7,27,47,.18); border-radius: 9px; }
.song-list.list-view .song-stats { grid-column: 1; grid-row: 1; align-self: center; min-height: 0; margin: 0; padding: 0; font-size: .72rem; }
.song-list.list-view .song-stats > * { display: none; }
.song-list.list-view .song-stats .stat-metric:first-child { display: inline-flex; }
.song-list:not(.list-view) .list-ride-toggle { display: none !important; }

.purpose-card { max-width: 1140px; margin: 1.5rem auto 6rem; padding: clamp(.9rem, 1.7vw, 1.2rem); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(1.35rem, 2.7vw, 2.35rem); align-items: center; overflow: hidden; background: #fff; border: 1px solid rgba(7,27,47,.11); border-radius: 28px; box-shadow: var(--shadow); }
.purpose-art { position: relative; align-self: center; width: 100%; min-height: 0; aspect-ratio: 2.36 / 1; overflow: hidden; border-radius: 20px; background: #06162b; cursor: default; -webkit-tap-highlight-color: transparent; user-select: none; }
.purpose-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); border-radius: inherit; }
.purpose-art img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; }
.purpose-copy { padding: clamp(.45rem, 1.25vw, 1rem) clamp(.7rem, 1.8vw, 1.5rem) clamp(.55rem, 1.5vw, 1.1rem) 0; }
.purpose-card h2 { max-width: 650px; font-size: clamp(2.45rem, 4vw, 4rem); }
.purpose-card p:not(.eyebrow) { max-width: 680px; margin: 1.05rem 0 1.4rem; color: #52616d; line-height: 1.7; }
.purpose-button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .8rem 1.05rem; border-radius: 999px; background: var(--navy); color: #fff; box-shadow: 0 8px 22px rgba(7,27,47,.16); font-size: .82rem; font-weight: 800; text-decoration: none; }
.purpose-button:hover { background: var(--orange); }

.closing-section { padding: 7rem 20px; text-align: center; color: #fff; background: linear-gradient(120deg, #071b2f, #164b6e); }
.closing-section h2 { color: #fff; }
.closing-section > p:not(.eyebrow) { color: #dce7ee; }
.closing-actions { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.text-link { color: #fff; font-weight: 700; }
footer { padding: 2.2rem max(20px, calc((100vw - 1140px) / 2)); display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; gap: 2rem; background: #03111f; color: #c3d0da; font-size: .78rem; }
footer strong, footer span { display: block; }
footer strong { color: #fff; font-family: "Barlow Condensed", sans-serif; font-size: 1.4rem; letter-spacing: .08em; }
.license-copy { margin: 0; line-height: 1.55; }
.license-copy a { color: var(--gold); font-weight: 800; }
.license-copy span { margin-top: .3rem; color: #fff; font-weight: 700; }
.footer-links { display: flex; flex-direction: column; gap: .45rem; text-align: right; }

.player { position: fixed; z-index: 20; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(1080px, calc(100% - 24px)); display: grid; grid-template-columns: minmax(120px, .8fr) auto minmax(140px, 2fr) 86px auto; gap: .72rem; align-items: center; padding: .7rem .85rem; border-radius: 16px; background: rgba(3, 17, 31, .96); color: #fff; box-shadow: 0 18px 60px rgba(0,0,0,.35); backdrop-filter: blur(12px); }
.player[hidden] { display: none; }
.player button { border: 0; color: #fff; background: transparent; cursor: pointer; }
.player-transport { display: flex; align-items: center; justify-content: center; gap: .24rem; }
.player-main { width: 34px; height: 34px; display: inline-grid; place-items: center; padding: 0; border-radius: 50% !important; background: var(--orange) !important; font-weight: 800; }
.player-main .play-symbol, .expanded-main .play-symbol { border-top-width: 7px; border-bottom-width: 7px; border-left-width: 11px; transform: translateX(1px); }
.player-main .pause-symbol, .expanded-main .pause-symbol { width: 12px; height: 14px; gap: 4px; }
.player-main .pause-icon, .expanded-main .pause-icon { width: 16px; height: 16px; }
.player-main .pause-symbol::before, .player-main .pause-symbol::after,
.expanded-main .pause-symbol::before, .expanded-main .pause-symbol::after { width: 3px; height: 14px; }
.player-info span, .player-info strong { display: block; }
.player-info { min-width: 0; }
.player-kicker { color: var(--gold); font-size: .63rem; letter-spacing: .12em; text-transform: uppercase; }
.player-info strong { margin-top: .18rem; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-time { width: 86px; color: #c7d3dc; font-size: .72rem; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.player-progress { width: 100%; accent-color: var(--orange); }
.player-skip { width: 34px; height: 34px; display: inline-grid; place-items: center; padding: 0; border-radius: 50% !important; font-size: .95rem; font-weight: 800; }
.player-skip:disabled { opacity: .32; cursor: default; }
.mini-view-controls { display: flex; align-items: center; justify-content: flex-end; gap: .3rem; }
.mini-view-controls button { position: relative; width: 34px; height: 34px; display: inline-grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; color: #fff; background: rgba(255,255,255,.08); }
.mini-view-controls button:hover { border-color: rgba(245,185,66,.74); background: rgba(255,255,255,.15); }
.mini-view-controls button.active { border-color: var(--gold); color: var(--navy); background: var(--gold); box-shadow: 0 3px 12px rgba(245,185,66,.22); }
.mini-view-controls #mini-close { font-size: 1.55rem; line-height: 1; }
.mini-view-controls #mini-close:hover { border-color: #e87063; color: #fff; background: #b53b31; }
.view-icon { display: block; border: 2px solid currentColor; border-radius: 2px; }
.portrait-icon { width: 10px; height: 18px; }
.landscape-icon { width: 19px; height: 11px; }
.fullscreen-icon { width: 19px; height: 19px; display: block; background: linear-gradient(currentColor,currentColor) left top/7px 2px no-repeat, linear-gradient(currentColor,currentColor) left top/2px 7px no-repeat, linear-gradient(currentColor,currentColor) right top/7px 2px no-repeat, linear-gradient(currentColor,currentColor) right top/2px 7px no-repeat, linear-gradient(currentColor,currentColor) left bottom/7px 2px no-repeat, linear-gradient(currentColor,currentColor) left bottom/2px 7px no-repeat, linear-gradient(currentColor,currentColor) right bottom/7px 2px no-repeat, linear-gradient(currentColor,currentColor) right bottom/2px 7px no-repeat; }
.mini-icon { width: 17px; height: 13px; display: block; border: 2px solid currentColor; border-radius: 2px; }
.mini-icon::after { content: ""; display: block; width: 7px; height: 2px; margin: 6px auto 0; background: currentColor; }

.expanded-player { position: fixed; z-index: 80; inset: 0; display: flex; justify-content: center; align-items: center; padding: 0; overflow: hidden; pointer-events: auto; color: #fff; background: #03111f; }
.expanded-player[hidden] { display: none; }
body.expanded-player-open .player { display: none; }
.expanded-player-backdrop { display: block; position: absolute; inset: -45px; background-position: center; background-size: cover; filter: blur(28px) saturate(.85); transform: scale(1.08); opacity: .48; }
.expanded-player::after { content: ""; display: block; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(2,12,22,.97), rgba(2,12,22,.72) 52%, rgba(2,12,22,.94)); }
.expanded-player-shell { position: relative; z-index: 1; pointer-events: auto; width: 100%; height: 100dvh; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: .75rem; padding: max(1rem, env(safe-area-inset-top)) clamp(1rem, 3vw, 2.5rem) max(1rem, env(safe-area-inset-bottom)); border: 0; border-radius: 0; background: rgba(3,17,31,.72); box-shadow: none; backdrop-filter: blur(16px); }
.expanded-player-shell.dragging { user-select: none; box-shadow: 0 38px 120px rgba(0,0,0,.7); }
.expanded-player-topbar { width: min(1180px, 100%); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 42px; }
.expanded-player-topbar { cursor: default; touch-action: auto; }
.expanded-player-shell.dragging .expanded-player-topbar { cursor: grabbing; }
.expanded-top-actions { cursor: default; }
.expanded-player-topbar span, .expanded-player-topbar strong { display: block; }
.expanded-kicker { color: var(--gold); font-size: .9rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.expanded-player-topbar strong { margin-top: .15rem; font: 800 clamp(1.6rem, 3vw, 2.6rem)/1 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.expanded-artist { margin-top: .3rem; color: #c7d3dc; font-size: .85rem; }
.expanded-top-actions { display: flex; gap: .5rem; }
.expanded-top-actions button, .expanded-transport button { border: 0; color: #fff; background: rgba(255,255,255,.1); cursor: pointer; }
.expanded-top-actions button { width: 42px; height: 42px; border-radius: 50%; font-size: 1.35rem; }
#expanded-collapse { width: auto; min-width: 112px; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: 0 .78rem; border: 1px solid rgba(244,184,72,.82); border-radius: 999px; color: #071522; background: var(--gold); box-shadow: 0 4px 16px rgba(244,184,72,.2); font-size: .7rem; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
#expanded-collapse:hover { background: #ffd169; }
#expanded-collapse b { font-size: 1rem; line-height: 1; }
.expanded-player-content { width: min(1180px, 100%); margin-inline: auto; min-height: 0; display: grid; grid-template-columns: minmax(260px, 420px) minmax(280px, 1fr); align-items: center; gap: clamp(1.2rem, 4vw, 4rem); }
.expanded-cover-wrap { position: relative; width: 100%; aspect-ratio: 1; }
.expanded-cover { width: 100%; height: 100%; border-radius: 18px; object-fit: cover; box-shadow: 0 25px 70px rgba(0,0,0,.48); }
.expanded-cover-credit { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: .28rem .55rem; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; background: rgba(3,17,31,.82); color: #fff; font-size: .65rem; font-weight: 800; letter-spacing: .045em; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.expanded-lyrics { min-height: 250px; display: grid; align-content: center; gap: 1.1rem; text-align: center; }
.expanded-lyric { margin: 0; transition: opacity .2s ease; }
.expanded-lyric.previous, .expanded-lyric.next { display: none; }
.expanded-lyric.current { min-height: 2.8em; color: #fff; font: 800 clamp(1.65rem, 3.4vw, 3.25rem)/1.12 "Barlow Condensed", sans-serif; text-wrap: balance; text-shadow: 0 4px 22px rgba(0,0,0,.55); }
.expanded-lyric.current.lyric-change { animation: lyric-arrive .22s ease-out; }
@keyframes lyric-arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.expanded-lyric.current.instrumental { color: var(--gold); font-size: clamp(1rem, 2vw, 1.45rem); letter-spacing: .12em; text-transform: uppercase; }
.music-levels { height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; vertical-align: middle; }
.music-levels i { width: 6px; height: 12px; display: block; border-radius: 999px; background: linear-gradient(180deg, var(--gold), var(--orange)); transform-origin: center; animation: music-level 1s ease-in-out infinite; box-shadow: 0 0 14px rgba(244,184,72,.22); }
.music-levels i:nth-child(2) { animation-delay: -.72s; }
.music-levels i:nth-child(3) { animation-delay: -.36s; }
.music-levels i:nth-child(4) { animation-delay: -.9s; }
.music-levels i:nth-child(5) { animation-delay: -.18s; }
.music-levels i:nth-child(6) { animation-delay: -.54s; }
.music-levels i:nth-child(7) { animation-delay: -.81s; }
@keyframes music-level { 0%, 100% { transform: scaleY(.45); opacity: .68; } 50% { transform: scaleY(2.8); opacity: 1; } }
.expanded-player-controls { width: min(1180px, 100%); margin-inline: auto; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .85rem; padding: .38rem .55rem; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.055); }
.expanded-transport { display: flex; align-items: center; gap: .38rem; }
.expanded-transport button { width: 42px; height: 42px; border-radius: 50%; font-weight: 800; }
.expanded-transport button:disabled { opacity: .32; cursor: default; }
.expanded-transport .expanded-main { width: 34px; height: 34px; display: inline-grid; place-items: center; padding: 0; background: var(--orange); }
.expanded-timeline { display: grid; grid-template-columns: minmax(100px, 1fr) 86px; align-items: center; gap: .7rem; }
.expanded-timeline span { width: 86px; color: #c7d3dc; font-size: .72rem; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.expanded-timeline input { width: 100%; accent-color: var(--orange); }

.detail-dialog { width: min(1400px, calc(100vw - 8px)); max-width: calc(100vw - 8px); height: min(560px, calc(100vh - 12px)); max-height: none; padding: 0; overflow: hidden; color: var(--ink); border: 0; border-radius: 22px; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.detail-dialog[open] { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; }
.detail-dialog::backdrop { background: rgba(2, 12, 22, .76); backdrop-filter: blur(4px); }
.dialog-top { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem .62rem .65rem; background: #fff; }
.dialog-song-identity { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.dialog-cover { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; box-shadow: 0 5px 16px rgba(3, 20, 35, .18); }
.dialog-top h2 { margin: 0; font-size: 2.3rem; }
.dialog-artist { margin: .2rem 0 0; color: var(--muted); font-size: .85rem; }
.dialog-close { align-self: start; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #eef0ef; color: var(--navy); font-size: 1.7rem; cursor: pointer; }
.dialog-view-controls { flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; gap: .35rem; margin-left: auto; }
.dialog-view-controls button { width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0; border: 1px solid rgba(7,27,47,.18); border-radius: 10px; background: #eef0ef; color: var(--navy); cursor: pointer; }
.dialog-view-controls button:hover { border-color: #c1840b; background: #fff7df; }
.dialog-view-controls button.active { border-color: var(--gold); background: var(--gold); color: var(--navy); box-shadow: 0 3px 11px rgba(190,132,16,.2); }
.dialog-view-controls .dialog-close { border-color: rgba(7,27,47,.18); border-radius: 10px; background: #eef0ef; font-size: 1.65rem; line-height: 1; }
.dialog-view-controls .dialog-close:hover { border-color: #d5665a; background: #b53b31; color: #fff; }
.dialog-tabs { position: relative; z-index: 2; display: flex; gap: .5rem; padding: 0 .62rem .72rem; background: #fff; border-bottom: 1px solid var(--line); }
.dialog-tab { border: 0; border-radius: 999px; padding: .55rem .9rem; background: #eef0ef; font-weight: 700; cursor: pointer; }
.dialog-tab.active { background: var(--navy); color: #fff; }
.detail-dialog pre { min-height: 0; margin: 0; padding: .85rem .62rem 1.25rem; overflow: auto; white-space: pre-wrap; font: 500 .96rem/1.7 Inter, sans-serif; }
.copy-button { position: static; justify-self: end; margin: .4rem .62rem .72rem; border: 0; border-radius: 999px; padding: .7rem 1rem; background: var(--orange); color: #fff; font-weight: 800; cursor: pointer; }

@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .detail-dialog { transition: width .2s ease, height .2s ease, border-radius .2s ease; }
  .detail-dialog.detail-portrait { width: min(390px, calc(100vw - 24px)); height: min(700px, calc(100dvh - 24px)); }
  .detail-dialog.detail-landscape { width: min(860px, calc(100vw - 24px)); height: min(560px, calc(100dvh - 24px)); }
  .detail-dialog.detail-fullscreen { width: calc(100vw - 12px); max-width: none; height: calc(100dvh - 12px); max-height: none; border-radius: 14px; }
  .detail-dialog.detail-portrait .dialog-top { align-items: flex-start; flex-wrap: wrap; }
  .detail-dialog.detail-portrait .dialog-song-identity { width: 100%; }
  .detail-dialog.detail-portrait .dialog-view-controls { width: 100%; justify-content: flex-end; }
  .detail-dialog.detail-portrait .dialog-top h2 { font-size: 2rem; }
}
.toast { position: fixed; z-index: 50; left: 50%; bottom: -100px; transform: translateX(-50%); padding: .8rem 1rem; border-radius: 999px; background: #fff; color: var(--navy); box-shadow: var(--shadow); transition: bottom .25s; font-weight: 700; }
.toast.show { bottom: 92px; }

@media (max-width: 860px) {
  .hero { background-attachment: scroll; background-position: center center; }
  .filter-groups { grid-template-columns: 1fr; gap: .85rem; }
  .song-list { grid-template-columns: 1fr; }
  .song-card { grid-template-columns: 1fr; }
  .song-button.action-button { min-width: 0; padding: .5rem .45rem; }
  .song-secondary-controls .song-button { min-height: 32px; padding: .22rem .18rem; }
  .purpose-card { grid-template-columns: minmax(280px, 390px) 1fr; }
  .song-description { grid-column: 1; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-links { text-align: center; }
  .player { grid-template-columns: minmax(110px,.8fr) auto minmax(110px,1.5fr) 82px auto; gap: .45rem; }
  .player-time { width: 82px; }
  .expanded-player { padding: 0; }
  .expanded-player-shell { position: relative; inset: auto; width: 100%; height: 100dvh; min-height: 0; overflow: hidden; border-radius: 0; }
  .expanded-player-content { grid-template-columns: minmax(175px, 235px) minmax(245px, 1fr); gap: 1.1rem; }
}

@media (min-width: 861px) and (max-width: 1050px) {
  .song-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .list-column-headings.visible { display: none; }
  .song-list.list-view .song-card { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: .55rem .75rem; }
  .song-list.list-view .song-identity { grid-column: 1; grid-row: 1; }
  .song-list.list-view .list-ride-toggle { grid-column: 2; grid-row: 1; }
  .song-list.list-view .song-card-footer { grid-column: 1 / -1; grid-row: 2; grid-template-columns: 1fr auto; }
  .song-list.list-view .song-stats { grid-column: 1; grid-row: 1; justify-self: start; }
  .song-list.list-view .song-secondary-controls { grid-column: 2; grid-row: 1; justify-self: end; }
}

@media (max-width: 620px) {
  .project-bar { font-size: .63rem; }
  .site-nav { width: calc(100% - 24px); }
  .brand { gap: .58rem; padding: .32rem .65rem .32rem .34rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(3,17,31,.48); box-shadow: 0 8px 24px rgba(0,0,0,.18); backdrop-filter: blur(9px); filter: none; }
  .brand img { width: 48px; height: 48px; }
  .brand-wordmark { display: block; }
  .brand-wordmark strong { font-size: 1.16rem; letter-spacing: .075em; }
  .brand-wordmark small { display: none; }
  .brand span { display: inline; }
  .hero { min-height: 88vh; background-image: url("assets/images/hero-mobile.webp?v=109"); background-position: center 60%; }
  .hero-shade { background: linear-gradient(90deg, rgba(2,13,25,.7), rgba(2,13,25,.2)), linear-gradient(0deg, rgba(2,13,25,.74), transparent 55%); }
  .hero-content { width: calc(100% - 32px); padding-bottom: 5rem; }
  h1 { font-size: clamp(3.6rem, 17vw, 5.5rem); }
  .section-heading { align-items: start; flex-direction: column; }
  .catalog-section { padding-right: 8px; padding-left: 8px; }
  .catalog-controls { padding: .8rem; border-radius: 15px; }
  .catalog-find-row { align-items: stretch; }
  .catalog-search { min-width: 0; }
  .filter-button { padding-inline: .8rem; }
  .catalog-play-row { align-items: flex-start; flex-direction: column; }
  .catalog-play-row .collection-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .catalog-play-row .play-all-control { grid-column: 1 / -1; }
  .catalog-play-row .control-button { width: 100%; padding-inline: .55rem; font-size: .74rem; }
  .catalog-result-count { margin-left: .15rem; }
  .collection-actions { justify-content: flex-start; }
  .catalog-display-row { justify-content: stretch; margin-bottom: .7rem; }
  .catalog-layout-switch { width: 100%; }
  .catalog-layout-label { margin-right: auto; }
  .layout-button { flex: 0 1 auto; }
  .list-column-headings.visible { display: none; }
  .song-card { display: grid; grid-template-columns: 1fr; padding: .85rem 1rem .7rem; }
  .song-cover-button { width: 48px; height: 48px; border-radius: 9px; }
  .song-secondary-controls { grid-template-columns: minmax(120px, 1fr) repeat(4, minmax(32px, 38px)); }
  .song-list.list-view .song-card { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: .55rem .65rem; padding: .65rem .7rem; }
  .song-list.list-view .song-identity { grid-column: 1; grid-row: 1; }
  .song-list.list-view .list-ride-toggle { grid-column: 2; grid-row: 1; }
  .song-list.list-view .song-card-footer { grid-column: 1 / -1; grid-row: 2; grid-template-columns: 1fr auto; }
  .song-list.list-view .song-stats { grid-column: 1; grid-row: 1; justify-self: start; }
  .song-list.list-view .song-secondary-controls { grid-column: 2; grid-row: 1; justify-self: end; }
  .song-list.list-view .song-cover-button { width: 46px; height: 46px; }
  .song-list.list-view .song-cover-play { width: 24px; height: 24px; }
  .song-list.list-view .song-secondary-controls [data-download] span:last-child { display: none; }
  .song-list.list-view .song-secondary-controls [data-download] { width: 36px; padding-inline: 0; }
  .dialog-cover { width: 48px; height: 48px; border-radius: 9px; }
  .dialog-top { padding: 1.15rem 1rem .75rem; }
  .dialog-top h2 { font-size: 1.8rem; }
  .dialog-song-identity { gap: .75rem; }
  .song-primary-controls, .song-card-footer, .song-description { grid-column: 1; }
  .song-stats { max-width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .12rem; white-space: nowrap; font-size: .51rem; line-height: 1; }
  body.show-card-stats .song-list:not(.list-view) .song-stats { display: grid; }
  .song-stats .stat-separator { display: none; }
  .song-stats .stat-metric { min-width: 0; justify-content: center; gap: .12rem; }
  .song-secondary-controls .song-button { min-width: 0; overflow: hidden; gap: .12rem; padding-inline: .08rem; font-size: .58rem; }
  .song-secondary-controls .action-icon { width: 19px; height: 19px; }
  .song-secondary-controls .youtube-icon { width: 21px; height: 15px; font-size: 7px; border-radius: 3px; }
  .purpose-card { margin-inline: 12px; padding: .8rem; grid-template-columns: 1fr; gap: 1rem; border-radius: 22px; }
  .purpose-art { min-height: 0; aspect-ratio: 2.36 / 1; border-radius: 16px; }
  .purpose-copy { padding: .5rem .65rem 1rem; }
  .closing-actions { flex-direction: column; }
  .player { bottom: 8px; }
  .player { width: calc(100% - 16px); grid-template-columns: minmax(0,1fr) auto 72px; grid-template-rows: auto auto auto; gap: .38rem .48rem; padding: .5rem .55rem; }
  .player-info { grid-column: 1 / -1; grid-row: 1; min-width: 0; }
  .player-kicker { font-size: .55rem; line-height: 1; }
  .player-info strong { margin-top: .12rem; max-width: 100%; overflow: hidden; white-space: nowrap; display: block; font-size: .84rem; line-height: 1.1; text-overflow: ellipsis; }
  .player-transport { grid-column: 1; grid-row: 2; justify-content: flex-start; }
  .player-main { width: 32px; height: 32px; }
  .player-skip { width: 32px; height: 32px; font-size: .9rem; }
  .mini-view-controls { grid-column: 2 / 4; grid-row: 2; justify-self: end; gap: .32rem; }
  .mini-view-controls button { width: 32px; height: 28px; }
  #mini-portrait, #mini-landscape, #mini-collapse { display: none; }
  .player-progress { grid-column: 1 / 3; grid-row: 3; margin: 0; }
  .player-time { grid-column: 3; grid-row: 3; width: 72px; display: block; font-size: .66rem; }
  body.expanded-player-open { overflow: hidden; }
  .expanded-player { padding: 0; overflow: hidden; pointer-events: auto; background: #03111f; }
  .expanded-player-backdrop, .expanded-player::after { display: block; }
  .expanded-player-shell { position: relative; inset: auto !important; width: 100%; height: 100dvh; min-height: 0; max-height: none; overflow: hidden; border: 0; border-radius: 0; padding: max(.7rem, env(safe-area-inset-top)) .85rem max(.7rem, env(safe-area-inset-bottom)); gap: .45rem; grid-template-rows: auto minmax(0, 1fr) auto; }
  .expanded-player-topbar { cursor: default; touch-action: auto; }
  .expanded-player-topbar strong { font-size: 1.55rem; }
  .expanded-player-topbar .expanded-artist { margin-top: .12rem; }
  .expanded-top-actions button { width: 36px; height: 36px; }
  #expanded-collapse { width: auto; min-width: 104px; padding-inline: .68rem; font-size: .64rem; }
  .expanded-player-content { min-height: 0; grid-template-columns: 1fr; grid-template-rows: minmax(145px, 43vh) minmax(120px, 1fr); justify-items: center; gap: .3rem; }
  .expanded-cover-wrap { width: auto; height: 100%; max-width: min(76vw, 330px); max-height: 43vh; }
  .expanded-cover { width: 100%; height: 100%; }
  .expanded-cover-credit { bottom: 7px; font-size: .58rem; }
  .expanded-lyrics { width: 100%; min-height: 0; align-content: center; gap: .38rem; }
  .expanded-lyric.previous, .expanded-lyric.next { font-size: .82rem; line-height: 1.25; }
  .expanded-lyric.current { min-height: 2.4em; font-size: clamp(1.45rem, 7vw, 2.35rem); }
  .expanded-player-controls { position: relative; grid-template-columns: auto minmax(0,1fr); gap: .42rem; padding: .3rem .4rem; background: rgba(3,17,31,.35); }
  .expanded-transport { justify-content: center; }
  .expanded-transport button { width: 32px; height: 32px; font-size: .9rem; }
  .expanded-transport .expanded-main { width: 34px; height: 34px; }
  .expanded-timeline { grid-template-columns: minmax(80px,1fr) 82px; gap: .55rem; }
  .expanded-timeline span { width: 82px; text-align: right; }
}

/* Phone landscape: preserve the artwork-left/lyrics-right layout while fitting
   the entire player inside the browser's real, safe-area-aware viewport. */
@media (orientation: landscape) and (max-height: 600px) and (hover: none) {
  body.expanded-player-open { overflow: hidden; }
  .expanded-player { padding: 0; overflow: hidden; align-items: flex-start; pointer-events: auto; background: #03111f; }
  .expanded-player-backdrop, .expanded-player::after { display: block; }
  .expanded-player-shell {
    position: relative;
    inset: auto !important;
    width: 100%;
    height: 100dvh;
    min-height: 0;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 0;
    padding: max(.42rem, env(safe-area-inset-top)) max(.7rem, env(safe-area-inset-right)) max(.42rem, env(safe-area-inset-bottom)) max(.7rem, env(safe-area-inset-left));
    gap: .28rem;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }
  .expanded-player-topbar { min-height: 32px; cursor: default; touch-action: auto; }
  .expanded-kicker { font-size: .68rem; }
  .expanded-player-topbar strong { margin-top: .05rem; font-size: 1.25rem; }
  .expanded-artist { display: none !important; }
  .expanded-top-actions button { height: 30px; }
  #expanded-collapse { min-width: 98px; padding-inline: .55rem; font-size: .6rem; }
  #expanded-close { width: 30px; }
  .expanded-player-content {
    min-height: 0;
    grid-template-columns: minmax(150px, 36vh) minmax(280px, 1fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: center;
    gap: clamp(.7rem, 2vw, 1.2rem);
  }
  .expanded-cover-wrap { width: auto; height: 100%; max-width: 36vh; max-height: 36vh; justify-self: center; }
  .expanded-cover-credit { bottom: 5px; padding: .18rem .38rem; font-size: .48rem; }
  .expanded-lyrics { min-height: 0; gap: .28rem; }
  .expanded-lyric.previous, .expanded-lyric.next { font-size: .7rem; line-height: 1.15; }
  .expanded-lyric.current { min-height: 2em; font-size: clamp(1.25rem, 4vw, 2rem); }
  .expanded-player-controls { grid-template-columns: auto minmax(0, 1fr); gap: .55rem; padding: .22rem .38rem; }
  .expanded-transport button { width: 30px; height: 30px; font-size: .86rem; }
  .expanded-transport .expanded-main { width: 32px; height: 32px; }
  .expanded-timeline { grid-template-columns: minmax(80px,1fr) 82px; gap: .45rem; }
}

/* Desktop player: movable phone-shaped portrait, wide landscape, or full screen. */
@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  body.expanded-player-open { overflow: auto; }
  .expanded-player { padding: 8px; pointer-events: none; background: transparent; }
  .expanded-player-backdrop, .expanded-player::after { display: none; }
  .expanded-player-shell {
    position: fixed;
    inset: auto;
    pointer-events: auto;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: .55rem;
    padding: .65rem;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px;
    background: rgba(3,17,31,.97);
    box-shadow: 0 28px 85px rgba(0,0,0,.52);
    backdrop-filter: blur(18px);
    transition: width .22s ease, height .22s ease, border-radius .22s ease;
  }
  .expanded-player.view-portrait .expanded-player-shell { width: min(380px, calc(100vw - 16px)); height: min(675px, calc(100dvh - 16px)); }
  .expanded-player.view-landscape .expanded-player-shell { width: min(760px, calc(100vw - 16px)); height: min(430px, calc(100dvh - 16px)); }
  .expanded-player.view-fullscreen { padding: 0; pointer-events: auto; background: #03111f; }
  .expanded-player.view-fullscreen .expanded-player-backdrop,
  .expanded-player.view-fullscreen::after { display: block; }
  .expanded-player.view-fullscreen .expanded-player-shell { position: relative; width: 100%; height: 100dvh; border: 0; border-radius: 0; padding: max(1rem, env(safe-area-inset-top)) clamp(1rem,3vw,2.5rem) max(1rem, env(safe-area-inset-bottom)); background: rgba(3,17,31,.72); box-shadow: none; }
  .expanded-player.view-fullscreen .expanded-player-topbar { cursor: default; touch-action: auto; }

  .expanded-player-topbar { width: 100%; min-height: 38px; justify-content: center; cursor: move; touch-action: none; }
  .expanded-top-actions { width: auto; margin-left: auto; display: flex; justify-content: flex-end; gap: .38rem; }
  .expanded-top-actions button { position: relative; width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: #fff; background: rgba(255,255,255,.08); }
  .expanded-top-actions button:hover { border-color: rgba(245,185,66,.74); background: rgba(255,255,255,.15); }
  .expanded-top-actions .desktop-view-control.active { border-color: var(--gold); color: var(--navy); background: var(--gold); box-shadow: 0 3px 12px rgba(245,185,66,.22); }
  #expanded-collapse { width: 38px; min-width: 38px; padding: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: #fff; background: rgba(255,255,255,.08); box-shadow: none; }
  #expanded-collapse:hover { background: rgba(255,255,255,.15); }
  #expanded-close { font-size: 1.65rem; line-height: 1; }
  #expanded-close:hover { border-color: #e87063; color: #fff; background: #b53b31; }
  .view-icon { display: block; border: 2px solid currentColor; border-radius: 2px; }
  .portrait-icon { width: 11px; height: 19px; }
  .landscape-icon { width: 20px; height: 12px; }
  .fullscreen-icon { width: 20px; height: 20px; display: block; background: linear-gradient(currentColor,currentColor) left top/7px 2px no-repeat, linear-gradient(currentColor,currentColor) left top/2px 7px no-repeat, linear-gradient(currentColor,currentColor) right top/7px 2px no-repeat, linear-gradient(currentColor,currentColor) right top/2px 7px no-repeat, linear-gradient(currentColor,currentColor) left bottom/7px 2px no-repeat, linear-gradient(currentColor,currentColor) left bottom/2px 7px no-repeat, linear-gradient(currentColor,currentColor) right bottom/7px 2px no-repeat, linear-gradient(currentColor,currentColor) right bottom/2px 7px no-repeat; }
  .mini-icon { width: 18px; height: 14px; display: block; border: 2px solid currentColor; border-radius: 2px; }
  .mini-icon::after { content: ""; display: block; width: 7px; height: 2px; margin: 7px auto 0; background: currentColor; }

  .expanded-player-content { width: 100%; min-height: 0; margin: 0; gap: .7rem; }
  .expanded-player.view-portrait .expanded-player-content { grid-template-columns: 1fr; grid-template-rows: minmax(170px, 1fr) minmax(120px, .66fr); justify-items: center; }
  .expanded-player.view-portrait .expanded-cover-wrap { width: auto; height: 100%; max-width: 100%; max-height: 340px; }
  .expanded-player.view-portrait .expanded-lyrics { width: 100%; min-height: 0; gap: .45rem; }
  .expanded-player.view-portrait .expanded-lyric.previous,
  .expanded-player.view-portrait .expanded-lyric.next { font-size: .78rem; line-height: 1.25; }
  .expanded-player.view-portrait .expanded-lyric.current { min-height: 2.4em; font-size: clamp(1.55rem, 3vw, 2.15rem); }

  .expanded-player.view-landscape .expanded-player-content { grid-template-columns: minmax(210px, 320px) minmax(260px,1fr); grid-template-rows: minmax(0,1fr); align-items: center; gap: 1.1rem; }
  .expanded-player.view-landscape .expanded-cover-wrap { width: auto; height: 100%; max-width: 300px; max-height: 300px; justify-self: center; }
  .expanded-player.view-landscape .expanded-lyrics { min-height: 0; gap: .5rem; }
  .expanded-player.view-landscape .expanded-lyric.current { font-size: clamp(1.55rem, 3vw, 2.3rem); }

  .expanded-player.view-fullscreen .expanded-player-topbar,
  .expanded-player.view-fullscreen .expanded-player-content,
  .expanded-player.view-fullscreen .expanded-player-controls { width: min(1180px,100%); margin-inline: auto; }
  .expanded-player.view-fullscreen .expanded-player-content { grid-template-columns: minmax(260px,420px) minmax(280px,1fr); gap: clamp(1.2rem,4vw,4rem); }
  .expanded-player.view-fullscreen .expanded-cover-wrap { width: 100%; height: auto; max-width: none; max-height: none; }
  .expanded-player.view-fullscreen .expanded-lyrics { min-height: 250px; gap: 1.1rem; }
  .expanded-player.view-fullscreen .expanded-lyric.previous,
  .expanded-player.view-fullscreen .expanded-lyric.next { font-size: clamp(.9rem,1.5vw,1.15rem); }
  .expanded-player.view-fullscreen .expanded-lyric.current { font-size: clamp(1.65rem,3.4vw,3.25rem); }

  .expanded-player-controls { width: 100%; margin: 0; gap: .5rem; padding: .3rem .4rem; }
  .expanded-transport button { width: 34px; height: 34px; font-size: .95rem; }
  .expanded-transport .expanded-main { width: 34px; height: 34px; }
  .expanded-timeline { gap: .45rem; }
}

/* Phones are always full-screen; rotation supplies portrait and landscape. */
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .expanded-player-topbar { justify-content: center; }
  .expanded-top-actions { width: 100%; justify-content: flex-end; }
  .desktop-view-control { display: none !important; }
  #expanded-collapse { width: 38px; min-width: 38px; padding: 0; border-radius: 10px; }
  #expanded-collapse span, #expanded-collapse b { display: none; }
  #expanded-collapse .mini-icon { display: block; }
  #expanded-close { border-radius: 10px; font-size: 1.6rem; }
  .song-secondary-controls .ride-list-mark { width: 22px; height: 22px; }
  .detail-dialog { width: calc(100vw - 8px); max-width: none; height: calc(100dvh - 8px); max-height: none; border-radius: 16px; }
  .dialog-view-controls button:not(.dialog-close) { display: none; }
  .dialog-view-controls { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .music-levels i { animation: none; }
  .song-card.playing::before { animation: none; transform: none; opacity: .45; }
  .song-card.playing { animation: none; }
  .card-equalizer i { animation: none; transform: scaleY(.78); }
  .expanded-lyric.current.lyric-change { animation: none; }
}

/* v99: eliminate perceptual fade delay only for the fast Pull Through cue display. */


/* v109 homepage refresh */
@media (max-width: 620px) {
  .brand-logo { width: min(320px, 82vw); }
  .hero-content { padding-top: .4rem; padding-bottom: 4.3rem; }
  h1 { max-width: 92%; font-size: clamp(2.9rem, 11vw, 4.6rem); line-height: .94; }
  .hero-copy { max-width: 92%; margin-top: 1rem; margin-bottom: 1.5rem; }
  .primary-button { min-width: 224px; min-height: 78px; padding: .95rem 1.2rem; }
  .primary-button .button-main { font-size: 1.6rem; }
  .primary-button .button-sub { font-size: .74rem; }
}

/* v110: quiet selected Ride List state; white Add control stays visible.
   Transparent selected controls let both the normal card and moving
   gold playing-card background show through without their own animation. */
.song-button.ride-list-toggle:not(.active),
.song-secondary-controls .song-button.toolbar-ride-toggle:not(.active) {
  background: #fff;
  color: var(--navy);
}
.song-button.ride-list-toggle.active,
.song-secondary-controls .song-button.toolbar-ride-toggle.active,
.song-secondary-controls .toolbar-ride-toggle.active {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--navy);
  animation: none;
}
.song-button.ride-list-toggle.active:hover,
.song-secondary-controls .song-button.toolbar-ride-toggle.active:hover {
  background: rgba(7,27,47,.055);
  border-color: transparent;
  box-shadow: none;
}
.song-button.ride-list-toggle.active:focus-visible {
  outline: 2px solid #ad7919;
  outline-offset: 2px;
}
.song-button.ride-list-toggle.active .bookmark-fill {
  fill: transparent;
  stroke: #9c7221;
}
.song-button.ride-list-toggle.active .bookmark-check {
  stroke: #9c7221;
  stroke-width: 2.5;
}

/* v111 — clear selected-state mark and better toolbar balance.
   All playback and card-scanning animations remain unchanged. */
.song-list:not(.list-view) .song-secondary-controls {
  grid-template-columns: minmax(126px, 1fr) repeat(4, 44px);
}
.song-list:not(.list-view) .song-secondary-controls .action-button {
  min-width: 0; padding-inline: .3rem;
}
.song-button.ride-list-toggle.active .ride-list-check-box {
  fill: none; stroke: #182733; stroke-width: 1.85;
}
.song-button.ride-list-toggle.active .ride-list-big-check {
  fill: none; stroke: #bd8113; stroke-width: 3.25;
  stroke-linecap: round; stroke-linejoin: round;
}
.song-button.ride-list-toggle.active .ride-list-mark {
  width: 26px; height: 26px; flex-basis: 26px; overflow: visible;
}
.song-button.ride-list-toggle.active {
  background: transparent; border-color: transparent; box-shadow: none;
}
@media (max-width: 620px) {
  .song-list:not(.list-view) .song-secondary-controls {
    grid-template-columns: minmax(113px, 1fr) repeat(4, minmax(34px, 40px));
  }
  .song-list:not(.list-view) .song-secondary-controls .action-button { padding-inline: .08rem; }
}

/* v113: consistent lighter square in both Ride List states, with a bold
   slightly hand-drawn gold check when the song is saved. */
.song-button.ride-list-toggle .ride-list-mark {
  width: 26px; height: 26px; flex: 0 0 26px; overflow: visible;
}
.song-button.ride-list-toggle .ride-list-check-box,
.song-button.ride-list-toggle.active .ride-list-check-box {
  fill: none; stroke: #182733; stroke-width: 1.35;
}
.song-button.ride-list-toggle.active .ride-list-big-check {
  fill: none; stroke: #bc8014; stroke-width: 3.35;
  stroke-linecap: round; stroke-linejoin: round;
}


/* v117: Homepage has no brand logo on desktop or mobile.
   Keep artist credit and hero text clear and naturally spaced. */
.hero-content { padding-top: clamp(3.5rem, 6vw, 6rem); padding-bottom: 5.2rem; }
@media (max-width: 620px) {
  .hero-content { padding-top: 2.15rem; padding-bottom: 4.3rem; }
}

/* v134 homepage: branding and accessible raised action-button family. No player JS changes. */
.hero-content { padding-top: clamp(2rem,4vw,3.4rem); }
.hero-wordmark { display:block; width:clamp(210px,29vw,355px); height:auto; max-height:250px; object-fit:contain; object-position:left center; margin:-1.5rem 0 .35rem -1.2rem; filter:drop-shadow(0 8px 16px rgba(0,0,0,.5)); }
.hero-content h1 { max-width:720px; font-size:clamp(2.6rem,5vw,4.6rem); line-height:1.01; letter-spacing:-.015em; color:#fff5dd; }
.hero-copy { max-width:660px; font-size:clamp(1.04rem,1.55vw,1.21rem); line-height:1.55; margin:1rem 0 1.6rem; }
.primary-button, .control-button.ride-list-control.raised-cta { position:relative; isolation:isolate; display:inline-flex; flex-direction:row; align-items:center; justify-content:center; gap:15px; min-height:92px; border-radius:22px; padding:14px 22px; overflow:hidden; cursor:pointer; text-align:left; text-transform:none; transition:transform .16s ease, box-shadow .16s ease, filter .16s ease; }
.primary-button { min-width:340px; max-width:100%; color:#081f34; border:2px solid #ffe79b; background:linear-gradient(165deg,#fff3b5 0%,#ffd557 42%,#ed9a0e 100%); box-shadow:inset 0 3px 3px rgba(255,255,255,.9),inset 0 -6px 0 rgba(119,63,0,.3),0 8px 0 #8e540e,0 17px 28px rgba(0,0,0,.32); }
.control-button.ride-list-control.raised-cta { flex:0 1 345px; max-width:100%; min-width:275px; color:#fff8de; border:2px solid #ffd27e; background:linear-gradient(165deg,#ffb244 0%,#e56b17 44%,#a9370a 100%); box-shadow:inset 0 3px 3px rgba(255,255,255,.42),inset 0 -6px 0 rgba(90,23,0,.3),0 8px 0 #782c11,0 15px 23px rgba(66,31,9,.28); }
.primary-button::before,.raised-cta::before { content:""; position:absolute; inset:0; z-index:-1; background:repeating-linear-gradient(90deg,transparent 0 12px,rgba(96,42,0,.1) 12px 16px,transparent 16px 23px); opacity:.33; mask-image:linear-gradient(0deg,black,transparent 65%); pointer-events:none; }
.primary-button .play-disc,.raised-cta .play-disc { display:grid; place-items:center; flex:0 0 62px; width:62px; height:62px; border:3px solid #ffdc91; border-radius:50%; color:white; background:radial-gradient(circle at 35% 25%,#55616b 0%,#151c24 43%,#030910 90%); box-shadow:inset 0 2px 2px rgba(255,255,255,.55),0 3px 8px rgba(0,0,0,.45); font-size:25px; padding-left:4px; }
.cta-label {display:flex; min-width:0; flex-direction:column; align-items:flex-start; gap:5px;}
.primary-button .button-main,.raised-cta .control-main {font-family:"Barlow Condensed",sans-serif; font-size:clamp(1.5rem,2.2vw,1.85rem); font-weight:800; line-height:1; letter-spacing:.01em; text-transform:none;}
.primary-button .button-sub,.raised-cta .control-sub {font-family:Inter,sans-serif; font-size:15px; line-height:1.25; font-weight:800; letter-spacing:0; opacity:1;}
.primary-button:hover,.control-button.ride-list-control.raised-cta:hover {transform:translateY(-2px);filter:brightness(1.07);}
.primary-button:active,.control-button.ride-list-control.raised-cta:active {transform:translateY(5px);box-shadow:inset 0 3px 5px rgba(0,0,0,.22),0 2px 0 #6f3410,0 5px 10px rgba(0,0,0,.22);}
.primary-button:focus-visible,.raised-cta:focus-visible {outline:4px solid #1479d4; outline-offset:5px;}
.catalog-action-heading {align-items:center; margin-bottom:1.35rem;}
@media(max-width:700px){
 .hero-wordmark {width:min(75vw,310px); margin:-.9rem 0 .2rem -.7rem; max-height:235px;}
 .hero-content h1 {font-size:clamp(2.5rem,9vw,3.5rem);}
 .catalog-action-heading {align-items:flex-start; flex-direction:column; gap:1rem;}
 .control-button.ride-list-control.raised-cta {flex:none; width:min(100%,380px);}
 .primary-button {width:min(100%,380px); min-width:0;}
 .primary-button .button-main,.raised-cta .control-main{font-size:1.6rem;}
}
@media(max-width:370px){.primary-button,.control-button.ride-list-control.raised-cta {min-width:0; padding:12px; gap:10px;}.primary-button .play-disc,.raised-cta .play-disc {flex-basis:52px;width:52px;height:52px;font-size:21px;}.primary-button .button-sub,.raised-cta .control-sub{font-size:14px;}}
@media(prefers-reduced-motion:reduce){.primary-button,.raised-cta{transition:none;}}


/* v135 homepage refinement: tighter catalog CTA, clearer type, orange Ride List checks,
   and a more compact Share button. Playback logic unchanged. */
.catalog-action-heading {
  align-items: flex-start;
  flex-direction: column;
  gap: .72rem;
}
.control-button.ride-list-control.raised-cta {
  align-self: flex-start;
  flex: 0 1 auto;
  width: min(100%, 320px);
  min-width: 0;
  min-height: 80px;
  padding: 11px 18px;
  gap: 12px;
}
.raised-cta .play-disc {
  flex-basis: 56px;
  width: 56px;
  height: 56px;
  font-size: 22px;
}
.raised-cta .control-main {
  font-size: clamp(1.55rem, 1.8vw, 1.8rem);
}
.raised-cta .control-sub {
  font-size: 1.18rem;
  line-height: 1.05;
  font-weight: 800;
  color: #fff7ea;
}
.song-button.ride-list-toggle.active .ride-list-check-box,
.song-secondary-controls .song-button.toolbar-ride-toggle.active .ride-list-check-box {
  stroke: #b65418;
}
.song-button.ride-list-toggle.active .ride-list-big-check,
.song-secondary-controls .song-button.toolbar-ride-toggle.active .ride-list-big-check {
  stroke: var(--orange);
}
.closing-actions {
  gap: 1rem;
}
.share-button.primary-button {
  min-width: 0;
  min-height: 58px;
  padding: .8rem 1.18rem;
  border-radius: 18px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.34rem;
  line-height: 1;
  letter-spacing: .01em;
}
@media (max-width: 700px) {
  .catalog-action-heading {
    gap: .85rem;
  }
  .control-button.ride-list-control.raised-cta {
    width: min(100%, 300px);
    min-height: 74px;
    padding: 10px 16px;
    gap: 10px;
  }
  .raised-cta .play-disc {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    font-size: 20px;
  }
  .raised-cta .control-main {
    font-size: 1.42rem;
  }
  .raised-cta .control-sub {
    font-size: 1.03rem;
  }
  .share-button.primary-button {
    min-width: 0;
    min-height: 52px;
    padding: .7rem 1rem;
    font-size: 1.18rem;
    width: auto;
  }
}
@media (max-width: 420px) {
  .control-button.ride-list-control.raised-cta {
    width: min(92vw, 286px);
  }
  .share-button.primary-button {
    font-size: 1.1rem;
    padding: .66rem .92rem;
  }
}


/* v136: fresh player startup, accessible discoverability cues, and first-fold mobile fit. */
.hero-action-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.explore-catalog-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 42px;
  padding: .56rem 1rem;
  border: 1px solid rgba(255,243,211,.72);
  border-radius: 999px;
  background: rgba(3,17,31,.53);
  color: #fff4de;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease;
}
.explore-catalog-link:hover { background: rgba(3,17,31,.85); border-color: #ffe5a0; }
.explore-catalog-link:focus-visible { outline: 3px solid #fff2c2; outline-offset: 3px; }
.explore-catalog-link span { color: #ffd36a; font-size: 1.2rem; line-height: 1; }
@keyframes viewControlAttention {
  0%, 100% { filter: brightness(1); box-shadow: none; }
  50% { filter: brightness(1.35); box-shadow: 0 0 0 3px rgba(255,204,98,.65), 0 0 15px rgba(255,204,98,.42); }
}
@keyframes miniReturnAttention {
  0%, 100% { filter: brightness(1); box-shadow: none; }
  50% { filter: brightness(1.3); box-shadow: 0 0 0 4px rgba(255,190,65,.82), 0 0 20px rgba(255,190,65,.58); }
}
.mini-view-controls.view-controls-pulse button:not(#mini-close),
.expanded-top-actions.view-controls-pulse button:not(#expanded-close) {
  animation: viewControlAttention .66s ease-in-out 5;
}
.expanded-top-actions.view-controls-pulse #expanded-collapse {
  animation: miniReturnAttention .66s ease-in-out 5;
}
@media (max-width: 700px) {
  /* Reduce the logo, heading, and hero CTA so Play stays in the first phone view. */
  .hero { min-height: 0; background-attachment: scroll; }
  .hero-content {
    padding-top: 1.05rem;
    padding-bottom: 1.6rem;
  }
  .hero-content .eyebrow { font-size: .69rem; margin-bottom: .2rem; }
  .hero-wordmark {
    width: clamp(170px, 57vw, 232px);
    max-height: 180px;
    margin: -.55rem 0 .1rem -.7rem;
  }
  .hero-content h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 7.9vw, 2.7rem);
    line-height: 1.02;
  }
  .hero-copy {
    max-width: 31rem;
    font-size: .97rem;
    line-height: 1.37;
    margin: .65rem 0 1rem;
  }
  .hero-action-stack { gap: .72rem; }
  .hero-action-stack #hero-shuffle-play {
    width: min(100%, 324px);
    min-width: 0;
    min-height: 72px;
    padding: 9px 15px;
    gap: 11px;
    border-radius: 19px;
  }
  .hero-action-stack #hero-shuffle-play .play-disc {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    font-size: 22px;
  }
  .hero-action-stack #hero-shuffle-play .button-main { font-size: 1.48rem; }
  .hero-action-stack #hero-shuffle-play .button-sub { font-size: .95rem; line-height: 1.2; }
  .explore-catalog-link { min-height: 38px; font-size: .89rem; padding: .48rem .87rem; }
}
@media (max-width: 390px) and (max-height: 740px) {
  .hero-content { padding-top: .75rem; padding-bottom: 1.1rem; }
  .hero-wordmark { width: min(54vw, 202px); }
  .hero-copy { font-size: .92rem; line-height: 1.28; margin: .55rem 0 .75rem; }
  .hero-action-stack #hero-shuffle-play { min-height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  .mini-view-controls.view-controls-pulse button,
  .expanded-top-actions.view-controls-pulse button { animation: none !important; }
  .explore-catalog-link { transition: none; }
}


/* v137 — mobile viewport composition + consistent gold player view affordances.
   The opening section occupies the phone's visible viewport rather than ending
   after the Play link. On shorter displays content can extend and scroll naturally.
   Only appearance is changed; the existing view switching and player JS are unchanged. */
@media (max-width: 700px) {
  .hero {
    min-height: 100vh;  /* fallback */
    min-height: 100svh; /* initial visible phone viewport with browser bars */
    background-attachment: scroll;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: clamp(1rem, 2.5svh, 1.55rem);
    padding-bottom: max(1.2rem, env(safe-area-inset-bottom));
  }
  .hero-wordmark {
    width: clamp(195px, 62vw, 258px);
    max-height: 200px;
    margin: -.45rem 0 .16rem -.65rem;
  }
  .hero-content h1 {
    font-size: clamp(2.12rem, 8.25vw, 2.92rem);
    line-height: 1.02;
  }
  .hero-copy {
    font-size: clamp(.97rem, 3.7vw, 1.065rem);
    line-height: 1.4;
    margin: .7rem 0 1rem;
  }
  .hero-action-stack {
    flex: 1 0 auto;
    width: 100%;
    gap: .8rem;
  }
  .hero-action-stack .explore-catalog-link {
    margin-top: auto;
  }
}
/* Preserve the same gold action emphasis on phones in BOTH player views.
   These are the two available navigation controls after desktop views are hidden. */
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .mini-view-controls #mini-fullscreen,
  .expanded-top-actions #expanded-collapse {
    border-color: var(--gold);
    color: var(--navy);
    background: var(--gold);
    box-shadow: 0 3px 12px rgba(245,185,66,.25);
  }
  .mini-view-controls #mini-fullscreen:hover,
  .expanded-top-actions #expanded-collapse:hover {
    border-color: #ffda82;
    background: #ffd169;
  }
}


/* v138 — Compact premium hero CTA with legible single-line label.
   Redistribute saved height toward the brand logo without changing playback logic. */
@media (max-width: 700px) {
  .hero-content {
    padding-bottom: max(.65rem, env(safe-area-inset-bottom));
  }
  .hero-wordmark {
    width: clamp(217px, 70vw, 289px);
    max-height: 225px;
    margin-bottom: .08rem;
  }
  .hero-action-stack {
    flex: 0 0 auto;
    margin-top: auto;
    gap: .48rem;
  }
  .hero-action-stack .explore-catalog-link {
    margin-top: 0;
  }
  .hero-action-stack #hero-shuffle-play {
    width: 100%;
    max-width: 420px;
    min-height: 65px;
    padding: 8px 13px;
    gap: 10px;
    border-radius: 18px;
  }
  .hero-action-stack #hero-shuffle-play .play-disc {
    flex-basis: 47px;
    width: 47px;
    height: 47px;
    font-size: 20px;
    border-width: 2px;
  }
  .hero-action-stack #hero-shuffle-play .cta-label { gap: 3px; }
  .hero-action-stack #hero-shuffle-play .button-main {
    font-size: clamp(1.33rem, 5.7vw, 1.54rem);
    white-space: nowrap;
  }
  .hero-action-stack #hero-shuffle-play .button-sub {
    font-size: clamp(.83rem, 3.65vw, .97rem);
    line-height: 1.14;
    white-space: nowrap;
  }
  .hero-action-stack .explore-catalog-link {
    min-height: 36px;
    padding: .38rem .78rem;
  }
}
@media (max-width: 350px) {
  .hero-action-stack #hero-shuffle-play {padding-inline: 10px; gap: 8px;}
  .hero-action-stack #hero-shuffle-play .button-sub {font-size: .82rem;}
}


/* v139 — intentional separation between hero actions and compact Ride List utility.
   Refines v138 presentation only; all click handlers and music functionality remain. */
@media (max-width: 700px) {
  /* Leave a visible gap beyond the raised gold button's lower shadow. */
  .hero-action-stack { gap: 1.3rem; }
}

/* Smaller, tactile orange pill under The Catalog — visually related to the
   main gold Play CTA but clearly a secondary catalog action. */
#play-favorites.control-button.ride-list-control.raised-cta {
  align-self: flex-start;
  flex: 0 0 auto;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  min-height: 62px;
  padding: 8px 17px 9px 12px;
  gap: 11px;
  border: 2px solid #f7a55f;
  border-radius: 999px;
  color: #fff9e8;
  background: linear-gradient(155deg,#f8a348 0%,#dc641b 46%,#ae370c 100%);
  box-shadow: inset 0 2px 2px rgba(255,255,255,.5),
              inset 0 -3px 0 rgba(94,29,7,.22),
              0 5px 0 #862d10,
              0 10px 16px rgba(59,26,9,.23);
  transform: translateY(0);
  transition: transform .17s ease, box-shadow .17s ease,
              filter .17s ease, border-color .17s ease;
}
#play-favorites.raised-cta .play-disc {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 2px solid #ffdd9e;
  font-size: 17px;
  box-shadow: inset 0 2px 2px rgba(255,255,255,.42),
              0 2px 5px rgba(0,0,0,.36);
}
#play-favorites.raised-cta .cta-label { gap: 3px; }
#play-favorites.raised-cta .control-main {
  font-size: 1.34rem;
  line-height: 1;
  white-space: nowrap;
}
#play-favorites.raised-cta .control-sub {
  font-size: .94rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
  color: #fff8eb;
  opacity: 1;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  #play-favorites.control-button.ride-list-control.raised-cta:hover {
    border-color: #ffe2a6;
    filter: brightness(1.11) saturate(1.06);
    transform: translateY(-3px);
    box-shadow: inset 0 2px 2px rgba(255,255,255,.52),
                inset 0 -3px 0 rgba(94,29,7,.22),
                0 8px 0 #862d10,
                0 15px 24px rgba(59,26,9,.35);
  }
}
#play-favorites.control-button.ride-list-control.raised-cta:active {
  filter: brightness(1.02);
  transform: translateY(4px);
  box-shadow: inset 0 2px 6px rgba(84,30,5,.32),
              0 1px 0 #862d10,
              0 4px 9px rgba(59,26,9,.23);
}
#play-favorites.control-button.ride-list-control.raised-cta:focus-visible {
  outline: 3px solid #155f9a;
  outline-offset: 4px;
}
@media (max-width: 700px) {
  #play-favorites.control-button.ride-list-control.raised-cta {
    width: fit-content;
    max-width: 100%;
    min-height: 58px;
    padding: 7px 15px 8px 11px;
    gap: 9px;
  }
  #play-favorites.raised-cta .play-disc {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }
  #play-favorites.raised-cta .control-main { font-size: 1.25rem; }
  #play-favorites.raised-cta .control-sub { font-size: .9rem; }
}
@media (max-width: 360px) {
  #play-favorites.control-button.ride-list-control.raised-cta {
    padding: 7px 12px 8px 10px;
    gap: 8px;
  }
  #play-favorites.raised-cta .control-main { font-size: 1.18rem; }
  #play-favorites.raised-cta .control-sub { font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
  #play-favorites.control-button.ride-list-control.raised-cta { transition: none; }
}


/* v140 — final three-button visual pass. Scoped to two hero controls and
   the catalog Ride List button. Avoid moving buttons on pointer hover. */
.hero-action-stack {
  width: min(100%, 315px);
}
.hero-action-stack #hero-shuffle-play.primary-button {
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 72px;
  padding: 9px 12px;
  gap: 10px;
  border-radius: 18px;
  transform: none;
  transition: border-color .15s ease, box-shadow .15s ease, filter .15s ease;
}
.hero-action-stack #hero-shuffle-play .play-disc {
  flex: 0 0 49px;
  width: 49px;
  height: 49px;
  font-size: 21px;
  border-width: 2px;
}
.hero-action-stack #hero-shuffle-play .cta-label { gap: 3px; }
.hero-action-stack #hero-shuffle-play .button-main {
  font-size: 1.52rem;
  white-space: nowrap;
}
.hero-action-stack #hero-shuffle-play .button-sub {
  font-size: .88rem;
  line-height: 1.15;
  white-space: nowrap;
}
.hero-action-stack .explore-catalog-link {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  min-height: 42px;
  padding: .54rem .8rem;
  font-size: .94rem;
  gap: .6rem;
  text-align: center;
  transform: none;
}
/* Raised finish remains, but the gold button no longer jumps on hover/click. */
@media (hover: hover) and (pointer: fine) {
  .hero-action-stack #hero-shuffle-play.primary-button:hover {
    transform: none;
    filter: brightness(1.035);
    border-color: #fff4c8;
    box-shadow: inset 0 3px 3px rgba(255,255,255,.9),
                inset 0 -6px 0 rgba(119,63,0,.3),
                0 8px 0 #8e540e,
                0 17px 28px rgba(0,0,0,.32),
                0 0 0 3px rgba(255,227,149,.24);
  }
}
.hero-action-stack #hero-shuffle-play.primary-button:active { transform: none; filter: brightness(.97); }

/* Catalog action is intentionally flat and compact: no raised background,
   no translated hover position. Orange matches the saved Ride List checks. */
#play-favorites.control-button.ride-list-control.raised-cta {
  flex: 0 0 auto;
  width: fit-content;
  max-width: 100%;
  min-height: 51px;
  padding: 7px 13px 7px 10px;
  gap: 9px;
  border: 2px solid #c85119;
  border-radius: 14px;
  color: #071b2f;
  background: var(--orange);
  box-shadow: 0 2px 5px rgba(7,27,47,.14);
  transform: none;
  filter: none;
  transition: background-color .14s ease, border-color .14s ease, box-shadow .14s ease;
}
#play-favorites.raised-cta::before { content: none; display: none; }
#play-favorites.raised-cta .play-disc {
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  font-size: 15px;
  border-width: 2px;
}
#play-favorites.raised-cta .cta-label { gap: 3px; }
#play-favorites.raised-cta .control-main {
  font-size: 1.19rem;
  line-height: 1;
  color: #071b2f;
}
#play-favorites.raised-cta .control-sub {
  font-size: .9rem;
  line-height: 1.1;
  font-weight: 800;
  color: #071b2f;
  opacity: 1;
}
@media (hover: hover) and (pointer: fine) {
  #play-favorites.control-button.ride-list-control.raised-cta:hover {
    background: #ff8041;
    border-color: #ffc17b;
    box-shadow: 0 0 0 3px rgba(239,107,46,.22), 0 2px 5px rgba(7,27,47,.14);
    transform: none;
    filter: none;
  }
}
#play-favorites.control-button.ride-list-control.raised-cta:active {
  background: #db5e24;
  border-color: #b64816;
  box-shadow: 0 0 0 2px rgba(239,107,46,.18);
  transform: none;
  filter: none;
}
#play-favorites.control-button.ride-list-control.raised-cta:focus-visible {
  outline: 3px solid #135d8c;
  outline-offset: 4px;
}
@media (max-width: 700px) {
  .hero-action-stack { width: min(100%, 315px); }
  .hero-action-stack #hero-shuffle-play.primary-button {
    width: 100%;
    max-width: none;
    min-height: 64px;
    padding: 7px 10px;
    gap: 9px;
  }
  .hero-action-stack #hero-shuffle-play .play-disc {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    font-size: 19px;
  }
  .hero-action-stack #hero-shuffle-play .button-main {
    font-size: clamp(1.23rem, 5.1vw, 1.4rem);
  }
  .hero-action-stack #hero-shuffle-play .button-sub {
    font-size: clamp(.82rem, 3.45vw, .91rem);
  }
  .hero-action-stack .explore-catalog-link {
    width: 100%;
    min-height: 39px;
    font-size: .91rem;
    padding: .45rem .65rem;
  }
  #play-favorites.control-button.ride-list-control.raised-cta {
    width: fit-content;
    max-width: 100%;
    min-height: 49px;
    padding: 7px 12px 7px 9px;
    gap: 8px;
  }
  #play-favorites.raised-cta .play-disc {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  #play-favorites.raised-cta .control-main { font-size: 1.15rem; }
  #play-favorites.raised-cta .control-sub { font-size: .86rem; }
}
@media (max-width: 350px) {
  .hero-action-stack #hero-shuffle-play .button-main { font-size: 1.18rem; }
  .hero-action-stack #hero-shuffle-play .button-sub { font-size: .79rem; }
  #play-favorites.raised-cta .control-main { font-size: 1.09rem; }
  #play-favorites.raised-cta .control-sub { font-size: .83rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-action-stack #hero-shuffle-play.primary-button,
  #play-favorites.control-button.ride-list-control.raised-cta,
  .hero-action-stack .explore-catalog-link { transition: none; }
}


/* v141 — final restrained action family. Static flat surfaces, thin light traces,
   no pop-out shadows or hovering movement. All playback behavior is preserved. */
.hero-action-stack #hero-shuffle-play.primary-button {
  border: 1px solid #ffe8a0;
  background: #f5bd47;
  color: #081f34;
  box-shadow: none;
  filter: none;
  transform: none;
  transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.hero-action-stack #hero-shuffle-play.primary-button::before {
  content: none;
  display: none;
}
#play-favorites.control-button.ride-list-control.raised-cta {
  border: 1px solid #f7ab71;
  background: var(--orange);
  box-shadow: none;
  transform: none;
  filter: none;
  transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.share-button.primary-button {
  min-width: 0;
  min-height: 50px;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: .62rem;
  padding: .8rem 1.25rem;
  border: 1px solid #ffe8a0;
  border-radius: 999px;
  background: #f5bd47;
  color: #081f34;
  box-shadow: none;
  transform: none;
  filter: none;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
  transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.share-button.primary-button::before { content: none; display: none; }
.share-button .share-button-icon { display: block; flex: 0 0 21px; }
@media (hover: hover) and (pointer: fine) {
  .hero-action-stack #hero-shuffle-play.primary-button:hover,
  .share-button.primary-button:hover {
    background: #f9c95f;
    border-color: #fff3ca;
    box-shadow: 0 0 0 2px rgba(255,241,193,.65);
    transform: none;
    filter: none;
  }
  #play-favorites.control-button.ride-list-control.raised-cta:hover {
    background: #f57936;
    border-color: #ffdfa3;
    box-shadow: 0 0 0 2px rgba(255,223,163,.7);
    transform: none;
    filter: none;
  }
}
.hero-action-stack #hero-shuffle-play.primary-button:active,
.share-button.primary-button:active {
  background: #edac30;
  border-color: #fff0bf;
  box-shadow: 0 0 0 2px rgba(255,241,193,.7);
  transform: none;
  filter: none;
}
#play-favorites.control-button.ride-list-control.raised-cta:active {
  background: #db5e24;
  border-color: #ffdfa3;
  box-shadow: 0 0 0 2px rgba(255,223,163,.75);
  transform: none;
  filter: none;
}
.hero-action-stack #hero-shuffle-play.primary-button:focus-visible,
#play-favorites.control-button.ride-list-control.raised-cta:focus-visible,
.share-button.primary-button:focus-visible {
  outline: 3px solid #fff3ca;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .share-button.primary-button {
    min-width: 0;
    min-height: 48px;
    padding: .74rem 1.08rem;
    font-size: 1.2rem;
    width: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-action-stack #hero-shuffle-play.primary-button,
  #play-favorites.control-button.ride-list-control.raised-cta,
  .share-button.primary-button { transition: none; }
}


/* v142 — Gold Shuffle & Play internal spacing ONLY.
   Reclaim some unused space on both sides of the centered Play/text group.
   Preserve the CTA dimensions, typography, flat finish, interaction and action. */
.hero-action-stack #hero-shuffle-play.primary-button {
  gap: 26px;
}
@media (max-width: 700px) {
  .hero-action-stack #hero-shuffle-play.primary-button {
    gap: clamp(18px, 5.6vw, 23px);
  }
}

/* v150: v149's approved single-position 7px / 110ms lyric movement,
   now shared by all songs. No fade/opacity delay; the words are visible at cue start. */
@keyframes song-lyric-nudge {
  from { transform: translateY(7px); }
  to { transform: translateY(0); }
}
.expanded-player .expanded-lyric.current.lyric-enter {
  animation: song-lyric-nudge 110ms ease-out both;
}
@media (prefers-reduced-motion: reduce) {
  .expanded-player .expanded-lyric.current.lyric-enter {
    animation: none;
  }
}

/* V161 Unified song information — card layout and mini player unchanged */
.expanded-player-shell { grid-template-rows: auto minmax(0,1fr) auto auto; }
.expanded-player-topbar { gap: .65rem; justify-content: space-between; }
.expanded-info-tabs { display: flex; align-items: center; gap: .3rem; flex-wrap: nowrap; }
.expanded-info-tabs button { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.09); color: #fff; font: 700 .76rem/1.1 inherit; font-family: inherit; font-size: .76rem; font-weight: 750; padding: .56rem .65rem; border-radius: 9px; cursor: pointer; white-space: nowrap; }
.expanded-info-tabs button.active { background: var(--gold); color: #071522; border-color: var(--gold); }
.expanded-player.show-information .expanded-player-content { display:none; }
.expanded-info-view { width: min(980px,100%); margin: 0 auto; min-height: 0; overflow: auto; padding: clamp(.75rem,2vw,1.6rem); border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(3,17,31,.56); color:#fff; }
.expanded-info-view[hidden] { display:none; }
.expanded-info-view h2 { color:var(--gold); margin:0 0 .8rem; font-family:"Barlow Condensed",sans-serif; font-size:1.6rem; }
.expanded-info-view pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height:1.6; margin:0; }
.expanded-song-actions { display:flex; align-items:center; justify-content:space-between; width:min(1180px,100%); margin:auto; gap:.5rem; color:#fff; }
.expanded-song-actions .song-button { color:#fff; font-size:.77rem; min-height:34px; padding:.35rem .5rem; }
.expanded-song-actions .ride-list-toggle { display:inline-flex; gap:.35rem; align-items:center; }
.expanded-song-actions .ride-list-toggle svg { width:22px; height:22px; }
.expanded-secondary-actions { display:flex; align-items:center; gap:.45rem; }
.expanded-secondary-actions .action-button { min-width:38px; justify-content:center; }
.expanded-secondary-actions .action-icon { width:20px; height:20px; }
.expanded-player.view-fullscreen .expanded-song-actions { width:min(1180px,100%); }
@media(max-width:840px) { .expanded-player-topbar {flex-wrap:wrap; justify-content:center;} .expanded-info-tabs {order:2;justify-content:center;} .expanded-top-actions {order:1;} .expanded-info-tabs button {font-size:.72rem; padding:.42rem .5rem;} }
@media(max-width:460px) { .expanded-song-actions { flex-wrap:wrap;justify-content:center;gap:.2rem; } .expanded-song-actions .song-button {font-size:.7rem;} .expanded-player-shell {gap:.32rem;} }

/* V162: one clear song entry path, spacious controls, responsive unified player */
.v162-mode-icon { width:22px;height:22px; fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none; }
.expanded-player-shell {grid-template-rows:auto minmax(0,1fr) auto;}
.expanded-player-topbar {display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:1rem;min-width:0;}
.expanded-info-tabs {flex:0 1 auto;gap:.55rem;min-width:0;}
.expanded-info-tabs button {padding:.65rem .84rem; font-size:.8rem;}
.expanded-top-actions {flex:0 0 auto;width:auto;gap:.38rem;}
.expanded-player-content {min-height:0;}
.expanded-right-panel {display:flex;flex-direction:column;align-self:stretch;min-width:0;min-height:0;justify-content:space-between;gap:.3rem;}
.expanded-right-panel .expanded-lyrics {flex:1;min-height:0;}
.expanded-player.show-information .expanded-player-content {display:grid;}
.expanded-player.show-information .expanded-lyrics {display:none;}
.expanded-info-view {flex:1;min-height:0;width:100%;margin:0;}
.expanded-song-actions,.expanded-player.view-fullscreen .expanded-song-actions {width:100%;max-width:none;margin:0;flex:0 0 auto;gap:.3rem;}
.expanded-song-actions .ride-list-toggle.active {color:#081827 !important;background:#f5b942 !important;border-color:#f5b942 !important;}
.expanded-song-actions .ride-list-toggle.active span,.expanded-song-actions .ride-list-toggle.active svg {color:#081827 !important;stroke:#081827;}
.expanded-song-actions .ride-list-toggle:not(.active) {color:#081827 !important;background:#fff !important;}
.expanded-song-actions .ride-list-toggle:not(.active) span,.expanded-song-actions .ride-list-toggle:not(.active) svg {color:#081827 !important;stroke:#081827;}
.expanded-song-actions .expanded-secondary-actions {gap:.25rem;flex-shrink:0;}
.expanded-player.view-landscape .expanded-player-topbar {gap:.55rem;}
.expanded-player.view-landscape .expanded-info-tabs {gap:.3rem;}
.expanded-player.view-landscape .expanded-info-tabs button {padding:.5rem .56rem;font-size:.71rem;}
.expanded-player.view-landscape .expanded-top-actions {gap:.23rem;}
.expanded-player.view-landscape .expanded-top-actions button {width:34px;height:34px;}
.expanded-player.view-landscape .expanded-song-actions .song-button {padding:.25rem .3rem;font-size:.65rem;}
.expanded-player.view-landscape .expanded-secondary-actions .action-button {min-width:30px;}
/* Desktop portrait: five view actions top, three roomy tabs beneath. */
@media (hover:hover) and (pointer:fine) {
 .expanded-player.view-portrait .expanded-player-topbar {flex-wrap:wrap;gap:.35rem;}
 .expanded-player.view-portrait .expanded-top-actions {order:0;width:100%;justify-content:center;}
 .expanded-player.view-portrait .expanded-info-tabs {order:1;width:100%;justify-content:space-between;}
 .expanded-player.view-portrait .expanded-info-tabs button {flex:1;padding:.48rem .3rem;}
}
/* Small screens: three tabs and only two player actions share the top row. */
@media(max-width:760px),(hover:none) and (pointer:coarse) {
 .expanded-player-topbar,.expanded-player.view-portrait .expanded-player-topbar {display:flex;flex-wrap:nowrap;justify-content:space-between;gap:.35rem;}
 .expanded-info-tabs,.expanded-player.view-portrait .expanded-info-tabs {order:0;flex:1 1 auto;justify-content:flex-start;gap:.25rem;min-width:0;}
 .expanded-info-tabs button,.expanded-player.view-portrait .expanded-info-tabs button {font-size:clamp(.62rem,2.3vw,.79rem);padding:.5rem .45rem;flex:0 1 auto;}
 .expanded-top-actions,.expanded-player.view-portrait .expanded-top-actions {order:1;width:auto;flex:0 0 auto;gap:.24rem;margin-left:auto;}
 .expanded-top-actions button {width:34px;height:34px;}
 .expanded-song-actions {flex-wrap:nowrap;justify-content:space-between;gap:.2rem;}
 .expanded-song-actions .song-button {font-size:.66rem;}
 .expanded-secondary-actions {gap:.15rem;}
 .expanded-secondary-actions .action-button {min-width:28px;padding:.15rem;}
}
/* Phones sideways: art and right panel arranged like the desktop landscape player. */
@media (max-width:950px) and (orientation:landscape) and (hover:none), (max-width:950px) and (orientation:landscape) and (pointer:coarse) {
 .expanded-player-content,.expanded-player.view-portrait .expanded-player-content {grid-template-columns:minmax(125px,36%) minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:center;gap:.65rem;}
 .expanded-player .expanded-cover-wrap,.expanded-player.view-portrait .expanded-cover-wrap {width:100%;height:auto;max-height:min(58vh,230px);max-width:min(58vh,230px);}
 .expanded-player .expanded-lyrics {min-height:0;gap:.1rem;}
 .expanded-player .expanded-lyric.current {font-size:clamp(1rem,3vw,1.8rem);}
 .expanded-player-shell {padding:.4rem .6rem;gap:.2rem;}
 .expanded-song-actions .ride-list-toggle {font-size:.59rem;}
}


/* V163 visual balance refinements */
.v163-mode-icon { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; }
.expanded-player-topbar { gap: 1.15rem; }
.expanded-info-tabs { gap: .7rem; }
.expanded-info-tabs button { min-height: 42px; padding: .72rem 1.15rem; border-radius: 12px; font-size: .82rem; }
.expanded-top-actions { gap: .55rem; }
.expanded-top-actions button { width: 42px; height: 42px; border-radius: 12px; }
.expanded-top-actions #expanded-close { order: 99; margin-left: .1rem; }
.expanded-song-actions { gap: .9rem; align-items: center; justify-content: space-between; }
.expanded-song-actions .ride-list-toggle { min-height: 42px; padding: .55rem .95rem; border-radius: 999px; font-size: .78rem; font-weight: 700; gap: .48rem; }
.expanded-song-actions .ride-list-toggle .ride-list-mark { width: 20px; height: 20px; }
.expanded-song-actions .ride-list-toggle.active { color: #f3d99a !important; background: rgba(245,185,66,.16) !important; border-color: rgba(245,185,66,.45) !important; box-shadow: none !important; }
.expanded-song-actions .ride-list-toggle.active span, .expanded-song-actions .ride-list-toggle.active svg { color: #f6d27a !important; stroke: #f6d27a !important; }
.expanded-song-actions .ride-list-toggle.active .ride-list-check-box { stroke: #f6d27a !important; }
.expanded-song-actions .ride-list-toggle.active .ride-list-big-check { stroke: #f6d27a !important; }
.expanded-secondary-actions { gap: .42rem; margin-left: auto; }
.expanded-secondary-actions .action-button { min-width: 38px; min-height: 38px; padding: .32rem; border-radius: 10px; }
.expanded-secondary-actions .action-icon { width: 18px; height: 18px; }
.expanded-player.view-landscape .expanded-player-topbar, .expanded-player.view-fullscreen .expanded-player-topbar { gap: 1.25rem; }
.expanded-player.view-landscape .expanded-info-tabs, .expanded-player.view-fullscreen .expanded-info-tabs { gap: .8rem; }
.expanded-player.view-landscape .expanded-info-tabs button, .expanded-player.view-fullscreen .expanded-info-tabs button { min-width: 112px; padding: .72rem 1rem; font-size: .8rem; }
.expanded-player.view-landscape .expanded-top-actions button, .expanded-player.view-fullscreen .expanded-top-actions button { width: 42px; height: 42px; }
.expanded-player.view-landscape .expanded-song-actions, .expanded-player.view-fullscreen .expanded-song-actions { gap: .75rem; }
.expanded-player.view-landscape .expanded-song-actions .ride-list-toggle, .expanded-player.view-fullscreen .expanded-song-actions .ride-list-toggle { min-height: 40px; padding: .5rem .85rem; }
.expanded-player.view-landscape .expanded-secondary-actions .action-button, .expanded-player.view-fullscreen .expanded-secondary-actions .action-button { min-width: 36px; min-height: 36px; }
.expanded-info-cover { display: none; width: 100%; max-width: 290px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; margin: 0 auto 1rem; box-shadow: 0 10px 32px rgba(0,0,0,.28); }
.expanded-player.view-portrait.show-information .expanded-cover-wrap { display: none; }
.expanded-player.view-portrait.show-information .expanded-player-content { grid-template-columns: 1fr; grid-template-rows: minmax(0,1fr); align-items: stretch; justify-items: stretch; }
.expanded-player.view-portrait.show-information .expanded-right-panel { width: 100%; }
.expanded-player.view-portrait.show-information .expanded-info-view { display: block; overflow: auto; padding: .8rem .85rem 1rem; }
.expanded-player.view-portrait.show-information .expanded-info-cover { display: block; }
.expanded-player.view-portrait.show-information .expanded-info-view h2 { margin-top: .1rem; }
@media (max-width:760px),(hover:none) and (pointer:coarse) {
  .expanded-info-tabs { gap: .45rem; }
  .expanded-info-tabs button { min-height: 38px; padding: .58rem .8rem; }
  .expanded-top-actions button { width: 38px; height: 38px; }
  .expanded-song-actions { gap: .55rem; }
  .expanded-song-actions .ride-list-toggle { min-height: 38px; padding: .48rem .78rem; font-size: .72rem; }
  .expanded-secondary-actions { gap: .28rem; }
  .expanded-secondary-actions .action-button { min-width: 34px; min-height: 34px; }
}


/* V164 — stable music stage and responsive control alignment */
.expanded-player .expanded-right-panel { min-height:0; }
.expanded-player .expanded-lyrics { min-height:0; display:flex; flex-direction:column; justify-content:center; align-items:center; align-content:normal; overflow:hidden; }
.expanded-player .expanded-lyric.current { display:flex; width:100%; flex:0 0 auto; min-height:3em; align-items:center; justify-content:center; text-align:center; }
.expanded-player .expanded-lyric.current.instrumental { min-height:3em; }
.expanded-player .expanded-song-actions { flex:0 0 auto; }
.expanded-player .expanded-top-actions { justify-content:flex-end; margin-left:auto; }
.expanded-player .expanded-top-actions #expanded-close { order:99; margin-right:0; }
/* Equal-height, compact song actions. Checked state intentionally avoids a filled pill. */
.expanded-player .expanded-song-actions .ride-list-toggle {height:38px;min-height:38px;padding:.36rem .68rem;border-radius:10px;font-size:.78rem;box-shadow:none;}
.expanded-player .expanded-song-actions .ride-list-toggle.active { background:transparent !important;border-color:transparent !important; color:#eacb92 !important;box-shadow:none !important;}
.expanded-player .expanded-song-actions .ride-list-toggle.active span { color:#eacb92 !important; }
.expanded-player .expanded-song-actions .ride-list-toggle.active .ride-list-check-box,
.expanded-player .expanded-song-actions .ride-list-toggle.active .ride-list-big-check {stroke:#f47b20 !important;}
.expanded-player .expanded-secondary-actions .action-button { height:38px; min-height:38px; min-width:38px;padding:.3rem; }
.expanded-player .expanded-song-actions { gap:.65rem; }
.expanded-player.view-landscape .expanded-info-tabs button {min-width:0;min-height:38px;padding:.56rem .75rem;font-size:.78rem;}
.expanded-player.view-landscape .expanded-info-tabs {gap:.53rem;}
.expanded-player.view-landscape .expanded-top-actions button {width:38px;height:38px;}
.expanded-player.view-landscape .expanded-lyric.current {font-size:clamp(1.95rem,3.6vw,2.65rem);}
/* Desktop portrait: top icon row truly right-anchored, lyric area stable. */
@media (min-width:761px) and (hover:hover) and (pointer:fine) {
 .expanded-player.view-portrait .expanded-top-actions {width:100%;justify-content:flex-end;margin-left:auto;}
 .expanded-player.view-portrait .expanded-right-panel {width:100%;height:100%;}
 .expanded-player.view-portrait .expanded-lyrics {flex:1;min-height:0;}
 .expanded-player.view-portrait .expanded-song-actions {width:100%;margin-top:auto;}
}
/* On phones the top row ALWAYS belongs to view controls, tabs below it. */
@media (max-width:760px), (hover:none) and (pointer:coarse) {
 html:has(body.expanded-player-open), body.expanded-player-open {height:100%;overflow:hidden;overscroll-behavior:none;}
 .expanded-player:not([hidden]) {position:fixed;inset:0;width:100%;height:100dvh;max-height:100dvh;overflow:hidden;touch-action:pan-y;}
 .expanded-player .expanded-player-shell {position:relative;inset:auto !important; width:100%;height:100dvh;max-height:100dvh; overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:.35rem;padding:max(.45rem,env(safe-area-inset-top)) max(.45rem,env(safe-area-inset-right)) max(.45rem,env(safe-area-inset-bottom)) max(.45rem,env(safe-area-inset-left));}
 .expanded-player .expanded-player-topbar,.expanded-player.view-portrait .expanded-player-topbar {display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:.42rem;min-width:0;width:100%;}
 .expanded-player .expanded-top-actions,.expanded-player.view-portrait .expanded-top-actions {order:0;display:flex;justify-content:flex-end;align-self:stretch;min-width:0;width:100%;gap:.38rem;margin:0;}
 .expanded-player .expanded-top-actions button {width:38px;height:38px;flex:0 0 38px;}
 .expanded-player .expanded-info-tabs,.expanded-player.view-portrait .expanded-info-tabs {order:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;flex:0 0 auto;gap:.45rem;}
 .expanded-player .expanded-info-tabs button,.expanded-player.view-portrait .expanded-info-tabs button {width:100%;min-width:0;min-height:40px;font-size:.78rem;padding:.48rem .26rem;}
 .expanded-player .expanded-player-content,.expanded-player.view-portrait .expanded-player-content {min-height:0;overflow:hidden;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) minmax(0,.6fr);align-items:stretch;justify-items:stretch;gap:.35rem;}
 .expanded-player .expanded-cover-wrap,.expanded-player.view-portrait .expanded-cover-wrap {min-height:0;max-width:min(64vw,290px);max-height:min(41dvh,300px);width:auto;height:100%;justify-self:center;align-self:center;}
 .expanded-player .expanded-right-panel {min-height:0;height:100%;width:100%;overflow:hidden;}
 .expanded-player .expanded-song-actions {width:100%;margin-top:auto;}
 .expanded-player .expanded-lyrics {flex:1;min-height:0;}
 .expanded-player.view-portrait.show-information .expanded-player-content {grid-template-columns:1fr;grid-template-rows:minmax(0,1fr);}
 .expanded-player.view-portrait.show-information .expanded-right-panel {overflow:hidden;}
 .expanded-player.view-portrait.show-information .expanded-info-view {display:block;flex:1;min-height:0;max-height:100%;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;}
 .expanded-player.view-portrait.show-information .expanded-info-cover {display:block;}
 .expanded-player .expanded-song-actions .ride-list-toggle {font-size:.72rem;padding:.32rem .4rem;}
 .expanded-player .expanded-secondary-actions .action-button {min-width:34px;height:34px;min-height:34px;}
 .expanded-player .expanded-song-actions {gap:.18rem;}
 .expanded-player .expanded-secondary-actions {gap:.1rem;}
}
/* Sideways phones: leave artwork left, reading right; avoid browser-page drag/overflow. */
@media (orientation:landscape) and (max-height:600px) and (hover:none), (orientation:landscape) and (max-height:600px) and (pointer:coarse) {
 .expanded-player .expanded-player-shell {height:100dvh;max-height:100dvh;overflow:hidden;grid-template-rows:auto minmax(0,1fr) auto;gap:.2rem;padding:max(.16rem,env(safe-area-inset-top)) max(.5rem,env(safe-area-inset-right)) max(.16rem,env(safe-area-inset-bottom)) max(.5rem,env(safe-area-inset-left));}
 .expanded-player .expanded-player-topbar {flex-direction:row;align-items:center;gap:.4rem;}
 .expanded-player .expanded-info-tabs,.expanded-player.view-portrait .expanded-info-tabs {order:0;flex:1 1 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:auto;gap:.28rem;}
 .expanded-player .expanded-info-tabs button {font-size:.68rem;min-height:32px;padding:.27rem .14rem;}
 .expanded-player .expanded-top-actions,.expanded-player.view-portrait .expanded-top-actions {order:1;flex:0 0 auto;width:auto;gap:.28rem;}
 .expanded-player .expanded-top-actions button {width:32px;height:32px;flex-basis:32px;}
 .expanded-player .expanded-player-content,.expanded-player.view-portrait .expanded-player-content,.expanded-player.view-portrait.show-information .expanded-player-content {display:grid;grid-template-columns:minmax(0,36%) minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:center;justify-items:stretch;gap:.45rem;overflow:hidden;}
 .expanded-player .expanded-cover-wrap,.expanded-player.view-portrait .expanded-cover-wrap {display:block;max-width:100%;max-height:100%;height:auto;width:min(100%,calc(100dvh - 110px));align-self:center;justify-self:center;}
 .expanded-player .expanded-cover {width:100%;height:100%;object-fit:contain;}
 .expanded-player.view-portrait.show-information .expanded-cover-wrap {display:block;}
 .expanded-player.view-portrait.show-information .expanded-info-cover {display:none;}
 .expanded-player .expanded-right-panel {min-width:0;height:100%;min-height:0;}
 .expanded-player .expanded-lyrics {min-height:0;}
 .expanded-player .expanded-lyric.current {min-height:2.3em;font-size:clamp(1.05rem,3vw,1.8rem);}
 .expanded-player.view-portrait.show-information .expanded-info-view {min-height:0;max-height:100%;overflow-y:auto;}
 .expanded-player .expanded-song-actions .ride-list-toggle {font-size:.62rem;min-height:30px;height:30px;padding:.16rem .25rem;}
 .expanded-player .expanded-secondary-actions .action-button {min-width:30px;min-height:30px;height:30px;padding:.12rem;}
 .expanded-player .expanded-player-controls {min-height:34px;padding:.12rem .3rem;}
 .expanded-player .expanded-transport button {width:28px;height:28px;}
}

/* V165: subtle desktop polish; prioritize small-phone portrait reading space */
.expanded-player.view-portrait .expanded-song-actions .ride-list-toggle:not(.active) {
  padding-inline: 1.05rem 1.25rem;
  min-width: 176px;
  justify-content: center;
}
.expanded-player.view-landscape .expanded-song-actions .ride-list-toggle,
.expanded-player.view-fullscreen .expanded-song-actions .ride-list-toggle {font-size:.87rem;}
.expanded-player.view-fullscreen .expanded-info-tabs {gap:1rem;}
/* Portrait mobile: three tabs and just Mini + Close, all on one compact row. */
@media (max-width:760px) and (orientation:portrait) {
 .expanded-player .expanded-player-shell {gap:.2rem;padding-block:max(.23rem,env(safe-area-inset-top)) max(.25rem,env(safe-area-inset-bottom));}
 .expanded-player .expanded-player-topbar,
 .expanded-player.view-portrait .expanded-player-topbar {flex-direction:row;align-items:center;gap:.3rem;min-height:32px;}
 .expanded-player .expanded-info-tabs,
 .expanded-player.view-portrait .expanded-info-tabs {order:0;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.85fr) minmax(0,.85fr);width:auto;flex:1 1 auto;gap:.2rem;}
 .expanded-player .expanded-info-tabs button,
 .expanded-player.view-portrait .expanded-info-tabs button {width:100%;min-height:32px;height:32px;padding:.25rem .15rem;font-size:clamp(.62rem,2.8vw,.78rem);border-radius:8px;}
 .expanded-player .expanded-top-actions,
 .expanded-player.view-portrait .expanded-top-actions {order:1;flex:0 0 auto;align-self:center;display:flex;width:auto;gap:.2rem;margin-left:0;}
 .expanded-player .expanded-top-actions button {width:32px;height:32px;min-width:32px;flex:0 0 32px;border-radius:8px;}
 .expanded-player .expanded-top-actions .desktop-view-control {display:none !important;}
 .expanded-player .expanded-top-actions .v162-mode-icon,
 .expanded-player .expanded-top-actions .v163-mode-icon {width:18px;height:18px;}
 .expanded-player .expanded-player-content,
 .expanded-player.view-portrait .expanded-player-content {grid-template-rows:minmax(0,1fr) minmax(0,.52fr);gap:.15rem;}
 .expanded-player .expanded-cover-wrap,
 .expanded-player.view-portrait .expanded-cover-wrap {max-width:min(79vw,330px);max-height:min(51dvh,360px);}
 .expanded-player .expanded-player-controls {flex:0 0 auto;min-height:42px;}
 .expanded-player .expanded-song-actions .ride-list-toggle:not(.active) {min-width:0;padding-inline:.48rem .65rem;}
 /* One independently scrollable reading surface: image precedes text and disappears on swipe. */
 .expanded-player.view-portrait.show-information .expanded-cover-wrap {display:none !important;}
 .expanded-player.view-portrait.show-information .expanded-player-content {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);overflow:hidden;}
 .expanded-player.view-portrait.show-information .expanded-right-panel {display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden;}
 .expanded-player.view-portrait.show-information .expanded-info-view {display:block !important;flex:1 1 auto;height:0;min-height:0;max-height:none;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;}
 .expanded-player.view-portrait.show-information .expanded-info-cover {display:block;width:100%;max-width:min(76vw,300px);height:auto;margin:0 auto 1rem;}
 .expanded-player.view-portrait.show-information .expanded-song-actions {flex-shrink:0;}
}

/* V166: desktop portrait quieter controls; compact phone portrait single row */
@media (min-width:761px) and (hover:hover) and (pointer:fine) {
  .expanded-player.view-portrait .expanded-top-actions {gap:.34rem;}
  .expanded-player.view-portrait .expanded-top-actions button {width:34px;height:34px;min-width:34px;border-radius:9px;}
  .expanded-player.view-portrait .expanded-top-actions .v162-mode-icon,
  .expanded-player.view-portrait .expanded-top-actions .v163-mode-icon {width:18px;height:18px;}
  .expanded-player.view-portrait .expanded-info-tabs {gap:.4rem;}
  .expanded-player.view-portrait .expanded-info-tabs button {min-height:35px;height:35px;padding:.34rem .42rem;font-size:.74rem;border-radius:9px;}
}
@media (max-width:760px) and (orientation:portrait) {
  .expanded-player .expanded-player-topbar,
  .expanded-player.view-portrait .expanded-player-topbar {display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:3px;min-width:0;}
  .expanded-player .expanded-info-tabs,
  .expanded-player.view-portrait .expanded-info-tabs {flex:1 1 0;min-width:0;width:0;display:grid;grid-template-columns:minmax(0,1.46fr) minmax(0,.85fr) minmax(0,.85fr);gap:3px;}
  .expanded-player .expanded-info-tabs button,
  .expanded-player.view-portrait .expanded-info-tabs button {box-sizing:border-box;min-width:0;width:100%;min-height:30px;height:30px;padding:2px 1px;font-size:clamp(9px,2.55vw,12px);line-height:1.05;white-space:nowrap;border-radius:7px;}
  .expanded-player .expanded-top-actions,
  .expanded-player.view-portrait .expanded-top-actions {flex:0 0 auto;width:auto;min-width:0;gap:3px;margin:0;}
  .expanded-player .expanded-top-actions button {width:30px;height:30px;min-width:30px;flex:0 0 30px;padding:0;border-radius:7px;}
  .expanded-player .expanded-top-actions .desktop-view-control {display:none !important;}
  .expanded-player .expanded-top-actions .v162-mode-icon,
  .expanded-player .expanded-top-actions .v163-mode-icon {width:17px;height:17px;}
}
@media (max-width:360px) and (orientation:portrait) {
  .expanded-player .expanded-info-tabs button,
  .expanded-player.view-portrait .expanded-info-tabs button {font-size:9px;}
  .expanded-player .expanded-top-actions button {width:28px;height:28px;min-width:28px;flex-basis:28px;}
}

/* V167 — phone layout only; desktop and approved landscape arrangement preserved. */
#phone-true-fullscreen { display: none !important; }
@media (max-width: 760px) and (orientation: portrait),
       (max-height: 600px) and (orientation: landscape) and (pointer: coarse) {
  .expanded-player .expanded-top-actions #phone-true-fullscreen { display: inline-grid !important; place-items:center; }
  .expanded-player .expanded-top-actions #expanded-fullscreen,
  .expanded-player .expanded-top-actions #expanded-portrait,
  .expanded-player .expanded-top-actions #expanded-landscape { display:none !important; }
}
@media (max-width: 760px) and (orientation:portrait) {
  .expanded-player .expanded-player-topbar,
  .expanded-player.view-portrait .expanded-player-topbar { display:flex !important; flex-direction:row !important; flex-wrap:nowrap !important; width:100%; min-width:0; gap:3px; align-items:center; }
  .expanded-player .expanded-info-tabs,
  .expanded-player.view-portrait .expanded-info-tabs { display:grid !important; order:0; grid-template-columns:minmax(0,1.46fr) minmax(0,.85fr) minmax(0,.85fr); flex:1 1 0; width:0; min-width:0; gap:3px; }
  .expanded-player .expanded-info-tabs button,
  .expanded-player.view-portrait .expanded-info-tabs button { box-sizing:border-box; width:100%; min-width:0; height:29px; min-height:29px; padding:1px 0; font-size:clamp(9px,2.55vw,11px); border-radius:7px; line-height:1.1; }
  .expanded-player .expanded-top-actions,
  .expanded-player.view-portrait .expanded-top-actions { display:flex; order:1; flex:0 0 auto; width:auto; min-width:0; margin:0; gap:3px; align-items:center; }
  .expanded-player .expanded-top-actions button {width:28px;height:29px;min-width:28px;flex:0 0 28px;padding:0;border-radius:7px;}
  .expanded-player .expanded-top-actions svg {width:16px;height:16px;}
  .expanded-player.view-portrait.show-information .expanded-player-content {display:grid !important;grid-template-columns:minmax(0,1fr) !important;grid-template-rows:minmax(0,1fr) !important;overflow:hidden;min-height:0;align-items:stretch;justify-items:stretch;}
  .expanded-player.view-portrait.show-information .expanded-cover-wrap {display:none !important;}
  .expanded-player.view-portrait.show-information .expanded-right-panel {display:flex !important;flex-direction:column !important;min-width:0;min-height:0;height:100%;overflow:hidden;}
  .expanded-player.view-portrait.show-information .expanded-info-view {display:block !important; flex:1 1 0 !important; height:auto !important; min-height:0 !important; max-height:none !important; overflow-y:auto !important; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; touch-action:pan-y;}
  .expanded-player.view-portrait.show-information .expanded-info-cover {display:block !important; width:min(76vw,300px);max-width:100%;height:auto;margin:0 auto 1rem;}
  .expanded-player.view-portrait.show-information .expanded-song-actions { flex:0 0 auto; }
}
@media (orientation:landscape) and (max-height:600px) and (pointer:coarse) {
  .expanded-player .expanded-info-tabs {gap:.36rem;}
  .expanded-player .expanded-info-tabs button {height:30px;min-height:30px;padding:.2rem .25rem;font-size:clamp(.66rem,1.8vw,.78rem);}
  .expanded-player .expanded-top-actions button {width:30px;height:30px;min-width:30px;flex-basis:30px;}
  .expanded-player .expanded-lyric.current {font-size:clamp(1.15rem,3.4vw,2rem);}
}


/* V168 — physical phone orientation governs reading layout, even after
   the player enters its view-fullscreen state. Do not affect desktop modes. */
@media (max-width: 760px) and (orientation: portrait) and (pointer: coarse) {
 .expanded-player .expanded-player-shell {
   display:grid !important;
   grid-template-rows:auto minmax(0,1fr) auto !important;
   min-height:0 !important;
   height:100dvh !important;
   max-height:100dvh !important;
   overflow:hidden !important;
   gap:4px !important;
   padding: max(4px,env(safe-area-inset-top)) 6px max(5px,env(safe-area-inset-bottom)) !important;
 }
 .expanded-player .expanded-player-topbar {
   display:flex !important; flex-direction:row !important; flex-wrap:nowrap !important;
   align-items:center !important; justify-content:space-between !important;
   gap:3px !important; min-height:0 !important; width:100% !important; overflow:visible !important;
 }
 .expanded-player .expanded-info-tabs {
   display:grid !important; grid-template-columns:minmax(0,1.52fr) minmax(0,.86fr) minmax(0,.86fr) !important;
   gap:3px !important; flex:1 1 0 !important; width:0 !important; min-width:0 !important;
   order:0 !important; margin:0 !important;
 }
 .expanded-player .expanded-info-tabs button {
   display:block !important; width:100% !important; min-width:0 !important;
   height:31px !important; min-height:31px !important; max-height:31px !important;
   padding:0 2px !important; margin:0 !important; border-radius:7px !important;
   font-size:clamp(9px,2.6vw,12px) !important; line-height:29px !important;
   white-space:nowrap !important; overflow:hidden !important;
 }
 .expanded-player .expanded-top-actions {
   display:flex !important; gap:3px !important; align-items:center !important;
   flex:0 0 auto !important; order:1 !important; width:auto !important; margin:0 !important;
 }
 .expanded-player .expanded-top-actions button:not(.desktop-view-control) {
   box-sizing:border-box !important; display:inline-grid !important; place-items:center !important;
   width:31px !important; min-width:31px !important; max-width:31px !important;
   height:31px !important; min-height:31px !important; max-height:31px !important;
   flex:0 0 31px !important; padding:0 !important; margin:0 !important;
   border-radius:7px !important; line-height:1 !important;
 }
 .expanded-player .expanded-top-actions button.desktop-view-control {display:none !important;}
 .expanded-player .expanded-top-actions #phone-true-fullscreen {display:inline-grid !important;}
 .expanded-player .expanded-top-actions svg {width:17px !important;height:17px !important;}
 .expanded-player .expanded-player-content {min-height:0 !important; overflow:hidden !important;}
 /* Information is one scrolling surface: image FIRST, text SECOND. */
 .expanded-player.show-information .expanded-player-content {
   display:block !important; min-height:0 !important; overflow:hidden !important;
   width:100% !important; height:100% !important;
 }
 .expanded-player.show-information .expanded-cover-wrap {display:none !important;}
 .expanded-player.show-information .expanded-right-panel {
   display:flex !important; flex-direction:column !important;
   height:100% !important; min-height:0 !important; width:100% !important;
   align-self:stretch !important; overflow:hidden !important;
 }
 .expanded-player.show-information .expanded-lyrics {display:none !important;}
 .expanded-player.show-information .expanded-info-view:not([hidden]) {
   display:block !important; flex:1 1 0 !important; min-height:0 !important;
   height:0 !important; max-height:none !important; width:100% !important;
   overflow-x:hidden !important; overflow-y:auto !important;
   -webkit-overflow-scrolling:touch !important; touch-action:pan-y !important;
   overscroll-behavior:contain; padding:10px !important;
 }
 .expanded-player.show-information .expanded-info-cover {
   display:block !important; position:static !important; float:none !important;
   width:min(76vw,300px) !important; height:auto !important; max-width:100% !important;
   aspect-ratio:1; object-fit:cover; margin:0 auto 14px !important;
 }
 .expanded-player.show-information .expanded-song-actions {flex:0 0 auto !important;}
}
/* Compact phone landscape and true-fullscreen top controls. */
@media (orientation: landscape) and (max-height: 600px) and (pointer: coarse) {
 .expanded-player .expanded-player-topbar {min-height:0 !important; align-items:center !important;}
 .expanded-player .expanded-info-tabs {gap:8px !important;}
 .expanded-player .expanded-info-tabs button {
   box-sizing:border-box !important; height:31px !important; min-height:31px !important;
   max-height:31px !important; padding:0 8px !important;
   line-height:29px !important; border-radius:8px !important;
 }
 .expanded-player .expanded-top-actions {gap:6px !important; align-items:center !important;}
 .expanded-player .expanded-top-actions button:not(.desktop-view-control) {
   box-sizing:border-box !important; display:inline-grid !important; place-items:center !important;
   width:31px !important; min-width:31px !important; max-width:31px !important;
   height:31px !important; min-height:31px !important; max-height:31px !important;
   padding:0 !important; flex:0 0 31px !important; border-radius:8px !important;
 }
 .expanded-player .expanded-top-actions #phone-true-fullscreen {display:inline-grid !important;}
}

/* V169: targeted tab refinements. */
@media (min-width:761px) and (hover:hover) and (pointer:fine) {
 .expanded-player.view-landscape .expanded-info-tabs {gap:1rem !important;}
}
@media (orientation:landscape) and (max-height:600px) and (pointer:coarse) {
 .expanded-player .expanded-info-tabs button {font-size:clamp(14px,1.85vw,17px) !important;letter-spacing:0 !important;}
}

/* V170: feedback appears over the active expanded player, including native fullscreen. */
.expanded-player .player-feedback {
  position: absolute; top: 66px; left: 50%; transform: translateX(-50%);
  z-index: 9999; width: max-content; max-width: min(90vw, 420px);
  padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.3);
  border-radius: 12px; background: rgba(10,27,43,.96); color: #fff;
  font: 700 .9rem/1.35 inherit; font-family: inherit; font-size: .9rem; font-weight: 700;
  line-height: 1.35; text-align: center; box-shadow: 0 12px 35px rgba(0,0,0,.45);
  pointer-events: none; opacity: 0; visibility: hidden;
  transition: opacity .15s ease; white-space: normal;
}
.expanded-player .player-feedback.show { opacity: 1; visibility: visible; }
.expanded-song-actions button:disabled, .song-card [data-download]:disabled {opacity:.55;cursor:progress;}
@media (max-width:760px) { .expanded-player .player-feedback { top: 49px; font-size: .8rem; } }

/* V171: phone navigation clarity and legible player feedback. */
.expanded-player .player-feedback {
  background: #fff2d0 !important;
  color: #172a3d !important;
  border: 2px solid #e1a53d !important;
  box-shadow: 0 14px 38px rgba(0,0,0,.58) !important;
  padding: .85rem 1.15rem !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  max-width: min(92vw, 480px) !important;
}
@media (orientation: portrait) and (max-width: 760px) and (pointer: coarse) {
  .expanded-player .expanded-info-tabs button {
    font-size: clamp(11.5px, 3.25vw, 13px) !important;
    font-weight: 750 !important;
  }
  .expanded-player .player-feedback { font-size: .95rem !important; }
}

/* V172: feedback anchored near player action row; phone tabs larger, same button size. */
.expanded-player .expanded-right-panel { position: relative; }
.expanded-player .expanded-right-panel .player-feedback {
  position:absolute !important; top:auto !important; bottom:54px !important;
  left:50% !important; right:auto !important; transform:translateX(-50%) !important;
  width:max-content !important; max-width:min(94%,420px) !important;
  z-index:10000 !important; pointer-events:none !important;
}
@media (orientation:portrait) and (max-width:760px) and (pointer:coarse) {
  .expanded-player .expanded-info-tabs button {font-size:clamp(12.5px,3.55vw,14px) !important;}
  .expanded-player .expanded-right-panel .player-feedback {bottom:54px !important;}
}
@media (orientation:landscape) and (max-height:600px) and (pointer:coarse) {
  .expanded-player .expanded-right-panel .player-feedback {bottom:44px !important; padding:.5rem .7rem !important; font-size:.86rem !important;}
}

/* V173: subtle breathing room for phone portrait only; no artwork or lyric changes. */
@media (max-width:760px) and (orientation:portrait) and (pointer:coarse) {
 .expanded-player .expanded-player-shell {
   padding-top:max(10px, env(safe-area-inset-top)) !important;
   row-gap:7px !important;
 }
 .expanded-player .expanded-player-topbar { margin-bottom:3px !important; }
}
/* A little headroom in landscape without reducing the readable content. */
@media (orientation:landscape) and (max-height:600px) and (pointer:coarse) {
 .expanded-player .expanded-player-shell { padding-top:max(6px, env(safe-area-inset-top)) !important; }
}

/* V174: phone portrait headroom and contextual scroll cue. */
@media (max-width:760px) and (orientation:portrait) and (pointer:coarse) {
 .expanded-player .expanded-player-shell {padding-top:max(15px, env(safe-area-inset-top)) !important;}
}
.expanded-player .expanded-right-panel {position:relative;}
.expanded-scroll-hint {
 position:absolute; bottom:51px; left:50%; transform:translateX(-50%) translateY(5px);
 z-index:28; pointer-events:none; opacity:0; visibility:hidden;
 color:#172a3d; background:rgba(255,245,213,.96); border:1px solid rgba(225,165,61,.75);
 border-radius:999px; font:700 12px/1.3 inherit; font-family:inherit; font-size:12px; font-weight:700;
 padding:6px 12px; box-shadow:0 3px 15px rgba(0,0,0,.4); white-space:nowrap;
 transition:opacity .2s ease, transform .2s ease;
}
.expanded-scroll-hint.visible {opacity:1;visibility:visible; transform:translateX(-50%) translateY(0);}

/* V175: present the once-only scroll cue on desktop as well as touch screens. */
.expanded-scroll-hint { z-index: 95; bottom: 49px; }
@media (hover:hover) and (pointer:fine) {
 .expanded-scroll-hint { bottom: 53px; font-size: 13px; padding: 7px 14px; }
}

/* V177: Reader-friendly full lyrics only. Timed lyrics and About remain unchanged. */
#expanded-info-text .lyric-section { color:var(--gold); font-family:inherit; font-size:.77em; font-weight:700; letter-spacing:.09em; text-transform:uppercase; margin:1.35em 0 .5em; white-space:normal; }
#expanded-info-text .lyric-section:first-child { margin-top:0; }
#expanded-info-text .lyric-speaker { color:rgba(255,255,255,.70); font-size:.8em; font-weight:600; margin:.75em 0 .18em; white-space:normal; }
#expanded-info-text .lyric-stanza { margin:0 0 1em; white-space:normal; }
#expanded-info-text .lyric-line { line-height:1.5; overflow-wrap:break-word; }
#expanded-info-text .lyric-stanza + .lyric-speaker { margin-top:.15em; }

/* V178: quiet, scan-friendly typography for complete Lyrics tab only. */
#expanded-info-text .lyric-section {
  color:rgba(213,222,230,.68);
  font-size:.70em;
  font-weight:650;
  letter-spacing:.105em;
  line-height:1.35;
  text-transform:uppercase;
  margin:2.05em 0 .72em;
  white-space:normal;
}
#expanded-info-text .lyric-section:first-child { margin-top:0; }
#expanded-info-text .lyric-speaker {
  color:rgba(213,222,230,.66);
  font-size:.72em;
  font-weight:600;
  letter-spacing:.035em;
  line-height:1.35;
  margin:.83em 0 .22em;
  white-space:normal;
}
#expanded-info-text .lyric-stanza { margin:0 0 1.12em; white-space:normal; }
#expanded-info-text .lyric-line { line-height:1.57; overflow-wrap:break-word; }
#expanded-info-text .lyric-stanza + .lyric-speaker { margin-top:.2em; }
@media (max-width: 600px) {
  #expanded-info-text .lyric-section { margin-top:1.78em; margin-bottom:.65em; }
  #expanded-info-text .lyric-stanza { margin-bottom:.98em; }
}

/* V179 — cohesive amber-and-blue glass controls. Visual changes only. */
.expanded-player .expanded-player-shell {
  background: linear-gradient(150deg, rgba(7,24,41,.97), rgba(3,17,31,.975) 62%, rgba(8,31,49,.98));
  border-color: rgba(112,180,224,.5);
}
.expanded-player:not(.view-fullscreen) .expanded-player-shell {
  box-shadow: 0 22px 70px rgba(0,0,0,.48), inset 0 0 0 1px rgba(77,150,204,.18), inset 0 1px 16px rgba(55,133,186,.10);
}
.expanded-player .expanded-top-actions button,
.expanded-player .expanded-info-tabs button,
.expanded-player .expanded-secondary-actions .action-button,
.expanded-player .expanded-transport button {
  color:#eaf5ff;
  border:1px solid rgba(105,170,220,.58);
  background:linear-gradient(150deg,rgba(34,54,77,.93),rgba(7,24,43,.97) 55%,rgba(9,34,57,.94));
  box-shadow: inset 0 1px 1px rgba(232,246,255,.17), inset 0 -2px 5px rgba(0,12,28,.36), 0 2px 7px rgba(0,0,0,.22);
  text-shadow:0 1px 2px rgba(0,0,0,.3);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, color .16s ease;
}
.expanded-player .expanded-top-actions button:hover,
.expanded-player .expanded-info-tabs button:hover,
.expanded-player .expanded-secondary-actions .action-button:hover,
.expanded-player .expanded-transport button:not(:disabled):hover {
  border-color:#8cccf2;
  background:linear-gradient(150deg,#294864,#0c2742);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.22),0 0 11px rgba(81,169,227,.32);
}
.expanded-player .expanded-top-actions .desktop-view-control.active,
.expanded-player .expanded-info-tabs button.active,
.expanded-player .expanded-transport .expanded-main {
  color:#071522;
  border-color:#ffe2a1;
  background:linear-gradient(145deg,#ffe28b 0%,#f6b93c 57%,#f59029 100%);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.55),0 0 0 1px rgba(255,181,58,.24),0 0 13px rgba(255,154,39,.33);
  text-shadow:none;
}
.expanded-player .expanded-transport .expanded-main {color:white;background:linear-gradient(145deg,#ffb64c,#f36b24);border-color:#ffd28b;}
.expanded-player .expanded-top-actions button {border-radius:11px;}
.expanded-player .expanded-info-tabs button {border-radius:11px;}
.expanded-player .expanded-transport button {border-radius:11px;}
.expanded-player .expanded-transport .expanded-main {border-radius:50%;}
.expanded-player .expanded-player-controls {border-color:rgba(95,160,208,.4);background:linear-gradient(155deg,rgba(28,49,69,.8),rgba(5,20,36,.75));box-shadow:inset 0 1px 2px rgba(179,224,255,.12);}
.expanded-player .expanded-cover {box-shadow:0 14px 38px rgba(0,0,0,.38),0 0 0 1px rgba(119,174,209,.38);}
.expanded-player .expanded-timeline input {accent-color:#ffa634;}
.expanded-player .expanded-top-actions button:focus-visible,
.expanded-player .expanded-info-tabs button:focus-visible,
.expanded-player .expanded-transport button:focus-visible,
.expanded-player .expanded-secondary-actions button:focus-visible {outline:2px solid #ffe099;outline-offset:2px;}
@media (prefers-reduced-motion: reduce) {
 .expanded-player .expanded-top-actions button,.expanded-player .expanded-info-tabs button,.expanded-player .expanded-transport button,.expanded-player .expanded-secondary-actions .action-button {transition:none;}
}

/* V180: single consistent gold for all player accents; quiet controls, no pulsing. */
:root { --player-accent: #f5b942; }
.mini-view-controls.view-controls-pulse button,
.expanded-top-actions.view-controls-pulse button { animation: none !important; }
.expanded-player .expanded-top-actions button,
.expanded-player .expanded-info-tabs button,
.expanded-player .expanded-secondary-actions .action-button,
.expanded-player .expanded-transport button {
  border-color: rgba(245,185,66,.32);
}
.expanded-player .expanded-top-actions button:hover,
.expanded-player .expanded-info-tabs button:hover,
.expanded-player .expanded-secondary-actions .action-button:hover,
.expanded-player .expanded-transport button:not(:disabled):hover {
  border-color: var(--player-accent);
  background: linear-gradient(145deg,rgba(70,53,30,.94),rgba(24,31,43,.96));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.15),0 0 8px rgba(245,185,66,.18);
}
.expanded-player .expanded-top-actions button.active,
.expanded-player .expanded-info-tabs button.active,
.expanded-player .expanded-transport .expanded-main,
.expanded-player .expanded-transport .expanded-main:hover,
.expanded-player .expanded-top-actions #expanded-collapse.active {
  color:#071522;
  border-color:#ffe2a1;
  background:var(--player-accent);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.35),0 0 8px rgba(245,185,66,.19);
  text-shadow:none;
}
.expanded-player .expanded-timeline input {accent-color:var(--player-accent);}
/* Static five-bar equalizer glyph from the original concept. */
#expanded-tab-now { display:inline-flex;align-items:center;justify-content:center;gap:.48em; }
.now-playing-waveform {display:inline-block;width:18px;height:14px;flex:none;fill:currentColor;overflow:visible;}
@media (max-width:360px) {#expanded-tab-now {gap:.26em;} .now-playing-waveform {width:16px;height:12px;} }
/* One-step phone fullscreen: remove the redundant second fullscreen button. */
#phone-true-fullscreen {display:none !important;}


/* V181: fix waveform icon, remove redundant phone fullscreen button, and rebalance mobile top row. */
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  #expanded-fullscreen { display:none !important; }
  .expanded-player .expanded-top-actions {
    gap: .32rem;
  }
  .expanded-player .expanded-info-tabs,
  .expanded-player.view-portrait .expanded-info-tabs {
    grid-template-columns: minmax(0,1.55fr) minmax(0,.95fr) minmax(0,.95fr);
    gap: .38rem;
  }
  .expanded-player .expanded-info-tabs button,
  .expanded-player.view-portrait .expanded-info-tabs button {
    min-height: 32px;
    height: 32px;
    padding: .28rem .34rem;
    font-size: clamp(10px, 2.85vw, 12.5px);
  }
  #expanded-tab-now { gap: .42em; }
  .now-playing-waveform { width: 17px; height: 13px; }
}
@media (max-width: 420px) {
  .expanded-player .expanded-info-tabs,
  .expanded-player.view-portrait .expanded-info-tabs {
    gap: .34rem;
  }
  .expanded-player .expanded-info-tabs button,
  .expanded-player.view-portrait .expanded-info-tabs button {
    min-height: 33px;
    height: 33px;
    font-size: clamp(10.5px, 3.2vw, 13px);
  }
}

/* V182: phone-only toolbar simplification; desktop CSS is unchanged. */
@media (max-width:760px), (hover:none) and (pointer:coarse) {
  /* Override V167-V169 rules that forced the obsolete square button to show. */
  #expanded-player .expanded-top-actions #phone-true-fullscreen,
  #expanded-player .expanded-top-actions #expanded-fullscreen { display:none !important; }
  #expanded-player .expanded-player-topbar {gap:8px !important;}
  #expanded-player .expanded-info-tabs {
    display:grid !important;
    grid-template-columns:minmax(0,1.85fr) minmax(0,.88fr) minmax(0,.88fr) !important;
    gap:5px !important;
    min-width:0 !important;
  }
  #expanded-player .expanded-info-tabs #expanded-tab-now {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    padding:0 7px !important;
    line-height:1.1 !important;
    white-space:nowrap !important;
  }
  #expanded-player .now-playing-waveform {
    display:block !important;
    width:17px !important;
    height:14px !important;
    min-width:17px !important;
    flex:0 0 17px !important;
  }
  #expanded-player .expanded-info-tabs button {font-size:clamp(10px,3vw,13px) !important;}
  #expanded-player .expanded-top-actions {gap:5px !important;}
}
@media (max-width:360px) and (hover:none) and (pointer:coarse) {
  #expanded-player .expanded-player-topbar {gap:5px !important;}
  #expanded-player .expanded-info-tabs {gap:3px !important;}
  #expanded-player .expanded-info-tabs #expanded-tab-now {gap:5px !important;padding:0 3px !important;}
  #expanded-player .expanded-info-tabs button {font-size:10px !important;}
}

/* V183: readable phone navigation labels, without altering desktop views. */
@media (max-width:760px), (hover:none) and (pointer:coarse) {
  #expanded-player .expanded-info-tabs {
    grid-template-columns:minmax(0,1.95fr) minmax(0,.82fr) minmax(0,.82fr) !important;
    gap:5px !important;
  }
  #expanded-player .expanded-info-tabs button {
    font-size:clamp(12px,3.7vw,16px) !important;
    font-weight:750 !important;
    letter-spacing:0 !important;
  }
  #expanded-player .expanded-info-tabs #expanded-tab-now {
    gap:7px !important;
    padding-inline:4px !important;
  }
  #expanded-player .expanded-info-tabs .now-playing-waveform {
    width:16px !important;
    min-width:16px !important;
    flex:0 0 16px !important;
  }
}
@media (max-width:360px) and (hover:none) and (pointer:coarse) {
  #expanded-player .expanded-info-tabs {gap:3px !important;}
  #expanded-player .expanded-info-tabs button {font-size:clamp(11px,3.4vw,13px) !important;}
  #expanded-player .expanded-info-tabs #expanded-tab-now {gap:4px !important;padding-inline:2px !important;}
  #expanded-player .expanded-info-tabs .now-playing-waveform {
    width:13px !important; min-width:13px !important; flex-basis:13px !important;
  }
}

/* V184: unified checkbox palette and refined mini player. */
:root { --ride-outline-gold:#f5b942; --ride-check-orange:#f36b24; }
.song-button.ride-list-toggle .ride-list-check-box,
.song-button.ride-list-toggle.active .ride-list-check-box,
.song-secondary-controls .song-button.toolbar-ride-toggle .ride-list-check-box,
.song-secondary-controls .song-button.toolbar-ride-toggle.active .ride-list-check-box,
.expanded-player .expanded-song-actions .ride-list-toggle .ride-list-check-box,
.expanded-player .expanded-song-actions .ride-list-toggle.active .ride-list-check-box {fill:none !important;stroke:var(--ride-outline-gold) !important;}
.song-button.ride-list-toggle.active .ride-list-big-check,
.song-secondary-controls .song-button.toolbar-ride-toggle.active .ride-list-big-check,
.expanded-player .expanded-song-actions .ride-list-toggle.active .ride-list-big-check {fill:none !important;stroke:var(--ride-check-orange) !important;}
.player .player-main {background:linear-gradient(145deg,#ffb64c,#f36b24) !important;border:1px solid #f5b942 !important;box-shadow:inset 0 1px 1px rgba(255,255,255,.28),0 0 9px rgba(245,185,66,.22);}
.player .player-skip {border:1px solid rgba(245,185,66,.32);border-radius:10px !important;background:linear-gradient(150deg,rgba(34,54,77,.93),rgba(7,24,43,.97));box-shadow:inset 0 1px 1px rgba(232,246,255,.13);}
/* Disable sticky simulated hover on touch surfaces without altering the playback state. */
@media (hover:none), (pointer:coarse) {
  .expanded-player .expanded-transport .expanded-main:hover,
  .expanded-player .expanded-transport .expanded-main:active {background:var(--player-accent) !important;color:#071522 !important;border-color:#ffe2a1 !important;filter:none !important;opacity:1 !important;box-shadow:inset 0 1px 1px rgba(255,255,255,.35),0 0 8px rgba(245,185,66,.19) !important;}
  .player .player-main:hover,.player .player-main:active {background:linear-gradient(145deg,#ffb64c,#f36b24) !important;filter:none !important;opacity:1 !important;}
  .expanded-player .expanded-transport button:not(.expanded-main):hover {background:linear-gradient(150deg,rgba(34,54,77,.93),rgba(7,24,43,.97) 55%,rgba(9,34,57,.94));box-shadow:inset 0 1px 1px rgba(232,246,255,.17);}
}
/* Keep square cover content uncropped in ALL player views. */
.expanded-player .expanded-cover {object-fit:contain !important;object-position:center !important;}
@media (max-width:760px), (hover:none) and (pointer:coarse) {
  .expanded-player:not(.show-information) .expanded-cover-wrap,
  .expanded-player.view-portrait:not(.show-information) .expanded-cover-wrap {
    box-sizing:border-box;aspect-ratio:1/1 !important;width:min(79vw,45dvh,330px) !important;height:auto !important;max-width:100% !important;max-height:100% !important;min-width:0 !important;justify-self:center;align-self:center;
  }
  .expanded-player .expanded-cover {width:100% !important;height:100% !important;object-fit:contain !important;}
  /* Three balanced tabs; Now Playing earns width for the audio-bars icon. */
  #expanded-player .expanded-info-tabs {grid-template-columns:minmax(0,1.66fr) minmax(0,.88fr) minmax(0,.88fr) !important;gap:5px !important;}
  #expanded-player .expanded-info-tabs button {font-size:clamp(13px,3.9vw,16px) !important;font-weight:750 !important;padding-inline:4px !important;white-space:nowrap !important;}
  #expanded-player .expanded-info-tabs #expanded-tab-now {gap:7px !important;padding-inline:5px !important;}
}
@media (max-width:360px) and (hover:none) and (pointer:coarse) {
  #expanded-player .expanded-info-tabs button {font-size:clamp(11px,3.6vw,13px) !important;}
  #expanded-player .expanded-info-tabs #expanded-tab-now {gap:4px !important;padding-inline:2px !important;}
}

/* V185: shared gold/orange controls, no gradients that change the orange tint. */
:root { --ride-check-orange:#f36b24; --ride-outline-gold:#f5b942; }
.expanded-player .expanded-transport .expanded-main,
.expanded-player .expanded-transport .expanded-main:hover,
.player .player-main,
.player .player-main:hover { background:var(--ride-check-orange) !important; color:#fff !important; border-color:var(--ride-outline-gold) !important; filter:none !important; opacity:1 !important; }
@media (hover:none), (pointer:coarse) {
  .expanded-player .expanded-transport .expanded-main:active,
  .expanded-player .expanded-transport .expanded-main:hover,
  .player .player-main:active,
  .player .player-main:hover { background:var(--ride-check-orange) !important; color:#fff !important; filter:none !important; opacity:1 !important; }
}
/* Phone portrait: first row just collapse + close; second row is three full-width tabs.
   Strong overrides deliberately supersede historical one-row V168/V167 rules. */
@media (orientation:portrait) and (max-width:760px) and (pointer:coarse) {
  #expanded-player:not([hidden]) { inset:0 !important; height:100dvh !important; max-height:100dvh !important; box-sizing:border-box !important; }
  #expanded-player .expanded-player-shell {
    box-sizing:border-box !important; position:relative !important; inset:auto !important;
    width:100% !important; height:100dvh !important; max-height:100dvh !important;
    padding:max(12px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left)) !important;
    grid-template-rows:auto minmax(0,1fr) auto !important;
    row-gap:6px !important; overflow:hidden !important;
  }
  #expanded-player .expanded-player-topbar,
  #expanded-player.view-portrait .expanded-player-topbar {
    display:flex !important; flex-direction:column !important; flex-wrap:nowrap !important;
    align-items:stretch !important; justify-content:flex-start !important;
    gap:8px !important; width:100% !important; min-width:0 !important;
    margin:0 !important;
  }
  #expanded-player .expanded-top-actions,
  #expanded-player.view-portrait .expanded-top-actions {
    display:flex !important; order:0 !important; align-self:stretch !important;
    justify-content:flex-end !important; align-items:center !important;
    width:100% !important; flex:0 0 auto !important; gap:9px !important; margin:0 !important;
  }
  #expanded-player .expanded-top-actions button.desktop-view-control,
  #expanded-player .expanded-top-actions #phone-true-fullscreen {display:none !important;}
  #expanded-player .expanded-top-actions #expanded-collapse,
  #expanded-player .expanded-top-actions #expanded-close {
    display:inline-grid !important; place-items:center !important;
    width:38px !important; min-width:38px !important; max-width:38px !important;
    height:38px !important; min-height:38px !important; max-height:38px !important;
    flex:0 0 38px !important; padding:0 !important; line-height:1 !important;
    border-radius:10px !important;
  }
  #expanded-player .expanded-info-tabs,
  #expanded-player.view-portrait .expanded-info-tabs {
    display:grid !important; order:1 !important;
    grid-template-columns:minmax(0,1.48fr) minmax(0,1fr) minmax(0,1fr) !important;
    width:100% !important; min-width:0 !important; flex:0 0 auto !important;
    gap:8px !important; margin:0 !important;
  }
  #expanded-player .expanded-info-tabs button,
  #expanded-player.view-portrait .expanded-info-tabs button {
    display:flex !important; align-items:center !important; justify-content:center !important;
    box-sizing:border-box !important; min-width:0 !important; width:100% !important;
    height:42px !important; min-height:42px !important; max-height:42px !important;
    padding:0 5px !important; margin:0 !important; border-radius:11px !important;
    font-size:clamp(13px,3.8vw,16px) !important; font-weight:750 !important;
    line-height:1.15 !important; white-space:nowrap !important; overflow:hidden !important;
  }
  #expanded-player .expanded-info-tabs #expanded-tab-now {gap:8px !important; padding-inline:7px !important;}
  #expanded-player .expanded-info-tabs .now-playing-waveform {width:17px !important;min-width:17px !important;flex:0 0 17px !important;height:14px !important;}
  #expanded-player:not(.show-information) .expanded-player-content,
  #expanded-player.view-portrait:not(.show-information) .expanded-player-content {
    display:grid !important; grid-template-columns:minmax(0,1fr) !important;
    grid-template-rows:minmax(0,1.2fr) minmax(0,.8fr) !important;
    gap:4px !important; min-height:0 !important; overflow:hidden !important;
  }
  #expanded-player:not(.show-information) .expanded-cover-wrap,
  #expanded-player.view-portrait:not(.show-information) .expanded-cover-wrap {
    box-sizing:border-box !important; aspect-ratio:1 / 1 !important;
    width:min(90vw,43dvh,390px) !important; height:auto !important;
    min-width:0 !important; max-width:100% !important; max-height:100% !important;
    align-self:start !important; justify-self:center !important; margin:2px auto 0 !important;
  }
  #expanded-player .expanded-cover {width:100% !important;height:100% !important;object-fit:contain !important;}
}
/* Short-screen fallback avoids either control row being pushed offscreen. */
@media (orientation:portrait) and (max-height:700px) and (max-width:760px) and (pointer:coarse) {
  #expanded-player .expanded-player-shell {padding-top:max(8px,env(safe-area-inset-top)) !important;padding-bottom:max(8px,env(safe-area-inset-bottom)) !important;row-gap:4px !important;}
  #expanded-player .expanded-player-topbar {gap:5px !important;}
  #expanded-player .expanded-info-tabs button {height:38px !important;min-height:38px !important;max-height:38px !important;}
  #expanded-player:not(.show-information) .expanded-cover-wrap {width:min(87vw,38dvh,340px) !important;}
}
/* Use the fullscreen element's actual layout box rather than a possibly stale
   pre-fullscreen viewport measurement on some Android Chrome configurations. */
@media (orientation:portrait) and (max-width:760px) and (pointer:coarse) {
  #expanded-player:fullscreen {height:100% !important;max-height:100% !important;}
  #expanded-player:fullscreen .expanded-player-shell {height:100% !important;max-height:100% !important;}
}

/* V186 — mobile typography, gold mini progress, and unbreakable previous glyph. */
.player .player-progress { accent-color:var(--ride-outline-gold, #f5b942) !important; }
/* SVG is a single fixed-size icon; it cannot line-wrap on narrow phone screens. */
#expanded-previous .previous-track-icon { display:block; width:20px; height:20px; flex:none; stroke:currentColor; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; fill:currentColor; }
#expanded-previous .previous-track-icon path:first-child {fill:none;}
@media (orientation:portrait) and (max-width:760px) and (pointer:coarse) {
  #expanded-player .expanded-info-tabs,
  #expanded-player.view-portrait .expanded-info-tabs {
    grid-template-columns:minmax(0,1.85fr) minmax(0,.9fr) minmax(0,.9fr) !important;
    gap:7px !important;
  }
  #expanded-player .expanded-info-tabs button,
  #expanded-player.view-portrait .expanded-info-tabs button {
    font-size:clamp(14px,4vw,18px) !important;
    font-weight:750 !important;
    letter-spacing:0 !important;
    padding-inline:4px !important;
  }
  #expanded-player .expanded-info-tabs #expanded-tab-now {
    gap:8px !important;
    padding-inline:6px !important;
  }
}
@media (orientation:portrait) and (max-width:360px) and (pointer:coarse) {
  #expanded-player .expanded-info-tabs,
  #expanded-player.view-portrait .expanded-info-tabs {gap:4px !important;grid-template-columns:minmax(0,1.9fr) minmax(0,.88fr) minmax(0,.88fr) !important;}
  #expanded-player .expanded-info-tabs button,
  #expanded-player.view-portrait .expanded-info-tabs button {font-size:clamp(12.5px,3.7vw,14.5px) !important;padding-inline:2px !important;}
  #expanded-player .expanded-info-tabs #expanded-tab-now {gap:5px !important;padding-inline:3px !important;}
}

/* V191 — mobile-only illuminated glass buttons. Active/selected remain distinguishable. */
@media (max-width: 760px) and (hover: none) and (pointer: coarse) {
  #expanded-player .expanded-top-actions button,
  #expanded-player .expanded-info-tabs button,
  #expanded-player .expanded-secondary-actions .action-button,
  #expanded-player .expanded-transport button:not(.expanded-main) {
    border:1px solid rgba(245,185,66,.75) !important;
    box-shadow:inset 0 1px 1px rgba(255,255,255,.16),0 0 7px rgba(245,185,66,.21),0 2px 7px rgba(0,0,0,.2) !important;
  }
  #expanded-player .expanded-top-actions button:not(.active),
  #expanded-player .expanded-info-tabs button:not(.active),
  #expanded-player .expanded-secondary-actions .action-button,
  #expanded-player .expanded-transport button:not(.expanded-main) {
    background:linear-gradient(150deg,rgba(34,54,77,.93),rgba(7,24,43,.97) 55%,rgba(9,34,57,.94)) !important;
    color:#eaf5ff !important;
    filter:none !important; opacity:1 !important;
  }
  #expanded-player .expanded-top-actions button.active,
  #expanded-player .expanded-info-tabs button.active {
    box-shadow:inset 0 1px 1px rgba(255,255,255,.4),0 0 10px rgba(245,185,66,.32) !important;
  }
  #expanded-player .expanded-top-actions button:hover,
  #expanded-player .expanded-info-tabs button:hover,
  #expanded-player .expanded-secondary-actions .action-button:hover,
  #expanded-player .expanded-transport button:not(.expanded-main):hover {
    filter:none !important; opacity:1 !important;
  }
  #expanded-player .expanded-song-actions .ride-list-toggle .ride-list-check-box,
  #expanded-player .expanded-song-actions .ride-list-toggle.active .ride-list-check-box {
    stroke:#f5b942 !important;
    stroke-linejoin:round;
  }
}


/* V192 — phone-only split accent comparison.
   Top controls use calmer steel blue; lower controls use brighter ice blue.
   Main play/pause stays orange so the primary action remains obvious. */
@media (max-width: 760px) and (hover: none) and (pointer: coarse) {
  :root {
    --v192-steel-text: #eaf5ff;
    --v192-steel-border: rgba(111, 150, 178, .82);
    --v192-steel-glow: rgba(100, 155, 194, .24);
    --v192-steel-bg-a: rgba(33, 56, 79, .95);
    --v192-steel-bg-b: rgba(8, 24, 41, .98);
    --v192-steel-active: #7fa9c7;

    --v192-ice-text: #eef8ff;
    --v192-ice-border: rgba(143, 214, 255, .92);
    --v192-ice-glow: rgba(110, 206, 255, .36);
    --v192-ice-bg-a: rgba(30, 62, 91, .96);
    --v192-ice-bg-b: rgba(7, 27, 47, .99);
    --v192-ice-active: #95ddff;
  }

  /* TOP: view/mode buttons + Now Playing/About/Lyrics = steel blue */
  #expanded-player .expanded-top-actions button,
  #expanded-player .expanded-info-tabs button {
    color: var(--v192-steel-text) !important;
    border: 1px solid var(--v192-steel-border) !important;
    background: linear-gradient(150deg, var(--v192-steel-bg-a), var(--v192-steel-bg-b) 58%, rgba(10, 35, 58, .96)) !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.16), 0 0 8px var(--v192-steel-glow), 0 2px 7px rgba(0,0,0,.22) !important;
  }
  #expanded-player .expanded-top-actions button:hover,
  #expanded-player .expanded-info-tabs button:hover {
    border-color: rgba(153, 189, 214, .96) !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.2), 0 0 10px rgba(125, 175, 209, .3), 0 2px 7px rgba(0,0,0,.24) !important;
  }
  #expanded-player .expanded-top-actions button.active,
  #expanded-player .expanded-info-tabs button.active {
    color: #f4fbff !important;
    border-color: rgba(176, 209, 229, .98) !important;
    background: linear-gradient(145deg, rgba(118, 160, 191, .92), rgba(70, 112, 143, .98)) !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.3), 0 0 12px rgba(115, 169, 205, .34), 0 2px 7px rgba(0,0,0,.22) !important;
    text-shadow: none !important;
  }

  /* LOWER ACTIONS: Ride List row, download / YouTube / share, transport cluster = ice blue */
  #expanded-player .expanded-song-actions .ride-list-toggle,
  #expanded-player .expanded-secondary-actions .action-button,
  #expanded-player .expanded-transport button:not(.expanded-main) {
    color: var(--v192-ice-text) !important;
    border: 1px solid var(--v192-ice-border) !important;
    background: linear-gradient(150deg, var(--v192-ice-bg-a), var(--v192-ice-bg-b) 58%, rgba(8, 33, 55, .98)) !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.18), 0 0 9px var(--v192-ice-glow), 0 2px 8px rgba(0,0,0,.24) !important;
  }
  #expanded-player .expanded-song-actions .ride-list-toggle:hover,
  #expanded-player .expanded-secondary-actions .action-button:hover,
  #expanded-player .expanded-transport button:not(.expanded-main):not(:disabled):hover {
    border-color: rgba(190, 234, 255, .98) !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.22), 0 0 12px rgba(122, 216, 255, .4), 0 2px 8px rgba(0,0,0,.26) !important;
  }

  /* Keep the key orange play/pause button. */
  #expanded-player .expanded-transport .expanded-main,
  #expanded-player .expanded-transport .expanded-main:hover {
    color:#fff !important;
    border-color:#ffd28b !important;
    background:linear-gradient(145deg,#ffb64c,#f36b24) !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.35), 0 0 10px rgba(243,107,36,.24), 0 2px 8px rgba(0,0,0,.22) !important;
  }

  /* Give the whole bottom control bar an ice-blue identity for comparison. */
  #expanded-player .expanded-player-controls {
    border-color: rgba(143,214,255,.5) !important;
    background: linear-gradient(155deg, rgba(20,44,67,.84), rgba(5,18,33,.82)) !important;
    box-shadow: inset 0 1px 2px rgba(222,246,255,.14), 0 0 12px rgba(110,206,255,.12) !important;
  }
  #expanded-player .expanded-timeline span {
    color: #d8effb !important;
  }
  #expanded-player .expanded-timeline input {
    accent-color: #8fd6ff !important;
  }

  /* Preserve the rounded checkbox look the user liked, now with an ice-blue outline. */
  #expanded-player .expanded-song-actions .ride-list-toggle {
    border-radius: 10px !important;
  }
  #expanded-player .expanded-song-actions .ride-list-toggle .ride-list-check-box,
  #expanded-player .expanded-song-actions .ride-list-toggle.active .ride-list-check-box {
    stroke: #8fd6ff !important;
    stroke-linejoin: round !important;
  }
  #expanded-player .expanded-song-actions .ride-list-toggle.active .ride-list-big-check,
  #expanded-player .expanded-song-actions .ride-list-toggle .ride-list-big-check {
    stroke: var(--ride-check-orange, #f36b24) !important;
  }
}


/* V193 — unify mobile fullscreen controls to steel blue.
   Darker active top tabs, steel-blue lower control buttons, and ride-list text treatment without a pill box. */
@media (max-width: 760px) and (hover: none) and (pointer: coarse) {
  :root {
    --v193-steel-text: #eaf5ff;
    --v193-steel-border: rgba(111, 150, 178, .84);
    --v193-steel-glow: rgba(100, 155, 194, .25);
    --v193-steel-bg-a: rgba(33, 56, 79, .95);
    --v193-steel-bg-b: rgba(8, 24, 41, .98);
    --v193-steel-active-a: rgba(96, 134, 162, .96);
    --v193-steel-active-b: rgba(56, 92, 120, .99);
    --v193-steel-active-border: rgba(165, 198, 220, .98);
  }

  /* All actual mobile fullscreen control buttons use steel blue now. */
  #expanded-player .expanded-top-actions button,
  #expanded-player .expanded-info-tabs button,
  #expanded-player .expanded-secondary-actions .action-button,
  #expanded-player .expanded-transport button:not(.expanded-main) {
    color: var(--v193-steel-text) !important;
    border: 1px solid var(--v193-steel-border) !important;
    background: linear-gradient(150deg, var(--v193-steel-bg-a), var(--v193-steel-bg-b) 58%, rgba(10, 35, 58, .96)) !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.16), 0 0 8px var(--v193-steel-glow), 0 2px 7px rgba(0,0,0,.22) !important;
  }
  #expanded-player .expanded-top-actions button:hover,
  #expanded-player .expanded-info-tabs button:hover,
  #expanded-player .expanded-secondary-actions .action-button:hover,
  #expanded-player .expanded-transport button:not(.expanded-main):not(:disabled):hover {
    border-color: rgba(153, 189, 214, .96) !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.2), 0 0 10px rgba(125, 175, 209, .32), 0 2px 8px rgba(0,0,0,.24) !important;
  }

  /* Selected tab/button: still steel blue, but darker than V192's lighter fill. */
  #expanded-player .expanded-top-actions button.active,
  #expanded-player .expanded-info-tabs button.active {
    color: #f4fbff !important;
    border-color: var(--v193-steel-active-border) !important;
    background: linear-gradient(145deg, var(--v193-steel-active-a), var(--v193-steel-active-b)) !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.28), 0 0 11px rgba(98, 150, 187, .30), 0 2px 7px rgba(0,0,0,.22) !important;
    text-shadow: none !important;
  }

  /* Keep the key orange play/pause button. */
  #expanded-player .expanded-transport .expanded-main,
  #expanded-player .expanded-transport .expanded-main:hover {
    color:#fff !important;
    border-color:#ffd28b !important;
    background:linear-gradient(145deg,#ffb64c,#f36b24) !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.35), 0 0 10px rgba(243,107,36,.24), 0 2px 8px rgba(0,0,0,.22) !important;
  }

  /* Bottom transport/status enclosure adopts the same steel-blue family. */
  #expanded-player .expanded-player-controls {
    border-color: rgba(111,150,178,.52) !important;
    background: linear-gradient(155deg, rgba(23,45,67,.84), rgba(5,18,33,.82)) !important;
    box-shadow: inset 0 1px 2px rgba(222,246,255,.12), 0 0 10px rgba(100,155,194,.12) !important;
  }
  #expanded-player .expanded-timeline span {
    color: #d7e9f6 !important;
  }
  #expanded-player .expanded-timeline input {
    accent-color: #7fa9c7 !important;
  }

  /* Ride List should not be inside a pill/box in fullscreen mobile.
     Active: no surrounding box. Inactive: white text chip feel without border, black text. */
  #expanded-player .expanded-song-actions .ride-list-toggle,
  #expanded-player .expanded-song-actions .ride-list-toggle.active,
  #expanded-player .expanded-song-actions .ride-list-toggle:hover {
    border-color: transparent !important;
    box-shadow: none !important;
    border-radius: 10px !important;
  }
  #expanded-player .expanded-song-actions .ride-list-toggle.active {
    background: transparent !important;
    color: #eaf5ff !important;
  }
  #expanded-player .expanded-song-actions .ride-list-toggle.active span,
  #expanded-player .expanded-song-actions .ride-list-toggle.active svg {
    color: #eaf5ff !important;
    stroke: #eaf5ff !important;
  }
  #expanded-player .expanded-song-actions .ride-list-toggle:not(.active) {
    background: #ffffff !important;
    color: #081827 !important;
    border-color: transparent !important;
  }
  #expanded-player .expanded-song-actions .ride-list-toggle:not(.active) span,
  #expanded-player .expanded-song-actions .ride-list-toggle:not(.active) svg {
    color: #081827 !important;
    stroke: #081827 !important;
  }

  /* Keep the nicer rounded checkbox, with steel-blue outline and orange check. */
  #expanded-player .expanded-song-actions .ride-list-toggle .ride-list-check-box,
  #expanded-player .expanded-song-actions .ride-list-toggle.active .ride-list-check-box {
    stroke: #7fa9c7 !important;
    stroke-linejoin: round !important;
  }
  #expanded-player .expanded-song-actions .ride-list-toggle .ride-list-big-check,
  #expanded-player .expanded-song-actions .ride-list-toggle.active .ride-list-big-check {
    stroke: var(--ride-check-orange, #f36b24) !important;
  }
}


/* V194 — deepen the selected top mobile fullscreen buttons for stronger contrast.
   Keep the steel-blue outline/glow, but give active tabs/buttons a darker interior so white text pops. */
@media (max-width: 760px) and (hover: none) and (pointer: coarse) {
  #expanded-player .expanded-top-actions button.active,
  #expanded-player .expanded-info-tabs button.active {
    color: #f7fbff !important;
    border-color: rgba(150, 198, 230, .98) !important;
    background: linear-gradient(145deg, rgba(33, 67, 95, .98), rgba(18, 51, 76, .99) 52%, rgba(12, 38, 59, 1) 100%) !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.18), 0 0 11px rgba(117, 176, 214, .34), 0 2px 7px rgba(0,0,0,.24) !important;
    text-shadow: none !important;
  }
}


/* V195 — slightly larger mobile top-tab text and a brighter active backlight.
   Bottom controls unchanged. */
@media (orientation:portrait) and (max-width:760px) and (pointer:coarse) {
  #expanded-player .expanded-info-tabs button,
  #expanded-player.view-portrait .expanded-info-tabs button {
    font-size: clamp(15px, 4.15vw, 19px) !important;
    font-weight: 780 !important;
    letter-spacing: 0 !important;
  }
  #expanded-player .expanded-info-tabs #expanded-tab-now {
    gap: 9px !important;
    padding-inline: 7px !important;
  }
}
@media (orientation:portrait) and (max-width:360px) and (pointer:coarse) {
  #expanded-player .expanded-info-tabs button,
  #expanded-player.view-portrait .expanded-info-tabs button {
    font-size: clamp(13.5px, 3.95vw, 16px) !important;
  }
}
@media (max-width: 760px) and (hover: none) and (pointer: coarse) {
  #expanded-player .expanded-top-actions button.active,
  #expanded-player .expanded-info-tabs button.active {
    color: #fbfdff !important;
    border-color: rgba(176, 218, 244, .99) !important;
    background: linear-gradient(145deg, rgba(34, 70, 99, .99), rgba(18, 51, 76, 1) 52%, rgba(12, 38, 59, 1) 100%) !important;
    box-shadow:
      inset 0 1px 1px rgba(255,255,255,.2),
      0 0 0 1px rgba(135, 191, 227, .18),
      0 0 14px rgba(132, 196, 238, .42),
      0 2px 8px rgba(0,0,0,.24) !important;
    text-shadow: none !important;
  }
}

/* V196 — steel-blue design language across full and mini player.
   Only the active information tab gets the quiet traveling blue highlight. */
@keyframes v196-blue-sheen {
  0%, 12% { background-position: 100% 50%; }
  58%, 100% { background-position: 0% 50%; }
}
@media (max-width:760px) and (hover:none) and (pointer:coarse) {
  #expanded-player .expanded-info-tabs button.active {
    /* Narrow, semi-transparent light band sweeps across a dark steel-blue interior. */
    background-image: linear-gradient(105deg,
      transparent 0%, transparent 43%, rgba(149,206,239,.02) 47%,
      rgba(149,206,239,.23) 50%, rgba(149,206,239,.02) 53%,
      transparent 57%, transparent 100%),
      linear-gradient(145deg,#224663 0%,#12334c 55%,#0c263b 100%) !important;
    background-size: 275% 100%, 100% 100% !important;
    background-position: 100% 50%, center !important;
    background-repeat: no-repeat !important;
    animation: v196-blue-sheen 5.2s ease-in-out infinite !important;
    border-color: #b0daf4 !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.2),
      0 0 0 1px rgba(135,191,227,.18),
      0 0 14px rgba(132,196,238,.42),
      0 2px 8px rgba(0,0,0,.24) !important;
  }
  /* Steel-blue checkbox outline; checked state keeps the warm orange tick.
     No surrounding pill on active Ride List; inactive stays white/black. */
  #expanded-player .expanded-song-actions .ride-list-toggle .ride-list-check-box,
  #expanded-player .expanded-song-actions .ride-list-toggle.active .ride-list-check-box {
    stroke: #7fa9c7 !important;
  }
  #expanded-player .expanded-song-actions .ride-list-toggle.active .ride-list-big-check {
    stroke: var(--ride-check-orange,#f36b24) !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  #expanded-player .expanded-info-tabs button.active { animation:none !important; }
}
/* Mini player: matching quieter, steady steel-blue glass controls and timeline.
   No flashing/pulsing in the compact player. */
.player .mini-view-controls button,
.player .player-transport .player-skip {
  color: #eaf5ff !important;
  border: 1px solid rgba(111,150,178,.82) !important;
  background: linear-gradient(150deg,rgba(33,56,79,.95),rgba(8,24,41,.98)) !important;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.15),0 0 6px rgba(100,155,194,.18) !important;
}
.player .mini-view-controls button:hover,
.player .player-transport .player-skip:not(:disabled):hover {
  border-color:#a5c6dc !important;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.19),0 0 9px rgba(100,155,194,.28) !important;
}
.player .mini-view-controls button.active {
  color: #fbfdff !important;
  border-color:#b0daf4 !important;
  background:linear-gradient(145deg,#224663,#12334c 55%,#0c263b) !important;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.2),0 0 10px rgba(132,196,238,.3) !important;
}
.player .player-progress { accent-color:#7fa9c7 !important; }
.player .player-kicker {color:#9bc3df;}
/* Preserve the main orange Play/Pause action and its accessible shape. */
.player .player-transport .player-main {background:var(--ride-check-orange,#f36b24) !important;color:#fff !important;border-color:#7fa9c7 !important;}
/* Ride List checkbox's matching blue stroke where used on catalog surfaces. */
.song-button.ride-list-toggle .ride-list-check-box,
.song-button.ride-list-toggle.active .ride-list-check-box,
.song-secondary-controls .song-button.toolbar-ride-toggle .ride-list-check-box,
.song-secondary-controls .song-button.toolbar-ride-toggle.active .ride-list-check-box {
  stroke:#7fa9c7 !important;
}
.song-button.ride-list-toggle.active .ride-list-big-check,
.song-secondary-controls .song-button.toolbar-ride-toggle.active .ride-list-big-check {
  stroke:var(--ride-check-orange,#f36b24) !important;
}

/* V197 — restrained selected-tab clarity and label size on phone.
   Preserve V196 motion, mini player, Ride List, and transport styling. */
@media (max-width:760px) and (hover:none) and (pointer:coarse) {
  #expanded-player .expanded-info-tabs button.active {
    /* A little lighter than V196, still dark enough for white type. */
    background-image:linear-gradient(105deg,
      transparent 0%, transparent 43%, rgba(149,206,239,.02) 47%,
      rgba(149,206,239,.23) 50%, rgba(149,206,239,.02) 53%,
      transparent 57%, transparent 100%),
      linear-gradient(145deg,#2a5575 0%,#1b405c 55%,#123149 100%) !important;
    border-color:#bbdff6 !important;
    box-shadow:inset 0 1px 1px rgba(255,255,255,.21),
      0 0 0 1px rgba(135,191,227,.19),
      0 0 15px rgba(132,196,238,.45),
      0 2px 8px rgba(0,0,0,.24) !important;
  }
}
@media (orientation:portrait) and (max-width:760px) and (pointer:coarse) {
  #expanded-player .expanded-info-tabs button,
  #expanded-player.view-portrait .expanded-info-tabs button {
    font-size:clamp(15.5px,4.35vw,20px) !important;
  }
}
@media (orientation:portrait) and (max-width:360px) and (pointer:coarse) {
  #expanded-player .expanded-info-tabs button,
  #expanded-player.view-portrait .expanded-info-tabs button {
    font-size:clamp(14px,4vw,16.5px) !important;
  }
}


/* V200: five-tap-only standalone statistics card, same grid width as a song card. */
.private-stats-row { display: none; margin-top: 1rem; }
body.show-card-stats .private-stats-row { display: grid; }
.private-stats-card { min-height: 180px; align-content: start; gap: .7rem; padding: 1.15rem; background: linear-gradient(145deg,#0b263e,#163b54); color: #fff; }
.private-stats-card:hover { transform: none; box-shadow: 0 6px 24px rgba(10,36,58,.05); border-color: rgba(10,36,58,.12); }
.private-stats-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: 1.16rem; font-weight: 800; }
.private-stats-version { background: #edbd5e; color: #081c2e; border-radius: 6px; padding: .27rem .5rem; font-size: .87rem; white-space: nowrap; }
.private-stats-subtitle { color: #c9dae6; font-size: .82rem; }
.private-stats-card .catalog-total-stats,
body.show-card-stats .private-stats-card .catalog-total-stats { display: block; position: static; max-width: none; margin: 0; padding: .6rem 0; background: none; color: #fff; font: 700 .96rem/1.9 system-ui,sans-serif; text-wrap: pretty; pointer-events: auto; }
@media (max-width: 650px) { .private-stats-card .catalog-total-stats { font-size: .92rem !important; } }
