/* =========================================================
   Luxury layer v1 — iamdjkev.com (club edition)
   Started from thelifeofkev.com's lux.css. Sits on top of style.css.
   Remove the <link> to switch off. One easing, reveals only when
   motion is allowed, no layout shift, no heavy libraries.
   ========================================================= */

:root {
  --lux-ease: cubic-bezier(.16, 1, .3, 1);
  --lux-ink: #09070c;            /* near-black, hint of purple */
  --lux-ink-2: #120d17;
  --lux-accent: #f0343b;         /* club red (logo red, hot) */
  --lux-accent-2: #ff6a6f;
  --lux-serif: "Instrument Serif", "Times New Roman", serif;
  --lux-gutter: max(20px, calc((100vw - 1200px) / 2));
  /* retint the base palette toward the ink */
  --black: #09070c;
  --panel: #110c15;
  --panel-2: #1a1220;
  --line: #2e2433;
}

body { background: var(--lux-ink); }
body::before { opacity: .55; }
.site-header { background: var(--lux-ink); }
.vid-sec, .site-footer { background: var(--lux-ink); }

/* ---------- Page-to-page fades (View Transitions) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: lux-vt-out .35s var(--lux-ease) both; }
::view-transition-new(root) { animation: lux-vt-in .55s var(--lux-ease) both; }
@keyframes lux-vt-out { to { opacity: 0; } }
@keyframes lux-vt-in { from { opacity: 0; } }
.mini, .site-header { view-transition-name: none; }

/* ---------- Editorial accent word ---------- */
.lux-it {
  font-family: var(--lux-serif);
  font-style: italic; font-weight: 400;
  text-transform: none; letter-spacing: -0.01em;
  color: var(--lux-accent);
}
h1 .lux-it, h2 .lux-it { font-size: 1.04em; line-height: .9; }

/* ---------- Film grain (very light) ---------- */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Photo grade + slow hover zoom ---------- */
:is(.gallery-grid, .trio, .stack, .portrait, .ig-tile, .lux-mix-cover) img { filter: contrast(1.06) saturate(.92); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.gallery-grid figure, .ig-tile) img { transition: transform 1.4s var(--lux-ease); }
}

/* ---------- Scroll progress line ---------- */
.lux-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 95; pointer-events: none;
  background: linear-gradient(90deg, var(--lux-accent), var(--lux-accent-2));
  transform-origin: 0 50%; transform: scaleX(0);
}
@supports (animation-timeline: scroll()) {
  .lux-progress { animation: lux-grow linear both; animation-timeline: scroll(root); }
  @keyframes lux-grow { to { transform: scaleX(1); } }
}

