/* «Imagen a prompt» con el diseño de las herramientas (tribe.css): título con degradado, tarjetas y acento cálido. */
.dc [hidden] { display: none !important; }
.dc-hero { border: 0; background: none; box-shadow: none; padding: 24px 0 18px; }
.dc-eyebrow { margin: 0 0 10px; color: var(--hot, #ff5f8f); font-size: 12px; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; }
.dc-hero h1 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dc-lead { max-width: 64ch; margin: 14px 0 0; color: var(--text-soft); font-size: 1.02rem; line-height: 1.55; }
.dc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.dc-chips li { padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-2); color: var(--text-soft); font-size: 0.8rem; font-weight: 650; }

.dc-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.dc-card { display: grid; gap: 14px; padding: 22px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); }
.dc-card h2 { margin: 0; font-size: 1.35rem; }
.dc-card h3 { margin: 6px 0 0; font-size: 0.95rem; }
.dc-step { margin: 0; color: var(--hot, #ff5f8f); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

.dc-drop { position: relative; display: grid; justify-items: center; gap: 8px; padding: 34px 18px; border: 1.5px dashed color-mix(in srgb, var(--hot, #ff5f8f) 40%, var(--border)); border-radius: 18px; background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--hot, #ff5f8f) 10%, transparent), transparent 65%), var(--surface-2); text-align: center; cursor: pointer; }
.dc-drop.is-dragging, .dc-drop:hover { border-color: var(--hot, #ff5f8f); }
.dc-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dc-drop span:last-child { color: var(--muted); font-size: 0.8rem; }
.dc-drop__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; background: var(--grad-btn); }
.dc-drop__icon img { filter: brightness(0) invert(1); }
.dc-preview { position: relative; overflow: hidden; border-radius: 16px; background: repeating-conic-gradient(rgba(255, 255, 255, 0.05) 0 25%, transparent 0 50%) 0 0 / 20px 20px, #0b0a12; }
.dc-preview img { display: block; width: 100%; max-height: 380px; object-fit: contain; }
.dc-change { position: absolute; right: 10px; bottom: 10px; min-height: 34px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10px; background: rgba(13, 12, 21, 0.78); color: #fff; font: inherit; font-size: 0.75rem; font-weight: 700; cursor: pointer; }
.dc-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dc .field select, .dc .field input { min-height: 42px; }
.dc .button--primary { background: var(--grad-btn); border: 0; color: #fff; }
.dc .button--primary:hover:not(:disabled) { background: var(--grad-btn-hover); }
.dc-progress { display: grid; gap: 6px; font-size: 0.8rem; color: var(--text-soft); }
.dc-progress progress { width: 100%; height: 8px; accent-color: var(--hot, #ff5f8f); }
.dc-note { margin: 0; color: var(--muted); font-size: 0.75rem; line-height: 1.5; }

.dc-empty { display: grid; gap: 6px; padding: 40px 16px; border: 1px dashed var(--border-strong); border-radius: 16px; color: var(--muted); text-align: center; }
.dc-empty strong { color: var(--text); }
.dc-result { display: grid; gap: 12px; }
.dc-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.dc-tabs button { min-height: 36px; padding: 6px 12px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface-2); color: var(--text-soft); font: inherit; font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.dc-tabs button[aria-selected="true"] { border-color: var(--hot, #ff5f8f); background: color-mix(in srgb, var(--hot, #ff5f8f) 14%, var(--surface-2)); color: var(--text); }
.dc-prompt { padding: 16px; border: 1px solid color-mix(in srgb, var(--hot, #ff5f8f) 30%, var(--border)); border-radius: 16px; background: var(--surface-2); }
.dc-prompt p { margin: 0; font-family: ui-monospace, Consolas, monospace; font-size: 0.86rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.dc-negative { margin-top: 10px !important; color: var(--muted); }
.dc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-translation { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); color: var(--text-soft); font-size: 0.85rem; line-height: 1.55; }
.dc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dc-palette { display: flex; flex-wrap: wrap; gap: 6px; }
.dc-swatch { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-2); font-family: ui-monospace, Consolas, monospace; font-size: 0.72rem; color: var(--text-soft); }
.dc-swatch::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.dc-description summary { cursor: pointer; font-weight: 700; font-size: 0.85rem; }
.dc-description p { color: var(--text-soft); font-size: 0.85rem; line-height: 1.6; }

@media (max-width: 860px) {
  .dc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .dc-options, .dc-fields { grid-template-columns: 1fr; }
  .dc-card { padding: 16px; }
}
