/* ==========================================================================
   Nova Records — дизайн-система
   ========================================================================== */

@property --ang {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  color-scheme: dark;
  --bg: #07060d;
  --bg-2: #0d0b17;
  --card: rgba(20, 17, 36, 0.62);
  --card-2: rgba(30, 26, 52, 0.55);
  --card-solid: #13101f;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #f5f3ff;
  --muted: #a7a2c7;
  --dim: #6e6893;
  --v: #7c5cff;
  --v2: #a78bfa;
  --pink: #ff4fd8;
  --cyan: #3ee8ff;
  --lime: #b8ff5c;
  --amber: #ffb547;
  --red: #ff5c7a;
  --green: #3dffa8;
  --grad: linear-gradient(120deg, #7c5cff 0%, #c04dff 40%, #ff4fd8 70%, #ffb547 100%);
  --grad-soft: linear-gradient(120deg, rgba(124, 92, 255, 0.22), rgba(255, 79, 216, 0.16));
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --glow: 0 0 0 1px rgba(124, 92, 255, 0.4), 0 10px 40px -8px rgba(124, 92, 255, 0.55);
  --side-w: 264px;
  --tab-h: 74px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --f-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --f-text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); color-scheme: dark; touch-action: manipulation; }
body {
  min-height: 100dvh;
  color: var(--text);
  font: 500 15px/1.5 var(--f-text);
  background: var(--bg);
  overflow-x: hidden;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, svg, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(124, 92, 255, 0.45); }

/* Космический скролл Vision Flow: тёмный трек, фиолетово-розовый ползунок.
   На Windows нельзя оставлять track transparent — иначе системная полоса белая. */
html, body, * {
  scrollbar-width: thin;
  scrollbar-color: #a78bfa #0d0b17;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: #0d0b17;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track,
html::-webkit-scrollbar-track-piece,
body::-webkit-scrollbar-track-piece,
*::-webkit-scrollbar-track-piece {
  background: #0d0b17;
  border-radius: 99px;
  box-shadow: inset 0 0 0 1px rgba(124, 92, 255, 0.18);
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  border-radius: 99px;
  border: 2px solid #0d0b17;
  background-color: #7c5cff;
  background-image: linear-gradient(180deg, #7c5cff 0%, #c04dff 48%, #ff4fd8 100%);
  background-clip: padding-box;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
  background-image: linear-gradient(180deg, #a78bfa 0%, #ff4fd8 55%, #ffb547 100%);
}
html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
  background: #0d0b17;
}
html::-webkit-scrollbar-button,
body::-webkit-scrollbar-button,
*::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
:focus-visible { outline: 2px solid var(--v2); outline-offset: 3px; border-radius: 6px; }

/* ── Фон ──────────────────────────────────────────────────────────────── */

.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg-blob {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(90px); opacity: 0.38; mix-blend-mode: screen; will-change: transform;
}
.bg-blob--a { background: radial-gradient(circle, #6d3bff 0%, transparent 65%); top: -25vmax; left: -15vmax; animation: blobA 26s var(--ease) infinite alternate; }
.bg-blob--b { background: radial-gradient(circle, #ff2fc4 0%, transparent 62%); bottom: -30vmax; right: -20vmax; opacity: 0.26; animation: blobB 32s var(--ease) infinite alternate; }
.bg-blob--c { background: radial-gradient(circle, #19c6ff 0%, transparent 60%); top: 30%; left: 45%; width: 40vmax; height: 40vmax; opacity: 0.14; animation: blobC 22s var(--ease) infinite alternate; }
@keyframes blobA { to { transform: translate(18vmax, 14vmax) scale(1.15); } }
@keyframes blobB { to { transform: translate(-16vmax, -10vmax) scale(1.2); } }
@keyframes blobC { to { transform: translate(-22vmax, 12vmax) scale(0.85); } }
.bg-grid {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%;
  background-image:
    linear-gradient(rgba(124, 92, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 255, 0.16) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 75%);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 75%);
  animation: gridRun 6s linear infinite;
  opacity: 0.55;
}
@keyframes gridRun { to { background-position: 0 64px, 0 0; } }
#fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-grain {
  position: absolute; inset: -50%;
  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='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.07; animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ── Каркас ───────────────────────────────────────────────────────────── */

.app {
  position: relative; z-index: 1; min-height: 100dvh;
  display: grid; grid-template-columns: var(--side-w) 1fr; grid-template-rows: auto 1fr;
  grid-template-areas: "side main" "side main";
}
.app.is-guest { grid-template-columns: 1fr; grid-template-areas: "main" "main"; }
.app.is-guest .side, .app.is-guest .tabbar, .app.is-guest .topbar { display: none; }
.app.is-booting .side, .app.is-booting .tabbar, .app.is-booting .topbar { visibility: hidden; }
.main { grid-area: main; min-width: 0; padding: 34px clamp(18px, 4vw, 56px) 80px; outline: none; }
.boot { min-height: 70vh; display: grid; place-items: center; }

.side {
  grid-area: side; position: sticky; top: 0; height: 100dvh; padding: 22px 16px;
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 11, 26, 0.78), rgba(10, 8, 20, 0.6));
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
}
.brand { display: flex; align-items: center; gap: 12px; padding: 6px 10px 22px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, #2a2050, #120f22); box-shadow: inset 0 0 0 1px var(--line-2), 0 8px 30px -8px rgba(124, 92, 255, 0.8);
}
.brand-name { font: 700 17px/1.1 var(--f-display); letter-spacing: -0.01em; }
.brand-name span { display: block; font: 600 10.5px/1.4 var(--f-text); color: var(--dim); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 3px; }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-link {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px;
  color: var(--muted); font-weight: 600; transition: color 0.2s, background 0.2s;
}
.nav-link svg { width: 20px; height: 20px; flex: none; opacity: 0.85; }
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-link.is-active { color: var(--text); background: linear-gradient(90deg, rgba(124, 92, 255, 0.22), rgba(124, 92, 255, 0.02)); }
.nav-link.is-active::before {
  content: ""; position: absolute; left: -16px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 6px 6px 0;
  background: var(--grad); box-shadow: 0 0 18px var(--pink);
}
.nav-link .count { margin-left: auto; font-size: 11px; padding: 2px 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); color: var(--text); }
.nav-sep { height: 1px; background: var(--line); margin: 10px 8px; }
.nav-cta { margin: 6px 0 10px; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }

.balance-card {
  position: relative; padding: 16px; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(140deg, rgba(124, 92, 255, 0.28), rgba(255, 79, 216, 0.12) 60%, rgba(255, 181, 71, 0.1));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.balance-card::after {
  content: ""; position: absolute; width: 120px; height: 120px; right: -40px; top: -40px; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 6px);
  animation: spin 14s linear infinite;
}
.balance-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.balance-value { font: 700 26px/1.2 var(--f-display); margin: 4px 0 12px; display: flex; align-items: baseline; gap: 8px; }
.balance-value small { font: 600 12px var(--f-text); color: var(--muted); }

.user-mini { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; color: var(--muted); }
.user-mini:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden;
  background: var(--grad); color: #fff; font: 700 14px var(--f-display);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-mini b { color: var(--text); display: block; font-size: 13.5px; line-height: 1.2; }
.user-mini small { font-size: 11.5px; }

.topbar { display: none; }
.tabbar { display: none; }

/* ── Типографика, общие блоки ─────────────────────────────────────────── */

.page { max-width: 1120px; margin: 0 auto; animation: pageIn 0.55s var(--ease) backwards; }
.page--narrow { max-width: 920px; }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.h1 { font: 800 clamp(28px, 4.2vw, 44px)/1.04 var(--f-display); letter-spacing: -0.03em; margin: 0; }
.h2 { font: 700 21px/1.2 var(--f-display); letter-spacing: -0.015em; margin: 0; }
.h3 { font: 700 16px/1.3 var(--f-display); margin: 0; }
.sub { color: var(--muted); margin: 8px 0 0; max-width: 620px; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: gradMove 6s ease infinite; }
@keyframes gradMove { 50% { background-position: 100% 0; } }
.kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--v2); }
.login-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.login-hint { margin: 0; max-width: 380px; color: var(--dim); font-size: 13px; line-height: 1.45; }
.login-wait { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.login-wait b { font: 700 18px/1.25 var(--f-display); }
.login-wait p { margin: 0; color: var(--muted); font-size: 14.5px; }
.login .note { margin-top: 18px; max-width: 520px; }
.login-word {
  font: 800 clamp(30px, 4vw, 48px)/0.95 var(--f-display); letter-spacing: -0.04em;
  background: linear-gradient(100deg, #b7a6ff 0%, #ff4fd8 48%, #ffb15c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.login-by {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--f-text); letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62);
}
.login-by::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #ff4fd8, #ffb15c);
}

.card {
  position: relative; border-radius: var(--r-lg); padding: 26px;
  background: var(--card); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%);
  box-shadow: var(--shadow);
}
.card + .card { margin-top: 16px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.card-head .sub { margin-top: 6px; font-size: 14px; }
.card--glow::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 60%, var(--v) 70%, var(--pink) 80%, var(--amber) 88%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: angSpin 5s linear infinite;
}
@keyframes angSpin { to { --ang: 360deg; } }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.row { display: flex; align-items: center; gap: 10px; }
.row-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.spacer { flex: 1; }
.hr { height: 1px; background: var(--line); margin: 20px 0; border: 0; }

/* ── Кнопки ───────────────────────────────────────────────────────────── */

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 14.5px; white-space: nowrap;
  transition: transform 0.18s var(--spring), box-shadow 0.25s, background 0.25s, opacity 0.2s; overflow: hidden;
  user-select: none; -webkit-user-select: none;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(0.96); }
.btn[disabled], .btn.is-disabled { opacity: 0.45; pointer-events: none; }
.btn-primary { color: #fff; background: var(--grad); background-size: 160% 100%; box-shadow: 0 10px 30px -10px rgba(255, 79, 216, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 14px 40px -10px rgba(255, 79, 216, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn-soft { background: rgba(255, 255, 255, 0.07); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-soft:hover { background: rgba(255, 255, 255, 0.11); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.btn-danger { color: var(--red); background: rgba(255, 92, 122, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 92, 122, 0.25); }
.btn-sm { height: 36px; padding: 0 14px; border-radius: 11px; font-size: 13px; }
.btn-lg { height: 56px; padding: 0 30px; border-radius: 18px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-icon { width: 42px; padding: 0; }
.btn-icon.btn-sm { width: 36px; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, 0.35); animation: ripple 0.6s ease-out; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ── Поля ─────────────────────────────────────────────────────────────── */

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.label {
  display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.label .req { color: var(--pink); }
.label .counter { margin-left: auto; letter-spacing: 0; font-weight: 600; color: var(--dim); text-transform: none; }
.tip {
  width: 17px; height: 17px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10px; font-weight: 800;
  color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); cursor: help; text-transform: none; position: relative;
}
.tip:hover::after, .tip:focus::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 260px; padding: 9px 12px; border-radius: 10px; font: 500 12.5px/1.45 var(--f-text);
  letter-spacing: 0; color: var(--text); background: #1d1832; box-shadow: var(--shadow), inset 0 0 0 1px var(--line-2); z-index: 20; white-space: normal;
}
.input, .textarea, .select-btn {
  width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 14px;
  background: rgba(8, 6, 16, 0.55); border: 1px solid var(--line-2); color: var(--text);
  font-size: 16px; font-weight: 600; outline: none; transition: border-color 0.2s, box-shadow 0.25s, background 0.2s;
}
.input::placeholder, .textarea::placeholder { color: var(--dim); font-weight: 500; }
.input:hover, .textarea:hover, .select-btn:hover { border-color: rgba(255, 255, 255, 0.22); }
.input:focus, .textarea:focus, .select-btn:focus-visible, .chips.is-focus {
  border-color: rgba(167, 139, 250, 0.8); background: rgba(14, 10, 28, 0.8);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18), 0 0 30px -6px rgba(124, 92, 255, 0.6);
}
.textarea { min-height: 170px; resize: vertical; line-height: 1.55; font-weight: 500; }
.input[type="date"] { color-scheme: dark; }
.select-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer; }
.select-btn .ph { color: var(--dim); font-weight: 500; }
.select-btn svg { width: 16px; height: 16px; color: var(--dim); flex: none; transition: transform 0.2s; }
.select-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select-btn, .field.has-error .chips, .field.has-error .drop {
  border-color: rgba(255, 92, 122, 0.75); box-shadow: 0 0 0 4px rgba(255, 92, 122, 0.12);
}
.field-error { color: var(--red); font-size: 12.5px; font-weight: 600; display: none; }
.field.has-error .field-error { display: block; animation: shake 0.4s; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.hint { font-size: 12.5px; color: var(--dim); }

.chips {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 50px; padding: 7px 8px; border-radius: 14px;
  background: rgba(8, 6, 16, 0.55); border: 1px solid var(--line-2); cursor: text; transition: border-color 0.2s, box-shadow 0.25s;
}
.chips input { flex: 1; min-width: 120px; border: 0; outline: 0; background: none; padding: 6px 8px; font-size: 16px; font-weight: 600; }
.chips input::placeholder { color: var(--dim); font-weight: 500; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 700;
  background: linear-gradient(120deg, rgba(124, 92, 255, 0.35), rgba(255, 79, 216, 0.22)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  animation: pop 0.3s var(--spring);
}
.chip button { width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; color: var(--muted); }
.chip button:hover { color: #fff; background: rgba(255, 255, 255, 0.15); }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: 14px; user-select: none; }
.switch input { display: none; }
.switch i {
  position: relative; width: 44px; height: 26px; border-radius: 99px; background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px var(--line-2); transition: background 0.25s; flex: none;
}
.switch i::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); transition: transform 0.3s var(--spring);
}
.switch input:checked + i { background: var(--grad); box-shadow: 0 0 18px -2px rgba(255, 79, 216, 0.7); }
.switch input:checked + i::after { transform: translateX(18px); }
.switches { display: flex; flex-wrap: wrap; gap: 12px 22px; }

.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 15px; background: rgba(8, 6, 16, 0.55); box-shadow: inset 0 0 0 1px var(--line-2); position: relative; }
.seg button { position: relative; z-index: 1; height: 38px; padding: 0 16px; border-radius: 11px; font-weight: 700; font-size: 13.5px; color: var(--muted); transition: color 0.2s; }
.seg button.is-on { color: #fff; }
.seg .seg-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; border-radius: 11px; background: linear-gradient(120deg, rgba(124, 92, 255, 0.7), rgba(255, 79, 216, 0.5)); box-shadow: 0 6px 20px -6px rgba(255, 79, 216, 0.7); transition: left 0.35s var(--spring), width 0.35s var(--spring); }

