/* Inter — свободный аналог Söhne, который использует wavs.com.
   Переменный шрифт с кириллицей, лежит локально в public/fonts/inter. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter/inter-cyrillic-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter/inter-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Звучка — минималистичная тёмная тема
   Принципы: плоские поверхности, тонкие линии, много воздуха,
   монохром; цвет остаётся только у прогресса воспроизведения.
   ============================================================ */

:root {
  --bg: #0a0a0b;
  --bg-raised: #0f0f11;
  --surface: #121214;
  --surface-2: #171719;
  --surface-3: #1e1e21;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --line-3: rgba(255, 255, 255, 0.22);
  --text: #f4f4f5;
  --text-2: #a1a1a8;
  --text-3: #6e6e76;
  --accent: #ff453a;
  --ok: #32d74b;
  --warn: #ffd60a;
  --danger: #ff6961;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 14px;
  --container: 1200px;
  --player-h: 72px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.14s var(--ease), opacity 0.14s var(--ease);
}

a:hover {
  color: #fff;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

/* ---------- Каркас ---------- */

#root,
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app__main {
  flex: 1;
  padding-bottom: 40px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.page {
  padding: 40px 0 24px;
}

.page__head {
  margin-bottom: 28px;
}

.page__title {
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.page__lead {
  color: var(--text-2);
  max-width: 640px;
  font-size: 14.5px;
}

.eyebrow,
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.link-muted {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-2);
}

.link-muted:hover {
  color: #fff;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.accent {
  color: var(--accent);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), opacity 0.15s var(--ease);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn--primary {
  background: #f4f4f5;
  border-color: #f4f4f5;
  color: #0a0a0b;
  font-weight: 600;
}

.btn--primary:hover {
  background: #fff;
  border-color: #fff;
  color: #0a0a0b;
}

.btn--secondary {
  background: var(--surface-2);
  border-color: var(--line-2);
}

.btn--secondary:hover {
  background: var(--surface-3);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--text-2);
}

.btn--ghost:hover {
  color: #fff;
  border-color: var(--line-3);
}

.btn--danger {
  background: transparent;
  border-color: rgba(255, 105, 97, 0.35);
  color: var(--danger);
}

.btn--danger:hover {
  border-color: rgba(255, 105, 97, 0.6);
  color: #ff8e88;
}

.btn--sm {
  padding: 7px 13px;
  font-size: 12.5px;
}

.btn--xs {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: 12px 22px;
  font-size: 14.5px;
}

.btn--block {
  width: 100%;
}

.btn.is-active {
  border-color: var(--line-3);
  color: #fff;
}

/* ---------- Формы ---------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-2);
}

.field > span {
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--line-3);
  background: var(--surface-2);
}

.field textarea {
  resize: vertical;
  min-height: 88px;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%),
    linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 17px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.field--wide {
  grid-column: 1 / -1;
}

.field--inline {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.field--inline select,
.field--inline input {
  width: auto;
  min-width: 140px;
}

.field__hint {
  font-size: 11.5px;
  color: var(--text-3);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-error {
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 105, 97, 0.3);
  background: rgba(255, 105, 97, 0.08);
  color: #ffb3ae;
  font-size: 13px;
}

/* ---------- Чипы, бейджи, статусы ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text-2);
  font-size: 12.5px;
  white-space: nowrap;
  transition: background 0.14s var(--ease), border-color 0.14s var(--ease), color 0.14s var(--ease);
}

.chip:hover {
  color: #fff;
  border-color: var(--line-3);
}

.chip.is-active {
  background: #f4f4f5;
  border-color: #f4f4f5;
  color: #0a0a0b;
  font-weight: 500;
}

.chip.is-active .chip__count {
  color: rgba(10, 10, 11, 0.55);
}

.chip:disabled {
  opacity: 0.35;
  cursor: default;
}

.chip--sm {
  padding: 4px 9px;
  font-size: 12px;
}

.chip--preset {
  background: var(--surface);
}

.chip__count {
  font-size: 11px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(10, 10, 11, 0.6);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
}

.badge--accent {
  border-color: var(--line-3);
  color: #fff;
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 11.5px;
  color: var(--text-2);
  white-space: nowrap;
}

.status--ok {
  border-color: rgba(50, 215, 75, 0.3);
  color: #7ee787;
}

.status--wait {
  border-color: rgba(255, 214, 10, 0.28);
  color: #e3c14a;
}

.status--bad {
  border-color: rgba(255, 105, 97, 0.3);
  color: #ff9b94;
}

/* ---------- Шапка ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 56px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__image {
  display: block;
  height: 20px;
  width: auto;
}

.footer .logo__image {
  height: 22px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.header__link {
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 13.5px;
  transition: color 0.14s var(--ease), background 0.14s var(--ease);
}

.header__link:hover {
  color: #fff;
}

.header__link.is-active {
  color: #fff;
  background: var(--surface-2);
}

.header__search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-3);
  min-width: 220px;
  max-width: 300px;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.header__search:focus-within {
  background: var(--surface-2);
  color: var(--text-2);
}

.header__search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: var(--text);
}

.header__search input::placeholder {
  color: var(--text-3);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header__login {
  color: var(--text-2);
  font-size: 13.5px;
  padding: 6px 4px;
}

.header__login:hover {
  color: #fff;
}

.header__user {
  position: relative;
}

.header__avatar {
  display: inline-flex;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 50%;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--text);
  font-weight: 600;
  flex-shrink: 0;
  user-select: none;
}

.avatar--image {
  object-fit: cover;
  border-radius: 50%;
  background: var(--surface);
}

.avatar-editor {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.avatar-editor__actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
}

.avatar-editor .field__hint {
  max-width: 340px;
}

.header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text-2);
}

.sub-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  font-size: 12.5px;
  white-space: nowrap;
}

.sub-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  padding: 6px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: #151517;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  z-index: 60;
  animation: popIn 0.12s var(--ease);
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.dropdown__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 9px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.dropdown__name {
  font-size: 13px;
  font-weight: 500;
}

.dropdown__email {
  font-size: 11.5px;
  color: var(--text-3);
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown__item {
  display: block;
  width: 100%;
  padding: 8px 9px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-2);
  font-size: 13px;
  text-align: left;
}

.dropdown__item:hover {
  background: var(--surface-2);
  color: #fff;
}

.dropdown__item--danger {
  color: var(--danger);
}

.dropdown__item--danger:hover {
  background: rgba(255, 105, 97, 0.08);
  color: #ff8e88;
}

.header__mobile-links {
  display: none;
}

/* ---------- Футер ---------- */

.footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr;
  gap: 48px;
  padding: 48px 28px 36px;
}

.footer__text {
  margin-top: 14px;
  max-width: 340px;
  color: var(--text-2);
  font-size: 13.5px;
}

.footer__note {
  margin-top: 12px;
  max-width: 340px;
  color: var(--text-3);
  font-size: 12px;
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
}

.footer__column h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 2px;
}

.footer__column a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px 28px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-3);
}

.footer__bottom-links {
  display: flex;
  gap: 18px;
}

/* ---------- Главная: герой ---------- */

.hero {
  padding: 72px 0 56px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.hero__inner > * {
  min-width: 0;
}

.hero__title {
  margin: 16px 0 20px;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero__lead {
  max-width: 460px;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  margin: 44px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 460px;
}

.hero__stats dt {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.hero__stats dd {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-3);
}

.hero__panel {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-raised);
}

.hero__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-3);
}

.hero__feature {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
}

.hero__cover {
  position: relative;
  width: 104px;
  height: 104px;
  padding: 0;
  border: none;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__cover-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(10, 10, 11, 0.35);
  opacity: 0;
  transition: opacity 0.15s var(--ease);
}

.hero__cover:hover .hero__cover-play {
  opacity: 1;
}

.hero__feature-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.hero__feature-title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero__feature-sub {
  font-size: 12px;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero__panel-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.hero__panel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border: none;
  background: transparent;
  text-align: left;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
}

.hero__panel-row:last-child {
  border-bottom: none;
}

.hero__panel-row:hover {
  color: #fff;
}

.hero__panel-row img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  object-fit: cover;
}

.hero__panel-row-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.hero__panel-row-main strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero__panel-row-main span {
  font-size: 11.5px;
  color: var(--text-3);
}

.hero__panel-row svg {
  opacity: 0;
  transition: opacity 0.15s var(--ease);
}

.hero__panel-row:hover svg {
  opacity: 1;
}

.hero__panel-row.is-current .hero__panel-row-main strong {
  color: #fff;
}

.hero__panel-row.is-current::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero__panel-skeleton {
  height: 190px;
  margin-top: 18px;
  border-radius: var(--radius);
}

/* ---------- Секции ---------- */

.section {
  padding: 52px 0 0;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section__title {
  font-size: 21px;
  letter-spacing: -0.025em;
}

.section__lead {
  margin-top: 5px;
  font-size: 13.5px;
  color: var(--text-2);
}

/* ---------- Каталог ---------- */

.catalog {
  padding-top: 36px;
}

.catalog__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.catalog__title {
  font-size: clamp(26px, 2.8vw, 34px);
  letter-spacing: -0.03em;
}

.catalog__meta {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.catalog__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-toggle {
  display: inline-flex;
  padding: 2px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--surface);
}

.view-toggle__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-3);
  transition: background 0.14s var(--ease), color 0.14s var(--ease);
}

.view-toggle__item:hover {
  color: var(--text);
}

.view-toggle__item.is-active {
  background: var(--surface-3);
  color: #fff;
}

.select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.select__label {
  font-size: 12px;
  color: var(--text-3);
}

.select select {
  padding: 7px 30px 7px 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  font-size: 12.5px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%),
    linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 15px) calc(50% - 2px), calc(100% - 10px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  outline: none;
}

.catalog-tabs {
  display: flex;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.catalog-tabs::-webkit-scrollbar {
  display: none;
}

.catalog-tabs__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0 12px;
  border: none;
  background: transparent;
  color: var(--text-3);
  font-size: 13.5px;
  white-space: nowrap;
  transition: color 0.14s var(--ease);
}

.catalog-tabs__item:hover {
  color: var(--text);
}

.catalog-tabs__item.is-active {
  color: #fff;
}

.catalog-tabs__item.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #f4f4f5;
  border-radius: 2px;
}

.catalog-tabs__item:disabled {
  opacity: 0.35;
  cursor: default;
}

.catalog-tabs__count {
  font-size: 11px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.catalog-toolbar {
  position: sticky;
  top: 56px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 0;
  background: rgba(10, 10, 11, 0.9);
  backdrop-filter: blur(16px);
}

.search {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1 1 260px;
  max-width: 420px;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-3);
  transition: background 0.15s var(--ease);
}

.search:focus-within {
  background: var(--surface-2);
  color: var(--text-2);
}

.search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: var(--text);
}

.search input::placeholder {
  color: var(--text-3);
}

.search__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--text-2);
}

.control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text-2);
  font-size: 12.5px;
  transition: color 0.14s var(--ease), border-color 0.14s var(--ease), background 0.14s var(--ease);
}

.control:hover {
  color: #fff;
  border-color: var(--line-3);
}

.control.is-active {
  color: #fff;
  border-color: var(--line-3);
  background: var(--surface-2);
}

.control--ghost {
  border-color: transparent;
  color: var(--text-3);
}

.control__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #f4f4f5;
  color: #0a0a0b;
  font-size: 10.5px;
  font-weight: 600;
}

.control__chevron {
  transition: transform 0.16s var(--ease);
}

.control__chevron.is-open {
  transform: rotate(180deg);
}

/* Поповер фильтров */
.filter {
  position: relative;
}

.filter-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  width: min(560px, calc(100vw - 40px));
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: #151517;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: popIn 0.12s var(--ease);
}

.filter-panel__group {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.filter-panel__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.filter-panel__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.filter-panel__bpm {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-panel__bpm input,
.filter-panel__bpm select {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  outline: none;
}

.filter-panel__bpm span {
  color: var(--text-3);
  font-size: 12px;
}

.filter-panel__bpm input:focus,
.filter-panel__bpm select:focus {
  border-color: var(--line-3);
}

.filter-panel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.catalog-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 20px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 0 0 18px;
}

.active-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text-2);
  font-size: 12px;
}

.active-filter:hover {
  color: #fff;
  border-color: var(--line-3);
}

.active-filters__reset {
  border: none;
  background: transparent;
  color: var(--text-3);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.active-filters__reset:hover {
  color: var(--text);
}

/* ---------- Сетка и карточки звуков ---------- */

.tracks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(186px, 1fr));
  gap: 26px 18px;
}

.tracks--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tracks > * {
  min-width: 0;
}

.track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.track__cover {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.track__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.track__cover > a {
  display: block;
  width: 100%;
  height: 100%;
}

.track__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.18s var(--ease);
}

.track:hover .track__cover img {
  opacity: 0.92;
}

.track__play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #f4f4f5;
  color: #0a0a0b;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease), background 0.15s var(--ease);
}

