/* public/layout-songs.css -- botones grandes de "Mis canciones y Estudio" (solo celular + skin Video; ver layout-songs.js) */
.sg-wrap { display: none; }
html[data-layout="video"].is-big .sg-wrap { display: grid; gap: 12px; margin: 4px 0 16px; }
/* los controles de siempre se esconden (siguen en la pagina y los botones grandes los usan); "Mas" los muestra */
html[data-layout="video"].is-big:not(.sg-more) .tab-page[data-tab-page="estudio"] .transport,
html[data-layout="video"].is-big:not(.sg-more) #publishToCommunityPanel,
html[data-layout="video"].is-big:not(.sg-more) #extendBox { display: none !important; }
.sg-song { display: grid; gap: 2px; text-align: center; }
.sg-title { font-size: 1.35rem; font-weight: 800; }
.sg-sub { font-size: 0.85rem; opacity: 0.7; }
.sg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sg-tile { position: relative; overflow: hidden; display: grid; place-items: center; align-content: center; gap: 6px; aspect-ratio: 1 / 1; min-height: 0; padding: 8px; border-radius: 22px; border: 0;
  background: linear-gradient(145deg, var(--c1), var(--c2)); color: #fff; box-shadow: 0 10px 24px -10px var(--c2); transition: transform 0.12s ease, filter 0.2s ease, opacity 0.2s ease; }
.sg-tile:active { transform: scale(0.94); }
.sg-ico { font-style: normal; font-size: 2.1rem; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35)); }
.sg-lab { font-size: 0.95rem; font-weight: 800; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }
.sg-tile.is-off { filter: grayscale(0.85) brightness(0.8); opacity: 0.55; }
.sg-tile.is-active, .sg-tile.is-open { outline: 3px solid rgba(255, 255, 255, 0.85); outline-offset: 2px; }
.sg-ripple { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); pointer-events: none; animation: sgRip 0.6s ease-out forwards; }
@keyframes sgRip { to { transform: scale(14); opacity: 0; } }
.sg-shake { animation: sgShake 0.4s; }
@keyframes sgShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.sg-pop { padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.07); border: 1.5px solid rgba(255, 255, 255, 0.16); display: grid; gap: 10px; animation: sgPop 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2); }
.sg-pop[hidden] { display: none; }
@keyframes sgPop { from { opacity: 0; transform: translateY(-10px) scale(0.96); } to { opacity: 1; transform: none; } }
.sg-pop-t { margin: 0; font-weight: 800; text-align: center; }
.sg-chips { display: flex; gap: 8px; }
.sg-chip { flex: 1; min-height: 46px; padding: 6px 8px; border-radius: 999px; 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; }
.sg-chip.is-on { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07070c; border-color: transparent; }
.sg-go { min-height: 54px; border-radius: 999px; font-size: 1.05rem; font-weight: 800; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07070c; border: 0; box-shadow: 0 10px 26px rgb(var(--accent-rgb) / 40%); }
.sg-toast { margin: 0; padding: 10px 14px; border-radius: 14px; text-align: center; font-weight: 700; font-size: 0.92rem; background: rgb(var(--accent-rgb) / 16%); border: 1px solid rgb(var(--accent-rgb) / 35%); }
.sg-toast[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .sg-pop, .sg-shake, .sg-ripple { animation: none; } }

.sg-pick { justify-self: center; margin-top: 6px; min-height: 44px; padding: 8px 18px; border-radius: 999px; font-size: 0.95rem; font-weight: 800; background: rgba(255, 255, 255, 0.1); color: var(--text, #fff); border: 1.5px solid rgba(255, 255, 255, 0.2); box-shadow: none; }
.sg-pick.is-need { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07070c; border-color: transparent; animation: sgPulse 1.8s ease-in-out infinite; }
@keyframes sgPulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / 45%); } 50% { box-shadow: 0 0 0 10px rgb(var(--accent-rgb) / 0%); } }
#historyCards.sg-flash { animation: sgFlash 1.1s ease-out; border-radius: 16px; }
@keyframes sgFlash { 0% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: 0 0 0 3px transparent; } }
html[data-layout="video"].is-big .sg-grid > .sg-tile:last-child:nth-child(3n + 1) { grid-column: 1 / -1; aspect-ratio: auto; min-height: 56px; grid-auto-flow: column; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .sg-pick.is-need, #historyCards.sg-flash { animation: none; } }
html[data-layout="video"].is-big .sg-title { font-size: 1.15rem; line-height: 1.2; overflow-wrap: anywhere; }
html[data-layout="video"].is-big .song-card-title { font-size: 0.92rem; line-height: 1.2; }

.sg-flash { animation: sgFlash 1.1s ease-out; border-radius: 12px; }
