/* 90 секунд: тёмная «комната для прослушивания» (тема бренда, без светлого варианта).
   Форма: карточки и обложки 4px, круглые только кнопки управления плеером. Акцент один: лайм. */
:root {
  --bg: #0e0f12;
  --surface: #16181d;
  --raise: #1d2026;
  --ink: #f1f0ea;
  --muted: #9a9ca4;
  --line: #262931;
  --accent: #c6e85b;
  --accent-ink: #12160a;
  --r: 4px;
  --wrap: 1280px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before { /* лёгкое зерно, фиксированный слой */
  content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .05;
  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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: "Dela Gothic One", "Golos Text", sans-serif; font-weight: 400; letter-spacing: -0.01em; line-height: 1.02; }
h2 { font-size: clamp(30px, 4.2vw, 50px); }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 60; padding: 8px 14px; background: var(--accent); color: var(--accent-ink); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--r); cursor: pointer;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn--sm { height: 42px; padding: 0 16px; font-size: 15px; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #d5f27a; }
.btn--ghost { border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgb(14 15 18 / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; gap: 24px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__ring {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: conic-gradient(var(--accent) 0 75%, var(--line) 75% 100%);
}
.logo__ring span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); font: 400 13px/1 "Dela Gothic One", sans-serif; }
.logo__name { font: 400 19px/1 "Dela Gothic One", sans-serif; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; display: inline-flex; align-items: center; gap: 8px; }
.nav a:hover { color: var(--ink); }
.nav__count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--raise); color: var(--ink); font-size: 12px; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .nav a:not(:last-child) { display: none; } }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 80px); }
.hero h1 { font-size: clamp(38px, 5.2vw, 72px); max-width: 11ch; position: relative; z-index: 1; }
.hero__lead { margin-top: 24px; max-width: 44ch; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stack { position: relative; height: clamp(300px, 34vw, 460px); }
.stack .jacket { position: absolute; width: 62%; top: 50%; left: 50%; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .7); transition: transform .8s var(--ease); }
.stack .jacket:nth-child(1) { transform: translate(-82%, -50%) rotate(-9deg); }
.stack .jacket:nth-child(2) { transform: translate(-30%, -56%) rotate(5deg); }
.stack .jacket:nth-child(3) { transform: translate(-52%, -44%) rotate(-1deg); }
.stack:hover .jacket:nth-child(1) { transform: translate(-90%, -50%) rotate(-12deg); }
.stack:hover .jacket:nth-child(2) { transform: translate(-14%, -58%) rotate(9deg); }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } .stack { height: 300px; } .stack .jacket { width: 52%; } }

/* Jacket: обложка сингла из CSS */
.jacket {
  position: relative; aspect-ratio: 1; overflow: hidden; isolation: isolate; border-radius: var(--r);
  background: var(--j-bg); color: var(--j-fg); container-type: inline-size;
}
.jacket__obi {
  position: absolute; top: 0; bottom: 0; right: 0; width: 17%;
  background: var(--j-ob); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 10% 0 8%; z-index: 2;
}
.jacket__obi span { writing-mode: vertical-rl; font-size: clamp(9px, 1vw, 12px); font-size: max(8px, 4.4cqw); font-weight: 600; letter-spacing: .1em; white-space: nowrap; overflow: hidden; max-height: 70%; }
.jacket__obi b { font: 400 clamp(12px, 1.4vw, 18px)/1 "Dela Gothic One", sans-serif; font-size: 6.4cqw; }
.jacket__title {
  position: absolute; left: 8%; right: 24%; bottom: 9%; z-index: 2;
  font: 400 calc(var(--tf, 1) * clamp(20px, 3vw, 44px))/1.05 "Dela Gothic One", sans-serif; font-size: calc(var(--tf, 1) * 14cqw); letter-spacing: -.01em;
}
.jacket__ring { position: absolute; z-index: 1; width: 92%; aspect-ratio: 1; left: -26%; top: -30%; border-radius: 50%; border: clamp(10px, 1.6vw, 22px) solid currentColor; opacity: .16; }
.jacket__no { position: absolute; z-index: 2; left: 8%; top: 7%; font: 400 clamp(12px, 1.2vw, 15px)/1 "Dela Gothic One", sans-serif; font-size: max(10px, 5.4cqw); opacity: .8; }