.track:hover .track__play,
.track__play:focus-visible,
.track.is-current .track__play {
  opacity: 1;
  transform: none;
}

.track__play:hover {
  background: #fff;
}

.track__price {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.66);
  backdrop-filter: blur(6px);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.85);
}

.track__hover {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.15s var(--ease);
}

.track:hover .track__hover {
  opacity: 1;
}

.track__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(10, 10, 11, 0.66);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.14s var(--ease), background 0.14s var(--ease);
}

.track__icon:hover {
  color: #fff;
  background: rgba(10, 10, 11, 0.85);
}

.track__icon.is-active {
  color: #fff;
}

.track__icon.is-locked {
  color: rgba(255, 255, 255, 0.45);
}

.track.is-current .track__cover {
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.85);
}

.track__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.track__title {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track__meta {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  font-size: 12px;
  color: var(--text-3);
  overflow: hidden;
}

.track__author {
  color: var(--text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 45%;
  flex-shrink: 0;
}

.track__author:hover {
  color: #fff;
}

.track__dot {
  color: var(--text-3);
}

.track__data {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.track__featured {
  display: none;
}

.track--skeleton {
  pointer-events: none;
}

.track--skeleton .track__cover {
  aspect-ratio: 1 / 1;
}

.track--skeleton .track__body {
  gap: 6px;
}

/* ---------- Список звуков ---------- */

.rows {
  border-top: 1px solid var(--line);
}

.rows__head {
  display: grid;
  grid-template-columns: 40px 40px minmax(0, 1fr) 180px 200px 76px;
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.row {
  display: grid;
  grid-template-columns: 40px 40px minmax(0, 1fr) 180px 200px 76px;
  align-items: center;
  gap: 16px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  transition: background 0.14s var(--ease);
}

.row:hover {
  background: rgba(255, 255, 255, 0.025);
}

.row.is-current {
  background: rgba(255, 255, 255, 0.03);
}

.row__index {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 12px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.row__play {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: auto;
  border: none;
  border-radius: 50%;
  background: #f4f4f5;
  color: #0a0a0b;
  opacity: 0;
  transition: opacity 0.14s var(--ease);
}

.row:hover .row__play,
.row.is-current .row__play {
  opacity: 1;
}

.row:hover .row__index > span {
  opacity: 0;
}

.row__cover {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: var(--surface);
}

.row__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row__main {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.row__title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row__sub {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--text-3);
  overflow: hidden;
  white-space: nowrap;
}

.row__sub a {
  color: var(--text-2);
}

.row__sub a:hover {
  color: #fff;
}

.row__wave {
  min-width: 0;
}

.row__data {
  display: grid;
  grid-template-columns: 70px 80px 50px;
  gap: 8px;
  font-size: 12px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

.row__data span {
  white-space: nowrap;
}

.row__data small {
  margin-left: 3px;
  font-size: 9.5px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.row__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--text-3);
  transition: color 0.14s var(--ease), background 0.14s var(--ease);
}

.row__icon svg,
.track__icon svg {
  display: block;
}

.row__icon:hover {
  color: #fff;
  background: var(--surface-2);
}

.row__icon.is-active {
  color: #fff;
}

.row__icon.is-locked {
  color: var(--text-3);
}

/* ---------- Низ каталога и пагинация ---------- */

.catalog__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 8px;
}

.catalog__range {
  font-size: 12.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 2px;
}

.pagination__page,
.pagination__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: none;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--text-3);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  transition: background 0.14s var(--ease), color 0.14s var(--ease);
}

.pagination__page:hover,
.pagination__arrow:hover:not(:disabled) {
  background: var(--surface-2);
  color: #fff;
}

.pagination__page.is-active {
  color: #fff;
  background: var(--surface-3);
}

.pagination__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ---------- Пустые состояния ---------- */

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 72px 24px;
}

.empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--text-3);
  margin-bottom: 4px;
}

.empty__title {
  font-size: 17px;
  font-weight: 600;
}

.empty__text {
  max-width: 420px;
  font-size: 13.5px;
  color: var(--text-2);
}

.empty__action {
  margin-top: 8px;
}

/* ---------- Страница звука ---------- */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 12px;
  color: var(--text-3);
}

.breadcrumbs a:hover {
  color: var(--text);
}

.breadcrumbs__current {
  color: var(--text-2);
}

.sound-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.sound-detail--loading {
  grid-template-columns: 320px 1fr;
}

.sound-detail__cover {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.sound-detail__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sound-detail__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #f4f4f5;
  color: #0a0a0b;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}

.sound-detail__play:hover {
  background: #fff;
  transform: scale(1.03);
}

.sound-detail__wave {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-raised);
}

.sound-detail__wave-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.sound-detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.sound-detail__badges .badge {
  background: transparent;
}

.sound-detail__title {
  margin-bottom: 16px;
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.035em;
}

.sound-detail__author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.sound-detail__author:hover {
  border-color: var(--line-2);
}

.sound-detail__author span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.sound-detail__author strong {
  font-size: 13px;
  font-weight: 500;
}

.sound-detail__author small {
  font-size: 11.5px;
  color: var(--text-3);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 24px;
}

.spec-grid div,
.spec-table div {
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-raised);
}

.spec-grid dt,
.spec-table dt {
  margin-bottom: 3px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.spec-grid dd,
.spec-table dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.sound-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.sound-detail__description {
  margin: 20px 0;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--bg-raised);
}

.notice > svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--text-2);
}

.notice strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13.5px;
  font-weight: 500;
}

.notice p {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.5;
}

.notice p:last-child {
  margin-bottom: 0;
}

.notice--info > svg {
  color: var(--text-2);
}

.notice code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--surface-2);
  font-size: 12px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
}

.tag {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--text-3);
}

.tag:hover {
  color: var(--text);
  border-color: var(--line-2);
}

.license {
  margin-top: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}

.license summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 15px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  list-style: none;
}

.license summary::-webkit-details-marker {
  display: none;
}

.license summary:hover {
  color: var(--text);
}

.license__body {
  padding: 0 15px 15px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  font-size: 12.5px;
  color: var(--text-2);
}

.license__body ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px;
  padding-left: 16px;
  list-style: disc;
}

.sound-specs {
  margin-top: 52px;
}

.spec-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.author-card__info {
  flex: 1;
  min-width: 220px;
}

.author-card__info h3 {
  margin-bottom: 3px;
  font-size: 16px;
}

.author-card__info p {
  font-size: 13px;
  color: var(--text-2);
  max-width: 560px;
}

.author-card__city {
  font-size: 11.5px;
  color: var(--text-3);
}

.disclaimer {
  max-width: 700px;
  margin-top: 32px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
}

.disclaimer a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.waveform {
  display: block;
  width: 100%;
}

.waveform--interactive {
  cursor: pointer;
}

/* ---------- Автор ---------- */

.author-profile {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.author-profile__info {
  flex: 1;
  min-width: 240px;
}

.author-profile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-3);
}

.author-profile__meta span {
  white-space: nowrap;
}

.author-profile__stats {
  display: flex;
  gap: 32px;
  margin: 0;
}

.author-profile__stats div {
  display: flex;
  flex-direction: column;
}

.author-profile__stats dt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.author-profile__stats dd {
  margin: 2px 0 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---------- Тарифы ---------- */

.pricing__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  margin-bottom: 40px;
}

.pricing__head .page__lead {
  max-width: 560px;
  text-align: center;
}

.pricing__head .notice {
  max-width: 620px;
  text-align: left;
}

.sub-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  text-align: left;
}

.sub-banner > svg {
  color: var(--text-2);
}

.sub-banner div {
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
  color: var(--text-2);
}

.sub-banner strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plans--teaser {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-raised);
}

.plan--featured {
  border-color: var(--line-3);
}

.plan--info {
  gap: 10px;
  background: transparent;
  border-style: dashed;
  color: var(--text-2);
}

.plan--info > svg {
  color: var(--text-3);
}

.plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.plan__title {
  font-size: 17px;
  font-weight: 600;
}

.plan__badge {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 10.5px;
  color: var(--text-2);
}

.plan__tagline {
  min-height: 36px;
  font-size: 12.5px;
  color: var(--text-3);
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.plan__price span {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-3);
}

.plan__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  margin: 4px 0 8px;
  font-size: 12.5px;
  color: var(--text-2);
}

.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan__features svg {
  flex-shrink: 0;
  margin-top: 2.5px;
  color: var(--text-3);
}

.plan__text {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.55;
}

.pricing__hint {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
}

.pricing__hint a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq {
  display: grid;
  gap: 0;
  max-width: 760px;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
  color: var(--text);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  color: var(--text-3);
  font-size: 17px;
  line-height: 1;
}

.faq__item[open] summary::after {
  content: '−';
}

.faq__item p {
  max-width: 640px;
  padding: 0 0 16px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ---------- Блок авторам / панели ---------- */

.panel-block {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-raised);
}

.panel-block__title {
  margin: 12px 0 10px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.panel-block__text {
  max-width: 520px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
}

.panel-block__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 20px;
  margin: 22px 0 24px;
  font-size: 12.5px;
  color: var(--text-2);
}

.panel-block__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.panel-block__list svg {
  flex-shrink: 0;
  margin-top: 2.5px;
  color: var(--text-3);
}

.panel-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel-block__stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.panel-block__stats dt {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.panel-block__stats dd {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-3);
  max-width: 200px;
}

/* Старые имена блоков авторам/шагов оставлены совместимыми */
.author-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-raised);
}

.author-band--compact {
  grid-template-columns: minmax(0, 1fr);
}

.author-band__title {
  margin: 12px 0 10px;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.author-band__text {
  max-width: 560px;
  font-size: 13.5px;
  color: var(--text-2);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.step__index {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.step__title {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
}

.step__text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ---------- Авторизация ---------- */

.auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 56px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 64px 28px;
}

.auth__panel {
  width: 100%;
  max-width: 400px;
  justify-self: center;
}

.auth__brand {
  margin-bottom: 28px;
}

.auth__title {
  margin-bottom: 8px;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.auth__lead {
  margin-bottom: 26px;
  font-size: 13.5px;
  color: var(--text-2);
}

.auth__form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.auth__switch {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-2);
}

.auth__switch a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth__legal {
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--text-3);
  line-height: 1.6;
}

.auth__legal a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth__demo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.auth__demo-title {
  margin-bottom: 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.auth__demo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: transparent;
  font-size: 12.5px;
  color: var(--text-2);
  text-align: left;
}

.auth__demo-row:hover {
  border-color: var(--line-2);
  color: #fff;
}

.auth__demo-row code {
  font-size: 11px;
  color: var(--text-3);
}

.auth__aside {
  display: flex;
  align-items: center;
}

.auth__aside-inner {
  width: 100%;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-raised);
}

.auth__aside-inner h2 {
  margin: 12px 0 20px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.auth__aside-inner ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13px;
  color: var(--text-2);
}

.auth__aside-inner li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.auth__aside-inner li svg {
  flex-shrink: 0;
  margin-top: 2.5px;
  color: var(--text-3);
}

.auth__aside-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--text-3);
}

/* ---------- Касса ---------- */

.checkout {
  display: flex;
  justify-content: center;
}

.checkout__card {
  width: 100%;
  max-width: 520px;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-raised);
}

.checkout__title {
  margin: 12px 0 8px;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.checkout__lead {
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

.checkout__summary {
  margin-bottom: 22px;
  border-top: 1px solid var(--line);
}

.checkout__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-2);
}

.checkout__row strong {
  font-weight: 500;
  color: var(--text);
  text-align: right;
}

.checkout__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout__note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--text-3);
}

.checkout__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 520px;
  padding: 48px 20px;
  text-align: center;
}

.checkout__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--text);
}

.checkout__success h1 {
  font-size: 26px;
  letter-spacing: -0.03em;
}

.checkout__success p {
  max-width: 440px;
  font-size: 13.5px;
  color: var(--text-2);
}

.checkout__success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 6px;
}

/* ---------- Загрузка ---------- */

.upload__head {
  margin-bottom: 30px;
}

.upload__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.upload__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line-2);
  color: var(--text-2);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.dropzone:hover,
.dropzone.is-dragging {
  border-color: var(--line-3);
  background: var(--bg-raised);
}

.dropzone svg {
  color: var(--text-2);
}

.dropzone strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.dropzone span {
  font-size: 12px;
  color: var(--text-3);
}

.dropzone.has-file {
  border-style: solid;
  border-color: var(--line-2);
  background: var(--bg-raised);
}

.upload__aside {
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.upload__tips {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.upload__tips h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13.5px;
  font-weight: 500;
}

.upload__tips h3 svg {
  color: var(--text-3);
}

.upload__tips ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-2);
}

.upload__tips li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.upload__tips li svg {
  flex-shrink: 0;
  margin-top: 2.5px;
  color: var(--text-3);
}

.upload__legal {
  font-size: 11.5px;
  color: var(--text-3);
}

.upload__legal a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.upload__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 0;
  text-align: center;
}