.note {
  display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; border-radius: 14px; font-size: 13.5px; color: var(--muted);
  background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--line);
}
.note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--v2); }
.note--warn { color: #ffd9a1; background: rgba(255, 181, 71, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.22); }
.note--warn svg { color: var(--amber); }
.note--bad { color: #ffc2cd; background: rgba(255, 92, 122, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 92, 122, 0.25); }
.note--bad svg { color: var(--red); }
.note--ok { color: #b9ffe0; background: rgba(61, 255, 168, 0.07); box-shadow: inset 0 0 0 1px rgba(61, 255, 168, 0.2); }
.note--ok svg { color: var(--green); }

.pill {
  display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 99px; font-size: 12px; font-weight: 800;
  letter-spacing: 0.02em; background: rgba(255, 255, 255, 0.07); color: var(--muted); white-space: nowrap;
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.pill--live { color: var(--green); background: rgba(61, 255, 168, 0.1); }
.pill--live i { animation: pulseDot 1.6s infinite; }
.pill--review { color: var(--amber); background: rgba(255, 181, 71, 0.1); }
.pill--review i { animation: pulseDot 1.6s infinite; }
.pill--stores { color: var(--cyan); background: rgba(62, 232, 255, 0.1); }
.pill--bad { color: var(--red); background: rgba(255, 92, 122, 0.1); }
.pill--draft { color: var(--muted); }
.pill--sent { color: var(--v2); background: rgba(124, 92, 255, 0.14); }
.pill--sent i { animation: pulseDot 1.6s infinite; }
.pill--sandbox { color: var(--lime); background: rgba(184, 255, 92, 0.1); }
@keyframes pulseDot { 50% { opacity: 0.35; transform: scale(0.7); } }
.tag { display: inline-flex; flex: none; white-space: nowrap; align-items: center; height: 24px; padding: 0 10px; border-radius: 8px; font-size: 12px; font-weight: 700; background: rgba(124, 92, 255, 0.18); color: #d8ccff; }

/* ── Эквалайзер, винил ────────────────────────────────────────────────── */

.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 20px; }
.eq i { width: 3.5px; border-radius: 3px; background: var(--grad); background-size: 100% 400%; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(1) { animation-delay: -0.2s; } .eq i:nth-child(2) { animation-delay: -0.6s; }
.eq i:nth-child(3) { animation-delay: -0.4s; } .eq i:nth-child(4) { animation-delay: -0.8s; } .eq i:nth-child(5) { animation-delay: -0.1s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.eq--xl { height: 54px; gap: 7px; } .eq--xl i { width: 9px; }
.eq.is-paused i { animation-play-state: paused; }

.vinyl {
  position: relative; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 15%, rgba(0, 0, 0, 0) 15.5%),
    repeating-radial-gradient(circle, #0b0a10 0 1.4px, #1a1724 1.6px 2.6px),
    #0b0a10;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), inset 0 0 0 2px rgba(255, 255, 255, 0.04);
  animation: spin 3.6s linear infinite; animation-play-state: paused;
}
.vinyl::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 0 12%, rgba(255, 255, 255, 0.13) 16%, transparent 22% 58%, rgba(255, 255, 255, 0.09) 62%, transparent 68%);
}
.vinyl-label {
  position: absolute; inset: 31%; border-radius: 50%; overflow: hidden; background: var(--grad);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.6);
}
.vinyl-label img { width: 100%; height: 100%; object-fit: cover; }
.vinyl-label::after { content: ""; position: absolute; inset: 44%; border-radius: 50%; background: var(--bg); }
.vinyl.is-spinning { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }

.sleeve { position: relative; width: 100%; max-width: 300px; aspect-ratio: 1; }
.sleeve .vinyl { position: absolute; top: 4%; left: 4%; width: 92%; transition: transform 0.9s var(--ease); }
.sleeve.is-out .vinyl { transform: translateX(26%); }
.login-art .sleeve.is-out .vinyl { transform: translateX(52%); }
.vinyl-peek { animation: none; background: none; box-shadow: none; }
.vinyl-peek::before { content: none; }
.vinyl-rotor {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background: #07060c;
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  animation: spin 8s linear infinite;
}
.plate { position: absolute; inset: 0; width: 100%; height: 100%; }
.vinyl-rotor::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: 1; pointer-events: none;
  background: conic-gradient(from 210deg, transparent 0 7%, rgba(255, 255, 255, 0.72) 8.1%, rgba(255, 255, 255, 0.12) 9.4%, transparent 11% 100%);
  -webkit-mask: radial-gradient(circle, transparent 0 20%, #000 22% 96%, transparent 99%);
  mask: radial-gradient(circle, transparent 0 20%, #000 22% 96%, transparent 99%);
}
.vinyl-peek .vinyl-label { z-index: 2; inset: 30%; background: conic-gradient(from 210deg, #7c5cff, #ff4fd8 46%, #ffb547 78%, #7c5cff); }
.tonearm {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; overflow: visible; pointer-events: none;
  filter: drop-shadow(4px 8px 6px rgba(0, 0, 0, 0.45));
}
.review-hero > *, .rel-hero > *:not(.rel-hero-bg) { position: relative; min-width: 0; }
.sleeve-cover > svg:not(.hc-arc) { width: 38%; height: 38%; color: var(--dim); }
.sleeve-cover {
  position: absolute; inset: 0; border-radius: 16px; overflow: hidden; z-index: 1;
  background: linear-gradient(135deg, #1d1838, #0e0b1c); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: grid; place-items: center;
}
.sleeve-cover img { width: 100%; height: 100%; object-fit: cover; }
.sleeve-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255, 255, 255, 0.18), transparent 35%); pointer-events: none; }

/* ── Гость / вход ─────────────────────────────────────────────────────── */

.login { min-height: calc(100dvh - 120px); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; max-width: 1150px; margin: 0 auto; }
.login > * { min-width: 0; }
.login-title { font: 800 clamp(38px, 6vw, 76px)/0.98 var(--f-display); letter-spacing: -0.045em; margin: 16px 0 18px; }
.login-text { color: var(--muted); font-size: 17px; max-width: 520px; }
.login-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; max-width: 380px; }
.login-art { position: relative; display: grid; place-items: center; }
.login-art { padding-right: 16%; }
.login-art .sleeve { max-width: 400px; }

.sleeve--hero { animation: hcFloat 7s ease-in-out infinite; }
@keyframes hcFloat { 50% { transform: translateY(-10px) rotate(-1.2deg); } }
.hero-cover {
  border-radius: 22px; background: #0d0820; isolation: isolate;
  box-shadow: 0 40px 90px -24px rgba(124, 92, 255, 0.55), 0 30px 70px -20px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.hero-cover::after { z-index: 6; background: linear-gradient(125deg, rgba(255, 255, 255, 0.22), transparent 32%, transparent 70%, rgba(255, 255, 255, 0.06)); }
.hc-mesh { position: absolute; border-radius: 50%; filter: blur(38px); opacity: 0.9; z-index: 0; }
.hc-mesh--a { width: 70%; height: 70%; left: -18%; top: -14%; background: #6d4dff; animation: hcDrift 12s ease-in-out infinite; }
.hc-mesh--b { width: 64%; height: 64%; right: -20%; top: 18%; background: #ff3fcf; animation: hcDrift 14s ease-in-out infinite reverse; }
.hc-mesh--c { width: 60%; height: 50%; left: 14%; bottom: -22%; background: #ff9f43; opacity: 0.55; animation: hcDrift 16s ease-in-out infinite; }
@keyframes hcDrift { 33% { transform: translate(8%, 6%) scale(1.08); } 66% { transform: translate(-6%, 4%) scale(0.95); } }

.hc-arc {
  position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none;
}
.hero-cover > .hc-arc { width: 100%; height: 100%; }
.hc-arc text {
  fill: #fff; font-family: var(--f-display); font-weight: 700; font-size: 6.35px;
  letter-spacing: 0;
  filter: drop-shadow(0 1px 2px rgba(40, 10, 40, 0.45));
}
.hc-sun {
  position: absolute; z-index: 1; width: 46%; aspect-ratio: 1; left: 27%; top: 12.5%; border-radius: 50%;
  background: linear-gradient(180deg, #ffe08a 0%, #ff8ad8 48%, #a46bff 100%);
  -webkit-mask: linear-gradient(180deg, #000 0 52%, transparent 52% 56%, #000 56% 63%, transparent 63% 68%, #000 68% 74%, transparent 74% 80%, #000 80% 85%, transparent 85% 92%, #000 92%);
  mask: linear-gradient(180deg, #000 0 52%, transparent 52% 56%, #000 56% 63%, transparent 63% 68%, #000 68% 74%, transparent 74% 80%, #000 80% 85%, transparent 85% 92%, #000 92%);
  filter: drop-shadow(0 0 28px rgba(255, 120, 210, 0.75));
  animation: hcPulse 5s ease-in-out infinite;
}
@keyframes hcPulse { 50% { filter: drop-shadow(0 0 44px rgba(255, 150, 220, 0.95)); transform: scale(1.025); } }
.hc-ring {
  position: absolute; z-index: 1; width: 54%; aspect-ratio: 1; left: 23%; top: 8.5%; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.03);
  animation: spin 40s linear infinite;
}
.hc-ring::before { content: none; }
.hc-grid {
  position: absolute; z-index: 1; left: -20%; right: -20%; bottom: 0; height: 34%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 9%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 16%);
  transform: perspective(220px) rotateX(58deg); transform-origin: bottom;
  -webkit-mask: linear-gradient(0deg, #000 10%, transparent); mask: linear-gradient(0deg, #000 10%, transparent);
  animation: hcGrid 3.2s linear infinite;
}
@keyframes hcGrid { to { background-position: 0 0, 0 16%; } }

.hc-top {
  position: absolute; z-index: 5; left: auto; right: 1.8%; top: 1.6%;
  color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.hc-name {
  position: absolute; z-index: 4; left: 8%; right: 8%; top: 56%; text-align: center;
  font: 800 clamp(16px, 2.5vw, 26px)/0.9 var(--f-display); letter-spacing: -0.03em; color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.hc-top b { font: 800 clamp(15px, 2.3vw, 24px)/0.92 var(--f-display); letter-spacing: -0.02em; }
.hc-top span { font: 700 9px var(--f-text); letter-spacing: 0.18em; padding: 3px 7px; border-radius: 99px; background: rgba(0, 0, 0, 0.32); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.hc-wave { position: absolute; z-index: 3; left: 7%; right: 7%; bottom: 15%; height: 13%; display: flex; align-items: flex-end; gap: 2.4%; }
.hc-wave i {
  flex: 1; height: var(--h); border-radius: 3px; background: linear-gradient(0deg, rgba(255, 255, 255, 0.55), #fff);
  box-shadow: 0 0 10px rgba(255, 210, 250, 0.6); transform-origin: bottom; animation: hcBar 1.5s ease-in-out infinite; animation-delay: var(--d);
}
@keyframes hcBar { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }

.hc-foot {
  position: absolute; z-index: 3; left: 7%; right: 7%; bottom: 6.5%; display: flex; justify-content: space-between; gap: 10px;
  font: 700 11px var(--f-text); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82);
}
.hc-grain {
  position: absolute; inset: 0; z-index: 5; opacity: 0.22; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%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");
}
.marquee { position: relative; overflow: hidden; margin-top: 34px; }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; will-change: transform; }
.marquee-set { display: flex; gap: 10px; padding-right: 10px; flex: none; }
.marquee-track span {
  padding: 9px 16px; border-radius: 99px; background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line); font-weight: 700; font-size: 13.5px; color: var(--muted); white-space: nowrap;
}
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
#tg-widget { min-height: 44px; }

.land { max-width: 1150px; margin: 0 auto; display: flex; flex-direction: column; }
.land-head h2, .vf-band h2, .land-cta h2 { font: 800 clamp(30px, 4vw, 52px)/1.02 var(--f-display); letter-spacing: -0.04em; margin: 8px 0 0; }
.slide-lead, .land-cta p { margin: 14px 0 0; max-width: 640px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 220px; padding: 22px;
  border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line);
}
.price-card.is-hot { background: linear-gradient(160deg, rgba(124, 92, 255, 0.28), rgba(20, 16, 40, 0.72) 55%, rgba(255, 79, 216, 0.16)); border-color: rgba(167, 139, 250, 0.45); }
.price-card b { font: 700 22px/1.2 var(--f-display); margin-top: 8px; }
.price-card .pill { align-self: flex-start; }
.price-sum { font: 800 clamp(28px, 3vw, 36px)/1 var(--f-display); letter-spacing: -0.03em; }
.price-card p, .feat p, .vf-item p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.feat, .vf-item { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.feat svg, .vf-item svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: #d8ccff; }
.feat b, .vf-item b { display: block; margin-bottom: 4px; font-size: 16px; }
.vf-band { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center; }
.vf-band .btn { margin-top: 22px; }
.vf-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vf-item { background: rgba(8, 6, 16, 0.38); }
.win-line { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.win-line li {
  padding: 7px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; color: #efeaff;
  background: rgba(124, 92, 255, 0.16); border: 1px solid rgba(167, 139, 250, 0.35);
}
.land-cta { text-align: center; padding: 28px 12px; }
.land-cta p { margin-left: auto; margin-right: auto; }
.land-cta .btn { margin-top: 22px; }
.land .card { margin-top: 0; }
.land .steps-how { margin-top: 28px; }

.slide { scroll-snap-align: start; display: flex; align-items: center; padding: 28px 0; }
.slide-body {
  width: 100%; border-radius: 34px; border: 1px solid var(--line); padding: clamp(22px, 4vw, 46px);
  background: rgba(16, 13, 28, 0.55);
}
.slide-body--vf {
  border-color: rgba(167, 139, 250, 0.35);
  background: linear-gradient(125deg, rgba(62, 232, 255, 0.12), rgba(18, 14, 36, 0.82) 42%, rgba(255, 79, 216, 0.16));
}
.slide-body--cta { background: linear-gradient(160deg, rgba(124, 92, 255, 0.22), rgba(16, 12, 28, 0.72) 50%, rgba(255, 79, 216, 0.14)); }
.slide-nav {
  position: fixed; z-index: 8; left: 18px; top: 50%; transform: translateY(-50%);
  display: none; flex-direction: column; gap: 10px;
}
.slide-nav button {
  width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.28);
  transition: height 0.35s var(--ease), background 0.35s;
}
.slide-nav button.is-on { height: 26px; background: linear-gradient(180deg, #7c5cff, #ff4fd8); }

@media (min-width: 861px) {
  .login { scroll-snap-align: start; }
  .slide { min-height: 100dvh; padding: 36px 0; }
  .deck-ready .slide-nav { display: flex; }
}
@media (min-width: 861px) and (pointer: coarse) {
  html:has(.deck) { scroll-snap-type: y proximity; scroll-padding-top: 12px; }
}
@media (min-width: 861px) and (pointer: fine) {
  html:has(.deck) { scroll-snap-type: none; }
  .slide, .login { scroll-snap-align: none; }
}
.deck-ready .slide-body > * {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
}
.deck-ready .slide.is-in .slide-body > * { opacity: 1; transform: none; }
.deck-ready .slide.is-in .slide-body > *:nth-child(2) { transition-delay: 0.08s; }
.deck-ready .slide.is-in .slide-body > *:nth-child(3) { transition-delay: 0.16s; }

/* ── Главная ──────────────────────────────────────────────────────────── */

.hero {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(26px, 4vw, 46px);
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 30px; align-items: center;
  background: linear-gradient(130deg, rgba(124, 92, 255, 0.3), rgba(20, 16, 40, 0.65) 45%, rgba(255, 79, 216, 0.18));
  border: 1px solid var(--line-2);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 90% 120%, rgba(255, 181, 71, 0.25), transparent 60%);
}
.hero-title { font: 800 clamp(28px, 4vw, 48px)/1.02 var(--f-display); letter-spacing: -0.035em; margin: 12px 0 14px; }
.hero-art { position: relative; justify-self: center; width: min(280px, 100%); }
.hero-art .vinyl { width: 100%; }
.hero-art .note-float { position: absolute; font-size: 26px; animation: floatNote 5s ease-in-out infinite; filter: drop-shadow(0 6px 14px rgba(255, 79, 216, 0.6)); }
@keyframes floatNote { 50% { transform: translateY(-16px) rotate(10deg); } }
.stat { padding: 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; }
.stat-label { color: var(--muted); font-size: 12.5px; font-weight: 700; }
.stat-value { font: 700 30px/1.15 var(--f-display); margin-top: 8px; letter-spacing: -0.02em; }
.stat .eq { position: absolute; right: 16px; top: 18px; opacity: 0.7; }
.steps-how { counter-reset: how; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.how { position: relative; padding: 20px; border-radius: var(--r); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.how::before { counter-increment: how; content: "0" counter(how); font: 800 34px var(--f-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.9; }
.how b { display: block; margin: 8px 0 4px; font-size: 15px; }
.how p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* ── Список релизов ───────────────────────────────────────────────────── */

.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.rel-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; padding: 12px;
  background: var(--card); border: 1px solid var(--line); transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
  animation: pageIn 0.5s var(--ease) backwards;
}
.rel-card:hover { transform: translateY(-6px); border-color: rgba(167, 139, 250, 0.4); box-shadow: 0 30px 60px -24px rgba(124, 92, 255, 0.55); }
.rel-cover { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #251e47, #120f22); }
.rel-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.rel-card:hover .rel-cover img { transform: scale(1.06); }
.rel-cover .pill { position: absolute; left: 10px; top: 10px; backdrop-filter: blur(10px); background: rgba(10, 8, 20, 0.65); }
.rel-cover-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); }
.rel-cover-empty svg { width: 54px; height: 54px; }
.rel-body { padding: 14px 6px 4px; }
.rel-title { font: 700 16px/1.25 var(--f-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel-meta { color: var(--muted); font-size: 13px; margin-top: 4px; display: flex; gap: 8px; flex-wrap: wrap; }
.rel-progress { display: flex; gap: 4px; margin-top: 12px; }
.rel-progress i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); }
.rel-progress i.on { background: var(--grad); box-shadow: 0 0 10px rgba(255, 79, 216, 0.5); }
.rel-progress i.now { animation: pulseBar 1.4s ease-in-out infinite; }
@keyframes pulseBar { 50% { opacity: 0.4; } }

.list { display: flex; flex-direction: column; gap: 10px; }
.list-item {
  display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
  transition: border-color 0.25s, transform 0.25s var(--ease); animation: pageIn 0.45s var(--ease) backwards;
}
.list-item:hover { border-color: var(--line-2); }
.list-thumb { width: 58px; height: 58px; border-radius: 12px; overflow: hidden; flex: none; background: linear-gradient(135deg, #251e47, #120f22); display: grid; place-items: center; color: var(--dim); }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-main { flex: 1; min-width: 0; }
.list-title { font-weight: 800; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-sub { color: var(--muted); font-size: 13px; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 3px; align-items: center; }

.empty { text-align: center; padding: 60px 20px; border-radius: var(--r-xl); border: 1px dashed var(--line-2); background: rgba(255, 255, 255, 0.02); }
.empty .vinyl { width: 120px; margin: 0 auto 22px; animation-play-state: running; }
.empty h3 { font: 700 20px var(--f-display); margin: 0 0 8px; }
.empty p { color: var(--muted); margin: 0 auto 22px; max-width: 420px; }

/* ── Карточка релиза ──────────────────────────────────────────────────── */

.rel-hero { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(20px, 3.5vw, 36px); display: grid; grid-template-columns: 260px 1fr; gap: 70px; align-items: center; border: 1px solid var(--line-2); }
.rel-hero-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(50px) saturate(160%); opacity: 0.45; transform: scale(1.2); }
.rel-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 6, 13, 0.6), rgba(7, 6, 13, 0.85)); }
.rel-hero > *:not(.rel-hero-bg) { position: relative; }
.rel-hero .sleeve { max-width: 260px; }
.rel-hero-title { font: 800 clamp(26px, 3.6vw, 42px)/1.05 var(--f-display); letter-spacing: -0.03em; margin: 10px 0 6px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; }
.tl-step { position: relative; padding-top: 18px; font-size: 12.5px; font-weight: 700; color: var(--dim); }
.tl-step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.09); }
.tl-step.on { color: var(--text); }
.tl-step.on::before { background: var(--grad); box-shadow: 0 0 14px rgba(255, 79, 216, 0.5); }
.tl-step.now::before { animation: pulseBar 1.4s infinite; }
.tl-step small { display: block; font-weight: 600; color: var(--dim); margin-top: 2px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 0; }
.kv > div { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv > div:nth-child(odd) { color: var(--muted); padding-right: 16px; }
.kv > div:nth-child(even) { text-align: right; font-weight: 700; word-break: break-word; }
.kv > div:nth-last-child(-n + 2) { border-bottom: 0; }
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.link-tile {
  display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 14px; font-weight: 700; font-size: 14px;
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.25s var(--spring), background 0.2s;
}
.link-tile:hover { transform: translateY(-3px); background: rgba(124, 92, 255, 0.15); }
.link-tile i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); font-style: normal; font-size: 13px; font-weight: 800; color: #fff; flex: none; }
.events { display: flex; flex-direction: column; gap: 0; }
.event { display: flex; gap: 14px; padding: 10px 0; font-size: 13.5px; }
.event i { width: 10px; height: 10px; border-radius: 50%; background: var(--v); margin-top: 6px; flex: none; box-shadow: 0 0 12px var(--v); }
.event time { color: var(--dim); font-size: 12px; display: block; }

/* ── Мастер ───────────────────────────────────────────────────────────── */

.wz { max-width: 1060px; margin: 0 auto; animation: pageIn 0.5s var(--ease) backwards; }
.wz-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.wz-save { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--dim); white-space: nowrap; height: 30px; }
.wz-save i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.wz-save.is-saving i { background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: pulseDot 0.8s infinite; }
.wz-steps { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; margin-bottom: 18px; scroll-snap-type: x mandatory; }
.wz-steps::-webkit-scrollbar { display: none; }
.wz-step {
  display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px 0 7px; border-radius: 99px; white-space: nowrap;
  background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 13.5px; color: var(--dim);
  transition: color 0.25s, background 0.25s, box-shadow 0.25s; scroll-snap-align: start;
}
.wz-step b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; background: rgba(255, 255, 255, 0.06); transition: background 0.3s; }
.wz-step.is-done { color: var(--muted); }
.wz-step.is-done b { background: rgba(61, 255, 168, 0.16); color: var(--green); }
.wz-step.is-bad b { background: rgba(255, 92, 122, 0.18); color: var(--red); }
.wz-step.is-on { color: var(--text); background: rgba(124, 92, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.55), 0 0 30px -8px rgba(124, 92, 255, 0.7); }
.wz-step.is-on b { background: var(--grad); color: #fff; }
.wz-progress { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); margin: -8px 0 22px; overflow: hidden; }
.wz-progress i { display: block; height: 100%; background: var(--grad); box-shadow: 0 0 14px var(--pink); transition: width 0.6s var(--ease); }
.wz-stage { position: relative; }
.wz-pane { animation: paneIn 0.5s var(--ease) both; }
.wz-pane.from-left { animation-name: paneInL; }
@keyframes paneIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes paneInL { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.wz-bar {
  display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 0 0; border-top: 1px solid var(--line);
}
.wz-bar .price-hint { font-size: 13px; color: var(--muted); font-weight: 700; }
.wz-bar .price-hint b { color: var(--text); }

.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.type {
  position: relative; text-align: left; padding: 22px; border-radius: var(--r-lg); min-height: 250px; display: flex; flex-direction: column; gap: 10px;
  background: rgba(10, 8, 20, 0.55); border: 1px solid var(--line-2); transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.3s;
  transform-style: preserve-3d; overflow: hidden;
}
.type:hover { border-color: rgba(167, 139, 250, 0.5); }
.type-art { height: 86px; position: relative; margin-bottom: 4px; }
.type-art .vinyl { position: absolute; width: 82px; top: 0; transition: transform 0.6s var(--ease); }
.type-art .vinyl:nth-child(2) { left: 34px; opacity: 0.85; }
.type-art .vinyl:nth-child(3) { left: 68px; opacity: 0.7; }
.type:hover .type-art .vinyl, .type.is-on .type-art .vinyl { animation-play-state: running; }
.type:hover .type-art .vinyl:nth-child(2), .type.is-on .type-art .vinyl:nth-child(2) { transform: translateX(10px); }
.type:hover .type-art .vinyl:nth-child(3), .type.is-on .type-art .vinyl:nth-child(3) { transform: translateX(22px); }
.type-title { font: 700 22px/1.1 var(--f-display); }
.type p { margin: 0; color: var(--muted); font-size: 14px; }
.type .type-price { margin-top: auto; font: 700 15px var(--f-display); color: #d8ccff; }
.type .check {
  position: absolute; right: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; transform: scale(0); transition: transform 0.4s var(--spring);
}
.type .check svg { width: 16px; height: 16px; }
.type.is-on { border-color: transparent; background: linear-gradient(160deg, rgba(124, 92, 255, 0.26), rgba(10, 8, 20, 0.6)); box-shadow: var(--glow); }
.type.is-on .check { transform: scale(1); }
.type .glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.1), transparent 40%); opacity: 0; transition: opacity 0.3s; }
.type:hover .glare { opacity: 1; }

.cover-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: start; }
.drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px;
  min-height: 210px; padding: 26px; border-radius: var(--r); cursor: pointer; overflow: hidden;
  background: rgba(8, 6, 16, 0.45); border: 1px solid var(--line-2); transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.drop { border-color: transparent; }
.drop .dash {
  --dc: rgba(167, 139, 250, 0.5);
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    linear-gradient(90deg, var(--dc) 50%, transparent 0) repeat-x 0 0 / 16px 1.5px,
    linear-gradient(90deg, var(--dc) 50%, transparent 0) repeat-x 0 100% / 16px 1.5px,
    linear-gradient(0deg, var(--dc) 50%, transparent 0) repeat-y 0 0 / 1.5px 16px,
    linear-gradient(0deg, var(--dc) 50%, transparent 0) repeat-y 100% 0 / 1.5px 16px;
  animation: dash 0.8s linear infinite;
}
@keyframes dash { to { background-position: 16px 0, -16px 100%, 0 -16px, 100% 16px; } }
.drop:hover, .drop.is-over { background: rgba(124, 92, 255, 0.1); }
.drop.is-over { transform: scale(1.015); }
.drop.is-over .dash { --dc: var(--pink); }
.drop-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); position: relative; }
.drop-icon::before, .drop-icon::after { content: ""; position: absolute; inset: -8px; border-radius: 22px; border: 1px solid rgba(167, 139, 250, 0.35); animation: ring 2.4s ease-out infinite; }
.drop-icon::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(0.85); opacity: 1; } to { transform: scale(1.45); opacity: 0; } }
.drop-icon svg { width: 26px; height: 26px; color: #e3dbff; }
.drop b { font-size: 15.5px; }
.drop small { color: var(--dim); font-size: 12.5px; }
.drop--sm { min-height: 120px; flex-direction: row; justify-content: flex-start; text-align: left; gap: 16px; padding: 18px 20px; }
.drop--sm .drop-icon { width: 48px; height: 48px; border-radius: 15px; flex: none; }
.file-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 14px 16px; border-radius: var(--r); background: rgba(8, 6, 16, 0.85); border: 1px solid var(--line-2); }
.file-row .file-main { flex: 1 1 140px; min-width: 0; }
.cover-wrap > .field { position: relative; z-index: 2; }
.file-row b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.file-row small { color: var(--dim); font-size: 12.5px; }
.upbar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-top: 8px; }
.upbar i { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px var(--pink); transition: width 0.2s; }
.checks { display: grid; gap: 8px; margin-top: 16px; }
.checks div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.checks div i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; background: rgba(255, 255, 255, 0.06); }
.checks div.ok { color: var(--text); }
.checks div.ok i { background: rgba(61, 255, 168, 0.16); color: var(--green); }
.checks div.bad { color: #ffc2cd; }
.checks div.bad i { background: rgba(255, 92, 122, 0.18); color: var(--red); }

.track { border-radius: var(--r-lg); background: rgba(8, 6, 16, 0.45); border: 1px solid var(--line-2); overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; animation: pageIn 0.45s var(--ease) backwards; }
.track + .track { margin-top: 14px; }
.track.is-open { border-color: rgba(167, 139, 250, 0.35); box-shadow: 0 20px 50px -30px rgba(124, 92, 255, 0.7); }
.track.has-error { border-color: rgba(255, 92, 122, 0.45); }
.track-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; user-select: none; }
.track-num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 700 15px var(--f-display); background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); flex: none; }
.track.is-playing .track-num { background: var(--grad); }
.track-title { flex: 1; min-width: 0; }
.track-title b { display: block; font: 700 15.5px var(--f-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-title small { color: var(--dim); font-size: 12.5px; }
.track-chev { width: 20px; height: 20px; color: var(--dim); transition: transform 0.3s var(--ease); flex: none; }
.track.is-open .track-chev { transform: rotate(180deg); }
.track-body { display: none; padding: 4px 18px 20px; }
.track.is-open .track-body { display: block; animation: pageIn 0.35s var(--ease); }
.sub-card { padding: 18px; border-radius: var(--r); background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); }
.section-label { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin: 22px 0 12px; }
.section-label:first-child { margin-top: 6px; }
.lyrics-hints { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }

.player { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r); background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--line); }
.play {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; background: var(--grad);
  box-shadow: 0 8px 24px -8px rgba(255, 79, 216, 0.8); transition: transform 0.2s var(--spring);
}
.play:active { transform: scale(0.9); }
.play svg { width: 18px; height: 18px; }
.wave { flex: 1; height: 46px; display: flex; align-items: center; gap: 2px; cursor: pointer; min-width: 0; position: relative; touch-action: none; overflow: hidden; }
.wave i { flex: 1; min-width: 1px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); transition: background 0.15s; }
.wave i.on { background: linear-gradient(180deg, var(--pink), var(--v)); }
.wave-time { font-size: 12px; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; min-width: 84px; text-align: right; }

.picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; max-height: 360px; overflow: auto; padding: 2px; }
.pick {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; font-size: 13.5px; font-weight: 700; text-align: left;
  background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); transition: all 0.2s;
}
.pick i { width: 18px; height: 18px; border-radius: 6px; flex: none; box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; }
.pick.is-on { color: var(--text); background: rgba(124, 92, 255, 0.18); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.5); }
.pick.is-on i { background: var(--grad); box-shadow: none; }
.pick.is-on i::after { content: "✓"; font-size: 11px; color: #fff; font-style: normal; }
.pick-tools { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.pick-tools .input { min-height: 42px; padding: 9px 14px; flex: 1; min-width: 180px; }

.review-hero { display: grid; grid-template-columns: 220px 1fr; gap: 60px; align-items: center; padding: 22px; border-radius: var(--r-lg); background: linear-gradient(130deg, rgba(124, 92, 255, 0.2), rgba(10, 8, 20, 0.4)); border: 1px solid var(--line-2); position: relative; overflow: hidden; }
.review-hero .sleeve { max-width: 220px; }
.review-title { font: 800 clamp(24px, 3.2vw, 36px)/1.05 var(--f-display); letter-spacing: -0.03em; margin: 6px 0 4px; }
.check-list { display: grid; gap: 8px; }

.hold {
  position: relative; overflow: hidden; height: 58px; padding: 0 28px; border-radius: 18px; font-weight: 800; font-size: 15.5px; color: #fff;
  background: rgba(124, 92, 255, 0.25); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.5), 0 14px 40px -14px rgba(255, 79, 216, 0.8);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; user-select: none; -webkit-user-select: none; touch-action: none;
}
.hold .hold-fill { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.hold span { position: relative; display: inline-flex; align-items: center; gap: 10px; }
.hold small { opacity: 0.8; font-weight: 700; }
.hold.is-holding { transform: scale(0.98); }

/* ── Аналитика ────────────────────────────────────────────────────────── */

.chart { position: relative; height: 220px; margin-top: 10px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .area { fill: url(#areaGrad); }
.chart .line { fill: none; stroke: url(#lineGrad); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: draw 1.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: minmax(90px, 160px) 1fr auto; gap: 12px; align-items: center; font-size: 13.5px; }
.bar-row b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-row span { color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.bar-track { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bar-track i { display: block; height: 100%; border-radius: 10px; background: var(--grad); width: 0; transition: width 1.1s var(--ease); }
.top-track { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.top-track:last-child { border-bottom: 0; }
.top-track .n { font: 700 18px var(--f-display); width: 30px; color: var(--dim); }
.top-track:nth-child(1) .n, .top-track:nth-child(2) .n, .top-track:nth-child(3) .n { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Слои: шторки, модалки, тосты ─────────────────────────────────────── */

.overlay { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(4, 3, 9, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadeIn 0.25s both; }
.overlay.is-closing { animation: fadeOut 0.2s both; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
.sheet {
  width: min(560px, 100%); max-height: min(80dvh, 720px); display: flex; flex-direction: column; border-radius: var(--r-xl);
  background: linear-gradient(180deg, #17132a, #0f0c1c); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
  animation: sheetIn 0.4s var(--spring) both; overflow: hidden;
}
.sheet--wide { width: min(820px, 100%); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(30px) scale(0.96); } }
.overlay.is-closing .sheet { animation: sheetOut 0.2s both; }
@keyframes sheetOut { to { opacity: 0; transform: translateY(20px) scale(0.97); } }
.sheet-grab { display: none; }
.sheet-head { display: flex; align-items: center; gap: 12px; padding: 20px 22px 12px; }
.sheet-head .h3 { flex: 1; font-size: 18px; }
.sheet-search { padding: 0 22px 12px; }
.sheet-search .input { min-height: 46px; }
.sheet-body { overflow: auto; padding: 0 14px 14px; overscroll-behavior: contain; }
.sheet-foot { padding: 14px 22px calc(16px + var(--safe-b)); border-top: 1px solid var(--line); display: flex; gap: 10px; }
.opt { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: 13px; text-align: left; font-weight: 600; transition: background 0.15s; }
.opt:hover { background: rgba(255, 255, 255, 0.05); }
.opt.is-on { background: rgba(124, 92, 255, 0.18); color: #fff; }
.opt small { margin-left: auto; color: var(--dim); font-size: 12px; font-weight: 700; }
.opt .tick { width: 20px; height: 20px; color: var(--v2); opacity: 0; flex: none; }
.opt.is-on .tick { opacity: 1; }
.opt-group { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); padding: 14px 12px 6px; }

.toasts { position: fixed; z-index: 120; top: calc(16px + var(--safe-t)); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; width: min(440px, calc(100% - 24px)); pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 16px; font-weight: 700; font-size: 14px;
  background: rgba(23, 19, 42, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line-2);
  animation: toastIn 0.45s var(--spring) both; pointer-events: auto;
}
.toast.is-out { animation: toastOut 0.3s both; }
.toast i { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; font-style: normal; font-size: 13px; }
.toast--ok i { background: rgba(61, 255, 168, 0.18); color: var(--green); }
.toast--bad i { background: rgba(255, 92, 122, 0.18); color: var(--red); }
.toast--info i { background: rgba(124, 92, 255, 0.22); color: var(--v2); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-20px) scale(0.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-14px) scale(0.95); } }

.success {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; text-align: center; padding: 24px;
  background: radial-gradient(circle at 50% 40%, rgba(124, 92, 255, 0.35), rgba(4, 3, 9, 0.92) 60%); animation: fadeIn 0.4s both;
}
.success-inner { max-width: 440px; animation: sheetIn 0.6s var(--spring) both; }
.success .vinyl { width: 180px; margin: 0 auto 26px; animation-play-state: running; animation-duration: 1.6s; }
.success h2 { font: 800 30px/1.1 var(--f-display); margin: 0 0 10px; letter-spacing: -0.03em; }
.success p { color: var(--muted); margin: 0 0 26px; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 110; }

.skeleton { border-radius: var(--r); background: linear-gradient(100deg, rgba(255, 255, 255, 0.04) 30%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.04) 70%); background-size: 300% 100%; animation: skel 1.4s ease infinite; }
@keyframes skel { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ==========================================================================
   Планшет
   ========================================================================== */

/* ── Поддержка ────────────────────────────────────────────────────────── */

.nav-link .count--hot { background: var(--grad); box-shadow: 0 0 14px -2px rgba(255, 79, 216, 0.9); animation: pop 0.3s var(--spring); }
.opt small.opt-hot { color: #ffd1f4; }
.tab-dot { position: absolute; top: 6px; right: calc(50% - 18px); width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 2px rgba(18, 15, 33, 0.9), 0 0 12px var(--pink); }

.sup-page { max-width: 1180px; }
.sup { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; height: calc(100dvh - 34px - 48px); min-height: 560px; }
.sup-chat { display: flex; flex-direction: column; min-height: 0; padding: 0; overflow: hidden; }
.sup-chat.is-drop::after {
  content: "Отпустите, чтобы прикрепить"; position: absolute; inset: 10px; z-index: 5; border-radius: 20px; display: grid; place-items: center;
  font: 700 16px var(--f-display); color: #fff; background: rgba(124, 92, 255, 0.18); border: 2px dashed rgba(167, 139, 250, 0.7);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

.sup-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(124, 92, 255, 0.1), transparent); }
.sup-head-ava { position: relative; flex: none; }
.sup-head-ava .sup-ava { width: 44px; height: 44px; border-radius: 15px; }
.sup-online { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--card-solid), 0 0 12px var(--green); }
.sup-head-text { flex: 1; min-width: 0; }
.sup-head-text b { display: block; font: 700 16px/1.25 var(--f-display); }
.sup-head-text small { color: var(--muted); font-size: 12.5px; }

.sup-ava {
  width: 32px; height: 32px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, #2a2050, #120f22); box-shadow: inset 0 0 0 1px var(--line-2), 0 6px 20px -8px rgba(124, 92, 255, 0.9);
}
.sup-ava .eq { height: 14px; gap: 2px; }
.sup-ava .eq i { width: 3px; }
.sup-ava-gap { width: 32px; flex: none; }

.sup-notes { display: flex; flex-direction: column; gap: 8px; padding: 0 16px; }
.sup-notes:not(:empty) { padding-top: 12px; }
.sup-notes .note { align-items: center; }
.sup-notes .note span { flex: 1; }

.sup-feed { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 18px 8px; display: flex; flex-direction: column; gap: 3px; overscroll-behavior: contain; }
.sup-feed.is-empty { justify-content: center; }
.sup-day { display: flex; justify-content: center; margin: 14px 0 10px; position: sticky; top: 0; z-index: 2; }
.sup-day span { padding: 5px 12px; border-radius: 99px; font-size: 11.5px; font-weight: 700; color: var(--muted); background: rgba(19, 16, 31, 0.85); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.sup-msg { display: flex; align-items: flex-end; gap: 8px; max-width: 100%; }
.sup-msg.is-me { justify-content: flex-end; }
.sup-msg.has-tail { margin-bottom: 8px; }
.sup-msg.is-fresh .sup-bubble { animation: supIn 0.45s var(--spring); }
@keyframes supIn { from { opacity: 0; transform: translateY(10px) scale(0.96); } }
.sup-bubble { position: relative; max-width: min(560px, 78%); padding: 10px 14px 8px; border-radius: 20px; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.is-me .sup-bubble { color: #fff; background: linear-gradient(135deg, #6d4dff 0%, #b43df2 60%, #e840c6 100%); box-shadow: 0 10px 28px -14px rgba(255, 79, 216, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.is-me.has-tail .sup-bubble { border-bottom-right-radius: 6px; }
.is-them .sup-bubble { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.is-them.has-tail .sup-bubble { border-bottom-left-radius: 6px; }
.is-failed .sup-bubble { opacity: 0.75; box-shadow: inset 0 0 0 1.5px rgba(255, 92, 122, 0.7); }
.sup-author { font-size: 12px; font-weight: 800; margin-bottom: 3px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sup-text a { text-decoration: underline; text-underline-offset: 2px; }
.is-them .sup-text a { color: var(--v2); }
.sup-meta { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin-top: 3px; font-size: 11px; font-weight: 600; opacity: 0.65; }
.sup-tick svg { width: 15px; height: 15px; }
.sup-tick.is-read { color: #b9fff0; opacity: 1; }
.sup-sending { width: 11px; height: 11px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.8s linear infinite; }
.sup-retry { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 8px; font-size: 11.5px; font-weight: 800; color: #fff; background: rgba(255, 92, 122, 0.5); }
.sup-retry svg { width: 12px; height: 12px; }

.sup-rel { display: flex; align-items: center; gap: 10px; margin: 2px 0 8px; padding: 7px 10px 7px 7px; border-radius: 14px; background: rgba(0, 0, 0, 0.22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); transition: background 0.2s; }
a.sup-rel:hover { background: rgba(0, 0, 0, 0.32); }
.sup-rel-cover { width: 38px; height: 38px; border-radius: 9px; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--grad-soft); }
.sup-rel-cover img { width: 100%; height: 100%; object-fit: cover; }
.sup-rel-cover svg { width: 18px; height: 18px; }
.sup-rel-text { min-width: 0; }
.sup-rel-text b { display: block; font-size: 13px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sup-rel-text small { display: block; font-size: 11.5px; opacity: 0.75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.sup-files { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 6px; }
.sup-img { display: block; border-radius: 14px; overflow: hidden; max-width: 260px; background: rgba(0, 0, 0, 0.25); }
.sup-img img { display: block; width: 100%; max-height: 260px; object-fit: cover; transition: transform 0.3s var(--ease); }
.sup-img:hover img { transform: scale(1.03); }
.sup-file { display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; padding: 9px 12px; border-radius: 13px; background: rgba(0, 0, 0, 0.22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.sup-file > svg { width: 22px; height: 22px; flex: none; opacity: 0.9; }
.sup-file div { min-width: 0; }
.sup-file b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sup-file small { font-size: 11.5px; opacity: 0.7; }
.sup-file--audio { width: 300px; }
.sup-file--audio audio { display: block; width: 100%; height: 34px; margin-top: 6px; }

.sup-empty { text-align: center; padding: 20px 10px; max-width: 480px; margin: 0 auto; animation: pageIn 0.5s var(--ease); }
.sup-empty-art { position: relative; width: 120px; margin: 0 auto 22px; }
.sup-empty-art .vinyl { animation-play-state: running; }
.sup-empty-bubble {
  position: absolute; right: -18px; top: -10px; width: 52px; height: 52px; border-radius: 18px 18px 18px 6px; display: grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: 0 14px 30px -10px rgba(255, 79, 216, 0.9); animation: floatY 3.2s ease-in-out infinite;
}
.sup-empty-bubble svg { width: 26px; height: 26px; }
@keyframes floatY { 50% { transform: translateY(-7px) rotate(-4deg); } }
.sup-empty h3 { font: 700 22px var(--f-display); margin: 0 0 8px; }
.sup-empty p { color: var(--muted); margin: 0 auto 20px; font-size: 14.5px; }

.sup-topics { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.sup-topics--center { flex-direction: row; flex-wrap: wrap; justify-content: center; margin-top: 0; }
.sup-topic {
  padding: 10px 14px; border-radius: 13px; text-align: left; font-size: 13.5px; font-weight: 700; color: var(--text);
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2); transition: background 0.2s, box-shadow 0.2s, transform 0.2s var(--spring);
}
.sup-topic:hover { background: rgba(124, 92, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.55); }
.sup-topic:active { transform: scale(0.97); }

.sup-compose { padding: 10px 14px 14px; border-top: 1px solid var(--line); background: linear-gradient(0deg, rgba(10, 8, 20, 0.7), rgba(10, 8, 20, 0.3)); }
.sup-compose.is-off { opacity: 0.55; }
.sup-attach-row { display: none; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; }
.sup-attach-row.is-on { display: flex; }
.sup-chip {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 9px; max-width: 240px; padding: 6px 6px 6px 6px; border-radius: 14px; overflow: hidden;
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 12.5px; font-weight: 700; animation: pop 0.3s var(--spring);
}
.sup-chip.is-loading::before { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p, 0%); background: var(--grad); transition: width 0.2s; }
.sup-chip.is-bad { box-shadow: inset 0 0 0 1px rgba(255, 92, 122, 0.6); }
.sup-chip.is-bad small { color: var(--red); }
.sup-chip--rel { background: linear-gradient(120deg, rgba(124, 92, 255, 0.3), rgba(255, 79, 216, 0.18)); }
.sup-chip > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sup-chip small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.sup-chip-ico { width: 34px; height: 34px; border-radius: 10px; overflow: hidden; flex: none; display: grid; place-items: center; background: rgba(0, 0, 0, 0.3); }
.sup-chip-ico img { width: 100%; height: 100%; object-fit: cover; }
.sup-chip-ico svg { width: 17px; height: 17px; }
.sup-chip button { width: 24px; height: 24px; border-radius: 8px; flex: none; display: grid; place-items: center; color: var(--muted); }
.sup-chip button:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.sup-chip button svg { width: 14px; height: 14px; }

.sup-box {
  position: relative; display: flex; align-items: flex-end; gap: 4px; padding: 5px; border-radius: 20px;
  background: rgba(8, 6, 16, 0.65); border: 1px solid var(--line-2); transition: border-color 0.2s, box-shadow 0.25s;
}
.sup-box:focus-within { border-color: rgba(167, 139, 250, 0.75); box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.16), 0 0 30px -8px rgba(124, 92, 255, 0.6); }
.sup-tool { width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-items: center; color: var(--muted); transition: color 0.2s, background 0.2s; }
.sup-tool:hover:not([disabled]) { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.sup-tool svg { width: 21px; height: 21px; }
.sup-input {
  flex: 1; min-width: 0; min-height: 42px; max-height: 200px; padding: 10px 6px; border: 0; outline: 0; resize: none; background: none;
  color: var(--text); font: 500 15.5px/1.45 var(--f-text);
}
.sup-input::placeholder { color: var(--dim); }
.sup-count { position: absolute; right: 60px; top: -22px; font-size: 11px; font-weight: 700; color: var(--dim); }
.sup-count.is-bad { color: var(--red); }
.sup-send {
  width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: var(--grad); background-size: 160% 100%; box-shadow: 0 8px 22px -8px rgba(255, 79, 216, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.2s var(--spring), opacity 0.2s, filter 0.2s;
}
.sup-send svg { width: 19px; height: 19px; }
.sup-send:not([disabled]):hover { transform: scale(1.06) rotate(-6deg); }
.sup-send:not([disabled]):active { transform: scale(0.9); }
.sup-send[disabled] { opacity: 0.35; filter: grayscale(0.6); box-shadow: none; }

.sup-side { display: flex; flex-direction: column; gap: 14px; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.sup-side-card { padding: 20px; }
.sup-side-card + .sup-side-card { margin-top: 0; }
.sup-side-card .muted { font-size: 13.5px; margin: 10px 0 12px; }
.sup-steps { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: s; }
.sup-steps li { position: relative; padding-left: 40px; counter-increment: s; }
.sup-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center;
  font: 700 13px var(--f-display); background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.35);
}
.sup-steps b { display: block; font-size: 14px; }
.sup-steps span { font-size: 12.5px; color: var(--muted); }

@media (max-width: 1100px) {
  .sup { grid-template-columns: 1fr; }
  .sup-side { display: none; }
}
@media (max-width: 860px) {
  .sup-page { animation: none; }
  .sup { height: calc(100dvh - 74px - var(--safe-t) - var(--tab-h) - 30px - var(--safe-b)); min-height: 420px; }
  .sup-chat.card { padding: 0; border-radius: 24px; }
  .sup-head { padding: 12px 14px; }
  .sup-head-ava .sup-ava { width: 40px; height: 40px; border-radius: 13px; }
  .sup-head-text small { font-size: 12px; }
  .sup-feed { padding: 12px 10px 6px; }
  .sup-bubble { max-width: 84%; font-size: 15px; }
  .sup-ava, .sup-ava-gap { width: 28px; height: 28px; }
  .sup-img { max-width: 210px; }
  .sup-file--audio { width: 230px; }
  .sup-compose { padding: 8px 8px 10px; }
  .sup-tool { width: 40px; }
  .sup-input { font-size: 16px; }
  .sup-notes { padding: 0 10px; }
  .sup-notes:not(:empty) { padding-top: 10px; }
}

@media (max-width: 1100px) {
  .steps-how { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Телефон и планшет: верх браузера — фон сайта, низ прозрачный, строка адреса сжимается. */
@media (max-width: 1180px) {
  html {
    background-color: var(--bg);
    background-image: linear-gradient(var(--bg), var(--bg));
    background-repeat: no-repeat;
    background-size: 100% 50%;
    background-position: top center;
    background-attachment: fixed;
    min-height: calc(100dvh + 1px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
  }
  body {
    background-color: var(--bg);
    overflow-x: hidden;
    overflow-y: visible;
    position: static;
    overscroll-behavior-y: auto;
  }
}

/* ==========================================================================
   Телефон
   ========================================================================== */

@media (max-width: 860px) {
  body { font-size: 15px; }
  .app { display: block; }
  .side { display: none; }
  .main { padding: calc(74px + var(--safe-t)) 14px calc(var(--tab-h) + 30px + var(--safe-b)); }
  .app.is-guest .main { padding: calc(20px + var(--safe-t)) 16px 40px; }

  .topbar {
    display: flex; position: fixed; z-index: 30; top: 0; left: 0; right: 0; align-items: center; gap: 10px;
    padding: calc(10px + var(--safe-t)) 14px 10px; background: linear-gradient(180deg, rgba(7, 6, 13, 0.92), rgba(7, 6, 13, 0.55));
    backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--line);
    transition: transform 0.35s var(--ease);
  }
  .topbar .brand { padding: 0; gap: 10px; }
  .topbar .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .topbar .brand-name { font-size: 15px; }
  .topbar .brand-name span { display: none; }
  .bal-chip {
    margin-left: auto; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px 0 6px; border-radius: 99px; font: 700 14px var(--f-display);
    background: linear-gradient(120deg, rgba(124, 92, 255, 0.3), rgba(255, 79, 216, 0.18)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  }
  .bal-chip i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font-style: normal; font-size: 13px; }
  .topbar .avatar { width: 38px; height: 38px; }

  .tabbar {
    display: flex; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); height: var(--tab-h);
    align-items: center; justify-content: space-around; padding: 0 6px; border-radius: 26px;
    background: rgba(18, 15, 33, 0.82); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), inset 0 0 0 1px var(--line-2); transition: transform 0.4s var(--ease);
  }
  .tab { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; color: var(--dim); padding: 8px 0; transition: color 0.2s; }
  .tab svg { width: 23px; height: 23px; transition: transform 0.35s var(--spring); }
  .tab.is-active { color: var(--text); }
  .tab.is-active svg { transform: translateY(-2px) scale(1.08); color: #e3d9ff; filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.9)); }
  .tab.is-active::after { content: ""; position: absolute; bottom: 1px; width: 5px; height: 5px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
  .tab-fab { flex: none; width: 62px; height: 62px; margin-top: -30px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 14px 34px -8px rgba(255, 79, 216, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.3); position: relative; transition: transform 0.3s var(--spring); }
  .tab-fab svg { width: 28px; height: 28px; }
  .tab-fab::before { content: ""; position: absolute; inset: -6px; border-radius: 26px; border: 1.5px solid rgba(255, 79, 216, 0.5); animation: ring 2.4s ease-out infinite; }
  .tab-fab:active { transform: scale(0.9) rotate(90deg); }
  .app.in-wizard .tabbar { transform: translateY(140%); }
  .app.in-wizard .main { padding-bottom: calc(110px + var(--safe-b)); }

  .page-head { margin-bottom: 18px; }
  .h1 { font-size: 30px; }
  .card { padding: 18px; border-radius: 22px; }
  .card-head { margin-bottom: 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fields { grid-template-columns: 1fr; gap: 16px; }

  .login { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-height: auto; text-align: center; padding-top: 8px; }
  .login-copy { display: contents; }
  .login-lockup { order: 0; align-items: center; }
  .login-title { order: 1; }
  .login-text, .login .note { order: 2; }
  .login-actions { order: 3; }
  .login-art { order: 4; }
  .marquee { order: 5; width: 100%; }
  .login-art .sleeve { max-width: 250px; }
  .hc-top span { font-size: 8.5px; padding: 4px 7px; }
  .hc-foot { font-size: 8.5px; letter-spacing: 0.1em; }
  .login-text { margin: 0 auto; font-size: 15.5px; }
  .login-actions { margin: 24px auto 0; width: 100%; }
  .login-word { font-size: 34px; }
  .login-by { font-size: 11px; letter-spacing: 0.16em; }
  .login-title { font-size: 40px; }
  .price-grid, .feat-grid, .vf-band, .vf-list { grid-template-columns: 1fr; }
  .land { margin-top: 36px; }
  .price-card { min-height: 0; }
  .land-cta .btn, .vf-band .btn { width: 100%; }

  .hero { grid-template-columns: 1fr; padding: 24px 20px; border-radius: 28px; text-align: left; }
  .hero-art { display: none; }
  .hero .row-wrap .btn-lg { flex: 1 1 100%; }
  .hero-title { font-size: 30px; }
  .stat { padding: 16px; }
  .stat-value { font-size: 24px; }
  .steps-how { grid-template-columns: 1fr 1fr; gap: 10px; }
  .how { padding: 16px; }
  .how::before { font-size: 26px; }

  .rel-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .rel-card { padding: 8px; border-radius: 20px; }
  .rel-cover { border-radius: 14px; }
  .rel-body { padding: 10px 4px 2px; }
  .rel-title { font-size: 14px; }
  .rel-meta { font-size: 12px; }
  .rel-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 18px; border-radius: 28px; }
  .rel-hero .sleeve { max-width: 210px; }
  .rel-hero .row-wrap { justify-content: center; }
  .timeline { grid-template-columns: repeat(4, 1fr); text-align: left; width: 100%; }
  .tl-step { font-size: 11px; }
  .tl-step small { display: none; }
  .links-grid { grid-template-columns: 1fr 1fr; }

  .wz-head { margin-bottom: 12px; }
  .wz-head .h1 { font-size: 26px; }
  .wz-head .sub { display: none; }
  .wz-steps { margin: 0 -14px 12px; padding: 2px 14px 6px; }
  .wz-step { height: 40px; font-size: 13px; }
  .wz-step b { width: 27px; height: 27px; }
  .wz-progress { margin: -6px 0 16px; }
  .wz-bar {
    position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; margin: 0; padding: 12px 14px calc(12px + var(--safe-b));
    background: linear-gradient(180deg, rgba(10, 8, 20, 0.6), rgba(10, 8, 20, 0.96)); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--line-2);
  }
  .wz-bar .btn { height: 52px; border-radius: 16px; }
  .wz-bar .btn-primary, .wz-bar .hold { flex: 1; }
  .wz-bar .price-hint { display: none; }
  .wz-bar .hide-m { display: none; }

  .types { grid-template-columns: 1fr; gap: 12px; }
  .type { min-height: 0; padding: 18px; display: grid; grid-template-columns: 92px 1fr; grid-template-areas: "art title" "art text" "art price"; gap: 4px 16px; align-items: start; }
  .type-art { grid-area: art; height: 92px; width: 92px; margin: 0; }
  .type-art .vinyl { width: 70px; }
  .type-art .vinyl:nth-child(2) { left: 12px; top: 8px; }
  .type-art .vinyl:nth-child(3) { left: 24px; top: 16px; }
  .type .tag { justify-self: start; }
  .type-title { grid-area: title; font-size: 19px; }
  .type p { grid-area: text; font-size: 13.5px; }
  .type .type-price { grid-area: price; margin-top: 6px; font-size: 14px; }
  .type .type-top { display: none; }

  .cover-wrap { grid-template-columns: 1fr; gap: 18px; }
  .cover-wrap .sleeve { max-width: 250px; margin: 0 auto; }
  .drop { min-height: 170px; }
  .track-head { padding: 14px; flex-wrap: wrap; row-gap: 4px; gap: 4px 12px; }
  .track-title { flex-basis: calc(100% - 56px); }
  .track-head .track-title + .btn { margin-left: auto; }
  .wave { gap: 1px; }
  .track-body { padding: 4px 14px 16px; }
  .sub-card { padding: 14px; }
  .switches { gap: 14px; display: grid; grid-template-columns: 1fr 1fr; }
  .review-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 16px; }
  .review-hero .sleeve { max-width: 200px; }
  .review-hero .row-wrap { justify-content: center; }
  .wave-time { min-width: 0; font-size: 11px; }
  .player { gap: 10px; padding: 10px; }
  .play { width: 42px; height: 42px; }
  .picker-grid { grid-template-columns: 1fr 1fr; max-height: none; }
  .bar-row { grid-template-columns: 90px 1fr auto; font-size: 12.5px; }
  .chart { height: 170px; }
  .kv > div { font-size: 13.5px; }

  .overlay { padding: 0; place-items: end stretch; }
  .sheet { width: 100%; max-height: 88dvh; border-radius: 28px 28px 0 0; animation-name: sheetUp; border-bottom: 0; }
  .sheet--wide { width: 100%; }
  .overlay.is-closing .sheet { animation-name: sheetDown; }
  @keyframes sheetUp { from { transform: translateY(100%); } }
  @keyframes sheetDown { to { transform: translateY(100%); } }
  .sheet-grab { display: block; width: 44px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.2); margin: 10px auto 0; }
  .sheet-head { padding: 14px 18px 10px; }
  .sheet-search { padding: 0 18px 10px; }
  .sheet-body { padding: 0 10px 12px; }
  .opt { padding: 15px 12px; font-size: 15.5px; }
  .toasts { top: calc(70px + var(--safe-t)); }
}

@media (max-width: 380px) {
  .rel-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps-how { grid-template-columns: 1fr; }
}

@media (hover: none) {
  .rel-card:hover { transform: none; }
  .type:hover { border-color: var(--line-2); }
}

:root { --cx-a: #ff4fd8; --cx-b: #7c5cff; }
html.cx-on, html.cx-on body, html.cx-on body :where(a, button, label, summary, select, [role="button"], [role="tab"]) { cursor: none; }
html.cx-on :is(input, textarea, [contenteditable="true"]) { cursor: text; }
html.cx-on :is(input[type="range"], input[type="checkbox"], input[type="radio"], input[type="button"], input[type="submit"]) { cursor: none; }
.cx { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.cx canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cx-dot, .cx-halo, .cx-pulse { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; transition: opacity .2s ease; }
.cx.is-on .cx-dot, .cx.is-on .cx-halo, .cx-pulse { opacity: 1; }
.cx.is-out .cx-dot, .cx.is-out .cx-halo, .cx.is-text .cx-dot, .cx.is-text .cx-halo { opacity: 0; }
.cx-dot::before { content: ""; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(7, 6, 13, .5), 0 0 0 2.5px color-mix(in srgb, var(--cx-a) 70%, transparent), 0 0 10px 2px var(--cx-a), 0 0 24px 6px color-mix(in srgb, var(--cx-b) 40%, transparent); transition: scale .25s cubic-bezier(.2, .9, .3, 1.3); }
.cx-halo::before { content: ""; position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16) 0, rgba(255, 255, 255, .06) 60%, transparent 72%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85), 0 0 0 1px rgba(7, 6, 13, .45), 0 0 18px color-mix(in srgb, var(--cx-a) 45%, transparent); scale: .25; opacity: 0; transition: scale .35s cubic-bezier(.2, .9, .3, 1.2), opacity .25s ease; }
.cx.is-hot .cx-halo::before { scale: 1; opacity: 1; }
.cx.is-hot .cx-dot::before { scale: .55; }
.cx.is-down .cx-dot::before { scale: 1.5; transition-duration: .12s; }
.cx.is-down.is-hot .cx-halo::before { scale: .82; }
.cx-pulse::before { content: ""; position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--cx-a); opacity: 0; }
.cx-pulse.is-go::before { animation: cxPulse .55s ease-out; }
@keyframes cxPulse { from { opacity: .9; scale: .2; } to { opacity: 0; scale: 1.6; } }

@media (prefers-reduced-motion: reduce) {
  .cx-pulse.is-go::before { animation: none !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .vinyl { animation: none !important; }
  html:has(.deck) { scroll-snap-type: none; }
  .deck-ready .slide-body > * { opacity: 1; transform: none; }
}