/* ---------- Chapter counter, styled as a tracklist (desktop) ---------- */
.lux-chapter {
  position: fixed; left: 22px; bottom: 22px; z-index: 60;
  display: none; align-items: center; gap: 12px;
  font: 700 13px/1 var(--hud); letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.62);
  padding: 10px 14px; background: rgba(9,7,12,.78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.1);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--lux-ease), transform .5s var(--lux-ease);
  max-width: min(46vw, 520px);
}
.lux-chapter.is-on { opacity: 1; transform: none; }
.lux-chapter b { color: var(--lux-accent); font-weight: 700; }
.lux-chapter i { font-style: normal; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lux-chapter .eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.lux-chapter .eq span { width: 2px; background: var(--lux-accent); height: 40%; }
@media (prefers-reduced-motion: no-preference) {
  .lux-chapter .eq span { animation: lux-eq 1s ease-in-out infinite; }
  .lux-chapter .eq span:nth-child(2) { animation-delay: .2s; }
  .lux-chapter .eq span:nth-child(3) { animation-delay: .4s; }
  @keyframes lux-eq { 50% { height: 100%; } }
}
@media (min-width: 1100px) { .lux-chapter { display: inline-flex; } }

/* ---------- Prologue (homepage + event pages) ---------- */
.lux-prologue {
  position: relative; isolation: isolate;
  height: min(100svh, 1000px); min-height: 600px;
  margin-top: -77px;                       /* tuck under the header */
  display: grid; align-items: end;
  color: #fff; background: var(--lux-ink); overflow: hidden;
}
.lux-pro-media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2; transform: scale(1.06); will-change: transform;
  background: var(--lux-ink) center / cover no-repeat;
}
.lux-pro-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 38%, rgba(9,7,12,0) 30%, rgba(9,7,12,.55) 100%),
    linear-gradient(180deg, rgba(9,7,12,.55) 0%, rgba(9,7,12,0) 26%, rgba(9,7,12,.3) 55%, rgba(9,7,12,.97) 100%),
    linear-gradient(90deg, rgba(9,7,12,.55) 0%, rgba(9,7,12,0) 60%);
}
.lux-pro-copy { padding-bottom: clamp(56px, 9vh, 104px); position: relative; }
.lux-kicker {
  margin: 0 0 18px;
  font: 700 15px/1.2 var(--hud); letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.lux-kicker span { color: var(--lux-accent); }
.lux-name {
  margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(96px, 19vw, 280px); line-height: .8; letter-spacing: -0.01em;
}
.lux-name .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.lux-name .ln > span { display: block; }
.lux-name .ln:last-child > span { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.94); }
.lux-pro-line {
  margin: 24px 0 0; max-width: 34em;
  font-size: clamp(19px, 2vw, 25px); line-height: 1.35; color: rgba(255,255,255,.9);
}
.lux-pro-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.lux-play-latest .pl-ico { width: 22px; height: 22px; display: inline-grid; place-items: center; }
.lux-play-latest .pl-ico::before { content: ""; border-left: 10px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.lux-scroll {
  position: absolute; right: var(--lux-gutter); bottom: clamp(56px, 9vh, 104px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font: 700 12px/1 var(--hud); letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.72);
  writing-mode: vertical-rl;
}
.lux-scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(rgba(255,255,255,.85), rgba(255,255,255,0)); }