.upload__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
}

.upload__success h1 {
  font-size: 26px;
  letter-spacing: -0.03em;
}

.upload__success p {
  font-size: 13.5px;
  color: var(--text-2);
}

.upload__preview {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-align: left;
}

.upload__preview img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xs);
  object-fit: cover;
}

.upload__preview div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
  color: var(--text-3);
}

.upload__preview strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.progress {
  position: relative;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  background: rgba(255, 255, 255, 0.16);
  transition: width 0.2s var(--ease);
}

.progress__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text);
}

/* ---------- Кабинет ---------- */

.dashboard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.dashboard__user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dashboard__user .page__title {
  margin-bottom: 3px;
}

.tabs {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
  width: 100%;
  max-width: 100%;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs__item {
  padding: 10px 14px 12px;
  border: none;
  background: transparent;
  color: var(--text-3);
  font-size: 13px;
  white-space: nowrap;
  position: relative;
}

.tabs__item:hover {
  color: var(--text);
}

.tabs__item.is-active {
  color: #fff;
}

.tabs__item.is-active::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: #f4f4f5;
}

.tabs--small {
  width: auto;
  border-bottom: none;
}

.tabs--small .tabs__item {
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12.5px;
}

.tabs--small .tabs__item.is-active {
  background: var(--surface-3);
}

.tabs--small .tabs__item.is-active::after {
  display: none;
}

.tab-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 22px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.stats-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.stat--accent {
  border-color: var(--line-2);
}

.stat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.stat__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.stat__icon {
  color: var(--text-3);
}

.stat__value {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.stat__hint {
  font-size: 11.5px;
  color: var(--text-3);
}

.dashboard__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel__title {
  font-size: 15px;
  font-weight: 600;
}

.panel__hint {
  font-size: 11.5px;
  color: var(--text-3);
}

.panel__link {
  font-size: 12px;
  color: var(--text-2);
}

.panel__link:hover {
  color: #fff;
}

.panel__empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-3);
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 140px;
  padding-top: 8px;
}

.chart__column {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  height: 100%;
}

.chart__bar {
  width: 100%;
  max-width: 22px;
  min-height: 3px;
  border-radius: 3px 3px 0 0;
  background: rgba(255, 255, 255, 0.32);
}

.chart__label {
  font-size: 9.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.mini-list {
  display: flex;
  flex-direction: column;
}

.mini-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.mini-list li:last-child {
  border-bottom: none;
}

.mini-list img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  object-fit: cover;
}

.mini-list li > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 12.5px;
}

.mini-list li > div span {
  font-size: 11.5px;
  color: var(--text-3);
}

.mini-list__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line-2);
  font-size: 12px;
  color: var(--text-2);
  flex-shrink: 0;
}

.mini-list__right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.mini-list__right small {
  font-size: 11px;
  color: var(--text-3);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.toolbar__search {
  max-width: 300px;
  min-width: 200px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  outline: none;
}

.toolbar__search:focus {
  border-color: var(--line-3);
}

.toolbar__hint {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--text-3);
}

/* ---------- Таблицы ---------- */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 12.5px;
}

.table th {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: left;
  white-space: nowrap;
}

.table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  vertical-align: middle;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.table a {
  color: var(--text);
}

.table__sound {
  display: flex;
  align-items: center;
  gap: 11px;
}

.table__sound img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  object-fit: cover;
}

.table__sound div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.table__sound span {
  font-size: 11px;
  color: var(--text-3);
}

.table__actions {
  display: flex;
  gap: 6px;
}

/* ---------- Модерация ---------- */

.moderation-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.moderation-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 200px;
  gap: 18px;
  align-items: start;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.moderation-item__cover {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.moderation-item__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.moderation-item__title {
  font-size: 14.5px;
  font-weight: 500;
}

.moderation-item__author {
  font-size: 11.5px;
  color: var(--text-3);
}

.moderation-item__desc {
  max-width: 560px;
  font-size: 12.5px;
  color: var(--text-2);
}

.moderation-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  color: var(--text-3);
}

.moderation-item__meta span {
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.moderation-item__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.moderation-item__input {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  font-size: 12.5px;
  outline: none;
}

/* ---------- Правовые страницы ---------- */

.legal {
  max-width: 820px;
}

.legal__head {
  margin-bottom: 26px;
}

.legal__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.legal__nav a {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 12px;
  color: var(--text-2);
}

.legal__nav a:hover {
  color: #fff;
  border-color: var(--line-3);
}

.legal__section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 76px;
}

.legal__section h2 {
  margin-bottom: 12px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.legal__section h3 {
  margin: 18px 0 7px;
  font-size: 14px;
  font-weight: 600;
}

.legal__section p,
.legal__section li {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

.legal__section ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 9px 0;
  padding-left: 18px;
  list-style: disc;
}

.legal__note {
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-size: 12.5px;
}

.legal__back {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-2);
}

/* ---------- Плеер ---------- */

.player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.9);
  backdrop-filter: blur(20px) saturate(140%);
  border-top: 1px solid var(--line-2);
}

.player__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: var(--container);
  min-height: var(--player-h);
  margin: 0 auto;
  padding: 10px 28px;
}

.player__track {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 230px;
  min-width: 0;
  flex-shrink: 0;
}

.player__cover {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
}

.player__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.player__title {
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player__author {
  font-size: 11.5px;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player__controls {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.player__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--text-2);
  transition: color 0.14s var(--ease), background 0.14s var(--ease);
}

.player__btn:hover {
  color: #fff;
  background: var(--surface-2);
}

.player__btn.is-active {
  color: #fff;
}

.player__btn--main {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin: 0 4px;
  background: #f4f4f5;
  color: #0a0a0b;
}

.player__btn--main:hover {
  background: #fff;
  color: #0a0a0b;
}

.player__wave {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  min-width: 120px;
}

.player__time {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.player__meta {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.player__chip {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--text-3);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.player__actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.player__volume {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 4px;
  color: var(--text-3);
}

.player__volume input[type='range'] {
  width: 72px;
  height: 3px;
  appearance: none;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.player__volume input[type='range']::-webkit-slider-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  appearance: none;
}

.player__volume input[type='range']::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.player__loading {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--accent);
  animation: loadingSlide 1.2s var(--ease) infinite;
  transform-origin: left;
}

@keyframes loadingSlide {
  0% { transform: scaleX(0.1); opacity: 0.5; }
  50% { transform: scaleX(0.7); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0.2; }
}

/* ---------- Модальные окна ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 5, 6, 0.72);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.14s var(--ease);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal__panel {
  position: relative;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: #141416;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  animation: popIn 0.16s var(--ease);
}

.modal__panel--s { max-width: 400px; }
.modal__panel--m { max-width: 520px; }
.modal__panel--l { max-width: 660px; }

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--text-3);
}

.modal__close:hover {
  color: #fff;
  background: var(--surface-2);
}

.modal__title {
  margin-bottom: 8px;
  padding-right: 36px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.modal__subtitle {
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
}

.modal__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.dialog-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.dialog-title svg {
  color: var(--text-2);
}

.dialog-loading {
  padding: 28px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}

.plan-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.plan-option {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: transparent;
  text-align: left;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.plan-option:hover {
  border-color: var(--line-3);
}

.plan-option.is-active {
  border-color: #f4f4f5;
  background: rgba(255, 255, 255, 0.03);
}

.plan-option__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.plan-option__title {
  font-size: 13px;
  font-weight: 500;
}

.plan-option__price {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.plan-option__period {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-3);
}

.plan-option__tagline {
  font-size: 11.5px;
  color: var(--text-3);
  line-height: 1.4;
}

.dialog-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 13px 15px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-2);
}

.dialog-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dialog-features svg {
  color: var(--text-3);
}

.dialog-note {
  font-size: 11.5px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.5;
}

/* ---------- Тосты ---------- */

.toasts {
  position: fixed;
  top: 70px;
  right: 20px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 340px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: #17171a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  font-size: 12.5px;
  animation: slideIn 0.16s var(--ease);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: none; }
}

.toast__icon {
  display: inline-flex;
  color: var(--text-3);
}

.toast--success .toast__icon { color: var(--ok); }
.toast--error .toast__icon { color: var(--danger); }

.toast__text {
  flex: 1;
}

.toast__close {
  display: inline-flex;
  padding: 2px;
  border: none;
  background: transparent;
  color: var(--text-3);
}

.toast__close:hover {
  color: #fff;
}

/* ---------- Скелетоны, 404, загрузка ---------- */

.skeleton {
  border-radius: var(--radius-sm);
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.025) 30%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.025) 70%);
  background-size: 220% 100%;
  animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

.skeleton--hero {
  width: 100%;
  height: 260px;
  border-radius: var(--radius-lg);
}

.skeleton--cover {
  width: 300px;
  height: 300px;
  border-radius: var(--radius-lg);
}

.skeleton--plan {
  height: 380px;
  border-radius: var(--radius-lg);
}

.skeleton-lines {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
}

.skeleton--line {
  height: 14px;
  width: 100%;
  border-radius: 4px;
}

.skeleton--short {
  width: 45%;
}

.notfound {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 96px 20px;
  text-align: center;
}

.notfound__code {
  font-size: clamp(64px, 10vw, 112px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text-2);
}

