/* Listen page (/listen.html): streaming-style library of audio editions.
   Component: src/components/ListenPage.jsx. Scoped under .lr-* */

.lr { --lr-red: var(--ac-red, #E31B23); --lr-gutter: clamp(16px, 4vw, 56px); position: relative; }
.lr.has-player { padding-bottom: 120px; }

/* crawler-visible list, replaced by React on mount */
.lr-static { max-width: 1100px; margin: 0 auto; padding: 140px 24px 60px; color: var(--fg2); }
.lr-static h1 { color: var(--fg1); }
.lr-static a { color: var(--fg1); font-weight: 700; }
.lr-static ol { color: var(--fg3); font-size: 14px; }

.lr-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lr-red); box-shadow: 0 0 10px var(--lr-red); display: inline-block; animation: lrPulse 1.8s ease-in-out infinite; }
@keyframes lrPulse { 50% { opacity: .35; } }

/* ---------------- on-air hero (black, wireframe, like the other page heroes) ---------------- */
.lr-onair { position: relative; padding: 160px 40px 96px; border-bottom: 1px solid var(--border-subtle, rgba(255,255,255,.06));
  background: radial-gradient(130% 90% at 65% 30%, #131820 0%, #0B0D10 55%, #05070A 100%); overflow: hidden; isolation: isolate; }
.lr-waves { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 88%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 88%, transparent 100%); }
.lr-waves__canvas { position: absolute; inset: 0; display: block; opacity: .9; }
.lr-onair__inner { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.lr-onair .ac-display { margin: 20px 0 24px; }
.lr-mic { display: flex; align-items: center; justify-content: center; }
.lr-mic__frame { position: relative; width: 100%; max-width: 480px; aspect-ratio: 520 / 640; }
.lr-mic__svg { width: 100%; height: 100%; display: block; overflow: visible; }
@media (max-width: 900px) {
  .lr-onair { padding: 140px 20px 64px; }
  .lr-onair__inner { grid-template-columns: 1fr; gap: 24px; }
  .lr-onair .ac-display { font-size: clamp(38px, 11.5vw, 64px); line-height: 1.02; }
  .lr-mic__frame { max-width: 320px; }
}

/* ---------------- featured billboard ---------------- */
.lr-feat { max-width: 1480px; margin: 0 auto; padding: 48px var(--lr-gutter) 8px; }
.lr-feat__card { position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; border: 1px solid rgba(255,255,255,.08);
  min-height: clamp(440px, 58vh, 600px); display: flex; align-items: flex-end; box-shadow: 0 40px 100px -40px rgba(0,0,0,.9); }
.lr-feat__inner { position: relative; width: 100%; padding: clamp(24px, 4vw, 56px); }
.lr-hero__stage { position: absolute; inset: 0; z-index: -1; }
.lr-hero__bg { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.lr-hero__bg.is-on { opacity: 1; }
.lr-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.12); }
.lr-hero__bg.is-on img { animation: lrKen 18s ease-out forwards; }
@keyframes lrKen { from { transform: scale(1.12) translate3d(1.5%, 1%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.lr-hero__shade { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,13,16,.95) 0%, rgba(11,13,16,.78) 34%, rgba(11,13,16,.2) 68%, rgba(11,13,16,.05) 100%),
    linear-gradient(0deg, rgba(11,13,16,.9) 0%, rgba(11,13,16,0) 45%); }
.lr-hero__copy { max-width: 640px; animation: lrRise .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes lrRise { from { opacity: 0; transform: translateY(18px); } }
.lr-hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--fg2); }
.lr-hero__title { font: 800 clamp(28px, 3.6vw, 50px)/1.05 var(--font-display); letter-spacing: -.02em; color: var(--fg1); margin: 18px 0 16px; text-wrap: pretty; hyphens: auto; }
.lr-hero__lede { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; color: var(--fg2); margin: 16px 0 28px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lr-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.lr-hero__dots { display: flex; gap: 8px; margin-top: 32px; }
.lr-hero__dots button { width: 44px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255,255,255,.18); cursor: pointer; overflow: hidden; position: relative; }
.lr-hero__dots button::before { content: ""; position: absolute; inset: -10px 0; }
.lr-hero__dots button.is-on i { position: absolute; inset: 0; background: var(--lr-red); transform-origin: left; animation: lrDot 9s linear forwards; }
@keyframes lrDot { from { transform: scaleX(0); } }

.lr-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 500 12.5px/1.4 var(--font-mono); color: var(--fg3); }
.lr-meta span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; margin: 0 16px 2px -10px; vertical-align: middle; opacity: .7; }

