.sd-tool { display: flex; flex-direction: column; gap: 18px; }
.sd-step-label { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.sd-badge { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 999px; background: rgba(124, 92, 255, 0.22); color: var(--accent-2); font-size: 12px; font-weight: 700; }
.sd-drop { position: relative; border: 1.5px dashed rgba(34, 211, 238, 0.4); border-radius: 12px; background: rgba(11, 15, 26, 0.65); padding: 20px 16px; text-align: center; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.sd-drop:hover, .sd-drop.is-drag { border-color: var(--accent-2); background: rgba(34, 211, 238, 0.08); }
.sd-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.sd-drop-title { font-weight: 600; font-size: 15px; color: var(--text); margin: 0 0 4px; }
.sd-drop-hint { font-size: 13px; color: var(--muted); margin: 0; }
.sd-preview { display: flex; align-items: center; gap: 14px; text-align: left; }
.sd-preview img { width: 64px; height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); flex-shrink: 0; }
.sd-preview-info { flex: 1; min-width: 0; }
.sd-preview-name { font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0 0 4px; }
.sd-clear-btn { position: relative; z-index: 2; background: transparent; border: 1px solid var(--border); color: var(--muted); border-radius: 8px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.sd-clear-btn:hover { color: var(--text); border-color: var(--accent-2); }
.sd-styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sd-style-btn { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; text-align: left; color: var(--text); cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.sd-style-btn strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.sd-style-btn span { display: block; font-size: 12px; color: var(--muted); }
.sd-style-btn.is-active { border-color: var(--accent); background: rgba(124, 92, 255, 0.16); }
.sd-cta-wrap { display: flex; flex-direction: column; gap: 8px; }
.sd-cta-note { font-size: 13px; color: var(--muted); margin: 0; text-align: center; }
.sd-status { padding: 12px 14px; border-radius: 10px; font-size: 14px; background: rgba(11, 15, 26, 0.8); border: 1px solid var(--border); color: var(--text); }
.sd-status.is-error { border-color: rgba(248, 113, 113, 0.45); color: #fecaca; }
.sd-status.is-info { border-color: rgba(34, 211, 238, 0.45); color: var(--text); }
.sd-result { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.sd-result video { width: 100%; max-height: 480px; border-radius: 12px; background: #000000; }
@media (max-width: 640px) { .sd-styles { grid-template-columns: 1fr; } }