.notfound h1 {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.notfound p {
  max-width: 400px;
  font-size: 13.5px;
  color: var(--text-2);
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

/* Заглушка до загрузки React */
.boot {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.boot__logo {
  width: 112px;
  height: auto;
  opacity: 0.9;
  animation: bootPulse 1.6s var(--ease) infinite alternate;
}

@keyframes bootPulse {
  from { opacity: 0.45; }
  to { opacity: 1; }
}

.boot__text {
  font-size: 12px;
  color: var(--text-3);
}

/* ============================================================
   Адаптивность
   ============================================================ */

@media (max-width: 1180px) {
  .hero {
    padding: 56px 0 40px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero__panel {
    max-width: 560px;
  }

  .tracks {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }

  .tracks--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rows__head,
  .row {
    grid-template-columns: 36px 36px minmax(0, 1fr) 140px 176px 72px;
    gap: 12px;
  }

  .stats-grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .plans,
  .plans--teaser {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
  }

  .plans--teaser {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plans--teaser .plan--info {
    grid-column: 1 / -1;
  }

  .panel-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .panel-block__stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px 40px;
    padding: 22px 0 0;
    border-top: 1px solid var(--line);
    border-left: none;
  }
}

@media (max-width: 1000px) {
  .header__search {
    display: none;
  }

  .sound-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .sound-detail__cover {
    max-width: 380px;
  }

  .sound-detail--loading {
    grid-template-columns: minmax(0, 1fr);
  }

  .upload__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .upload__aside {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .upload__tips {
    flex: 1;
    min-width: 240px;
  }

  .auth {
    grid-template-columns: minmax(0, 1fr);
    max-width: 460px;
    gap: 0;
  }

  .auth__aside {
    display: none;
  }

  .dashboard__columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .rows__head,
  .row {
    grid-template-columns: 36px 36px minmax(0, 1fr) 92px;
  }

  .rows__head > :nth-child(4),
  .rows__head > :nth-child(5),
  .row__wave,
  .row__data {
    display: none;
  }

  .row__actions {
    grid-column: 4;
  }
}

@media (max-width: 820px) {
  .container {
    padding: 0 18px;
  }

  .header__nav {
    display: none;
  }

  .header__nav.is-open {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 18px 16px;
    background: rgba(10, 10, 11, 0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
  }

  .header__nav.is-open .header__search {
    display: none;
  }

  .header__burger {
    display: inline-flex;
  }

  .header__mobile-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .hero {
    padding: 36px 0 32px;
  }

  .hero__title {
    font-size: clamp(32px, 8vw, 44px);
  }

  .hero__panel {
    padding: 16px;
  }

  .section {
    padding-top: 40px;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .step {
    padding: 16px 0;
    border-top: 1px solid var(--line);
  }

  .catalog__head {
    align-items: flex-start;
    gap: 16px;
  }

  .catalog__actions {
    width: 100%;
    justify-content: space-between;
  }

  .catalog-toolbar {
    top: 56px;
    padding: 10px 0;
  }

  .search {
    max-width: none;
    flex: 1 1 100%;
  }

  .filter-panel {
    width: calc(100vw - 36px);
    left: 0;
  }

  .filter-panel__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .tracks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }

  .tracks--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .track__play,
  .track__hover {
    opacity: 1;
  }

  .track__play {
    width: 34px;
    height: 34px;
    transform: none;
  }

  .track__hover {
    top: 6px;
    right: 6px;
  }

  .row__play {
    opacity: 1;
  }

  .row__index > span {
    display: none;
  }

  .rows__head,
  .row {
    grid-template-columns: 32px 36px minmax(0, 1fr) 64px;
    gap: 10px;
  }

  .row__actions {
    gap: 0;
  }

  .catalog__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 36px 18px 24px;
  }

  .footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 18px 24px;
  }

  .player__inner {
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 8px 16px;
  }

  .player__track {
    width: auto;
    flex: 1;
  }

  .player__wave {
    order: 5;
    flex: 1 1 100%;
  }

  .player__meta,
  .player__volume {
    display: none;
  }

  .spec-grid,
  .spec-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sound-detail__actions .btn {
    flex: 1;
  }

  .author-profile {
    gap: 16px;
  }

  .author-profile__stats {
    gap: 22px;
  }

  .moderation-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .moderation-item__cover {
    width: 64px;
    height: 64px;
  }

  .moderation-item__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .auth {
    padding: 36px 18px;
  }

  .checkout__card,
  .modal__panel {
    padding: 22px;
  }

  .mini-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .plans--teaser {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .catalog-tabs {
    gap: 16px;
  }

  .catalog-tabs__item {
    font-size: 13px;
  }

  .hero__stats {
    gap: 14px 26px;
  }

  .stats-grid,
  .stats-grid--5 {
    grid-template-columns: minmax(0, 1fr);
  }

  .toasts {
    left: 14px;
    right: 14px;
    max-width: none;
  }

  .pagination__page:not(.is-active) {
    display: none;
  }

  .track__meta {
    flex-wrap: wrap;
    row-gap: 1px;
    font-size: 11.5px;
  }

  .track__author {
    max-width: 100%;
  }

  .track__dot {
    display: none;
  }

  .track__data {
    flex-basis: 100%;
  }

  .sound-detail__title {
    font-size: 24px;
  }
}

/* ---------- Стена пользователя ---------- */

.author-profile__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.author-tabs {
  margin-top: 18px;
}

.tabs__count {
  margin-left: 4px;
  font-size: 11px;
  color: var(--text-3);
}

.author-section {
  padding-top: 28px;
}

.follow-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-3);
}

.wall {
  display: flex;
  flex-direction: column;
  max-width: 720px;
}

.wall-composer {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-raised);
}

.wall-composer__main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.wall-composer textarea {
  width: 100%;
  min-height: 76px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.55;
  resize: vertical;
  outline: none;
}

.wall-composer textarea:focus {
  border-color: var(--line-3);
}

.wall-composer__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wall-composer__hint {
  font-size: 11.5px;
  color: var(--text-3);
}

.wall-post {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.wall-post:last-of-type {
  border-bottom: none;
}

.wall-post__head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.wall-post__who {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.wall-post__name {
  font-size: 13.5px;
  font-weight: 500;
}

.wall-post__time {
  font-size: 11.5px;
  color: var(--text-3);
}

.wall-post__delete,
.wall-comment__delete {
  padding: 4px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-3);
  opacity: 0;
  transition: opacity 0.14s var(--ease), color 0.14s var(--ease), background 0.14s var(--ease);
}

.wall-post:hover .wall-post__delete,
.wall-comment:hover .wall-comment__delete {
  opacity: 1;
}

.wall-post__delete:hover,
.wall-comment__delete:hover {
  color: var(--danger);
  background: rgba(255, 105, 97, 0.08);
}

.wall-post__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.wall-sound {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.wall-sound__cover {
  position: relative;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
}

.wall-sound__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wall-sound__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(10, 10, 11, 0.35);
  opacity: 0;
  transition: opacity 0.15s var(--ease);
}

.wall-sound__cover:hover .wall-sound__play {
  opacity: 1;
}

.wall-sound__main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.wall-sound__title {
  font-size: 13.5px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wall-sound__meta {
  font-size: 11.5px;
  color: var(--text-3);
}

.wall-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wall-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text-2);
  font-size: 12px;
  transition: color 0.14s var(--ease), border-color 0.14s var(--ease), background 0.14s var(--ease);
}

.wall-action:hover {
  color: #fff;
  border-color: var(--line-3);
}

.wall-action.is-flamed {
  color: #fff;
  border-color: rgba(255, 69, 58, 0.55);
  background: rgba(255, 69, 58, 0.1);
}

.wall-comments {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wall-comments__more {
  align-self: flex-start;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-3);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wall-comments__more:hover {
  color: var(--text);
}

.wall-comment {
  display: flex;
  gap: 9px;
}

.wall-comment__main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.wall-comment__head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-3);
}

.wall-comment__head a {
  color: var(--text);
  font-weight: 500;
}

.wall-comment__body {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.wall-comment-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wall-comment-form input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  font-size: 12.5px;
  outline: none;
}

.wall-comment-form input:focus {
  border-color: var(--line-3);
}

.wall-comment-hint {
  font-size: 12px;
  color: var(--text-3);
}

@media (max-width: 820px) {
  .author-profile__side {
    align-items: flex-start;
  }

  .wall-composer {
    padding: 14px;
  }

  .wall-post__delete,
  .wall-comment__delete {
    opacity: 1;
  }
}

.wall-guest-hint {
  margin-bottom: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-3);
}

.wall-guest-hint a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wall-post__kind {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---------- Тона: баланс, цены, экономика ---------- */

.wallet-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.14s var(--ease), background 0.14s var(--ease);
}

.wallet-chip:hover {
  border-color: var(--line-3);
  background: var(--surface-2);
  color: #fff;
}

.wallet-chip svg {
  color: var(--text-2);
}

.plan__drops {
  margin-top: -6px;
  font-size: 12.5px;
  color: var(--text-2);
}

.drops-balance {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 12px;
  font-size: 12px;
  color: var(--text-3);
}

.drops-balance strong {
  color: var(--text-2);
  font-weight: 500;
}

.drops-balance svg {
  color: var(--text-3);
}

.table__sub {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-3);
}

.amount--plus {
  color: #7ee787;
  font-variant-numeric: tabular-nums;
}

.amount--minus {
  color: #ff9b94;
  font-variant-numeric: tabular-nums;
}

.finance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.finance-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.finance-cell span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.finance-cell strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.finance-cell small {
  font-size: 11px;
  color: var(--text-3);
}

@media (max-width: 1100px) {
  .finance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .finance-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Соцсети профиля ---------- */

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  transition: color 0.14s var(--ease), border-color 0.14s var(--ease), background 0.14s var(--ease);
}

.social-link:hover {
  color: #fff;
  border-color: var(--line-3);
  background: var(--surface-2);
}

.social-link svg {
  display: block;
}

.panel__head--sub {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.panel__head--sub .panel__title {
  font-size: 13px;
  font-weight: 500;
}

/* ---------- Тона как валюта ---------- */

.drops {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.drops__icon {
  color: var(--text-3);
  flex-shrink: 0;
}

.stat__value .drops {
  gap: 6px;
}

.stat__value .drops__icon {
  color: var(--text-2);
}

.btn .drops__icon,
.wallet-chip .drops__icon {
  color: currentColor;
  opacity: 0.75;
}

.wallet-chip .drops {
  gap: 5px;
}

/* ---------- Обложка при загрузке ---------- */

.cover-field {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px dashed var(--line-3);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.cover-field__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-3);
}

.cover-field__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-field__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.cover-field__body strong {
  font-size: 13.5px;
  font-weight: 500;
}

.cover-field .field__hint {
  margin: 0;
}

.required {
  color: #ff9b94;
}

@media (max-width: 640px) {
  .cover-field {
    align-items: flex-start;
  }

  .cover-field__preview {
    width: 72px;
    height: 72px;
  }
}

/* ---------- Чат поддержки ---------- */

.support-fab {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg-raised);
  color: var(--text);
  font-size: 13px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: color 0.14s var(--ease), border-color 0.14s var(--ease), background 0.14s var(--ease);
}

.support-fab:hover {
  color: #fff;
  border-color: var(--line-3);
  background: var(--surface-2);
}

.support-fab.is-open {
  width: 44px;
  height: 44px;
  padding: 0;
  justify-content: center;
}

.support-fab__dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff453a;
  border: 2px solid var(--bg);
}

.support-panel {
  position: fixed;
  right: 24px;
  bottom: 150px;
  z-index: 61;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 220px));
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}

.support-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.support-panel__head strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.support-panel__head span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--text-3);
}

.support-panel__close {
  padding: 4px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-3);
}

.support-panel__close:hover {
  color: #fff;
  background: var(--surface-2);
}

.support-panel__messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
  padding: 14px 16px;
  overflow-y: auto;
}

.support-panel__empty {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-3);
}

.support-panel__guest {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 16px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-2);
}

.support-panel__guest p {
  margin: 0;
}

.support-panel__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.support-panel__form input {
  flex: 1;
  min-width: 0;
  padding: 8px 11px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  font-size: 12.5px;
  outline: none;
}

.support-panel__form input:focus {
  border-color: var(--line-3);
}

.support-message {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.support-message__body {
  flex: 1;
  min-width: 0;
}

.support-message__meta {
  display: block;
  margin-bottom: 4px;
  font-size: 10.5px;
  color: var(--text-3);
}

.support-message__body p {
  margin: 0;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 12.5px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.support-message--admin .support-message__body p {
  background: var(--surface-2);
  border-color: var(--line-2);
}

/* Админка поддержки */

.support-admin {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.support-admin__list {
  max-height: 620px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.support-admin__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}

.support-admin__head span {
  font-size: 11.5px;
  color: var(--text-3);
}

.support-thread {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  padding: 11px 13px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
}

.support-thread:hover {
  background: var(--surface);
}

.support-thread.is-active {
  background: var(--surface-2);
}

.support-thread__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
}

.support-thread__meta,
.support-thread__last {
  max-width: 100%;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-3);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-chat {
  display: flex;
  flex-direction: column;
  max-height: 620px;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.support-chat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.support-chat__user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.support-chat__user strong {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
}

.support-chat__user span {
  display: block;
  font-size: 11px;
  color: var(--text-3);
}

.support-chat__messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  overflow-y: auto;
}

.support-chat__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.support-chat__form input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  font-size: 12.5px;
  outline: none;
}

.support-chat__form input:focus {
  border-color: var(--line-3);
}

/* Модерация: прослушивание и причина отказа */

.moderation-item__cover-wrap {
  position: relative;
  flex-shrink: 0;
}

.moderation-item__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(10, 10, 11, 0.35);
  color: #fff;
  opacity: 0;
  transition: opacity 0.15s var(--ease);
}

.moderation-item__cover-wrap:hover .moderation-item__play {
  opacity: 1;
}

.moderation-item__reason {
  margin: 6px 0 0;
  font-size: 11.5px;
  color: #ff9b94;
}

.table__sub--bad {
  color: #ff9b94;
}

@media (max-width: 900px) {
  .support-admin {
    grid-template-columns: minmax(0, 1fr);
  }

  .support-admin__list {
    max-height: 240px;
  }

  .support-chat {
    min-height: 380px;
    max-height: 520px;
  }
}

@media (max-width: 720px) {
  .support-fab {
    right: 16px;
    bottom: 84px;
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
  }

  .support-fab__label {
    display: none;
  }

  .support-panel {
    right: 8px;
    left: 8px;
    bottom: 140px;
    width: auto;
    max-height: calc(100vh - 200px);
  }
}

.pricing__lead-note {
  max-width: 720px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-3);
}

.auth__code-hint {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 69, 58, 0.28);
  border-radius: 12px;
  background: rgba(255, 69, 58, 0.08);
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.55;
}

.auth__code-field input {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.auth__code-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.auth__code-actions .link-muted {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.auth__forgot {
  margin: -8px 0 0;
  text-align: right;
}

.auth__forgot a {
  color: var(--text-3);
  font-size: 13px;
  text-decoration: none;
}

.auth__forgot a:hover {
  color: var(--text);
}

.moderation-item__expand {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-3);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.moderation-item__expand:hover {
  color: var(--text);
}

.moderation-item__details {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.moderation-item__details dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 0;
}

.moderation-item__details dt {
  color: var(--text-3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.moderation-item__details dd {
  margin: 3px 0 0;
  color: var(--text-2);
  font-size: 13px;
}

.moderation-item__full-desc {
  margin: 14px 0 0;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
}

@media (max-width: 640px) {
  .moderation-item__details dl {
    grid-template-columns: 1fr;
  }
}

.pack-head {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin: 28px 0 44px;
}

.pack-head__cover img {
  width: 100%;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--line);
  object-fit: cover;
  aspect-ratio: 1;
}

.pack-head__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-3);
  font-size: 13px;
  margin-bottom: 12px;
}

.pack-author {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.pack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pack-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--text-3);
  font-size: 12px;
}

.pack-buy {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
}

.pack-buy__label {
  display: block;
  color: var(--text-3);
  font-size: 12px;
  margin-bottom: 4px;
}

.pack-buy__price .drops {
  font-size: 22px;
  color: var(--text);
}

.pack-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-3);
  font-size: 12px;
  margin-top: 12px;
}