/* Room: плеер + список */
.room { padding-block: clamp(40px, 6vw, 80px); background: linear-gradient(var(--bg), var(--surface) 30%, var(--surface)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.room__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.deck { position: sticky; top: 86px; }
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #08090b; }
.screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.screen__art { position: absolute; inset: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6%; padding: 6%; background: var(--j-bg); color: var(--j-fg); cursor: pointer; border: 0; width: 100%; text-align: left; }
.screen__art .jacket { width: clamp(120px, 22vw, 280px); box-shadow: 0 24px 50px -18px rgb(0 0 0 / .65); z-index: 2; }
.screen__disc {
  position: absolute; z-index: 1; left: calc(6% + clamp(120px, 22vw, 280px) * .55); top: 50%;
  width: clamp(110px, 20vw, 256px); aspect-ratio: 1; border-radius: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, var(--j-bg) 0 14%, #111 14.5% 16%, transparent 16.5%), repeating-radial-gradient(circle, #15161a 0 2px, #1d1f24 2px 3px);
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / .05);
  transition: transform .9s var(--ease);
}
.screen__art:hover .screen__disc { transform: translate(18%, -50%) rotate(40deg); }
.screen__go { justify-self: end; align-self: end; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--r); background: rgb(10 11 13 / .78); color: #f1f0ea; font-weight: 600; font-size: 15px; z-index: 2; backdrop-filter: blur(6px); }
.deck__info { display: flex; justify-content: space-between; gap: 18px; margin-top: 22px; }
.deck__jp { font: 400 clamp(26px, 3vw, 40px)/1.1 "Dela Gothic One", sans-serif; }
.deck__ru { margin-top: 6px; font-weight: 600; font-size: 17px; }
.deck__by { color: var(--muted); font-size: 15px; }
.deck__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.deck__note { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 60ch; }
.toggle { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: var(--r); gap: 2px; }
.toggle button { height: 36px; padding: 0 14px; border: 0; border-radius: 3px; background: transparent; color: var(--muted); cursor: pointer; font-size: 14px; font-weight: 600; }
.toggle button[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.toggle button:disabled { opacity: .35; cursor: not-allowed; }
.deck__nav { display: flex; gap: 10px; align-items: center; }
.round { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: transform .2s var(--ease), border-color .2s; }
.round:hover { border-color: var(--ink); }
.round:active { transform: scale(.94); }
.round--main { width: 58px; height: 58px; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.round--main .i { width: 22px; height: 22px; }
.fav { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.fav .i--on { display: none; color: var(--accent); }
.fav[aria-pressed="true"] .i--on { display: block; animation: pop .45s var(--ease); }
.fav[aria-pressed="true"] .i--off { display: none; }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } }
@media (max-width: 960px) { .room__grid { grid-template-columns: 1fr; } .deck { position: static; } }

/* Track list */
.list { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.row { display: grid; grid-template-columns: 30px 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; width: 100%; padding: 10px 10px; border: 0; border-radius: var(--r); background: transparent; cursor: pointer; text-align: left; transition: background-color .2s; }
.row:hover { background: var(--raise); }
.row[aria-current="true"] { background: var(--raise); box-shadow: inset 3px 0 0 var(--accent); }
.row__n { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 14px; text-align: right; }
.row[aria-current="true"] .row__n { color: var(--accent); }
.row .jacket { width: 56px; }
.row .jacket__title, .row .jacket__obi span, .row .jacket__obi b, .row .jacket__no { display: none; }
.row__t { min-width: 0; }
.row__t strong { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__t span { display: block; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__y { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.row__heart { width: 16px; height: 16px; color: var(--accent); }

/* Quiz */
.quiz { padding-block: clamp(72px, 10vw, 140px); }
.quiz__card { max-width: 860px; margin-inline: auto; }
.quiz__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.quiz__score { color: var(--muted); font-variant-numeric: tabular-nums; }
.quiz__q { margin-top: 30px; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; font-weight: 600; max-width: 34ch; }
.quiz__q b { font-family: "Dela Gothic One", sans-serif; font-weight: 400; color: var(--accent); }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.opt { min-height: 64px; padding: 14px 18px; text-align: left; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); cursor: pointer; font-weight: 600; font-size: 16px; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.opt:hover:not(:disabled) { border-color: var(--ink); }
.opt:active:not(:disabled) { transform: scale(.99); }
.opt:disabled { cursor: default; }
.opt.is-right { border-color: var(--accent); background: rgb(198 232 91 / .12); }
.opt.is-wrong { border-color: #e2685a; background: rgb(226 104 90 / .1); }
.quiz__after { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; }
.quiz__after p { color: var(--muted); max-width: 48ch; }
.quiz__btns { display: flex; gap: 10px; }
@media (max-width: 600px) { .quiz__opts { grid-template-columns: 1fr; } }

/* Mine */
.mine { padding-block: 0 clamp(72px, 10vw, 140px); }
.mine__empty { margin-top: 24px; padding: 34px; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); max-width: 640px; }
.mine__empty strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.mine__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; margin-top: 28px; }
.mine__item { position: relative; border: 0; padding: 0; background: none; text-align: left; cursor: pointer; }
.mine__item .jacket { transition: transform .35s var(--ease); }
.mine__item:hover .jacket { transform: translateY(-4px) rotate(-1deg); }
.mine__item p { margin-top: 10px; font-weight: 600; font-size: 15px; }
.mine__item small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.mine__bar { display: flex; gap: 10px; margin-top: 26px; }

/* Footer, toast */
.foot { border-top: 1px solid var(--line); padding-block: 34px; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; align-items: center; }
.foot p { color: var(--muted); font-size: 14px; max-width: 70ch; }
.foot__up { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 600; font-size: 15px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 40; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: var(--r); background: var(--ink); color: var(--bg); font-weight: 600; font-size: 15px; transition: opacity .3s, transform .4s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
