.cpoem-title {
  font-size: 17px;
  font-weight: 850;
  line-height: 1.25;
}

.cpoem-year {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.cpoem-preview {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cpoem-card.skeleton {
  display: block;
  min-height: 96px;
  border-radius: 16px;
}

.create-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 0 14px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--muted);
}

.create-search-box input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.create-search-section {
  margin-top: 16px;
}

.create-search-label {
  margin: 12px 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.cpoem-card.compact {
  padding: 12px 14px;
}

.sound-detail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0 8px;
}

.sound-detail-section {
  margin-top: 9px;
}

.sound-detail-head strong {
  color: #f8fafc;
  font-size: 14px;
  font-weight: 850;
}

.sound-detail-head span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.sound-detail-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-right: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sound-detail-chips::-webkit-scrollbar {
  display: none;
}

.sound-detail-cat,
.sound-detail-option,
.sound-detail-back {
  flex: 0 0 auto;
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 17px;
  background: #14141b;
  color: #c7d2fe;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.sound-detail-cat.selected,
.sound-detail-option.active {
  border-color: rgba(52, 211, 153, 0.4);
  background: #0f1a16;
  color: #d1fae5;
}

.sound-detail-back {
  border-color: #2a2a33;
  background: #0f0f14;
  color: #9ca3af;
}

.sound-film-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 0 12px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.sound-film-input span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.sound-film-input input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.sound-combined {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
  padding: 12px 42px 12px 14px;
  border: 1px solid rgba(59, 130, 246, 0.45);
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.16);
}

.sound-combined strong {
  color: #bfdbfe;
  font-size: 12px;
  text-transform: uppercase;
}

.sound-combined span {
  color: var(--text);
  line-height: 1.45;
}

.sound-combined button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  cursor: pointer;
}

.create-notice.unavailable {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.12);
}

.pending-submit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.pending-submit-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.11);
}

.pending-submit-card.failed {
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(248, 113, 113, 0.1);
}

.pending-submit-card div:first-of-type {
  flex: 1 1 auto;
  min-width: 0;
}

.pending-submit-card strong,
.pending-submit-card span {
  display: block;
}

.pending-submit-card strong {
  color: var(--text);
}

.pending-submit-card span {
  color: var(--muted);
  font-size: 13px;
}

.pending-submit-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.adaptive-offer-card {
  margin: 0 0 14px;
  padding: 14px 15px;
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
}

.adaptive-offer-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.adaptive-offer-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #f59e0b;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.45);
}

.adaptive-offer-card p,
.adaptive-lyrics-notice {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.adaptive-offer-card p {
  margin: 8px 0 0;
}

.adaptive-offer-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.adaptive-lyrics-notice {
  margin: 0 0 14px;
  padding: 11px 12px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
}

.adaptive-lyrics-notice a {
  color: #fcd34d;
}

.publication-badge {
  width: fit-content;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.publication-badge.published,
.publish-lock.on {
  border-color: rgba(34, 197, 94, 0.45);
  color: #86efac;
}

.comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.comment-act {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.comment-act:hover {
  border-color: rgba(255, 138, 61, 0.45);
  color: var(--text);
}

.language-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.language-switch span {
  margin-right: auto;
  color: var(--muted);
  font-weight: 850;
}

.language-switch button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 850;
}

.language-switch button.active {
  border-color: rgba(255, 138, 61, 0.55);
  color: var(--accent);
  background: rgba(255, 138, 61, 0.12);
}

.web-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.62);
}

/* #33: модалки, открытые ПОВЕРХ полноэкранного плеера (z-index 1000). */
.web-modal-backdrop.over-player {
  z-index: 1100;
}

/* #15: модалка e-mail для чека. */
.receipt-email-modal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.receipt-email-note {
  margin: 0;
  font-size: 13px;
  color: var(--dim);
}

.receipt-email-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2, #14141c);
  color: var(--text);
  font-size: 15px;
}

.receipt-email-input:focus {
  outline: none;
  border-color: #7c6cf5;
}

.receipt-email-err {
  margin: 0;
  font-size: 12px;
  color: #ff6b6b;
}

.web-modal-card {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.55);
  /* Модалка НИКОГДА не выше экрана: шапка фиксирована, тело скроллится (владелец 07-19) */
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
}

.web-modal-head { flex: 0 0 auto; }

.web-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 10px;
}

.web-modal-head strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 850;
}

.web-modal-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.web-modal-body {
  padding: 0 18px 18px;
  overflow-y: auto;
  min-height: 0;
}

.web-modal-reasons,
.support-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.web-modal-reasons .button {
  width: 100%;
}

.support-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  padding: 12px;
  font: inherit;
  resize: vertical;
}

.support-ids {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.support-ids-label {
  color: var(--muted);
  font-size: 13px;
}

.support-ids code {
  display: block;
  margin: 8px 0;
  color: var(--text);
  word-break: break-all;
}

.footer-support-link {
  color: var(--muted);
  text-decoration: none;
}

.footer-support-link:hover {
  color: var(--accent);
}

@media (max-width: 560px) {
  .pending-submit-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Coverage Selector */
.coverage-card {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  background: var(--surface);
}
.coverage-hint {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.4;
}
.coverage-segments {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 12px;
  gap: 2px;
}
.coverage-segment {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s, color 0.18s;
}
.coverage-segment.active {
  background: #6366f1;
  color: #fff;
}
.coverage-segment:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.coverage-body {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.45;
}
.coverage-safety {
  font-size: 12px;
  color: #fb923c;
  margin-top: 6px;
  line-height: 1.4;
}
.coverage-disabled-note {
  font-size: 13px;
  color: #fca5a5;
  line-height: 1.4;
}
.coverage-card--disabled {
  opacity: 0.65;
}

/* ─── Батч 2 (2026-07-03): замок владения, retention-бейдж, кнопка удаления, email-кнопка ─── */
.catalog-card-icon.publish-lock.mine.on {
  border-color: rgba(34, 197, 94, 0.5);
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
}
.catalog-card-icon.catalog-card-danger:hover {
  border-color: rgba(255, 107, 107, 0.5);
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.12);
}
.retention-badge {
  display: inline-block;
  align-self: flex-start;
  margin: 4px 0 0;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}
.retention-badge.warning { color: #ffcf6b; background: rgba(255, 207, 107, 0.13); }
.retention-badge.urgent { color: #ff9068; background: rgba(255, 138, 107, 0.15); }
.auth-email-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

/* Кнопка входа «Яндекс ID» (веб; фирменный красный) */
.auth-yandex-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  background: #fc3f1d;
  color: #fff;
  border: 0;
  font-weight: 750;
}
.auth-yandex-btn:hover { background: #e5381a; }
.auth-yandex-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #fff;
  color: #fc3f1d;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
}