.pack-item-list {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.pack-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.pack-item:last-child {
  border-bottom: 0;
}

.pack-item__play {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.pack-item__play:disabled {
  opacity: 0.35;
  cursor: default;
}

.pack-item__main {
  min-width: 0;
  flex: 1;
}

.pack-item__title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pack-item__format {
  font-size: 10px;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 5px;
  flex-shrink: 0;
}

.pack-item__format--midi {
  color: var(--accent);
  border-color: rgba(255, 69, 58, 0.4);
}

.pack-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-3);
  font-size: 12px;
  margin-top: 5px;
}

.pack-item__buy {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.pack-moderation-list {
  display: grid;
  gap: 16px;
}

.pack-moderation {
  display: flex;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
}

.pack-moderation__cover img {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.pack-moderation__body {
  flex: 1;
  min-width: 0;
}

.pack-moderation__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.pack-moderation__meta {
  color: var(--text-3);
  font-size: 12px;
  margin-top: 5px;
}

.pack-moderation__details {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.pack-moderation__items {
  display: grid;
  gap: 8px;
}

.pack-moderation__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13px;
}

.pack-moderation__item span {
  color: var(--text-3);
  margin-left: 9px;
  font-size: 12px;
}

.pack-moderation__item audio {
  height: 30px;
  max-width: 260px;
}

.pack-moderation__stats {
  display: flex;
  gap: 18px;
  color: var(--text-3);
  font-size: 12px;
  margin: 12px 0;
}

.pack-moderation__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 160px;
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .pack-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pack-head__cover {
    max-width: 300px;
  }

  .pack-item__buy {
    display: none;
  }

  .pack-moderation {
    flex-direction: column;
  }

  .pack-moderation__actions {
    width: 100%;
    flex-direction: row;
  }

  .pack-moderation__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .pack-moderation__item audio {
    width: 100%;
  }
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.pack-card {
  display: block;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.pack-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.pack-card__cover {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-3);
}

.pack-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pack-card__body {
  padding: 14px;
}

.pack-card__title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
}

.pack-card__meta {
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.5;
}

.pack-card__price {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--text);
  font-size: 13px;
}

.pack-card__price span {
  color: var(--text-3);
  font-size: 11px;
}

.upload-files {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.upload-file {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.upload-file__format {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 6px;
  margin-top: 2px;
  flex-shrink: 0;
}

.upload-file__format--midi {
  color: var(--accent);
  border-color: rgba(255, 69, 58, 0.4);
}

.upload-file__main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.upload-file__main strong {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-file__main > span {
  color: var(--text-3);
  font-size: 11px;
}

.upload-file__preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-3);
}

.upload-file__preview input {
  max-width: 240px;
  font-size: 11px;
}

.upload-file__preview em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--good);
  font-style: normal;
  font-size: 11px;
}

.upload-file__remove {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pack-hint {
  color: var(--text-3);
}

@media (max-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.upload__dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 38px 24px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.upload__dropzone:hover {
  border-color: var(--line-3);
  background: var(--bg-raised);
}

.upload__dropzone strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.upload__dropzone span {
  display: block;
  color: var(--text-3);
  font-size: 12px;
}

.upload__side {
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.upload__cover {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.upload__cover p {
  color: var(--text-3);
  font-size: 12px;
  margin: 4px 0 10px;
}

.upload__cover-preview {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-3);
}

.upload__cover-preview.is-set {
  border-style: solid;
}

.upload__cover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload__note {
  color: var(--text-3);
  font-size: 11.5px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .upload__side {
    position: static;
  }

  .upload__cover {
    flex-direction: column;
  }
}

.collection-create {
  display: flex;
  gap: 10px;
  margin: 14px 0 18px;
}

.collection-create input {
  flex: 1;
  max-width: 380px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  outline: none;
}

.collection-create input:focus {
  border-color: var(--line-3);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.collection-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}

.collection-card__cover {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-3);
  color: var(--text-3);
  flex-shrink: 0;
}

.collection-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-card__body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.collection-card__title {
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-card__body span {
  color: var(--text-3);
  font-size: 11px;
}

.collection-card__delete {
  border: 0;
  background: transparent;
  color: var(--text-3);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}

.collection-card__delete:hover {
  color: var(--accent);
}

.sound-detail__collection {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 12px;
}

.sound-detail__collection select {
  padding: 8px 30px 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text-2);
  font-size: 12px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.event-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.event-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.event-card__season {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-card__title {
  font-size: 20px;
  font-weight: 650;
  margin: 8px 0;
}

.event-card__desc {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.55;
  min-height: 60px;
}

.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  color: var(--text-3);
  font-size: 12px;
}

.event-card__dates {
  margin-top: 10px;
  color: var(--text-3);
  font-size: 12px;
}

.event-hero {
  position: relative;
  margin: 24px 0 34px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: radial-gradient(ellipse at top left, rgba(255, 69, 58, 0.1), transparent 55%), var(--surface-2);
}

.event-hero__badge {
  display: inline-flex;
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-3);
  font-size: 12px;
  margin-bottom: 14px;
}

.event-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--text-3);
  font-size: 13px;
  margin-top: 18px;
}

.event-hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.event-rules {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.event-rules h2 {
  margin-bottom: 12px;
}

.event-rules ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.5;
  list-style: disc;
  padding-left: 20px;
}

@media (max-width: 640px) {
  .event-hero {
    padding: 22px;
  }
}

.dropdown__badge {
  margin-top: 3px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}

.sound-editor-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sound-editor {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}

.sound-editor__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 13px;
}

.sound-editor__remove {
  border: 0;
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
}

.sound-editor__files {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.sound-file {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  color: var(--text-3);
}

.sound-file input[type="file"] {
  font-size: 10px;
  color: var(--text-3);
  max-width: 100%;
}

.sound-file em {
  color: var(--good);
  font-style: normal;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sound-file--preview {
  margin-top: 10px;
  color: var(--accent);
}

@media (max-width: 720px) {
  .sound-editor__files {
    grid-template-columns: 1fr;
  }
}

.upload-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--text-3);
  font-size: 12px;
}

.upload-step {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.upload-step.is-active {
  color: var(--text);
  border-color: var(--line-strong);
}

.upload-step.is-done {
  color: var(--good);
}

.upload-step__line {
  width: 36px;
  height: 1px;
  background: var(--line-2);
}

.pack-create {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.upload-tip {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.55;
}

.upload-tip strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 5px;
}

.upload-tip__cover {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 9px;
  margin-top: 10px;
  border: 1px solid var(--line);
}

.sound-editor {
  padding: 0;
  overflow: hidden;
}

.sound-editor__toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.sound-editor__number {
  color: var(--text-3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sound-editor__toggle strong {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sound-editor__summary {
  color: var(--text-3);
  font-size: 11px;
  justify-self: end;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sound-editor__chevron {
  color: var(--text-3);
  font-size: 18px;
  line-height: 1;
}

.sound-editor__body {
  padding: 0 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sound-editor__delete {
  align-self: flex-start;
}

@media (max-width: 700px) {
  .sound-editor__toggle {
    grid-template-columns: 58px minmax(0, 1fr) 20px;
  }

  .sound-editor__summary {
    display: none;
  }
}

.file-control {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.file-control__label {
  color: var(--text-3);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.file-control__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-2);
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease), background 0.16s var(--ease);
}

.file-control:hover .file-control__button {
  border-color: var(--line-3);
  background: var(--surface-3);
  color: var(--text);
}

.file-control__name {
  color: var(--text-3);
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-control__name.is-set {
  color: var(--good);
}

.sound-editor__chevron {
  transition: transform 0.18s var(--ease);
}

.sound-editor__chevron.is-open {
  transform: rotate(180deg);
}

@media (max-width: 720px) {
  .sound-editor__files {
    grid-template-columns: 1fr;
  }
}

.pack-filters {
  margin: 22px 0 26px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}

.pack-filters__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.pack-filters__count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  font-size: 12px;
  white-space: nowrap;
}

.pack-filters__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.pack-filters__reset {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .pack-filters__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .pack-filters__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .pack-filters__grid {
    grid-template-columns: 1fr;
  }
}

.legal__requisites dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 18px 0;
}

.legal__requisites dl > div {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}

.legal__requisites dt {
  color: var(--text-3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal__requisites dd {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 13px;
}

.legal__requisites dd a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  .legal__requisites dl {
    grid-template-columns: 1fr;
  }
}

.beta-banner {
  position: relative;
  z-index: 40;
  background: #1b170e;
  border-bottom: 1px solid #4a3b1d;
  color: #e8dcc4;
}

.beta-banner__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 12px;
  line-height: 1.45;
}

.beta-banner__icon {
  display: inline-flex;
  color: var(--accent);
  flex: none;
}

.beta-banner p {
  margin: 0;
  flex: 1;
}

.beta-banner strong {
  color: #fff;
}

.beta-banner__close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid #4a3b1d;
  border-radius: 7px;
  background: transparent;
  color: #cbbd9d;
  cursor: pointer;
}

.beta-banner__close:hover {
  color: #fff;
  border-color: #6b5529;
}

/* --- Зимний сезон: холод, лёд, иней --- */
.event-page--winter .event-hero {
  background:
    linear-gradient(90deg, rgba(2, 7, 14, 0.94) 0%, rgba(4, 13, 24, 0.78) 46%, rgba(5, 18, 32, 0.28) 100%),
    url('/brand/event-winter.jpg') center / cover no-repeat;
  border-color: rgba(125, 211, 252, 0.28);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(186, 230, 253, 0.12);
}

.event-page--winter .event-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 82% 28%, rgba(125, 211, 252, 0.18), transparent 30%),
    radial-gradient(circle at 12% 88%, rgba(56, 189, 248, 0.10), transparent 34%);
}

.event-page--winter .event-hero__badge {
  color: #dff6ff;
  background: rgba(8, 47, 73, 0.55);
  border-color: rgba(125, 211, 252, 0.42);
  letter-spacing: 0.04em;
}

.event-page--winter .event-hero .page__title {
  color: #f0fbff;
  text-shadow: 0 0 36px rgba(125, 211, 252, 0.16);
}

.event-page--winter .event-hero .page__lead {
  color: #b9d9e8;
}

.event-page--winter .event-hero__stats {
  color: #8fd4f0;
}

.event-page--winter .event-rules {
  background: linear-gradient(135deg, rgba(8, 25, 40, 0.72), rgba(10, 18, 28, 0.72));
  border-color: rgba(125, 211, 252, 0.18);
}

.event-page--winter .event-rules h2,
.event-page--winter .section__title {
  color: #e8f7ff;
}

.event-page--winter .event-rules li::marker {
  color: #7dd3fc;
}

.event-page--winter .event-rules {
  color: #c4dbe8;
}

.event-card--winter {
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(8, 30, 48, 0.9), rgba(13, 20, 30, 0.96));
  border-color: rgba(125, 211, 252, 0.24);
}

.event-card--winter .event-card__season {
  color: #7dd3fc;
}

.event-card--winter:hover {
  border-color: rgba(125, 211, 252, 0.48);
}

@media (max-width: 720px) {
  .event-page--winter .event-hero {
    background-position: 60% center;
  }
}

.home-event-wrap {
  margin-top: 8px;
  margin-bottom: 8px;
}

.home-event {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 210px;
  padding: 28px 34px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 9, 17, 0.96) 0%, rgba(5, 18, 32, 0.82) 52%, rgba(6, 24, 42, 0.45) 100%),
    url('/brand/event-winter.jpg') right center / cover no-repeat;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.home-event__content {
  max-width: 680px;
}

.home-event__eyebrow {
  display: inline-block;
  color: #8fd4f0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.home-event__title {
  margin: 10px 0 8px;
  color: #f0fbff;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.06;
  font-weight: 800;
}

.home-event__text {
  max-width: 560px;
  margin: 0;
  color: #b9d9e8;
  font-size: 12px;
  line-height: 1.6;
}

.home-event__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: #e8f7ff;
  font-size: 12px;
  font-weight: 700;
}

.home-event__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 150px;
  color: rgba(186, 230, 253, 0.5);
  font-size: 92px;
  line-height: 1;
  filter: drop-shadow(0 0 28px rgba(125, 211, 252, 0.25));
}

.home-event:hover {
  border-color: rgba(125, 211, 252, 0.5);
}

@media (max-width: 720px) {
  .home-event {
    padding: 22px;
  }
  .home-event__mark {
    display: none;
  }
}

/* Кастомный плеер превью */
.audio-preview {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.92), rgba(14, 14, 16, 0.92));
}

.audio-preview__play {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease);
}

.audio-preview__play:hover,
.audio-preview.is-playing .audio-preview__play {
  color: #0a0a0b;
  background: #fff;
  border-color: #fff;
}

.audio-preview__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.audio-preview__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.audio-preview__label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  color: var(--text-2);
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audio-preview__label svg {
  flex: none;
  color: var(--accent);
}

.audio-preview__time {
  flex: none;
  color: var(--text-3);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.audio-preview__track {
  position: relative;
  width: 100%;
  height: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.audio-preview__track::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--line-2);
}

.audio-preview__fill {
  position: absolute;
  left: 0;
  top: 5px;
  height: 2px;
  max-width: 100%;
  border-radius: 2px;
  background: var(--accent);
  pointer-events: none;
}

