:root {
  --bg: #0b0b0c;
  --card: #1c1c1f;
  --card2: #27272b;
  --text: #f5f5f6;
  --muted: #8f8f95;
  --accent: #bdff35;
  --accent2: #8cd51c;
  --danger: #f23b65;
  --line: rgba(255,255,255,.08);
  --shadow: 0 20px 55px rgba(0,0,0,.48);
}
* {
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
*::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  background: transparent !important;
}
/* Премиум-приложение: запрет масштабирования жестом (пинч-зум). Прокрутка/свайпы остаются. */
/* overflow-x:clip + overscroll-behavior-x:none — без горизонтальной прокрутки/«резинки» корня:
   иначе резкий свайп влево-вправо «тащил» весь интерфейс за пальцем. Горизонтальные ленты
   (истории, вкладки, карусели) — отдельные scroll-контейнеры и продолжают листаться сами. */
html { background: #000; touch-action: pan-x pan-y; overflow-x: clip; overscroll-behavior-x: none; -webkit-tap-highlight-color: transparent; }
/* Убираем серый/прозрачный «отблик» подсветки тапа на всех кнопках (особенно нижнее меню при двойном тапе). */
* { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
button, a, [role="button"], .bottom-nav-btn {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none; user-select: none; /* без подсветки выделения текста при двойном тапе */
}
body {
  margin: 0;
  min-height: 100svh;
  background: radial-gradient(circle at 50% -20%, rgba(189,255,53,.14), transparent 32%), #000;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  overflow-x: clip;
}
html,
body,
.modal-sheet,
.chat-list,
.admin-table,
.asset-picker-list,
.city-suggestions,
.messenger-thread,
.artist-dialog-list {
  -webkit-overflow-scrolling: touch;
}
button, input, textarea, select { font: inherit; }
button { border: 0; color: inherit; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
.app {
  min-height: 100svh;
  display: flex;
  justify-content: center;
}

/* Бут-сплэш — лого вместо чёрного экрана на старте (убирается первым render()). */
.boot-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(189,255,53,.16), transparent 46%),
    linear-gradient(180deg, #101011, #0b0b0c 60%);
}
.boot-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #fff;
  animation: bootPulse 1.3s ease-in-out infinite;
}
.boot-logo b { color: #bdff35; font-weight: 800; }
.boot-logo i {
  width: 8px; height: 8px; margin-left: 4px;
  border-radius: 50%;
  background: #bdff35;
  box-shadow: 0 0 16px rgba(189,255,53,.8);
  align-self: center;
}
.boot-center { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.boot-bar {
  width: 168px; height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
}
.boot-bar span {
  display: block; height: 100%; width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #bdff35, transparent);
  animation: bootSlide 1.15s ease-in-out infinite;
}
.boot-loading {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  color: rgba(255,255,255,.62);
}
@keyframes bootSlide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
@keyframes bootPulse {
  0%, 100% { opacity: .82; transform: scale(.99); }
  50% { opacity: 1; transform: scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .boot-logo { animation: none; }
  .boot-bar span { animation: none; }
}
.phone-stage {
  width: min(100vw, 390px);
  min-height: 100svh;
  position: relative;
  background: #111;
  box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 0 70px rgba(0,0,0,.85);
}
.screen-wrap {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: #111;
}
.screen-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100svh;
  user-select: none;
  -webkit-user-drag: none;
}
/* Маскируем нарисованную в скриншоте статус-строку (часы/сеть/батарея) сверху */
.screen-top-mask {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2.9%;
  background: #000;
  z-index: 9;
  pointer-events: none;
}
/* Маскируем нарисованное в скриншоте нижнее меню (наше — настоящее фиксированное) */
.screen-bottom-mask {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 8%;
  background: linear-gradient(180deg, rgba(11,11,12,0) 0%, #0b0b0c 22%);
  z-index: 9;
  pointer-events: none;
}
.hotspot {
  position: absolute;
  z-index: 10;
  display: block;
  border-radius: 18px;
  opacity: 0;
  background: rgba(189,255,53,0);
  -webkit-tap-highlight-color: transparent;
}
.hotspot:focus-visible {
  opacity: 1;
  outline: 2px solid var(--accent);
  background: rgba(189,255,53,.13);
}
.fixed-nav-hotspots {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: max(0px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(100vw, 390px);
  height: 74px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  pointer-events: none;
}
.fixed-nav-hotspots button {
  pointer-events: auto;
  opacity: 0;
  min-width: 0;
  -webkit-tap-highlight-color: transparent;
}
.hidden-admin-hit {
  position: fixed;
  z-index: 45;
  right: max(4px, env(safe-area-inset-right));
  top: max(4px, env(safe-area-inset-top));
  width: 44px;
  height: 44px;
  opacity: 0;
}
.toast {
  position: fixed;
  z-index: 10600; /* выше модалок/листов (modal-backdrop 9999, confirm 10500) — ошибка всегда видна поверх */
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(360px, calc(100vw - 28px));
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(28,28,31,.95);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: #fff;
  text-align: center;
  font-weight: 800;
  backdrop-filter: blur(12px);
}
/* Когда открыт модал/лист/онбординг — показываем тост сверху, чтобы он не прятался за нижним листом (напр. ошибка при покупке доли) */
body.overlay-open .toast {
  top: calc(18px + env(safe-area-inset-top));
  bottom: auto;
}
/* Под открытой панелью/модалкой фон не прокручивается (стоит на месте). */
html.overlay-locked,
html.overlay-locked body {
  overflow: hidden !important;
  overscroll-behavior: none;
}
.modal-backdrop {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(5px);
}
.modal-sheet {
  width: min(390px, 100vw);
  max-height: min(82svh, 760px);
  overflow-y: auto;
  border-radius: 34px 34px 0 0;
  padding: 13px 18px calc(96px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #242428, #111113 72%);
  border: 1px solid var(--line);
  box-shadow: 0 -20px 55px rgba(0,0,0,.6);
}
.sheet-handle {
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  margin: 0 auto 18px;
}
.modal-sheet h2 {
  margin: 0 0 8px;
  font-size: 25px;
  line-height: .96;
  letter-spacing: -.04em;
}
.modal-sheet p {
  color: #cfcfd4;
  line-height: 1.4;
  margin: 0 0 14px;
}
.modal-actions, .admin-actions, .row-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.btn, .primary, .secondary, .danger-btn, .ghost {
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 950;
}
.primary {
  background: var(--accent);
  color: #101010;
  box-shadow: 0 10px 24px rgba(189,255,53,.13), inset 0 1px 0 rgba(255,255,255,.35);
}
.secondary, .ghost {
  background: #2a2a2e;
  color: #f3f3f4;
  border: 1px solid var(--line);
}
.danger-btn {
  background: rgba(242,59,101,.13);
  color: #ff86a0;
  border: 1px solid rgba(242,59,101,.35);
}
.danger-btn:disabled {
  opacity: .42;
  cursor: not-allowed;
  filter: grayscale(.35);
}
.tiny {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 12px;
}
.full-btn { width: 100%; justify-content: center; margin-top: 10px; }
.field {
  display: grid;
  gap: 7px;
  margin: 12px 0;
}
.field span { color: var(--muted); font-size: 12px; font-weight: 800; }
.input, .select, .textarea {
  width: 100%;
  min-height: 46px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #161619;
  color: var(--text);
  padding: 12px 14px;
  outline: none;
}
.textarea { min-height: 95px; resize: vertical; }
.gate-stage {
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(189,255,53,.25), transparent 30%),
    linear-gradient(180deg, #131314, #080809);
}
.gate-card {
  width: 100%;
  border-radius: 34px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(32,32,35,.98), rgba(12,12,13,.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.gate-logo {
  width: 72px;
  height: 72px;
  border-radius: 25px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #111;
  font-size: 38px;
  font-weight: 1000;
  margin-bottom: 18px;
}
.gate-card h1 {
  margin: 0;
  font-size: 38px;
  line-height: .88;
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.gate-card p {
  color: #c5c5ca;
  margin: 12px 0 18px;
  line-height: 1.38;
}
.role-grid { display: grid; gap: 10px; }
.role-card {
  width: 100%;
  display: grid;
  gap: 5px;
  text-align: left;
  padding: 14px;
  border-radius: 22px;
  background: #1d1d20;
  border: 1px solid var(--line);
}
.role-card b { font-size: 17px; }
.role-card span { color: var(--muted); font-size: 12px; line-height: 1.32; }
.role-card.active {
  background: linear-gradient(135deg, rgba(189,255,53,.18), #1d1d20 60%);
  border-color: rgba(189,255,53,.55);
}
.verify-list {
  display: grid;
  gap: 5px;
  color: #bfc0c6;
  font-size: 12px;
  margin: 8px 0 14px;
}
.state-grid {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.state-card {
  border-radius: 22px;
  background: #1b1b1e;
  border: 1px solid var(--line);
  padding: 13px;
}
.state-card b { display: block; margin-bottom: 5px; }
.state-card small { color: var(--muted); line-height: 1.3; }
.admin-body {
  background: radial-gradient(circle at 20% -10%, rgba(189,255,53,.17), transparent 35%), #09090a;
  overflow-x: hidden;
}
.admin-app {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 28px 18px 60px;
}
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-logo {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  background: var(--accent);
  color: #111;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 1000;
}
.admin-top h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: .9;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
.admin-top p { margin: 5px 0 0; color: var(--muted); }
.session-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(31,31,34,.98), rgba(15,15,17,.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.session-box h3 { margin: 0 0 5px; }
.session-box p { margin: 0; color: var(--muted); }
.admin-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
}
.admin-card {
  border-radius: 30px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(31,31,34,.98), rgba(15,15,17,.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.admin-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -.03em;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.kpi {
  min-height: 98px;
  border-radius: 24px;
  background: #1f1f22;
  border: 1px solid var(--line);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.kpi span { color: var(--muted); font-size: 12px; }
.kpi b { font-size: 26px; letter-spacing: -.04em; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
.admin-table th { color: var(--muted); font-size: 12px; }
.badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
  background: #29292d;
  color: #dadade;
}
.badge.on { color: #111; background: var(--accent); }
.badge.warn { color: #ffcf62; background: rgba(255,207,98,.12); }
.module-list { display: grid; gap: 10px; }
.module-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border-radius: 22px;
  background: #1e1e21;
  border: 1px solid var(--line);
}
.module-item p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.switch {
  width: 58px;
  height: 34px;
  border-radius: 999px;
  background: #3a3a3e;
  padding: 4px;
  flex: 0 0 auto;
}
.switch span {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  transition: transform .18s ease;
}
.switch.active { background: var(--accent); }
.switch.active span { transform: translateX(24px); background: #111; }
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.preview-card {
  border-radius: 22px;
  overflow: hidden;
  background: #171719;
  border: 1px solid var(--line);
}
.preview-card img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; display: block; }
.preview-card span { display: block; padding: 8px 10px 10px; color: var(--muted); font-size: 12px; }
.full-width { grid-column: 1 / -1; }
@media (max-width: 820px) {
  .admin-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-top, .session-box { align-items: flex-start; flex-direction: column; }
  .admin-table { display: block; overflow-x: auto; }
}
@media (display-mode: standalone) {
  .phone-stage { min-height: 100svh; }
}

/* Final mobile prototype additions */
.gate-stage {
  background:
    radial-gradient(circle at 50% -8%, rgba(189,255,53,.22), transparent 32%),
    radial-gradient(circle at 95% 15%, rgba(189,255,53,.07), transparent 28%),
    linear-gradient(180deg, #111113 0%, #070708 100%);
}
.gate-card {
  min-height: 78svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand-wordmark {
  margin: 0 0 18px;
  font-size: clamp(43px, 12vw, 58px);
  line-height: .82;
  font-weight: 1000;
  letter-spacing: -.075em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 18px 50px rgba(189,255,53,.18);
}
.brand-wordmark::after {
  content: "";
  display: block;
  width: 112px;
  height: 9px;
  border-radius: 999px;
  margin-top: 14px;
  background: var(--accent);
  box-shadow: 0 0 34px rgba(189,255,53,.38);
}
.gate-lead {
  max-width: 31ch;
  color: #d7d7dc !important;
  font-weight: 650;
}
.chat-sheet { max-height: 88svh; }
.chat-list {
  display: grid;
  gap: 8px;
  max-height: 44svh;
  overflow-y: auto;
  padding: 4px 0 10px;
}
.chat-bubble {
  width: fit-content;
  max-width: 82%;
  border-radius: 18px;
  padding: 10px 12px;
  line-height: 1.32;
  font-size: 14px;
}
.chat-bubble.ai {
  background: #252529;
  color: #f3f3f5;
  border-bottom-left-radius: 6px;
}
.chat-bubble.user {
  justify-self: end;
  background: var(--accent);
  color: #111;
  font-weight: 750;
  border-bottom-right-radius: 6px;
}
.chat-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.video-frame {
  position: relative;
  min-height: 210px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(189,255,53,.25), transparent 28%),
    linear-gradient(135deg, #050506, #202025 55%, #0b0b0c);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin: 10px 0 14px;
}
.video-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(189,255,53,.13);
  filter: blur(18px);
  animation: videoPulse 2.5s ease-in-out infinite;
}
.video-play {
  position: relative;
  z-index: 2;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #111;
  font-size: 28px;
  box-shadow: 0 22px 55px rgba(0,0,0,.45);
}
.video-frame span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: rgba(255,255,255,.7);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
@keyframes videoPulse { 0%, 100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.12); opacity: 1; } }
.uploaded-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  object-fit: cover;
  background: #111114;
  border: 1px solid var(--line);
  margin: 10px 0 14px;
}
.photo-frame {
  min-height: 240px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent),
    radial-gradient(circle at 40% 35%, rgba(255,255,255,.22), transparent 16%),
    radial-gradient(circle at 65% 40%, rgba(189,255,53,.2), transparent 25%),
    #17171a;
  border: 1px solid var(--line);
  margin: 10px 0 14px;
  color: rgba(255,255,255,.62);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 1000;
}
.photo-frame b {
  align-self: end;
  margin-bottom: 18px;
  color: #fff;
  letter-spacing: normal;
  text-transform: none;
}
.photo-frame.uploaded-photo-frame.has-image {
  min-height: 300px;
  background-size: cover;
  background-position: center;
  text-transform: none;
  letter-spacing: 0;
}
.owner-overlay {
  position: absolute;
  z-index: 15;
  left: 12px;
  right: 12px;
  bottom: 86px;
  display: grid;
  gap: 8px;
  pointer-events: none;
}
.owner-item {
  pointer-events: auto;
  text-align: left;
  border-radius: 18px;
  padding: 10px 12px;
  background: rgba(24,24,27,.88);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.owner-item b,
.owner-item span {
  display: block;
}
.owner-item b {
  font-size: 13px;
}
.owner-item span {
  margin-top: 3px;
  color: #c8c8ce;
  font-size: 12px;
  line-height: 1.25;
}
.owner-item.media {
  cursor: pointer;
}
.mini-player {
  position: fixed;
  z-index: 10100;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  width: min(360px, calc(100vw - 28px));
  min-height: 68px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 26px 46px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 9px 9px 9px 7px;
  background: rgba(21,21,24,.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.home-market-stage .mini-player {
  z-index: 10100;
  bottom: 80px;
}

.audio-player-backdrop {
  z-index: 10080 !important;
}
.mini-close {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
}
.mini-close:active { transform: scale(.9); background: rgba(242,59,101,.35); }
.mini-cover {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
  background: #29292d;
}
.mini-stop {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2c2c31;
  color: #fff;
  font-size: 18px;
}
.mini-player b,
.mini-player span {
  display: block;
}
.mini-copy {
  min-width: 0;
}
.mini-copy b,
.mini-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-player span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
.mini-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}
.mini-controls button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-size: 19px;
  font-weight: 900;
}
.mini-progress {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
}
.mini-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform-origin: left center;
  animation: progressFill 12s linear forwards;
}
@keyframes progressFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.admin-lock {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 18px;
}
.admin-lock-card {
  width: min(440px, 100%);
  border-radius: 34px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(32,32,35,.98), rgba(12,12,13,.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.admin-lock-card h1 {
  margin: 0 0 8px;
  font-size: 42px;
  line-height: .9;
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.admin-lock-card p {
  color: var(--muted);
  line-height: 1.4;
  margin: 0 0 14px;
}
.admin-denied {
  color: #ff86a0;
  font-size: 13px;
  font-weight: 800;
  min-height: 18px;
}
@media (max-width: 390px) {
  .brand-wordmark { font-size: 42px; }
  .modal-sheet { border-radius: 28px 28px 0 0; }
  .chat-input-row { grid-template-columns: 1fr; }
  .profile-four-switch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Outdoor advertising marketplace module — CLEAN FINAL */


.modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  background: rgba(0, 0, 0, .72) !important;
  backdrop-filter: blur(16px) !important;
  z-index: 9999 !important;
}

/* Плашка «поделиться» должна быть ПОВЕРХ плавающего мини-плеера (z-index 10100) и меню,
   иначе она прячется за ними (жалоба юзера). Плеер скрываем, пока плашка открыта. */
.modal-backdrop.modal-backdrop-top { z-index: 10300 !important; }
body:has(.modal-backdrop-top) .mini-player { display: none !important; }

/* ПРЕМИУМ-пикеры (выбор трека для скана + режим уведомлений) — не серые дефолтные select,
   а тёмная плашка с лаймовой рамкой/свечением и кастомной стрелкой (жалоба «серые ужасные»). */
select[data-scan-pick], select[data-notify-select] {
  -webkit-appearance: none !important; appearance: none !important;
  width: 100% !important;
  min-height: 52px !important;
  background-color: #14160f !important;
  background-image:
    linear-gradient(135deg, rgba(189,255,53,.22), rgba(20,22,15,0) 58%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M7 9 0 0h14z' fill='%23bdff35'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: left top, right 16px center !important;
  background-size: 100% 100%, 14px 9px !important;
  border: 1.5px solid var(--accent) !important;
  border-radius: 16px !important;
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  padding: 15px 44px 15px 16px !important;
  box-shadow: 0 0 0 1px rgba(189,255,53,.18), 0 0 18px rgba(189,255,53,.12), 0 10px 26px rgba(0,0,0,.45) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.5) !important;
}
select[data-scan-pick]:focus, select[data-notify-select]:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px var(--accent), 0 0 22px rgba(189,255,53,.25) !important;
}
select[data-scan-pick] option, select[data-notify-select] option {
  background: #14160f !important; color: #fff !important; font-weight: 700 !important;
}
.scan-track-pick > span, .scan-track-pick > span small,
.scan-pick-label, .scan-pick-label small { color: var(--accent) !important; font-weight: 900 !important; }

/* Кастомный премиум-пикер трека (замена серого нативного select на Android). */
.scan-track-pick { position: relative; display: block; }
.scan-pick-label { display: block; margin-bottom: 8px; }
.scan-pick-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; min-height: 52px; text-align: left; cursor: pointer;
  background-color: #14160f;
  background-image: linear-gradient(135deg, rgba(189,255,53,.22), rgba(20,22,15,0) 58%);
  border: 1.5px solid var(--accent); border-radius: 16px;
  color: #fff; font-weight: 900; font-size: 15px; padding: 14px 16px;
  box-shadow: 0 0 0 1px rgba(189,255,53,.18), 0 0 18px rgba(189,255,53,.12), 0 10px 26px rgba(0,0,0,.45);
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.scan-pick-btn .scan-pick-cur { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scan-pick-btn .scan-pick-caret { color: var(--accent); font-size: 14px; transition: transform .15s ease; }
.scan-pick-btn.is-open .scan-pick-caret { transform: rotate(180deg); }
.scan-pick-menu {
  margin-top: 8px; max-height: 240px; overflow-y: auto;
  background: #0e100b; border: 1.5px solid var(--accent); border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0,0,0,.55), 0 0 18px rgba(189,255,53,.12);
  padding: 6px;
}
.scan-pick-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; text-align: left; cursor: pointer; border: 0; border-radius: 10px;
  background: transparent; color: #f2f4ea; font-weight: 700; font-size: 14.5px;
  padding: 12px 12px; line-height: 1.25;
}
.scan-pick-opt .scan-pick-opt-txt { flex: 1 1 auto; }
.scan-pick-opt:hover, .scan-pick-opt:active { background: rgba(189,255,53,.10); }
.scan-pick-opt.is-sel { background: rgba(189,255,53,.16); color: #fff; font-weight: 900; }
.scan-pick-check { color: var(--accent); font-weight: 900; }

/* Карта: срок и CVV в одну строку. */
.card-row-2 { display: flex; gap: 10px; }
.card-row-2 > .field { flex: 1 1 0; min-width: 0; }

/* Премиум-плашки уведомлений (звук/вибрация) вместо серого нативного select. */
.notify-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.notify-chip {
  flex: 1 1 calc(50% - 8px); min-width: 120px; cursor: pointer;
  background-color: #14160f;
  background-image: linear-gradient(135deg, rgba(189,255,53,.10), rgba(20,22,15,0) 60%);
  border: 1.5px solid rgba(189,255,53,.35); border-radius: 14px;
  color: #f2f4ea; font-weight: 800; font-size: 14px; padding: 13px 12px; text-align: center;
}
.notify-chip.is-sel {
  border-color: var(--accent); color: #fff;
  background-image: linear-gradient(135deg, rgba(189,255,53,.28), rgba(20,22,15,0) 60%);
  box-shadow: 0 0 0 1px rgba(189,255,53,.25), 0 0 16px rgba(189,255,53,.18);
}

/* Поддержка: тред сообщений. */
.support-thread { max-height: 46vh; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; margin: 6px 0 12px; padding: 4px; }
.support-msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.35; }
.support-msg .support-who { display: block; font-size: 11px; opacity: .7; margin-bottom: 3px; font-weight: 800; }
.support-msg.mine { align-self: flex-end; background: rgba(189,255,53,.16); border: 1px solid rgba(189,255,53,.4); color: #fff; }
.support-msg.them { align-self: flex-start; background: #14160f; border: 1px solid rgba(255,255,255,.12); color: #f2f4ea; }

/* UPC в карточке трека (раздел треков артиста/лейбла/каталога). */
.track-upc { display: block; font-size: 10.5px; letter-spacing: .3px; color: rgba(189,255,53,.85); font-weight: 700; margin-top: 2px; }


.outdoor-sheet {
  width: min(390px, calc(100vw - 20px)) !important;
  max-width: 390px !important;
  height: auto !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  margin: 0 auto !important;
  padding: 18px 16px 110px !important;
  border-radius: 30px 30px 0 0 !important;
  box-sizing: border-box !important;
  background: #101012 !important;
  scrollbar-width: none !important;
}


.outdoor-sheet::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}


.outdoor-sheet h2 {
  font-size: 26px !important;
  line-height: 1 !important;
  margin: 6px 0 10px !important;
  color: #fff !important;
}


.outdoor-sheet p {
  font-size: 14px !important;
  line-height: 1.35 !important;
  color: rgba(255,255,255,.72) !important;
  margin: 0 0 14px !important;
}


.billboard-preview.brand-billboard {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1440 / 720 !important;
  height: auto !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  margin: 12px 0 14px !important;
  background: #e7c3c0 !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.35) !important;
}


.bb-left {
  position: relative !important;
  min-width: 0 !important;
  height: 100% !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.5), transparent 30%),
    linear-gradient(180deg, #f0d8d3, #e2b7b4) !important;
}


.bb-right {
  position: relative !important;
  min-width: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #b77f88, #6c4250) !important;
}


.bb-age {
  position: absolute !important;
  left: 6% !important;
  top: 7% !important;
  font-size: clamp(8px, 3vw, 16px) !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  color: rgba(30,30,35,.65) !important;
  z-index: 5 !important;
}


.bb-musiverse-logo {
  position: absolute !important;
  left: 8% !important;
  top: 16% !important;
  max-width: 78% !important;
  display: grid !important;
  gap: 3px !important;
  z-index: 5 !important;
}


.bb-wave {
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  height: 20px !important;
  margin-bottom: 2px !important;
}


.bb-wave i {
  width: 4px !important;
  border-radius: 99px !important;
  background: #61bfdc !important;
  display: block !important;
}


.bb-wave i:nth-child(1),
.bb-wave i:nth-child(5) {
  height: 9px !important;
}


.bb-wave i:nth-child(2),
.bb-wave i:nth-child(4) {
  height: 15px !important;
}


.bb-wave i:nth-child(3) {
  height: 20px !important;
}


.bb-musiverse-logo strong {
  font-size: clamp(11px, 3.2vw, 20px) !important;
  line-height: 1 !important;
  color: #55aeca !important;
  font-weight: 1000 !important;
  letter-spacing: .06em !important;
}


.bb-musiverse-logo span {
  font-size: clamp(4px, 1.2vw, 8px) !important;
  line-height: 1.1 !important;
  color: rgba(45,85,105,.68) !important;
  font-weight: 800 !important;
}


.bb-copy {
  position: absolute !important;
  left: 8% !important;
  right: 8% !important;
  bottom: 20% !important;
  top: auto !important;
  display: grid !important;
  gap: 1px !important;
  z-index: 6 !important;
  text-align: left !important;
}


.bb-copy em {
  font-style: normal !important;
  font-size: clamp(5px, 1.45vw, 9px) !important;
  line-height: 1.05 !important;
  color: #d5b16e !important;
  font-weight: 1000 !important;
  letter-spacing: .07em !important;
}


.bb-copy b {
  font-size: clamp(11px, 3.3vw, 22px) !important;
  line-height: .9 !important;
  color: #fff !important;
  font-weight: 1000 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  word-break: break-word !important;
  max-width: 100% !important;
  max-height: 42px !important;
  overflow: hidden !important;
}


.bb-copy span {
  font-size: clamp(7px, 2.1vw, 14px) !important;
  line-height: 1 !important;
  color: rgba(70,50,55,.94) !important;
  font-weight: 900 !important;
  word-break: break-word !important;
  max-width: 100% !important;
  max-height: 30px !important;
  overflow: hidden !important;
}


.bb-photo {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  color: rgba(255,255,255,.85) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}


.bb-photo[data-outdoor-photo-drag] {
  z-index: 20 !important;
  pointer-events: auto !important;
  touch-action: none !important;
  cursor: grab !important;
  user-select: none !important;
}


.bb-photo[data-outdoor-photo-drag]:active {
  cursor: grabbing !important;
}
/* Фото внутри макета — двигается через transform (translate по X и Y) + зум для запаса по обеим осям. */
.bb-photo-img {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  object-fit: cover !important;
  transform-origin: center center !important;
  will-change: transform; pointer-events: none; user-select: none; -webkit-user-drag: none;
}


.bb-legal {
  position: absolute !important;
  left: 4% !important;
  right: 4% !important;
  bottom: 3.5% !important;
  top: auto !important;
  z-index: 30 !important;
  padding-top: 5px !important;
  border-top: 1px solid rgba(255,255,255,.30) !important;
  color: rgba(35,35,40,.68) !important;
  font-size: clamp(3.8px, 1vw, 6.5px) !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: .035em !important;
  text-transform: uppercase !important;
  text-align: left !important;
}


.bb-ok {
  display: none !important;
}


.upload-card {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  margin-bottom: 12px !important;
}


.file-input-hidden,
.upload-card input[type="file"] {
  position: fixed !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


.upload-trigger {
  display: grid !important;
  grid-template-columns: 52px 1fr !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 16px !important;
  border-radius: 24px !important;
  background: #171719 !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  cursor: pointer !important;
}


.upload-plus {
  width: 52px !important;
  height: 52px !important;
  border-radius: 18px !important;
  display: grid !important;
  place-items: center !important;
  background: linear-gradient(135deg, #b7ff3c, #72d61f) !important;
  color: #101010 !important;
  font-size: 32px !important;
  font-weight: 1000 !important;
}


.upload-trigger b {
  display: block !important;
  color: #fff !important;
  font-size: 17px !important;
  margin-bottom: 4px !important;
}


.upload-trigger span {
  display: block !important;
  color: rgba(255,255,255,.55) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}


.asset-type-switch {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin: 12px 0 !important;
}


.asset-type-switch button {
  border: 0 !important;
  border-radius: 22px !important;
  padding: 16px !important;
  background: #171719 !important;
  color: rgba(255,255,255,.55) !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  border: 1px solid rgba(255,255,255,.08) !important;
}


.asset-type-switch button.active {
  background: linear-gradient(135deg, #b7ff3c, #72d61f) !important;
  color: #111 !important;
}


.choose-asset-button {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 58px 1fr !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 14px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(183,255,60,.45) !important;
  background:
    linear-gradient(135deg, rgba(183,255,60,.10), rgba(255,255,255,.03)),
    #171719 !important;
  color: #fff !important;
  text-align: left !important;
  margin-bottom: 12px !important;
}


.choose-asset-button span {
  display: block !important;
  color: rgba(255,255,255,.52) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  margin-bottom: 3px !important;
}


.choose-asset-button b {
  display: block !important;
  color: #fff !important;
  font-size: 17px !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
}


.choose-asset-button small {
  display: block !important;
  color: #b7ff3c !important;
  font-size: 12px !important;
  margin-top: 3px !important;
  font-weight: 800 !important;
}


.asset-cover {
  width: 56px !important;
  height: 56px !important;
  border-radius: 16px !important;
  display: grid !important;
  place-items: center !important;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 25%),
    linear-gradient(135deg, #434348, #151516) !important;
  color: #b7ff3c !important;
  font-weight: 1000 !important;
}


.asset-picker-list {
  display: grid !important;
  gap: 10px !important;
  max-height: 260px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 2px !important;
  margin-bottom: 14px !important;
  scrollbar-width: none !important;
}


.asset-picker-list::-webkit-scrollbar {
  display: none !important;
}


.asset-card {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 56px 1fr !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 12px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: #171719 !important;
  color: #fff !important;
  text-align: left !important;
}


.asset-card.active {
  border-color: rgba(183,255,60,.65) !important;
}


.asset-card b {
  display: block !important;
  font-size: 16px !important;
  margin-bottom: 3px !important;
}


.asset-card span {
  color: rgba(255,255,255,.50) !important;
  font-size: 12px !important;
}


.photo-adjust-panel {
  display: grid !important;
  gap: 12px !important;
}


.views-row {
  display: grid !important;
  grid-template-columns: 1fr 145px !important;
  gap: 10px !important;
  align-items: stretch !important;
}


.price-box {
  border-radius: 20px !important;
  padding: 10px 12px !important;
  background: #1b1b1e !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}


.price-box span {
  color: rgba(255,255,255,.50) !important;
  font-size: 11px !important;
  font-weight: 850 !important;
}


.price-box b {
  color: #b7ff3c !important;
  font-size: 20px !important;
  line-height: 1 !important;
  margin-top: 5px !important;
}


@media (max-width: 360px) {
  .views-row {
    grid-template-columns: 1fr !important;
  }
}
/* Fit / long artist name fix */


.bb-copy-long b {
  font-size: clamp(7px, 2.1vw, 14px) !important;
  line-height: .95 !important;
  max-height: none !important;
  overflow: visible !important;
  word-break: normal !important;
  white-space: normal !important;
}


.bb-copy-long span {
  font-size: clamp(6px, 1.8vw, 12px) !important;
  line-height: 1 !important;
  max-height: none !important;
  overflow: visible !important;
}


.bb-copy-long em {
  font-size: clamp(4.5px, 1.25vw, 8px) !important;
}


.bb-copy {
  bottom: 18% !important;
}
.city-field {
  position: relative !important;
}

.outdoor-sheet .upload-card,
.outdoor-sheet .asset-type-switch,
.outdoor-sheet .choose-asset-button,
.outdoor-sheet .asset-picker-list,
.outdoor-sheet .photo-adjust-panel,
.outdoor-sheet .outdoor-city-field,
.outdoor-sheet .views-row,
.outdoor-sheet .spec-card {
  position: relative !important;
  z-index: 1 !important;
  margin: 12px 0 !important;
}

.outdoor-sheet .outdoor-city-field {
  margin: 14px 0 12px !important;
  padding: 12px !important;
  border-radius: 24px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)),
    #151518 !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.outdoor-sheet .outdoor-city-field > span {
  display: block !important;
  margin-bottom: 8px !important;
  color: rgba(255,255,255,.58) !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
}

.outdoor-sheet .outdoor-city-field .pdd-panel {
  position: static !important;
  inset: auto !important;
  margin-top: 8px !important;
  max-height: 218px !important;
  z-index: auto !important;
}

.outdoor-sheet .field:not(.outdoor-city-field) {
  margin: 14px 0 10px !important;
}

.outdoor-sheet .field:not(.outdoor-city-field) > span {
  color: rgba(255,255,255,.58) !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
}

.outdoor-sheet .views-row {
  margin: 8px 0 14px !important;
}

.outdoor-sheet .views-row .input {
  min-height: 58px !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, #202024, #161619) !important;
  border: 1.5px solid rgba(255,255,255,.12) !important;
  font-size: 18px !important;
  font-weight: 950 !important;
}

.city-suggestions {
  display: grid !important;
  gap: 6px !important;
  margin-top: 8px !important;
  max-height: 170px !important;
  overflow-y: auto !important;
}

.city-suggestions:empty {
  display: none !important;
}

.city-suggestions button {
  width: 100% !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  background: #202024 !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  color: #fff !important;
  text-align: left !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

.city-suggestions button:active {
  background: #b7ff3c !important;
  color: #111 !important;
}

.home-live-overlay {
  position: absolute;
  z-index: 22;
  inset: 0;
  pointer-events: none;
}

.home-live-block {
  position: absolute;
  left: 4%;
  right: 4%;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.home-live-block button {
  pointer-events: auto;
}

.home-live-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-live-heading span {
  color: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,.65);
}

.home-live-block.label-news { top: 11.6%; }
.home-live-block.main-news { top: 18.4%; }
.home-live-block.exclusive-news { top: 25.4%; }
.home-live-block.catalogs-news { top: 36.5%; }
.home-live-block.artist-news { top: 50.9%; }
.home-live-block.all-tracks-news { top: 64.6%; }

.home-live-row.compact,
.home-main-release-grid,
.home-exclusive-grid,
.home-catalog-grid,
.home-all-track-list {
  display: grid;
  gap: 7px;
}

.home-live-row.compact,
.home-exclusive-grid,
.home-catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-main-release-grid {
  grid-template-columns: 1.15fr .85fr;
  grid-auto-rows: minmax(56px, auto);
}

.home-main-release-grid .home-live-track:first-child {
  grid-row: span 2;
  min-height: 122px;
  align-content: end;
}

.home-live-track,
.home-live-exclusive-card,
.home-live-catalog,
.home-all-tracks-button,
.home-track-search-row {
  min-width: 0;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(10,10,12,.34), rgba(10,10,12,.16));
  box-shadow: 0 12px 26px rgba(0,0,0,.22);
  backdrop-filter: blur(4px);
  text-align: left;
}

.home-live-track {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 7px;
}

.home-live-track img,
.home-live-catalog img,
.home-track-search-row img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
  background: #222;
}

.home-live-track.main-track:first-child {
  grid-template-columns: 1fr;
}

.home-live-track.main-track:first-child img {
  width: 100%;
  height: 72px;
  border-radius: 16px;
}

.home-live-track b,
.home-live-track small,
.home-live-exclusive-card b,
.home-live-exclusive-card small,
.home-live-catalog b,
.home-live-catalog small,
.home-all-tracks-button b,
.home-all-tracks-button small,
.home-track-search-row b,
.home-track-search-row small {
  display: block;
  min-width: 0;
}

.home-live-track b,
.home-live-exclusive-card b,
.home-live-catalog b,
.home-all-tracks-button b,
.home-track-search-row b {
  color: #fff;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 1000;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 9px rgba(0,0,0,.7);
}

.home-live-track small,
.home-live-exclusive-card small,
.home-live-catalog small,
.home-all-tracks-button small,
.home-track-search-row small {
  margin-top: 3px;
  color: rgba(255,255,255,.7);
  font-size: 10px;
  line-height: 1.2;
}

.home-live-exclusive-card {
  min-height: 76px;
  display: grid;
  align-content: end;
  gap: 3px;
  padding: 10px;
}

.home-live-exclusive-card span {
  width: fit-content;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(189,255,53,.16);
  color: var(--accent);
  font-size: 9px;
  font-weight: 1000;
  text-transform: uppercase;
}

.home-live-catalog {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 8px;
}

.home-live-catalog img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.home-artist-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 4px;
  pointer-events: auto;
}

.home-artist-bubble {
  flex: 0 0 60px;
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
}

.home-artist-bubble img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(189,255,53,.7);
  box-shadow: 0 0 18px rgba(189,255,53,.28);
}

.home-artist-bubble span {
  max-width: 64px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 9px rgba(0,0,0,.75);
}

.home-all-tracks-button {
  display: grid;
  padding: 11px 12px;
}

.home-all-track-list {
  margin-top: 8px;
}

.home-all-track-list .home-live-track {
  grid-template-columns: 38px minmax(0, 1fr);
  padding: 6px 8px;
}

.home-all-track-list .home-live-track img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.home-track-list-sheet {
  max-height: 86vh;
  overflow-y: auto;
}

/* Каталог долей в посте на стене: список добавленных долей + кнопка «Ещё доля». */
.wall-staged-shares { display: grid; gap: 6px; margin: 10px 0 4px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.05); }
.wall-staged-title { font-size: 12px; color: rgba(255,255,255,.7); }
.wall-staged-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.wall-add-share-btn { width: 100%; margin-top: 8px; }
.wall-multi-share-hint { display: block; margin-top: 6px; color: rgba(255,255,255,.5); font-size: 11px; line-height: 1.35; }

/* В открытой панели «Все предложения/треки» строка = обложка/название (1fr), рейтинг, play, «Купить».
   Колонка названия/артиста держит всё свободное место, поэтому имя/артист всегда видны. */
.home-track-list-sheet .home-market-track-row.has-buy {
  grid-template-columns: minmax(0, 1fr) auto 32px auto;
}
/* Цена/% (строка оффера) — мельче, чтобы целиком влезала в узкую колонку «Все треки» (плашку не увеличиваем). */
.home-track-list-sheet .home-track-copy em { font-size: 11px; font-weight: 800; }

.home-track-search-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.home-track-search-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 9px;
  background: rgba(255,255,255,.06);
}

.home-track-search-row img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
}

.home-market-empty {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.56);
  font-size: 12px;
  line-height: 1.3;
}

.home-market-stage {
  background: #0b0b0c !important;
  padding-bottom: 106px !important;
}

.home-market-screen {
  min-height: 100svh;
  padding: 14px 12px 112px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 7%, rgba(220,255,49,.18), transparent 24%),
    linear-gradient(180deg, #101011 0%, #0b0b0c 18%, #0b0b0c 100%);
}

.home-market-topbar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.home-market-topbar::before {
  content: "";
  width: 44px;
  height: 44px;
}

.home-status-pills {
  min-width: 0;
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 126px));
  justify-content: center;
  gap: 8px;
}

.home-round-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(255,255,255,.9);
  font-size: 25px;
  font-weight: 900;
}

.home-round-btn.search {
  grid-column: 3;
  justify-self: end;
  font-size: 30px;
  background: transparent;
}

.home-stat-pill {
  min-width: 0;
  min-height: 48px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  padding: 7px 12px 7px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  text-align: left;
}

/* Гость: вместо баланса — призыв войти/зарегистрироваться */
.home-guest-pill {
  background: linear-gradient(180deg, rgba(189,255,53,.18), rgba(189,255,53,.06));
  border: 1px solid rgba(189,255,53,.34);
}
.home-guest-pill b { color: var(--accent); }

.home-stat-pill span {
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  font-size: 19px;
}

.home-stat-pill small {
  color: rgba(255,255,255,.52);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.home-stat-pill b {
  min-width: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 1000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-label-hero {
  min-height: 360px;
  display: grid;
  align-content: start;
  justify-items: center;
  padding: 42px 0 6px;
  margin: 0 -12px 20px;
  position: relative;
  overflow: hidden;
  animation: homeLabelFade .72s ease both;
}

.home-label-hero::before {
  content: "";
  position: absolute;
  inset: 24px 0 34px;
  background:
    radial-gradient(circle at 50% 45%, rgba(233,255,58,.22), transparent 22%),
    var(--label-bg) center / cover no-repeat;
  filter: blur(8px) brightness(.54);
  opacity: .72;
  transform: scale(1.08);
}

/* Без вертикального сдвига — раньше translateY(4px)→0 давал «подпрыгивание» блока лейблов
   при каждом входе в биржу. Оставлена только мягкая прозрачность, без движения. */
@keyframes homeLabelFade {
  from { opacity: .85; }
  to { opacity: 1; }
}

.home-label-main,
.home-hero-artists,
.home-price-chip,
.home-slider-lines {
  position: relative;
  z-index: 1;
}

.home-label-main {
  display: grid;
  justify-items: center;
  gap: 5px;
  text-align: center;
}

.home-label-mark {
  color: var(--label-accent, #ffe05d);
  font-size: 42px;
  line-height: .8;
  font-weight: 1000;
  letter-spacing: -2px;
  text-shadow: 0 0 28px rgba(255,224,93,.35);
}

.home-label-main small {
  color: rgba(255,255,255,.82);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .02em;
}

.home-label-main b {
  margin-top: 16px;
  font-size: 20px;
  line-height: 1;
  font-weight: 1000;
}

.home-label-main em {
  color: rgba(255,255,255,.72);
  font-style: normal;
  font-size: 13px;
  font-weight: 750;
}

.home-hero-artists {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
  padding: 0 14px;
}

.home-top-artist {
  min-width: 0;
  min-height: 96px;
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-top-artist img {
  position: relative;
  width: clamp(58px, 18vw, 70px);
  height: clamp(58px, 18vw, 70px);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.76);
  background: #f4f4f4;
  box-shadow: 0 12px 28px rgba(0,0,0,.42), 0 0 0 5px rgba(255,255,255,.08);
}

.home-top-artist span {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  min-height: 24px;
  display: block;
  padding: 0 2px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 10px rgba(0,0,0,.8);
}

.home-top-artist span small {
  display: block;
  color: var(--label-accent, #caff35);
  font-size: 10px;
  font-weight: 1000;
}

.home-market-stage .home-artist-bubble {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.home-market-stage .home-artist-bubble img {
  width: clamp(72px, 21vw, 92px);
  height: clamp(72px, 21vw, 92px);
  border-radius: 50%;
  object-fit: cover;
  border: 0;
  box-shadow: 0 14px 35px rgba(0,0,0,.45);
  background: #f4f4f4;
}

.home-market-stage .home-artist-bubble span {
  max-width: 86px;
  color: #fff;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 760;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 10px rgba(0,0,0,.8);
}

.home-price-chip {
  min-height: 40px;
  margin-top: 18px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--label-accent, #caff35);
  color: #151515;
  font-size: 15px;
  font-weight: 1000;
  box-shadow: 0 0 28px rgba(202,255,53,.3);
}

.home-slider-lines {
  width: calc(100% - 32px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.home-slider-lines i {
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
}

.home-slider-lines i.active {
  background: #fff;
}

.home-section {
  margin: 0 4px 22px;
}

.home-section-heading {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.home-section-heading span {
  color: rgba(255,255,255,.34);
  font-size: 20px;
  line-height: 1;
  font-weight: 650;
}

.home-section-heading button {
  color: rgba(255,255,255,.34);
  font-size: 42px;
  line-height: .75;
  font-weight: 300;
}

/* Заголовок-кнопка: вся строка кликабельна (название + стрелка). */
.home-section-heading-btn {
  width: 100%;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.home-section-heading-btn:active span,
.home-section-heading-btn:active .home-section-arrow { color: rgba(255,255,255,.6); }
.home-section-arrow {
  color: rgba(255,255,255,.34);
  font-size: 42px;
  line-height: .75;
  font-weight: 300;
  font-style: normal;
  margin-left: auto;
  padding-left: 12px;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 8px;
  align-items: stretch;
}

.home-feature-card {
  min-height: 206px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #202023;
  text-align: left;
  box-shadow: 0 14px 30px rgba(0,0,0,.3);
}

.home-feature-card:not(.large) {
  min-height: 206px;
}

.home-feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) brightness(.82);
}

.home-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(0,0,0,.74) 100%);
}

.home-feature-play {
  position: absolute;
  z-index: 2;
  right: 18px;
  top: 28px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(20,34,30,.82);
  color: #fff;
  font-size: 19px;
}

.home-feature-pills {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 72px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.home-feature-title {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 16px;
  display: grid;
  gap: 3px;
}

.home-feature-title b {
  color: #fff;
  font-size: 18px;
  line-height: .98;
  font-weight: 1000;
  text-transform: uppercase;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-feature-title small {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.home-feature-title em,
.home-track-copy em {
  color: #bfff31;
  font-style: normal;
  font-weight: 900;
}

.home-track-pill {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #222;
  background: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
  white-space: nowrap;
}

.home-track-pill.rating {
  color: #343434;
}

.home-track-pill.status {
  background: #e8ffb8;
}

.rating-pending-badge {
  max-width: 100%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  line-height: 1;
}

.rating-pending-badge span {
  display: inline !important;
  margin: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: 1 !important;
}

.home-seller-card,
.home-catalog-showcase {
  padding: 10px;
  border-radius: 24px;
  background: #202021;
  box-shadow: 0 16px 34px rgba(0,0,0,.28);
}

.home-seller-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-seller-card header > button:first-child {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
}

.home-exclusive-intro {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.home-exclusive-intro b,
.home-exclusive-intro small {
  display: block;
}

.home-exclusive-intro b {
  color: #fff;
  font-size: 18px;
  line-height: 1;
  font-weight: 1000;
}

.home-exclusive-intro small {
  color: #bfff31;
  font-size: 13px;
  font-weight: 850;
}

.home-seller-card header img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.home-seller-card header b,
.home-seller-card header small {
  display: block;
}

.home-seller-card header b {
  color: #fff;
  font-size: 18px;
  line-height: 1;
  font-weight: 1000;
}

.home-seller-card header small {
  margin-top: 3px;
  color: #bfff31;
  font-size: 13px;
  font-weight: 850;
}

.home-card-menu {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 25px;
}

.home-seller-card p {
  margin: 9px 0;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  line-height: 1.28;
}

.home-exclusive-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-exclusive-tile {
  flex: 0 0 min(78%, 236px);
  min-height: 152px;
  display: grid;
  align-content: end;
  gap: 5px;
  padding: 10px;
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.12)),
    var(--exclusive-cover, url("../assets/screens/artist_wall.png")) center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  scroll-snap-align: start;
}

.home-exclusive-tile span {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.24);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  backdrop-filter: blur(8px);
}

.home-exclusive-grid::-webkit-scrollbar {
  display: none;
}

.home-exclusive-tile b {
  color: #fff;
  font-size: 13px;
  line-height: 1.05;
  font-weight: 900;
}

.home-exclusive-tile small {
  color: rgba(255,255,255,.64);
  font-size: 11px;
  font-weight: 750;
}

.home-market-track-row {
  position: relative;
  min-height: 66px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 32px auto;
  gap: 8px;
  align-items: center;
  padding: 7px 9px;
  border-radius: 999px;
  background: #242425;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.home-market-track-row.preview-row {
  grid-template-columns: minmax(0, 1fr) 32px;
}

.home-track-open {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  text-align: left;
}

.home-track-open img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #f4f4f4;
}

.home-track-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.home-track-copy b,
.home-track-copy small,
.home-track-copy em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-track-copy b {
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 1000;
  text-transform: uppercase;
}

.home-track-copy small {
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}

.home-track-pills {
  display: flex;
  align-items: center;
  gap: 5px;
}

.home-play-btn {
  width: 30px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
}

.home-buy-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #131313;
  font-size: 12px;
  font-weight: 1000;
}

.home-track-stack {
  display: grid;
  gap: 8px;
}

.home-catalog-showcase {
  display: grid;
  gap: 0;
  padding-top: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 34%),
    #202021;
}

.home-catalog-package-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-catalog-package-strip::-webkit-scrollbar {
  display: none;
}

.home-catalog-package-strip .home-catalog-package-card {
  flex: 0 0 min(90%, 310px);
  scroll-snap-align: start;
}

.home-catalog-package-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
}

.home-catalog-package-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-align: left;
}

.home-catalog-package-main img {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  object-fit: cover;
  background: #202024;
  box-shadow: 0 14px 28px rgba(0,0,0,.32);
}

.home-catalog-package-main span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.home-catalog-package-main b,
.home-catalog-package-main small,
.home-catalog-package-main em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-catalog-package-main b {
  color: #fff;
  font-size: 20px;
  line-height: 1;
  font-weight: 1000;
  text-transform: uppercase;
}

.home-catalog-package-main small {
  color: rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.home-catalog-package-main em {
  color: #bfff31;
  font-size: 12px;
  line-height: 1.25;
  font-style: normal;
  font-weight: 900;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-catalog-package-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.home-catalog-package-meta span {
  min-width: 0;
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 9px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
}

.home-catalog-package-meta small {
  color: rgba(255,255,255,.58);
  font-size: 10px;
  font-weight: 850;
}

.home-catalog-package-meta b {
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 1000;
}

.home-catalog-package-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.home-catalog-package-actions button,
.home-catalog-package-buy {
  min-height: 42px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 1000;
}

.home-catalog-package-actions .listen {
  background: #fff;
  color: #151515;
}

.home-catalog-package-actions .buy,
.home-catalog-package-buy {
  background: var(--accent);
  color: #121212;
}

.home-catalog-hero {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  padding: 10px 0 16px;
}

.home-catalog-hero img {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,.38);
}

.home-catalog-hero b,
.home-catalog-hero small {
  display: block;
}

.home-catalog-hero b {
  color: #fff;
  font-size: 23px;
  line-height: .95;
  font-weight: 1000;
}

.home-catalog-hero small {
  margin-top: 3px;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  font-weight: 750;
}

.home-catalog-list,
.home-catalog-package-list,
.global-search-results,
.home-track-search-list {
  display: grid;
  gap: 8px;
}

.global-search-sheet {
  max-height: 88svh;
}

.global-search-sheet .input {
  margin-bottom: 12px;
}

.global-search-result {
  min-width: 0;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  text-align: left;
}

.global-search-result img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  background: #242428;
}

.global-search-result.artist img {
  border-radius: 50%;
}

.global-search-result.profile img {
  border-radius: 50%;
}

.global-search-result span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.global-search-result small,
.global-search-result b,
.global-search-result em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.global-search-result small {
  color: #bfff31;
  font-size: 10px;
  font-weight: 1000;
  text-transform: uppercase;
}

.global-search-result b {
  color: #fff;
  font-size: 16px;
  line-height: 1.05;
  font-weight: 1000;
  white-space: nowrap;
}

.global-search-result em {
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.25;
  font-style: normal;
  font-weight: 760;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-view-all {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #202021;
  color: #fff;
  font-size: 16px;
  font-weight: 650;
}

.home-view-all.compact {
  min-height: 42px;
  margin-top: 8px;
}

.home-artist-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 0 14px;
}

.home-artist-offer-list {
  display: grid;
  gap: 10px;
}

.home-artist-offer-card {
  display: grid;
  gap: 10px;
  padding: 11px;
  border-radius: 24px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
}

.home-artist-offer-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-align: left;
}

.home-artist-offer-main img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #242429;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

.home-artist-offer-main span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.home-artist-offer-main b,
.home-artist-offer-main small,
.home-artist-offer-main em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-artist-offer-main b {
  color: #fff;
  font-size: 18px;
  line-height: 1;
  font-weight: 1000;
}

.home-artist-offer-main small {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.home-artist-offer-main em {
  color: #caff35;
  font-size: 12px;
  line-height: 1.2;
  font-style: normal;
  font-weight: 900;
}

.home-artist-offer-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.home-artist-offer-actions button {
  min-height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.home-artist-offer-actions .listen {
  background: var(--accent);
  color: #151515;
}

.home-upcoming-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(168px, 72%);
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x mandatory;
}

.home-upcoming-card {
  min-height: 204px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.75)),
    var(--release-cover) center / cover no-repeat,
    #16171c;
  box-shadow: 0 14px 30px rgba(0,0,0,.3);
  scroll-snap-align: start;
}

/* Обложка реальным <img> (надёжнее CSS-фона в WebView) + затемняющий слой поверх для читаемости текста. */
.home-upcoming-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.home-upcoming-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.02) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.74) 100%);
}

.home-upcoming-open {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.home-upcoming-date {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  pointer-events: none;
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #161616;
  font-size: 12px;
  font-weight: 1000;
}

.home-upcoming-copy {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  pointer-events: none;
  display: grid;
  gap: 3px;
  padding-right: 44px;
}

.home-upcoming-copy b,
.home-upcoming-copy small,
.home-upcoming-copy em,
.home-upcoming-artist {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.7);
}

.home-upcoming-artist {
  pointer-events: auto;
  justify-self: start;
  background: none;
  border: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.home-upcoming-copy b {
  font-size: 18px;
  line-height: .98;
  font-weight: 1000;
  text-transform: uppercase;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-upcoming-copy small {
  font-size: 13px;
  font-weight: 750;
}

.home-upcoming-copy em {
  color: #caff35;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.home-upcoming-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #171717;
  font-size: 15px;
  font-weight: 1000;
  box-shadow: 0 12px 26px rgba(0,0,0,.36);
}

.home-upcoming-buy {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--accent);
  color: #151515;
  font-size: 12px;
  font-weight: 1000;
  box-shadow: 0 12px 26px rgba(0,0,0,.28);
}

.home-upcoming-card.panel-card .home-upcoming-buy {
  left: auto;
  right: 12px;
  top: 12px;
  bottom: auto;
}

.home-upcoming-sheet {
  max-height: 90svh;
}

.home-upcoming-panel-list {
  display: grid;
  gap: 10px;
}

.home-upcoming-card.panel-card {
  min-height: 182px;
}

.all-tracks-section {
  padding-bottom: 22px;
}

.home-track-list-note {
  margin-top: -2px !important;
  font-size: 13px !important;
}

.home-track-list-sheet .input,
.home-upcoming-sheet .input,
.home-exclusive-sheet .input {
  margin: 0 0 12px;
}

.label-catalog-sheet {
  max-height: 88svh;
}

.label-catalog-sheet .home-track-search-list {
  gap: 10px;
}

/* ===== Премиум-просмотр каталога: пакет-плашка сверху + тонкие плашки треков единым блоком ===== */
.catalog-detail-card {
  margin: 12px 0 14px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(189,255,53,.12), rgba(255,255,255,.03));
  border: 1px solid rgba(189,255,53,.30);
  box-shadow: 0 14px 34px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.06);
}
.catalog-detail-head { display: flex; gap: 14px; align-items: center; }
.catalog-detail-cover {
  flex: none; width: 82px; height: 82px; border-radius: 16px;
  background-size: cover; background-position: center; background-color: #1c1c22;
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
}
.catalog-detail-meta { min-width: 0; flex: 1; }
.catalog-detail-meta b { display: block; font-size: 18px; font-weight: 900; letter-spacing: -.01em; line-height: 1.1; }
.catalog-detail-meta small { display: block; font-size: 12px; color: rgba(255,255,255,.6); margin-top: 3px; }
.catalog-detail-kpis { display: flex; gap: 18px; margin-top: 11px; }
.catalog-detail-kpis span { display: flex; flex-direction: column; gap: 2px; }
.catalog-detail-kpis b { font-size: 14px; font-weight: 900; color: #fff; }
.catalog-detail-kpis i { font-size: 9.5px; font-style: normal; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .04em; }
.catalog-buy-all { margin-top: 14px; }

.catalog-tracks-block {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.02);
  padding: 4px 6px 6px;
}
.catalog-tracks-title {
  display: block; padding: 9px 8px 7px;
  font-size: 11px; font-weight: 800; color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: .04em;
}
.catalog-tracks-list { display: flex; flex-direction: column; }
.catalog-track-row {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 8px; text-align: left; cursor: pointer;
  border-radius: 12px;
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.catalog-track-row:last-child { border-bottom: 0; }
.catalog-track-row:active { background: rgba(255,255,255,.05); }
.catalog-track-cover {
  flex: none; width: 42px; height: 42px; border-radius: 10px;
  background-size: cover; background-position: center; background-color: #1c1c22;
}
.catalog-track-info { flex: 1; min-width: 0; }
.catalog-track-info b { display: block; font-size: 13.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.catalog-track-info small { display: block; font-size: 11px; color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.catalog-track-rating { flex: none; font-size: 12px; font-weight: 900; color: var(--accent); white-space: nowrap; }
.catalog-track-play {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px;
  color: #0b1206; background: linear-gradient(135deg, var(--accent), #8be84a);
  box-shadow: 0 6px 14px rgba(189,255,53,.3);
}

.home-catalog-release-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 11px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
}

.home-catalog-release-card > img {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  object-fit: cover;
  background: #202024;
}

.home-catalog-release-main {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 4px;
}

.home-catalog-release-main b,
.home-catalog-release-main small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-catalog-release-main b {
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 1000;
  text-transform: uppercase;
}

.home-catalog-release-main small {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 750;
}

.home-catalog-release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.home-catalog-release-meta span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.86);
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
}

