/**
 * Studio Graphique — liste des scènes (layout page only).
 * Boutons / glass-card via fs-config-shell.css
 */

body.fs-hub-page[data-fs-layout="studio"] .page-wrapper {
    max-width: 68rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 1.25rem 2rem;
}

.studio-list-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.studio-list-header__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.9), rgba(234, 88, 12, 0.85));
}

.studio-list-header__icon i {
    color: #fff;
    font-size: 1.25rem;
}

.studio-overlays-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .studio-overlays-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .studio-overlays-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .studio-overlays-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.studio-feature-card {
    padding: 0;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.studio-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.studio-overlay-preview {
    width: 100%;
    height: 160px;
    min-height: 160px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(234, 88, 12, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.studio-overlay-preview-placeholder {
    font-size: 2.5rem;
    color: rgba(249, 115, 22, 0.45);
}

.studio-overlay-preview-frame {
    position: absolute;
    inset: 0;
    border: 0;
    pointer-events: none;
    transform: scale(0.2);
    transform-origin: top left;
    width: 500%;
    height: 500%;
    background: transparent;
}

.studio-overlay-preview-fallback {
    position: relative;
    z-index: 1;
    pointer-events: none;
    opacity: 0.15;
}

.studio-overlay-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(249, 115, 22, 0.9);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.studio-new-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 12rem;
}

.studio-new-card__inner {
    text-align: center;
    width: 100%;
    padding: 2rem 1rem;
}

.studio-new-card__inner i {
    font-size: 2.75rem;
    color: rgba(251, 146, 60, 0.9);
    margin-bottom: 0.75rem;
}