.audio-preview__thumb {
  position: absolute;
  top: 2px;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  box-shadow: 0 0 0 2px rgba(255, 69, 58, 0.25);
}

.audio-preview__bars {
  flex: none;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 18px;
  opacity: 0.35;
}

.audio-preview__bars span {
  display: block;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: var(--text-3);
}

.audio-preview.is-playing .audio-preview__bars {
  opacity: 1;
}

.audio-preview.is-playing .audio-preview__bars span {
  background: var(--accent);
  animation: preview-bars 0.8s ease-in-out infinite alternate;
}

.audio-preview__bars span:nth-child(2) { height: 11px; }
.audio-preview__bars span:nth-child(3) { height: 15px; }
.audio-preview__bars span:nth-child(4) { height: 9px; }
.audio-preview__bars span:nth-child(5) { height: 6px; }

@keyframes preview-bars {
  from { transform: scaleY(0.45); }
  to { transform: scaleY(1); }
}

.audio-preview__error {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: -18px;
  color: #ff8a80;
  font-size: 9px;
  white-space: nowrap;
}

.pack-item__preview {
  width: 250px;
  flex: none;
}

.sound-preview {
  margin-top: 2px;
}

.sound-preview .audio-preview {
  max-width: 360px;
}

@media (max-width: 760px) {
  .pack-item__preview {
    width: 100%;
    order: 5;
  }

  .pack-item {
    flex-wrap: wrap;
  }
}

/* Новые паки в hero и карточках */
.hero__pack-feature {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 4px 0 14px;
  border-bottom: 1px solid var(--line);
}

.hero__pack-cover {
  position: relative;
  flex: none;
  width: 104px;
  height: 104px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-2);
}

.hero__pack-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__pack-new,
.pack-card__new {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--accent);
  color: #0a0a0b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__pack-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__pack-kicker {
  color: var(--accent);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero__pack-info strong {
  overflow: hidden;
  color: var(--text);
  font-size: 16px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero__pack-sub {
  overflow: hidden;
  color: var(--text-3);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero__pack-price {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--text-2);
  font-size: 11px;
}

.hero__panel-list {
  display: flex;
  flex-direction: column;
}

.hero__pack-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.hero__pack-row:last-child {
  border-bottom: 0;
}

.hero__pack-row img {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  object-fit: cover;
}

.hero__pack-row-main {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.hero__pack-row-main strong {
  overflow: hidden;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero__pack-row-main span {
  overflow: hidden;
  color: var(--text-3);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero__pack-row-new {
  flex: none;
  color: var(--accent);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__pack-empty {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 30px 8px;
  color: var(--text-3);
  font-size: 11px;
  line-height: 1.5;
}

.hero__pack-empty strong {
  color: var(--text-2);
  font-size: 13px;
}

.pack-card {
  position: relative;
}

.author-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.author-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 999px;
  background: rgba(8, 35, 54, 0.5);
  color: #bae6fd;
  font-size: 9.5px;
  font-weight: 600;
}

.author-badge--season_winner {
  border-color: rgba(255, 190, 80, 0.4);
  background: rgba(60, 40, 12, 0.45);
  color: #ffe2a3;
}

.author-packs {
  margin-bottom: 26px;
}

.catalog-packs {
  margin-top: 24px;
}

/* WAVS-style waveform preview */
.audio-preview {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  gap: 8px;
}

.audio-preview__play {
  width: 26px;
  height: 30px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--text-2);
}

.audio-preview__play:hover,
.audio-preview.is-playing .audio-preview__play {
  color: #fff;
  background: transparent;
  border-color: transparent;
}

.audio-preview__body {
  gap: 2px;
}

.audio-preview__wave {
  display: flex;
  align-items: center;
  gap: 1.5px;
  width: 100%;
  height: 31px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.audio-preview__wave span {
  flex: 1 1 2px;
  min-width: 1px;
  max-width: 3px;
  border-radius: 2px;
  background: var(--line-3, #34343a);
  transition: background 0.12s linear;
}

.audio-preview__wave span.is-played {
  background: #e8e8ea;
}

.audio-preview.is-playing .audio-preview__wave span.is-played {
  background: var(--accent);
}

.audio-preview__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.audio-preview__label {
  overflow: hidden;
  color: var(--text-3);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audio-preview__time {
  flex: none;
  color: var(--text-3);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.audio-preview__error {
  left: 36px;
  bottom: -13px;
  color: #ff8a80;
  font-size: 8px;
}

.pack-item__preview {
  width: 290px;
}

.sound-preview .audio-preview {
  max-width: 100%;
}

@media (max-width: 760px) {
  .pack-item__preview {
    width: 100%;
  }

  .audio-preview__wave {
    height: 26px;
  }
}

/* Источник пака в модерации */
.moderation-source-tabs {
  margin-top: -2px;
  margin-bottom: 14px;
}

.moderation-source {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 3px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-3);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.moderation-source--event {
  border-color: rgba(125, 211, 252, 0.35);
  background: rgba(8, 35, 54, 0.45);
  color: #bae6fd;
}

.moderation-source--subscription {
  border-color: var(--line-2);
  background: var(--surface-2);
  color: var(--text-3);
}

.pack-moderation__item .audio-preview {
  width: min(300px, 100%);
}

/* Докупка тонов */
.credits-section {
  padding-top: 10px;
}

.credit-packs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.credit-pack {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-1), var(--surface-0));
}

.credit-pack--featured {
  border-color: rgba(255, 69, 58, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 69, 58, 0.12);
}

.credit-pack__badge {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--accent);
  color: #0a0a0b;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.credit-pack__title {
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
}

.credit-pack__price {
  margin: 8px 0 2px;
  color: var(--text);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.credit-pack__rate {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 18px;
  color: var(--text-3);
  font-size: 9px;
}

.credit-pack .btn {
  margin-top: auto;
}

@media (max-width: 980px) {
  .credit-packs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .credit-packs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credit-pack {
    min-height: 170px;
    padding: 14px;
  }
}

/* ============================================================
   ZVUCHKA — design pass: типографика, ритм, состояния, мобильный UX
   ============================================================ */
:root {
  --text-3: #8b8b94;
  --line-3: rgba(255, 255, 255, 0.26);
  --container: 1240px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
}

body {
  font-size: 15px;
  line-height: 1.6;
}

.container {
  width: min(var(--container), calc(100% - 48px));
}

.app__main {
  min-height: 60vh;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: #0a0a0b;
  font-size: 13px;
  font-weight: 700;
  transition: top 0.16s var(--ease);
}

.skip-link:focus {
  top: 12px;
  color: #0a0a0b;
}

:focus-visible {
  outline: 2px solid rgba(255, 69, 58, 0.85);
  outline-offset: 3px;
}

.section {
  padding: clamp(48px, 6vw, 76px) 0;
}

.section__head {
  margin-bottom: 24px;
}

.section__title {
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.035em;
}

.section__lead {
  max-width: 620px;
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
}

.eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.14em;
}

.btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 600;
}

.btn--lg {
  min-height: 48px;
  padding: 0 22px;
  font-size: 14px;
}

.btn--sm {
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Главная */
.hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px);
}

.hero__inner {
  gap: clamp(36px, 5vw, 72px);
}

.hero__title {
  margin: 18px 0 22px;
  font-size: clamp(40px, 5.2vw, 64px);
  letter-spacing: -0.05em;
}

.hero__lead {
  max-width: 490px;
  font-size: 16px;
  line-height: 1.65;
}

.hero__actions {
  gap: 12px;
  margin-top: 32px;
}

.hero__actions .btn {
  min-height: 46px;
  padding: 0 20px;
}

.hero__stats {
  gap: 20px 40px;
  margin-top: 40px;
  padding-top: 24px;
}

.hero__stats dt {
  font-size: 24px;
}

.hero__stats dd {
  font-size: 12px;
}

.hero__panel {
  padding: 22px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255, 69, 58, 0.055), transparent 55%),
    var(--bg-raised);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.hero__panel-head {
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* Сетки карточек */
.packs-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.pack-card {
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), background 0.18s var(--ease);
}

.pack-card:hover {
  border-color: var(--line-3);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.pack-card__cover {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-3);
}

.pack-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}

.pack-card:hover .pack-card__cover img {
  transform: scale(1.025);
}

.pack-card__body {
  padding: 14px 16px 16px;
}

.pack-card__title {
  font-size: 15px;
  line-height: 1.3;
}

.pack-card__meta {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.45;
}