.home-catalog-release-actions {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  align-items: center;
}

.home-catalog-release-actions small {
  color: #caff35;
  font-size: 12px;
  font-weight: 1000;
}

.home-catalog-release-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 6px;
}

.home-catalog-release-actions button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #151515;
  font-size: 12px;
  font-weight: 950;
}

.home-catalog-release-actions button.buy {
  background: var(--accent);
  color: #121212;
}

.audio-player-backdrop {
  align-items: flex-start !important;
  overflow: hidden !important;
  background: #0d0d0f !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overscroll-behavior: contain;
}

.audio-player-sheet {
  width: min(390px, 100vw);
  height: 100svh;
  max-height: none;
  border-radius: 0;
  overscroll-behavior: contain;
  touch-action: pan-y;
  will-change: transform;
  padding-top: calc(12px + env(safe-area-inset-top));
  padding-bottom: calc(104px + env(safe-area-inset-bottom));
}

.audio-player-cover {
  width: min(224px, 62vw);
  aspect-ratio: 1;
  margin: 0 auto 16px;
  border-radius: 28px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}

/* Зоны свайпа плеера вниз: жест не должен перехватываться прокруткой, иначе свайп «не работает». */
.audio-player-sheet .sheet-handle,
.audio-player-sheet .audio-player-cover,
.audio-player-sheet .audio-player-title { touch-action: none; }
.audio-player-sheet .sheet-handle {
  cursor: grab;
  width: 44px; height: 5px; margin: 0 auto 10px;
  border-radius: 999px; background: rgba(255,255,255,.3);
}

.audio-player-title {
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.audio-player-title h2 {
  margin: 0;
  max-width: min(100%, 16ch);
  font-size: 31px;
  line-height: .92;
  text-transform: uppercase;
  /* Фикс. высота под 2 строки: при переключении трека длина названия не меняет раскладку (нет прыжка). */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 1.84em;
  align-content: center;
}

.audio-player-title span {
  color: rgba(255,255,255,.66);
  font-size: 13px;
  font-weight: 850;
}

.audio-artist-link {
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  color: #eaff48;
  font-size: 13px;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(234,255,72,.28);
}

.audio-player-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 8px;
  margin: 13px 0 10px;
}

.audio-player-stat {
  min-width: 0;
  min-height: 74px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 8px;
  align-items: center;
  padding: 11px;
  border-radius: 20px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
}

.audio-player-stat i {
  grid-row: 1 / 3;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaff48;
  color: #151515;
  font-style: normal;
  font-size: 15px;
  font-weight: 1000;
}

.audio-player-stat b {
  min-width: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  font-weight: 1000;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-player-stat small {
  min-width: 0;
  color: rgba(255,255,255,.62);
  font-size: 10px;
  line-height: 1.1;
  font-weight: 850;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-player-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 2px;
}

.audio-player-meta-grid span {
  min-width: 0;
  min-height: 56px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.08);
}

