.studio { background: var(--surface); padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 8vw, 112px); min-height: 70vh; }
.studio__back { margin-left: auto; min-height: 44px; }
.studio__intro { display: grid; gap: 16px; margin-bottom: clamp(28px, 4vw, 44px); }
.studio__kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--red-deep); font-weight: 500; }
.studio__kicker::before { content: ""; width: 32px; height: 2px; background: var(--red); }
.studio h1 { font-size: var(--step-3); max-width: 18ch; letter-spacing: -0.025em; text-wrap: balance; }
.studio__lead { color: var(--ink-2); font-size: var(--step-1); line-height: 1.55; max-width: 42em; }
.studio__facts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.studio__facts li { padding: 14px 20px 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.studio__facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.studio__facts strong { display: block; color: var(--ink); font-weight: 500; }

.drop { display: grid; justify-items: center; gap: 6px; padding: clamp(32px, 5vw, 56px) 20px; text-align: center; background: var(--paper); border: 2px dashed var(--line-strong); border-radius: var(--radius-l); cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.drop:hover, .drop[data-over] { border-color: var(--red); background: color-mix(in srgb, var(--red-wash) 55%, var(--paper)); }
.drop:focus-within { outline: 3px solid color-mix(in srgb, var(--red) 55%, transparent); outline-offset: 3px; }
.drop__icon { width: 44px; height: 44px; color: var(--red); margin-bottom: 6px; }
.drop__title { font-size: var(--step-2); font-weight: 500; line-height: 1.15; }
.drop__or { color: var(--muted); }
.drop__pick { color: var(--red-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 0.2em; }
.drop__hint { color: var(--muted); font-size: 0.86rem; margin-top: 6px; }
.studio__notice { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-m); background: var(--red-wash); color: var(--red-deep); font-weight: 500; }

.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 28px 0 18px; }
.bar__status { font-weight: 500; font-variant-numeric: tabular-nums; }
.bar__status small { font-weight: 400; color: var(--muted); margin-left: 8px; }
.bar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bar__actions .btn { min-height: 44px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 22px; }
.shot { display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; animation: shot-in 0.3s var(--ease) both; }
@keyframes shot-in { from { opacity: 0; transform: translateY(8px); } }
.shot__media { position: relative; aspect-ratio: 4 / 3; background: var(--surface); border-bottom: 1px solid var(--line); }
.shot__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.shot__after { background: #fff; }
.shot[data-state="waiting"] .shot__before, .shot[data-state="error"] .shot__before { opacity: 0.5; }
.shot[data-state="working"] .shot__before { filter: saturate(0.4) brightness(1.05); opacity: 0.75; }
.shot__media[data-show="before"] .shot__after { visibility: hidden; }
.shot__overlay { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--ink); font-weight: 500; text-align: center; padding: 16px; }
.shot__overlay span { padding: 6px 14px; border-radius: 18px; font-size: 0.95rem; background: color-mix(in srgb, var(--paper) 88%, transparent); }
.spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--red) 22%, transparent); border-top-color: var(--red); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.shot__toggle { position: absolute; left: 12px; bottom: 12px; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 0; background: color-mix(in srgb, var(--ink) 82%, transparent); color: #fff; font: 500 0.82rem/1 var(--font); cursor: pointer; }
.shot__toggle:hover { background: var(--ink); }
.shot__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 14px 16px 16px; }
.shot__name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot__meta { grid-column: 1; font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.shot[data-state="error"] .shot__meta { color: var(--red-deep); font-weight: 500; }
.shot__action { grid-column: 2; grid-row: 1 / span 2; min-height: 42px; padding: 0 16px; font-size: 0.92rem; }

.foot--studio { padding: 32px 0 40px; }
.foot--studio .foot__bottom { margin-top: 0; padding-top: 0; border-top: 0; }

@media (max-width: 720px) {
  .studio__facts { grid-template-columns: 1fr; }
  .studio__facts li, .studio__facts li + li { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .bar__actions, .bar__actions .btn { flex: 1 1 auto; }
}
@media (max-width: 560px) { .studio__back { padding: 0 16px; } }