.pack-card__price {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

/* Тарифы: 4 карточки в ряд на широком экране, 2×2 на планшете */
.plans {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.plan {
  padding: 24px 20px;
  border-radius: 14px;
}

.plan__price {
  font-size: 30px;
}

.credit-packs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.credit-pack {
  border-radius: 12px;
}

.credit-pack .btn,
.credit-pack [class*="xds-"] {
  width: 100%;
}

/* Каталог: если отдельных звуков нет — не показываем мёртвые фильтры */
.catalog--pack-only .catalog__actions,
.catalog--pack-only .catalog-tabs,
.catalog--pack-only .catalog-toolbar,
.catalog--pack-only .catalog-presets,
.catalog--pack-only .active-filters {
  display: none;
}

.catalog--pack-only .catalog__head {
  margin-bottom: 18px;
}

.catalog--pack-only .catalog__meta {
  color: var(--text-2);
}

.catalog--pack-only .catalog-packs {
  margin-top: 0;
}

/* Страница пака */
.pack-head {
  gap: 32px;
}

.pack-head__cover {
  border-radius: 14px;
}

.pack-item {
  transition: background 0.16s var(--ease);
}

.pack-item:hover {
  background: rgba(255, 255, 255, 0.018);
}

.pack-item__meta {
  color: var(--text-3);
  font-size: 11.5px;
}

.pack-item__buy {
  gap: 10px;
}

/* Фильтры паков: на мобильном прячем под кнопку */
.pack-filters__toggle {
  display: none;
}

.pack-filters__reset {
  margin-top: 12px;
}

/* Мобильная версия */
@media (max-width: 1199px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .credit-packs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero {
    padding: 36px 0 28px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero__title {
    margin: 14px 0 16px;
    font-size: clamp(34px, 10.5vw, 44px);
    line-height: 1.04;
  }

  .hero__lead {
    font-size: 14.5px;
    line-height: 1.6;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 24px;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__stats {
    margin-top: 28px;
    padding-top: 20px;
    gap: 14px 28px;
  }

  .hero__stats dt {
    font-size: 22px;
  }

  .hero__panel {
    margin-top: 4px;
    padding: 16px;
  }

  .section {
    padding: 36px 0;
  }

  .section__head {
    margin-bottom: 18px;
  }

  .packs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .pack-card__body {
    padding: 11px 12px 13px;
  }

  .pack-card__title {
    font-size: 13px;
  }

  .pack-card__meta {
    font-size: 10.5px;
  }

  .plans {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .plan {
    padding: 20px 18px;
  }

  .credit-packs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credit-pack {
    min-height: 0;
    padding: 14px;
  }

  .credit-pack__price {
    font-size: 22px;
  }

  .pack-filters__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-height: 40px;
    margin-top: 10px;
    padding: 0 12px;
    border: 1px solid var(--line-2);
    border-radius: 8px;
    background: var(--surface-2);
    color: var(--text-2);
    font-size: 12px;
    font-weight: 600;
  }

  .pack-filters__grid {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
  }

  .pack-filters.is-open .pack-filters__grid {
    display: grid;
  }

  .pack-filters__top {
    align-items: flex-start;
  }

  .pack-item {
    align-items: flex-start;
    gap: 10px;
    padding: 14px 12px;
  }

  .pack-item__main {
    flex-basis: calc(100% - 2px);
  }

  .pack-item__preview {
    width: 100%;
    order: 4;
  }

  .pack-item__buy {
    width: 100%;
    justify-content: space-between;
    order: 5;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .pack-head {
    gap: 20px;
  }
}

@media (max-width: 520px) {
  .packs-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .credit-packs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pack-card__cover {
    aspect-ratio: 16 / 11;
  }

  .hero__stats {
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .pack-card:hover {
    transform: none;
  }
}

/* Каталог без отдельных звуков: убираем служебный вертикальный отступ секции */
.catalog--pack-only .catalog-packs {
  margin-top: 0;
  padding-top: 0;
}

.catalog--pack-only .catalog__head {
  margin-bottom: 8px;
}

.catalog--pack-only .catalog__meta {
  color: var(--text-2);
}

@media (max-width: 760px) {
  .catalog--pack-only .catalog__head {
    margin-bottom: 4px;
  }

  .catalog--pack-only .catalog-packs .section__head {
    margin-bottom: 14px;
  }
}

/* Блок пополнения: карточки с одинаковой сеткой и читаемыми CTA */
.credit-packs {
  gap: 14px;
  margin-top: 22px;
}

.credit-pack {
  min-height: 248px;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(100% 80% at 100% 0%, rgba(255, 255, 255, 0.045), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface-0));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.credit-pack--featured {
  border-color: rgba(255, 69, 58, 0.62);
  box-shadow:
    0 0 0 1px rgba(255, 69, 58, 0.12) inset,
    0 18px 44px rgba(255, 69, 58, 0.08);
}

.credit-pack__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.credit-pack__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 24px;
}

.credit-pack__tones {
  padding-top: 2px;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.credit-pack__badge {
  flex: none;
  max-width: 58%;
  transform: scale(0.78);
  transform-origin: top right;
}

.credit-pack__badge [class*="xds-"] {
  width: auto !important;
  white-space: nowrap;
}

.credit-pack__price {
  margin: 14px 0 2px;
  color: var(--text);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.credit-pack__rate {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-3);
  font-size: 10px;
  line-height: 1.4;
}

.credit-pack__note {
  margin: 8px 0 18px;
  color: var(--text-3);
  font-size: 10.5px;
  line-height: 1.35;
}

.credit-pack__cta {
  width: 100% !important;
  min-height: 40px;
  margin-top: auto;
  color: var(--text) !important;
  font-size: 12px !important;
  font-weight: 650 !important;
}

.credit-pack--featured .credit-pack__cta {
  color: #0a0a0b !important;
}

.credit-pack__cta [class*="xds-"],
.credit-pack__cta span {
  width: 100%;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

@media (max-width: 980px) {
  .credit-pack {
    min-height: 225px;
  }

  .credit-pack__price {
    font-size: 28px;
  }
}

@media (max-width: 620px) {
  .credit-packs {
    gap: 10px;
  }

  .credit-pack {
    min-height: 205px;
  }

  .credit-pack__body {
    padding: 13px;
  }

  .credit-pack__price {
    font-size: 24px;
  }

  .credit-pack__note {
    margin-bottom: 12px;
    font-size: 9.5px;
  }

  .credit-pack__badge {
    transform: scale(0.68);
    max-width: 60%;
  }

  .credit-pack__cta {
    min-height: 38px;
    padding-inline: 8px !important;
    font-size: 10.5px !important;
  }
}

/* Бейдж пакета: простой красный прямоугольник без вложенного овала */
.credit-pack__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  max-width: none;
  min-height: 20px;
  padding: 4px 7px;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: #0a0a0b;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: none;
}

@media (max-width: 760px) {
  .credit-pack__badge {
    min-height: 18px;
    padding: 3px 6px;
    font-size: 7px;
  }
}

/* FAQ и навигационная помощь */
.faq-page {
  padding-bottom: 80px;
}

.faq-hero {
  max-width: 720px;
  padding: 26px 0 24px;
}

.faq-hero .page__title {
  margin: 12px 0 10px;
  font-size: clamp(32px, 4.2vw, 48px);
  letter-spacing: -0.045em;
}

.faq-hero .page__lead {
  max-width: 620px;
  color: var(--text-2);
  font-size: 15px;
}

.faq-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.faq-quick__item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease), background 0.16s var(--ease);
}

.faq-quick__item:hover {
  border-color: var(--line-3);
  background: var(--surface-2);
  color: #fff;
}

.faq-quick__item svg:last-child {
  margin-left: auto;
  opacity: 0.5;
}

.faq-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.faq-side {
  position: sticky;
  top: 76px;
}

.faq-side__title {
  margin-bottom: 10px;
  color: var(--text-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-side__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-side__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-3);
  font-size: 12px;
  text-align: left;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.faq-side__item:hover {
  color: var(--text);
  background: var(--surface-2);
}

.faq-side__item.is-active {
  color: #fff;
  background: var(--surface-2);
  box-shadow: inset 2px 0 0 var(--accent);
}

.faq-side__item span {
  color: var(--text-3);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.faq-content {
  min-width: 0;
}

.faq-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-3);
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
}

.faq-search:focus-within {
  border-color: var(--line-3);
  background: var(--surface-2);
}

.faq-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
}

.faq-search input::placeholder {
  color: var(--text-3);
}

.faq-group {
  padding-top: 26px;
}

.faq-group__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.faq-group__head h2 {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.faq-group__head p {
  margin-top: 4px;
  color: var(--text-3);
  font-size: 12px;
}

.faq-group__count {
  flex: none;
  color: var(--text-3);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-entry {
  border-bottom: 1px solid var(--line);
}

.faq-entry summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 60px;
  padding: 16px 4px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq-entry summary::-webkit-details-marker {
  display: none;
}

.faq-entry summary:hover {
  color: #fff;
}

.faq-entry__plus {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--text-3);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.faq-entry[open] .faq-entry__plus {
  transform: rotate(45deg);
  border-color: var(--line-3);
  color: #fff;
}

.faq-entry__answer {
  max-width: 760px;
  padding: 0 4px 20px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.7;
}

.faq-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-3);
  font-size: 13px;
}

.faq-empty strong {
  color: var(--text);
  font-size: 16px;
}

.faq-empty .btn {
  margin-top: 6px;
}

.faq-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(90% 100% at 100% 0%, rgba(255, 69, 58, 0.06), transparent 60%),
    var(--surface);
}

.faq-help div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-help strong {
  font-size: 14px;
}

.faq-help span {
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.5;
}

.upload-help {
  display: inline-flex;
  margin-top: 12px;
  color: var(--text-3);
  font-size: 11.5px;
  text-decoration: underline;
  text-decoration-color: var(--line-3);
  text-underline-offset: 3px;
}

.upload-help:hover {
  color: var(--text);
}

@media (max-width: 980px) {
  .faq-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .faq-page {
    padding-bottom: 48px;
  }

  .faq-hero {
    padding: 18px 0 20px;
  }

  .faq-quick {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 20px;
  }

  .faq-quick__item {
    min-height: 44px;
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .faq-side {
    position: static;
  }

  .faq-side__title {
    display: none;
  }

  .faq-side__nav {
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .faq-side__nav::-webkit-scrollbar {
    display: none;
  }

  .faq-side__item {
    width: auto;
    flex: none;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    white-space: nowrap;
  }

  .faq-side__item.is-active {
    box-shadow: none;
    border-color: var(--line-3);
    background: var(--surface-2);
  }

  .faq-side__item span {
    display: none;
  }

  .faq-group {
    padding-top: 20px;
  }

  .faq-group__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .faq-group__head h2 {
    font-size: 20px;
  }

  .faq-entry summary {
    min-height: 56px;
    padding: 14px 2px;
    font-size: 13px;
  }

  .faq-entry__answer {
    padding-bottom: 16px;
    font-size: 12.5px;
  }

  .faq-help {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }
}

/* Модерация паков: источник загрузки */
.moderation-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.moderation-intro div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.moderation-intro strong {
  font-size: 13px;
  font-weight: 650;
}

.moderation-intro span:not(.moderation-intro__source) {
  color: var(--text-3);
  font-size: 11.5px;
  line-height: 1.5;
}

.moderation-intro__source {
  flex: none;
  padding: 4px 8px;
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 999px;
  background: rgba(8, 35, 54, 0.4);
  color: #bae6fd;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .moderation-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

/* Не даём общим стилям карточки модерации ломать полоски волны */
.pack-moderation__item .audio-preview span {
  margin-left: 0;
  font-size: inherit;
  color: inherit;
}

.pack-moderation__item .audio-preview {
  width: min(300px, 100%);
  flex: none;
}

.pack-moderation__item-meta {
  margin-left: 9px;
  color: var(--text-3);
  font-size: 12px;
}

@media (max-width: 760px) {
  .pack-moderation__item .audio-preview {
    width: 100% !important;
  }

  .pack-moderation__item-meta {
    display: block;
    margin: 3px 0 0;
  }
}

/* Пагинация загрузки и пака */
.upload-pagination,
.pack-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 14px 0;
  color: var(--text-3);
  font-size: 12px;
}

.upload-pagination .btn,
.pack-pagination .btn {
  min-width: 82px;
}

/* Кабинет: паки */
.my-packs-panel {
  margin-bottom: 28px;
}

.my-packs-panel .panel__head {
  align-items: flex-start;
}

.my-packs-panel .panel__hint {
  display: block;
  margin-top: 3px;
}

.dashboard-sounds-toolbar {
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.dashboard-sounds-toolbar > div:first-child {
  margin-right: auto;
}

.dashboard-sounds-toolbar .panel__title {
  font-size: 17px;
}

@media (max-width: 760px) {
  .dashboard-sounds-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-sounds-toolbar > div:first-child {
    margin-right: 0;
  }

  .my-packs-panel .panel__head {
    flex-direction: column;
  }
}

/* Редактирование пака */
.pack-edit__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.pack-edit__meta {
  max-width: 820px;
  margin-bottom: 34px;
}

.pack-edit__meta form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pack-edit__meta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pack-edit__list {
  border-top: 1px solid var(--line);
}

.pack-edit__item {
  border-bottom: 1px solid var(--line);
}

.pack-edit__item-head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 10px 4px;
  border: 0;
  background: transparent;
  color: var(--text-2);
  text-align: left;
}

.pack-edit__item-head:hover {
  color: var(--text);
}

.pack-edit__number {
  flex: none;
  color: var(--text-3);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.pack-edit__item-head strong {
  min-width: 180px;
  color: var(--text);
  font-size: 13px;
  font-weight: 550;
}

.pack-edit__item-head > span:nth-of-type(2) {
  color: var(--text-3);
  font-size: 11px;
}

.pack-edit__chevron {
  margin-left: auto;
  color: var(--text-3);
  font-size: 18px;
}

.pack-edit__item-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 6px 4px 22px 36px;
}

.pack-edit__files {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.pack-edit__notice {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-3);
  font-size: 11px;
}

.pack-edit__item-actions {
  display: flex;
  gap: 8px;
}

.pack-edit__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 0;
  color: var(--text-3);
  font-size: 12px;
}

.file-control--edit {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.file-control--edit .file-control__button {
  align-self: flex-start;
}

@media (max-width: 760px) {
  .pack-edit__item-head strong {
    min-width: 0;
    flex: 1;
  }

  .pack-edit__item-head > span:nth-of-type(2) {
    display: none;
  }

  .pack-edit__item-body {
    padding-left: 0;
  }

  .pack-edit__files {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pack-moderation__pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 2px;
  color: var(--text-3);
  font-size: 11px;
}

.pack-moderation__pagination .btn {
  min-width: 72px;
}

/* ============================================================
   Быстрая моторика: страницы, секции, табы и поповеры
   ============================================================ */
:root {
  --motion-fast: 160ms;
  --motion-base: 240ms;
  --motion-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

.page-motion {
  animation: page-enter var(--motion-base) var(--motion-ease) both;
}

.tab-panel {
  animation: panel-enter var(--motion-fast) var(--motion-ease) both;
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Отдельное свойство translate, чтобы не конфликтовать с hover-transform карточек */
.reveal {
  opacity: 0;
  translate: 0 10px;
  transition:
    opacity var(--motion-base) var(--motion-ease) var(--reveal-delay, 0ms),
    translate var(--motion-base) var(--motion-ease) var(--reveal-delay, 0ms);
  will-change: opacity, translate;
}

.reveal.is-revealed {
  opacity: 1;
  translate: 0 0;
  will-change: auto;
}

.dropdown,
.support-panel,
.modal,
[role='dialog'] {
  animation: pop-enter var(--motion-fast) var(--motion-ease) both;
}

@keyframes pop-enter {
  from {
    opacity: 0;
    transform: translateY(5px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.faq-entry[open] .faq-entry__answer {
  animation: answer-enter var(--motion-fast) var(--motion-ease) both;
}

@keyframes answer-enter {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .page-motion,
  .tab-panel,
  .dropdown,
  .support-panel,
  .modal,
  [role='dialog'],
  .faq-entry[open] .faq-entry__answer {
    animation: none;
  }

  .reveal,
  .reveal.is-revealed {
    opacity: 1;
    translate: none;
    transition: none;
  }
}

.faq-cta {
  min-height: 34px !important;
  border-radius: 8px !important;
  border: 1px solid var(--text) !important;
  background: var(--text) !important;
  color: #0a0a0b !important;
  font-family: var(--font) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.faq-cta * {
  color: inherit !important;
}

/* Колокольчик уведомлений */
.notif {
  position: relative;
  display: inline-flex;
}

.notif__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--text-2);
  transition: color 0.15s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease);
}

.notif__trigger:hover,
.notif__trigger.has-unread {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--line);
}

.notif__count {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border: 1px solid var(--bg);
  border-radius: 999px;
  background: var(--accent);
  color: #0a0a0b;
  font-size: 8px;
  font-weight: 800;
  line-height: 12px;
  text-align: center;
}

.notif-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  width: 360px;
  max-height: 430px;
  overflow: auto;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg-raised);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  animation: panel-enter 0.16s var(--ease) both;
}

.notif-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--line);
}

.notif-panel__head strong {
  font-size: 13px;
}

.notif-panel__head button {
  border: 0;
  background: transparent;
  color: var(--text-3);
  font-size: 10px;
  cursor: pointer;
}

.notif-panel__head button:hover {
  color: var(--text);
}

.notif-panel__list {
  display: flex;
  flex-direction: column;
}

.notif-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  transition: background 0.15s var(--ease);
}

.notif-item:last-child {
  border-bottom: 0;
}

.notif-item:hover {
  background: var(--surface-2);
  color: var(--text);
}

.notif-item.is-unread {
  background: rgba(255, 69, 58, 0.035);
}

.notif-item__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.4;
}

.notif-item__body strong {
  color: var(--text);
  font-weight: 600;
}

.notif-item__pack {
  overflow: hidden;
  color: var(--text-2);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notif-item__body time {
  color: var(--text-3);
  font-size: 10px;
}

.notif-item__dot {
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.notif-panel__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 30px 24px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 760px) {
  .notif-panel {
    position: fixed;
    top: 116px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: min(430px, calc(100vh - 140px));
  }

  .notif__trigger {
    width: 32px;
    height: 32px;
  }
}

/* Лайки паков и звуков */
.pack-like,
.pack-item__like {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--text-3);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.pack-like:hover,
.pack-item__like:hover {
  color: var(--text);
  border-color: var(--line-3);
  background: var(--surface-2);
}

.pack-like.is-liked,
.pack-item__like.is-liked {
  color: #ff6b62;
  border-color: rgba(255, 105, 97, 0.35);
  background: rgba(255, 69, 58, 0.08);
}

.pack-like {
  margin-left: 4px;
}

.pack-item__like {
  min-height: 26px;
  padding: 0 7px;
  margin-right: 2px;
}

/* Избранное: паки и звуки из паков */
.favorites-page .favorites-section:first-of-type {
  padding-top: 8px;
}

.favorites-section .section__head {
  align-items: baseline;
}

.favorite-items {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.favorite-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  transition: background 0.15s var(--ease);
}

.favorite-item:hover {
  background: rgba(255, 255, 255, 0.018);
  color: var(--text);
}

.favorite-item > img {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 6px;
  object-fit: cover;
}

.favorite-item__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.favorite-item__body strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.favorite-item__body span {
  overflow: hidden;
  color: var(--text-3);
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-item__likes {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #ff6b62;
  font-size: 11px;
}

@media (max-width: 760px) {
  .pack-item__buy {
    flex-wrap: wrap;
  }

  .pack-item__like {
    order: 4;
  }

  .favorite-item {
    align-items: flex-start;
    gap: 10px;
  }

  .favorite-item > img {
    width: 40px;
    height: 40px;
  }
}

/* Astryx Button, адаптированный под ZVUCHKA */
.zv-action {
  min-height: 42px !important;
  height: auto !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  border: 1px solid var(--line-2) !important;
  background: transparent !important;
  color: var(--text) !important;
  font-family: var(--font) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
  transition: background 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease) !important;
}

.zv-action.zv-action--sm {
  min-height: 34px !important;
  padding: 0 13px !important;
  font-size: 11.5px !important;
}

.zv-action.zv-action--lg {
  min-height: 48px !important;
  padding: 0 22px !important;
  font-size: 14px !important;
}

.zv-action:hover {
  border-color: var(--text) !important;
  background: var(--surface-2) !important;
  color: var(--text) !important;
}

.zv-action [class*='xds-'],
.zv-action span {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

.zv-action--primary {
  border-color: var(--text) !important;
  background: var(--text) !important;
  color: #0a0a0b !important;
}

.zv-action--primary:hover {
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  color: #0a0a0b !important;
}

.zv-action--secondary {
  background: transparent !important;
}

.zv-action--ghost {
  border-color: transparent !important;
  background: transparent !important;
  color: var(--text-2) !important;
}

.zv-action--ghost:hover {
  border-color: var(--line-2) !important;
  color: var(--text) !important;
}

.zv-action[disabled],
.zv-action[aria-disabled='true'] {
  opacity: 0.45 !important;
}

.zv-action--block {
  width: 100% !important;
}

.header__start {
  min-height: 34px !important;
  padding: 0 14px !important;
  font-size: 12px !important;
}

.pack-buy .zv-action {
  flex: none;
}

@media (max-width: 760px) {
  .pack-buy .zv-action {
    width: 100%;
  }
}

.upload-license {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 11.5px;
  line-height: 1.45;
  cursor: pointer;
}

.upload-license input {
  flex: none;
  margin-top: 2px;
  accent-color: var(--accent);
}

.upload-license a {
  color: var(--text);
  text-decoration: underline;
}

.drops__icon {
  color: var(--accent);
  transition: transform 0.16s var(--ease);
}

.drops:hover .drops__icon {
  transform: rotate(-8deg) scale(1.08);
}

/* Подтверждение открытия пака/звука */
.purchase-dialog {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.purchase-dialog__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 12px;
}

.purchase-dialog__row strong {
  color: var(--text);
  font-size: 14px;
}

.purchase-dialog__text {
  margin: 2px 0 0;
  color: var(--text-3);
  font-size: 11.5px;
  line-height: 1.5;
}

/* ============================================================
   Ивент: Obsidian Chrome — только для раздела /events
   ============================================================ */
.event-page {
  --event-onyx: #0a0a0a;
  --event-slate: #536878;
  --event-alabaster: #e5e4e2;
  --event-muted: #c4c9cc;
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px) 0 clamp(56px, 7vw, 92px);
  color: var(--event-alabaster);
  background:
    radial-gradient(ellipse at 50% -12%, rgba(83, 104, 120, 0.62), transparent 58%),
    linear-gradient(180deg, #0a0a0a 0%, #172027 34%, #536878 62%, #0a0a0a 100%);
}

.event-page::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 28%, rgba(229, 228, 226, 0.055) 47%, transparent 64%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.35), transparent 40%);
}

