.v2-format-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    max-width: 760px;
}

.story-form-v2-page .btn-spinner,
.story-form-v3-creative-page .btn-spinner {
    width: 1.1em;
    height: 1.1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: btn-spin 0.8s linear infinite;
    display: inline-block;
    flex: 0 0 auto;
}

.story-form-v2-page .btn-loading,
.story-form-v3-creative-page .btn-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    pointer-events: none;
    opacity: 0.85;
}

@keyframes btn-spin {
    to {
        transform: rotate(360deg);
    }
}

.v2-format-grid form {
    width: 100%;
}

.v2-format-card {
    width: 100%;
}

.v2-format-preview {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 24px 20px;
    background: linear-gradient(135deg, #fdf8fb 0%, #f6eff4 100%);
    border-bottom: 1px solid #f0dde8;
}

.v2-format-ratio {
    font-family: 'Lilita One', cursive;
    font-size: 2.8rem;
    color: var(--primary, #BD3D75);
    line-height: 1;
}

.v2-format-copy {
    color: #5b5b66;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.5;
}

.v2-format-card .estilo-card-content {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.v2-format-card .estilo-card-title {
    margin-bottom: 10px;
}

.v2-format-card .estilo-card-desc {
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .v2-format-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .v2-format-preview {
        min-height: 160px;
    }
}

.v2-inline-error {
    max-width: 760px;
    margin: 0 auto 1.5rem;
}

.v2-inline-error-actions {
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.v2-inline-error-form {
    display: flex;
    justify-content: center;
}
