.short-shell { padding-block: 30px 50px; }
.short-crumb { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); }
.short-crumb a { color: var(--accent); }
.short-intro {
  display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: 18px 0 28px;
  padding: 24px 30px; border: 1px solid var(--line); border-radius: 15px; overflow: hidden;
  background: radial-gradient(ellipse at 9% 85%, #0e699235, transparent 57%), var(--surface);
}
.short-intro h1 { margin: 0 0 7px; font: 700 clamp(25px, 3.1vw, 45px)/1.65 kufi, Arial; }
.short-intro p { margin: 0; color: var(--muted); }
.short-art { direction: ltr; display: flex; align-items: center; isolation: isolate; padding: 9px 15px; flex-shrink: 0; }
.short-art i {
  width: 46px; aspect-ratio: 9/16; border: 1px solid #5988ab; border-radius: 7px;
  background: linear-gradient(transparent 50%, #061124bd), url(/terrain.webp) center/auto 100%;
  box-shadow: 0 5px 16px #0005;
}
.short-art i:first-child { transform: rotate(-12deg) translateY(3px); background-position: 20%; }
.short-art i:nth-child(2) { z-index: 1; margin: 0 -3px; transform: translateY(-3px); border-color: #5de4ff; }
.short-art i:last-child { transform: rotate(12deg) translateY(3px); background-position: 80%; }
.short-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 18px; align-items: start; }
.short-box { min-width: 0; padding: 21px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.short-box h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; font-size: 20px; }
.short-box h2 svg { color: var(--accent); }
.short-drop { min-height: 255px; margin: 0; }
.short-drop p { margin: 0; }
.short-drag { border-color: var(--accent); background: #45d8ff12; }
.short-source { background: #050a12; border-radius: 9px; overflow: hidden; text-align: center; }
.short-source video, .short-source img { max-width: 100%; max-height: 335px; display: block; margin: auto; }
.short-source p { padding: 22px 12px; color: #e0e7ef; }
.short-source-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.short-source-meta b { overflow-wrap: anywhere; }
.short-source-meta .btn { flex-shrink: 0; }
.short-duration {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  margin-top: 12px; padding-block: 9px; border-block: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.short-duration bdi { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.short-facts { color: var(--muted); margin-top: 8px; font-size: 14px; }
.short-facts:has(bdi:empty) { display: none; }
.short-options { display: grid; gap: 14px; }
.short-options fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.short-options fieldset:disabled, .short-run:disabled { opacity: .6; }
.short-options .short-group { margin-top: 18px; }
.short-options .short-group:disabled { opacity: 1; }
.short-options legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
.short-presets { display: flex; gap: 6px; flex-wrap: wrap; }
.short-presets button {
  min-height: 44px; padding: 4px 11px; border: 1px solid var(--line); border-radius: 6px;
  color: var(--muted); font-size: 14px;
}
.short-presets button[aria-pressed=true] { color: var(--accent); background: #45d8ff12; border-color: var(--accent); }
.short-input, .short-field, .short-omit { margin-top: 12px; font-size: 14px; }
.short-input { display: flex; align-items: center; gap: 9px; }
.short-input input { width: 88px; min-height: 44px; padding: 5px 7px; font-size: 16px; }
.short-field { display: grid; gap: 5px; }
.short-framing { display: flex; gap: 12px; align-items: start; }
.short-choices { display: grid; gap: 6px; flex: 1; min-width: 0; }
.short-choices label {
  display: flex; align-items: center; gap: 9px; min-height: 44px;
  padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; cursor: pointer;
}
.short-choices label:has(input:checked) { border-color: var(--accent); background: #45d8ff12; }
.short-choices label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.short-choices input { flex-shrink: 0; accent-color: var(--accent); }
.short-choices small { display: block; color: var(--muted); font-size: 13px; }
.short-frame-preview { width: clamp(60px, 13vw, 102px); flex-shrink: 0; margin: 0; text-align: center; }
.short-frame-preview div {
  position: relative; width: 100%; aspect-ratio: 9/16;
  overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #050a12;
}
.short-frame-preview img { position: absolute; inset: 0; width: 100%; height: 100%; }
.short-frame-preview img:first-child { display: none; object-fit: cover; filter: blur(5px); transform: scale(1.16); }
.short-frame-preview img:last-child { object-fit: cover; object-position: var(--crop-center, 50%) 50%; }
.short-frame-preview[data-mode=blur] img:first-child { display: block; }
.short-frame-preview[data-mode=blur] img:last-child { object-fit: contain; object-position: center; }
.short-frame-preview figcaption { margin-top: 5px; font-size: 13px; color: var(--muted); }
.short-options input[type=range] { accent-color: var(--accent); width: 100%; direction: ltr; margin: 0; }
.short-options input[type=checkbox] { accent-color: #42c6e2; flex-shrink: 0; }
.short-summary {
  margin-block: 12px 14px; padding: 8px 12px; border-radius: 8px;
  border-inline-start: 3px solid var(--accent); background: #45d8ff12;
}
.short-summary p { margin: 0; color: var(--accent); font-weight: 700; }
.short-summary:has(p:empty) { display: none; }
.short-run { width: 100%; }
.short-progress {
  margin-top: 18px; padding: 12px 18px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--surface);
}
.short-stages { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 9px; list-style: none; }
.short-stages li {
  padding: 4px 9px; border: 1px solid var(--line); border-radius: 6px;
  color: var(--muted); font-size: 14px;
}
.short-stages li[aria-current=step] { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.short-stages li[data-complete]::before { content: '✓'; margin-inline-end: 5px; color: var(--accent); }
.short-progress div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.short-progress p { margin: 0; }
.short-progress p:empty { display: none; }
.short-progress bdi { color: var(--accent); font-variant-numeric: tabular-nums; }
.short-progress [role=alert] { border-inline-start: 3px solid var(--accent); padding-inline-start: 10px; }
.short-results, .short-faq { margin-top: 20px; }
.short-faq details:last-child { margin-bottom: 0; }
.short-faq details summary { font-size: 16px; }
#zipbox { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
#zipbox bdi { color: var(--muted); font-size: 14px; }
.short-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 154px), 1fr)); gap: 12px; margin-top: 14px; }
.short-list article { padding: 10px; border: 1px solid var(--line); border-radius: 9px; min-width: 0; }
.short-list video { width: 100%; height: 218px; background: #03060a; border-radius: 5px; display: block; }
.short-list a { display: block; color: var(--accent); margin-top: 6px; overflow-wrap: anywhere; }
.short-list small { display: inline-block; color: var(--muted); }

@media (max-width: 820px) {
  .short-grid { grid-template-columns: 1fr; }
  .short-drop { min-height: 165px; }
  .short-intro { padding: 17px; }
  .short-box { padding: 16px; }
}
@media (max-width: 520px) {
  .short-art { padding: 5px; }
  .short-art i { width: 28px; }
  .short-intro { gap: 8px; }
  .short-intro h1 { font-size: 24px; }
  .short-intro p { font-size: 15px; }
}
@media (max-width: 365px) {
  .short-art { display: none; }
}
.short-overlays { margin-block: 16px 0; }
.short-overlays .short-field { margin-bottom: 5px; }
.short-list .textlink { display: block; margin-block-start: 8px; font-size: 14px; text-align: start; }
.short-field input[type=file] { max-width: 100%; }