/* Intro teaser card (drives people to the intro without a pop-up) */
.lux-intro-card {
  display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center;
  margin-top: 28px; width: min(380px, 100%); padding: 10px; text-align: left;
  background: rgba(9,7,12,.62); border: 1px solid rgba(255,255,255,.16); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: border-color .25s, background .25s;
}
.lux-intro-card:hover { border-color: var(--lux-accent); background: rgba(240,52,59,.14); }
.lux-intro-thumb { position: relative; aspect-ratio: 16/9; background: #000 center / cover no-repeat; overflow: hidden; }
.lux-intro-thumb::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; translate: -50% -50%; border-radius: 50%;
  background: var(--lux-accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 7l9 5-9 5z' fill='white'/></svg>") center / 20px no-repeat;
  box-shadow: 0 0 0 6px rgba(240,52,59,.28);
}
.lux-intro-card b { display: block; font: 700 17px/1.1 var(--hud); letter-spacing: .12em; text-transform: uppercase; }
.lux-intro-card small { display: block; margin-top: 6px; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.35; }
@media (prefers-reduced-motion: no-preference) {
  .lux-intro-thumb::after { animation: lux-pulse 2s ease-in-out infinite; }
  @keyframes lux-pulse { 50% { box-shadow: 0 0 0 12px rgba(240,52,59,.0); } }
}
@media (min-width: 1100px) {
  .lux-prologue .lux-intro-card { position: absolute; right: calc(var(--lux-gutter) + 52px); bottom: clamp(56px, 9vh, 104px); margin: 0; }
}

@media (max-width: 760px) {
  .lux-prologue { height: auto; min-height: 92svh; }
  .lux-scroll { display: none; }
  .lux-name { font-size: clamp(88px, 27vw, 150px); }
  .lux-name .ln:last-child > span { -webkit-text-stroke-width: 1.5px; }
  .lux-pro-copy { padding-top: 140px; }
  .lux-pro-row .btn { flex: 1 1 100%; }
  .lux-intro-card { grid-template-columns: 112px 1fr; width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  .lux-name .ln > span { animation: lux-up 1.15s var(--lux-ease) both; }
  .lux-name .ln:nth-child(2) > span { animation-delay: .12s; }
  .lux-kicker, .lux-pro-line, .lux-pro-row, .lux-intro-card { animation: lux-fade 1.1s .35s var(--lux-ease) both; }
  .lux-pro-media { animation: lux-settle 2.4s var(--lux-ease) both; }
  .lux-scroll::after { animation: lux-drip 2.2s 1.2s ease-in-out infinite; transform-origin: top; }
  @keyframes lux-up { from { transform: translateY(105%); } to { transform: none; } }
  @keyframes lux-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes lux-settle { from { transform: scale(1.16); } to { transform: scale(1.06); } }
  @keyframes lux-drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
}

/* ---------- Header goes clear over a prologue ---------- */
.site-header { transition: background-color .4s var(--lux-ease), box-shadow .4s var(--lux-ease), border-color .4s; }
.lux-over .site-header { background: transparent; box-shadow: none; border-bottom-color: transparent; }
.lux-over .site-header .nav a:not(.btn) { color: rgba(255,255,255,.86); }
.lux-over .site-header .nav a[aria-current="page"] { background: none; }
@media (max-width: 1080px) {
  .lux-over .site-header .nav.open { background: var(--lux-ink); }
  body:has(.nav.open) .site-header { background: var(--lux-ink); }
}

/* ---------- Reveals (JS adds .lux-rv, then .is-in) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .lux-js .lux-rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--lux-ease), transform 1.1s var(--lux-ease); }
  .lux-js .lux-rv.is-in { opacity: 1; transform: none; }
  .lux-js .lux-rv-img { clip-path: inset(8% 8% 8% 8%); opacity: .001; transition: clip-path 1.3s var(--lux-ease), opacity 1s var(--lux-ease); }
  .lux-js .lux-rv-img.is-in { clip-path: inset(0 0 0 0); opacity: 1; }
}

/* ---------- Tour reel (the concert-poster move) ---------- */
.lux-tour { padding: clamp(72px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); background: var(--lux-ink); overflow: hidden; }
.lux-reel-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.lux-reel-head h2 { font-size: clamp(44px, 6.4vw, 92px); }
.lux-reel-head .sub { margin: 16px 0 0; max-width: 46ch; color: #d8d0c4; }
.lux-reel-hint { font: 700 13px/1 var(--hud); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.lux-reel-hint::after { content: ""; width: 42px; height: 1px; background: var(--lux-accent); }
.lux-reel-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--lux-gutter) 8px; scroll-padding-left: var(--lux-gutter);
}
.lux-reel-track::-webkit-scrollbar { display: none; }
.lux-show {
  position: relative; flex: 0 0 clamp(250px, 24vw, 320px); aspect-ratio: 3 / 4; scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; padding: 22px 22px 24px;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(240,52,59,.16), transparent 60%),
    linear-gradient(180deg, #140f19, #0b080e);
  border: 1px solid rgba(255,255,255,.1); overflow: hidden; color: #fff;
}
.lux-show::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.06); pointer-events: none;
}
.lux-show .leg { font: 700 13px/1 var(--hud); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); display: flex; justify-content: space-between; }
.lux-show .leg b { color: var(--lux-accent); font-weight: 700; }
.lux-show .date { font-family: var(--display); font-weight: 900; font-size: clamp(76px, 7vw, 104px); line-height: .82; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.9); text-transform: uppercase; }
.lux-show .date small { display: block; font-size: .42em; -webkit-text-stroke: 0; color: var(--lux-accent); letter-spacing: .04em; margin-bottom: 6px; }
.lux-show .city { font-family: var(--display); font-weight: 900; font-size: clamp(38px, 3.4vw, 52px); line-height: .9; text-transform: uppercase; margin: 0; }
.lux-show .venue { margin: 8px 0 0; font-size: 17px; color: #e7e0d6; }
.lux-show .country { margin: 4px 0 0; font: 700 13px/1.2 var(--hud); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.lux-show.is-head { background: radial-gradient(120% 80% at 100% 0%, rgba(240,52,59,.45), transparent 62%), linear-gradient(180deg, #1d0d12, #0b080e); border-color: rgba(240,52,59,.6); }
.lux-show.is-head .date { -webkit-text-stroke-color: var(--lux-accent); }
.lux-show.lux-end { justify-content: center; gap: 18px; background: var(--lux-accent); border-color: var(--lux-accent); }
.lux-show.lux-end h3 { font-size: clamp(40px, 3.6vw, 56px); line-height: .9; }
.lux-show.lux-end p { margin: 0; color: rgba(255,255,255,.92); }
.lux-show.lux-end .btn { background: #fff; color: #000; align-self: flex-start; }
.lux-show.lux-end .btn:hover { background: #000; color: #fff; }
.lux-tour-foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between; }
.lux-tour-foot p { margin: 0; font: 700 14px/1.4 var(--hud); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.lux-tour-foot p span { color: #fff; }

/* Desktop: vertical scroll drives the reel sideways (pinned) */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .lux-js .lux-tour[data-pin] { padding: 0; overflow: visible; }
  .lux-js .lux-tour[data-pin] .lux-reel-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
  .lux-js .lux-tour[data-pin] .lux-reel-track { overflow: visible; scroll-snap-type: none; will-change: transform; }
}

/* ---------- Featured mix (big cover + waveform) ---------- */
.lux-mix {
  position: relative; display: grid; grid-template-columns: minmax(240px, 420px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(20px, 3vw, 36px); background: linear-gradient(110deg, rgba(240,52,59,.18), rgba(9,7,12,.55) 60%);
  border: 1px solid rgba(255,255,255,.14); overflow: hidden;
}
.lux-mix-cover { position: relative; aspect-ratio: 1; }
.lux-mix-cover img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.lux-mix-cover .mix-spin { position: absolute; z-index: 1; top: 4%; left: 30%; width: 92%; height: auto; translate: none; right: auto; transition: left .9s var(--lux-ease); filter: drop-shadow(0 14px 30px rgba(0,0,0,.6)); }
.lux-mix.is-playing .lux-mix-cover .mix-spin { left: 44%; }
.lux-mix-body { min-width: 0; position: relative; z-index: 3; }
.lux-mix-body .mix-date { margin-bottom: 10px; }
.lux-mix-body h3 { font-size: clamp(34px, 4.2vw, 58px); line-height: .95; text-transform: none; }
.lux-mix-body .mix-genres { margin: 12px 0 0; font-size: 17px; }
.lux-wave { position: relative; display: flex; align-items: center; gap: 2px; height: 76px; margin: 26px 0 8px; cursor: pointer; touch-action: none; }
.lux-wave i { flex: 1; min-width: 1px; background: rgba(255,255,255,.32); border-radius: 1px; transition: background .2s; }
.lux-wave i.on { background: var(--lux-accent); }
.lux-wave:focus-visible { outline: 2px solid var(--lux-accent); outline-offset: 4px; }
.lux-wave-meta { display: flex; justify-content: space-between; font: 700 14px/1 var(--hud); letter-spacing: .12em; color: rgba(255,255,255,.6); }
.lux-mix .mix-actions { margin-top: 22px; padding-top: 0; }
@media (max-width: 760px) {
  .lux-mix { grid-template-columns: 1fr; padding: 18px; }
  .lux-mix-cover { width: min(78%, 320px); }
  .lux-wave { height: 56px; }
}

/* ---------- Event landing pages: prologue treatment ---------- */
.lux-ev .lux-name { font-size: clamp(76px, 13.5vw, 200px); }
.lux-ev .hud-label { color: rgba(255,255,255,.75); }
.lux-ev .lux-pro-media.amb { opacity: 1; }
.lux-chapters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.14); counter-reset: ch; }
.lux-chapters li { counter-increment: ch; padding: 26px 22px 6px 0; border-right: 1px solid rgba(255,255,255,.08); }
.lux-chapters li + li { padding-left: 22px; }
.lux-chapters li:last-child { border-right: 0; }
.lux-chapters li::before { content: "Chapter " counter(ch, decimal-leading-zero); display: block; font: 700 13px/1 var(--hud); letter-spacing: .2em; text-transform: uppercase; color: var(--lux-accent); margin-bottom: 14px; }
.lux-chapters h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 10px; }
.lux-chapters p { color: #cfc7bc; margin: 0; }
@media (max-width: 900px) {
  .lux-chapters { grid-template-columns: 1fr; }
  .lux-chapters li, .lux-chapters li + li { padding: 22px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
}

/* ---------- Magnetic buttons (fine pointers only) ---------- */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .lux-mag { transition: transform .5s var(--lux-ease), background-color .2s, color .2s; }
}

/* ---------- Reduced motion: everything just appears ---------- */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .lux-pro-media { transform: none; }
  .lux-mix-cover .mix-spin { transition: none; }
}

/* ---------- "Now playing" mini-player ---------- */
.mini {
  position: fixed; z-index: 70; right: 182px; bottom: 22px; width: min(560px, calc(100vw - 204px)); /* clears the Kev's Team chat button */
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 44px auto 36px; align-items: center; gap: 12px;
  padding: 10px 10px 10px 10px; color: #fff;
  background: rgba(14,10,18,.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 18px 50px rgba(0,0,0,.55);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  view-transition-name: mini;
}
.mini[hidden] { display: none; }
.mini-cover { width: 48px; height: 48px; object-fit: cover; background: #222; }
.mini.is-playing .mini-cover { box-shadow: 0 0 0 2px var(--lux-accent); }
.mini-meta { min-width: 0; }
.mini-label { display: block; font: 700 12px/1 var(--hud); letter-spacing: .18em; text-transform: uppercase; color: var(--lux-accent); }
.mini-title { display: block; margin: 5px 0 7px; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-bar { position: relative; height: 4px; background: rgba(255,255,255,.18); cursor: pointer; }
.mini-bar::before { content: ""; position: absolute; inset: -8px 0; }
.mini-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--lux-accent); }
.mini-bar:focus-visible { outline: 2px solid var(--lux-accent); outline-offset: 6px; }
.mini-time { font: 700 14px/1 var(--hud); letter-spacing: .08em; color: rgba(255,255,255,.72); min-width: 44px; text-align: right; }
.mini-pp { width: 44px; height: 44px; border: 0; cursor: pointer; background: var(--lux-accent); color: #fff; display: grid; place-items: center;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.mini-pp span { width: 0; height: 0; border-left: 13px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.mini-pp.is-playing span { width: 12px; height: 14px; border: 0; margin: 0; background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px); }
.mini-pp:hover { background: #fff; color: #000; }
.mini-book { font: 700 14px/1 var(--hud); letter-spacing: .12em; text-transform: uppercase; color: #fff; text-decoration: none; border-bottom: 2px solid var(--lux-accent); padding: 4px 0; white-space: nowrap; }
.mini-book:hover { color: var(--lux-accent); }
.mini-x { width: 36px; height: 36px; border: 0; background: none; color: rgba(255,255,255,.7); cursor: pointer; display: grid; place-items: center; }
.mini-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mini-x:hover { color: #fff; }
.mini-help { grid-column: 1 / -1; }
.mini-help p { margin: 4px 0 8px; font-size: 14px; color: #e2dbd0; }
.mini-help[hidden] { display: block !important; position: absolute; left: -9999px; top: 0; width: 320px; height: 1px; overflow: hidden; }
.mini-frame iframe { display: block; width: 100%; height: 120px; border: 0; }
/* play buttons show pause bars while their mix is playing */
.play.is-on i::before { border: 0; width: 12px; height: 14px; margin: 0; background: linear-gradient(90deg, #fff 0 4px, transparent 4px 8px, #fff 8px 12px); }
.play.is-on:hover i::before { background: linear-gradient(90deg, #000 0 4px, transparent 4px 8px, #000 8px 12px); }
/* keep page content clear of the bar; chapter HUD shifts up on small desktops */
body.has-mini { padding-bottom: calc(var(--bar-h) + 92px); }
@media (max-width: 1099px) { body.has-mini .lux-chapter { display: none; } }
@media (max-width: 860px) {
  .mini { left: 8px; right: 78px; width: auto; bottom: calc(var(--bar-h) + 8px); grid-template-columns: 44px minmax(0, 1fr) 44px 32px; gap: 10px; padding: 8px; }
  .mini-cover { width: 44px; height: 44px; }
  .mini-time, .mini-book { display: none; }
  .mini-title { font-size: 15px; }
}
.hint-m { display: none; }
@media (max-width: 899px) { .hint-d { display: none; } .hint-m { display: inline; } .lux-show { flex-basis: 70vw; aspect-ratio: 4 / 5; } }
