/* Charte : papier blanc cassé / gris métal / noir, accents or, photos N&B argentique
   Typo : gothique (logo, beattapes) · Big Shoulders (titres) · Space Mono (labels) */
:root {
  --bg: #ecebe7;
  --paper: #f6f5f2;
  --card: #ffffff;
  --line: #cfcec8;
  --ink: #0b0b0b;
  --ink-2: #1d1d1d;
  --muted: #6b6a64;
  --gold: #c9a227;
  --gold-2: #e8c35a;
  --gold-3: #8a6d14;
  --gold-metal: linear-gradient(115deg, #8a6d14 0%, #e8c35a 30%, #f8e7a8 48%, #c9a227 68%, #8a6d14 100%);
  --metal: linear-gradient(135deg, #f7f7f5 0%, #d9d9d4 40%, #f1f1ee 55%, #c6c6c0 100%);
  --goth: "UnifrakturCook", "Old English Text MT", serif;
  --head: "Big Shoulders Display", Impact, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --body: "Inter", system-ui, sans-serif;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --pad: clamp(16px, 3vw, 40px);
  --player-h: 0px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { background: var(--bg); color: var(--ink); font: 15px/1.6 var(--body); padding-bottom: var(--player-h); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .08; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img, svg { display: block; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.gold-text { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Boutons */
.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border: 1px solid currentColor; font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; transition: background .25s, color .25s, transform .4s var(--spring); white-space: nowrap; }
.btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; transform: scale(1.04); }
.btn-line.dark:hover { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.btn-solid { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; background: var(--ink); color: #fff; font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; transition: transform .4s var(--spring), background .25s, color .25s; white-space: nowrap; }
.btn-solid:hover { background: var(--gold-metal); color: var(--ink); transform: scale(1.04); }
.btn-solid:active, .btn-line:active { transform: scale(.94); }
.btn-solid.gold { background: var(--gold-metal); color: var(--ink); }
.btn-solid.gold:hover { background: #fff; }
.btn-solid.sm { padding: 10px 16px; }
.btn-solid:disabled { opacity: .4; pointer-events: none; }
.full { width: 100%; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; transition: background .2s, transform .3s var(--spring); }
.icon-btn:hover { background: rgba(255,255,255,.1); transform: scale(1.12); }
.link { color: var(--gold-3); }
.link:hover { color: var(--ink); }

/* Bandeau défilant */
.marquee { background: var(--ink); color: var(--gold-2); overflow: hidden; white-space: nowrap; font: 700 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; padding: 9px 0; position: relative; z-index: 60; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 40s linear infinite; padding-left: 48px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Header : logo gothique centré, menu qui réagit */
.header { position: sticky; top: 0; z-index: 55; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 14px var(--pad); transition: background .3s, color .3s, padding .3s; color: var(--ink); margin-bottom: -68px; }
.header.scrolled { background: rgba(236,235,231,.96); padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.logo { font: 36px/1 var(--goth); letter-spacing: .01em; transition: transform .5s var(--spring); }
.logo:hover { transform: scale(1.08) rotate(-2deg); }
.nav { display: flex; gap: 26px; align-items: center; font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.nav-right { justify-content: flex-end; }
.nav > * { display: inline-block; transition: transform .45s var(--spring), opacity .3s; transform-origin: center; padding: 6px 0; }
.nav:hover > * { transform: scale(.82); opacity: .4; }
.nav:hover > *:hover { transform: scale(1.35); opacity: 1; }
.nav > *.squish { animation: squish .55s var(--spring); }
@keyframes squish { 0% { transform: scale(1.35); } 35% { transform: scale(1.75, .55); } 65% { transform: scale(.85, 1.25); } 100% { transform: scale(1); } }
.burger, .only-mobile { display: none; }

/* Hero plein écran */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: #cfcfca; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: grayscale(1) contrast(1.02); transform: scale(1.08); animation: heroIn 2.6s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(236,235,231,.35) 0%, transparent 22%, transparent 55%, rgba(0,0,0,.55) 100%); pointer-events: none; }
.hero-content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--pad) 28px; color: #fff; }
.hero-kicker { position: absolute; top: 86px; left: var(--pad); color: var(--ink); }
.hero-title { font: clamp(72px, 17.5vw, 300px)/.82 var(--goth); letter-spacing: -.01em; white-space: nowrap; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 30px rgba(0,0,0,.45)); animation: rise 1.4s .2s var(--spring) both; }
@keyframes rise { from { opacity: 0; transform: translateY(60px) scale(.96); } }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.5); }

/* Beat du moment */
.featured { position: absolute; z-index: 3; right: var(--pad); top: 140px; width: 240px; background: rgba(246,245,242,.86); backdrop-filter: blur(10px); padding: 12px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); animation: rise 1.2s .6s var(--spring) both; }
.featured .cover { width: 100%; aspect-ratio: 1; }
.featured-label { display: flex; justify-content: space-between; margin: 10px 0 2px; }
.featured-label b { color: var(--gold-3); }
.featured h3 { font: 900 30px/1 var(--head); text-transform: uppercase; }
.featured .meta { color: var(--muted); margin: 2px 0 10px; }
.featured-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.featured-actions > * { padding: 10px 8px; }

/* Pochettes */
.cover { position: relative; flex: none; overflow: hidden; background: #cfcfca center / cover no-repeat; filter: grayscale(1); }
.cover.sm { width: 46px; height: 46px; }

/* Étiquette de section */
.section-label { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px; border-top: 1px solid var(--ink); padding: 14px 0 28px; }
.section-label h2 { font: 900 clamp(52px, 9vw, 140px)/.85 var(--head); text-transform: uppercase; text-align: center; letter-spacing: -.01em; }
.section-label > span:last-child { text-align: right; }
.section { padding: clamp(72px, 10vw, 140px) var(--pad) 0; }

/* Beattapes */
.beattapes { padding: clamp(72px, 10vw, 140px) var(--pad) 0; }
.tapes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tape { position: relative; display: block; text-align: left; overflow: hidden; background: #111; color: #fff; transition: transform .6s var(--spring), opacity .4s; }
.tapes:hover .tape { opacity: .5; transform: scale(.97); }
.tapes:hover .tape:hover { opacity: 1; transform: scale(1.015); z-index: 2; }
.tape:active { transform: scale(.96) !important; }
.tape-img { display: block; aspect-ratio: 4 / 4.6; background: center / cover no-repeat; filter: grayscale(1) contrast(1.05); transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s; }
/* Nombre impair de beattapes : The Vault en bannière pleine largeur */
.tape.vault:nth-child(odd) { grid-column: 1 / -1; }
.tape.vault:nth-child(odd) .tape-img { aspect-ratio: 21 / 9; }
.tape:hover .tape-img { transform: scale(1.08); filter: grayscale(1) contrast(1.2) brightness(.9); }
.tape-img.in-color, .tv-cover-img.in-color { filter: none; }
.tape:hover .tape-img.in-color { filter: contrast(1.1) brightness(.92); }
.tape::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 30%, transparent 55%, rgba(0,0,0,.6)); pointer-events: none; }
.tape-top { position: absolute; z-index: 2; top: 16px; left: 18px; right: 18px; display: flex; justify-content: space-between; }
.tape-title { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 64px; font: clamp(54px, 7.5vw, 124px)/.9 var(--goth); transition: transform .6s var(--spring), letter-spacing .6s; transform-origin: left bottom; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 24px rgba(0,0,0,.6)); }
.tape:hover .tape-title { transform: scale(1.06); }
.tape-bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--paper); color: var(--ink); }
.tape-bar b { color: var(--gold-3); }
.tape-bar .arrow { display: inline-block; transition: transform .4s var(--spring); }
.tape:hover .tape-bar .arrow { transform: translateX(8px) scale(1.3); }

/* Bannière */
.banner { position: relative; margin-top: clamp(72px, 10vw, 140px); height: clamp(320px, 44vw, 640px); overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.6), transparent 60%); }
.banner-text { position: absolute; z-index: 1; left: var(--pad); bottom: clamp(24px, 4vw, 48px); color: #fff; }
.banner-text h2 { font: clamp(64px, 10vw, 160px)/.85 var(--goth); margin-top: 8px; }

/* Licences */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.plan { position: relative; padding: 28px 22px; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); transition: transform .5s var(--spring), box-shadow .3s; background: var(--bg); }
.plan + .plan { border-left: 1px solid var(--line); }
.plan:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); z-index: 1; }
.plan.popular { background: var(--ink); color: #fff; }
.plan.popular .files, .plan.popular ul { color: #a9a8a1; }
.plan .pop { position: absolute; top: 16px; right: 16px; background: var(--gold-metal); color: var(--ink); padding: 4px 8px; }
.plan h3 { font: 900 30px/1 var(--head); text-transform: uppercase; }
.plan .files { color: var(--muted); margin-top: 4px; }
.plan .price { font: 900 64px/1 var(--head); margin: 22px 0; }
.plan.popular .price { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; flex: 1; }
.plan li::before, .checks li::before { content: "→ "; color: var(--gold); }
.plan .btn-line { border-color: currentColor; }
.plan.popular .btn-line:hover { background: var(--gold-metal); color: var(--ink); border-color: transparent; }
.exclusive { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 22px; background: var(--metal); }
.exclusive h3 { font: 64px/.9 var(--goth); }
.exclusive p { color: var(--muted); max-width: 520px; margin-top: 6px; }

/* Sur mesure */
.custom { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(72px, 10vw, 140px); background: var(--paper); }
.custom-photo { overflow: hidden; min-height: 520px; }
.custom-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.custom:hover .custom-photo img { transform: scale(1.05); }
.custom-text { padding: clamp(32px, 6vw, 88px); align-self: center; }
.custom-text h2 { font: 900 clamp(48px, 6vw, 96px)/.88 var(--head); text-transform: uppercase; margin: 14px 0 18px; }
.custom-text > p:not(.mono) { color: var(--muted); max-width: 460px; }
.checks { list-style: none; display: grid; gap: 8px; margin: 24px 0 30px; }

/* FAQ */
.faq { display: grid; max-width: 980px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font: 900 clamp(24px, 3vw, 38px)/1.05 var(--head); text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; gap: 16px; transition: transform .4s var(--spring); transform-origin: left; }
.faq summary:hover { transform: scale(1.02); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); transition: transform .4s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin-top: 10px; max-width: 720px; }

/* Contact */
.contact-form { display: grid; gap: 14px; max-width: 760px; margin: 0 auto; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form textarea, .contact-form select { background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 10px 0; outline: 0; color: var(--ink); font: 16px var(--body); letter-spacing: 0; text-transform: none; border-radius: 0; }
.contact-form :focus { border-color: var(--gold); }
.contact-form button { justify-self: start; margin-top: 10px; }
.socials { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.socials a { font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid; }

/* Footer */
.footer { margin-top: clamp(96px, 12vw, 160px); background: var(--ink); color: #8d8c85; padding: 40px var(--pad) 24px; overflow: hidden; }
.footer-logo { font: clamp(64px, 17.5vw, 300px)/.85 var(--goth); background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #2a2a2a; margin-top: 20px; padding-top: 14px; }

/* Vue beattape */
.tape-view { position: fixed; inset: 0; z-index: 70; background: var(--paper); overflow-y: auto; padding-bottom: calc(var(--player-h) + 40px); animation: tapeIn .6s cubic-bezier(.2,.8,.2,1); }
@keyframes tapeIn { from { transform: translateY(40px) scale(.98); opacity: 0; } }
.tv-close { position: fixed; top: 16px; right: var(--pad); z-index: 2; padding: 10px 14px; background: var(--ink); color: #fff; transition: transform .4s var(--spring); }
.tv-close:hover { transform: scale(1.12); background: var(--gold-metal); color: var(--ink); }
.tv-grid { display: grid; grid-template-columns: minmax(280px, .85fr) 1.15fr; gap: clamp(24px, 4vw, 64px); padding: 72px var(--pad) 0; }
.tv-cover-wrap { position: sticky; top: 72px; align-self: start; }
.tv-cover { position: relative; aspect-ratio: 1; background: #111 center / cover no-repeat; color: #fff; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); animation: spinIn .9s var(--spring); }
@keyframes spinIn { from { transform: rotate(-4deg) scale(.9); opacity: 0; } }
.tv-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3), transparent 35%, rgba(0,0,0,.55)); filter: none; }
.tv-cover > * { position: absolute; z-index: 1; }
.tv-vol { top: 16px; left: 18px; }
.tv-cover-title { left: 18px; right: 18px; bottom: 44px; font: clamp(56px, 8vw, 128px)/.88 var(--goth); background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 24px rgba(0,0,0,.6)); }
.tv-stamp { bottom: 16px; left: 18px; color: var(--gold-2); }
/* « Part 1 / Part 2 » sous le titre gothique */
.tape-title small, .tv-cover-title small { display: block; margin-top: 6px; font: 700 clamp(13px, 1.4vw, 18px)/1.2 var(--mono); letter-spacing: .3em; text-transform: uppercase; }

/* Réaction aux basses : --bass (0 → 1) est mis à jour par app.js pendant la lecture */
/* Sur les basses, seul le premier plan détouré (.fg, config.js → foreground) avance/recule ;
   le fond de la cover (bâtiments) reste fixe et les couleurs ne changent pas */
.tv-cover-img { inset: 0; z-index: 0 !important; background: center / cover no-repeat; filter: grayscale(1); }
.tv-cover::before { z-index: 1; }
.tv-cover > *:not(.tv-cover-img) { z-index: 2; }
.tv-cover { box-shadow: 0 40px 80px -40px rgba(0,0,0,.6), 0 0 calc(var(--bass, 0) * 60px) rgba(232,195,90, calc(var(--bass, 0) * .45)); }
.tv-cover-title { scale: calc(1 + var(--bass, 0) * .07); transform-origin: left bottom; }
.tv-viz { left: 0; right: 0; bottom: 0; width: 100%; height: 26%; opacity: .9; mix-blend-mode: screen; pointer-events: none; }
.tape-img { position: relative; }
.fg { position: absolute; inset: 0; background: center / cover no-repeat; pointer-events: none; transform-origin: var(--ox) var(--oy); will-change: scale; filter: drop-shadow(0 calc(var(--bass, 0) * 14px) calc(var(--bass, 0) * 18px) rgba(0,0,0,.35)); }
.tv-cover .fg, .tape.is-live .fg { scale: calc(1 + var(--bass, 0) * var(--s)); }
.tape.is-live .tape-title { scale: calc(1 + var(--bass, 0) * .06); }
.tape.is-live .tape-top span:first-child::before { content: "● "; color: var(--gold-2); }
.player.radio .player-meta span { color: var(--gold-2); }
.player.radio .player-meta strong::before { content: "● RADIO  "; color: var(--gold-2); font: 700 10px var(--mono); letter-spacing: .2em; vertical-align: middle; }
.tv-main { min-width: 0; }
.tv-title { font: 900 clamp(56px, 8vw, 128px)/.85 var(--head); text-transform: uppercase; margin: 8px 0 22px; }
.tv-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.toolbar { display: flex; gap: 10px; justify-content: space-between; margin-bottom: 6px; }
.search-sm { display: flex; align-items: center; gap: 8px; flex: 1; max-width: 340px; border-bottom: 1px solid var(--ink); color: var(--muted); }
.search-sm input { background: none; border: 0; outline: 0; padding: 10px 0; width: 100%; color: var(--ink); font: inherit; text-transform: none; letter-spacing: 0; }
select { background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 10px 4px; outline: 0; }

/* Playlist */
.tracklist { border-top: 1px solid var(--ink); }
.track { display: grid; grid-template-columns: 32px 52px 1fr 72px auto; align-items: center; gap: 16px; padding: 10px 4px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .2s, padding .4s var(--spring); }
.track:hover { background: #fff; padding-left: 14px; }
.track.playing { background: var(--ink); color: #fff; padding-left: 14px; }
.track .cover { width: 52px; height: 52px; }
.track .num { color: var(--muted); text-align: center; }
.track .num svg { display: none; margin: 0 auto; }
.track:hover .num span, .track.playing .num span { display: none; }
.track:hover .num .i-play-sm { display: block; }
.track.playing .num .i-play-sm { display: none; }
.track.playing .num .eq { display: flex; }
.eq { display: none; gap: 2px; height: 14px; align-items: flex-end; justify-content: center; }
.eq i { width: 3px; background: var(--gold-2); animation: eq 1s infinite ease-in-out; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; }
.paused .eq i { animation-play-state: paused; }
@keyframes eq { 0%,100% { height: 30%; } 50% { height: 100%; } }
.track .title { font: 900 26px/1 var(--head); text-transform: uppercase; letter-spacing: .01em; }
.track .sub { color: var(--muted); margin-top: 3px; }
.track.playing .sub, .track.playing .bpm { color: #a9a8a1; }
.track.playing .title { color: var(--gold-2); }
.track .bpm { color: var(--muted); text-align: right; }
.buy-btn { padding: 9px 14px; border: 1px solid currentColor; font: 700 11px/1 var(--mono); letter-spacing: .08em; transition: all .3s var(--spring); }
.buy-btn:hover { background: var(--gold-metal); color: var(--ink); border-color: transparent; transform: scale(1.08); }
.empty { text-align: center; padding: 40px; color: var(--muted); }

/* Lecteur */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; background: rgba(11,11,11,.97); color: #fff; }
.player-progress { height: 3px; background: #2a2a2a; cursor: pointer; transition: height .2s; }
.player-progress:hover { height: 7px; }
.player-bar { height: 100%; width: 0; background: var(--gold-metal); }
.player-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 10px var(--pad); }
.player-track { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player-meta { display: grid; min-width: 0; }
.player-meta strong { font: 900 20px/1.05 var(--head); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-meta span { color: #8d8c85; }
.player-controls { display: flex; align-items: center; gap: 6px; }
.play-btn { width: 46px; height: 46px; border-radius: 50%; background: var(--gold-metal); color: var(--ink); display: grid; place-items: center; transition: transform .4s var(--spring); }
.play-btn:hover { transform: scale(1.12); }
.play-btn:active { transform: scale(.9); }
.play-btn .i-pause, .is-playing .play-btn .i-play { display: none; }
.is-playing .play-btn .i-pause { display: block; }
.time { color: #8d8c85; min-width: 96px; text-align: center; }
.player-right { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
input[type=range] { accent-color: var(--gold); width: 100px; }

/* Overlays */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(15,15,15,.55); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 16px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; font-size: 28px; line-height: 1; transition: transform .4s var(--spring); }
.close:hover { transform: rotate(90deg) scale(1.2); }
.modal { position: relative; width: min(620px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--paper); padding: 28px; animation: pop .45s var(--spring); }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }
.modal-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.modal-head .cover { width: 88px; height: 88px; }
.modal-head h3 { font: 900 42px/1 var(--head); text-transform: uppercase; }
.license-options { display: grid; gap: 6px; }
.lic { display: grid; grid-template-columns: 20px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); background: var(--card); cursor: pointer; transition: transform .35s var(--spring), border-color .2s; }
.lic:hover { transform: scale(1.015); }
.lic input { accent-color: var(--ink); width: 16px; height: 16px; }
.lic:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }
.lic:has(input:checked) span { color: #a9a8a1; }
.lic:has(input:checked) .p { color: var(--gold-2); }
.lic strong { display: block; font: 900 20px/1 var(--head); text-transform: uppercase; }
.lic span { color: var(--muted); }
.lic .p { font: 900 26px var(--head); }
.modal-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

.search-box { position: relative; width: min(760px, 100%); max-height: 80vh; overflow: auto; background: var(--paper); padding: 28px; align-self: start; margin-top: 8vh; animation: pop .45s var(--spring); }
.search-box input { width: 100%; background: none; border: 0; border-bottom: 2px solid var(--ink); outline: 0; padding: 8px 40px 8px 0; font: 900 clamp(32px, 5vw, 56px)/1 var(--head); text-transform: uppercase; }
.search-results { margin-top: 12px; }

#cartPanel { place-items: stretch end; padding: 0; }
.drawer { width: min(420px, 100%); height: 100%; background: var(--paper); display: flex; flex-direction: column; animation: slide .4s cubic-bezier(.2,.8,.2,1); }
@keyframes slide { from { transform: translateX(60px); opacity: 0; } }
.drawer-head { position: relative; padding: 22px 24px; border-bottom: 1px solid var(--ink); }
.drawer-head h3 { font: 48px/1 var(--goth); }
.cart-items { flex: 1; overflow: auto; padding: 4px 24px; }
.cart-item { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item strong { display: block; font: 900 20px/1 var(--head); text-transform: uppercase; }
.cart-item span { color: var(--muted); }
.cart-item .rm { font: 11px var(--mono); color: var(--muted); text-decoration: underline; margin-top: 4px; }
.cart-item .free { color: var(--gold-3); font-weight: 700; }
.cart-empty { color: var(--muted); text-align: center; padding: 40px 0; }
.cart-foot { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; background: var(--bg); }
.bundle-hint { color: var(--gold-3); }
.line { display: flex; justify-content: space-between; color: var(--muted); }
.line.discount { color: var(--gold-3); }
.line.total { color: var(--ink); font: 900 30px var(--head); text-transform: uppercase; margin-bottom: 8px; }

.toast { position: fixed; left: 50%; bottom: calc(var(--player-h) + 20px); transform: translate(-50%, 20px); background: var(--ink); color: var(--gold-2); padding: 12px 20px; opacity: 0; pointer-events: none; transition: all .4s var(--spring); z-index: 90; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1000px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan:nth-child(3) { border-left: 0; }
  .tv-grid { grid-template-columns: 1fr; padding-top: 64px; }
  .tv-cover-wrap { position: static; max-width: 420px; }
}
@media (max-width: 760px) {
  .header { grid-template-columns: auto 1fr; margin-bottom: -60px; }
  .logo { font-size: 28px; order: -1; }
  .nav-left { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 22px; background: var(--ink); color: #fff; font-size: 14px; transform: translateY(-100%); visibility: hidden; transition: transform .5s cubic-bezier(.2,.8,.2,1), visibility 0s .5s; z-index: -1; }
  .nav-left.open { transform: none; visibility: visible; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
  .header:has(.nav-left.open) { color: #fff; background: transparent; border-color: transparent; }
  .nav-left > * { font: 900 44px/1 var(--head); }
  .only-mobile { display: inline-block; }
  .hide-mobile { display: none; }
  .burger { display: inline-block; }
  .nav-right { gap: 14px; }
  #searchBtn { display: none; }
  .hero-kicker { top: 72px; }
  .hero-title { font-size: 21vw; white-space: normal; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .featured { position: relative; right: auto; top: auto; width: auto; display: grid; grid-template-columns: 96px 1fr; gap: 0 12px; margin: 12px var(--pad) 0; animation: none; }
  .hero .featured { display: none; }
  .section-label { grid-template-columns: auto 1fr; }
  .section-label h2 { text-align: right; font-size: 13vw; }
  .tapes { grid-template-columns: 1fr; }
  .tapes:hover .tape { opacity: 1; transform: none; }
  .tape-img { aspect-ratio: 4 / 3.6; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; }
  .exclusive { flex-direction: column; align-items: flex-start; }
  .custom { grid-template-columns: 1fr; }
  .custom-photo { min-height: 0; aspect-ratio: 4 / 4.4; }
  .contact-form .row { grid-template-columns: 1fr; }
  .track { grid-template-columns: 46px 1fr auto; gap: 12px; }
  .track .cover { width: 46px; height: 46px; }
  .track .num, .track .bpm { display: none; }
  .track .title { font-size: 22px; }
  .toolbar { flex-wrap: wrap; }
  .search-sm { max-width: none; }
  .player-inner { grid-template-columns: 1fr auto auto; gap: 10px; }
  .player-right input, .time, #prevBtn, #nextBtn { display: none; }
  .play-btn { width: 42px; height: 42px; }
  .footer-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