.lr-btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font: 700 15px/1 var(--font-sans); cursor: pointer; border: 1px solid transparent; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s, border-color .2s; }
.lr-btn svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.lr-btn--play { background: var(--lr-red); color: #fff; box-shadow: 0 14px 36px -10px rgba(227,27,35,.65); }
.lr-btn--play:hover { background: var(--ac-red-hot, #FF2A33); transform: translateY(-1px); color: #fff; }
.lr-btn--ghost { background: rgba(255,255,255,.08); color: var(--fg1); border-color: rgba(255,255,255,.16); backdrop-filter: blur(8px); }
.lr-btn--ghost:hover { background: rgba(255,255,255,.14); color: var(--fg1); }
.lr-btn--ghost svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lr-btn:focus-visible, .lr-pbtn:focus-visible, .lr-tile__hit:focus-visible, .lr-tile__play:focus-visible { outline: 2px solid var(--lr-red); outline-offset: 3px; }

/* ---------------- rows ---------------- */
.lr-rows { max-width: 1480px; margin: 0 auto; padding: 36px 0 40px; }
.lr-loading { padding: 40px var(--lr-gutter); color: var(--fg3); font: 500 14px var(--font-mono); }
.lr-row { margin: 18px 0 30px; }
.lr-row__head { display: flex; align-items: baseline; gap: 14px; padding: 0 var(--lr-gutter); margin-bottom: 14px; }
.lr-row__title { font: 800 clamp(19px, 1.8vw, 24px)/1.2 var(--font-display); color: var(--fg1); margin: 0; letter-spacing: -.01em; }
.lr-row__note { font: 500 12px var(--font-mono); color: var(--fg3); text-transform: uppercase; letter-spacing: .1em; }
.lr-row__wrap { position: relative; }
.lr-row__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 23vw, 330px); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--lr-gutter); padding: 14px var(--lr-gutter) 24px; scrollbar-width: none; }
.lr-row__track::-webkit-scrollbar { display: none; }
.lr-row__arrow { position: absolute; top: 14px; bottom: 24px; z-index: 3; width: var(--lr-gutter); min-width: 44px; border: 0; cursor: pointer; color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .25s; }
.lr-row__arrow[hidden] { display: none; }
.lr-row__arrow--l { left: 0; background: linear-gradient(90deg, rgba(11,13,16,.95), rgba(11,13,16,0)); }
.lr-row__arrow--r { right: 0; background: linear-gradient(270deg, rgba(11,13,16,.95), rgba(11,13,16,0)); }
.lr-row__arrow svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lr-row__wrap:hover .lr-row__arrow { opacity: 1; }
@media (hover: none) { .lr-row__arrow { display: none; } }