.audio-player-meta-grid b,
.audio-player-meta-grid small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audio-player-meta-grid b {
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.audio-player-meta-grid small {
  color: rgba(255,255,255,.54);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.audio-player-controls {
  display: grid;
  grid-template-columns: 58px 78px 58px;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 4px 0 8px;
}

.audio-player-controls button {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 31px;
  font-weight: 900;
}

.audio-player-controls button.main {
  width: 78px;
  height: 78px;
  background: #fff;
  color: #111;
  font-size: 30px;
  box-shadow: 0 14px 34px rgba(0,0,0,.34);
}

.audio-player-progress {
  margin: 0 auto 4px;
  width: min(260px, 82%);
}

.compact-heading span {
  font-size: 18px;
}

.audio-extra-section {
  margin-top: 8px;
}

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

.audio-extra-card {
  min-height: 104px;
  display: grid;
  align-content: end;
  gap: 4px;
  padding: 11px;
  border-radius: 20px;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.2)),
    url("../assets/screens/artist_wall.png") center / cover no-repeat;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}

.audio-extra-card span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.audio-extra-card b {
  color: #fff;
  font-size: 13px;
  line-height: 1.05;
  font-weight: 1000;
}

.audio-extra-card small {
  color: #caff35;
  font-size: 11px;
  font-weight: 950;
}

.release-player-screen {
  min-height: 100svh;
  padding: 14px 14px 112px !important;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(234,255,72,.18), transparent 32%),
    linear-gradient(180deg, #121214 0%, #070708 100%);
  overflow-y: auto;
}

.release-player-top {
  min-height: 44px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.release-player-top button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.release-player-top span {
  min-width: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 1000;
}

.release-player-body {
  display: grid;
  justify-items: center;
}

.release-player-screen .audio-player-cover {
  width: min(250px, 68vw);
  margin-top: 4px;
}

.release-player-screen .audio-player-stats,
.release-player-screen .audio-player-meta-grid,
.release-player-screen .audio-extra-section {
  width: 100%;
}

.release-player-screen .audio-player-controls {
  margin-top: 18px;
}

.buy-rights-asset {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.028)),
    radial-gradient(circle at 12% 50%, rgba(189,255,53,.1), transparent 36%);
  border: 1px solid rgba(189,255,53,.16);
  margin: 12px 0;
}

.buy-rights-asset img {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  object-fit: cover;
}

.buy-rights-asset b,
.buy-rights-asset small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.buy-rights-asset b {
  color: #fff;
  font-size: 16px;
  font-weight: 1000;
}

.buy-rights-asset small {
  color: rgba(255,255,255,.64);
  margin-top: 4px;
  font-size: 12px;
  font-weight: 750;
}

.buy-payment-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.buy-payment-summary.single {
  grid-template-columns: 1fr;
}

.buy-payment-summary span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(189,255,53,.12);
  border: 1px solid rgba(189,255,53,.22);
}

.buy-payment-summary small {
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 850;
}

.buy-payment-summary b {
  color: #dfff2d;
  font-size: 18px;
  line-height: 1;
  font-weight: 1000;
  overflow-wrap: anywhere;
}

.payment-method-card {
  margin-top: 10px;
}

.payment-card-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.content-payment-preview {
  min-height: 168px;
  display: grid;
  align-content: end;
  padding: 14px;
  border-radius: 24px;
  overflow: hidden;
  margin: 12px 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.72)),
    var(--exclusive-cover) center / cover no-repeat;
}

.content-payment-preview { position: relative; }
.content-payment-preview.locked::before {
  content: ""; position: absolute; inset: -8px;
  background: inherit; filter: blur(13px); transform: scale(1.1);
}
.content-payment-preview.locked::after {
  content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.32);
}

/* Заблюренные платные тайлы фото/видео в биржевой сетке (до покупки) */
.home-exclusive-tile { position: relative; }
.home-exclusive-tile.locked::before {
  content: ""; position: absolute; inset: -8px;
  background: inherit; filter: blur(11px); transform: scale(1.12);
  border-radius: inherit;
}
.home-exclusive-tile.locked::after {
  content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.30); border-radius: inherit;
}
.home-exclusive-tile span,
.home-exclusive-tile b,
.home-exclusive-tile small { position: relative; z-index: 1; }

.content-payment-preview span,
.home-exclusive-preview span {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.content-payment-preview b,
.home-exclusive-preview b {
  color: #fff;
  font-size: 17px;
  line-height: 1.05;
  font-weight: 1000;
}

.content-payment-preview small,
.home-exclusive-preview small {
  color: #dfff2d;
  font-size: 12px;
  font-weight: 950;
}

.home-exclusive-sheet {
  max-height: 88svh;
}

.home-exclusive-full-list {
  display: grid;
  gap: 12px;
}

.home-exclusive-full-card {
  display: grid;
  gap: 8px;
}

.home-exclusive-artist-link {
  width: fit-content;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.home-exclusive-preview {
  min-height: 156px;
  position: relative;
  display: grid;
  align-content: end;
  padding: 14px;
  border-radius: 24px;
  overflow: hidden;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.72)),
    var(--exclusive-cover) center / cover no-repeat;
}

.home-exclusive-preview.locked::before {
  content: "";
  position: absolute;
  inset: -8px;
  background: inherit;
  filter: blur(9px);
  transform: scale(1.08);
}

.home-exclusive-preview.locked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.24);
}

.home-exclusive-buy {
  min-height: 40px;
  border-radius: 999px;
  background: var(--accent);
  color: #121212;
  font-size: 13px;
  font-weight: 1000;
}

@media (max-width: 370px) {
  .home-market-screen { padding-left: 10px; padding-right: 10px; }
  .home-market-topbar { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 6px; }
  .home-market-topbar::before { width: 36px; height: 36px; }
  .home-status-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .home-round-btn { width: 36px; height: 36px; }
  .home-stat-pill { grid-template-columns: 34px minmax(0, 1fr); padding-right: 9px; }
  .home-stat-pill span { width: 34px; height: 34px; font-size: 16px; }
  .home-stat-pill b { font-size: 15px; }
  .home-hero-artists { gap: 6px; }
  .home-market-track-row { grid-template-columns: minmax(0, 1fr); border-radius: 26px; }
  .home-market-track-row.preview-row { grid-template-columns: minmax(0, 1fr) 32px; }
  .home-track-pills { padding-left: 58px; }
  .home-play-btn { position: absolute; right: 18px; }
  .home-buy-btn { position: absolute; right: 56px; bottom: 10px; }
  .buy-payment-summary { grid-template-columns: 1fr; }
  .home-feature-grid { grid-template-columns: 1fr; }
}
.artist-profile-screen {
  min-height: 100svh;
  background: radial-gradient(circle at 50% 0%, rgba(189,255,53,.14), transparent 35%), #09090a;
  overflow-y: auto;
  padding-bottom: 92px;
}

.artist-cover {
  position: relative;
  height: 210px;
  border-radius: 0 0 34px 34px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.artist-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(9,9,10,.88));
}

.artist-edit-btn {
  position: absolute;
  z-index: 2;
  right: 14px;
  top: max(14px, env(safe-area-inset-top));
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20,20,22,.72);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.profile-search-btn {
  position: absolute;
  z-index: 3;
  left: 14px;
  top: calc(max(14px, env(safe-area-inset-top)) + 48px);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: linear-gradient(180deg, rgba(18,18,20,.72), rgba(8,8,10,.58));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 21px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  cursor: pointer;
}
.profile-search-btn:active { transform: scale(.96); }

/* Стрелка «назад» в шапке чужого профиля (слева сверху) — возврат к подпискам/источнику */
.artist-public-back {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: max(14px, env(safe-area-inset-top));
  min-height: 34px;
  padding: 8px 14px 8px 11px;
  border-radius: 999px;
  background: rgba(20,20,22,.72);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.artist-profile-head {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  margin-top: -72px;
  padding: 0 18px 14px;
  text-align: center;
}

.artist-avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  padding: 4px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,.45);
}

/* Аватар с историей: яркое лаймовое кольцо + свечение + лёгкая пульсация — сразу видно, что есть контент. */
.artist-avatar.has-story {
  padding: 4px;
  background: conic-gradient(from 140deg, var(--accent), #8be84a 28%, var(--accent2) 58%, var(--accent));
  box-shadow:
    0 0 14px 1px rgba(189,255,53,.5),
    0 0 30px 4px rgba(189,255,53,.26),
    0 20px 45px rgba(0,0,0,.45);
  animation: avatarStoryPulse 2.6s ease-in-out infinite;
}
.artist-avatar.has-story img { border: 2.5px solid #101014; }
@keyframes avatarStoryPulse {
  0%, 100% { box-shadow: 0 0 12px 1px rgba(189,255,53,.42), 0 0 24px 3px rgba(189,255,53,.18), 0 20px 45px rgba(0,0,0,.45); }
  50%      { box-shadow: 0 0 20px 2px rgba(189,255,53,.62), 0 0 40px 6px rgba(189,255,53,.32), 0 20px 45px rgba(0,0,0,.45); }
}
@media (prefers-reduced-motion: reduce) { .artist-avatar.has-story { animation: none; } }

.artist-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.artist-profile-head h1 {
  margin: 12px 0 2px;
  font-size: 28px;
  line-height: .9;
  letter-spacing: -.05em;
}

.artist-profile-head > span {
  color: rgba(255,255,255,.68);
  font-weight: 800;
}

.artist-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.artist-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 18px 14px;
}

.artist-stat-card {
  min-height: 104px;
  border-radius: 26px;
  padding: 14px;
  background: #1d1d21;
  border: 1px solid rgba(255,255,255,.08);
  text-align: left;
}

.artist-stat-card b,
.artist-stat-card strong,
.artist-stat-card span {
  display: block;
}

.artist-stat-card b {
  color: #fff;
  font-size: 13px;
}

.artist-stat-card strong {
  margin-top: 14px;
  color: var(--accent);
  font-size: 25px;
  line-height: 1;
}

.artist-stat-card span {
  margin-top: 5px;
  color: rgba(255,255,255,.65);
  font-size: 12px;
}

.artist-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 0 18px 14px;
  padding: 5px;
  border-radius: 999px;
  background: #242428;
}

.artist-tabs button {
  min-height: 42px;
  border-radius: 999px;
  color: rgba(255,255,255,.66);
  font-weight: 900;
}

.artist-tabs button.active {
  background: #e9edf1;
  color: #111;
}

.artist-tab-body {
  padding: 0 11px 22px;
}

.artist-post-create,
.artist-subscription-card,
.artist-wall-post,
.artist-track-card {
  border-radius: 26px;
  background: #1b1b1f;
  border: 1px solid rgba(255,255,255,.08);
  padding: 14px;
  margin-bottom: 12px;
}

.artist-post-input {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  background: #101013;
  color: rgba(255,255,255,.55);
  text-align: left;
  padding: 0 16px;
}

.artist-post-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.artist-post-tools button {
  min-height: 38px;
  border-radius: 999px;
  background: #2b2b30;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.artist-post-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  margin-bottom: 10px;
}

.artist-wall-post h3,
.artist-subscription-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -.03em;
}

.artist-wall-post p,
.artist-subscription-card p {
  margin: 0 0 12px;
  color: rgba(255,255,255,.7);
  line-height: 1.35;
}

.artist-media-box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 160px;
  padding: 14px;
  border-radius: 24px;
  display: grid;
  place-items: end start;
  align-content: end;
  gap: 5px;
  background: radial-gradient(circle at 50% 35%, rgba(189,255,53,.22), transparent 30%), #2a2a30;
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-weight: 950;
  text-align: left;
}

.artist-media-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 35%, rgba(189,255,53,.22), transparent 30%), #2a2a30;
  background-size: cover;
  background-position: center;
  transition: filter .18s ease, transform .18s ease;
}

.artist-media-box.has-photo::before {
  background-image: var(--wall-media-image);
}

.artist-media-box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.74));
  pointer-events: none;
}

.artist-media-box small,
.artist-media-box b,
.artist-media-box span,
.artist-media-box em {
  position: relative;
  z-index: 2;
  display: block;
}

.artist-media-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111114;
  transition: filter .18s ease, transform .18s ease;
}

.artist-media-box small {
  max-width: 100%;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.artist-media-box b {
  color: var(--accent);
  font-size: 18px;
}

.artist-media-box em {
  margin-top: 5px;
  color: rgba(255,255,255,.70);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.artist-media-box.blurred {
  background: #2a2a30;
}

.artist-media-box.blurred::before,
.artist-media-box.blurred .artist-media-video {
  filter: blur(14px);
  transform: scale(1.08);
}

.artist-media-box.blurred::after {
  background: linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.82));
}

.artist-track-post {
  border-radius: 22px;
  padding: 13px;
  background: #111114;
  border: 1px solid rgba(189,255,53,.22);
}

.artist-track-post b,
.artist-track-post span {
  display: block;
}

.artist-track-post span {
  margin-top: 4px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
}

.wall-rights-post {
  margin-top: 10px;
  width: 100%;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 12px;
  border-radius: 18px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(189,255,53,.11), transparent 50%),
    linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 24px rgba(0,0,0,.28);
}
.wall-rights-post > img {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  object-fit: cover;
  align-self: start;
}
.wall-rights-post .artist-rights-card-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wall-rights-post .artist-rights-card-main > b {
  overflow-wrap: anywhere;
  line-height: 1.2;
}
.wall-rights-post .artist-rights-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.wall-rights-post .artist-rights-kpis small {
  min-width: 0;
  padding: 8px 6px;
  border-radius: 12px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.08);
}
.wall-rights-post .artist-rights-kpis strong,
.wall-rights-post .artist-rights-kpis em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wall-rights-post .rights-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.wall-share-trigger {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
  color: #12140d;
  background: linear-gradient(145deg, #dcff68, #9be83a);
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: 0 10px 22px rgba(189,255,53,.22), inset 0 1px 0 rgba(255,255,255,.5);
}
.wall-share-trigger:active { transform: scale(.94); }
.rights-actions + .wall-share-trigger { margin-top: 2px; align-self: flex-start; }
.ofw-footer .wall-share-trigger { margin-left: auto; }
.of-wall-post > .wall-share-trigger {
  margin-top: 10px;
  margin-left: auto;
}
.wall-share-sheet { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
.wall-share-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.wall-share-glyph {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #12140d;
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(145deg, #dcff68, #9be83a);
  box-shadow: 0 10px 24px rgba(189,255,53,.2);
}
.wall-share-head h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.wall-share-head p { margin: 3px 0 0; color: rgba(255,255,255,.58); font-size: 13px; }
.wall-share-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wall-share-option {
  min-height: 88px;
  border-radius: 18px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  color: #fff;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 12px 26px rgba(0,0,0,.24);
}
.wall-share-option span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 1000;
  background: rgba(0,0,0,.24);
}
.wall-share-option b { font-size: 13px; font-weight: 900; }
.wall-share-option.vk { background: linear-gradient(145deg, #3f7bff, #2348b7); }
.wall-share-option.ig { background: linear-gradient(145deg, #f04d86, #7b3cff); }
.wall-share-option.tg { background: linear-gradient(145deg, #28a8ea, #1377b8); }
.wall-share-option.copy { background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.05)); color: #cdff63; }
.wall-share-option:active { transform: scale(.98); }

/* Доли пользователя: обратный отсчёт срока прав на карточках треков + секция продажи на стене */
.user-rights-countdown {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 4px; font-size: 11.5px; font-weight: 800;
  color: #bdff35;
}
.user-rights-countdown.expired { color: #ff6b81; }
.user-track-card.rights-expired { opacity: .72; }
.user-wall-shares { margin: 6px 0 16px; }
.user-share-add { width: 100%; margin-bottom: 12px; text-align: left; }
.user-shares-empty { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; margin: 4px 2px 0; }
.user-shares-feed { display: flex; flex-direction: column; gap: 12px; }

.company-action-card h2,
.company-inbox-card h2,
.company-tasks-card h2 {
  margin: 0 0 8px;
}

/* Ротация на радио: строка станций из базы */
.radio-rotation-stations {
  margin: 4px 0 12px; padding: 11px 13px;
  border-radius: 12px; font-size: 12.5px; line-height: 1.5;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
}
.radio-rotation-stations b { color: #fff; }
.rotation-request .row-actions { flex-wrap: wrap; gap: 6px; }

/* Гостевой эфир: чекбокс «вторая столица» и кнопка «Написать» в AI-чате */
.guest-air-cross {
  display: flex; align-items: flex-start; gap: 9px;
  margin: 4px 0 12px; padding: 11px 13px;
  border-radius: 12px; font-size: 12.5px; line-height: 1.45;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
}
.guest-air-cross input { margin-top: 2px; flex: 0 0 auto; accent-color: #c6ff00; }
.chat-write-btn { margin-top: 8px; }

/* Счёт на оплату (пополнение компании/лейбла) */
.deposit-mode-seg { margin-bottom: 12px; }
.invoice-amount {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 6px 0 12px; padding: 12px 14px;
  border-radius: 12px; background: rgba(198,255,0,.08); border: 1px solid rgba(198,255,0,.25);
}
.invoice-amount small { color: rgba(255,255,255,.7); font-weight: 700; }
.invoice-amount b { font-size: 22px; font-weight: 900; color: #fff; }
.invoice-reqs { display: grid; gap: 4px; }
.invoice-reqs small { color: rgba(255,255,255,.72); line-height: 1.4; }

/* Мультивыбор ролей в задании компании */
.task-audience-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.task-aud-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 13px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04);
  font-size: 13px; font-weight: 700; cursor: pointer;
}
.task-aud-chip input { accent-color: #c6ff00; width: 16px; height: 16px; }
.task-aud-chip:has(input:checked) { border-color: rgba(198,255,0,.5); background: rgba(198,255,0,.08); }

/* Платная ротация (Главное станции) */
.badge-on {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800;
  color: #0b0b0c; background: var(--accent);
}
.company-paid-rotation-card .paid-rotation-price {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 8px 0; padding: 11px 13px; border-radius: 12px;
  background: rgba(198,255,0,.07); border: 1px solid rgba(198,255,0,.22);
}
.company-paid-rotation-card .paid-rotation-price small { color: rgba(255,255,255,.7); font-weight: 700; }
.company-paid-rotation-card .paid-rotation-price b { font-size: 18px; font-weight: 900; color: #fff; }

/* Оплата услуги бонусами ИЛИ деньгами (сканы) */
.scan-or { color: rgba(255,255,255,.45); font-weight: 700; font-size: 12px; margin: 0 4px; }
.scan-pay-note { margin: 8px 0 12px; font-size: 12.5px; color: rgba(255,255,255,.65); line-height: 1.45; }
.scan-pay-note b { color: #fff; }
.scan-pay-actions { flex-wrap: wrap; gap: 8px; }
.scan-pay-actions .scan-pay-bonus {
  background: linear-gradient(135deg, rgba(198,255,0,.9), rgba(160,220,0,.9)); color: #0b0b0c;
}
.scan-pay-actions .scan-pay-bonus[disabled] { opacity: .5; filter: grayscale(.4); }

/* Панель участия в задании/конкурсе */
.contest-task-title { margin: 2px 0 4px; font-size: 18px; font-weight: 900; line-height: 1.25; }
.contest-task-meta small { color: rgba(255,255,255,.72); line-height: 1.45; }
.contest-task-meta b { color: #fff; }
.contest-task-go { display: block; text-align: center; text-decoration: none; margin-bottom: 4px; }

.company-request-card,
.company-task-row {
  display: grid;
  gap: 7px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  margin-top: 10px;
}

.company-request-card b,
.company-task-row b {
  color: #fff;
  font-size: 15px;
  line-height: 1.15;
}

.company-request-card span,
.company-task-row span,
.company-task-row small {
  color: rgba(255,255,255,.66);
  font-size: 12px;
  line-height: 1.35;
}

.company-request-card p {
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: 13px;
  line-height: 1.4;
}

.company-task-row.empty {
  border-style: dashed;
}

.company-service-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}

.company-service-card > div:first-child {
  min-width: 0;
}

.wallet-real-body {
  padding-top: max(18px, env(safe-area-inset-top));
}

.wallet-balance-value {
  margin: 12px 0;
  color: var(--accent);
  font-size: 38px;
  font-weight: 950;
  line-height: 1;
}

.wallet-ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  margin-top: 9px;
}

.wallet-ledger-row b,
.wallet-ledger-row span,
.wallet-ledger-row small {
  min-width: 0;
}

.wallet-ledger-row b {
  color: #fff;
  font-size: 14px;
}

.wallet-ledger-row span {
  color: var(--accent);
  font-weight: 950;
}

.wallet-ledger-row.debit span {
  color: #ff7a7a;
}

.wallet-ledger-row small {
  grid-column: 1 / -1;
  color: rgba(255,255,255,.6);
  font-size: 12px;
}

.wallet-ledger-row.empty {
  border-style: dashed;
}

.artist-rights-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(189,255,53,.12), rgba(255,255,255,.035)),
    #111114;
  border: 1px solid rgba(189,255,53,.24);
}

.artist-rights-card img {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  object-fit: cover;
  background: #28282d;
}

.artist-rights-card-main {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.artist-rights-card-main b,
.artist-rights-card-main span,
.artist-rights-card-main small {
  display: block;
  min-width: 0;
}

.artist-rights-card-main b {
  color: #fff;
  font-size: 16px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.artist-rights-card-main > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.artist-rights-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.artist-rights-kpis small {
  min-height: 46px;
  padding: 7px;
  border-radius: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
}

.artist-rights-kpis strong,
.artist-rights-kpis em {
  display: block;
  min-width: 0;
}

.artist-rights-kpis strong {
  color: #fff;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 1000;
  overflow-wrap: anywhere;
}

.artist-rights-kpis em {
  margin-top: 3px;
  color: rgba(255,255,255,.52);
  font-size: 10px;
  line-height: 1.1;
  font-style: normal;
  font-weight: 850;
}

.artist-rights-left {
  color: rgba(255,255,255,.62);
  font-size: 11px;
  line-height: 1.25;
}

.artist-wall-post.package {
  border-color: rgba(189,255,53,.26);
  padding: 11px;
}

.artist-wall-post.package .artist-post-top {
  margin-bottom: 7px;
}

.artist-wall-post.package h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.artist-wall-post.package p {
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.25;
}

.artist-wall-post.package .artist-media-box {
  min-height: 96px;
  border-radius: 18px;
}

.artist-wall-post.package .wall-rights-post {
  margin-top: 8px;
}

.artist-wall-post.package .artist-rights-card {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 9px;
  padding: 9px;
  border-radius: 18px;
}

.artist-wall-post.package .artist-rights-card img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.artist-wall-post.package .artist-rights-card-main {
  gap: 6px;
}

.artist-wall-post.package .artist-rights-card-main b {
  font-size: 14px;
}

.artist-wall-post.package .artist-rights-kpis small {
  min-height: 39px;
  padding: 6px;
}

.release-wall-post {
  padding: 12px;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(189,255,53,.12), rgba(255,255,255,.035) 42%, rgba(0,0,0,.18)),
    #151518;
  border-color: rgba(189,255,53,.22);
}

.release-wall-post .ofw-text {
  margin-bottom: 10px;
  padding: 9px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.release-wall-post .wall-rights-post {
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  background:
    radial-gradient(110% 95% at 0% 0%, rgba(189,255,53,.18), transparent 54%),
    rgba(10,10,12,.78);
}

.release-wall-post .artist-rights-card img {
  width: 68px;
  height: 68px;
  border-radius: 15px;
}

.release-wall-post .artist-rights-card-main {
  gap: 6px;
}

.release-wall-post .artist-rights-card-main b {
  font-size: 15px;
  line-height: 1.08;
}

.release-wall-post .artist-rights-card-main > span {
  font-size: 11.5px;
}

.release-wall-post .artist-rights-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.release-wall-post .artist-rights-kpis small {
  min-height: 38px;
  padding: 6px;
  border-radius: 12px;
}

.release-wall-post .rights-actions {
  gap: 6px;
}

.artist-sub-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.artist-sub-row span {
  color: rgba(255,255,255,.62);
}

.artist-sub-row b {
  color: var(--accent);
}

.artist-sales-manager {
  border-radius: 26px;
  padding: 14px;
  margin-bottom: 12px;
  background:
    linear-gradient(180deg, rgba(189,255,53,.10), rgba(255,255,255,.035)),
    #17171a;
  border: 1px solid rgba(189,255,53,.22);
}

.artist-sales-entry-card {
  width: 100%;
  display: block;
  text-align: left;
  color: #fff;
}

.artist-sales-entry-card:active {
  transform: scale(.99);
}

.artist-sales-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.artist-sales-head h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -.03em;
}

.artist-sales-head p {
  margin: 0;
  color: rgba(255,255,255,.66);
  font-size: 12px;
  line-height: 1.32;
}

.artist-sales-head > b {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-size: 16px;
  font-weight: 1000;
}

.artist-sales-entry-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.artist-sales-entry-foot span {
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 850;
}

.artist-sales-entry-foot strong {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(189,255,53,.16);
  color: var(--accent);
  font-size: 12px;
  font-weight: 1000;
}

.artist-sales-sheet {
  max-height: 88svh;
}

.artist-sale-list {
  display: grid;
  gap: 10px;
}

.artist-sale-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 11px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(10,10,12,.58);
  border: 1px solid rgba(255,255,255,.08);
}

.artist-sale-item.expired {
  opacity: .62;
  border-color: rgba(242,59,101,.24);
}

.artist-sale-item img {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  object-fit: cover;
  background: #28282d;
}

.artist-sale-main {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.artist-sale-main small,
.artist-sale-main b,
.artist-sale-main span {
  display: block;
  min-width: 0;
}

.artist-sale-main small {
  color: var(--accent);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.artist-sale-main b {
  color: #fff;
  font-size: 14px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.artist-sale-main span {
  color: rgba(255,255,255,.58);
  font-size: 11px;
  line-height: 1.25;
}

.artist-sale-controls {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px auto;
  gap: 7px;
  align-items: center;
}

.artist-sale-controls .tiny {
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.035)),
    #202126;
  border: 1px solid rgba(189,255,53,.24);
  color: var(--accent);
  font-size: 17px;
  font-weight: 1000;
  box-shadow:
    0 10px 20px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.14),
    0 0 18px rgba(189,255,53,.08);
}

.artist-sale-controls .tiny::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 13px;
  background: radial-gradient(circle at 50% 0%, rgba(189,255,53,.18), transparent 58%);
  pointer-events: none;
}

.artist-sale-controls .tiny:active {
  transform: translateY(1px) scale(.98);
  box-shadow:
    0 6px 14px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.artist-sale-controls .tiny:disabled,
.artist-sale-controls input:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}

.artist-sale-controls label {
  min-width: 0;
  display: block;
}

.artist-sale-controls input {
  min-height: 34px;
  border-radius: 14px;
  padding: 7px 9px;
  text-align: center;
  font-weight: 950;
  appearance: textfield;
  -moz-appearance: textfield;
}

.artist-sale-controls input::-webkit-outer-spin-button,
.artist-sale-controls input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.artist-sale-controls em {
  color: rgba(255,255,255,.56);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.artist-sale-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.artist-sale-empty {
  display: grid;
  gap: 5px;
  padding: 13px;
  border-radius: 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

.artist-sale-empty b {
  color: #fff;
  font-size: 13px;
}

.artist-sale-empty span {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.3;
}

.artist-release-upload-card .modal-actions {
  margin-top: 16px;
}

.release-upload-sheet {
  max-height: 88svh;
}

.release-upload-grid {
  display: grid;
  gap: 10px;
}

.wall-content-sheet {
  max-height: 88svh;
}

.wall-content-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 12px;
}

.wall-content-type-grid button {
  min-height: 46px;
  border-radius: 18px;
  background: #242428;
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.72);
  font-weight: 950;
}

.wall-content-type-grid button.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #101010;
  border-color: rgba(189,255,53,.7);
}

.wall-composer-block,
.wall-access-panel {
  display: grid;
  gap: 10px;
  padding: 13px;
  margin: 10px 0;
  border-radius: 22px;
  background: #151518;
  border: 1px solid rgba(255,255,255,.10);
}

.wall-composer-block[hidden],
.wall-access-panel[hidden],
[data-wall-price-field][hidden] {
  display: none;
}

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

.wall-block-head b {
  color: #fff;
  font-size: 15px;
}

.wall-block-head span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 900;
}

.wall-file-preview {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 70px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(189,255,53,.08);
  border: 1px solid rgba(189,255,53,.20);
}

.wall-file-preview[hidden] {
  display: none;
}

.wall-file-icon,
.wall-photo-thumb {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #232328;
  color: var(--accent);
  font-weight: 1000;
}

.wall-photo-thumb {
  background-size: cover;
  background-position: center;
}

.wall-file-preview b,
.wall-file-preview span {
  display: block;
  min-width: 0;
}

.wall-file-preview b {
  color: #fff;
  font-size: 14px;
}

.wall-file-preview span {
  margin-top: 4px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.wall-rights-panel {
  display: grid;
  gap: 10px;
  padding: 13px;
  border-radius: 22px;
  background: rgba(189,255,53,.08);
  border: 1px solid rgba(189,255,53,.18);
}

.wall-rights-panel[hidden] {
  display: none;
}

.wall-track-chooser {
  display: grid;
  gap: 8px;
}

.wall-selected-track,
.wall-track-option {
  width: 100%;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: #111114;
  border: 1px solid rgba(255,255,255,.10);
  text-align: left;
}

.wall-selected-track {
  border-color: rgba(189,255,53,.42);
  background: linear-gradient(135deg, rgba(189,255,53,.11), rgba(255,255,255,.035)), #111114;
}

.wall-track-picker {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
}

.wall-track-picker[hidden] {
  display: none;
}

.wall-track-option.active {
  border-color: rgba(189,255,53,.68);
}

.wall-track-cover {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  background: #26262b;
}

.wall-selected-track b,
.wall-selected-track span,
.wall-selected-track small,
.wall-track-option b,
.wall-track-option span,
.wall-track-option small {
  display: block;
  min-width: 0;
}

.wall-selected-track b,
.wall-track-option b {
  color: #fff;
  font-size: 15px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.wall-selected-track span,
.wall-track-option span {
  margin-top: 4px;
  color: rgba(255,255,255,.56);
  font-size: 11px;
  line-height: 1.25;
}

.wall-selected-track small,
.wall-track-option small {
  margin-top: 5px;
  color: rgba(255,255,255,.68);
  font-size: 11px;
}

.wall-selected-track strong,
.wall-track-option strong {
  color: var(--accent);
}

.wall-access-panel small,
.wall-selected-summary {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.35;
}

.wall-selected-summary {
  margin-top: 10px;
  padding: 11px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px dashed rgba(255,255,255,.14);
  font-weight: 850;
}

.field.disabled {
  opacity: .55;
}

.release-file-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

.release-file-trigger {
  min-height: 82px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(189,255,53,.28);
  background:
    linear-gradient(135deg, rgba(189,255,53,.13), rgba(255,255,255,.03)),
    #151518;
  color: #fff;
  cursor: pointer;
}

.release-file-trigger strong {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #101010;
  font-size: 28px;
  font-weight: 1000;
}

.release-file-trigger.cover strong {
  font-size: 34px;
}

.release-file-trigger b,
.release-file-trigger small {
  display: block;
  min-width: 0;
}

.release-file-trigger b {
  margin-bottom: 4px;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 950;
}

.release-file-trigger small {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.rights-sale-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(189,255,53,.12), rgba(255,255,255,.035)),
    #141417;
  border: 1px solid rgba(189,255,53,.22);
}

.rights-sale-head {
  display: grid;
  gap: 7px;
}

.rights-sale-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.rights-sale-head b {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: #101010;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 1000;
  overflow-wrap: anywhere;
}

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

.rights-sale-grid label {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.rights-sale-grid span {
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 900;
}

.rights-sale-grid .input {
  min-height: 42px;
  border-radius: 15px;
  padding: 8px 9px;
  text-align: center;
  font-weight: 950;
}

.rights-sale-panel small {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 360px) {
  .rights-sale-grid {
    grid-template-columns: 1fr;
  }
}

.release-check {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  color: #fff;
  font-weight: 900;
}

.release-check input {
  accent-color: var(--accent);
}

.release-check span b,
.release-check span small {
  display: block;
}

.release-check span small {
  margin-top: 2px;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  line-height: 1.25;
}

.feat-fields {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(189,255,53,.08);
  border: 1px solid rgba(189,255,53,.18);
}

.feat-fields[hidden] {
  display: none;
}

.feat-fields small {
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.35;
}

.royalty-split-panel {
  display: grid;
  gap: 10px;
  padding: 13px;
  border-radius: 22px;
  background: #151518;
  border: 1px solid rgba(255,255,255,.10);
}

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

.royalty-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.royalty-head b {
  min-width: 58px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #101010;
  text-align: center;
  font-size: 14px;
  font-weight: 1000;
}

.royalty-owner-check {
  margin: 0;
  background: rgba(255,255,255,.06);
}

.feat-royalty-list {
  display: grid;
  gap: 8px;
}

.feat-royalty-list[hidden] {
  display: none;
}

.feat-royalty-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 88px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 20px;
  background: rgba(189,255,53,.08);
  border: 1px solid rgba(189,255,53,.18);
}

.feat-royalty-card img {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
}

.feat-royalty-card b,
.feat-royalty-card span {
  display: block;
  min-width: 0;
}

.feat-royalty-card b {
  color: #fff;
  font-size: 14px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.feat-royalty-card > div > span {
  margin-top: 3px;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  line-height: 1.2;
}

.feat-royalty-card label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 6px;
  align-items: center;
}

.feat-royalty-card label span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 1000;
}

.feat-royalty-card .input {
  min-height: 40px;
  border-radius: 14px;
  padding: 8px 9px;
  text-align: center;
  font-weight: 950;
}

.royalty-empty {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px dashed rgba(255,255,255,.16);
  color: rgba(255,255,255,.70);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 850;
}

.royalty-empty[hidden] {
  display: none;
}

.royalty-note {
  color: rgba(255,255,255,.54);
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 360px) {
  .feat-royalty-card {
    grid-template-columns: 42px minmax(0, 1fr) 78px;
  }

  .feat-royalty-card img {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
}

.artist-tracks-list {
  display: grid;
  gap: 10px;
}

.artist-track-card {
  width: 100%;
  text-align: left;
}

.artist-track-card b,
.artist-track-card span {
  display: block;
}

.artist-track-card span {
  margin-top: 4px;
  color: rgba(255,255,255,.6);
  font-size: 12px;
}

.artist-track-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 12px;
}

.artist-track-kpis small {
  padding: 8px;
  border-radius: 14px;
  background: #111114;
  color: rgba(255,255,255,.72);
  font-size: 11px;
}

.modern-track-card {
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(189,255,53,.09), rgba(255,255,255,.035)),
    #17171b;
}

.artist-track-main {
  width: 100%;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  color: #fff;
  text-align: left;
}

.artist-track-main img {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  object-fit: cover;
  background: #2a2a30;
  box-shadow: 0 16px 34px rgba(0,0,0,.28);
}

.artist-track-info {
  min-width: 0;
  align-self: center;
}

.artist-track-info b,
.artist-track-info span,
.artist-track-info em {
  display: block;
  min-width: 0;
}

.artist-track-info b {
  font-size: 18px;
  line-height: 1.08;
  color: #fff;
  overflow-wrap: anywhere;
}

.artist-track-info span {
  margin-top: 5px;
  color: rgba(255,255,255,.64);
}

.artist-track-info em {
  width: fit-content;
  margin-top: 9px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.modern-track-card.deletable .artist-track-info em {
  background: rgba(189,255,53,.13);
  color: var(--accent);
}

.modern-track-card .artist-track-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0 12px 12px;
}

.modern-track-card .artist-track-kpis small {
  display: grid;
  gap: 3px;
  min-height: 48px;
}

.modern-track-card .artist-track-kpis b,
.modern-track-card .artist-track-kpis span {
  display: block;
}

.modern-track-card .artist-track-kpis b {
  color: #fff;
  font-size: 13px;
}

.modern-track-card .artist-track-kpis span {
  margin: 0;
  color: rgba(255,255,255,.54);
  font-size: 10px;
  line-height: 1.15;
}

.artist-track-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px 12px;
}

/* Чужой профиль: карточки треков той же ширины, что и в своём профиле (на всю строку). */
.artist-tracks-list .artist-track-card,
.artist-tracks-list .public-track-card { width: 100%; box-sizing: border-box; }

/* Карточка трека на чужом профиле: только рейтинг, % на продаже, плей и лайк */
.public-track-card .track-cover-wrap {
  position: relative;
  width: 78px; height: 78px;
  flex: none;
}
.public-track-card .track-cover-wrap img {
  width: 78px; height: 78px;
  border-radius: 18px; object-fit: cover;
}
.public-track-card .track-play-badge {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 22px; color: #fff;
  background: rgba(0,0,0,.30);
  border-radius: 18px;
  text-shadow: 0 2px 8px rgba(0,0,0,.55);
}
.public-track-card .artist-track-kpis.public-kpis {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.artist-track-actions.public-track-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.public-track-actions .play-ico-btn {
  flex: 0 0 auto;
  width: 44px; min-width: 44px;
  padding: 0;
  display: grid; place-items: center;
  font-size: 14px;
}
.public-track-actions .like-btn { flex: 0 0 auto; }
.public-track-actions .primary { flex: 1 1 100px; min-width: 0; }
.like-btn.track-like { padding: 8px 14px; }
.like-btn.track-like .like-ico { font-size: 16px; }

/* Лот «процент»: компактная кнопка плей + лайк + «Купить» (без вылезания за рамки) */
.row-actions.rights-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.row-actions.rights-actions .play-ico-btn {
  flex: 0 0 auto;
  width: 44px;
  min-width: 44px;
  padding: 0;
  font-size: 14px;
  display: grid;
  place-items: center;
}
.row-actions.rights-actions .like-btn { flex: 0 0 auto; }
.row-actions.rights-actions .primary { flex: 1 1 120px; min-width: 0; }

.track-detail-sheet,
.track-edit-sheet {
  max-height: 86vh;
  overflow-y: auto;
  scrollbar-width: none;
}

.track-detail-sheet::-webkit-scrollbar,
.track-edit-sheet::-webkit-scrollbar {
  display: none;
}

.track-detail-hero {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 4px 0 14px;
}

.track-detail-hero img {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  object-fit: cover;
  background: #222228;
}

.track-detail-hero small,
.track-detail-hero span {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 850;
}

.track-detail-hero h2 {
  margin: 5px 0 8px;
}

.track-detail-kpis,
.track-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.track-detail-kpis small {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 16px;
  background: #111114;
  border: 1px solid rgba(255,255,255,.06);
}

.track-detail-kpis b {
  color: #fff;
  font-size: 15px;
}

.track-detail-kpis span {
  color: rgba(255,255,255,.56);
  font-size: 11px;
}

.track-detail-section {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
}

.track-detail-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.track-detail-section-head b {
  color: #fff;
}

.track-detail-section-head span {
  min-width: 32px;
  min-height: 28px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(189,255,53,.13);
  color: var(--accent);
  text-align: center;
  font-weight: 950;
}

.track-detail-list {
  display: grid;
  gap: 7px;
}

.track-detail-row {
  display: grid;
  gap: 3px;
  padding: 10px;
  border-radius: 15px;
  background: #101013;
}

.track-detail-row strong,
.track-detail-row span,
.track-detail-row small {
  display: block;
  min-width: 0;
}

.track-detail-row strong {
  color: #fff;
  font-size: 13px;
}

.track-detail-row span {
  color: rgba(255,255,255,.7);
  font-size: 12px;
}

.track-detail-row small,
.track-detail-empty,
.track-detail-locked,
.track-delete-note {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.35;
}

.track-lyrics-preview {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.track-detail-section.locked {
  border-style: dashed;
}

@media (max-width: 360px) {
  .modern-track-card .artist-track-kpis,
  .track-detail-kpis,
  .track-edit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .artist-track-main {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .artist-track-main img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }
}
.profile-edit-sheet {
  max-height: 86vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 22px;
}

.profile-edit-sheet::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.profile-edit-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.profile-edit-topbar h2 {
  margin: 0;
  min-width: 0;
}

.profile-menu-logout {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

.profile-edit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 12px 0;
}

.profile-upload-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  color: #fff;
}

.profile-upload-box span {
  font-weight: 900;
  font-size: 14px;
}

.profile-upload-box small {
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.35;
}

.profile-upload-box input[type="file"] {
  width: 100%;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.10);
}

.profile-switch {
  display: grid;
  gap: 8px;
  margin: 10px 0 12px;
}

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

.profile-four-switch {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.profile-one-switch {
  grid-template-columns: minmax(0, 1fr);
}
.profile-switch button {
  text-align: center;
  min-width: 0;
  overflow: hidden;
}

.profile-switch button {
  min-height: 42px;
  border-radius: 18px;
  font-weight: 900;
  padding: 9px 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.74);
}

.profile-switch button.active {
  background: linear-gradient(180deg, #f2ff43, #bfff16);
  border-color: rgba(255,255,255,.44);
  color: #171b00;
  box-shadow: 0 0 20px rgba(190,255,0,.28);
}

.profile-switch button b,
.profile-switch button small {
  display: block;
}

.profile-switch button b {
  font-size: 12px;
}

.profile-switch button small {
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.2;
  opacity: .78;
}

.payout-fields {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.verification-levels {
  display: grid;
  gap: 8px;
  margin: 10px 0 12px;
}

.verify-level {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
}

.verify-level b {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  color: #fff;
}

.verify-level.done b {
  background: #ccff00;
  color: #101010;
}

.verify-level strong {
  display: block;
  font-size: 13px;
  color: #fff;
}

.verify-level span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.64);
}

.sticky-actions {
  position: sticky;
  bottom: 0;
  padding-top: 12px;
  background: linear-gradient(180deg, rgba(18,20,26,0), rgba(18,20,26,.96) 35%);
}
.profile-file-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.profile-file-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border-radius: 18px;
  background: rgba(8, 10, 16, .72);
  border: 1px solid rgba(255,255,255,.14);
  cursor: pointer;
  box-sizing: border-box;
}

.profile-file-trigger b {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f4ff00, #91ff00);
  color: #121500;
  font-size: 28px;
  font-weight: 1000;
  box-shadow: 0 0 22px rgba(190,255,0,.32);
}

.profile-file-trigger strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 1000;
}

.profile-file-trigger small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  line-height: 1.25;
}
.artist-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
}