.event-page > .container.page {
  position: relative;
  z-index: 1;
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
}

.event-page .eyebrow,
.event-page .event-card__season {
  color: var(--event-alabaster);
  letter-spacing: 0.12em;
}

.event-page .page__title,
.event-page .section__title,
.event-page .event-card__title,
.event-page .event-hero .page__title,
.event-page .pack-card__title {
  color: var(--event-alabaster);
}

.event-page .page__lead,
.event-page .event-card__desc,
.event-page .event-rules li,
.event-page .pack-card__meta {
  color: var(--event-muted);
}

.event-page .breadcrumbs,
.event-page .breadcrumbs a,
.event-page .link-muted {
  color: #b8c2c7;
}

.event-page .breadcrumbs__current {
  color: var(--event-alabaster);
}

.event-page .event-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(229, 228, 226, 0.26);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(10, 10, 10, 0.94) 0%, rgba(38, 52, 61, 0.84) 48%, rgba(83, 104, 120, 0.62) 100%);
  box-shadow: inset 0 1px 0 rgba(229, 228, 226, 0.12), 0 24px 60px rgba(0, 0, 0, 0.28);
}

.event-page .event-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 20%, rgba(229, 228, 226, 0.08) 48%, transparent 72%);
}

.event-page .event-hero > * {
  position: relative;
  z-index: 1;
}

.event-page .event-hero__badge {
  color: var(--event-alabaster);
  border-color: rgba(229, 228, 226, 0.34);
  background: rgba(10, 10, 10, 0.46);
}

.event-page .event-hero__stats {
  color: #d2d7d9;
}

.event-page .event-hero__stats span {
  border-color: rgba(229, 228, 226, 0.2);
}

.event-page .event-rules {
  color: var(--event-onyx);
  border-color: rgba(229, 228, 226, 0.55);
  background: var(--event-alabaster);
}

.event-page .event-rules h2,
.event-page .event-rules li {
  color: var(--event-onyx);
}

.event-page .event-rules li::marker {
  color: var(--event-slate);
}

.event-page .event-card {
  color: var(--event-alabaster);
  border-color: rgba(229, 228, 226, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(229, 228, 226, 0.08), transparent 44%),
    linear-gradient(145deg, rgba(10, 10, 10, 0.86), rgba(83, 104, 120, 0.42));
}

.event-page .event-card:hover {
  border-color: rgba(229, 228, 226, 0.62);
  background:
    radial-gradient(circle at 100% 0%, rgba(229, 228, 226, 0.12), transparent 46%),
    linear-gradient(145deg, rgba(10, 10, 10, 0.9), rgba(83, 104, 120, 0.56));
}

.event-page .event-card__meta,
.event-page .event-card__dates {
  color: #c5cdd1;
}

.event-page .badge {
  color: var(--event-alabaster);
  border-color: rgba(229, 228, 226, 0.3);
  background: rgba(10, 10, 10, 0.35);
}

.event-page .badge--success {
  color: var(--event-onyx);
  border-color: var(--event-alabaster);
  background: var(--event-alabaster);
}

.event-page .btn--primary {
  border-color: var(--event-alabaster);
  background: var(--event-alabaster);
  color: var(--event-onyx);
}

.event-page .btn--primary:hover {
  border-color: #fff;
  background: #fff;
  color: var(--event-onyx);
}

.event-page .btn--secondary,
.event-page .btn--ghost {
  border-color: rgba(229, 228, 226, 0.4);
  color: var(--event-alabaster);
}

.event-page .btn--secondary:hover,
.event-page .btn--ghost:hover {
  border-color: var(--event-alabaster);
  background: rgba(229, 228, 226, 0.1);
  color: var(--event-alabaster);
}

.event-page .pack-card {
  color: var(--event-alabaster);
  border-color: rgba(229, 228, 226, 0.22);
  background: rgba(10, 10, 10, 0.62);
}

.event-page .pack-card:hover {
  border-color: rgba(229, 228, 226, 0.55);
  background: rgba(83, 104, 120, 0.22);
}

.event-page .panel__empty {
  color: #b8c2c7;
}

/* Старый зимний вариант перекрываем палитрой Obsidian Chrome */
.event-page--winter .event-hero,
.event-page--winter .event-rules,
.event-card--winter {
  background:
    linear-gradient(135deg, rgba(10, 10, 10, 0.94) 0%, rgba(38, 52, 61, 0.84) 48%, rgba(83, 104, 120, 0.62) 100%);
  border-color: rgba(229, 228, 226, 0.26);
}

.event-page--winter .event-hero .page__title,
.event-page--winter .event-hero .page__lead,
.event-page--winter .event-hero__stats,
.event-page--winter .event-rules h2,
.event-page--winter .event-rules,
.event-page--winter .event-rules li,
.event-card--winter .event-card__title {
  color: var(--event-alabaster);
}

.event-page--winter .event-rules {
  color: var(--event-onyx);
  background: var(--event-alabaster);
}

.event-page--winter .event-rules h2,
.event-page--winter .event-rules li {
  color: var(--event-onyx);
}

.event-page--winter .event-hero__badge {
  color: var(--event-alabaster);
  background: rgba(10, 10, 10, 0.46);
  border-color: rgba(229, 228, 226, 0.34);
}

.event-page--winter .event-rules li::marker {
  color: var(--event-slate);
}

.event-card--winter .event-card__season {
  color: var(--event-alabaster);
}

.event-page ::selection {
  background: var(--event-alabaster);
  color: var(--event-onyx);
}

@media (max-width: 760px) {
  .event-page {
    padding: 24px 0 48px;
  }

  .event-page .event-hero {
    padding: 22px;
    border-radius: 12px;
  }

  .event-page .event-rules {
    padding: 18px;
    border-radius: 10px;
  }
}

/* Постер ивента: снежный ZVUCHKA + Obsidian Chrome */
.event-page .event-hero,
.event-page--winter .event-hero {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.96) 0%, rgba(10, 10, 10, 0.82) 42%, rgba(83, 104, 120, 0.42) 100%),
    url('/brand/event-ice.jpg') center / cover no-repeat;
}

.events-page {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.58) 0%, rgba(10, 10, 10, 0.78) 52%, #0a0a0a 100%),
    url('/brand/event-ice.jpg') center top / cover no-repeat;
}

.home-event {
  border-color: rgba(229, 228, 226, 0.28);
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.97) 0%, rgba(10, 10, 10, 0.82) 52%, rgba(83, 104, 120, 0.34) 100%),
    url('/brand/event-ice.jpg') right center / cover no-repeat;
}

.home-event:hover {
  border-color: rgba(229, 228, 226, 0.62);
}

.home-event__eyebrow {
  color: #e5e4e2;
}

.home-event__title {
  color: #e5e4e2;
}

.home-event__text {
  color: #c4c9cc;
}

.home-event__cta {
  color: #e5e4e2;
}

.home-event__mark {
  color: rgba(229, 228, 226, 0.38);
  filter: drop-shadow(0 0 28px rgba(83, 104, 120, 0.35));
}

@media (max-width: 760px) {
  .event-page .event-hero,
  .event-page--winter .event-hero {
    background-position: 62% center;
  }

  .events-page {
    background-position: 58% top;
  }

  .home-event {
    background-position: 64% center;
  }
}