/* tiles */
.lr-tile { position: relative; scroll-snap-align: start; opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .7s ease var(--d), transform .8s cubic-bezier(.2,.8,.2,1) var(--d); }
.lr-row.is-in .lr-tile { opacity: 1; transform: none; }
.lr-tile__hit { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; cursor: pointer; font: inherit; border-radius: 14px; }
.lr-tile__img { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #15181d; border: 1px solid rgba(255,255,255,.07); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .3s; }
.lr-tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.2,.8,.2,1), filter .4s; filter: saturate(.92); }
.lr-tile__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,9,11,.85) 0%, rgba(8,9,11,0) 45%); }
.lr-tile__dur { position: absolute; z-index: 1; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 999px; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); font: 600 11.5px/1 var(--font-mono); color: #fff; }
.lr-tile__prog { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.15); }
.lr-tile__prog i { display: block; height: 100%; background: var(--lr-red); box-shadow: 0 0 10px rgba(227,27,35,.8); }
.lr-tile__body { padding: 12px 4px 0; }
.lr-tile__kicker { font: 600 10.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lr-red); }
.lr-tile__title { font: 700 16px/1.3 var(--font-sans); color: var(--fg1); margin: 8px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lr-tile__sub { font: 500 11.5px var(--font-mono); color: var(--fg3); }
.lr-tile__play { position: absolute; z-index: 2; left: 14px; top: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff; background: var(--lr-red); box-shadow: 0 10px 26px -6px rgba(227,27,35,.8); opacity: 0; transform: scale(.7); transition: opacity .3s, transform .35s cubic-bezier(.2,.8,.2,1.4); }
.lr-tile__play svg { width: 18px; height: 18px; fill: currentColor; }
.lr-tile:hover .lr-tile__img, .lr-tile:focus-within .lr-tile__img { transform: translateY(-6px) scale(1.035); border-color: rgba(227,27,35,.45); box-shadow: 0 26px 50px -18px rgba(0,0,0,.9), 0 0 0 1px rgba(227,27,35,.25), 0 18px 60px -30px rgba(227,27,35,.7); }
.lr-tile:hover .lr-tile__img img { transform: scale(1.08); filter: saturate(1.08); }
.lr-tile:hover .lr-tile__play, .lr-tile:focus-within .lr-tile__play, .lr-tile.is-current .lr-tile__play { opacity: 1; transform: none; }
.lr-tile.is-current .lr-tile__img { border-color: rgba(227,27,35,.6); }
@media (hover: none) { .lr-tile__play { opacity: 1; transform: none; width: 40px; height: 40px; } }

/* equaliser */
.lr-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.lr-eq i { width: 2.5px; height: 30%; background: var(--lr-red); border-radius: 1px; }
.lr-eq.is-on i { animation: lrEq .9s ease-in-out infinite; }
.lr-eq.is-on i:nth-child(2) { animation-delay: -.3s; } .lr-eq.is-on i:nth-child(3) { animation-delay: -.6s; } .lr-eq.is-on i:nth-child(4) { animation-delay: -.15s; }
@keyframes lrEq { 0%,100% { height: 25%; } 50% { height: 100%; } }

/* ---------------- detail modal ---------------- */
.lr-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(4,5,7,.72); backdrop-filter: blur(10px); display: grid; place-items: start center; overflow-y: auto; padding: 6vh 16px 40px; animation: lrFade .3s ease both; }
@keyframes lrFade { from { opacity: 0; } }
.lr-modal__card { position: relative; width: min(860px, 100%); border-radius: 20px; overflow: hidden; background: #111419; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 120px -30px rgba(0,0,0,.95); animation: lrPop .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes lrPop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.lr-modal__close { position: absolute; z-index: 3; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.55); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lr-modal__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.lr-modal__art { position: relative; aspect-ratio: 16 / 8; min-height: 300px; }
.lr-modal__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lr-modal__shade { position: absolute; inset: 0; background: linear-gradient(0deg, #111419 4%, rgba(17,20,25,.55) 45%, rgba(17,20,25,.1) 100%); }
.lr-modal__head { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 32px 24px; }
.lr-modal__title { font: 800 clamp(24px, 3.4vw, 40px)/1.08 var(--font-display); color: #fff; margin: 12px 0 20px; letter-spacing: -.015em; }
.lr-modal__body { padding: 8px 32px 30px; }
.lr-modal__lede { color: var(--fg2); font-size: 16px; line-height: 1.65; margin: 14px 0 22px; }
.lr-modal__note { font: 500 12px/1.5 var(--font-mono); color: var(--fg3); margin: 22px 0 0; }

.lr-chapters { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.07); }
.lr-chapters li { border-bottom: 1px solid rgba(255,255,255,.07); }
.lr-chapters button { width: 100%; display: flex; align-items: center; gap: 18px; padding: 13px 8px; background: none; border: 0; cursor: pointer; color: var(--fg1); font: 600 15px/1.35 var(--font-sans); text-align: left; border-radius: 8px; transition: background .2s, color .2s; }
.lr-chapters button:hover { background: rgba(255,255,255,.05); }
.lr-chapters button.is-live { color: #fff; background: rgba(227,27,35,.1); }
.lr-chapters button .lr-eq { margin-left: auto; }
.lr-chapters__t { flex: 0 0 64px; font: 500 12.5px var(--font-mono); color: var(--fg3); }
.lr-chapters button.is-live .lr-chapters__t { color: var(--lr-red); }

/* ---------------- sticky player ---------------- */
.lr-player { position: fixed; z-index: 900; left: 50%; bottom: 16px; width: min(1180px, calc(100vw - 240px)); transform: translateX(-50%); border-radius: 18px; border: 1px solid rgba(255,255,255,.12); background: rgba(14,16,20,.9); backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 30px 80px -20px rgba(0,0,0,.9); animation: lrUp .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes lrUp { from { opacity: 0; transform: translate(-50%, 40px); } }
.lr-player.is-playing { border-color: rgba(227,27,35,.35); box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), 0 0 50px -20px rgba(227,27,35,.5); }
.lr-player__inner { display: grid; grid-template-columns: auto minmax(120px, 230px) auto 1fr auto; align-items: center; gap: 16px; padding: 10px 14px 10px 10px; }
.lr-player__art { position: relative; width: 74px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; border: 0; padding: 0; cursor: pointer; background: #000; }
.lr-player__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lr-player__art .lr-eq { position: absolute; left: 6px; bottom: 6px; }
.lr-player__info { min-width: 0; }
.lr-player__title { font: 700 14px/1.3 var(--font-sans); color: var(--fg1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-player__ch { font: 500 11.5px/1.4 var(--font-mono); color: var(--fg3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.lr-player__ctrl, .lr-player__side { display: flex; align-items: center; gap: 8px; }
.lr-player__seek { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lr-player__time { font: 500 11.5px var(--font-mono); color: var(--fg2); flex: 0 0 auto; min-width: 38px; text-align: center; }
.lr-pbtn { height: 36px; min-width: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: var(--fg1); font: 700 12.5px/1 var(--font-sans); cursor: pointer; display: inline-grid; place-items: center; transition: background .2s, border-color .2s; }
.lr-pbtn:hover, .lr-pbtn.is-on { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.lr-pbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lr-pbtn--main { width: 48px; height: 48px; border-radius: 50%; padding: 0; background: var(--lr-red); border-color: transparent; box-shadow: 0 10px 26px -8px rgba(227,27,35,.8); }
.lr-pbtn--main:hover { background: var(--ac-red-hot, #FF2A33); border-color: transparent; }
.lr-pbtn--main svg { width: 18px; height: 18px; fill: #fff; stroke: none; }
.lr-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: lrSpin .8s linear infinite; }
@keyframes lrSpin { to { transform: rotate(360deg); } }

.lr-wave { position: relative; flex: 1; height: 40px; cursor: pointer; touch-action: none; outline: none; }
.lr-wave:focus-visible { outline: 2px solid var(--lr-red); outline-offset: 4px; border-radius: 4px; }
.lr-wave__bars { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; }
.lr-wave__bars i { flex: 1; min-width: 1px; border-radius: 1px; background: rgba(255,255,255,.2); transition: background .2s; }
.lr-wave__bars i.is-done { background: var(--lr-red); }
.lr-wave__tick { position: absolute; top: -4px; width: 1px; height: 6px; background: rgba(255,255,255,.55); }

.lr-player__menu { position: absolute; right: 12px; bottom: calc(100% + 10px); width: min(420px, calc(100vw - 32px)); max-height: 60vh; overflow-y: auto; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(14,16,20,.97); backdrop-filter: blur(18px); padding: 10px 10px 6px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.9); animation: lrPop .3s cubic-bezier(.2,.8,.2,1) both; }
.lr-player__menu-head { font: 600 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg3); padding: 6px 8px 10px; }
.lr-player__menu .lr-chapters button { font-size: 14px; padding: 11px 8px; }

@media (max-width: 1100px) {
  .lr-player { width: calc(100vw - 150px); left: 16px; transform: none; }
  @keyframes lrUp { from { opacity: 0; transform: translateY(40px); } }
  .lr-player__inner { grid-template-columns: auto minmax(0, 1fr) auto auto; }
  .lr-player__seek { grid-column: 1 / -1; order: 5; }
}
@media (max-width: 700px) {
  .lr-feat { padding-top: 28px; }
  .lr-feat__card { min-height: 560px; border-radius: 18px; }
  .lr-hero__shade { background: linear-gradient(0deg, rgba(11,13,16,.97) 10%, rgba(11,13,16,.85) 50%, rgba(11,13,16,.2) 85%); }
  .lr-hero__lede { -webkit-line-clamp: 4; }
  .lr-row__track { grid-auto-columns: 74vw; gap: 12px; }
  .lr-modal { padding: 0; place-items: end center; }
  .lr-modal__card { border-radius: 20px 20px 0 0; }
  .lr-modal__head, .lr-modal__body { padding-left: 20px; padding-right: 20px; }
  .lr-chapters__t { flex-basis: 52px; }
  /* leave the bottom-right corner to the Future voice-agent avatar */
  .lr-player { left: 10px; width: calc(100vw - 112px); bottom: 10px; }
  .lr-player__inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; padding: 8px 10px 8px 8px; }
  .lr-player__art { width: 52px; }
  .lr-pbtn--main { width: 42px; height: 42px; }
  .lr-player__side { grid-column: 1 / -1; order: 6; justify-content: space-between; }
  .lr-player__seek { gap: 8px; }
  .lr-player__time { min-width: 32px; font-size: 10.5px; }
  .lr-wave { height: 30px; }
  .lr-player__menu { right: 0; left: 0; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .lr-hero__bg.is-on img, .lr-dot, .lr-eq.is-on i { animation: none; }
  .lr-tile { transition: none; opacity: 1; transform: none; }
}

/* ---------------- row header actions, chips ---------------- */
.lr-row__head { flex-wrap: wrap; }
.lr-row__actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.lr-chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04); color: var(--fg1); font: 600 12.5px/1 var(--font-sans); cursor: pointer; transition: background .2s, border-color .2s; }
.lr-chip:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.26); }
.lr-chip svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lr-chip svg path[d^="M7 4.5"] { fill: currentColor; stroke: none; }
.lr-chip--red { background: var(--lr-red); border-color: transparent; color: #fff; box-shadow: 0 10px 26px -10px rgba(227,27,35,.7); }
.lr-chip--red:hover { background: var(--ac-red-hot, #FF2A33); border-color: transparent; }
.lr-chip--red:disabled { opacity: .45; cursor: default; }
.lr-chip--ghost { padding: 0 10px; color: var(--fg3); }
.lr-chip--ghost:hover { color: #fff; border-color: rgba(227,27,35,.5); }
.lr-row__empty { margin: 0 var(--lr-gutter); padding: 26px; border-radius: 14px; border: 1px dashed rgba(255,255,255,.14); color: var(--fg3); font-size: 14px; }
.lr-row__empty b { color: var(--fg1); }

/* ---------------- your playlists ---------------- */
.lr-mylists { padding: 8px var(--lr-gutter) 0; }
.lr-mylists__head { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; justify-content: space-between; padding: 22px 24px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.07); background: linear-gradient(120deg, rgba(227,27,35,.08), rgba(255,255,255,.015) 50%); }
.lr-mylists__lede { margin: 8px 0 0; color: var(--fg2); font-size: 14.5px; max-width: 560px; }
.lr-newlist { display: flex; gap: 8px; align-items: center; }
.lr-newlist input { height: 34px; min-width: 0; width: 230px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); background: rgba(0,0,0,.35); color: var(--fg1); font: 500 13.5px var(--font-sans); outline: none; }
.lr-newlist input:focus { border-color: rgba(227,27,35,.7); box-shadow: 0 0 0 3px rgba(227,27,35,.18); }

/* add / remove on tiles */
.lr-tile__add { position: absolute; z-index: 2; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px); color: #fff; cursor: pointer; display: grid; place-items: center; opacity: 0; transform: scale(.8);
  transition: opacity .3s, transform .35s cubic-bezier(.2,.8,.2,1.4), background .2s, border-color .2s; }
.lr-tile__add svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.lr-tile__add:hover { background: var(--lr-red); border-color: transparent; }
.lr-tile:hover .lr-tile__add, .lr-tile:focus-within .lr-tile__add { opacity: 1; transform: none; }
@media (hover: none) { .lr-tile__add { opacity: 1; transform: none; } }
.lr-btn--icon { width: 48px; padding: 0; justify-content: center; background: rgba(255,255,255,.08); color: var(--fg1); border-color: rgba(255,255,255,.16); }
.lr-btn--icon:hover { background: rgba(255,255,255,.16); }
.lr-btn--icon svg, .lr-btn--ghost svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* playlist picker popover */
.lr-picker { position: fixed; z-index: 1100; border-radius: 16px; border: 1px solid rgba(255,255,255,.14); background: rgba(16,18,23,.98); backdrop-filter: blur(18px);
  padding: 14px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.95); animation: lrPop .25s cubic-bezier(.2,.8,.2,1) both; }
.lr-picker__head { font: 600 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg3); }
.lr-picker__ep { font: 700 14px/1.3 var(--font-sans); color: var(--fg1); margin: 6px 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lr-picker__lists { list-style: none; margin: 0 0 12px; padding: 0; max-height: 210px; overflow-y: auto; }
.lr-picker__lists button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 8px; border: 0; border-radius: 9px; background: none; color: var(--fg1); font: 600 14px var(--font-sans); cursor: pointer; text-align: left; }
.lr-picker__lists button:hover { background: rgba(255,255,255,.06); }
.lr-picker__box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(255,255,255,.3); display: grid; place-items: center; flex: 0 0 auto; transition: background .2s, border-color .2s; }
.lr-picker__lists button.is-on .lr-picker__box { background: var(--lr-red); border-color: var(--lr-red); }
.lr-picker__box svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lr-picker__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lr-picker__n { font: 500 11.5px var(--font-mono); color: var(--fg3); }
.lr-picker .lr-newlist input { width: auto; flex: 1; }

/* player: queue */
.lr-player__q { color: var(--lr-red); margin-right: 8px; }
.lr-player__q::after { content: "·"; margin-left: 8px; color: var(--fg3); }
.lr-player__next { padding: 0 16px 9px 100px; margin-top: -4px; font: 500 11px var(--font-mono); color: var(--fg3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-pbtn--skip svg { fill: currentColor; stroke: none; width: 14px; height: 14px; }
.lr-pbtn:disabled { opacity: .35; cursor: default; }
@media (max-width: 700px) {
  .lr-mylists__head { padding: 18px; }
  .lr-newlist { width: 100%; }
  .lr-newlist input { flex: 1; width: auto; }
  .lr-row__actions { margin-left: 0; width: 100%; }
  .lr-player__next { padding-left: 12px; }
  .lr-player__ctrl .lr-pbtn--sec { display: none; }
}
