/* public/layout-create.css -- "Crear una canción" simple: pasos con botones de colores (solo celular + skin Video; ver layout-create.js) */
.cc-wrap { display: none; }
html[data-layout="video"].is-big .cc-wrap { display: grid; gap: 16px; margin: 8px 0 14px; }
/* los selectores de siempre se esconden (siguen ahi y los botones los usan); "Más estilos" los muestra */
html[data-layout="video"].is-big .form-panel:not(.cc-all) .style-length { display: none; }
.cc-step[hidden] { display: none; }
.cc-step h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 800; }
.cc-step h3 b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 0.95rem; background: rgba(255, 255, 255, 0.14); transition: background 0.25s ease; }
.cc-step h3 b::before { content: attr(data-n); }
.cc-step.is-done h3 b { background: #2fbf71; color: #07210f; }
.cc-step.is-done h3 b::before { content: '✓'; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-chip { min-height: 46px; padding: 8px 16px; border-radius: 999px; font-size: 0.95rem; font-weight: 800; background: rgba(255, 255, 255, 0.08); color: var(--text, #fff); border: 1.5px solid rgba(255, 255, 255, 0.2); box-shadow: none; transition: transform 0.12s ease, background 0.2s ease; }
.cc-chip:active { transform: scale(0.95); }
.cc-chip.is-on { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07070c; border-color: transparent; box-shadow: 0 6px 18px rgb(var(--accent-rgb) / 40%); }
.cc-styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cc-style { position: relative; display: grid; place-items: center; align-content: center; gap: 4px; min-height: 84px; padding: 8px 4px; border-radius: 20px; border: 2px solid transparent; color: #fff; font-weight: 800; font-size: 0.82rem; line-height: 1.15; text-align: center;
  background: linear-gradient(145deg, var(--c1), var(--c2)); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); opacity: 0.78; transition: transform 0.12s ease, opacity 0.2s ease, box-shadow 0.2s ease; }
.cc-style i { font-style: normal; font-size: 1.6rem; }
.cc-style:active { transform: scale(0.94); }
.cc-style.is-on { opacity: 1; border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25), 0 10px 26px rgba(0, 0, 0, 0.4); transform: translateY(-2px); }
.cc-style.is-on::after { content: '✓'; position: absolute; top: 6px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #111; font-size: 0.75rem; display: grid; place-items: center; }
.cc-more { justify-self: center; margin-top: 10px; min-height: 42px; padding: 6px 16px; border-radius: 999px; font-size: 0.88rem; font-weight: 700; background: transparent; color: var(--text, #fff); border: 1.5px dashed rgba(255, 255, 255, 0.3); box-shadow: none; }
.cc-step[data-k="style"] { display: grid; }
.cc-pop { animation: ccPop 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.4); }
@keyframes ccPop { 0% { transform: scale(0.9); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .cc-pop { animation: none; } }

/* los botones de estilo de siempre se reemplazan por las tarjetas de colores; la fila "Cómo suena la voz" se queda */
html[data-layout="video"].is-big .sc-wrap > .sc-title:first-child,
html[data-layout="video"].is-big .sc-wrap > .sc-row:nth-child(2) { display: none; }

.cc-cta { display: none; }
html[data-layout="video"].is-big .cc-cta { display: grid; gap: 10px; margin: 14px 0 6px; }
html[data-layout="video"].is-big .cc-cta .idea-create-btn { width: 100%; min-height: 64px; font-size: 1.1rem; }

/* duración a tu medida (chip "Otro" + minutos : segundos) */
html[data-layout="video"].is-big .cc-custom { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1.5px dashed rgba(255, 255, 255, 0.22); }
html[data-layout="video"].is-big .cc-custom[hidden] { display: none; }
.cc-custom b { font-size: 1.4rem; opacity: 0.8; }
.cc-cm { display: flex; align-items: center; gap: 6px; margin: 0; }
.cc-cm input { width: 64px; min-height: 48px; text-align: center; font-size: 1.25rem; font-weight: 800; padding: 6px; }
.cc-cm span { font-size: 0.85rem; opacity: 0.75; }
.cc-ok { min-height: 48px; padding: 8px 20px; border-radius: 999px; font-weight: 800; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07070c; border: 0; margin-left: auto; }
.cc-chint { flex-basis: 100%; margin: 0; font-size: 0.85rem; opacity: 0.85; }
.cc-chint:empty { display: none; }

/* Chip "Tu letra": en el paso de la idea solo se ven la letra y su guía (no el título ni los demás ajustes) */
html.sl-on.sl-idea.cc-lyr-open #moreOpts > :not(label):not(#lyricsGuide) { display: none !important; }
html.sl-on.sl-idea.cc-lyr-open #moreOpts > label:not(:has(#lyrics)) { display: none !important; }
html.sl-on.sl-idea.cc-lyr-open #moreOpts #lyrics { min-height: 200px; }
