:root {
  --bg-black: #000000;
  --panel-bg: #141414;
  --surface: #1d1d1f;
  --surface-soft: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text-primary: #ffffff;
  --text-secondary: #9a9aa0;
  --text-muted: #66666d;

  --ym-yellow: #ffdf00;
  --ym-yellow-hover: #ffe738;
  --green: #38d399;
  --danger: #ff5555;
  --blue: #60a5fa;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  min-height: 100%;
  background: var(--bg-black);
  color: var(--text-primary);
  font-family: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }
button, input, select, textarea { font-family: inherit; color: inherit; }

::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 99px; }

/* Toasts */
.studio-toast-wrap {
  position: fixed; top: 18px; right: 18px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
}
.studio-toast {
  background: rgba(28, 28, 32, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--ym-yellow);
  color: #fff;
  padding: 11px 16px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}
.studio-toast.err { border-left-color: var(--danger); }

/* Buttons & Inputs */
.studio-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.16s ease, box-shadow 0.2s ease;
}
.studio-btn:hover { background: rgba(255, 255, 255, 0.11); }
.studio-btn:active { transform: scale(0.97); }
.studio-btn.primary {
  background: var(--ym-yellow); color: #000000; border-color: transparent;
  box-shadow: 0 8px 24px rgba(255, 223, 0, 0.22);
}
.studio-btn.primary:hover { background: var(--ym-yellow-hover); }
.studio-btn.danger {
  background: rgba(255, 85, 85, 0.12); color: #ff7b7b;
  border-color: rgba(255, 85, 85, 0.3);
}
.studio-btn.ghost { background: transparent; border-color: var(--border); color: var(--text-secondary); }
.studio-btn.ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.studio-btn.small { padding: 7px 13px; font-size: 12.5px; }
.studio-btn.full { width: 100%; }
.studio-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.studio-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.studio-field span { font-size: 12px; color: var(--text-secondary); font-weight: 500; }
.studio-field input,
.studio-field select,
.studio-field textarea,
.tracks-toolbar input,
.studio-artist-picker select {
  width: 100%;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border);
  color: #ffffff;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.studio-field select option,
