.stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.stage-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  min-height: 0;
  position: relative;
}
@media (max-width: 640px) { .stage-inner { padding: 12px; } }

.canvas-wrap {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
}

canvas#view {
  display: block;
  background: #000;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  max-width: 100%;
  max-height: calc(100dvh - 240px);
  touch-action: none;
  cursor: crosshair;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 980px) {
  canvas#view {
    max-height: calc(50dvh - 32px);
  }
}

.overlay-hint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 12px;
}
.badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 5px 10px;
  background: rgba(0,0,0,.65);
  border: 1px solid var(--line-2);
  color: var(--accent);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}

.drop {
  position: absolute;
  inset: 18px;
  border: 2px dashed var(--line-2);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--ink-dim);
  text-align: center;
  padding: 32px;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(255,111,168,0.08), transparent 70%),
    radial-gradient(50% 50% at 100% 100%, rgba(167,139,250,0.06), transparent 70%),
    var(--panel);
  box-shadow: var(--shadow);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
  overflow: auto;
}
@media (max-width: 640px) {
  .drop { inset: 12px; padding: 24px 18px; gap: 14px; border-radius: var(--radius-lg); }
}
.drop.dragover {
  border-color: var(--accent);
  border-style: solid;
  color: var(--ink);
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(255,111,168,0.15), transparent 70%),
    var(--panel);
  transform: scale(1.005);
}

.drop-mark {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel-2);
  border: 2px solid var(--line-2);
  border-radius: var(--radius-xl);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}
.drop-mark img {
  width: 100%; height: 100%;
  border-radius: 16px;
  object-fit: cover;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .drop-mark { animation: none; }
}
@media (max-width: 640px) {
  .drop-mark {
    width: 86px; height: 86px;
    border-radius: 20px;
  }
  .drop-mark img { border-radius: 14px; }
}

.drop h1 {
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--ink);
  max-width: 680px;
  line-height: 1.4;
}
.drop h1 .ac {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.drop p {
  max-width: 540px;
  color: var(--ink-dim);
  font-size: clamp(13px, 2.6vw, 15px);
  font-weight: 600;
  line-height: 1.7;
}

.drop .ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 440px;
}
.drop .ctas .btn {
  flex: 1 1 auto;
  min-width: 150px;
  justify-content: center;
}

.drop .stamp {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-mute);
  letter-spacing: .02em;
}
@media (max-width: 640px) { .drop .stamp { display: none; } }

.drop ul.formats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  max-width: 540px;
}
.drop ul.formats li {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ink-dim);
}

@media (max-width: 640px) {
  .drop ul.formats { gap: 6px; font-size: 10.5px; }
  .drop ul.formats li { padding: 4px 9px; }
}

.video-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: var(--panel);
  min-height: 48px;
}
.video-controls input[type=range] { flex: 1; }
.video-controls .time {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  min-width: 120px;
  text-align: right;
  background: rgba(255,111,168,.08);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}
@media (max-width: 640px) {
  .video-controls { padding: 9px 12px; gap: 8px; }
  .video-controls .time { min-width: 92px; font-size: 10.5px; }
}