.artist-message-btn {
  position: relative;
  min-width: 150px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4ff53 0%, #d7ff19 100%);
  color: #243000;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 0 22px rgba(214, 255, 25, 0.45);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
}

.artist-message-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  position: relative;
  box-shadow: 0 0 8px rgba(189,255,53,.6);
}

.artist-message-dot::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  right: -2px;
  bottom: 0;
}

.artist-message-btn small {
  position: absolute;
  left: 50%;
  bottom: -13px;
  transform: translateX(-50%);
  padding: 3px 13px;
  border-radius: 999px;
  background: #dfff21;
  color: #465000;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(223, 255, 33, 0.45);
}

.visible-bottom-nav {
  position: sticky;
  bottom: 10px;
  z-index: 50;
  width: calc(100% - 28px);
  margin: 18px auto 10px;
  padding: 7px;
  border-radius: 24px;
  background: rgba(37, 44, 55, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.visible-bottom-nav button {
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  min-height: 38px;
  font-size: 10px;
  font-weight: 800;
}

.visible-bottom-nav button.active {
  background: #f4ff53;
  color: #263000;
  box-shadow: 0 0 18px rgba(244, 255, 83, 0.38);
}
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(390px, calc(100vw - 24px));
  height: 66px;
  z-index: 10200;

  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;

  padding: 7px;
  border-radius: 26px;

  background: rgba(25, 31, 39, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.bottom-nav-btn {
  border: 0;
  outline: 0;
  cursor: pointer;

  border-radius: 20px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;

  font-family: inherit;
  font-weight: 800;
  transition: 0.18s ease;
}

.bottom-nav-btn small {
  font-size: 9px;
  line-height: 1;
  max-width: 54px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bottom-nav-icon {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.08);
}

/* Красный кружок непрочитанного сообщения AI-менеджера */
.nav-unread-dot {
  position: absolute;
  top: -2px; right: -3px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ff2d55;
  border: 2px solid #14141a;
  box-shadow: 0 0 6px rgba(255,45,85,.7);
}

.bottom-nav-btn.active {
  color: #1f2a14;
  background: linear-gradient(180deg, #f6ff71 0%, #b9ff00 100%);
  box-shadow:
    0 0 18px rgba(190, 255, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.bottom-nav-btn.active .bottom-nav-icon {
  background: rgba(31, 42, 20, 0.12);
}

.phone-stage {
  padding-bottom: 96px !important;
}

.artist-profile-screen {
  padding-bottom: 110px !important;
}
.artist-inbox-sheet,
.artist-chat-sheet {
  max-height: 86vh;
  overflow-y: auto;
  padding-bottom: 22px;
}

.artist-dialog-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.artist-dialog-card {
  width: 100%;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 0;
  border-radius: 22px;
  color: #fff;
  text-align: left;
  background: rgba(255,255,255,.07);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.artist-dialog-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #eaff48, #9dff00);
  color: #17210f;
  font-weight: 1000;
}

.artist-dialog-avatar.small {
  width: 42px;
  height: 42px;
}

.artist-dialog-info b {
  color: #fff;
  font-size: 14px;
  font-weight: 1000;
}

.artist-dialog-info small {
  float: right;
  color: rgba(255,255,255,.45);
  font-size: 10px;
}

.artist-dialog-info span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.6);
  font-size: 12px;
  font-weight: 700;
}

.artist-dialog-card i {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #17210f;
  background: #eaff48;
  font-style: normal;
  font-weight: 1000;
  font-size: 11px;
}

.artist-chat-top {
  display: grid;
  grid-template-columns: 34px 42px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.chat-back-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.1);
  font-size: 26px;
}

.artist-chat-messages {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(0,0,0,.22);
}

.artist-message {
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 700;
}

.artist-message.user {
  justify-self: start;
  color: #fff;
  background: rgba(255,255,255,.1);
}

.artist-message.artist {
  justify-self: end;
  color: #17210f;
  background: linear-gradient(135deg, #eaff48, #9dff00);
}

.artist-message.paid-preview {
  display: grid;
  gap: 5px;
  color: #fff;
  background: rgba(234,255,72,.14);
  box-shadow: inset 0 0 0 1px rgba(234,255,72,.35);
}

.artist-message.paid-preview strong {
  color: #eaff48;
  font-size: 15px;
}

.artist-send-panel {
  margin-top: 12px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255,255,255,.05);
}

.artist-send-types {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 7px;
  margin-top: 8px;
}

.artist-send-types button {
  min-height: 42px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: rgba(255,255,255,.08);
  font-size: 11px;
  font-weight: 900;
}

.artist-send-types button:last-child {
  color: #17210f;
  background: linear-gradient(135deg, #eaff48, #9dff00);
}

.paid-pack-editor {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(0,0,0,.25);
  box-shadow: inset 0 0 0 1px rgba(234,255,72,.24);
}

.paid-pack-editor.active {
  display: block;
}
.artist-inbox-sheet,
.artist-chat-sheet {
  width: min(92vw, 390px);
  max-height: 82vh;
  overflow-y: auto;
  padding-bottom: 18px;
  border-radius: 30px;
}

.artist-dialog-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.artist-dialog-card {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 12px;
  display: grid;
  grid-template-columns: 50px 1fr 24px;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.artist-dialog-card:active {
  transform: scale(.98);
}

.artist-dialog-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f6ff00, #ffffff);
  color: #20251c;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(220,255,0,.32);
}

.artist-dialog-avatar.small {
  width: 38px;
  height: 38px;
  font-size: 14px;
}

.artist-dialog-info {
  min-width: 0;
}

.artist-dialog-info div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.artist-dialog-info b {
  font-size: 13px;
}

.artist-dialog-info small {
  font-size: 10px;
  opacity: .72;
}

.artist-dialog-info span {
  display: block;
  font-size: 11px;
  opacity: .9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artist-dialog-card i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #efff2d;
  color: #222;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.artist-chat-top {
  display: grid;
  grid-template-columns: auto 42px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.artist-chat-top h2 {
  margin: 0;
}

.artist-chat-top p {
  margin: 2px 0 0;
  opacity: .7;
  font-size: 11px;
}

.artist-chat-messages {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.artist-chat-bubble {
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 18px;
  font-size: 12px;
  line-height: 1.35;
}

.artist-chat-bubble.user {
  justify-self: start;
  background: rgba(255,255,255,.12);
  color: #f3f3f6;
  border: 1px solid rgba(255,255,255,.08);
}

.artist-chat-bubble.artist {
  justify-self: end;
  background: linear-gradient(135deg, rgba(189,255,53,.22), rgba(189,255,53,.10));
  color: #eafff0;
  border: 1px solid rgba(189,255,53,.28);
  font-weight: 600;
}

.artist-send-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px;
  padding: 12px;
}

.artist-send-types {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 10px 0;
}

.artist-send-types button {
  border: 0;
  border-radius: 16px;
  padding: 10px 7px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.artist-send-types button:active {
  transform: scale(.96);
}

.paid-pack-editor {
  margin-top: 10px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(239,255,45,.22);
}
.artist-actions {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 8;
}

/* Кнопка Написать / Сообщения */
.artist-message-btn {
  min-width: 138px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  background: linear-gradient(180deg, #f6ff69 0%, #dfff00 45%, #b7f000 100%);
  color: #263000;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow:
    0 0 22px rgba(216, 255, 0, 0.65),
    0 8px 18px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: visible;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.artist-message-btn:active {
  transform: scale(0.97);
}

/* Нормальная иконка сообщения слева */
.artist-message-dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  position: relative;
  flex: 0 0 17px;
  box-shadow: 0 0 8px rgba(189,255,53,.6);
}

.artist-message-dot::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: 1px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
  border-radius: 1px;
}

/* Маленькая плашка "Платно", если она нужна */
.artist-message-btn small {
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4ff5c 0%, #dfff00 100%);
  color: #344000;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    0 0 12px rgba(223, 255, 0, 0.55),
    0 4px 10px rgba(0, 0, 0, 0.35);
}

/* Если это кнопка сообщений владельца — без плашки платно */
.artist-message-btn.owner-message-btn small {
  display: none;
}

/* Карточки История / Баланс */
.artist-stats-grid {
  width: calc(100% - 34px);
  margin: 24px auto 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
  z-index: 7;
}

.artist-stat-card {
  height: 96px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(92, 105, 116, 0.72) 0%, rgba(50, 59, 67, 0.88) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 12px 24px rgba(0, 0, 0, 0.28);
  padding: 16px 17px;
  color: #fff;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.artist-stat-card::after {
  content: "›";
  position: absolute;
  top: 14px;
  right: 16px;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  opacity: 0.9;
}

.artist-stat-card b {
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 7px;
}

.artist-stat-card strong {
  font-size: 27px;
  line-height: 1;
  font-weight: 1000;
  color: #eaff22;
  text-shadow: 0 0 14px rgba(234, 255, 34, 0.45);
}

.artist-stat-card span {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

/* Табы Стена / Главная / Треки */
.artist-tabs {
  width: calc(100% - 22px);
  margin: 0 auto 14px;
  height: 54px;
  border-radius: 999px;
  background: rgba(76, 88, 98, 0.78);
  padding: 6px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 18px rgba(0, 0, 0, 0.22);
  position: relative;
  z-index: 7;
}

.artist-tabs button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.artist-tabs button.active {
  background: #fff;
  color: #37404a;
  box-shadow:
    0 0 16px rgba(255, 255, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.artist-profile-screen .artist-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 12px !important;
}

.artist-profile-screen .artist-message-btn {
  position: relative !important;
  min-width: 132px !important;
  height: 44px !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0 18px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;

  background: linear-gradient(180deg, rgba(189, 255, 53, 0.18), rgba(189, 255, 53, 0.06)) !important;
  color: #eafff0 !important;
  border: 1px solid rgba(189, 255, 53, 0.34) !important;

  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -0.2px !important;

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 6px 16px rgba(0, 0, 0, 0.28) !important;

  cursor: pointer !important;
  overflow: visible !important;
}

.artist-profile-screen .artist-message-btn:active {
  transform: scale(0.97) !important;
}

.artist-profile-screen .artist-message-icon {
  width: 15px !important;
  height: 15px !important;
  border-radius: 50% !important;
  background: #6d775d !important;
  display: inline-block !important;
  position: relative !important;
  flex: 0 0 auto !important;
}

.artist-profile-screen .artist-message-icon::after {
  content: '' !important;
  position: absolute !important;
  left: 4px !important;
  bottom: -3px !important;
  width: 7px !important;
  height: 7px !important;
  background: #6d775d !important;
  transform: rotate(45deg) !important;
  border-radius: 1px !important;
}

.artist-profile-screen .artist-message-btn small {
  position: absolute !important;
  left: 50% !important;
  bottom: -13px !important;
  transform: translateX(-50%) !important;

  min-width: 52px !important;
  height: 18px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: rgba(189, 255, 53, 0.18) !important;
  color: var(--accent) !important;
  border: 1px solid rgba(189, 255, 53, 0.32) !important;

  font-size: 9px !important;
  font-weight: 800 !important;

  box-shadow: none !important;
}

.artist-profile-screen .artist-message-btn.owner small {
  display: none !important;
}

/* Messenger commerce */
.messenger-sheet {
  width: min(94vw, 430px) !important;
  max-height: 88svh !important;
}

.messenger-thread {
  max-height: 44svh;
  overflow-y: auto;
  padding: 12px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.08);
}

.artist-chat-bubble p {
  margin: 0;
}

.artist-chat-bubble small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  opacity: .62;
}

.artist-chat-bubble.messenger-offer {
  width: min(100%, 310px);
  max-width: 92%;
  display: grid;
  gap: 9px;
  padding: 12px;
  background: #18191d;
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.artist-chat-bubble.messenger-offer.artist {
  justify-self: end;
  background:
    linear-gradient(180deg, rgba(239,255,45,.16), rgba(255,255,255,.05)),
    #18191d;
  color: #fff;
  border-color: rgba(239,255,45,.3);
}

.messenger-offer-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.messenger-offer-head b {
  font-size: 14px;
  line-height: 1.2;
}

.messenger-content-preview {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 15%, rgba(239,255,45,.18), transparent 36%),
    linear-gradient(135deg, #25262d, #111216);
  overflow: hidden;
}

.messenger-offer.locked .messenger-content-preview {
  min-height: 116px;
}

.messenger-offer.locked .messenger-content-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.03)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.1) 0 10px, rgba(255,255,255,.02) 10px 20px);
  filter: blur(8px);
  transform: scale(1.08);
}

.messenger-offer.locked .messenger-content-preview::after {
  content: "Заблюрено до оплаты";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
  background: rgba(0,0,0,.24);
}

.messenger-offer-item {
  min-height: 52px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 10px 11px;
  border-radius: 15px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
  z-index: 1;
}

.messenger-offer.locked .messenger-offer-item {
  filter: blur(5px);
}

.messenger-offer-item strong {
  color: #efff2d;
  font-size: 11px;
  text-transform: uppercase;
}

.messenger-offer-item span {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.messenger-offer-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.messenger-offer-foot > span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(239,255,45,.14);
  color: #efff2d;
  font-size: 12px;
  font-weight: 1000;
}

.messenger-composer {
  display: grid;
  gap: 10px;
}

.messenger-composer .artist-send-types {
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)) !important;
}

.messenger-composer .paid-pack-editor {
  display: none !important;
  gap: 10px;
}

.messenger-composer .paid-pack-editor.active {
  display: grid !important;
}

.messenger-composer .paid-pack-editor p {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  line-height: 1.35;
}

.messenger-content-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.messenger-content-options label {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.messenger-content-options input {
  accent-color: #efff2d;
}

.messenger-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

@media (max-width: 360px) {
  .messenger-content-grid,
  .messenger-content-options {
    grid-template-columns: 1fr;
  }

  .messenger-thread {
    max-height: 38svh;
  }
}

/* ===== Premium Wallet (redesign) ===== */
.wallet-hero-card {
  position: relative;
  margin: 4px 0 16px;
  padding: 22px 20px;
  border-radius: 28px;
  background: linear-gradient(140deg, #d6ff4b 0%, #b6f53a 45%, #7fd83a 100%);
  color: #0b0f0a;
  box-shadow: 0 18px 42px -18px rgba(150,230,40,.75), inset 0 1px 0 rgba(255,255,255,.45);
  overflow: hidden;
}
.wallet-hero-card::after {
  content: '';
  position: absolute;
  right: -42px;
  top: -42px;
  width: 168px;
  height: 168px;
  background: radial-gradient(circle, rgba(255,255,255,.5), transparent 70%);
  pointer-events: none;
}
.wallet-hero-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .68;
}
.wallet-hero-value {
  margin: 6px 0 18px;
  font-size: 46px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.wallet-hero-actions {
  display: flex;
  gap: 10px;
}
.wallet-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  font-weight: 850;
  border: 0;
  cursor: pointer;
}
.wallet-btn-add { background: rgba(11,15,10,.92); color: #eaffb8; }
.wallet-btn-add i { font-size: 16px; font-weight: 900; line-height: 1; }
.wallet-btn-withdraw { background: rgba(255,255,255,.9); color: #0b0f0a; }

.wallet-referral-widget {
  margin-bottom: 14px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(189,255,53,.10), rgba(255,255,255,.03)), #111114;
  border: 1px solid rgba(189,255,53,.22);
}
.wallet-referral-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.wallet-referral-head b { font-size: 22px; color: var(--accent); font-weight: 950; }
.wallet-referral-head span { font-size: 12px; color: rgba(255,255,255,.6); }
.wallet-referral-sub {
  margin: 8px 0 14px;
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
  line-height: 1.45;
}
.wallet-referral-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.wallet-stat-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}
.wallet-stat-card b { display: block; font-size: 19px; font-weight: 900; color: #fff; }
.wallet-stat-card span { font-size: 11px; color: rgba(255,255,255,.55); }
.wallet-stat-card.accent {
  background: linear-gradient(135deg, rgba(189,255,53,.18), rgba(189,255,53,.04));
  border-color: rgba(189,255,53,.35);
}
.wallet-stat-card.accent b { color: var(--accent); }
.wallet-referral-link { display: flex; gap: 8px; align-items: stretch; }
.wallet-referral-link .input { flex: 1; min-width: 0; font-size: 12px; }
.wallet-copy-btn {
  padding: 0 16px;
  border-radius: 14px;
  border: 0;
  background: var(--accent);
  color: #0b0f0a;
  font-weight: 850;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.wallet-referral-by { display: block; margin-top: 10px; font-size: 11px; color: rgba(255,255,255,.5); }

.wallet-web3-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  text-align: left;
}
.wallet-web3-row.connected {
  border-color: rgba(189,255,53,.4);
  background: linear-gradient(135deg, rgba(189,255,53,.10), rgba(255,255,255,.02));
}
.wallet-web3-ico { font-size: 18px; color: var(--accent); }
.wallet-web3-copy { flex: 1; min-width: 0; }
.wallet-web3-copy b { display: block; font-size: 14px; }
.wallet-web3-copy small { font-size: 11px; color: rgba(255,255,255,.55); }
.wallet-web3-act { color: rgba(255,255,255,.5); font-size: 16px; }

.wallet-history { padding: 2px 0 92px; }
.wallet-history-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 4px 2px 6px;
}
.wallet-history-head b { font-size: 15px; color: #fff; }
.wallet-history-head span { font-size: 11px; color: rgba(255,255,255,.5); }

.payout-method-block { margin-bottom: 12px; }
.payout-method-block > b { display: block; margin-bottom: 8px; font-size: 13px; color: rgba(255,255,255,.75); }
.payout-company-block { margin: 6px 0 4px; }
.payout-company-block summary { cursor: pointer; font-size: 13px; color: var(--accent); padding: 6px 0; }

/* Привязанные реквизиты вывода — строка в кошельке */
.wallet-req-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  color: #fff;
  cursor: pointer;
  text-align: left;
}
.wallet-req-row.bound {
  background: linear-gradient(135deg, rgba(189,255,53,.10), rgba(255,255,255,.02));
  border-color: rgba(189,255,53,.28);
}
.wallet-req-row.empty { border-style: dashed; border-color: rgba(255,255,255,.22); }
.wallet-req-ico {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: 0 0 38px;
  border-radius: 12px;
  background: rgba(189,255,53,.14);
  color: var(--accent);
  font-size: 16px;
}
.wallet-req-copy { flex: 1; min-width: 0; }
.wallet-req-copy small { display: block; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.wallet-req-copy b { display: block; font-size: 14.5px; font-weight: 850; margin: 2px 0; }
.wallet-req-copy > span { display: block; font-size: 11.5px; color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wallet-req-act {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 850;
  background: rgba(189,255,53,.16);
  color: var(--accent);
}

/* Крипто-блок — вторичный, приглушённый */
.wallet-web3-secondary { opacity: .82; }
.wallet-web3-secondary:not(.connected) { background: rgba(255,255,255,.025); }

/* Выбор способа вывода в панели */
.payout-method-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.payout-method-tab {
  flex: 1 1 auto;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.7);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.payout-method-tab.active {
  border-color: var(--accent);
  background: rgba(189,255,53,.16);
  color: var(--accent);
}
.payout-crypto-note { margin: 10px 0 4px; font-size: 11.5px; color: rgba(255,255,255,.45); line-height: 1.4; }

.gate-skip-requisites {
  display: flex; align-items: center; gap: 9px;
  margin: 6px 0 2px;
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
  cursor: pointer;
}
.gate-skip-requisites input { width: 16px; height: 16px; accent-color: var(--accent); }

/* ===================== Онбординг / регистрация / KYC ===================== */
.onb-stage {
  position: relative;
  min-height: 100%;
  background: #111114;
  display: flex;
  justify-content: center;
  overflow-anchor: none;
}
/* Отключаем scroll-anchoring на онбординге — экран не «дёргается» при вводе города. */
body.onboarding-active { overflow-anchor: none; }
body.onboarding-active * { overflow-anchor: none; }
/* Резерв места под выпадашку города, чтобы её появление не двигало фокус/скролл. */
.onb-city-input { scroll-margin-bottom: 280px; }
.onb-card {
  width: 100%;
  max-width: 460px;
  padding: 14px 20px 40px;
  color: #fff;
}
.onb-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0 14px;
}
.onb-back, .onb-close {
  width: 38px; height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.onb-head-mid { flex: 1; min-width: 0; text-align: center; }
.onb-wordmark { font-size: 16px; letter-spacing: .22em; }
.onb-step-label { display: block; margin-top: 3px; font-size: 11px; color: rgba(255,255,255,.5); }
.onb-progress { display: flex; gap: 6px; margin: 4px 0 18px; }
.onb-dot { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); transition: background .2s; }
.onb-dot.done { background: var(--accent); }
.onb-dot.active { box-shadow: 0 0 0 1px rgba(189,255,53,.4); }
.onb-body { display: flex; flex-direction: column; }
.onb-title { font-size: 26px; font-weight: 950; margin: 6px 0 8px; }
.onb-lead { font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.5; margin-bottom: 22px; }
.onb-h2 { font-size: 20px; font-weight: 900; margin: 2px 0 6px; }
.onb-sub { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.45; margin-bottom: 16px; }

.onb-role-big {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  margin-bottom: 12px;
  padding: 20px 18px;
  border-radius: 22px;
  border: 1px solid rgba(189,255,53,.25);
  background: linear-gradient(135deg, rgba(189,255,53,.10), rgba(255,255,255,.02));
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.onb-role-ico {
  width: 48px; height: 48px; flex: 0 0 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(189,255,53,.16);
  color: var(--accent);
  font-size: 22px;
}
.onb-role-copy { flex: 1; min-width: 0; }
.onb-role-copy b { display: block; font-size: 17px; font-weight: 900; }
.onb-role-copy small { font-size: 12px; color: rgba(255,255,255,.55); }
.onb-role-arrow { color: rgba(255,255,255,.4); font-size: 22px; }
.onb-role-secondary {
  margin-top: 10px;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.5);
  font-size: 12.5px;
  text-decoration: underline;
  cursor: pointer;
  align-self: center;
}

/* Премиум-выбор типа компании (радио/блогер/…) — сетка карточек вместо select */
.onb-type-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px;
}
.onb-type-card {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px 14px 13px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  color: #fff; text-align: left; cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .12s ease;
}
.onb-type-card:active { transform: scale(.98); }
.onb-type-glyph {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(255,255,255,.06); font-size: 20px;
  transition: background .16s ease;
}
.onb-type-copy b { display: block; font-size: 14.5px; font-weight: 900; line-height: 1.2; }
.onb-type-copy small { display: block; margin-top: 2px; font-size: 11px; color: rgba(255,255,255,.5); line-height: 1.3; }
.onb-type-check {
  position: absolute; top: 12px; right: 12px;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900; color: #0b0b0c;
  background: var(--accent); opacity: 0; transform: scale(.6);
  transition: opacity .16s ease, transform .16s ease;
}
.onb-type-card.active {
  border-color: rgba(189,255,53,.55);
  background: linear-gradient(160deg, rgba(189,255,53,.14), rgba(189,255,53,.03));
}
.onb-type-card.active .onb-type-glyph { background: rgba(189,255,53,.18); }
.onb-type-card.active .onb-type-check { opacity: 1; transform: scale(1); }

/* Премиум-выбор города (онбординг): инпут + кастомная выпадашка вместо нативного datalist */
.onb-city-box { position: relative; display: block; }
.onb-city-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30;
  display: none; flex-direction: column; gap: 2px;
  background: #14141a; border: 1px solid rgba(255,255,255,.14); border-radius: 14px;
  padding: 6px; box-shadow: 0 18px 44px rgba(0,0,0,.55);
  max-height: 236px; overflow-y: auto;
}
.onb-city-suggest.open { display: flex; }
.onb-city-opt {
  text-align: left; padding: 11px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 700; color: #fff; background: transparent; cursor: pointer;
}
.onb-city-opt:hover, .onb-city-opt:active { background: rgba(189,255,53,.14); }

.onb-seg { display: flex; gap: 8px; margin-bottom: 14px; }
.onb-seg.wrap { flex-wrap: wrap; }
.onb-seg-btn {
  flex: 1 1 auto;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.onb-seg-btn.active { border-color: var(--accent); background: rgba(189,255,53,.16); color: var(--accent); }
.onb-otp-hint {
  margin: 4px 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(189,255,53,.08);
  border: 1px dashed rgba(189,255,53,.3);
  font-size: 12.5px;
  color: rgba(255,255,255,.7);
}
.onb-otp-hint b { color: var(--accent); letter-spacing: .15em; }
.onb-text-btn {
  margin-top: 10px;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.55);
  font-size: 12.5px;
  cursor: pointer;
  align-self: center;
}
.onb-warn {
  margin: 4px 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(242,59,101,.10);
  border: 1px solid rgba(242,59,101,.3);
  color: #ffc9d6;
  font-size: 12.5px;
  line-height: 1.45;
}

/* KYC */
.onb-kyc-block {
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
}
.onb-kyc-block.done { border-color: rgba(189,255,53,.3); background: linear-gradient(135deg, rgba(189,255,53,.08), rgba(255,255,255,.02)); }
.onb-kyc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; }
.onb-kyc-ok { color: var(--accent); font-size: 12px; font-weight: 800; }
.onb-kyc-preview { width: 100%; display: block; background: #000; }
.onb-kyc-preview.rect { border-radius: 12px; aspect-ratio: 16/10; object-fit: cover; }
.onb-kyc-preview.circle { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; margin: 0; }
/* Превью кружка — чистый круг без плеера (видео-нота: зацикленное, без контролов), премиум-рамка */
.onb-kyc-preview-wrap.circle {
  position: relative; width: 200px; height: 200px; margin: 0 auto;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 3px rgba(189,255,53,.55), 0 14px 34px rgba(0,0,0,.5);
}
.onb-kyc-preview-wrap.circle::after {
  content: '✓'; position: absolute; right: 8px; bottom: 8px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 15px; font-weight: 900; color: #0b1206;
  background: linear-gradient(135deg, var(--accent), #8be84a); box-shadow: 0 6px 14px rgba(0,0,0,.4);
}
.onb-cam-wrap { position: relative; width: 100%; overflow: hidden; background: #000; }
.onb-cam-wrap.rect { border-radius: 12px; aspect-ratio: 16/10; }
.onb-cam-wrap.circle { width: 240px; height: 240px; border-radius: 50%; margin: 0 auto; }
.onb-cam { width: 100%; height: 100%; object-fit: cover; display: block; }
.onb-cam-mask { position: absolute; inset: 0; pointer-events: none; }
.onb-cam-mask.rect { border: 2px dashed rgba(189,255,53,.7); border-radius: 12px; margin: 16px; inset: 0; }
.onb-cam-mask.circle { border: 3px solid rgba(189,255,53,.7); border-radius: 50%; }
/* Премиум-селфи: чуть больше круг, мягкое свечение рамки */
.onb-cam-selfie.circle { width: 250px; height: 250px; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 18px 44px rgba(0,0,0,.5); }

/* Liveness: кольцо прогресса записи (5с) + подсказки поворота головы. Анимации идут только при .recording. */
.onb-liveness-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); z-index: 3; pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.onb-cam-selfie.recording .onb-liveness-ring { opacity: 1; }
.onb-liveness-track { fill: none; stroke: rgba(0,0,0,.35); stroke-width: 4; }
.onb-liveness-fill { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 295.3; stroke-dashoffset: 295.3; }
.onb-cam-selfie.recording .onb-liveness-fill { animation: lvsRing 5s linear forwards; }
@keyframes lvsRing { to { stroke-dashoffset: 0; } }

.onb-liveness-steps { position: absolute; left: 8%; right: 8%; bottom: 16%; z-index: 4; text-align: center; pointer-events: none; min-height: 36px; }
.onb-liveness-steps .lvs {
  position: absolute; left: 0; right: 0; opacity: 0;
  font-size: 13.5px; font-weight: 900; color: #fff; line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0,0,0,.85);
}
.onb-cam-selfie.recording .lvs-1 { animation: lvsA 5s ease forwards; }
.onb-cam-selfie.recording .lvs-2 { animation: lvsB 5s ease forwards; }
.onb-cam-selfie.recording .lvs-3 { animation: lvsC 5s ease forwards; }
.onb-cam-selfie.recording .lvs-4 { animation: lvsD 5s ease forwards; }
@keyframes lvsA { 0%,2%{opacity:0;transform:translateY(6px)} 8%,24%{opacity:1;transform:none} 30%,100%{opacity:0} }
@keyframes lvsB { 0%,30%{opacity:0;transform:translateX(8px)} 36%,56%{opacity:1;transform:none} 62%,100%{opacity:0} }
@keyframes lvsC { 0%,62%{opacity:0;transform:translateX(-8px)} 68%,86%{opacity:1;transform:none} 92%,100%{opacity:0} }
@keyframes lvsD { 0%,90%{opacity:0;transform:scale(.9)} 95%,100%{opacity:1;transform:none} }
@media (prefers-reduced-motion: reduce) {
  .onb-cam-selfie.recording .onb-liveness-fill,
  .onb-cam-selfie.recording .lvs { animation-duration: .01s; }
}
.onb-cam-hint { margin: 12px 0; font-size: 12px; color: rgba(255,255,255,.6); text-align: center; }
.onb-kyc-start {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 16px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,.22);
  background: rgba(255,255,255,.02);
  color: #fff; font-size: 13.5px; font-weight: 700;
  cursor: pointer;
}
.onb-kyc-ico { font-size: 22px; color: var(--accent); }
.onb-kyc-fallback { display: block; margin-top: 10px; text-align: center; font-size: 12px; color: rgba(255,255,255,.45); cursor: pointer; }
.onb-kyc-fallback span { text-decoration: underline; }
.onb-crypto-note { margin: 8px 0 10px; font-size: 11.5px; color: rgba(255,255,255,.45); line-height: 1.4; }
.onb-oferta {
  display: flex; gap: 10px; align-items: flex-start; width: 100%;
  margin: 6px 0 18px; padding: 12px 14px;
  font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.45;
  text-align: left; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  -webkit-tap-highlight-color: transparent;
}
.onb-oferta-box {
  flex: 0 0 22px; width: 22px; height: 22px; margin-top: -1px;
  display: grid; place-items: center;
  border-radius: 7px; border: 2px solid rgba(255,255,255,.3);
  font-size: 14px; font-weight: 900; color: #0b1206; background: transparent;
  transition: background .15s ease, border-color .15s ease;
}
.onb-oferta.checked { border-color: rgba(189,255,53,.4); background: rgba(189,255,53,.08); color: #fff; }
.onb-oferta.checked .onb-oferta-box { background: var(--accent); border-color: var(--accent); }
.onb-oferta:active { transform: scale(.99); }

/* Очередь KYC в админке */
.kyc-queue { display: flex; flex-direction: column; gap: 14px; }
.kyc-item { display: flex; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card2); flex-wrap: wrap; }
.kyc-media { display: flex; gap: 12px; }
.kyc-media img { width: 150px; height: 96px; object-fit: cover; border-radius: 8px; background: #000; }
.kyc-media video { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; background: #000; }
.kyc-meta { flex: 1; min-width: 180px; }
.kyc-meta b { display: block; font-size: 15px; }
.kyc-meta small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.kyc-actions { display: flex; gap: 8px; align-items: center; }

/* Ростер артистов лейбла */
.label-roster-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: calc(100% - 32px);
  margin: 0 16px 12px;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1px solid rgba(189,255,53,.3);
  background: linear-gradient(135deg, rgba(189,255,53,.12), rgba(255,255,255,.02));
  color: #fff; font-size: 14px; font-weight: 800;
  cursor: pointer;
}
.label-roster-btn strong { color: var(--accent); font-size: 16px; }
.label-roster-add { display: flex; gap: 8px; margin: 6px 0 14px; }
.label-roster-add .input { flex: 1; }
.label-roster-list { display: flex; flex-direction: column; gap: 8px; }
.label-roster-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.label-roster-row b { font-size: 14px; }

/* Доля прав, остающаяся у артиста (форма отгрузки) + доли от лейблов (менеджер продаж) */
.rights-artist-retained { margin-top: 10px; }
.rights-artist-retained small { display: block; margin-top: 4px; font-size: 11px; color: rgba(255,255,255,.45); line-height: 1.4; }
.artist-grant-section { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.artist-grant-section h3 { font-size: 15px; margin: 0 0 4px; }
.artist-grant-section > p { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.45; margin: 0 0 12px; }
.artist-grant-item { display: flex; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(189,255,53,.06); border: 1px solid rgba(189,255,53,.2); margin-bottom: 10px; }
.artist-grant-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: 0 0 56px; }
.artist-grant-main { flex: 1; min-width: 0; }
.artist-grant-main b { display: block; font-size: 14px; }
.artist-grant-main > span { display: block; font-size: 12px; color: rgba(255,255,255,.6); margin: 2px 0 8px; }
.artist-grant-controls { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.artist-grant-controls label { display: flex; flex-direction: column; gap: 2px; font-size: 10px; color: rgba(255,255,255,.5); }
.artist-grant-controls .input { width: 78px; padding: 8px 10px; }

/* ===================== Истории (VK/Instagram style) ===================== */
.home-stories-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  /* чуть ближе к блоку лейблов сверху и дальше от «Главных новинок» снизу */
  margin: 2px 0 20px;
  padding: 6px 16px 0;
  scrollbar-width: none;
}
.home-stories-strip::-webkit-scrollbar { display: none; }
/* Прямоугольные иконки историй с подписью внутри (кто это: артист/лейбл/компания) */
.home-story-card {
  flex: 0 0 auto;
  position: relative;
  /* ~5 карточек видно сразу (полоса: паддинг 32px + 4 промежутка по 12px), дальше — прокрутка вбок */
  width: clamp(58px, calc((100vw - 80px) / 5), 80px);
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #1c1c1f;
  box-shadow: inset 0 0 0 2px rgba(189,255,53,.55);
}
.home-story-media { position: absolute; inset: 0; }
.home-story-media img, .home-story-media video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.home-story-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 8px 8px;
  text-align: left;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
}
.home-story-cap b {
  display: block; font-size: 12px; color: #fff; font-weight: 800;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.home-story-cap small { font-size: 10px; color: var(--accent); font-weight: 700; }

/* Плитка «+ История» на бирже (только артист/лейбл/компания) */
.home-story-add {
  background: linear-gradient(165deg, #232329, #16161a);
  box-shadow: inset 0 0 0 2px rgba(189,255,53,.32);
}
.home-story-add .home-story-media {
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 38%, rgba(189,255,53,.18), transparent 60%);
}
.home-story-plus {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-size: 24px; font-weight: 700;
  color: #0c1206; background: linear-gradient(135deg, var(--accent), #8be84a);
  box-shadow: 0 6px 16px rgba(189,255,53,.4);
}

.story-view-backdrop { display: flex; align-items: center; justify-content: center; z-index: 10300 !important; }
.story-chip-drag {
  position: absolute;
  z-index: 4;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: grab;
  touch-action: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
}
.story-chip-drag:active { cursor: grabbing; }
.story-chip-hint { display: block; margin: -6px 0 12px; font-size: 11px; color: rgba(255,255,255,.5); }
.avatar-view { position: relative; width: min(420px, 92vw); }
.avatar-view-img { width: 100%; border-radius: 18px; display: block; object-fit: contain; max-height: 86vh; background: #000; }
.avatar-view .story-view-close { position: absolute; top: 10px; right: 10px; z-index: 2; }

/* ===================== Лайки ===================== */
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
}
.like-btn .like-ico { font-size: 14px; line-height: 1; color: rgba(255,255,255,.72); }
.like-btn i { font-style: normal; }
.like-btn.liked { border-color: rgba(242,59,101,.5); background: rgba(242,59,101,.16); color: #ff8fa6; }
.like-btn.liked .like-ico { color: #ff4d6d; }
.mini-controls .mini-like {
  width: auto;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  gap: 4px;
}
.mini-controls .mini-like .like-ico { font-size: 13px; }
.mini-controls .mini-like i { font-size: 11px; }
.like-btn.asset-like { margin-left: auto; align-self: center; }
.audio-player-likerow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wall-post-likerow { margin-top: 8px; }
/* Премиум-лайк истории — круглая стеклянная кнопка внизу справа (над плашкой трека) */
.story-like-row {
  position: absolute; right: 16px; z-index: 5;
  bottom: calc(96px + env(safe-area-inset-bottom));
}
/* Премиум-лайк в историях: объёмный «стеклянный» круг, ровные иконка+счётчик (не сдавлен по бокам). */
.story-view .story-like {
  display: flex; flex-direction: column; gap: 3px; align-items: center; justify-content: center;
  width: 62px; height: 62px; min-width: 62px; padding: 0;
  border-radius: 50%;
  background: radial-gradient(125% 125% at 50% 0%, rgba(44,44,58,.62), rgba(13,13,19,.66));
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px) saturate(1.25); -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 -9px 18px rgba(0, 0, 0, 0.30);
  transition: transform .14s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.story-view .story-like .like-ico {
  font-size: 26px; line-height: 1; color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.45));
}
.story-view .story-like i {
  font-size: 12px; font-weight: 900; font-style: normal; color: #fff;
  line-height: 1; letter-spacing: .02em;
}
.story-view .story-like:active { transform: scale(.9); }
.story-view .story-like.liked {
  background: radial-gradient(125% 125% at 50% 0%, rgba(255,92,122,.52), rgba(190,32,62,.44));
  border-color: rgba(255, 120, 150, 0.7);
  box-shadow:
    0 16px 38px rgba(255, 77, 109, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}
.story-view .story-like.liked .like-ico {
  color: #fff;
  filter: drop-shadow(0 0 10px rgba(255,77,109,.95));
}
/* Свайп историй — отдаём жест нам (без отмены браузером) */
.story-view, .story-view-media { touch-action: none; }
/* Премиум-заставка камеры (пока грузится поток вместо серого фона) */
.cam-loading {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background:
    radial-gradient(120% 70% at 50% 30%, rgba(189,255,53,.12), transparent 55%),
    linear-gradient(180deg, #16161c, #0c0c10);
}
.cam-loading b { font-size: 22px; font-weight: 900; letter-spacing: .04em; color: #fff; }
.cam-loading span { font-size: 12px; color: var(--accent); font-weight: 700; }
.onb-cam-wrap.cam-live .cam-loading,
.story-cam-wrap.cam-live .cam-loading { display: none; }
.onb-cam-wrap .onb-cam, .story-cam-wrap .story-cam { position: relative; z-index: 1; }

/* Камера историй */
.story-cam-wrap { position: relative; width: 100%; aspect-ratio: 3/4; max-height: 52svh; border-radius: 18px; overflow: hidden; background: #000; margin: 4px 0 10px; }
.story-cam-wrap.mirror .story-cam { transform: scaleX(-1); }
.story-cam { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-cam-rec {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  z-index: 4; font-size: 13px; font-weight: 900; letter-spacing: .2px;
  color: #fff; background: rgba(255,59,59,.92);
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(255,59,59,.4); animation: storyRecPulse 1s ease-in-out infinite;
}
@keyframes storyRecPulse { 0%,100% { opacity: 1; } 50% { opacity: .65; } }
@media (prefers-reduced-motion: reduce) { .story-cam-rec { animation: none; } }
.story-cam-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.story-cam-controls button { flex: 1 1 auto; min-width: 90px; padding: 11px 12px; border-radius: 14px; font-weight: 800; font-size: 13px; }

/* ===== Посты на стене в стиле OnlyFans/Instagram (наш дизайн) ===== */
.of-wall-post {
  position: relative;
  display: block;
  padding: 14px;
  border-radius: 22px;
  background:
    radial-gradient(140% 80% at 0% 0%, rgba(189,255,53,.06), transparent 52%),
    linear-gradient(180deg, #202024, #16161a);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 28px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
}
.ofw-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.ofw-ava {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; flex: none;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
/* Инструменты своего поста: редактировать + удалить */
.ofw-tools { position: absolute; top: 10px; right: 10px; z-index: 6; display: flex; gap: 6px; }
.ofw-tools .ofw-del, .ofw-tools .ofw-edit { position: relative; top: auto; right: auto; }
.ofw-edit {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; line-height: 1;
  color: rgba(255,255,255,.85); background: rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ofw-edit:active { transform: scale(.92); }

/* Крестик удаления поста (владелец) — рисуем крест двумя линиями, чтобы он был ровным */
.ofw-del {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 5;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 0;
  color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ofw-del::before, .ofw-del::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 13px; height: 2px; border-radius: 2px;
  background: currentColor;
}
.ofw-del::before { transform: translate(-50%, -50%) rotate(45deg); }
.ofw-del::after  { transform: translate(-50%, -50%) rotate(-45deg); }
.ofw-del:active { background: rgba(242,59,101,.4); }
/* Чтобы крестик не налезал на правый чип/статус в шапке */
.of-wall-post .ofw-head { padding-right: 34px; }

.ofw-id { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.ofw-id b {
  font-size: 14px; font-weight: 900; letter-spacing: -.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ofw-id span { font-size: 11px; color: rgba(255,255,255,.5); }
.ofw-tag {
  flex: none; margin-left: auto;
  font-size: 11px; font-weight: 900;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
}
.ofw-tag.accent { background: rgba(189,255,53,.16); color: #c8ff5a; }
.ofw-title {
  margin: 0 0 6px; font-size: 17px; line-height: 1.25; letter-spacing: -.02em;
  overflow-wrap: anywhere; word-break: break-word;
}
.ofw-text {
  margin: 0 0 12px; color: rgba(255,255,255,.74); line-height: 1.45; font-size: 14px;
  overflow-wrap: anywhere; word-break: break-word;
}

/* Медиа: фото/видео во всю ширину карточки, лайк — поверх контента */
.of-wall-post .ofw-media-wrap { position: relative; margin: 0 0 4px; }
.of-wall-post .ofw-media-wrap .artist-media-box {
  min-height: 180px;
  max-height: 340px;
  border-radius: 18px;
  aspect-ratio: 4 / 3;
}
.wall-media-buy-btn {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  min-height: 42px !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.28);
}
.ofw-media-like {
  position: absolute;
  right: 10px; top: 10px;
  z-index: 3;
}
.like-btn.media-like {
  background: rgba(0,0,0,.46);
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 13px;
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
}
.like-btn.media-like .like-ico { font-size: 16px; }

/* Футер с лайком для текстовых постов / лотов / заданий */
.ofw-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.like-btn.footer-like { padding: 8px 14px; }
.like-btn.footer-like .like-ico { font-size: 16px; }

/* Комментарии к постам (на стенах всех типов профилей) */
.post-comments { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.07); }
.post-comments-toggle {
  display: inline-block; margin-bottom: 9px; cursor: pointer;
  font-size: 12.5px; font-weight: 800; color: rgba(255,255,255,.62);
  background: none; border: none; padding: 2px 0;
}
.post-comments-toggle:active { color: var(--accent); }
.post-comments-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 9px; }
.post-comment {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 8px 11px; border-radius: 12px;
  background: rgba(255,255,255,.05);
}
.post-comment.editing { flex-direction: column; gap: 8px; }
.post-comment-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.post-comment-author { font-size: 12px; font-weight: 800; color: rgba(255,255,255,.85); }
.post-comment-text { font-size: 12.5px; color: rgba(255,255,255,.72); line-height: 1.35; word-break: break-word; }
.post-comment-edited { font-style: normal; font-size: 10.5px; color: rgba(255,255,255,.38); }
/* Ненавязчивое управление своим комментарием: «⋯» → мини-меню (нативно, не провоцирует удаление) */
.post-comment-tools { position: relative; flex: none; }
.post-comment-more {
  flex: none; width: 24px; height: 24px; border-radius: 8px; cursor: pointer;
  display: grid; place-items: center; font-size: 16px; line-height: 1;
  color: rgba(255,255,255,.32); background: transparent; border: none;
  transition: color .15s ease, background .15s ease;
}
.post-comment-more:active { transform: scale(.9); }
.post-comment.menu-open .post-comment-more { color: rgba(255,255,255,.85); background: rgba(255,255,255,.08); }
.post-comment-menu {
  position: absolute; top: 28px; right: 0; z-index: 20;
  min-width: 152px; padding: 6px;
  display: flex; flex-direction: column; gap: 2px;
  background: #20202a; border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.5);
}
.post-comment-menu button {
  text-align: left; padding: 10px 12px; border-radius: 9px; cursor: pointer;
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,.88);
  background: transparent; border: none;
}
.post-comment-menu button:active { background: rgba(255,255,255,.08); }
.post-comment-menu button.danger { color: #ff8fa6; }
.post-comment-edit-input { width: 100%; padding: 8px 11px; font-size: 12.5px; }
.post-comment-edit-actions { display: flex; gap: 8px; }
.post-comment-save, .post-comment-cancel {
  flex: 1; padding: 8px 10px; border-radius: 10px; cursor: pointer;
  font-size: 12px; font-weight: 800; border: 1px solid rgba(255,255,255,.12);
}
.post-comment-save { color: #0b1206; background: linear-gradient(150deg, #c8ff5a, #8be84a); border: none; }
.post-comment-cancel { color: rgba(255,255,255,.8); background: rgba(255,255,255,.06); }
.post-comment-form { display: flex; gap: 8px; align-items: center; }
.post-comment-input { flex: 1; padding: 9px 12px; font-size: 12.5px; }
.post-comment-send {
  flex: none; width: 38px; height: 38px; border-radius: 11px; cursor: pointer;
  display: grid; place-items: center; font-size: 15px;
  color: #0b1206; background: linear-gradient(150deg, #c8ff5a, #8be84a);
  border: none;
}
.post-comment-send:active { transform: scale(.95); }

/* Статичные стат-карты (чужой профиль / компания) */
.artist-stat-card.stat-static { cursor: default; }
.artist-stat-card.stat-static::after { content: none; } /* некликабельная карта — без стрелки «открыть» */
.artist-stat-card.stat-likes strong { color: #ff8fa6; }

/* Заголовок раздела «Треки на стене» / «Задачи» */
.wall-sale-intro {
  display: flex; flex-direction: column; gap: 2px;
  padding: 4px 4px 12px;
}
.wall-sale-intro b { font-size: 16px; font-weight: 900; letter-spacing: -.02em; }
.wall-sale-intro span { font-size: 12px; color: rgba(255,255,255,.55); }

/* Плашка задания компании */
.company-task-post .task-status-chip {
  margin-left: auto;
  font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em;
  padding: 4px 9px; border-radius: 999px; flex: none;
}
.company-task-post .task-status-chip.on { background: rgba(189,255,53,.18); color: #c8ff5a; }
.company-task-post .task-status-chip.off { background: rgba(255,255,255,.08); color: rgba(255,255,255,.5); }
.company-task-post.task-ended { opacity: .72; }
.company-task-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.company-task-meta small {
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 7px 10px; min-width: 80px;
}
.company-task-meta small b { font-size: 13px; font-weight: 900; }
.company-task-meta small em { font-style: normal; font-size: 10px; color: rgba(255,255,255,.5); }
.release-player-top-spacer { width: 32px; display: inline-block; }

/* ===================== Лента активности (история профиля) ===================== */
.activity-feed { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.activity-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}
.activity-ico { font-size: 16px; flex: 0 0 22px; text-align: center; }
.activity-row b { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; }
.activity-row small { font-size: 11px; color: rgba(255,255,255,.5); white-space: nowrap; }
.activity-empty { padding: 16px 4px; font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; }

/* Балансы: реальная сумма любой длины в одну строку (размер подбирает fitBalanceText) */
.wallet-hero-value { white-space: nowrap; line-height: 1.15; overflow: visible; min-height: 1.2em; }
.artist-stat-card strong { white-space: nowrap; line-height: 1.2; overflow: visible; }
.story-view {
  width: 100%;
  height: 100%;
  max-height: none;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}
.story-view-top {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 14px;
  background: linear-gradient(rgba(0,0,0,.55), transparent);
  z-index: 2;
  color: #fff;
}
.story-view-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.story-view-top b { font-size: 14px; }
.story-view-top span { font-size: 11px; color: rgba(255,255,255,.7); }
.story-view-close { margin-left: auto; background: rgba(0,0,0,.4); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 50%; font-size: 16px; cursor: pointer; }
.story-view-media { width: 100%; height: 100%; max-height: 100vh; object-fit: cover; display: block; background: #000; }
.story-progress { position: absolute; top: 8px; left: 12px; right: 12px; z-index: 3; display: flex; gap: 4px; }
.story-progress i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); }
.story-progress i.on { background: #fff; }
.story-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,.45); border: 0; color: #fff; font-size: 24px; cursor: pointer;
}
.story-prev-btn { left: 10px; }
.story-next-btn { right: 10px; }
.story-view > .story-next-btn:not(.story-nav-btn) { display: none; }
.story-play-btn {
  position: absolute;
  left: 50%;
  bottom: 78px;
  transform: translateX(-50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.48);
  color: #fff;
  font-size: 19px;
  cursor: pointer;
}
.story-composer-sheet {
  overflow-anchor: none;
  scrollbar-gutter: stable;
}
.story-audio-mode {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  margin: -4px 0 12px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.story-audio-mode span { font-size: 12px; color: rgba(255,255,255,.7); }
.story-audio-mode button {
  min-width: 74px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.story-audio-mode button.active { background: var(--accent); color: #0b0f0a; border-color: var(--accent); }

/* Кнопка и список подписок в кабинете */
/* Премиальный ряд инструментов профиля (История · Подписки) */
.profile-tools-row {
  display: flex;
  gap: 10px;
  margin: 6px 16px 16px;
}
.profile-tools-row > * {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 16px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .12s ease, border-color .12s ease;
}
.profile-tools-row > *:active { transform: translateY(1px); }
.profile-story-add {
  border-color: rgba(189,255,53,.32);
  background: linear-gradient(180deg, rgba(189,255,53,.16), rgba(189,255,53,.05));
  color: var(--accent);
}
.profile-subs-btn { justify-content: space-between !important; }
.profile-subs-btn span { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.85); }
.profile-subs-btn strong {
  min-width: 26px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #0b0f0a;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}
.subs-list { display: flex; flex-direction: column; gap: 8px; }
.subs-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.subs-row img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 40px; background: rgba(255,255,255,.08); }
.subs-main { flex: 1; min-width: 0; }
.subs-main b { display: block; font-size: 14px; }
.subs-main small { font-size: 11px; color: rgba(255,255,255,.55); }
.subs-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.subs-tabs button {
  flex: 1; padding: 9px 6px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.7); font-size: 11.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.subs-tabs button.active { border-color: var(--accent); background: rgba(189,255,53,.16); color: var(--accent); }
.subs-row .primary.tiny.is-on { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.subs-contacts-btn {
  width: 100%; margin-top: 12px; padding: 12px;
  border-radius: 14px; border: 1px dashed rgba(189,255,53,.4);
  background: rgba(189,255,53,.08); color: var(--accent);
  font-size: 13px; font-weight: 800; cursor: pointer;
}

/* Премиум-выбор трека для прикрепления к истории (карточки вместо select). */
.story-track-pick { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 4px; }
.story-track-opt {
  display: flex; align-items: center; gap: 11px;
  min-height: 64px;
  padding: 9px 11px; border-radius: 16px; text-align: left; color: #fff;
  background: linear-gradient(180deg, #202024, #161619);
  border: 1.5px solid rgba(255,255,255,.1);
}
.story-track-opt:active { transform: scale(.99); }
.story-track-opt.active {
  border-color: var(--accent, #bdff35);
  background: linear-gradient(180deg, rgba(189,255,53,.12), rgba(189,255,53,.03));
}
.story-track-opt.none { border-style: dashed; }
.story-track-opt-cover {
  width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none;
  background:
    radial-gradient(circle at 28% 18%, rgba(189,255,53,.42), transparent 34%),
    linear-gradient(145deg, #17181d, #050507 68%);
  border: 1px solid rgba(189,255,53,.24);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 8px 18px rgba(0,0,0,.24);
}
.story-track-opt-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.story-track-opt-main b { font-size: 14px; font-weight: 850; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story-track-opt-main small { font-size: 11.5px; color: rgba(255,255,255,.55); }
.story-track-opt-check {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 900;
  color: #0b1206; background: transparent;
}
.story-track-opt.active .story-track-opt-check { background: var(--accent, #bdff35); }

/* Композер истории */
.story-pick-grid { display: flex; gap: 10px; min-height: 86px; margin-bottom: 14px; }
.story-pick {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 18px 10px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04);
  color: #fff; font-size: 13px; cursor: pointer;
}
.story-pick-ico { font-size: 24px; color: var(--accent); }
.story-draft-preview {
  position: relative;
  width: min(100%, 342px);
  aspect-ratio: 9 / 16;
  max-height: min(54svh, 520px);
  margin: 0 auto 14px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 16%, rgba(189,255,53,.24), transparent 35%),
    linear-gradient(145deg, #15161a, #050507 70%);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 18px 42px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.04);
}
.story-draft-preview img, .story-draft-preview video {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
  background: transparent;
}
.story-draft-preview.is-loading-poster video { opacity: 0; }
.story-video-poster-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 36%, rgba(189,255,53,.24), transparent 28%),
    linear-gradient(145deg, #18191e, #050507 72%);
}
.story-video-poster-loading b {
  font-size: 18px;
  font-weight: 950;
  color: var(--accent);
}
.story-video-poster-loading span {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,.68);
}
.story-poster-thumb { position: absolute; right: 10px; bottom: 10px; width: 58px !important; height: 82px !important; object-fit: cover !important; border-radius: 10px; border: 2px solid rgba(255,255,255,.85); box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.story-poster-btn { margin: -6px 0 12px; }
.story-poster-scrub {
  display: flex; align-items: center; gap: 10px; margin: -4px 0 12px;
  padding: 10px 12px; border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.028)),
    radial-gradient(circle at 12% 50%, rgba(189,255,53,.12), transparent 36%);
  border: 1px solid rgba(189,255,53,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.story-poster-scrub span { flex: none; font-size: 12px; font-weight: 800; color: rgba(255,255,255,.72); }
.story-poster-scrub .range { flex: 1; min-width: 0; }
.story-draft-empty {
  text-align: center; padding: 28px 12px; margin-bottom: 14px;
  border-radius: 16px; border: 1px dashed rgba(189,255,53,.28);
  background:
    radial-gradient(circle at 18% 12%, rgba(189,255,53,.2), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  color: rgba(255,255,255,.68); font-size: 12.5px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
}

/* Трек в истории (как музыка в Instagram) */
.story-track-chip {
  position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  min-width: min(300px, 80%);
  max-width: calc(100% - 24px);
  padding: 12px 14px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(16,16,18,.82), rgba(0,0,0,.7));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(189,255,53,.45);
  box-shadow: 0 12px 30px rgba(0,0,0,.5), 0 0 0 4px rgba(189,255,53,.08);
}
.story-track-info b { font-size: 14px !important; }
.story-track-info small { font-size: 11.5px !important; }
.story-track-buy { padding: 10px 16px !important; font-size: 13px !important; }
.story-track-play {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%;
  background: var(--accent); color: #0b0f0a; border: 0; font-size: 14px; cursor: pointer;
}
.story-track-info { flex: 1; min-width: 0; }
.story-track-info b { display: block; font-size: 12.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story-track-info small { font-size: 10.5px; color: rgba(255,255,255,.7); }
.story-track-buy {
  flex: 0 0 auto; padding: 8px 12px; border-radius: 999px;
  background: var(--accent); color: #0b0f0a; border: 0; font-size: 12px; font-weight: 850; cursor: pointer;
}

/* Кнопки «+» для аватара и фона */
.artist-avatar-wrap { position: relative; display: inline-block; }
/* Кнопка подписки */
.artist-subscribe-btn {
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(189,255,53,.5);
  background: linear-gradient(180deg, rgba(189,255,53,.18), rgba(189,255,53,.05));
  color: var(--accent);
  font-size: 14px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}
.artist-subscribe-btn.subscribed {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.82);
}
/* Платная подписка (открывает фото/видео артиста) */
.artist-subscribe-btn.artist-sub-paid {
  border: none; color: #0c1206;
  background: linear-gradient(135deg, var(--accent), #8be84a);
  box-shadow: 0 8px 20px rgba(189,255,53,.3), inset 0 1px 0 rgba(255,255,255,.4);
  white-space: nowrap;
}
.artist-subscribe-btn.artist-sub-paid.active {
  background: rgba(189,255,53,.14); color: var(--accent);
  box-shadow: none; border: 1px solid rgba(189,255,53,.32);
}

/* Когда на чужой странице есть и «Написать», и «Подписаться» — делаем их одного размера, премиально */
.artist-profile-screen .artist-actions:has(.artist-subscribe-btn) {
  display: flex !important;
  gap: 10px !important;
  width: calc(100% - 36px) !important;
  max-width: 420px !important;
  margin: 14px auto 0 !important;
}
.artist-profile-screen .artist-actions:has(.artist-subscribe-btn) { flex-wrap: wrap !important; }
.artist-actions:has(.artist-subscribe-btn) .artist-message-btn,
.artist-actions:has(.artist-subscribe-btn) .artist-subscribe-btn {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  height: 48px !important;
}
/* Платная подписка — отдельной строкой во всю ширину */
.artist-actions:has(.artist-subscribe-btn) .artist-sub-paid {
  flex: 1 1 100% !important;
}

/* Бейдж «от лейбла {name}» на карточке релиза у артиста */
.track-label-badge {
  display: inline-block;
  margin: 2px 0 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(189,255,53,.15);
  border: 1px solid rgba(189,255,53,.3);
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .02em;
}

/* ===== Услуга «Сканировать плейлисты» — панель скана (хотспот «1$» в магазине) ===== */
.playlist-scan-sheet .scan-head { display: flex; gap: 12px; align-items: flex-start; }
.scan-badge {
  flex: none; align-self: center;
  background: linear-gradient(135deg, #ff3b5c, #c81e3c); color: #fff;
  font-weight: 900; font-size: 12px; padding: 8px 10px; border-radius: 12px; letter-spacing: .08em;
}
.scan-track-list, .scan-placements { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.scan-track-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  color: #fff; text-align: left;
}
.scan-track-row img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex: none; }
.scan-track-row > span { min-width: 0; display: flex; flex-direction: column; }
.scan-track-row b { font-size: 14px; font-weight: 800; }
.scan-track-row small { font-size: 11px; color: rgba(255,255,255,.6); }
.scan-track-go { margin-left: auto; color: #ff6b85; font-size: 18px; }
.scan-result-top { display: flex; gap: 12px; align-items: center; margin-top: 4px; }
.scan-result-top img { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; flex: none; }
.scan-result-top b { display: block; font-size: 16px; font-weight: 900; }
.scan-result-top span { display: block; color: #ff8fa6; font-weight: 800; font-size: 13px; }
.scan-result-top em { display: block; font-style: normal; font-size: 11px; color: rgba(255,255,255,.6); margin-top: 2px; }
.scan-placement-row {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px 10px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.scan-placement-row strong { font-size: 13px; }
.scan-placement-row span { font-size: 12px; color: rgba(255,255,255,.75); }
.scan-placement-row small { font-size: 11px; color: rgba(255,255,255,.5); }
.scan-pick-note, .scan-empty { color: rgba(255,255,255,.7); font-size: 13px; margin-top: 8px; }

/* Платный шлюз сообщений */
.paid-message-price {
  display: flex; align-items: center; justify-content: space-between;
  margin: 12px 0; padding: 14px 16px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(189,255,53,.16), rgba(255,255,255,.04));
  border: 1px solid rgba(189,255,53,.3);
}
.paid-message-price span { font-size: 13px; color: rgba(255,255,255,.8); }
.paid-message-price b { font-size: 22px; font-weight: 900; color: var(--accent); }

/* ===== Магазин (премиальный HTML) ===== */
.shop-screen {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Inter, sans-serif;
  background:
    radial-gradient(130% 55% at 100% 0%, rgba(189,255,53,.09), transparent 46%),
    radial-gradient(120% 50% at 0% 8%, rgba(96,128,255,.08), transparent 45%),
    linear-gradient(180deg, #0d0d11, #131318);
}
.shop-screen-inner { padding: calc(18px + env(safe-area-inset-top)) 16px 8px; }
.shop-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.shop-top small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.shop-top h1 { margin: 2px 0 0; font-size: 28px; font-weight: 900; letter-spacing: -.03em; }
.shop-search-btn {
  flex: none; width: 44px; height: 44px; border-radius: 15px;
  display: grid; place-items: center; font-size: 19px; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.shop-section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 2px 11px; }
.shop-section-head b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.shop-all-link { font-size: 13px; font-weight: 800; color: var(--accent); cursor: pointer; }

.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.shop-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 15px; min-height: 138px; border-radius: 22px; text-align: left;
  background: linear-gradient(165deg, #212128, #17171c);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 12px 30px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05);
}
.shop-card:active { transform: scale(.985); }
.shop-card-all { background: linear-gradient(165deg, #1c1c22, #141418); border-style: dashed; border-color: rgba(255,255,255,.16); }
.shop-ico {
  --glow: rgba(0,0,0,.45);
  position: relative; overflow: hidden;
  width: 54px; height: 54px; border-radius: 18px; flex: none;
  display: grid; place-items: center; color: #fff;
  box-shadow:
    0 12px 24px var(--glow),
    0 3px 7px rgba(0,0,0,.4),
    inset 0 2px 1px rgba(255,255,255,.55),
    inset 0 -7px 14px rgba(0,0,0,.30),
    inset 0 0 0 1px rgba(255,255,255,.10);
}
/* Глянцевый блик сверху — эффект объёмного стекла */
.shop-ico::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 58%;
  border-radius: 18px 18px 60% 60%;
  background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0));
  opacity: .65; pointer-events: none;
}
.shop-ico svg {
  position: relative; z-index: 1; width: 27px; height: 27px;
  filter: drop-shadow(0 1.5px 1.5px rgba(0,0,0,.4));
}
.shop-ico.tone-red    { background: linear-gradient(155deg, #ff8a93, #ef3a55 46%, #b3162f); --glow: rgba(226,50,80,.5); }
.shop-ico.tone-rose   { background: linear-gradient(155deg, #ff8aa0, #f0467a 46%, #bd2557); --glow: rgba(230,60,110,.5); }
.shop-ico.tone-violet { background: linear-gradient(155deg, #b79bff, #8a5cf0 46%, #5a2fc4); --glow: rgba(122,80,230,.52); }
.shop-ico.tone-teal   { background: linear-gradient(155deg, #6cf0e0, #25c3b1 46%, #0f8a7a); --glow: rgba(40,190,170,.5); }
.shop-ico.tone-blue   { background: linear-gradient(155deg, #82bcff, #3f86f5 46%, #2059d0); --glow: rgba(64,128,240,.52); }
.shop-ico.tone-amber  { background: linear-gradient(155deg, #ffd07a, #ffa92f 46%, #e07d12); --glow: rgba(240,150,30,.5); }
.shop-ico.tone-lime   { background: linear-gradient(155deg, #e2ff9c, #b6f24f 46%, #7fd62f); color: #0b1206; --glow: rgba(150,230,60,.5); }
.shop-ico.tone-lime::before { opacity: .5; }
.shop-ico.tone-graphite { background: linear-gradient(155deg, #4a4a56, #2c2c34 46%, #1c1c22); --glow: rgba(0,0,0,.5); }
.shop-card-body { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.shop-card-body b { font-size: 15px; font-weight: 900; letter-spacing: -.01em; line-height: 1.15; }
.shop-card-body small { font-size: 11.5px; color: rgba(255,255,255,.58); line-height: 1.3; }
.shop-card-price { font-size: 13.5px; font-weight: 900; color: var(--accent); }

/* Спецпредложения — премиальные градиентные карточки */
.shop-offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.shop-offer {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px; min-height: 124px; border-radius: 22px; text-align: left; color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 32px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.18);
}
.shop-offer.tone-blue  { background: linear-gradient(150deg, #3f7bff, #1f3fa6); }
.shop-offer.tone-amber { background: linear-gradient(150deg, #ffb53f, #d97a12); }
.shop-offer.tone-red   { background: linear-gradient(120deg, #1a1a1f 0%, #b21e3a 60%, #ff3b5c 100%); }
.shop-offer-ico {
  position: relative; overflow: hidden;
  width: 42px; height: 42px; border-radius: 14px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(160deg, rgba(255,255,255,.28), rgba(255,255,255,.06) 50%, rgba(0,0,0,.22));
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.4), inset 0 -5px 10px rgba(0,0,0,.28), 0 6px 14px rgba(0,0,0,.32);
}
.shop-offer-ico svg { width: 23px; height: 23px; filter: drop-shadow(0 1.5px 1.5px rgba(0,0,0,.4)); }
.shop-offer-price { font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.shop-offer-title { font-size: 12.5px; font-weight: 700; line-height: 1.32; color: rgba(255,255,255,.92); }
.shop-offer-wide { flex-direction: row; align-items: center; gap: 14px; margin-top: 11px; min-height: 86px; }
.shop-offer-wide-body { display: flex; flex-direction: column; gap: 4px; }
.shop-offer-wide .shop-offer-price { font-size: 20px; }
/* Широкая плашка: ровная красная заливка без тёмного левого стопа (на широком блоке диагональный градиент давал вертикальную тёмную полосу слева). */
.shop-offer-wide.tone-red { background: linear-gradient(120deg, #b21e3a, #ff3b5c); }

.all-services-sheet { max-height: 86svh; overflow-y: auto; scrollbar-width: none; }
.all-services-sheet::-webkit-scrollbar { display: none; }
.all-services-list { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: 10px 0; }

/* ===== Обучение (премиум-экран) ===== */
.edu-screen {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Inter, sans-serif;
  background:
    radial-gradient(120% 40% at 50% 0%, rgba(189,255,53,.12), transparent 50%),
    linear-gradient(180deg, #0c0c10, #131318);
}
.edu-inner { padding: calc(14px + env(safe-area-inset-top)) 16px 8px; }
.edu-top { display: flex; align-items: center; justify-content: space-between; }
.edu-top-spacer { width: 40px; height: 40px; } /* невидимый спейсер для центровки заголовка (бургер убран) */
.edu-top-title { font-size: 17px; font-weight: 900; letter-spacing: .01em; }
.edu-top-btn {
  width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  font-size: 18px; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}

/* Арка уровня */
.edu-gauge-wrap { position: relative; width: 234px; max-width: 72%; margin: 8px auto 14px; }
.edu-gauge { display: block; width: 100%; height: auto; overflow: hidden; }
.edu-gauge circle {
  fill: none; stroke-width: 12; stroke-linecap: round;
  transform: rotate(135deg); transform-origin: 100px 100px;
}
.edu-gauge-track { stroke: rgba(255,255,255,.08); }
.edu-gauge-fill { stroke: #bdff35; filter: drop-shadow(0 0 8px rgba(189,255,53,.5)); transition: stroke-dasharray .5s ease; }
.edu-gauge-center {
  position: absolute; left: 0; right: 0; top: 47%; transform: translateY(-50%);
  text-align: center; pointer-events: none;
}
.edu-gauge-center small { display: block; font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .02em; }
.edu-gauge-center b { display: block; font-size: 56px; font-weight: 900; line-height: 1; color: var(--accent); letter-spacing: -.04em; text-shadow: 0 6px 22px rgba(189,255,53,.35); }
.edu-gauge-center span { display: block; margin-top: 4px; font-size: 12px; color: rgba(255,255,255,.5); }

/* Бонус-пилюли */
/* Кнопка «Все главные задания» под полукругом. */
.edu-all-tasks-btn {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 2px auto 14px;
  padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 800; color: #0b1206;
  background: linear-gradient(135deg, var(--accent, #bdff35), #8be84a);
  box-shadow: 0 8px 20px rgba(189,255,53,.28);
}
.edu-all-tasks-btn { width: fit-content; }
.edu-all-tasks-btn span { font-size: 12px; }
.edu-all-tasks-btn:active { transform: scale(.97); }
.edu-gauge-wrap + .edu-all-tasks-btn { display: flex; }
.edu-featured-all-grid { margin-top: 8px; }

.edu-bonus-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: 6px 0 16px; }
.edu-bonus-pill {
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
  padding: 14px 16px; border-radius: 18px; text-align: left;
  background: linear-gradient(165deg, #212128, #17171c);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 10px 24px rgba(0,0,0,.3);
}
.edu-bonus-label { font-size: 12px; color: rgba(255,255,255,.55); }
.edu-bonus-pill strong { font-size: 20px; font-weight: 900; letter-spacing: -.02em; }

/* Плашки заданий (баннеры) */
.edu-banners { display: flex; flex-direction: column; gap: 11px; }
.edu-banner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.edu-banner {
  position: relative; overflow: hidden; text-align: left;
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px; border-radius: 22px; min-height: 116px; color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 32px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.16);
}
.edu-banner.tone-red  { background: radial-gradient(135% 135% at 100% 0%, #ff3b5c 0%, #c41f3e 48%, #8e1730 100%); }
.edu-banner.tone-blue { background: linear-gradient(150deg, #3f7bff, #1f3fa6); }
.edu-banner.tone-lime { background: linear-gradient(150deg, #c8ff5a, #7fd43b); color: #0c1206; }
.edu-banner.done { opacity: .72; }
.edu-banner-ico {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  display: grid; place-items: center; font-size: 17px; font-weight: 900;
  background: rgba(0,0,0,.26); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.edu-banner.tone-lime .edu-banner-ico { background: rgba(0,0,0,.18); }
.edu-banner-reward { font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.edu-banner-title { font-size: 12.5px; font-weight: 700; line-height: 1.32; }
.edu-banner.tone-red .edu-banner-title, .edu-banner.tone-blue .edu-banner-title { color: rgba(255,255,255,.92); }
.edu-banner-done { position: absolute; top: 12px; right: 14px; font-size: 11px; font-weight: 900; }
.edu-banner-badge {
  align-self: flex-start; margin-top: auto;
  font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.28); color: #fff;
}
.edu-banner.tone-lime .edu-banner-badge { background: rgba(0,0,0,.16); color: #0c1206; }

/* Заголовки разделов + задания */
.edu-section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 2px 11px; }
.edu-section-head b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.edu-all-link { font-size: 12.5px; font-weight: 800; color: var(--accent); cursor: pointer; }
.edu-task-list { display: flex; flex-direction: column; gap: 9px; }

/* Ежедневные задания — маленькие премиум-плашки с прогресс-баром (авто-подсчёт алгоритмом). */
.edu-daily-grid { display: flex; flex-direction: column; gap: 8px; }
.edu-daily-card {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
}
.edu-daily-ico {
  flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 16px;
  background: rgba(189,255,53,.14); color: var(--accent, #bdff35);
}
.edu-daily-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.edu-daily-main b { font-size: 13.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.edu-daily-bar { height: 5px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.edu-daily-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent, #bdff35), #8be84a); transition: width .3s ease; }
.edu-daily-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.edu-daily-reward { font-size: 13px; font-weight: 900; color: var(--accent, #bdff35); }
.edu-daily-prog { font-size: 10.5px; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
.edu-daily-card.done { border-color: rgba(189,255,53,.34); background: rgba(189,255,53,.08); }
.edu-daily-card.done .edu-daily-prog { color: var(--accent, #bdff35); font-weight: 800; }
.edu-daily-grid-all { margin-top: 6px; }
.edu-task {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 13px 15px; border-radius: 16px;
  background: linear-gradient(165deg, #1f1f25, #17171c);
  border: 1px solid rgba(255,255,255,.09);
}
.edu-task.done { opacity: .55; }
.edu-task-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.edu-task-main b { font-size: 15px; font-weight: 900; color: var(--accent); letter-spacing: -.01em; }
.edu-task-main span { font-size: 13px; color: rgba(255,255,255,.82); line-height: 1.3; }
.edu-task-main em { font-style: normal; font-size: 11px; color: rgba(255,255,255,.45); }
.edu-task-status {
  flex: none; padding: 7px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 800; white-space: nowrap;
  max-width: 44%;
  overflow: hidden; text-overflow: ellipsis;
  color: #0b1206; background: linear-gradient(135deg, var(--accent), #8be84a);
}
.edu-task.done .edu-task-status { background: rgba(255,255,255,.1); color: var(--accent); }

/* ===== Премиум-апгрейд «Обучения»: объём, глянец, 3D-иконки (концепт прежний) ===== */
.edu-banner::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 52%;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0));
  pointer-events: none;
}
.edu-banner > * { position: relative; z-index: 1; }
.edu-banner-ico {
  position: relative; overflow: hidden;
  width: 42px; height: 42px; border-radius: 14px; font-size: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.38), rgba(255,255,255,.08) 48%, rgba(0,0,0,.30));
  box-shadow: inset 0 2px 0 rgba(255,255,255,.5), inset 0 -6px 12px rgba(0,0,0,.3), 0 8px 18px rgba(0,0,0,.34);
}
.edu-banner.tone-lime .edu-banner-ico { color: #0c1206; }
/* Бонус-пилюли — стеклянный объём */
.edu-bonus-pill { position: relative; overflow: hidden; transition: transform .14s ease; }
.edu-bonus-pill::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 46%;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,0)); pointer-events: none;
}
.edu-bonus-pill:active { transform: scale(.98); }
.edu-bonus-pill > * { position: relative; z-index: 1; }
.edu-bonus-pill strong { text-shadow: 0 4px 14px rgba(0,0,0,.4); }
/* Задания — глубина и отклик */
.edu-task { position: relative; overflow: hidden; transition: transform .14s ease; box-shadow: 0 10px 24px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06); }
.edu-task { padding-right: 13px; }
.edu-task::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0)); pointer-events: none;
}
.edu-task > * { position: relative; z-index: 1; }
.edu-task:active { transform: scale(.99); }
.edu-task-status { box-shadow: 0 6px 16px rgba(189,255,53,.3), inset 0 1px 0 rgba(255,255,255,.45); }
.edu-task.done .edu-task-status { box-shadow: none; }
/* Арка уровня — без свечения (отблик убран) */
.edu-gauge-track { stroke: rgba(255,255,255,.07); }
.edu-gauge-fill { filter: none; }
.edu-gauge, .edu-gauge-center { position: relative; z-index: 1; }
.edu-top-btn { box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 6px 14px rgba(0,0,0,.3); }

/* Уровень артиста рядом с ролью */
.artist-level-chip {
  display: inline-block; margin-left: 8px; vertical-align: middle;
  font-style: normal; font-size: 11px; font-weight: 900; letter-spacing: .01em;
  padding: 3px 9px; border-radius: 999px;
  color: var(--accent); background: rgba(189,255,53,.15); border: 1px solid rgba(189,255,53,.32);
}
.scan-points { margin: 12px 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.scan-points li { font-size: 13px; color: rgba(255,255,255,.78); }
.scan-price-row {
  display: flex; align-items: center; justify-content: space-between;
  margin: 8px 0 4px; padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,59,92,.16), rgba(255,255,255,.04));
  border: 1px solid rgba(255,59,92,.35);
}
.scan-price-row span { font-size: 13px; color: rgba(255,255,255,.8); }
.scan-price-row b { font-size: 20px; font-weight: 900; color: #ff6b85; }
.scan-last {
  margin: 4px 0 8px; padding: 9px 12px; border-radius: 12px;
  font-size: 12px; color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.scan-bought {
  margin: 10px 0; padding: 12px 14px; border-radius: 14px;
  background: rgba(189,255,53,.12); border: 1px solid rgba(189,255,53,.3);
}
.scan-bought b { display: block; color: var(--accent); font-size: 14px; font-weight: 900; }
.scan-bought span { display: block; margin-top: 3px; font-size: 12px; color: rgba(255,255,255,.7); }
.chat-pdf-btn {
  display: inline-block; margin-top: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: var(--accent); color: #0b0f0a;
  font-weight: 850; font-size: 13px; cursor: pointer; border: 0;
}

/* ===== Раздел AI-менеджера (нижнее меню → AI) — премиальный живой чат ===== */
.ai-manager-screen {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Inter, sans-serif;
  display: flex;
  flex-direction: column;
  /* Telegram-поведение: экран закреплён к видимой области (position:fixed), не зависит от прокрутки body.
     Высота = реальная видимая область. С adjustResize + interactive-widget=resizes-content 100dvh уже
     учитывает клавиатуру; --vvh из visualViewport — точный фолбэк. Без transition → без скачков. */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin-inline: auto;            /* центрируем без transform, чтобы fixed-меню/модалки остались привязаны к окну */
  width: min(100vw, 390px);
  height: var(--vvh, 100dvh);
  max-height: var(--vvh, 100dvh);
  min-height: 0;
  overflow: hidden;
  z-index: 50;
  padding-bottom: 0 !important;
  background:
    radial-gradient(125% 55% at 100% 0%, rgba(189,255,53,.10), transparent 46%),
    radial-gradient(120% 55% at 0% 100%, rgba(96,128,255,.07), transparent 46%),
    linear-gradient(180deg, #0e0e12, #131318);
}
/* Пока открыт AI-чат — блокируем прокрутку body, чтобы фокус на поле не «улетал» вверх и не было пустот. */
body.ai-route { overflow: hidden; height: 100dvh; overscroll-behavior: none; touch-action: pan-y; }
html:has(body.ai-route) { overflow: hidden; overscroll-behavior: none; }
.ai-manager-top {
  flex: none;
  display: flex; align-items: center; gap: 12px;
  padding: calc(16px + env(safe-area-inset-top)) 18px 14px;
  background: linear-gradient(180deg, rgba(20,20,26,.92), rgba(20,20,26,.35));
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.ai-manager-ava {
  flex: none; position: relative;
  width: 46px; height: 46px; border-radius: 16px;
  display: grid; place-items: center;
  font-weight: 900; font-size: 15px; letter-spacing: .04em;
  color: #0b0f0a;
  background: linear-gradient(135deg, var(--accent), #8be84a);
  box-shadow: 0 8px 22px rgba(189,255,53,.32);
}
.ai-manager-ava::after {
  content: ''; position: absolute; right: -2px; bottom: -2px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #3ad17a; border: 2px solid #14141a;
}
.ai-manager-id b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.ai-manager-id span { display: block; font-size: 11.5px; color: rgba(255,255,255,.5); margin-top: 2px; }
.ai-services-bar {
  flex: none;
  display: flex; gap: 8px;
  padding: 10px 14px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ai-services-bar::-webkit-scrollbar { display: none; }
.ai-service-chip {
  flex: none;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 800; white-space: nowrap;
  color: #eafff0;
  background: linear-gradient(180deg, rgba(189,255,53,.14), rgba(255,255,255,.04));
  border: 1px solid rgba(189,255,53,.28);
  cursor: pointer;
}
.ai-service-chip:active { transform: scale(.96); }

/* AI-раздел: премиум-шапка (статус + PRO) */
.ai-manager-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; color: rgba(255,255,255,.55); margin-top: 3px;
}
.ai-manager-status i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #3ad17a; /* без свечения-«отблика» вокруг точки — чистый индикатор онлайна */
}
.ai-manager-pro {
  margin-left: auto; align-self: flex-start;
  font-size: 10px; font-weight: 900; letter-spacing: .08em;
  padding: 5px 10px; border-radius: 999px; color: #0b1206;
  background: linear-gradient(135deg, var(--accent), #8be84a);
  box-shadow: 0 6px 16px rgba(189,255,53,.3);
}

/* AI-уведомление о подходящих конкурсах/заданиях */
.ai-contest-notify {
  margin: 4px 14px 0; padding: 12px 13px;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(189,255,53,.12), rgba(255,255,255,.03));
  border: 1px solid rgba(189,255,53,.3);
}
.ai-contest-notify-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ai-contest-ico { font-size: 22px; }
.ai-contest-notify-head b { display: block; font-size: 14px; font-weight: 900; }
.ai-contest-notify-head small { display: block; font-size: 11px; color: rgba(255,255,255,.6); }
.ai-contest-list { display: flex; flex-direction: column; gap: 7px; }
.ai-contest-item {
  display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer;
  padding: 9px 11px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.ai-contest-item:active { transform: scale(.99); }
.ai-contest-tag {
  flex: none; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .03em;
  padding: 4px 8px; border-radius: 999px; color: #0b1206; background: var(--accent);
}
.ai-contest-body b { display: block; font-size: 13px; font-weight: 800; }
.ai-contest-body small { display: block; font-size: 11px; color: rgba(255,255,255,.6); }

/* Магазин: AI-подбор вместо плашек */
.shop-screen-ai .shop-screen-inner { display: flex; flex-direction: column; }
.shop-ai-intro {
  display: flex; gap: 11px; align-items: flex-start;
  margin: 6px 0 14px; padding: 13px;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(189,255,53,.1), rgba(255,255,255,.03));
  border: 1px solid rgba(189,255,53,.26);
}
.shop-ai-ava {
  flex: none; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 900; font-size: 13px;
  color: #0b1206; background: linear-gradient(150deg, #c8ff5a, #8be84a);
}
.shop-ai-ava.sm { width: 30px; height: 30px; border-radius: 10px; font-size: 11px; }
.shop-ai-intro b { display: block; font-size: 15px; font-weight: 900; line-height: 1.2; }
.shop-ai-intro small { display: block; margin-top: 4px; font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.35; }
.shop-ai-ask { display: flex; gap: 8px; margin-bottom: 12px; }
.shop-ai-input { flex: 1; }
.shop-ai-go { flex: none; white-space: nowrap; }
.shop-ai-hints { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-ai-hint {
  padding: 9px 13px; border-radius: 999px; cursor: pointer;
  font-size: 12.5px; font-weight: 700; color: #eafff0;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
}
.shop-ai-hint:active { transform: scale(.97); }
.shop-ai-reply { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.shop-ai-reply p { font-size: 13.5px; line-height: 1.4; margin: 4px 0 0; }
.shop-suggest-list { display: flex; flex-direction: column; gap: 9px; }
.shop-suggest-row {
  display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer;
  padding: 11px 13px; border-radius: 14px;
  background: linear-gradient(165deg, #1b1b21, #141418);
  border: 1px solid rgba(255,255,255,.1);
}
.shop-suggest-row:active { transform: scale(.99); }
.shop-suggest-ico {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-size: 18px; color: #fff;
}
.shop-suggest-ico.tone-red    { background: linear-gradient(150deg, #ff5e6c, #c81e3c); }
.shop-suggest-ico.tone-rose   { background: linear-gradient(150deg, #ff647d, #d63a6a); }
.shop-suggest-ico.tone-violet { background: linear-gradient(150deg, #9b6bff, #6336d6); }
.shop-suggest-ico.tone-teal   { background: linear-gradient(150deg, #3ad9c7, #169f8d); }
.shop-suggest-ico.tone-blue   { background: linear-gradient(150deg, #4f9dff, #2f6fe0); }
.shop-suggest-ico.tone-amber  { background: linear-gradient(150deg, #ffb24a, #f08a1d); }
.shop-suggest-ico.tone-lime   { background: linear-gradient(150deg, #c8ff5a, #8be84a); color: #0b1206; }
.shop-suggest-ico.tone-graphite { background: linear-gradient(150deg, #3a3a44, #232329); }
.shop-suggest-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.shop-suggest-body b { font-size: 14.5px; font-weight: 900; letter-spacing: -.01em; }
.shop-suggest-body small { font-size: 11.5px; color: rgba(255,255,255,.58); line-height: 1.3; }
.shop-suggest-price { flex: none; font-size: 13px; font-weight: 900; color: var(--accent); }
.shop-ai-result .shop-all-link { margin-top: 14px; }

.ai-manager-feed {
  flex: 1; min-height: 0;
  overflow-y: auto;
  /* overscroll-behavior:contain — прокрутка ленты НЕ «утаскивает» страницу/визуальный вьюпорт при открытой
     клавиатуре (иначе фикс-экран уезжал и появлялось чёрное пустое пространство). */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 14px 16px 8px;
  display: flex; flex-direction: column; gap: 12px;
  scrollbar-width: none;
}
.ai-manager-feed::-webkit-scrollbar { display: none; }

/* Премиальные строки-сообщения с аватаром AI */
.ai-manager-feed .chat-row { display: flex; width: 100%; gap: 9px; align-items: flex-end; }
.ai-manager-feed .chat-row.user { justify-content: flex-end; }
.ai-manager-feed .chat-row.ai { justify-content: flex-start; }
.ai-manager-feed .chat-ava {
  flex: none; width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center; font-size: 10.5px; font-weight: 900; letter-spacing: .03em;
  color: #0b0f0a; background: linear-gradient(135deg, var(--accent), #8be84a);
  box-shadow: 0 5px 14px rgba(189,255,53,.28);
}
.ai-manager-feed .chat-bubble {
  max-width: 80%;
  padding: 12px 15px;
  border-radius: 20px;
  font-size: 14.5px;
  line-height: 1.46;
  letter-spacing: -.005em;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
}
.ai-manager-feed .chat-bubble.ai {
  background: linear-gradient(180deg, #24242b, #1a1a20);
  border: 1px solid rgba(255,255,255,.09);
  border-bottom-left-radius: 7px;
  color: #f3f3f6;
}
.ai-manager-feed .chat-bubble.ai b { color: #fff; font-weight: 800; }
.ai-manager-feed .chat-bubble.user {
  background: linear-gradient(135deg, var(--accent), #a6f24f);
  color: #0c1206; font-weight: 800;
  border: 0; border-bottom-right-radius: 7px;
  box-shadow: 0 10px 26px rgba(189,255,53,.28);
}

/* Поле ввода — стеклянная пилюля: прикрепить + текст + отправить */
.ai-manager-input {
  flex: none;
  display: flex; align-items: center; gap: 10px;
  /* Поле ввода чуть выше нижнего меню (меню ≈80px). */
  margin: 8px 14px 86px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px rgba(0,0,0,.42);
  transition: margin-bottom .16s ease;
}
/* Клавиатура открыта (или фокус в поле чата): прячем нижнее меню, поле опускается к низу над клавиатурой */
body.keyboard-open .bottom-nav,
body.chat-typing .bottom-nav { display: none !important; }
body.keyboard-open .ai-manager-input,
body.chat-typing .ai-manager-input { margin-bottom: calc(10px + env(safe-area-inset-bottom)); }
.ai-attach-btn {
  flex: none; width: 44px; height: 44px; border-radius: 15px;
  display: grid; place-items: center; cursor: pointer;
  color: var(--accent);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border: 1px solid rgba(189,255,53,.30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 6px 16px rgba(0,0,0,.30);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.ai-attach-btn:active { transform: scale(.93); border-color: rgba(189,255,53,.55); }
.ai-attach-btn svg { width: 20px; height: 20px; display: block; }
.ai-manager-input .ai-chat-field {
  flex: 1; min-width: 0;
  border: 0; background: transparent;
  color: #fff; font-size: 14.5px; padding: 0 4px; min-height: 42px;
}
.ai-manager-input .ai-chat-field::placeholder { color: rgba(255,255,255,.42); }
.ai-manager-input .ai-chat-field:focus { outline: none; }
.ai-send-btn {
  flex: none; width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center; cursor: pointer; font-size: 16px;
  color: #0b0f0a; border: 0;
  background: linear-gradient(135deg, var(--accent), #8be84a);
  box-shadow: 0 8px 20px rgba(189,255,53,.3);
}

/* ===== Премиум-штрихи AI-чата ===== */
.ai-manager-top { box-shadow: 0 10px 30px rgba(0,0,0,.34); }
.ai-manager-ava { position: relative; }
.ai-manager-ava::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0) 55%); pointer-events: none;
}
/* Лёгкая виньетка сверху ленты — глубина */
.ai-manager-feed { position: relative; }
.ai-manager-feed::before {
  content: ''; position: sticky; top: 0; display: block; height: 14px; margin-bottom: -14px;
  background: linear-gradient(180deg, rgba(14,14,18,.9), transparent); z-index: 2; pointer-events: none;
}
.ai-manager-feed .chat-ava { position: relative; overflow: hidden; }
.ai-manager-feed .chat-ava::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 55%;
  background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0)); pointer-events: none;
}
.ai-manager-feed .chat-bubble.ai { box-shadow: 0 8px 22px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05); }
.ai-manager-feed .chat-bubble.user { box-shadow: 0 10px 26px rgba(189,255,53,.30), inset 0 1px 0 rgba(255,255,255,.4); }
.ai-send-btn { transition: transform .14s ease, box-shadow .14s ease; }
.ai-send-btn::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 52%; border-radius: 14px 14px 60% 60%;
  background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0)); pointer-events: none;
}
.ai-send-btn { position: relative; overflow: hidden; }
.ai-send-btn:active { transform: scale(.92); }

/* «Скоро сгорят» — просто инфо, без открытия */
.edu-bonus-info { cursor: default; }
.edu-bonus-info:active { transform: none; }

/* История получения баллов (из «Ваши бонусы») */
.bonus-history-sheet { max-height: 86svh; overflow-y: auto; scrollbar-width: none; }
.bonus-history-sheet::-webkit-scrollbar { display: none; }
.bonus-history-total {
  display: flex; align-items: center; justify-content: space-between;
  margin: 8px 0 6px; padding: 14px 16px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(189,255,53,.16), rgba(255,255,255,.04));
  border: 1px solid rgba(189,255,53,.3);
}
.bonus-history-total span { font-size: 13px; color: rgba(255,255,255,.8); }
.bonus-history-total b { font-size: 22px; font-weight: 900; color: var(--accent); }
.bonus-history-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.bonus-history-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 13px; border-radius: 14px;
  background: linear-gradient(165deg, #1f1f25, #17171c);
  border: 1px solid rgba(255,255,255,.09);
}
.bonus-history-ico {
  flex: none; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; font-size: 18px;
  background: rgba(189,255,53,.14); border: 1px solid rgba(189,255,53,.26);
}
.bonus-history-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bonus-history-main b { font-size: 13.5px; font-weight: 800; line-height: 1.25; }
.bonus-history-main small { font-size: 11px; color: rgba(255,255,255,.5); }
.bonus-history-amount { flex: none; font-size: 15px; font-weight: 900; color: var(--accent); }
.bonus-history-empty { padding: 16px; text-align: center; font-size: 13px; color: rgba(255,255,255,.55); }

/* Модалка-подтверждение поверх панели редактора профиля */
.confirm-backdrop { z-index: 10500 !important; }

/* Блогер: рейтинг-чип, соцсети на стене, список и страница */
.blogger-rating-chip { color: var(--accent); background: rgba(189,255,53,.15); border: 1px solid rgba(189,255,53,.32); }
.blogger-socials {
  margin: 0 0 12px; padding: 13px; border-radius: 16px;
  background: linear-gradient(165deg, #1f1f25, #17171c); border: 1px solid rgba(255,255,255,.09);
}
.blogger-socials-title { display: block; font-size: 13px; font-weight: 900; margin-bottom: 9px; }
.blogger-socials-list { display: flex; flex-wrap: wrap; gap: 8px; }
.blogger-social-link {
  font-size: 12px; font-weight: 800; text-decoration: none;
  color: var(--accent); padding: 7px 12px; border-radius: 999px;
  background: rgba(189,255,53,.12); border: 1px solid rgba(189,255,53,.3);
}
.blogger-list-sheet, .blogger-view-sheet { max-height: 86svh; overflow-y: auto; scrollbar-width: none; }
.blogger-list-sheet::-webkit-scrollbar, .blogger-view-sheet::-webkit-scrollbar { display: none; }
/* Таргет: выбор соцсети-площадки над списком таргетологов */
.target-net-bar,
.target-net-chips {
  display: flex; gap: 8px; flex-wrap: nowrap;
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  margin: 12px 0 4px;
  padding: 2px 2px 7px;
}
.target-net-bar::-webkit-scrollbar,
.target-net-chips::-webkit-scrollbar {
  display: none;
}
.target-net-chip {
  flex: 0 0 auto; min-height: 34px; padding: 8px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 800; white-space: nowrap; cursor: pointer;
  color: #eafff0;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
}
.target-net-chip.active {
  color: #0b1206;
  background: linear-gradient(135deg, var(--accent), #8be84a);
  border-color: transparent;
}
.target-net-chip:active { transform: scale(.96); }
.target-view-meta { font-size: 13px; color: rgba(255,255,255,.65); margin: 8px 0; }

.blogger-list { display: flex; flex-direction: column; gap: 9px; margin: 12px 0; }

/* Список блогеров/таргетологов: фиксированная высота листа, прокрутка только внутри списка —
   при смене соцсети меняется кол-во карточек, но размер панели НЕ прыгает. */
.blogger-list-sheet {
  height: min(86svh, 720px) !important;
  display: flex !important;
  flex-direction: column !important;
}
.blogger-list-sheet > .blogger-list {
  flex: 1 1 auto;
  min-height: 0;
  margin: 12px 0 6px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.blogger-list-sheet > .blogger-list::-webkit-scrollbar { display: none; width: 0; }

/* Премиум-сегмент формата фита (вместо select). */
.feat-format-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}
.feat-format-opt {
  text-align: left;
  padding: 11px 13px;
  border-radius: 16px;
  background: linear-gradient(180deg, #202024, #161619);
  border: 1.5px solid rgba(255,255,255,.10);
  color: #fff;
  display: grid;
  gap: 2px;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.feat-format-opt:active { transform: scale(.98); }
.feat-format-opt b { font-size: 14px; font-weight: 900; letter-spacing: -.01em; }
.feat-format-opt small { font-size: 11px; color: rgba(255,255,255,.5); }
.feat-format-opt.active {
  border-color: var(--accent, #bdff35);
  background: linear-gradient(180deg, rgba(189,255,53,.14), rgba(189,255,53,.04));
}
.feat-format-opt.active small { color: rgba(255,255,255,.72); }
.blogger-card {
  display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer;
  padding: 10px 12px; border-radius: 16px;
  background: linear-gradient(165deg, #212128, #17171c); border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}
.blogger-card:active { transform: scale(.99); }
.blogger-card-ava { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; flex: none; }
.blogger-card-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.blogger-card-main b { font-size: 15px; font-weight: 900; }
.blogger-card-main small { font-size: 11px; color: rgba(255,255,255,.5); }
.blogger-card-rating { flex: none; font-size: 13px; font-weight: 900; color: var(--accent); }
/* Премиум-страница блогера: герой-карточка, выбор трека, карточки услуг */
.blogger-view-head {
  display: flex; align-items: center; gap: 14px; margin: 6px 0 14px;
  padding: 14px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(189,255,53,.12), rgba(255,255,255,.03));
  border: 1px solid rgba(189,255,53,.28);
  box-shadow: 0 14px 32px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.06);
}
.blogger-view-ava { width: 72px; height: 72px; border-radius: 20px; object-fit: cover; flex: none; box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.blogger-view-role { display: block; margin-top: 4px; font-size: 13px; font-weight: 800; color: rgba(255,255,255,.7); }

.blog-track-pick { margin: 14px 0; }
.blog-track-pick-label { display: block; font-size: 13px; font-weight: 900; margin-bottom: 8px; }
.blog-track-select-wrap { position: relative; }
.blog-track-select {
  width: 100%; appearance: none; -webkit-appearance: none;
  padding: 14px 40px 14px 14px; border-radius: 14px;
  font-size: 14.5px; font-weight: 700; color: #fff;
  background: linear-gradient(165deg, #202027, #16161b);
  border: 1px solid rgba(189,255,53,.22);
}
.blog-track-select-chevron { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 13px; pointer-events: none; }
.blog-track-pick-hint { display: block; margin-top: 7px; font-size: 11.5px; color: rgba(255,255,255,.5); }

.blog-net-chip {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 900; letter-spacing: .01em;
  color: #0b1206; background: linear-gradient(135deg, var(--accent), #8be84a);
}
.blog-offer-nets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 5px; }
.blog-offer-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.premium-offer {
  background: linear-gradient(165deg, #202027, #15151a) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05);
  padding: 13px 14px !important;
}
.premium-offer .blog-offer-price { font-size: 15px; }
.premium-offer .primary.tiny { padding: 7px 16px; border-radius: 999px; }
.blogger-view-note { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.4; margin: 10px 0; }
.blogger-view-name { display: block; font-size: 20px; font-weight: 900; color: #fff; text-decoration: none; }
.blogger-view-name:active { color: var(--accent); }

/* Блог: услуги и заказы */
.blog-offers-title, .blog-create-subhead { display: block; font-size: 13px; font-weight: 900; margin: 14px 0 8px; }
.blog-offers { display: flex; flex-direction: column; gap: 8px; }
.blog-offer {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 13px; border-radius: 14px;
  background: linear-gradient(165deg, #1f1f25, #17171c); border: 1px solid rgba(255,255,255,.1);
}
.blog-offer-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.blog-offer-main b { font-size: 13.5px; font-weight: 800; }
.blog-offer-main small { font-size: 11px; color: rgba(255,255,255,.5); }
.blog-offer-price { flex: none; font-size: 14px; font-weight: 900; color: var(--accent); }
.blog-net-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.blog-net-item {
  display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 42px; cursor: pointer;
  padding: 9px 11px; border-radius: 14px; font-size: 12.5px; font-weight: 800;
  line-height: 1.15;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.028));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.blog-net-item input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.blog-net-item span { min-width: 0; overflow-wrap: anywhere; }
.blogger-tools-row { margin-top: 8px; }
.blog-strikes { font-size: 12px; font-weight: 800; color: #ff8fa6; margin: 6px 0 10px; }
.blogger-orders-list { display: flex; flex-direction: column; gap: 9px; margin: 10px 0; }
.blog-order {
  padding: 11px 13px; border-radius: 14px;
  background: linear-gradient(165deg, #1f1f25, #17171c); border: 1px solid rgba(255,255,255,.1);
}
.blog-order.done { opacity: .72; }
.blog-order.failed { border-color: rgba(255,90,120,.4); }
.blog-order-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.blog-order-top b { font-size: 14px; font-weight: 900; }
.blog-order-status { font-size: 11px; font-weight: 800; color: var(--accent); }
.blog-order-status.failed { color: #ff8fa6; }
.blog-order-status.done { color: rgba(255,255,255,.5); }
.blog-order small { display: block; font-size: 11px; color: rgba(255,255,255,.55); margin: 4px 0; }
.blog-order-form { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.blog-order-form .input { flex: 1; padding: 9px 11px; font-size: 12.5px; }
.blog-order-link { font-size: 12.5px; font-weight: 800; color: var(--accent); text-decoration: none; }

.release-links-card { display: flex; flex-direction: column; gap: 12px; }
.release-link-list { display: flex; flex-direction: column; gap: 10px; }
.release-link-row {
  display: grid; grid-template-columns: 58px 1fr; gap: 10px;
  padding: 10px; border-radius: 14px;
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1);
}
.release-link-row > img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; }
.release-link-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.release-link-main small { font-size: 10.5px; color: rgba(255,255,255,.55); font-weight: 800; }
.release-link-main b { font-size: 14px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.release-link-main span { font-size: 11px; color: rgba(255,255,255,.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.release-link-edit { display: flex; align-items: center; gap: 4px; margin-top: 3px; }
.release-link-edit span { flex: none; font-size: 11px; color: rgba(255,255,255,.45); }
.release-link-edit .input { height: 32px; min-height: 32px; padding: 0 9px; font-size: 12px; }
.release-link-actions { grid-column: 1 / -1; display: flex; gap: 8px; }
.release-link-actions .tiny { flex: 1; }
.smartlink-page { text-align: center; }
.smartlink-cover { width: 160px; height: 160px; border-radius: 24px; object-fit: cover; margin: 8px auto 12px; box-shadow: 0 18px 48px rgba(0,0,0,.45); }
.smartlink-mode { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: rgba(189,255,53,.14); color: var(--accent); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.smartlink-page h2 { margin: 10px 0 4px; }
.smartlink-page p { margin: 0 0 10px; color: rgba(255,255,255,.62); font-size: 12px; }
.smartlink-url-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: stretch; }
.smartlink-url { padding: 9px 10px; border-radius: 12px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.78); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.smartlink-copy-btn {
  border: 1px solid rgba(189,255,53,.32);
  border-radius: 12px;
  padding: 0 12px;
  background: rgba(189,255,53,.12);
  color: #d7ff6c;
  font-size: 12px;
  font-weight: 900;
}
.smartlink-services { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.smartlink-service {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11);
  color: #fff; text-decoration: none;
}
.smartlink-service span { font-weight: 850; }
.smartlink-service b { color: var(--accent); font-size: 12px; }
.track-code-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.track-code-grid small {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px; border-radius: 12px;
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1);
}
.track-code-grid span { font-size: 10.5px; color: rgba(255,255,255,.5); font-weight: 800; }
.track-code-grid b { font-size: 12px; color: #fff; overflow-wrap: anywhere; }
.track-code-note { margin: 8px 0 0; color: rgba(255,255,255,.55); font-size: 11.5px; line-height: 1.35; }

/* Главное блогера — по центру */
.blogger-main { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 6px 4px 12px; }
.blogger-main-rating { font-size: 30px; font-weight: 900; color: var(--accent); line-height: 1; }
.blogger-main-rating small { display: block; font-size: 11px; color: rgba(255,255,255,.5); font-weight: 700; margin-top: 4px; }
.blogger-main-subhead { font-size: 13px; font-weight: 900; margin-top: 4px; }
.blogger-main-empty { font-size: 12.5px; color: rgba(255,255,255,.55); }
.blogger-main .full-btn { max-width: 320px; }
.blogger-socials-list.center { justify-content: center; }
.blogger-main .blog-offers { width: 100%; max-width: 360px; }
.blogger-tasks-note { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.4; margin: 6px 0 10px; }
/* Несколько кнопок в ряду профиля — перенос */
.profile-tools-row { flex-wrap: wrap; }

/* Админ: комиссия сервиса */
.commission-total {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: 14px; margin-bottom: 8px;
  background: linear-gradient(135deg, rgba(189,255,53,.16), rgba(255,255,255,.04));
  border: 1px solid rgba(189,255,53,.3);
}
.commission-total span { font-size: 13px; color: rgba(255,255,255,.8); }
.commission-total b { font-size: 22px; font-weight: 900; color: var(--accent); }
.commission-note { font-size: 12px; color: rgba(255,255,255,.55); margin: 0 0 10px; line-height: 1.4; }
.commission-subhead { font-size: 13px; font-weight: 800; margin: 14px 0 6px; color: rgba(255,255,255,.7); }

/* Задания/конкурсы компаний в «Обучении» — премиум-плитки (квадраты) в сетке 2×N. */
.edu-contest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 2px;
}
.edu-contest-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 138px;
  padding: 14px;
  border-radius: 22px;
  text-align: left;
  color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(189,255,53,.14), transparent 55%),
    linear-gradient(180deg, #20222a, #15151a);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 12px 28px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05);
}
.edu-contest-tile:active { transform: scale(.985); }
.edu-contest-badge {
  align-self: flex-start;
  font-size: 10px; font-weight: 900; letter-spacing: .02em;
  padding: 4px 9px; border-radius: 999px;
  background: rgba(189,255,53,.16); color: #cdff63;
}
.edu-contest-reward { font-size: 18px; font-weight: 1000; letter-spacing: -.02em; color: #cdff63; }
.edu-contest-title {
  font-size: 14px; font-weight: 850; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.edu-contest-meta { font-size: 11px; color: rgba(255,255,255,.55); margin-top: auto; }
.edu-contest-cta {
  font-size: 12px; font-weight: 850; color: #fff;
  max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.edu-contest-tile { overflow: hidden; }
.edu-contest-tile.done { opacity: .6; }
.edu-contest-tile.done .edu-contest-cta { color: #cdff63; }
/* Метка «Выполнено» на главных заданиях не вылезает за рамки карточки. */
.edu-banner-done {
  max-width: calc(100% - 28px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Прикрепление фото/видео в личном сообщении артиста (из телефона) + превью в пузыре. */
.msg-media-pickers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0; }
.msg-media-pick {
  display: flex; align-items: center; gap: 8px;
  padding: 12px; border-radius: 14px;
  background: linear-gradient(180deg, #202024, #161619);
  border: 1.5px dashed rgba(255,255,255,.16);
  color: #fff; font-size: 12.5px; font-weight: 700;
  cursor: pointer;
}
.msg-media-pick .msg-media-ico { font-size: 17px; }
.msg-media-pick.has { border-style: solid; border-color: var(--accent, #bdff35); background: linear-gradient(180deg, rgba(189,255,53,.12), rgba(189,255,53,.03)); }
.msg-rights-check { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); }
.messenger-offer-item.media {
  position: relative; margin-top: 6px;
  border-radius: 14px; overflow: hidden;
  background: #0e0e11;
}
.messenger-offer-item.media img,
.messenger-offer-item.media video { display: block; width: 100%; max-height: 240px; object-fit: cover; }
.messenger-offer-item.media.locked img,
.messenger-offer-item.media.locked video { filter: blur(18px); transform: scale(1.05); }
.msg-locked-badge {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 13px; font-weight: 900; color: #fff;
  background: rgba(0,0,0,.32);
}

/* ===== rev: премиум-композер контента артиста (цена на каждый пункт + пакет, OnlyFans-стиль) ===== */
.premium-content-composer .field { margin-top: 8px; }
/* Премиум-карточка выбора доли. */
.msg-rights-card {
  margin: 10px 0; padding: 12px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.09);
}
.msg-rights-card .msg-rights-check { margin: 0 0 10px; }
.msg-rights-pick { display: flex; gap: 12px; align-items: flex-start; }
.msg-rights-cover { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex: none; box-shadow: 0 6px 16px rgba(0,0,0,.34); }
.msg-rights-fields { flex: 1; min-width: 0; display: grid; gap: 8px; }
.msg-rights-fields .field { margin: 0; }
.msg-rights-percent input { text-align: center; font-weight: 800; }

/* Сегментированный переключатель режима цены. */
.msg-price-mode {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  margin: 12px 0 10px; padding: 4px; border-radius: 14px;
  background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.08);
}
.msg-price-mode button {
  border: 0; border-radius: 11px; padding: 9px 8px; cursor: pointer;
  font-size: 12.5px; font-weight: 800; color: rgba(255,255,255,.66);
  background: transparent; transition: background .15s ease, color .15s ease;
}
.msg-price-mode button.active {
  color: #0b1206;
  background: linear-gradient(135deg, var(--accent, #bdff35), #8be84a);
  box-shadow: 0 6px 16px rgba(189,255,53,.28);
}

/* Список премиум-строк цены пунктов. */
.msg-price-list { display: grid; gap: 8px; }
.msg-price-row {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
}
.msg-price-ico {
  flex: none; width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center; font-size: 16px;
  background: rgba(0,0,0,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.msg-price-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.msg-price-main b { font-size: 13.5px; font-weight: 800; }
.msg-price-main small { font-size: 10.5px; color: rgba(255,255,255,.5); margin-top: 1px; }
.msg-price-input { position: relative; flex: none; width: 116px; }
.msg-price-input input { width: 100%; padding-right: 24px; text-align: right; font-weight: 800; }
.msg-price-input i { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; color: rgba(255,255,255,.5); }

/* Тег пакета в пузыре оффера. */
.msg-pack-tag {
  font-weight: 900; color: #0b1206 !important;
  background: linear-gradient(135deg, var(--accent, #bdff35), #8be84a);
  padding: 3px 9px !important; border-radius: 999px;
}

/* ===== rev: открытый чат мессенджера — ПОЛНОЭКРАННЫЙ поверх меню (как AI-чат), клавиатуро-безопасный ===== */
.messenger-chat-backdrop { z-index: 10250 !important; padding: 0 !important; align-items: stretch !important; }
.messenger-sheet.messenger-chat-screen {
  position: fixed; inset: 0 !important;
  width: auto !important; max-width: none !important; margin: 0 !important;
  height: var(--vvh, 100dvh) !important;
  max-height: var(--vvh, 100dvh) !important;
  min-height: 0;
  border-radius: 0 !important;
  z-index: 10300;
  padding: 0 !important;
  display: flex !important; flex-direction: column !important;
  overflow: hidden !important;
}
/* Фон-подложка чата тоже на весь экран без отступов. */
.messenger-chat-backdrop { inset: 0 !important; width: 100vw; }
/* Шапка и композер закреплены по краям, лента сообщений тянется и скроллится. */
.messenger-chat-screen .artist-chat-top {
  flex: 0 0 auto; margin: 0 !important;
  padding: calc(10px + env(safe-area-inset-top)) 14px 12px !important;
  background: linear-gradient(180deg, rgba(20,20,26,.96), rgba(20,20,26,.55));
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.messenger-chat-screen .artist-chat-messages {
  flex: 1 1 auto !important; min-height: 0 !important; max-height: none !important;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 12px 14px 8px !important;
}
body.messenger-chat-open { overscroll-behavior: none; }
.messenger-chat-screen .messenger-composer {
  flex: 0 0 auto; margin: 0 !important;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
  border-radius: 0 !important;
  border: 0 !important; border-top: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(18,18,22,.97) !important;
  max-height: 52svh !important; overflow-y: auto;
}
/* Пока открыт чат — нижнее меню скрыто (чат поверх него), фон не прокручивается. */
body.messenger-chat-open .bottom-nav { display: none !important; }
body.messenger-chat-open { overflow: hidden; }

/* ===== rev: голосовой ввод (AI-чат) + голосовые сообщения (ЛС) ===== */
/* Кнопка микрофона в AI-чате. */
.ai-mic-btn {
  flex: none; width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center; cursor: pointer;
  color: var(--accent, #bdff35);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border: 1px solid rgba(189,255,53,.30);
  transition: transform .14s ease, background .15s ease, color .15s ease;
}
.ai-mic-btn:active { transform: scale(.93); }
.ai-mic-btn.listening {
  color: #fff; background: linear-gradient(135deg, #ff3b5c, #ff7a90); border-color: transparent;
  animation: micPulse 1.1s ease-in-out infinite;
}
@keyframes micPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,59,92,.5); } 50% { box-shadow: 0 0 0 9px rgba(255,59,92,0); } }

/* Кнопка микрофона + раскладка кнопок в композере ЛС (микрофон + прикрепить + отправить). */
.messenger-sheet .messenger-composer .artist-send-types { display: flex; align-items: center; gap: 8px; }
.messenger-sheet .messenger-composer .artist-send-types [data-send-dialog-text] { flex: 1; }
.msg-mic-btn {
  flex: none; width: 44px; height: 44px; padding: 0 !important;
  display: grid; place-items: center; cursor: pointer;
  color: var(--accent, #bdff35) !important;
  background: transparent !important; border: 1px solid rgba(189,255,53,.4) !important; border-radius: 14px !important;
}
.msg-mic-btn:active { transform: scale(.94); background: rgba(189,255,53,.08) !important; }

/* Плашка записи голосового. */
.voice-record-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 16px;
  background: rgba(255,59,92,.12); border: 1px solid rgba(255,59,92,.3);
}
.voice-rec-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #ff3b5c; animation: micPulse 1.1s ease-in-out infinite; }
.voice-rec-label { font-size: 13px; font-weight: 700; color: #fff; }
.voice-rec-time { margin-left: auto; font-weight: 800; font-size: 14px; color: #fff; font-variant-numeric: tabular-nums; }
.voice-rec-cancel, .voice-rec-send {
  flex: none; width: 40px; height: 40px; border-radius: 12px; border: 0; cursor: pointer;
  display: grid; place-items: center; font-size: 16px; font-weight: 900;
}
.voice-rec-cancel { background: rgba(255,255,255,.14); color: #fff; }
.voice-rec-send { background: linear-gradient(135deg, var(--accent, #bdff35), #8be84a); color: #0b1206; }
.voice-rec-cancel:active, .voice-rec-send:active { transform: scale(.93); }

/* Пузырь голосового сообщения. */
.voice-bubble { display: flex; flex-direction: column; gap: 4px; }
.voice-player { display: flex; align-items: center; gap: 10px; min-width: 178px; }
.voice-play {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; font-size: 13px; line-height: 1;
  background: linear-gradient(135deg, var(--accent, #bdff35), #8be84a); color: #0b1206;
}
.voice-play:active { transform: scale(.93); }
.voice-wave { display: flex; align-items: center; gap: 2px; flex: 1; height: 26px; overflow: hidden; }
.voice-wave i { display: block; width: 2.5px; border-radius: 2px; background: rgba(255,255,255,.42); transform-origin: center; }
.voice-player.playing .voice-wave i { background: var(--accent, #bdff35); animation: voiceWave .9s ease-in-out infinite; }
.voice-wave i:nth-child(even) { animation-delay: .15s; }
.voice-wave i:nth-child(3n) { animation-delay: .25s; }
@keyframes voiceWave { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1.35); } }
.voice-dur { flex: none; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.voice-bubble .voice-time { font-size: 10px; opacity: .5; }

/* Плашка записи внутри AI-инпута — занимает всю ширину пилюли. */
.ai-manager-input .ai-voice-record-bar { flex: 1; width: 100%; margin: 0; padding: 8px 12px; border-radius: 16px; }
/* Голосовое в AI-ленте: пузырь пользователя акцентный → делаем play/волну/длительность тёмными для контраста. */
.ai-voice-bubble { padding: 8px 10px; }
.ai-voice-bubble .voice-play { background: #0b1206; color: var(--accent, #bdff35); box-shadow: none; }
.ai-voice-bubble .voice-wave i { background: rgba(11,18,6,.45); }
.ai-voice-bubble .voice-player.playing .voice-wave i { background: #0b1206; }
.ai-voice-bubble .voice-dur { color: rgba(11,18,6,.7); }

/* ===== rev: платные сообщения OnlyFans-стиль — компактный ввод + вложения + пузырь ===== */
/* Компактная строка ввода. */
.messenger-sheet .messenger-composer .composer-row { display: flex; align-items: flex-end; gap: 8px; }
.composer-text {
  flex: 1; min-width: 0; min-height: 42px; max-height: 120px; resize: none;
  border-radius: 16px !important; font-size: 14px; padding: 10px 12px !important;
}
.composer-icon {
  flex: none; width: 44px; height: 44px; border-radius: 15px; cursor: pointer;
  display: grid; place-items: center; line-height: 1; color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 6px 16px rgba(0,0,0,.28);
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.composer-icon svg { width: 21px; height: 21px; display: block; }
.composer-icon:active { transform: scale(.9); }
.composer-icon.attach, .composer-icon.price, .composer-icon.mic {
  color: var(--accent, #bdff35); border-color: rgba(189,255,53,.32);
}
.composer-icon.attach:active, .composer-icon.price:active, .composer-icon.mic:active { border-color: rgba(189,255,53,.6); }
.composer-icon.send {
  color: #0b1206; border: 0;
  background: linear-gradient(135deg, var(--accent, #bdff35), #8be84a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 20px rgba(189,255,53,.34);
}
.composer-icon.send svg { width: 20px; height: 20px; transform: translateX(1px); }

/* Миниатюры вложений над полем ввода. */
.composer-atts { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.composer-atts::-webkit-scrollbar { display: none; }
.composer-att { position: relative; flex: none; width: 76px; }
.composer-att-thumb {
  position: relative; width: 76px; height: 76px; border-radius: 14px; overflow: hidden;
  background: #15151a; border: 1px solid rgba(255,255,255,.12);
}
.composer-att-thumb img, .composer-att-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.composer-att-badge {
  position: absolute; left: 5px; bottom: 5px; font-size: 10px; font-weight: 900;
  padding: 2px 6px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff;
}
.composer-att-x {
  position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; font-size: 12px; font-weight: 900;
  background: #ff3b5c; color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.4);
}
.composer-att-price { margin-top: 5px; }
.composer-att-price input {
  width: 100%; height: 28px; border-radius: 9px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06); color: #fff; font-size: 12px; font-weight: 700; text-align: center;
}
.composer-pack-tag {
  flex: none; align-self: center; padding: 8px 12px; border-radius: 12px; cursor: pointer;
  font-size: 12px; font-weight: 900; color: #0b1206;
  background: linear-gradient(135deg, var(--accent, #bdff35), #8be84a);
}

/* Bottom-sheet «Прикрепить» / выбор доли / цена. */
.msg-sheet-backdrop {
  position: fixed; inset: 0; z-index: 10400;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0,0,0,.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.msg-sheet {
  width: min(100vw, 480px); box-sizing: border-box;
  background: linear-gradient(180deg, #1b1b21, #141418);
  border-radius: 22px 22px 0 0; border: 1px solid rgba(255,255,255,.1); border-bottom: 0;
  padding: 10px 16px calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -16px 40px rgba(0,0,0,.5);
  animation: sheetUp .2s ease;
}
@keyframes sheetUp { from { transform: translateY(30px); opacity: .4; } to { transform: translateY(0); opacity: 1; } }
.msg-sheet-grip { width: 40px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.22); margin: 2px auto 12px; }
.msg-sheet-title { margin: 0 0 12px; font-size: 16px; font-weight: 800; color: #fff; }
.msg-sheet-hint { margin: 4px 0 14px; font-size: 12.5px; color: rgba(255,255,255,.6); line-height: 1.45; }
.msg-attach-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.msg-attach-opt {
  display: flex; flex-direction: column; align-items: center; gap: 7px; cursor: pointer;
  padding: 16px 8px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); color: #fff;
}
.msg-attach-opt:active { transform: scale(.96); }
.msg-attach-opt b { font-size: 12.5px; font-weight: 800; }
.msg-attach-ico {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(189,255,53,.14); color: var(--accent, #bdff35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.msg-attach-ico svg { width: 24px; height: 24px; display: block; }
.msg-attach-opt.tone-photo .msg-attach-ico { background: rgba(96,165,255,.16); color: #7fb6ff; }
.msg-attach-opt.tone-video .msg-attach-ico { background: rgba(255,138,76,.16); color: #ffae7a; }
.msg-attach-opt.tone-rights .msg-attach-ico { background: rgba(189,255,53,.16); color: var(--accent, #bdff35); }
.msg-attach-opt.tone-photo { border-color: rgba(96,165,255,.28); }
.msg-attach-opt.tone-video { border-color: rgba(255,138,76,.28); }
.msg-attach-opt.tone-rights { border-color: rgba(189,255,53,.28); }

/* Пузырь платного сообщения. */
.artist-chat-bubble.chat-offer { padding: 8px; max-width: 86%; display: flex; flex-direction: column; gap: 8px; }
.offer-caption { margin: 2px 4px; font-size: 13.5px; }
.offer-atts { display: flex; flex-direction: column; gap: 8px; }
.offer-atts.grouped {
  padding: 8px; border-radius: 14px; gap: 8px;
  background: rgba(0,0,0,.18); border: 1px dashed rgba(255,255,255,.16);
}
.offer-att { display: flex; flex-direction: column; gap: 8px; }
.offer-att.media .offer-att-preview {
  position: relative; border-radius: 14px; overflow: hidden; background: #0e0e11; max-height: 260px;
}
.offer-att.media .offer-att-preview img,
.offer-att.media .offer-att-preview video { display: block; width: 100%; max-height: 260px; object-fit: cover; }
.offer-att.media.locked .offer-att-preview img,
.offer-att.media.locked .offer-att-preview video { filter: blur(20px); transform: scale(1.08); }
.offer-lock {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.34); color: #fff;
}
.offer-lock svg { width: 30px; height: 30px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
/* Блюр-заставка заблокированного медиа (вместо плеера/фото) — ничего не подгружается до оплаты. */
.offer-att-blur {
  width: 100%; height: 178px; display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 28% 18%, rgba(255,255,255,.07), transparent 60%),
    repeating-linear-gradient(135deg, #1b1b22 0 14px, #15151b 14px 28px);
  filter: blur(2px);
}
.offer-att-glyph { opacity: .32; }
.offer-att-glyph svg { width: 46px; height: 46px; color: #fff; }
/* Play-бейдж на постере открытого видео. */
.offer-att-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,0,0,.5); color: #fff; font-size: 15px; pointer-events: none;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.offer-paid-tag {
  align-self: center; flex: none; font-size: 11px; font-weight: 800; white-space: nowrap;
  padding: 5px 9px; border-radius: 999px; color: var(--accent, #bdff35);
  background: rgba(189,255,53,.12); border: 1px solid rgba(189,255,53,.3);
}
.offer-att-actions { display: flex; gap: 8px; align-items: center; }
.offer-act {
  flex: 1; text-align: center; text-decoration: none;
  padding: 9px 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08); color: #fff; font-size: 12.5px; font-weight: 800; cursor: pointer;
}
.offer-act:active { transform: scale(.97); }
.offer-act.share { background: rgba(189,255,53,.16); border-color: rgba(189,255,53,.4); color: var(--accent, #bdff35); }
.offer-buy {
  width: 100%; padding: 11px 12px; border-radius: 12px; border: 0; cursor: pointer;
  font-size: 13px; font-weight: 900; color: #0b1206;
  background: linear-gradient(135deg, var(--accent, #bdff35), #8be84a);
  box-shadow: 0 8px 20px rgba(189,255,53,.28);
}
.offer-buy:active { transform: scale(.98); }
.offer-buy.pack { font-size: 14px; padding: 13px; }
/* Доля трека в пузыре: шапка (обложка+название+play) в строку, кнопка — отдельной строкой на всю ширину (не вылезает). */
.offer-att.rights { flex-direction: column; align-items: stretch; gap: 8px; padding: 8px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.offer-rights-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.offer-rights-cover { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; flex: none; }
.offer-rights-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.offer-rights-main b { font-size: 13.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer-rights-main small { font-size: 11px; color: rgba(255,255,255,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer-play {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent, #bdff35), #8be84a); color: #0b1206;
  box-shadow: 0 6px 16px rgba(189,255,53,.32);
}
.offer-play svg { width: 18px; height: 18px; transform: translateX(1px); }
.offer-play:active { transform: scale(.92); }
.offer-att.rights .offer-act.share, .offer-att.rights .offer-buy { width: 100%; flex: none; }
.offer-time { align-self: flex-end; font-size: 10px; opacity: .5; }

/* Лайтбокс просмотра открытого медиа. */
.msg-lightbox {
  position: fixed; inset: 0; z-index: 10500;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: rgba(0,0,0,.92); padding: 20px;
}
.msg-lightbox img, .msg-lightbox video { max-width: 100%; max-height: 78vh; border-radius: 12px; }
.msg-lightbox-x {
  position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 16px;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font-size: 18px;
}
.msg-lightbox-dl {
  padding: 11px 22px; border-radius: 999px; text-decoration: none;
  background: var(--accent, #bdff35); color: #0b1206; font-weight: 900; font-size: 13px;
}

/* ===== rev: компактный премиум-список диалогов (имя + последнее сообщение, TG-стиль) ===== */
.dlg-list-title { margin: 2px 0 8px; font-size: 20px; font-weight: 800; }
.messenger-sheet .artist-dialog-list { display: flex !important; flex-direction: column; gap: 2px; margin-top: 6px; }
.dlg-card {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 8px 10px; border: 0; border-radius: 14px; cursor: pointer;
  background: transparent; color: #fff; text-align: left;
  transition: background .15s ease, transform .12s ease;
}
.dlg-card:active { transform: scale(.99); background: rgba(255,255,255,.07); }
.dlg-ava {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 900; font-size: 16px;
  color: #17210f; background: linear-gradient(135deg, #eaff48, #9dff00);
  box-shadow: 0 4px 14px rgba(189,255,53,.22);
}
.dlg-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dlg-name { font-size: 15px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlg-last { font-size: 13px; line-height: 1.25; color: rgba(255,255,255,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlg-badge {
  flex: none; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center; font-size: 11px; font-weight: 900;
  color: #17210f; background: var(--accent, #bdff35);
}
.dlg-empty { padding: 28px 10px; text-align: center; color: rgba(255,255,255,.45); font-size: 14px; }

/* Премиум-выпадашка (вместо нативного select) + премиум-поле даты. */
.pdd { position: relative; }
.pdd-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #202024, #161619);
  border: 1.5px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}
.pdd-btn:active { transform: scale(.995); }
.pdd-cur { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdd-chev { color: var(--accent, #bdff35); font-size: 13px; flex: none; }
.pdd-panel {
  position: absolute;
  z-index: 30;
  left: 0; right: 0; top: calc(100% + 6px);
  max-height: 244px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px;
  border-radius: 16px;
  background: linear-gradient(180deg, #24242a, #131316);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 44px rgba(0,0,0,.55);
}
.pdd-panel::-webkit-scrollbar { display: none; width: 0; }
.pdd-opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 12px;
  border-radius: 11px;
  color: rgba(255,255,255,.82);
  font-size: 13.5px;
  font-weight: 700;
}
.pdd-opt:active { background: rgba(255,255,255,.06); }
.pdd-opt.active {
  background: linear-gradient(180deg, rgba(189,255,53,.16), rgba(189,255,53,.05));
  color: #d6ff6b;
}
.pdate { position: relative; }
.pdate-input {
  width: 100%;
  padding-right: 42px !important;
  color-scheme: dark;
}
.pdate-ico {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 16px;
  opacity: .85;
}

/* Фирменный премиум-календарь. */
.pcal { position: relative; }
.pcal-field {
  width: 100%;
  display: flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #202024, #161619);
  border: 1.5px solid rgba(255,255,255,.12);
  color: #fff; font-size: 14px; font-weight: 700; text-align: left;
}
.pcal-field:active { transform: scale(.995); }
.pcal-label { flex: 1; min-width: 0; }
.pcal-chev { color: var(--accent, #bdff35); font-size: 13px; }
.pcal-pop {
  /* В потоке (не absolute), чтобы лист прокручивался и были видны ВСЕ даты — календарь не уходит за меню. */
  margin-top: 8px;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, #24242a, #131316);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-title { font-size: 14px; font-weight: 900; letter-spacing: -.01em; }
.cal-nav {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; font-size: 18px;
  display: grid; place-items: center;
}
.cal-nav:active { background: rgba(189,255,53,.2); }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 4px; }
.cal-dow span { text-align: center; font-size: 10px; font-weight: 800; color: rgba(255,255,255,.4); padding: 4px 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-cell {
  aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 11px; font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,.85); background: rgba(255,255,255,.04);
}
.cal-cell.empty { background: none; }
.cal-cell:active { transform: scale(.92); }
.cal-cell.today { border: 1px solid rgba(189,255,53,.5); }
.cal-cell.sel {
  background: linear-gradient(135deg, var(--accent, #bdff35), #8be84a);
  color: #0b1206; font-weight: 900;
}

/* Премиум-список станций в платной ротации (с фирменным лого). */
.paid-rot-stations { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.paid-rot-station {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 16px; text-align: left; color: #fff;
  background: linear-gradient(180deg, #202024, #161619);
  border: 1.5px solid rgba(255,255,255,.1);
}
.paid-rot-station:active { transform: scale(.99); }
.paid-rot-station.active { border-color: var(--accent, #bdff35); background: linear-gradient(180deg, rgba(189,255,53,.12), rgba(189,255,53,.03)); }
.paid-rot-logo {
  width: 46px; height: 46px; border-radius: 13px; object-fit: cover; flex: none;
  background: #26262c; border: 1px solid rgba(255,255,255,.12);
}
.paid-rot-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.paid-rot-info b { font-size: 14.5px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.paid-rot-info small { font-size: 11.5px; color: rgba(255,255,255,.55); }
.paid-rot-check { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 900; color: #0b1206; background: transparent; }
.paid-rot-station.active .paid-rot-check { background: var(--accent, #bdff35); }

/* Баллы станции в панели задания + покупка баллов. */
.station-task-points { display: flex; flex-direction: column; gap: 6px; }
.station-task-points b { font-size: 15px; color: var(--accent, #bdff35); }
.station-task-points .secondary.tiny { align-self: flex-start; margin-top: 4px; }
.buy-points-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 4px; }
.buy-points-pack {
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
  padding: 14px; border-radius: 18px; color: #fff;
  background: linear-gradient(180deg, #20222a, #15151a);
  border: 1px solid rgba(255,255,255,.1);
}
.buy-points-pack:active { transform: scale(.98); }
.buy-points-pack b { font-size: 20px; font-weight: 1000; color: var(--accent, #bdff35); }
.buy-points-pack small { font-size: 11px; color: rgba(255,255,255,.55); }
.buy-points-pack span { margin-top: 6px; font-size: 13px; font-weight: 800; }

/* Сообщения: постоянная высота листа, прокрутка списка диалогов / треда ВНУТРИ.
   Размер раздела не «прыгает», содержимое не наезжает на нижнее меню. */
.messenger-sheet {
  height: min(82svh, 700px) !important;
  display: flex !important;
  flex-direction: column !important;
  padding-bottom: calc(16px + env(safe-area-inset-bottom)) !important;
  overflow: hidden !important;
}
.messenger-sheet .sheet-handle,
.messenger-sheet > h2,
.messenger-sheet > p,
.messenger-sheet .artist-chat-top,
.messenger-sheet .messenger-composer,
.messenger-sheet .artist-send-panel,
.messenger-sheet .modal-actions { flex: 0 0 auto; }
.messenger-sheet .artist-dialog-list,
.messenger-sheet .messenger-thread,
.messenger-sheet .artist-chat-messages {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.messenger-sheet .artist-dialog-list::-webkit-scrollbar,
.messenger-sheet .messenger-thread::-webkit-scrollbar,
.messenger-sheet .artist-chat-messages::-webkit-scrollbar { display: none; width: 0; }
/* Композер с textarea — ограничиваем высоту, чтобы не выдавливал тред. */
.messenger-sheet .messenger-composer { max-height: 46svh; overflow-y: auto; }

/* ===== rev: премиум-мессенджер — тонкий список диалогов + открытый чат как AI-чат (аля ТГ) ===== */
/* Лист выше — ближе к полноэкранному AI-чату. */
.messenger-sheet { height: min(90svh, 780px) !important; border-radius: 26px; }

/* --- Тонкие премиум-строки списка диалогов --- */
.messenger-sheet .artist-dialog-list { gap: 6px; margin-top: 12px; }
.messenger-sheet .artist-dialog-card {
  grid-template-columns: 44px 1fr auto; gap: 11px; padding: 8px 12px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.07); box-shadow: none;
  transition: background .15s ease, transform .12s ease;
}
.messenger-sheet .artist-dialog-card:active { transform: scale(.985); background: rgba(255,255,255,.1); }
.messenger-sheet .artist-dialog-card .artist-dialog-avatar { width: 44px; height: 44px; border-radius: 14px; font-size: 15px; box-shadow: none; }
.messenger-sheet .artist-dialog-info b { font-size: 14px; font-weight: 800; }
.messenger-sheet .artist-dialog-info small { font-size: 10px; opacity: .55; }
.messenger-sheet .artist-dialog-info span { margin-top: 2px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5); }

/* --- Открытый чат: шапка как у AI-чата (назад слева + аватар + имя/статус) --- */
.messenger-sheet .artist-chat-top {
  display: flex; align-items: center; gap: 12px;
  margin: -2px -2px 8px; padding: 4px 2px 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.chat-back-btn {
  flex: none; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  display: grid; place-items: center; cursor: pointer;
  font-size: 26px; line-height: 1; color: #fff; background: rgba(255,255,255,.08);
  transition: transform .12s ease, background .15s ease;
}
.chat-back-btn:active { transform: scale(.92); background: rgba(255,255,255,.14); }
.messenger-sheet .artist-chat-top .artist-dialog-avatar.small { width: 40px; height: 40px; border-radius: 14px; font-size: 14px; }
.messenger-sheet .artist-chat-peer { min-width: 0; }
.messenger-sheet .artist-chat-peer h2 { margin: 0; font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.messenger-sheet .artist-chat-peer p { margin: 2px 0 0; display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(255,255,255,.5); }
.chat-online-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ad17a; display: inline-block; flex: none; }

/* --- Лента сообщений как AI-feed (TG-баблы) --- */
.messenger-sheet .artist-chat-messages {
  display: flex; flex-direction: column; gap: 10px;
  padding: 10px 2px 8px; margin: 0; background: transparent; border-radius: 0;
}
.messenger-sheet .artist-chat-bubble {
  max-width: 82%; padding: 11px 14px; border-radius: 18px;
  font-size: 14px; line-height: 1.42; box-shadow: 0 8px 22px rgba(0,0,0,.26);
}
.messenger-sheet .artist-chat-bubble.user { align-self: flex-start; border-bottom-left-radius: 7px; }
.messenger-sheet .artist-chat-bubble.artist { align-self: flex-end; border-bottom-right-radius: 7px; }
.messenger-sheet .artist-chat-bubble.messenger-offer { max-width: 88%; }
.messenger-sheet .artist-chat-bubble small { font-size: 10px; opacity: .5; }

/* --- Композер: премиум нижний бар --- */
.messenger-sheet .messenger-composer {
  margin-top: 8px; padding: 10px; border-radius: 20px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.messenger-sheet .messenger-composer .textarea {
  width: 100%; min-height: 44px; max-height: 120px; resize: none; border-radius: 14px; font-size: 14px;
}
.messenger-sheet .messenger-composer .artist-send-types { margin: 8px 0 0; grid-template-columns: auto 1fr; gap: 8px; }
/* «Отправить» — акцентная (растягивается); «Прикрепить» — обведённая акцентом (узкая, всегда видна). */
.messenger-sheet .messenger-composer .artist-send-types [data-send-dialog-text] {
  background: linear-gradient(135deg, var(--accent), #8be84a); color: #0b1206; font-weight: 900;
}
/* У пользователя кнопка «Отправить» одна — на всю ширину. */
.messenger-sheet .messenger-composer .artist-send-types [data-send-dialog-text]:only-child { grid-column: 1 / -1; }
.msg-attach-btn {
  background: transparent !important; color: var(--accent, #bdff35) !important;
  border: 1px solid rgba(189,255,53,.4) !important; font-weight: 800 !important; white-space: nowrap;
}
.msg-attach-btn:active { transform: scale(.96); background: rgba(189,255,53,.08) !important; }

/* Premium public profile track cards. */
.public-track-card {
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 0%, rgba(189,255,53,.16), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    #17171b;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 38px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.06);
}
.public-track-card .artist-track-main {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  align-items: center;
}
.public-track-card .track-cover-wrap,
.public-track-card .track-cover-wrap img {
  width: 96px;
  height: 96px;
}
.public-track-card .track-cover-wrap img {
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(0,0,0,.34);
}
.public-track-card .track-play-badge { border-radius: 22px; }
.public-track-card .artist-track-info b { font-size: 20px; line-height: 1.04; }
.public-track-card .artist-track-info span { font-size: 13px; }
.public-track-card .artist-track-info em {
  background: rgba(189,255,53,.14);
  color: #dfff6f;
}
.public-track-card .artist-track-kpis.public-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-inline: 14px;
  gap: 8px;
}
.public-track-card .artist-track-kpis.public-kpis small {
  min-height: 54px;
  border-radius: 16px;
  background: rgba(8,8,10,.58);
  border: 1px solid rgba(255,255,255,.06);
}
.artist-track-actions.public-track-actions {
  display: grid;
  grid-template-columns: 48px minmax(86px, auto) minmax(0, 1fr);
  gap: 8px;
  padding: 0 14px 14px;
}
.public-track-actions .play-ico-btn {
  width: 48px;
  min-width: 48px;
  padding: 0;
  display: grid;
  place-items: center;
}
.public-track-actions .like-btn {
  min-width: 0;
  justify-content: center;
  white-space: nowrap;
}
.public-track-actions .public-buy-track {
  width: 100%;
  min-width: 0;
  justify-content: center;
  border-radius: 16px;
}

@media (max-width: 360px) {
  .public-track-card .artist-track-main { grid-template-columns: 84px minmax(0, 1fr); }
  .public-track-card .track-cover-wrap,
  .public-track-card .track-cover-wrap img { width: 84px; height: 84px; }
  .artist-track-actions.public-track-actions { grid-template-columns: 46px 1fr; }
  .public-track-actions .public-buy-track { grid-column: 1 / -1; }
}

/* ===== Партнёрские интеграции бренда ===== */
.brand-integration-card { display: flex; flex-direction: column; gap: 8px; }
.brand-integration-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand-integration-head > b { font-size: 16px; letter-spacing: -.02em; }
.brand-integration-subhead { display: block; margin-top: 6px; font-size: 12.5px; color: rgba(255,255,255,.62); }
.brand-integration-example { width: 100%; max-height: 200px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.brand-applicant-row {
  display: flex; flex-direction: column; gap: 6px;
  padding: 10px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
}
.brand-applicant-link {
  align-self: flex-start; font-weight: 800; font-size: 14.5px; color: var(--accent);
  text-decoration: underline; text-underline-offset: 3px;
}
.brand-applicant-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.brand-applicant-meta span {
  font-size: 11.5px; font-weight: 700; color: #dfe3d6;
  padding: 3px 9px; border-radius: 999px; background: rgba(189,255,53,.12);
}
.brand-integration-progress { display: flex; flex-direction: column; gap: 6px; }
.brand-work-links { display: flex; flex-direction: column; gap: 4px; }
.brand-work-links a { color: var(--accent); font-size: 13px; word-break: break-all; text-decoration: underline; }
.brand-int-file-btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 96px; padding: 10px; border-radius: 14px; cursor: pointer;
  background: rgba(255,255,255,.05); border: 1px dashed rgba(189,255,53,.4);
  color: rgba(255,255,255,.62); font-weight: 700; font-size: 13px;
}
.brand-int-file-btn img { width: 100%; max-height: 180px; object-fit: cover; border-radius: 10px; }
.brand-task-card { position: relative; }
.brandtask-del { position: absolute; top: 10px; right: 10px; }
.brandtask-reward-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: center; }
.brandtask-proof-thumb { width: 100%; max-height: 160px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.brandtask-proof-track { font-weight: 700; color: var(--accent); font-size: 13px; }