.studio-artist-picker select option {
  background: #141416;
  color: #ffffff;
}
.studio-field input:focus,
.studio-field textarea:focus,
.studio-field select:focus,
.tracks-toolbar input:focus {
  border-color: rgba(255, 223, 0, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

/* Auth Screen */
.studio-auth-screen {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: var(--bg-black);
  overflow: hidden;
}
.auth-ambient {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 223, 0, 0.12), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(120, 80, 255, 0.1), transparent 45%);
}
.studio-auth-card {
  position: relative;
  width: 100%; max-width: 420px;
  background: rgba(20, 20, 22, 0.85);
  backdrop-filter: blur(26px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75);
}
.studio-brand-row { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.brand-logo-img {
  width: 46px; height: 46px; border-radius: 14px;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(255, 223, 0, 0.22);
}
.brand-logo-img.sm { width: 38px; height: 38px; border-radius: 11px; }
.studio-brand-row h1 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.brand-accent { color: var(--ym-yellow); }
.studio-brand-row p { margin: 2px 0 0; font-size: 13px; color: var(--text-secondary); }
.studio-error {
  background: rgba(255, 85, 85, 0.14);
  border: 1px solid rgba(255, 85, 85, 0.35);
  color: #ff9494; padding: 10px 12px; border-radius: 12px;
  font-size: 13px; margin-bottom: 14px;
}
.studio-unbound-box { text-align: center; padding-top: 6px; }
.studio-unbound-box p { color: var(--text-secondary); font-size: 13.5px; margin-bottom: 18px; }
.unbound-badge {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: rgba(255, 85, 85, 0.16); color: #ff8585;
  font-size: 12px; font-weight: 700; margin-bottom: 12px;
}

/* App Shell (Yandex Music / Main Site Style) */
.studio-app {
  display: grid;
  grid-template-columns: 256px 1fr;
  min-height: 100vh;
  background: var(--bg-black);
}
.studio-sidebar {
  background: linear-gradient(180deg, #09090d 0%, #050507 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.055);
  padding: 22px 16px;
  display: flex; flex-direction: column; gap: 20px;
  position: sticky; top: 0; height: 100vh;
}
.studio-brand { display: flex; align-items: center; gap: 11px; padding: 2px 8px; }
.brand-word { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.brand-sub { font-size: 11px; font-weight: 700; color: var(--ym-yellow); letter-spacing: 0.08em; text-transform: uppercase; }

.studio-artist-picker { padding: 0 4px; }
.picker-label { display: block; font-size: 11px; color: var(--text-muted); font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.studio-artist-picker select {
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.studio-nav { display: flex; flex-direction: column; gap: 4px; }
.studio-nav-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 11px 14px; border-radius: 12px; border: none;
  background: transparent; color: var(--text-secondary);
  font-size: 14px; font-weight: 600; cursor: pointer; text-align: left;
  transition: background 0.16s, color 0.16s;
}
.studio-nav-btn:hover { background: var(--surface-hover); color: #ffffff; }
.studio-nav-btn.active { background: rgba(255, 255, 255, 0.09); color: #ffffff; }
.studio-nav-btn.active svg { color: var(--ym-yellow); }
.nav-badge {
  margin-left: auto; background: var(--ym-yellow); color: #000;
  font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px;
}

.studio-sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.studio-user-pill {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.06);
}
.studio-user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #ffdf00, #ff9d00);
  color: #000; font-weight: 800; display: grid; place-items: center; flex-shrink: 0;
}
.studio-user-meta { min-width: 0; }
.studio-user-meta strong, .studio-user-meta small {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.studio-user-meta strong { font-size: 13.5px; }
.studio-user-meta small { color: var(--text-secondary); font-size: 11.5px; }

/* Main Content */
.studio-main {
  padding: 32px 36px;
  max-width: 1320px;
  width: 100%;
  background: radial-gradient(ellipse 75% 40% at 45% -5%, rgba(255, 223, 0, 0.07), transparent 70%);
}
.studio-tab { display: none; }
.studio-tab.active {
  display: block;
  animation: studioTabIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes studioTabIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes studioCardPop {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.kpi-card, .studio-card, .studio-track-row {
  animation: studioCardPop 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.kpi-card:nth-child(2) { animation-delay: 0.04s; }
.kpi-card:nth-child(3) { animation-delay: 0.08s; }
.kpi-card:nth-child(4) { animation-delay: 0.12s; }
.studio-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.studio-header h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.studio-sub { margin: 4px 0 0; font-size: 13.5px; color: var(--text-secondary); }

.period-pills, .filter-pills {
  display: inline-flex; gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px; border-radius: 999px; border: 1px solid var(--border);
}
.filter-pills { margin-bottom: 18px; flex-wrap: wrap; }
.period-btn, .filter-pill {
  border: none; background: transparent; color: var(--text-secondary);
  padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.period-btn:hover, .filter-pill:hover { color: #fff; }
.period-btn.active, .filter-pill.active { background: var(--ym-yellow); color: #000; }

/* KPI & Cards */
.kpi-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px; margin-bottom: 18px;
}
.kpi-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px; padding: 18px 20px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.kpi-card:hover { background: rgba(255, 255, 255, 0.055); transform: translateY(-1px); }
.kpi-card small { color: var(--text-secondary); font-size: 12px; font-weight: 500; display: block; }
.kpi-card strong { display: block; font-size: 30px; font-weight: 800; margin: 6px 0 3px; letter-spacing: -0.02em; }
.kpi-card span { font-size: 12px; color: var(--text-muted); }

.charts-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 16px; margin-bottom: 16px; }
.charts-grid.bottom { grid-template-columns: 1fr 1fr; }
.studio-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px; padding: 20px 22px;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.chart-legend { display: flex; gap: 14px; font-size: 12px; color: var(--text-secondary); }
.leg-item { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.plays { background: var(--ym-yellow); }
.dot.likes { background: var(--green); }
.dot.dislikes { background: var(--danger); }

.daily-chart-box svg { width: 100%; height: 220px; display: block; }
.donut-chart-box { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.donut-legend { flex: 1; min-width: 150px; display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; }
.donut-leg-row { display: flex; align-items: center; gap: 8px; }
.donut-leg-row span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-secondary); }

.top-tracks-bars { display: flex; flex-direction: column; gap: 13px; }
.bar-row { display: flex; flex-direction: column; gap: 6px; }
.bar-row-head { display: flex; justify-content: space-between; font-size: 13px; gap: 8px; }
.bar-track { height: 7px; background: rgba(255, 255, 255, 0.06); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--ym-yellow), #ff9d00); border-radius: 999px; }

/* Tracks List */
.tracks-toolbar { min-width: 260px; }
.studio-tracks-list { display: flex; flex-direction: column; gap: 8px; }
.studio-track-row {
  display: grid; grid-template-columns: 54px 1fr auto; gap: 14px; align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px; padding: 11px 14px;
  transition: background 0.15s ease;
}
.studio-track-row:hover { background: rgba(255, 255, 255, 0.06); }
.st-cover { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; background: #1e1e22; }
.st-info { min-width: 0; }
.st-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.st-title-row strong { font-size: 15px; font-weight: 700; }
.st-meta { font-size: 12px; color: var(--text-secondary); margin-top: 4px; display: flex; gap: 12px; flex-wrap: wrap; }
.badge { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,0.08); color: #fff; }
.badge.ok { background: rgba(56, 211, 153, 0.16); color: var(--green); }
.badge.warn { background: rgba(255, 223, 0, 0.16); color: var(--ym-yellow); }
.badge.err { background: rgba(255, 85, 85, 0.16); color: #ff8585; }
.badge.blue { background: rgba(96, 165, 250, 0.16); color: var(--blue); }

.st-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.st-vis-select {
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); color: #fff;
  padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; outline: none;
}
.st-vis-select option { background: #141416; color: #fff; }

/* Upload */
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cover-preview-box {
  height: 156px; border-radius: 14px; border: 1px dashed var(--border-strong);
  display: grid; place-items: center; color: var(--text-muted); font-size: 12.5px;
  margin-bottom: 14px; overflow: hidden; background: rgba(255, 255, 255, 0.025);
}
.cover-preview-box img { width: 100%; height: 100%; object-fit: cover; }
.upload-actions { margin-top: 8px; display: flex; justify-content: flex-end; }

/* Submissions */
.sub-list { display: flex; flex-direction: column; gap: 10px; }
.sub-item {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}
.sub-item small { color: var(--text-secondary); display: block; margin-top: 3px; }

/* Modal */
.studio-modal {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.studio-modal-card {
  width: 100%; max-width: 660px; max-height: 90vh; overflow-y: auto;
  background: #141416; border: 1px solid var(--border-strong);
  border-radius: 24px; padding: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  animation: studioModalIn 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes studioModalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Upload Zone & Attachments (Main Site Style) */
.upload-card-ym { display: flex; flex-direction: column; gap: 18px; }
.drop-zone {
  border: 1.5px dashed rgba(255, 223, 0, 0.35);
  background: rgba(255, 223, 0, 0.035);
  border-radius: 20px; padding: 32px 20px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  cursor: pointer; transition: background 0.18s, border-color 0.18s, transform 0.14s;
}
.drop-zone:hover, .drop-zone.dragover {
  background: rgba(255, 223, 0, 0.08);
  border-color: var(--ym-yellow);
  transform: translateY(-1px);
}
.drop-zone-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ym-yellow); color: #000;
  display: grid; place-items: center; margin-bottom: 4px;
}
.drop-zone strong { font-size: 16px; }
.drop-zone span { font-size: 12.5px; color: var(--text-secondary); }
.upload-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.upload-attach-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.attach-pill-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.attach-pill-btn:hover { background: rgba(255, 255, 255, 0.11); border-color: var(--border-strong); }
.upload-previews-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cover-preview-mini {
  width: 74px; height: 74px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
}
.cover-preview-mini img { width: 100%; height: 100%; object-fit: cover; }
.clip-ready-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 12px;
  background: rgba(255, 223, 0, 0.12); border: 1px solid rgba(255, 223, 0, 0.35);
  color: var(--ym-yellow); font-size: 13px; font-weight: 600;
}

/* Profile Card */
.profile-hero-row { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; }
.profile-avatar-preview {
  width: 88px; height: 88px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, #ffdf00, #ff9d00); color: #000;
  font-size: 32px; font-weight: 800; display: grid; place-items: center; flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
}
.profile-avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.studio-user-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Clip Trimmer (Identical to Main Site!) */
.trim-card { max-width: 560px; }
.clip-preview-stage {
  position: relative; width: 100%; height: 220px; border-radius: 16px;
  overflow: hidden; background: #000; margin-bottom: 14px;
}
.clip-preview-stage video { width: 100%; height: 100%; object-fit: cover; }
.clip-duration-pill {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0, 0, 0, 0.72); border: 1px solid rgba(255, 223, 0, 0.45);
  color: var(--ym-yellow); font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(8px);
}
.clip-timeline-wrap { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.clip-timeline {
  position: relative; width: 100%; height: 44px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.11) 50%, rgba(255,255,255,0.06) 100%);
  border: 1px solid rgba(255,255,255,0.12); overflow: hidden; user-select: none; touch-action: none;
}
.clip-timeline-dim { position: absolute; top: 0; bottom: 0; background: rgba(5,5,10,0.65); pointer-events: none; z-index: 1; }
.clip-timeline-dim.left { left: 0; }
.clip-timeline-dim.right { right: 0; }
.clip-timeline-range {
  position: absolute; top: 0; bottom: 0;
  border-top: 2.5px solid var(--ym-yellow); border-bottom: 2.5px solid var(--ym-yellow);
  background: rgba(255, 223, 0, 0.14); cursor: grab; z-index: 2; touch-action: none;
}
.clip-handle {
  position: absolute; top: 0; bottom: 0; width: 16px; background: var(--ym-yellow);
  border: none; padding: 0; cursor: ew-resize; display: grid; place-items: center; touch-action: none;
}
.clip-handle::after { content: ""; width: 3px; height: 16px; border-radius: 99px; background: rgba(0,0,0,0.55); }
.clip-handle.start { left: -1px; border-radius: 8px 0 0 8px; }
.clip-handle.end { right: -1px; border-radius: 0 8px 8px 0; }
.clip-timeline-playhead {
  position: absolute; top: 3px; bottom: 3px; width: 2.5px; border-radius: 2px;
  background: #fff; box-shadow: 0 0 8px rgba(255,255,255,0.85); pointer-events: none; z-index: 3; transform: translateX(-50%);
}
.clip-timeline-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-secondary); }
.clip-long-hint { font-size: 11px; font-weight: 600; color: var(--ym-yellow); background: rgba(255,223,0,0.12); padding: 2px 9px; border-radius: 999px; }
.trim-actions { display: flex; justify-content: flex-end; gap: 10px; }

@media (max-width: 720px) {
  .upload-meta-grid { grid-template-columns: 1fr; }
}
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.modal-head h3 { margin: 0; font-size: 20px; font-weight: 800; }
.modal-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.modal-tab {
  border: none; background: transparent; color: var(--text-secondary); padding: 7px 14px;
  border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.modal-tab.active { background: var(--ym-yellow); color: #000; }
.modal-pane { display: none; }
.modal-pane.active { display: block; }
.cover-edit-row { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.edit-cover-img { width: 100px; height: 100px; border-radius: 14px; object-fit: cover; background: #222; flex-shrink: 0; }

@media (max-width: 960px) {
  .studio-app { grid-template-columns: 1fr; }
  .studio-sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .studio-nav { flex-direction: row; flex-wrap: wrap; }
  .studio-nav-btn { width: auto; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .charts-grid, .charts-grid.bottom, .upload-grid { grid-template-columns: 1fr; }
  .studio-main { padding: 20px 16px; }
  .studio-track-row { grid-template-columns: 48px 1fr; }
  .st-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
