:root {
    --fv-primary: #7657ff;
    --fv-primary-dark: #5437df;
    --fv-accent: #14d8b4;
    --fv-ink: #141827;
    --fv-surface: #f5f6fa;
    --fv-sidebar: #17182a;
}

body { color: var(--fv-ink); }
.content-wrapper { background: var(--fv-surface); }
.fv-navbar { background: linear-gradient(90deg, #191a2d 0%, #222341 100%); }
.fv-sidebar { background: var(--fv-sidebar); }
.fv-brand { border-bottom-color: rgba(255,255,255,.08) !important; }
.brand-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #fff;
    background: linear-gradient(135deg, var(--fv-primary), #a04bff);
    border-radius: 9px;
    box-shadow: 0 6px 18px rgba(118,87,255,.35);
}
.nav-sidebar .fv-create-link { background: rgba(118,87,255,.18); color: #fff; }
.nav-sidebar .fv-create-link:hover { background: var(--fv-primary); }
.fv-credit-pill {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    padding: .36rem .8rem;
    color: #fff !important;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
}
.fv-btn-primary, .btn-primary {
    border-color: var(--fv-primary);
    background: var(--fv-primary);
}
.fv-btn-primary:hover, .btn-primary:hover {
    border-color: var(--fv-primary-dark);
    background: var(--fv-primary-dark);
}
.card { border: 0; border-radius: 14px; box-shadow: 0 8px 30px rgba(28,32,54,.07); }
.card-header { border-bottom-color: #edf0f5; background: transparent; }
.card-header .card-title { line-height: 1.3; }
.card-header > .card-title { float: none; margin-bottom: 0; }
.form-group > label { margin-bottom: .45rem; line-height: 1.35; }
.form-group > .form-text, .form-group > small.text-muted { display: block; margin-top: .42rem; line-height: 1.45; }
.modal-header > div > .modal-title + .small { display: block; margin-top: .3rem; line-height: 1.4; }
.fv-feature-header { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: 1.05rem 1.2rem; }
.fv-card-heading { min-width: 0; }
.fv-card-heading .card-title { float: none; margin: 0 0 .35rem; line-height: 1.25; }
.fv-card-heading .small { display: block; max-width: 720px; line-height: 1.45; }
.fv-feature-header-action { flex: 0 0 auto; margin-left: auto; }
.fv-stat-card .card-body { padding: 1.1rem 1.2rem; }
.fv-stat-card small { display: block; margin-bottom: .38rem; line-height: 1.3; }
.fv-stat-card .h4 { line-height: 1.15; }
.fv-landing-body { min-height: 100vh; background: #10111d; color: #fff; }
.fv-landing-nav { z-index: 1030; min-height: 72px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(16,17,29,.92); backdrop-filter: blur(14px); }
.fv-public-menu { gap: .35rem; }
.fv-public-menu .nav-link { padding: .55rem .8rem !important; color: #bfc3d8 !important; border-radius: 8px; font-weight: 600; transition: .16s ease; }
.fv-public-menu .nav-link:hover, .fv-public-menu .nav-link.active { color: #fff !important; background: rgba(255,255,255,.08); }
.fv-public-actions { display: flex; gap: .35rem; align-items: center; }
.fv-language-menu .dropdown-toggle { min-width: 58px; text-decoration: none; }
.fv-hero {
    position: relative;
    overflow: hidden;
    padding: 7rem 0 6rem;
    background:
        radial-gradient(circle at 78% 20%, rgba(118,87,255,.34), transparent 34%),
        radial-gradient(circle at 12% 72%, rgba(20,216,180,.16), transparent 32%),
        #10111d;
}
.fv-hero h1 { max-width: 850px; font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 800; line-height: .98; }
.fv-hero .lead { max-width: 720px; color: #c5c8dc; font-size: 1.25rem; }
.fv-hero-actions { gap: .8rem; }
.fv-prompt-demo { max-width: 760px; padding: 1rem; background: #fff; color: #222; border-radius: 18px; box-shadow: 0 28px 80px rgba(0,0,0,.38); }
.fv-type-chip { display: inline-block; margin: .25rem; padding: .4rem .75rem; color: #cdd0e6; border: 1px solid #353750; border-radius: 999px; }
.fv-landing-footer { padding: 1.4rem 0 1.15rem; color: #9ca0b7; border-top: 1px solid rgba(255,255,255,.06); background: #0b0c15; }
.fv-landing-footer-inner { display: flex; flex-direction: column; align-items: center; }
.fv-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem 1.25rem; width: 100%; padding-bottom: 1rem; }
.fv-footer-links a { color: #c8cbe0; font-size: .86rem; font-weight: 500; transition: color .15s ease; }
.fv-footer-links a:hover { color: #fff; text-decoration: none; }
.fv-footer-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .45rem; width: 100%; padding-top: .85rem; color: #73778c; border-top: 1px solid rgba(255,255,255,.065); font-size: .72rem; line-height: 1.5; text-align: center; }
.fv-footer-meta a { color: #8f93aa; font-weight: 500; }
.fv-footer-meta a:hover { color: #c8cbe0; text-decoration: none; }
.fv-public-main { min-height: calc(100vh - 150px); }
.fv-public-hero { padding: 5.5rem 0 4.5rem; background: radial-gradient(circle at 50% 0%, rgba(118,87,255,.28), transparent 42%), #10111d; }
.fv-public-hero h1 { max-width: 850px; margin: 1rem auto 1.25rem; font-size: clamp(2.35rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.03; }
.fv-public-hero p { max-width: 730px; margin: 0 auto; color: #c5c8dc; font-size: 1.18rem; line-height: 1.7; }
.fv-eyebrow { display: inline-block; color: #aa95ff; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fv-public-section { padding: 5rem 0; }
.fv-public-section-dark { color: #fff; background: #141625; }
.fv-public-heading { max-width: 640px; margin-top: .75rem; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; line-height: 1.08; }
.fv-step-card { position: relative; padding: 2rem; border: 1px solid #e5e7ef; border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgba(28,32,54,.07); }
.fv-step-card h2 { margin: 1.35rem 0 .75rem; font-size: 1.35rem; font-weight: 800; }
.fv-step-card p { margin: 0; color: #6c7282; line-height: 1.65; }
.fv-step-number { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; color: #fff; border-radius: 14px; background: linear-gradient(135deg, var(--fv-primary), #a04bff); box-shadow: 0 8px 22px rgba(118,87,255,.28); font-size: 1.1rem; font-weight: 800; }
.fv-feature-tile { display: flex; gap: 1rem; align-items: center; min-height: 74px; padding: 1rem 1.15rem; color: #dce0f2; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(255,255,255,.045); line-height: 1.45; }
.fv-feature-tile i { width: 24px; color: #a98fff; text-align: center; font-size: 1.2rem; }
.fv-public-cta { padding: 4.5rem 0; color: #fff; background: radial-gradient(circle at center, rgba(118,87,255,.25), transparent 45%), #0f101b; }
.fv-public-cta h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; }
.fv-public-cta p { margin: .85rem 0 1.5rem; color: #bfc3d8; font-size: 1.1rem; }
.fv-price-card { display: flex; flex-direction: column; padding: 2rem; border: 1px solid #e2e5ee; border-radius: 18px; background: #fff; box-shadow: 0 12px 36px rgba(28,32,54,.07); }
.fv-price-card-featured { border: 2px solid var(--fv-primary); box-shadow: 0 16px 42px rgba(118,87,255,.16); }
.fv-price-card > .badge { align-self: flex-start; margin-bottom: 1.25rem; }
.fv-price-card h2 { margin-bottom: .6rem; font-weight: 800; }
.fv-price-amount { margin-bottom: .5rem; font-size: 2.9rem; font-weight: 800; line-height: 1; }
.fv-price-pending { min-height: 46px; margin-bottom: .5rem; color: #4d5262; font-size: 1.35rem; font-weight: 700; }
.fv-check-list { flex: 1; margin: 1rem 0 1.5rem; padding: 0; list-style: none; }
.fv-check-list li { position: relative; margin-bottom: .8rem; padding-left: 1.65rem; color: #565c6d; line-height: 1.45; }
.fv-check-list li::before { position: absolute; left: 0; color: #19a987; content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.fv-faq-list { max-width: 850px; }
.fv-faq-item { margin-bottom: .85rem; overflow: hidden; border: 1px solid #e2e5ee; border-radius: 13px; background: #fff; box-shadow: 0 8px 24px rgba(28,32,54,.05); }
.fv-faq-item button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 1.2rem 1.35rem; color: var(--fv-ink); border: 0; background: transparent; text-align: left; font-size: 1.05rem; font-weight: 750; }
.fv-faq-item button:focus { outline: 2px solid rgba(118,87,255,.3); outline-offset: -2px; }
.fv-faq-item button i { margin-left: 1rem; color: var(--fv-primary); transition: transform .18s ease; }
.fv-faq-item button[aria-expanded="true"] i { transform: rotate(180deg); }
.fv-faq-item p { margin: 0; padding: 0 1.35rem 1.25rem; color: #686e7e; line-height: 1.65; }
.fv-account-body { min-height: 100vh; background: radial-gradient(circle at top, #27294b, #10111d 55%); }
.fv-account-language { position: fixed; top: 1rem; right: 1rem; z-index: 10; }
.fv-account-shell { width: min(440px, calc(100% - 2rem)); }
.fv-account-brand { display: block; margin-bottom: 1.2rem; color: #fff; text-align: center; font-size: 1.5rem; font-weight: 800; }
.fv-account-brand:hover { color: #fff; }
.fv-account-card { overflow: hidden; border-radius: 18px; }
.fv-account-footer { margin-top: 1rem; color: #a9adc3; text-align: center; }
.fv-account-footer a { color: #dfe1ee; font-weight: 500; }
.fv-account-footer a:hover { color: #fff; text-decoration: none; }
.fv-account-footer-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem .55rem; margin-top: .65rem; padding-top: .6rem; color: #7f849c; border-top: 1px solid rgba(255,255,255,.09); font-size: .68rem; line-height: 1.45; }
.fv-powered-by { color: inherit; white-space: nowrap; }
.fv-powered-by:hover { color: var(--fv-primary); }
.fv-credit-reminder {
    display: flex;
    position: fixed;
    bottom: 1.25rem;
    left: 270px;
    z-index: 1080;
    width: min(420px, calc(100vw - 2rem));
    gap: .85rem;
    padding: 1rem 2.4rem 1rem 1rem;
    color: #fff;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 15px;
    background: linear-gradient(135deg, #32245f, #17192e);
    box-shadow: 0 18px 50px rgba(12,10,27,.35);
    animation: fv-credit-reminder-in .3s ease-out;
}
.fv-credit-reminder-icon { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; color: #2f2700; border-radius: 12px; background: #ffc107; font-size: 1.1rem; }
.fv-credit-reminder-copy { min-width: 0; }
.fv-credit-reminder-copy strong { display: block; margin-bottom: .2rem; font-size: 1rem; }
.fv-credit-reminder-copy p { margin: 0 0 .7rem; color: rgba(255,255,255,.76); font-size: .82rem; line-height: 1.45; }
.fv-credit-reminder-copy .btn + .btn { margin-left: .35rem; }
.fv-credit-reminder-close { position: absolute; top: .45rem; right: .65rem; padding: .15rem; color: rgba(255,255,255,.6); border: 0; background: transparent; font-size: 1.25rem; line-height: 1; }
.fv-credit-reminder-close:hover { color: #fff; }
@keyframes fv-credit-reminder-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.fv-owner-page { max-width: 1680px; margin: 0 auto; }
.fv-owner-stat { display: flex; min-height: 128px; gap: 1rem; align-items: center; margin-bottom: 1rem; padding: 1.15rem; color: #fff; border-radius: 17px; background: linear-gradient(135deg, #242641, #17182b); box-shadow: 0 12px 28px rgba(24,26,48,.16); }
.fv-owner-stat > i { display: grid; flex: 0 0 50px; width: 50px; height: 50px; place-items: center; color: #fff; border-radius: 14px; background: linear-gradient(135deg, var(--fv-primary), #9b6cff); font-size: 1.2rem; }
.fv-owner-stat span,.fv-owner-stat small { display: block; color: rgba(255,255,255,.64); }
.fv-owner-stat strong { display: block; margin: .12rem 0; font-size: 1.65rem; line-height: 1.05; }
.fv-owner-card { overflow: hidden; }
.fv-owner-tabs { gap: .35rem; }
.fv-owner-tabs .nav-link { border-radius: 999px; }
.fv-owner-search { max-width: 520px; }
.fv-owner-table th { border-top: 0; color: #6d7283; font-size: .74rem; letter-spacing: .045em; text-transform: uppercase; }
.fv-owner-table td { vertical-align: middle; }
.fv-owner-table form { display: inline-block; }
.fv-owner-user-details { min-width: 390px; padding-top: .25rem; }
.fv-owner-user-details summary { color: var(--fv-primary); cursor: pointer; font-size: .78rem; font-weight: 700; }
.fv-owner-user-details form { display: block; }
.fv-owner-user-details label { margin-bottom: .2rem; color: #73798a; font-size: .7rem; }
.fv-owner-filters { background: linear-gradient(180deg, #fbfaff, #fff); }
.fv-owner-filters label,.fv-owner-bulk-gift label { display: block; margin-bottom: .25rem; color: #656a7a; font-size: .72rem; font-weight: 700; }
.fv-owner-bulk-gift { background: #f6f3ff; }
.fv-owner-bulk-gift .flex-grow-1 { min-width: 280px; }
.fv-owner-select { width: 42px; text-align: center; }
.fv-owner-danger-zone { padding: .85rem; border: 1px solid #f1b8be; border-radius: 10px; background: #fff6f7; color: #8e1e2b; }
.fv-owner-danger-zone label,.fv-owner-danger-zone small { color: #8e4550; }
@media (max-width: 991.98px) { .fv-credit-reminder { left: 1rem; bottom: 1rem; } }
@media (max-width: 575.98px) { .fv-credit-reminder-copy .btn { display: block; width: 100%; } .fv-credit-reminder-copy .btn + .btn { margin: .4rem 0 0; } .fv-owner-user-details { min-width: 280px; } }
.fv-password-toggle { min-width: 46px; border-color: #ced4da; }
.fv-password-toggle:focus { box-shadow: 0 0 0 .2rem rgba(118,87,255,.2); }
.fv-input-mode { position: relative; cursor: pointer; }
.fv-input-mode input { position: absolute; opacity: 0; pointer-events: none; }
.fv-input-mode-box { height: 100%; padding: 1rem; border: 2px solid #e4e7ee; border-radius: 13px; transition: .18s ease; }
.fv-input-mode input:checked + .fv-input-mode-box { border-color: var(--fv-primary); background: rgba(118,87,255,.06); box-shadow: 0 0 0 3px rgba(118,87,255,.1); }
.fv-input-mode-box i { color: var(--fv-primary); font-size: 1.35rem; }
.fv-input-mode-action { padding: 0; color: inherit; border: 0; background: transparent; }
.fv-input-mode-action:hover .fv-input-mode-box,
.fv-input-mode-action:focus .fv-input-mode-box { border-color: var(--fv-primary); background: rgba(118,87,255,.045); box-shadow: 0 0 0 3px rgba(118,87,255,.08); }
.fv-input-mode-action:focus { outline: 0; }
.fv-input-mode-action.is-loading .fv-input-mode-box { opacity: .72; }
.fv-input-mode-action.is-loading i { animation: fa-spin 1s linear infinite; }
.fv-format-picker { width: 100%; }
.fv-format-toggle { position: relative; width: 100%; min-height: 68px; padding: .45rem 2rem .45rem .65rem; border: 1px solid #ced4da; border-radius: .25rem; background: #fff; text-align: left; }
.fv-format-toggle:hover, .fv-format-toggle:focus, .fv-format-picker.show .fv-format-toggle { border-color: var(--fv-primary); box-shadow: 0 0 0 3px rgba(118,87,255,.1); }
.fv-format-toggle::after { position: absolute; top: 50%; right: .85rem; transform: translateY(-50%); }
.fv-format-menu { width: 100%; min-width: 285px; max-height: 330px; padding: .35rem; overflow-y: auto; border: 1px solid #dedfea; border-radius: 11px; box-shadow: 0 16px 40px rgba(25,28,48,.18); }
.fv-format-option { padding: .55rem .65rem; border-radius: 8px; white-space: normal; }
.fv-format-option:hover, .fv-format-option:focus { background: rgba(118,87,255,.08); }
.fv-format-option.is-selected { color: var(--fv-ink); background: rgba(118,87,255,.13); }
.fv-format-visual { display: flex; align-items: center; gap: .75rem; width: 100%; }
.fv-format-copy { min-width: 0; }
.fv-format-copy strong, .fv-format-copy small { display: block; }
.fv-format-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fv-format-copy small { color: #73798a; font-size: .78rem; line-height: 1.25; }
.fv-format-frame { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 58px; height: 42px; color: #fff; border: 2px dashed #aaa2d8; border-radius: 6px; background: linear-gradient(135deg, #292b49, var(--fv-primary)); box-shadow: 0 5px 14px rgba(54,43,112,.2); transition: width .18s ease, height .18s ease; }
.fv-format-frame i { font-size: .8rem; opacity: .88; }
.fv-format-visual[data-ratio="Landscape16x9"] .fv-format-frame { width: 64px; height: 36px; border-style: solid; }
.fv-format-visual[data-ratio="Portrait9x16"] .fv-format-frame { width: 28px; height: 50px; margin-right: 36px; border-style: solid; }
.fv-format-visual[data-ratio="Square1x1"] .fv-format-frame { width: 46px; height: 46px; margin-right: 18px; border-style: solid; }
.fv-processing-active { overflow: hidden; }
.fv-processing-overlay { display: none; position: fixed; inset: 0; z-index: 99999; align-items: center; justify-content: center; padding: 1rem; background: rgba(10,11,25,.78); backdrop-filter: blur(5px); }
.fv-processing-overlay.is-visible { display: flex; }
.fv-processing-box { width: min(460px, 100%); padding: 2rem; color: #fff; border: 1px solid rgba(151,117,255,.62); border-radius: 20px; background: linear-gradient(145deg, #191b32, #111322); box-shadow: 0 24px 80px rgba(0,0,0,.52); text-align: center; }
.fv-processing-spinner { display: grid; position: relative; width: 58px; height: 58px; margin: 0 auto 1rem; place-items: center; color: #bda7ff; font-size: 1.15rem; }
.fv-processing-spinner::before { position: absolute; inset: 0; content: ""; border: 5px solid rgba(255,255,255,.14); border-top-color: var(--fv-primary); border-right-color: #9d7cff; border-radius: 50%; animation: fv-processing-spin .85s linear infinite; }
.fv-processing-title { margin-bottom: .45rem; font-size: 1.25rem; font-weight: 800; }
.fv-processing-message { color: rgba(255,255,255,.74); line-height: 1.45; }
.fv-processing-track { height: 8px; margin: 1.1rem 0 .65rem; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.11); }
.fv-processing-bar { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--fv-primary), #aa8bff, var(--fv-accent)); box-shadow: 0 0 16px rgba(157,124,255,.48); transition: width .65s ease; }
.fv-processing-progress-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: rgba(255,255,255,.62); text-align: left; }
.fv-processing-percent { color: #fff; font-size: .82rem; }
@keyframes fv-processing-spin { to { transform: rotate(360deg); } }
.modal-content { position: relative; }
.fv-modal-busy-blocker { display: none; position: fixed; inset: 0; z-index: 1085; align-items: center; justify-content: center; padding: 1rem; border-radius: 0; background: rgba(18,20,39,.78); backdrop-filter: blur(3px); }
.fv-modal-busy-blocker.is-visible { display: flex; }
.fv-modal-busy-box { display: flex; flex-direction: column; align-items: center; max-width: 320px; padding: 1.35rem 1.6rem; color: #fff; border: 1px solid rgba(157,124,255,.55); border-radius: 16px; background: #191b32; box-shadow: 0 18px 45px rgba(0,0,0,.35); text-align: center; }
.fv-modal-busy-box > i { margin-bottom: .75rem; color: #bda7ff; font-size: 1.5rem; }
.fv-modal-busy-box > small { margin-top: .3rem; color: rgba(255,255,255,.62); }

.fv-auto-video-page { max-width: 1280px; margin: 0 auto; }
.fv-auto-hero { display: flex; align-items: center; gap: 2rem; margin-bottom: 1.25rem; padding: 1.6rem 1.8rem; border: 1px solid #ddd8ff; border-radius: 22px; background: linear-gradient(135deg,#f3f0ff 0%,#f5fcff 100%); }
.fv-auto-hero > div:first-child { flex: 1; }
.fv-auto-hero h2 { margin: .25rem 0 .45rem; font-weight: 800; }
.fv-auto-hero p { max-width: 830px; margin: 0; color: #626b7b; }
.fv-auto-eyebrow { color: #6947ed; font-size: .74rem; font-weight: 800; letter-spacing: .12em; }
.fv-auto-status { display: flex; flex: 0 0 255px; flex-direction: column; padding: 1.1rem 1.25rem; border-radius: 16px; color: #fff; background: #1b1d36; }
.fv-auto-status i { margin-bottom: .6rem; color: #bba8ff; font-size: 1.35rem; }
.fv-auto-status small { margin-top: .2rem; color: rgba(255,255,255,.68); }
.fv-auto-card { overflow: hidden; border: 0; border-radius: 22px; box-shadow: 0 12px 35px rgba(31,34,64,.08); }
.fv-auto-flow { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .65rem; margin-bottom: 1.25rem; }
.fv-auto-flow > div { display: grid; grid-template-columns: 25px 28px 1fr; gap: .45rem; align-items: center; min-height: 62px; padding: .65rem .7rem; border: 1px solid #e0e3ed; border-radius: 14px; background: #fff; }
.fv-auto-flow span { display: grid; width: 24px; height: 24px; place-items: center; color: #fff; border-radius: 50%; background: #7657ff; font-size: .72rem; font-weight: 800; }
.fv-auto-flow i { color: #7657ff; font-size: 1rem; text-align: center; }
.fv-auto-flow strong { color: #34384a; font-size: .78rem; line-height: 1.2; }
.fv-auto-inbox { margin-bottom: 1.25rem; }
.fv-auto-inbox .card-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem .65rem; background: #fff; }
.fv-auto-inbox .card-header > div { display: flex; flex-direction: column; }
.fv-auto-inbox .card-header small { color: #70798a; }
.fv-auto-empty { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border: 1px dashed #cfd4e3; border-radius: 14px; background: #fafbfe; }
.fv-auto-empty > i { color: #927cff; font-size: 1.55rem; }
.fv-auto-empty > div { display: flex; flex-direction: column; }
.fv-auto-empty small { margin-top: .2rem; color: #70798a; }
.fv-auto-draft-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; }
.fv-auto-draft { padding: 1rem; border: 1px solid #e0e3ed; border-radius: 15px; }
.fv-auto-draft > div { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.fv-auto-draft h4 { margin: .75rem 0 .4rem; font-size: 1rem; font-weight: 800; }
.fv-auto-draft p,.fv-auto-draft small { color: #70798a; font-size: .75rem; }
.fv-auto-section { display: flex; gap: 1.1rem; padding: 1.4rem 0; border-bottom: 1px solid #edf0f6; }
.fv-auto-number { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg,#7857ff,#1aa8c4); font-weight: 800; }
.fv-auto-content { min-width: 0; flex: 1; }
.fv-auto-content > h4 { margin: .25rem 0; font-weight: 800; }
.fv-auto-content > p { color: #6b7382; }
.fv-auto-sources { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .75rem; }
.fv-auto-sources label { margin: 0; cursor: pointer; }
.fv-auto-sources input { position: absolute; opacity: 0; pointer-events: none; }
.fv-auto-sources span { display: flex; min-height: 145px; height: 100%; flex-direction: column; padding: 1rem; border: 1px solid #dfe3ed; border-radius: 15px; background: #fff; transition: .15s ease; }
.fv-auto-sources input:checked + span { border-color: #7657ff; background: #f5f2ff; box-shadow: 0 0 0 2px rgba(118,87,255,.12); }
.fv-auto-sources i { margin-bottom: .75rem; color: #7657ff; font-size: 1.25rem; }
.fv-auto-sources small { margin-top: .35rem; color: #70798a; font-weight: 400; }
.fv-auto-conditional { padding: 1rem; border: 1px solid #e3defe; border-radius: 15px; background: #faf9ff; }
.fv-auto-conditional[hidden],[data-auto-library-option][hidden] { display: none !important; }
.fv-auto-source-verification { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .65rem; }
.fv-auto-source-chip { display: inline-flex; gap: .35rem; align-items: center; max-width: 100%; padding: .3rem .55rem; overflow: hidden; color: #176b4b; border: 1px solid #bde8d4; border-radius: 999px; background: #eefaf5; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.fv-auto-source-chip i { margin: 0; color: #16815c; font-size: .72rem; }
.fv-auto-source-chip.is-invalid { color: #9a2f36; border-color: #f2c2c7; background: #fff1f2; }
.fv-auto-source-chip.is-invalid i { color: #d13c4a; }
.fv-help { padding: 0 .2rem; color: #7657ff; border: 0; background: transparent; }
.fv-auto-cost { display: flex; min-height: 66px; flex-direction: column; justify-content: center; padding: .65rem 1rem; border: 1px solid #ddd7ff; border-radius: 13px; background: #f5f2ff; }
.fv-auto-cost span { color: #70798a; font-size: .76rem; }
.fv-auto-cost strong { color: #4f31bf; font-size: 1.1rem; }
.fv-auto-notice { display: flex; gap: .65rem; align-items: flex-start; padding: .8rem 1rem; color: #445064; border-radius: 12px; background: #eef8fb; font-size: .85rem; }
.fv-auto-notice i { margin-top: .15rem; color: #1595af; }
.fv-auto-actions { display: flex; align-items: center; gap: 1rem; padding-top: 1.4rem; }
.fv-auto-actions > div { display: flex; flex: 1; flex-direction: column; }
.fv-auto-actions small { color: #70798a; }
.fv-auto-reason { margin: .5rem 0; color: #5b6474; }
.fv-auto-reason summary { color: #6045d6; cursor: pointer; font-size: .78rem; font-weight: 700; }
.fv-auto-reason small { display: block; margin-top: .35rem; line-height: 1.4; }
.fv-auto-privacy { display: flex; gap: .55rem; align-items: flex-start; margin-top: .85rem; padding: .7rem .8rem; border-radius: 10px; color: #426055; background: #eefaf5; }
.fv-auto-privacy i { margin-top: .12rem; color: #16815c; }
.fv-auto-channels { margin-top: 1.25rem; }
.fv-auto-channels h3 { margin: .25rem 0; font-weight: 800; }
.fv-auto-channels p { margin: 0; color: #70798a; }
.fv-owner-queue { overflow: hidden; }
.fv-owner-live-indicator { display: inline-flex; gap: .45rem; align-items: center; color: #16815c; font-size: .78rem; font-weight: 700; }
.fv-owner-live-indicator > i { width: .55rem; height: .55rem; border-radius: 50%; background: #1fc58a; box-shadow: 0 0 0 .25rem rgba(31,197,138,.13); }
.fv-owner-queue.is-offline .fv-owner-live-indicator { color: #a66b12; }
.fv-owner-queue.is-offline .fv-owner-live-indicator > i { background: #e6a132; box-shadow: 0 0 0 .25rem rgba(230,161,50,.13); }
.fv-owner-queue-metrics { display: grid; grid-template-columns: repeat(8,minmax(100px,1fr)); gap: .55rem; }
.fv-owner-queue-metrics > div { display: flex; min-width: 0; flex-direction: column; padding: .7rem .8rem; border: 1px solid #e5e2f6; border-radius: 12px; background: linear-gradient(145deg,#fbfaff,#f4fbff); }
.fv-owner-queue-metrics span { overflow: hidden; color: #687187; font-size: .7rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.fv-owner-queue-metrics strong { color: #302b57; font-size: 1.3rem; line-height: 1.2; }
.fv-owner-queue-table td { vertical-align: middle; }
.fv-owner-queue-empty { padding: 1.5rem; color: #7b8392; text-align: center; }
@media (max-width: 1199px) { .fv-owner-queue-metrics { grid-template-columns: repeat(4,minmax(120px,1fr)); } }
@media (max-width: 575px) { .fv-owner-queue-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.fv-auto-channel-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .75rem; }
.fv-auto-channel-grid article { display: grid; grid-template-columns: 35px 1fr; gap: .7rem; align-items: center; padding: .9rem; border: 1px solid #e0e3ed; border-radius: 14px; }
.fv-auto-channel-grid article > i { color: #7657ff; font-size: 1.45rem; text-align: center; }
.fv-auto-channel-grid article > div { display: flex; min-width: 0; flex-direction: column; }
.fv-auto-channel-grid article small { color: #70798a; font-size: .72rem; line-height: 1.25; }
.fv-auto-channel-grid article > span { grid-column: 2; width: max-content; padding: .2rem .45rem; color: #5a42b5; border-radius: 999px; background: #f1edff; font-size: .66rem; font-weight: 800; text-transform: uppercase; }
@media (max-width: 991px) { .fv-auto-flow { grid-template-columns: repeat(2,minmax(0,1fr)); } .fv-auto-sources,.fv-auto-channel-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .fv-auto-draft-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .fv-auto-hero { align-items: stretch; flex-direction: column; } .fv-auto-status { flex-basis: auto; } }
@media (max-width: 575px) { .fv-auto-flow,.fv-auto-sources,.fv-auto-channel-grid,.fv-auto-draft-grid { grid-template-columns: 1fr; } .fv-auto-section { flex-direction: column; } .fv-auto-actions,.fv-auto-inbox .card-header { align-items: stretch; flex-direction: column; } }
.fv-dropzone { padding: 1.4rem; border: 2px dashed #cfd3df; border-radius: 13px; background: #fafbfc; text-align: center; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.fv-dropzone.is-dragover { border-color: var(--fv-primary); background: rgba(118,87,255,.06); box-shadow: 0 0 0 4px rgba(118,87,255,.1); }
.fv-copyright-box { padding: 1rem; border-left: 4px solid #f0ad4e; border-radius: 8px; background: #fff8e6; }
.fv-scene-editor { overflow: hidden; }
.fv-scene-editor-body { padding: 1.25rem; background: #f4f5fa; }
.fv-story-section { margin-bottom: 1.5rem; overflow: hidden; border: 1px solid #dfe2ec; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(28,32,54,.07); }
.fv-story-section:last-child { margin-bottom: 0; }
.fv-story-section-header { display: flex; gap: .85rem; align-items: center; min-height: 78px; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(118,87,255,.18); background: linear-gradient(135deg, rgba(118,87,255,.11), rgba(20,216,180,.055)); }
.fv-story-section-icon { display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; height: 44px; color: #fff; border-radius: 13px; background: linear-gradient(135deg, var(--fv-primary), #9b75ff); box-shadow: 0 7px 18px rgba(118,87,255,.24); }
.fv-story-section-heading { min-width: 0; }
.fv-story-section-kicker { display: block; margin-bottom: .12rem; color: var(--fv-primary); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fv-story-section-title { display: block; overflow: hidden; color: var(--fv-ink); font-size: 1.05rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.fv-story-section-count { margin-left: auto; padding: .38rem .7rem; color: #585e70; border: 1px solid #daddea; border-radius: 999px; background: rgba(255,255,255,.82); font-size: .76rem; font-weight: 700; white-space: nowrap; }
.fv-story-section-scenes { padding: 0 .85rem .85rem; }
.fv-scene-media-card { position: relative; width: min(100%, 620px); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 11px; background: #e8eaf0; }
.fv-scene-media-card.is-landscape { aspect-ratio: 16 / 9; }
.fv-scene-media-card.is-square { width: min(100%, 420px); aspect-ratio: 1 / 1; }
.fv-scene-media-card.is-portrait { width: min(100%, 240px); aspect-ratio: 9 / 16; margin-inline: auto; }
.fv-scene-thumb { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 11px; background: #e8eaf0; }
.fv-effect-vignette::after { position: absolute; inset: 0; z-index: 1; pointer-events: none; content: ""; background: radial-gradient(circle, transparent 48%, rgba(5,6,12,.58) 100%); }
.fv-scene-thumb, .fv-preview-media, .fv-inline-preview-media { transform: scaleX(var(--fv-media-flip-x, 1)) scaleY(var(--fv-media-flip-y, 1)) scale(var(--fv-media-zoom, 1)); transform-origin: var(--fv-media-origin, 50% 50%); }
.fv-effect-mirror-horizontal { --fv-media-flip-x: -1; }
.fv-effect-flip-vertical { --fv-media-flip-y: -1; }
.fv-effect-slow-zoom .fv-scene-thumb, .fv-effect-slow-zoom .fv-preview-media, .fv-effect-slow-zoom .fv-inline-preview-media { animation: fv-effect-slow-zoom 8s ease-in-out infinite alternate; }
.fv-effect-old-vhs::before,
.fv-effect-signal-interference::before { position: absolute; inset: -3%; z-index: 1; pointer-events: none; content: ""; }
.fv-effect-old-vhs::before { opacity: .42; background: repeating-linear-gradient(0deg, rgba(4,7,18,.32) 0, rgba(4,7,18,.32) 1px, transparent 1px, transparent 4px), linear-gradient(90deg, rgba(255,40,80,.08), transparent 28%, rgba(40,190,255,.09)); mix-blend-mode: screen; animation: fv-effect-vhs-flicker .28s steps(2,end) infinite; }
.fv-effect-signal-interference::before { opacity: .48; background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(255,255,255,.2) 8px, transparent 10px 18px), linear-gradient(90deg, rgba(255,0,70,.16), transparent 34%, rgba(0,195,255,.2)); mix-blend-mode: screen; animation: fv-effect-signal-jump .38s steps(2,end) infinite; }
.fv-preview-brand, .fv-preview-caption, .fv-inline-preview-brand, .fv-inline-preview-caption { z-index: 2; }
@keyframes fv-effect-slow-zoom { from { transform: scaleX(var(--fv-media-flip-x, 1)) scaleY(var(--fv-media-flip-y, 1)) scale(var(--fv-media-zoom, 1)); } to { transform: scaleX(var(--fv-media-flip-x, 1)) scaleY(var(--fv-media-flip-y, 1)) scale(var(--fv-media-zoom-end, 1.075)); } }
@keyframes fv-effect-vhs-flicker { 0% { transform: translateY(0); opacity: .35; } 45% { transform: translateY(.7%); opacity: .48; } 100% { transform: translateY(-.45%); opacity: .39; } }
@keyframes fv-effect-signal-jump { 0%, 72% { transform: translate(0, 0) skewX(0); } 76% { transform: translate(1.8%, -1%) skewX(1deg); } 82% { transform: translate(-1.2%, .8%) skewX(-.7deg); } 88%, 100% { transform: translate(0, 0) skewX(0); } }
.fv-scene-placeholder { display: flex; flex-direction: column; gap: .45rem; align-items: center; justify-content: center; color: #858a9c; }
.fv-scene-placeholder span { font-size: .78rem; font-weight: 600; }
.fv-scene-media-card.is-loading-visual { background: linear-gradient(135deg,#f0eff8,#e7edf6); }
.fv-scene-loading { display: flex; flex-direction: column; gap: .65rem; align-items: center; justify-content: center; color: #6155a6; background: linear-gradient(135deg,#f6f4ff,#eef4f8); }
.fv-scene-loading span { max-width: 85%; font-size: .78rem; font-weight: 700; text-align: center; }
.fv-media-source-badge { position: absolute; top: .5rem; left: .5rem; z-index: 2; padding: .25rem .5rem; color: #fff; border-radius: 999px; background: rgba(15,17,30,.78); font-size: .7rem; font-weight: 700; backdrop-filter: blur(5px); }
.fv-scene-media-meta { display: flex; min-width: 0; gap: .55rem; align-items: center; justify-content: space-between; }
.fv-scene-media-name { min-width: 0; overflow: hidden; color: #74798a; font-size: .72rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.fv-scene-media-tools { display: inline-flex; flex: 0 0 auto; gap: .3rem; align-items: center; flex-wrap: wrap; }
.fv-scene-media-action { display: inline-flex; min-height: 34px; gap: .38rem; align-items: center; justify-content: center; padding: .38rem .68rem; color: #514b63; border: 1px solid #d8d2e7; border-radius: 9px; background: #fff; box-shadow: 0 1px 2px rgba(32,25,66,.06); font-size: .76rem; font-weight: 750; line-height: 1; transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease; }
.fv-scene-media-action i { font-size: .78rem; }
.fv-scene-media-action:hover, .fv-scene-media-action:focus { color: #4f3aa9; border-color: #bdb2e7; background: #f8f6ff; box-shadow: 0 3px 8px rgba(76,57,155,.11); transform: translateY(-1px); }
.fv-scene-media-action.is-primary { color: #5236c3; border-color: rgba(118,87,255,.34); background: rgba(118,87,255,.1); }
.fv-scene-media-action.is-primary:hover, .fv-scene-media-action.is-primary:focus { color: #4225a6; border-color: rgba(118,87,255,.5); background: rgba(118,87,255,.16); }
.fv-scene-media-action.is-remove { color: #aa3447; border-color: rgba(202,72,91,.26); background: rgba(202,72,91,.06); }
.fv-scene-media-action.is-remove:hover, .fv-scene-media-action.is-remove:focus { color: #962b3d; border-color: rgba(202,72,91,.42); background: rgba(202,72,91,.11); }
@media (max-width: 575.98px) { .fv-scene-media-meta { align-items: flex-start; flex-direction: column; } .fv-scene-media-tools { width: 100%; } }
.fv-scene-table { border-collapse: separate; border-spacing: 0 .85rem; }
.fv-scene-table thead th { padding: .85rem .9rem .25rem; color: #73798a; border: 0; font-size: .72rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.fv-scene-table tbody tr { filter: drop-shadow(0 7px 12px rgba(28,32,54,.07)); transition: filter .15s ease, transform .15s ease; }
.fv-scene-table tbody tr:hover { filter: drop-shadow(0 10px 18px rgba(55,43,115,.12)); transform: translateY(-1px); }
.fv-scene-table tbody td { padding: 1.2rem .9rem; vertical-align: top; border-top: 1px solid #e0e3ec; border-bottom: 1px solid #e0e3ec; background: #fff; }
.fv-scene-table tbody td:first-child { border-left: 1px solid #e0e3ec; border-radius: 14px 0 0 14px; }
.fv-scene-table tbody td:last-child { border-right: 1px solid #e0e3ec; border-radius: 0 14px 14px 0; }
.fv-scene-index { text-align: center; }
.fv-scene-number { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; color: #fff; border-radius: 12px; background: linear-gradient(135deg, var(--fv-primary), #9b75ff); box-shadow: 0 6px 14px rgba(118,87,255,.22); font-size: 1rem; font-weight: 800; }
.fv-scene-index small { display: block; margin-top: .38rem; color: #767c8d; font-size: .62rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.fv-editor-textarea { min-width: 260px; padding: .75rem; resize: vertical; line-height: 1.55; }
.fv-scene-audio { width: min(100%, 420px); height: 38px; vertical-align: middle; }
.fv-voice-row { display: grid; grid-template-columns: auto minmax(190px, 1fr) 180px; gap: .45rem; align-items: end; }
.fv-voice-row > .btn { min-height: 38px; }
.fv-voice-speed-control { display: flex; min-width: 0; flex-direction: column; gap: .2rem; }
.fv-voice-speed-control label { margin: 0; color: #73798a; font-size: .68rem; font-weight: 700; line-height: 1; }
.fv-voice-speed { width: 100%; min-height: 38px; }
.fv-voice-choice { display: flex; gap: .75rem; align-items: center; padding: .9rem 1rem; border: 1px solid #e1e4ec; border-radius: 12px; background: linear-gradient(135deg, #fff, #faf9ff); }
.fv-voice-choice > div { min-width: 0; }
.fv-voice-choice .fv-current-voice-name { display: block; margin-top: .12rem; line-height: 1.35; }
.fv-master-voice { display: flex; gap: .8rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid rgba(118,87,255,.22); border-radius: 14px; background: linear-gradient(135deg, rgba(118,87,255,.08), rgba(20,216,180,.05)); }
.fv-master-voice .fv-choice-icon { margin-right: 0; }
.fv-master-voice > div { min-width: 0; }
.fv-master-voice .fv-current-voice-name + small { margin-top: .28rem; line-height: 1.4; }
.fv-master-voice .btn { flex: 0 0 auto; }
.fv-effects-editor { padding: 1rem; border: 1px solid rgba(118,87,255,.2); border-radius: 14px; background: linear-gradient(135deg, rgba(118,87,255,.055), rgba(20,216,180,.035)); }
.fv-effect-options { display: flex; gap: .45rem; flex-wrap: wrap; }
.fv-effect-option { position: relative; margin: 0; cursor: pointer; }
.fv-effect-option input { position: absolute; opacity: 0; pointer-events: none; }
.fv-effect-option span { display: inline-flex; align-items: center; min-height: 34px; padding: .36rem .72rem; color: #62687a; border: 1px solid #d9dce6; border-radius: 999px; background: #fff; font-size: .82rem; font-weight: 600; transition: .15s ease; }
.fv-effect-option input:checked + span { color: #fff; border-color: var(--fv-primary); background: var(--fv-primary); box-shadow: 0 4px 12px rgba(118,87,255,.2); }
.fv-effect-option.is-compact span { min-height: 30px; padding: .28rem .58rem; font-size: .75rem; }
.fv-scene-effects { padding: .6rem .7rem; border: 1px solid #e2e5ec; border-radius: 10px; background: #fafbfc; }
.fv-scene-effects summary { cursor: pointer; color: #4f5567; font-size: .8rem; font-weight: 600; }
.fv-scene-effects summary::marker { color: var(--fv-primary); }
.fv-voice-card { padding: 1rem; border: 2px solid #e2e5ec; border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(28,32,54,.04); transition: .15s ease; }
.fv-voice-card:hover { border-color: #c4bbed; transform: translateY(-1px); }
.fv-voice-card.is-selected { border-color: var(--fv-primary); box-shadow: 0 0 0 3px rgba(118,87,255,.1); }
.fv-voice-description { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-height: 1.4; }
.fv-voice-card > strong { margin-bottom: .22rem; line-height: 1.35; }
.fv-voice-card > small { line-height: 1.4; }
.fv-voice-sample { width: min(250px, 100%); min-width: 130px; height: 36px; flex: 1 1 180px; }
#voicePickerModal .modal-body { overflow-y: auto; overscroll-behavior: contain; }
#voicePickerModal .modal-dialog-scrollable .modal-content { max-height: calc(100vh - 3.5rem); }
.fv-voice-tools { padding: .9rem; border: 1px solid #e5e2f5; border-radius: 13px; background: linear-gradient(135deg, #fbfaff, #f7fbfc); }
.fv-voice-filter { margin-right: .3rem; margin-bottom: .3rem; border-radius: 999px !important; }
.fv-voice-criteria-row, .fv-voice-criteria-chips { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .35rem; }
.fv-voice-criteria-chips { flex: 1 1 auto; min-width: 0; }
.fv-voice-criterion-chip, .fv-voice-add-criterion { padding: .35rem .65rem; border: 1px solid #b9a8ff; border-radius: 999px; font-size: .8rem; line-height: 1.4; }
.fv-voice-criterion-chip { color: #4d2eb5; background: #eee8ff; cursor: pointer; }
.fv-voice-criterion-chip:hover, .fv-voice-criterion-chip:focus-visible { background: #e1d7ff; border-color: #7657ff; }
.fv-voice-criteria-picker[open] { flex-basis: 100%; }
.fv-voice-criteria-picker > summary { display: inline-flex; align-items: center; list-style: none; cursor: pointer; }
.fv-voice-criteria-picker > summary::-webkit-details-marker { display: none; }
.fv-voice-criteria-panel { display: flex; align-items: flex-end; flex-wrap: wrap; gap: .55rem; padding: .75rem; margin-top: .5rem; border: 1px solid #d8d0f0; border-radius: .75rem; background: #fff; }
.fv-voice-criteria-panel > div { flex: 1 1 150px; min-width: 0; }
.fv-voice-criteria-panel label { display: block; margin-bottom: .2rem; color: #464063; font-size: .78rem; }
.fv-voice-criteria-panel select { border-color: #a8a0be; background-color: #fff; color: #242039; }
.fv-credit-modal { overflow: hidden; border: 1px solid rgba(118,87,255,.35); border-radius: 18px; box-shadow: 0 28px 90px rgba(17,19,34,.35); }
.fv-credit-total { display: flex; align-items: center; justify-content: space-between; padding: 1rem; color: #fff; border-radius: 13px; background: linear-gradient(135deg, #252741, var(--fv-primary)); }
.fv-credit-total strong { font-size: 1.25rem; }
.fv-credit-gate { display: flex; gap: .8rem; align-items: center; padding: 1rem; color: #fff; border-radius: 15px; background: linear-gradient(135deg, #b43c74, #6c45e8); box-shadow: 0 12px 30px rgba(108,69,232,.2); }
.fv-credit-gate small { color: rgba(255,255,255,.82); line-height: 1.35; }
.fv-credit-gate-icon { display: inline-flex; flex: 0 0 42px; align-items: center; justify-content: center; width: 42px; height: 42px; color: #4d319e; border-radius: 12px; background: #fff; }
.fv-action-modal { overflow: hidden; border: 1px solid rgba(118,87,255,.28); border-radius: 20px; box-shadow: 0 28px 90px rgba(17,19,34,.34); }
.fv-action-modal-icon { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; color: #fff; border-radius: 18px; background: linear-gradient(135deg, var(--fv-primary), #9d70ff); box-shadow: 0 12px 28px rgba(118,87,255,.28); font-size: 1.35rem; }
.fv-action-modal-icon.is-warning { background: linear-gradient(135deg, #f0ad4e, #ef7c52); box-shadow: 0 12px 28px rgba(239,124,82,.25); }
.fv-action-modal-message, .fv-message-copy { max-width: 420px; margin-right: auto; margin-left: auto; line-height: 1.55; }
.fv-text-setting { display: flex; align-items: center; padding: .65rem .75rem; border: 1px solid #e1e4ec; border-radius: 11px; background: #fafbfc; }
.fv-text-setting > div { min-width: 0; }
.fv-text-setting strong + small { display: block; margin-top: .2rem; line-height: 1.4; }
.fv-text-setting-icon { display: inline-flex; flex: 0 0 36px; align-items: center; justify-content: center; width: 36px; height: 36px; margin-right: .65rem; color: var(--fv-primary); border-radius: 10px; background: rgba(118,87,255,.1); }
.fv-text-mode-list > input, .fv-position-picker > input { position: absolute; opacity: 0; pointer-events: none; }
.fv-text-mode-card { display: flex; gap: .7rem; align-items: center; margin-bottom: .65rem; padding: .8rem; cursor: pointer; border: 2px solid #e2e5ec; border-radius: 12px; background: #fff; transition: .15s ease; }
.fv-text-mode-card:hover { border-color: #bcb2ef; }
.fv-text-mode-card strong, .fv-text-mode-card small { display: block; }
.fv-text-mode-card small { color: #73798a; line-height: 1.3; }
.fv-text-mode-card .badge { margin-left: auto; }
.fv-text-mode-list > input:checked + .fv-text-mode-card { border-color: var(--fv-primary); background: rgba(118,87,255,.06); box-shadow: 0 0 0 3px rgba(118,87,255,.1); }
.fv-choice-icon { display: inline-flex; flex: 0 0 40px; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--fv-primary); border-radius: 11px; background: rgba(118,87,255,.1); }
.fv-fixed-text-options { padding: 1rem; border-radius: 12px; background: #f5f6fa; }
.fv-position-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.fv-position-picker label { display: flex; flex-direction: column; gap: .25rem; align-items: center; margin: 0; padding: .65rem .4rem; cursor: pointer; color: #697082; border: 2px solid #e0e3eb; border-radius: 10px; background: #fff; }
.fv-position-picker > input:checked + label { color: var(--fv-primary); border-color: var(--fv-primary); background: rgba(118,87,255,.06); }
.fv-text-preview-stage { position: relative; min-height: 310px; overflow: hidden; color: rgba(255,255,255,.24); border-radius: 16px; background: radial-gradient(circle at 35% 25%, #4d4388, #141627 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
#textSettingsModal .fv-text-preview-stage { width: 100%; min-height: 360px; border: 2px solid rgba(118,87,255,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 12px 34px rgba(35,27,72,.13); }
#textSettingsModal #textSettingsPreview { cursor: grab; }
#textSettingsModal #textSettingsPreview:active { cursor: grabbing; }
.fv-text-drag-hint { display: inline-flex; align-items: center; padding: .22rem .48rem; border: 1px solid rgba(118,87,255,.22); border-radius: 999px; background: rgba(118,87,255,.06); color: #6048cc; font-size: .68rem; font-weight: 750; white-space: nowrap; }
.fv-text-preview-stage > i { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 3rem; }
.fv-text-preview-caption { position: absolute; right: 7%; left: 7%; z-index: 2; padding: .5em .7em; color: #fff; border-radius: 9px; background: rgba(8,10,18,.72); font-size: 1rem; font-weight: 700; line-height: 1.25; text-align: center; text-shadow: 0 2px 4px rgba(0,0,0,.4); }
.fv-text-preview-caption.is-top { top: 8%; bottom: auto; }
.fv-text-preview-caption.is-center { top: 50%; bottom: auto; transform: translateY(-50%); }
.fv-text-preview-caption.is-bottom { bottom: 8%; }
.fv-text-preview-caption .is-active, .fv-preview-caption .is-active { color: #ffe66d; text-shadow: 0 0 12px rgba(255,230,109,.75); }
.effect-fade.is-animating { animation: fv-text-fade .45s ease both; }
.effect-pop.is-animating { animation: fv-text-pop .38s ease both; }
.effect-slideup.is-animating { animation: fv-text-slide-up .42s ease both; }
.text-style-clean { font-family: Arial, sans-serif; font-weight: 700; }
.text-style-bold { padding: .42em .68em; background: rgba(0,0,0,.75); font-family: Montserrat, Arial, sans-serif; font-size: 1.08em; font-weight: 900; letter-spacing: .015em; text-transform: uppercase; }
.text-style-editorial { background: rgba(16,18,28,.58); font-family: Georgia, serif; font-size: 1.08em; font-style: italic; font-weight: 700; }
.text-style-neon { color: #fff4a8; border: 1px solid rgba(255,244,168,.7); background: rgba(16,7,28,.62); text-shadow: 0 0 5px #fff, 0 0 13px #db4bca, 0 0 22px #db4bca; }
.fv-buy-credits-cta { display: inline-flex; flex-direction: column; align-items: flex-start; min-width: 220px; padding: .8rem 1.1rem; border-radius: 12px; box-shadow: 0 9px 22px rgba(102,70,224,.25); }
.fv-buy-credits-cta small { margin-top: .1rem; color: rgba(255,255,255,.78); font-size: .68rem; font-weight: 600; }
.fv-credit-tier-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .7rem; }
.fv-credit-tier { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 1rem; border: 1px solid #ded9ed; border-radius: 13px; color: #302b43; background: #fff; text-align: left; transition: .15s ease; }
.fv-credit-tier:hover, .fv-credit-tier:focus { border-color: var(--fv-primary); transform: translateY(-2px); box-shadow: 0 7px 18px rgba(55,43,94,.12); }
.fv-credit-tier.is-recommended { border-color: var(--fv-primary); background: #f7f4ff; }
.fv-credit-tier .badge { position: absolute; right: .55rem; top: .55rem; }
.fv-credit-tier strong { font-size: 1.25rem; }
.fv-credit-tier small { color: #6d687d; }
.fv-credit-purchase-card { overflow: hidden; border: 1px solid #d8d0f4; background: linear-gradient(135deg,#fff 55%,#f4f0ff); box-shadow: 0 10px 28px rgba(61,47,106,.1); }
.fv-credit-result { display: block; color: #4d35bd; font-size: 1.65rem; line-height: 1.2; }
.fv-buy-credits-button { min-height: 52px; border-radius: 11px; font-weight: 800; box-shadow: 0 8px 18px rgba(102,70,224,.22); }
@media (max-width: 767.98px) { .fv-credit-tier-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.fv-library-usage { border: 1px solid #ded9ef; box-shadow: 0 7px 22px rgba(44,34,82,.07); }
.fv-library-usage .progress { height: 10px; border-radius: 999px; background: #ece9f5; }
.fv-library-usage .progress-bar { border-radius: inherit; background: linear-gradient(90deg,#7657ff,#20bfc5); }
.fv-library-check { width: 42px; text-align: center; vertical-align: middle !important; }
.fv-library-select { width: 18px; height: 18px; accent-color: var(--fv-primary); }
.fv-library-card { position: relative; }
.fv-library-card-check { position: absolute; z-index: 5; top: .65rem; right: .65rem; display: grid; place-items: center; width: 34px; height: 34px; margin: 0; border-radius: 10px; background: rgba(255,255,255,.94); box-shadow: 0 3px 12px rgba(0,0,0,.16); }
.fv-sidebar-logout { width: 100%; border: 0; background: transparent; text-align: left; }
@keyframes fv-text-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fv-text-pop { from { opacity: 0; scale: .82; } to { opacity: 1; scale: 1; } }
@keyframes fv-text-slide-up { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
.fv-media-result { overflow: hidden; border: 1px solid #e2e5ec; border-radius: 11px; background: #fff; box-shadow: 0 4px 14px rgba(20,24,39,.06); }
.fv-media-result.is-selected { border-color: var(--fv-primary); box-shadow: 0 0 0 3px rgba(118,87,255,.15); }
.fv-media-result-preview { display: block; width: 100%; height: 145px; object-fit: cover; background: #e8eaf0; }
.fv-media-tabs { gap: .35rem; overflow-x: auto; flex-wrap: nowrap; border-bottom: 1px solid #edf0f5; }
.fv-media-tabs .nav-link { min-height: 42px; white-space: nowrap; border-radius: 10px 10px 0 0; }
.fv-media-tabs .nav-link.active { background: var(--fv-primary); }
.fv-media-pager { display: flex; align-items: center; justify-content: center; padding-top: .4rem; }
.fv-media-pager .btn { min-width: 92px; }
.fv-empty-media { padding: 2.5rem 1rem; color: #858a9c; border: 2px dashed #d9dce5; border-radius: 13px; background: #fafbfc; }
.fv-library-card { overflow: hidden; border: 1px solid #e2e5ec; border-radius: 11px; background: #fff; }
.fv-library-card img, .fv-library-card video { display: block; width: 100%; height: 135px; object-fit: cover; background: #e8eaf0; }
.fv-library-audio-cover { display: grid; height: 150px; color: #fff; place-items: center; background: radial-gradient(circle at 25% 20%, rgba(20,216,180,.34), transparent 34%), linear-gradient(135deg, #252741, #7048ec); font-size: 2.4rem; }
.fv-library-hero { display: flex; gap: 2rem; align-items: center; justify-content: space-between; padding: 2rem; color: #fff; border-radius: 20px; background: radial-gradient(circle at 85% 15%, rgba(20,216,180,.35), transparent 28%), linear-gradient(135deg, #252741, #7048ec); box-shadow: 0 20px 55px rgba(52,42,112,.22); }
.fv-library-hero p { max-width: 760px; color: rgba(255,255,255,.8); line-height: 1.55; }
.fv-library-hero-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.14); font-size: 1.35rem; }
.fv-personal-library-grid .fv-library-card img, .fv-personal-library-grid .fv-library-card video { height: 210px; }
.fv-library-toolbar { border: 0; box-shadow: 0 10px 26px rgba(24,24,45,.07); }
.fv-library-toolbar .form-control { min-width: 170px; }
.fv-library-list-preview { display: flex; width: 58px; height: 48px; overflow: hidden; flex: 0 0 58px; align-items: center; justify-content: center; color: #fff; border-radius: 10px; background: linear-gradient(135deg, #24243e, #7148f5); }
.fv-library-list-preview img { width: 100%; height: 100%; object-fit: cover; }
.fv-library-list td { vertical-align: middle; }
.fv-library-section-heading { display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.fv-library-section-heading h3 { font-size: 1.35rem; font-weight: 700; }
.fv-library-section-heading > .badge { min-width: 2rem; padding: .45rem .6rem; border-radius: 999px; }
.fv-compiled-video-card { border-color: rgba(112,72,236,.3); box-shadow: 0 12px 30px rgba(52,42,112,.09); }
.fv-library-card-actions .btn + .btn { margin-top: .5rem; }
.fv-upload-panel { padding: 1.5rem; border: 2px dashed #c7c0ec; border-radius: 16px; background: linear-gradient(145deg, #fff, #f9f8ff); }
.fv-upload-icon { display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: .8rem; color: var(--fv-primary); border-radius: 12px; background: rgba(118,87,255,.11); font-size: 1.2rem; }
.fv-upload-preview { display: flex; min-height: 275px; overflow: hidden; flex-direction: column; gap: .65rem; align-items: center; justify-content: center; color: #8a90a2; border: 1px solid #e1e4ec; border-radius: 16px; background: #eef0f5; }
.fv-upload-preview img, .fv-upload-preview video { display: block; width: 100%; height: 275px; object-fit: contain; background: #111322; }
.fv-ai-media-modal { overflow: hidden; border: 1px solid rgba(118,87,255,.28); border-radius: 20px; box-shadow: 0 28px 90px rgba(17,19,34,.35); }
.fv-ai-type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.fv-ai-type-grid > input { position: absolute; opacity: 0; pointer-events: none; }
.fv-ai-type-card { display: flex; gap: .8rem; align-items: center; min-height: 82px; margin: 0; padding: .9rem 1rem; cursor: pointer; border: 2px solid #e2e5ec; border-radius: 14px; background: #fff; transition: .16s ease; }
.fv-ai-type-card strong, .fv-ai-type-card small { display: block; }
.fv-ai-type-card small { margin-top: .15rem; color: #73798a; line-height: 1.3; }
.fv-ai-type-grid > input:checked + .fv-ai-type-card { border-color: var(--fv-primary); background: rgba(118,87,255,.06); box-shadow: 0 0 0 3px rgba(118,87,255,.1); }
.fv-ai-type-grid > input:disabled + .fv-ai-type-card { cursor: not-allowed; opacity: .52; }
.fv-music-panel { overflow: hidden; border: 1px solid rgba(118,87,255,.12); }
.fv-music-panel .card-header { min-height: 78px; background: linear-gradient(135deg, rgba(118,87,255,.05), rgba(20,216,180,.035)); }
.fv-music-empty { min-height: 68px; }
.fv-music-empty { gap: .75rem; }
.fv-music-modal { overflow: hidden; border: 1px solid rgba(118,87,255,.28); border-radius: 18px; box-shadow: 0 28px 90px rgba(17,19,34,.35); }
.fv-music-recommendation { display: flex; gap: .8rem; align-items: center; padding: .9rem 1rem; border: 1px solid rgba(118,87,255,.22); border-radius: 14px; background: linear-gradient(135deg, rgba(118,87,255,.08), rgba(20,216,180,.05)); }
.fv-music-recommendation strong, .fv-music-recommendation small { display: block; }
.fv-music-recommendation small { margin-top: .28rem; color: #72788a; line-height: 1.4; }
.fv-music-moods { gap: .4rem; }
.fv-music-moods .btn { border-radius: 999px; }
.fv-music-result { overflow: hidden; border: 1px solid #e2e5ec; border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(28,32,54,.05); }
.fv-music-result:hover { border-color: #c4bbed; box-shadow: 0 8px 24px rgba(60,45,130,.1); }
.fv-music-result strong + small { margin-top: .25rem; line-height: 1.4; }
.fv-upload-workspace { padding: 1rem; border-radius: 16px; background: #f7f7fb; }
.fv-upload-dropzone { max-width: 680px; margin: 0 auto; padding: 2rem; border: 2px dashed #c7c0ec; border-radius: 16px; background: #fff; text-align: center; }
.fv-upload-cloud { display: inline-grid; width: 56px; height: 56px; margin-bottom: .8rem; color: var(--fv-primary); place-items: center; border-radius: 16px; background: rgba(118,87,255,.1); font-size: 1.35rem; }
.fv-preview-music { padding: .55rem .75rem; border: 1px solid #e4e6ed; border-radius: 10px; background: #fafbfc; }
.fv-scene-anchor:target td { animation: fv-scene-highlight 2.4s ease; }
@keyframes fv-scene-highlight { 0%, 55% { background: rgba(118,87,255,.13); } 100% { background: transparent; } }
.fv-file-selection { display: inline-block; max-width: min(420px, 100%); overflow: hidden; vertical-align: middle; text-overflow: ellipsis; white-space: nowrap; }
.fv-selected-materials { display: grid; gap: .65rem; }
.fv-selected-material { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .85rem; border: 1px solid #e2e4ee; border-radius: 12px; background: #fff; }
.fv-selected-material-copy { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.fv-selected-material-copy i { color: var(--fv-primary); }
.fv-selected-material-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fv-selected-material-actions { display: flex; align-items: flex-end; gap: .5rem; }
.fv-remove-material { white-space: nowrap; }
.fv-material-placement { min-width: 185px; margin: 0; }
.fv-material-placement > span { display: block; margin-bottom: .2rem; color: #6d7384; font-size: .72rem; font-weight: 700; }
@media (max-width: 575.98px) { .fv-selected-material { align-items: stretch; flex-direction: column; } .fv-selected-material-actions { align-items: stretch; flex-direction: column; } .fv-material-placement { min-width: 0; } .fv-remove-material { align-self: flex-start; padding-left: 0; } }
.fv-workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.fv-workflow-step { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; color: #62687a; border: 1px solid #e2e5ec; border-radius: 12px; background: #fff; }
.fv-workflow-step > span { display: inline-flex; flex: 0 0 30px; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #e8eaf0; font-weight: 700; }
.fv-workflow-step strong, .fv-workflow-step small { display: block; }
.fv-workflow-step small { margin-top: .18rem; line-height: 1.35; }
.fv-workflow-step.is-complete > span { color: #fff; background: var(--fv-accent); }
.fv-workflow-step.is-current { color: var(--fv-ink); border-color: rgba(118,87,255,.45); box-shadow: 0 0 0 3px rgba(118,87,255,.08); }
.fv-workflow-step.is-current > span { color: #fff; background: var(--fv-primary); }
@media (max-width: 767.98px) { .fv-workflow { grid-template-columns: 1fr; } }
.fv-preview-stage { position: relative; container-type: size; width: 100%; max-height: 72vh; margin: 0 auto; overflow: hidden; color: #fff; background: radial-gradient(circle at 30% 25%, #41377a, #111322 65%); border-radius: 16px; box-shadow: 0 24px 70px rgba(17,19,34,.25); }
.fv-preview-stage.is-landscape { aspect-ratio: 16 / 9; }
.fv-preview-stage.is-portrait { width: min(100%, 420px); aspect-ratio: 9 / 16; }
.fv-preview-stage.is-square { width: min(100%, 680px); aspect-ratio: 1 / 1; }
.fv-preview-media { width: 100%; height: 100%; object-fit: cover; }
.fv-preview-fallback { display: flex; position: absolute; inset: 0; flex-direction: column; align-items: center; justify-content: center; color: rgba(255,255,255,.68); }
.fv-preview-caption { position: absolute; right: 7%; bottom: 11%; left: 7%; z-index: 2; padding: .55em .8em; color: #fff; background: rgba(8,10,18,.72); border-radius: 10px; font-size: clamp(1rem, 2.5vw, 2rem); font-weight: 700; line-height: 1.25; text-align: center; text-shadow: 0 2px 4px rgba(0,0,0,.4); }
.fv-preview-caption.is-top { top: 8%; bottom: auto; }
.fv-preview-caption.is-center { top: 50%; bottom: auto; transform: translateY(-50%); }
.fv-preview-caption.is-bottom { bottom: 11%; }
.fv-preview-brand { position: absolute; right: 16px; bottom: 12px; color: rgba(255,255,255,.78); font-size: .72rem; font-weight: 600; text-shadow: 0 1px 3px #000; }
.fv-preview-enter { animation: fv-preview-fade .35s ease; }
@keyframes fv-preview-fade { from { opacity: .35; } to { opacity: 1; } }
.fv-status-badge { text-transform: lowercase; }
.small-box { border-radius: 14px; overflow: hidden; box-shadow: 0 8px 30px rgba(28,32,54,.08); }
.bg-fv-primary { background: linear-gradient(135deg, var(--fv-primary), #9775ff); color: #fff; }
.bg-fv-dark { background: linear-gradient(135deg, #252741, #17182a); color: #fff; }
.bg-fv-accent { background: linear-gradient(135deg, #0dbb9b, var(--fv-accent)); color: #fff; }

@media (max-width: 991.98px) {
    .fv-landing-nav .navbar-collapse { padding: 1rem 0 .35rem; border-top: 1px solid rgba(255,255,255,.08); }
    .fv-public-menu { gap: .2rem; margin-bottom: .9rem; }
    .fv-public-menu .nav-link { padding-right: .75rem !important; padding-left: .75rem !important; }
    .fv-public-actions { align-items: stretch; flex-direction: column; }
    .fv-public-actions .btn { width: 100%; }
}

@media (max-width: 767.98px) {
    .fv-library-toolbar .form-inline, .fv-library-toolbar .form-control { width: 100%; }
    .fv-library-toolbar .form-control { margin: 0 0 .5rem !important; }
    .fv-hero { padding-top: 4rem; }
    .fv-hero h1 { font-size: 3rem; }
    .fv-hero-actions { align-items: stretch !important; flex-direction: column; }
    .fv-hero-actions .btn { width: 100%; }
    .fv-public-hero { padding: 4rem 0 3.25rem; }
    .fv-public-section { padding: 3.5rem 0; }
    .fv-public-cta { padding: 3.5rem 0; }
    .fv-footer-links { width: 100%; justify-content: center; gap: .65rem 1rem; }
    .fv-footer-meta { font-size: .69rem; }
    .fv-footer-meta-separator { display: none; }
    .fv-feature-header { align-items: stretch; flex-direction: column; }
    .fv-feature-header-action { width: 100%; margin-left: 0; }
    .fv-feature-header-action.btn, .fv-feature-header-action .btn { width: 100%; min-height: 44px; }
    .fv-scene-editor-body { padding: .75rem; }
    .fv-story-section { margin-bottom: 1rem; border-radius: 15px; }
    .fv-story-section-header { gap: .65rem; min-height: 68px; padding: .85rem; }
    .fv-story-section-icon { flex-basis: 38px; width: 38px; height: 38px; border-radius: 11px; }
    .fv-story-section-title { max-width: 54vw; font-size: .96rem; }
    .fv-story-section-count { padding: .3rem .55rem; font-size: .68rem; }
    .fv-story-section-scenes { padding: .15rem .65rem .65rem; }
    .fv-scene-table, .fv-scene-table tbody, .fv-scene-table tr, .fv-scene-table td { display: block; width: 100%; }
    .fv-scene-table thead { display: none; }
    .fv-scene-table tbody { padding: 0; }
    .fv-scene-table tbody tr { margin-bottom: 1rem; overflow: hidden; border: 1px solid #dfe2ec; border-radius: 14px; background: #fff; filter: drop-shadow(0 6px 14px rgba(28,32,54,.08)); transform: none; }
    .fv-scene-table tbody tr:hover { filter: drop-shadow(0 6px 14px rgba(28,32,54,.08)); transform: none; }
    .fv-scene-table tbody td { padding: .7rem .8rem; border: 0; background: #fff; }
    .fv-scene-table tbody td:first-child { display: flex; gap: .55rem; align-items: center; padding: .65rem .8rem; border: 0; border-bottom: 1px solid #e5e7ef; border-radius: 0; background: linear-gradient(135deg, rgba(118,87,255,.08), rgba(20,216,180,.035)); text-align: left; }
    .fv-scene-number { width: 32px; height: 32px; border-radius: 10px; }
    .fv-scene-index small { display: inline; margin-top: 0; }
    .fv-scene-table td:nth-child(2) { padding-top: .8rem; }
    .fv-scene-table td:nth-child(4)::before { display: block; margin-bottom: .3rem; content: "Duración"; color: #6c757d; font-size: .8rem; font-weight: 600; }
    .fv-scene-table td:last-child { padding-top: .25rem; }
    .fv-scene-thumb { height: 100%; }
    .fv-editor-textarea { min-width: 0; }
    .fv-voice-row { grid-template-columns: 42px minmax(0, 1fr); align-items: end; }
    .fv-voice-speed-control { grid-column: 1 / -1; }
    .fv-master-voice { align-items: flex-start; flex-wrap: wrap; }
    .fv-master-voice > .btn { width: 100%; margin-top: .8rem; margin-left: 0 !important; min-height: 44px; }
    .fv-voice-sample { flex: 1 1 180px; min-width: 0; }
    #voicePickerModal .modal-dialog { margin: 0; }
    #voicePickerModal .modal-content { min-height: 100vh; border: 0; border-radius: 0; }
    .fv-scene-table .btn { min-height: 42px; }
    #mediaSearchModal .modal-dialog { margin: 0; }
    #mediaSearchModal .modal-content { min-height: 100vh; border: 0; border-radius: 0; }
    .fv-project-media-grid > [class*="col-"] { padding-right: 6px; padding-left: 6px; }
    .fv-media-result-preview, .fv-library-card img, .fv-library-card video { height: 30vw; min-height: 110px; }
    .fv-upload-panel .btn { width: 100%; min-height: 46px; }
    .fv-upload-preview, .fv-upload-preview img, .fv-upload-preview video { min-height: 210px; height: 210px; }
    .fv-ai-type-grid { grid-template-columns: 1fr; }
    .fv-credit-gate, .fv-library-hero { align-items: stretch; flex-direction: column; }
    .fv-credit-gate .btn, .fv-library-hero .btn { width: 100%; }
    #aiMediaModal .modal-dialog { margin: .5rem; }
    #musicPickerModal .modal-dialog { margin: 0; }
    #musicPickerModal .modal-content { min-height: 100vh; border: 0; border-radius: 0; }
    .fv-music-recommendation { align-items: stretch; flex-direction: column; }
    .fv-music-recommendation .btn { width: 100%; margin-left: 0 !important; }
    .fv-action-modal .btn { min-width: 130px; min-height: 44px; }
    .fv-file-selection { display: block; margin: .6rem 0 0 !important; text-align: center; }
    #textSettingsModal .modal-dialog { margin: 0; }
    #textSettingsModal .modal-content { min-height: 100vh; border: 0; border-radius: 0; }
    .fv-text-preview-stage { min-height: 250px; }
    .fv-text-mode-card .badge { display: none; }
}


/* Scene media framing: controls and live preview share the final aspect ratio. */
.fv-media-framing-modal { overflow: hidden; border: 1px solid rgba(118,87,255,.24); border-radius: 18px; }
.fv-media-framing-stage { position: relative; width: 100%; min-height: 320px; max-height: 72vh; overflow: hidden; touch-action: none; cursor: grab; border-radius: 14px; background: #0c0f1b; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.fv-media-framing-stage.is-landscape { width: min(100%, 128vh); min-height: 0; max-height: none; aspect-ratio: 16 / 9; margin-inline: auto; }
.fv-media-framing-stage.is-square { width: min(100%, 72vh); min-height: 0; max-height: none; aspect-ratio: 1 / 1; margin-inline: auto; }
.fv-media-framing-stage.is-portrait { width: min(100%, 40.5vh); min-height: 0; max-height: none; aspect-ratio: 9 / 16; margin-inline: auto; }
.fv-media-framing-stage:active,
.fv-media-framing-stage.is-dragging { cursor: grabbing; }
.fv-media-framing-media { display: block; width: 100%; height: 100%; background: #0c0f1b; user-select: none; pointer-events: none; transition: transform .12s ease-out; }
.fv-media-framing-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); }
.fv-media-framing-tip { display: flex; align-items: center; gap: .5rem; padding: .55rem .7rem; color: #4c3f88; font-size: .78rem; font-weight: 650; border: 1px solid #ddd5ff; border-radius: 10px; background: #f8f6ff; }
.fv-media-framing-tip i { color: #6f4cff; }
.fv-media-fit-options { display: grid; gap: .55rem; }
.fv-media-fit-options .btn { display: block; padding: .75rem; text-align: left; border-radius: 11px; }
.fv-media-fit-options .btn strong, .fv-media-fit-options .btn small { display: block; }
.fv-media-fit-options .btn small { margin-top: .2rem; color: #747a8c; white-space: normal; }
.fv-media-fit-options .btn.is-active { color: #fff; border-color: var(--fv-primary); background: var(--fv-primary); }
.fv-media-fit-options .btn.is-active small { color: rgba(255,255,255,.78); }
.fv-media-zoom-control { display: grid; grid-template-columns: 38px minmax(0,1fr) 38px; gap: .65rem; align-items: center; }
.fv-media-zoom-control .btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; }
.fv-media-zoom-control .custom-range { margin: 0; }
.fv-upload-size-warning { color: #9b5b00 !important; font-weight: 600; }
@media (max-width: 767.98px) {
    #mediaFramingModal .modal-dialog { margin: 0; }
    #mediaFramingModal .modal-content { min-height: 100vh; border: 0; border-radius: 0; }
}


/* External identity providers */
.fv-provider-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: .65rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: .55rem;
    background: #fff;
    color: #1f2937;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease, transform .15s ease;
}

.fv-provider-button:hover,
.fv-provider-button:focus {
    border-color: #94a3b8;
    background: #f8fafc;
    color: #111827;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .12);
    transform: translateY(-1px);
}

.fv-provider-button:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(117, 79, 255, .22);
}

.fv-provider-icon {
    position: absolute;
    left: 1rem;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}


/* Public legal and authentication failure surfaces */
.fv-account-legal-links,
.fv-app-legal-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .35rem .75rem;
}

.fv-account-legal-links {
    gap: .35rem .85rem;
    font-size: .78rem;
}

.fv-account-legal-links a,
.fv-app-legal-links a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(148, 163, 184, .55);
    text-underline-offset: 3px;
}

.fv-legal-document {
    max-width: 960px;
    color: #1f2937;
}

.fv-legal-document h1 {
    margin-bottom: .35rem;
    font-weight: 800;
}

.fv-legal-document h2 {
    margin-top: 2rem;
    font-size: 1.25rem;
    font-weight: 750;
}

.fv-public-error-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 760px;
    padding: 2rem;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 1rem;
    background: #fff;
    color: #1f2937;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
}

.fv-public-error-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 1rem;
    background: rgba(117, 79, 255, .12);
    color: #754fff;
    font-size: 1.65rem;
}

.fv-difference-section {
    background: #f6f7fb;
    color: #111827;
}

.fv-difference-card {
    padding: 1.6rem;
    border: 1px solid rgba(117, 79, 255, .14);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

.fv-difference-card h3 {
    margin: 1rem 0 .65rem;
    font-size: 1.2rem;
    font-weight: 750;
}

.fv-difference-card p {
    margin: 0;
    color: #64748b;
}

.fv-difference-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: .85rem;
    background: linear-gradient(135deg, #754fff, #9d6cff);
    color: #fff;
    font-size: 1.15rem;
}

@media (max-width: 575.98px) {
    .fv-public-error-card {
        display: block;
        padding: 1.4rem;
    }

    .fv-public-error-icon {
        margin-bottom: 1rem;
    }
}
.fv-surprise-idea-box {
  gap: .75rem;
  padding: .85rem 1rem;
  border: 1px solid #e2dcff;
  border-radius: 13px;
  background: linear-gradient(120deg, #fbfaff, #f4f0ff);
}

.fv-surprise-idea-button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #7047eb, #8b5cff);
  box-shadow: 0 7px 18px rgba(112, 71, 235, .22);
}

.fv-surprise-idea-button:hover,
.fv-surprise-idea-button:focus {
  color: #fff;
  background: linear-gradient(135deg, #6039dc, #7d4ff2);
  transform: translateY(-1px);
}

.fv-surprise-idea-button:disabled {
  color: #fff;
  opacity: .7;
}

.fv-surprise-idea-box #surpriseIdeaStatus {
  flex: 1 1 320px;
  margin-left: 0 !important;
}


/* AutoVideo history: compact list and transparent AI evidence modal. */
.fv-auto-history { margin-top: 1.25rem; margin-bottom: 0; }
.fv-auto-draft-list { display: flex; flex-direction: column; }
.fv-auto-draft-row { display: grid; grid-template-columns: minmax(150px,.7fr) minmax(260px,2fr) auto; gap: 1rem; align-items: center; padding: 1rem .25rem; border-bottom: 1px solid #edf0f6; }
.fv-auto-draft-row:last-child { border-bottom: 0; }
.fv-auto-draft-state { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.fv-auto-draft-state small,.fv-auto-draft-main p { margin: 0; color: #70798a; font-size: .78rem; }
.fv-auto-draft-main h4 { margin: 0 0 .3rem; color: #252943; font-size: 1rem; font-weight: 800; }
.fv-auto-draft-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.fv-auto-draft-toolbar { display: flex; gap: 1rem; align-items: center; padding: .75rem .25rem 1rem; border-bottom: 1px solid #edf0f6; }
.fv-auto-draft-table-wrap { border: 1px solid #e7eaf2; border-radius: 14px; overflow: hidden; }
.fv-auto-draft-table { min-width: 860px; }
.fv-auto-draft-table thead th { padding: .8rem .75rem; color: #697082; border-top: 0; border-bottom: 1px solid #e4e7ef; background: #f8f9fc; font-size: .72rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; white-space: nowrap; }
.fv-auto-draft-table tbody td { padding: .85rem .75rem; vertical-align: middle; border-top: 1px solid #edf0f6; }
.fv-auto-draft-table tbody tr:first-child td { border-top: 0; }
.fv-auto-draft-table tbody tr:hover { background: #fbfaff; }
.fv-auto-check-col { width: 46px; text-align: center; }
.fv-auto-draft-title-cell { min-width: 260px; max-width: 440px; }
.fv-auto-draft-title-cell strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fv-auto-draft-table .fv-auto-draft-actions { flex-wrap: nowrap; }
.fv-auto-details-modal { overflow: hidden; border: 0; border-radius: 20px; box-shadow: 0 24px 70px rgba(27,29,58,.22); }
.fv-auto-details-modal .modal-header { align-items: flex-start; border-bottom-color: #ece9fa; background: linear-gradient(135deg,#faf8ff,#f1fbfd); }
.fv-auto-details-modal .modal-title { margin-top: .25rem; color: #242842; font-weight: 800; }
.fv-auto-details-meta { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; margin-bottom: 1.25rem; padding: .75rem 1rem; border-radius: 12px; background: #f6f7fb; color: #596176; font-size: .82rem; }
.fv-auto-details-modal section + section { margin-top: 1.25rem; }
.fv-auto-details-modal h5 { color: #39345d; font-size: .95rem; font-weight: 800; }
.fv-auto-details-modal p { color: #596176; line-height: 1.55; }
.fv-auto-evidence-list { margin: 0 0 .65rem; padding-left: 1.2rem; }
.fv-auto-evidence-list li { margin-bottom: .45rem; overflow-wrap: anywhere; color: #4e576b; }
@media (max-width: 767px) {
  .fv-auto-draft-row { grid-template-columns: 1fr; align-items: stretch; }
  .fv-auto-draft-actions { justify-content: flex-start; }
  .fv-auto-draft-toolbar { align-items: stretch; flex-direction: column; }
  .fv-auto-draft-toolbar > .d-flex { margin-left: 0 !important; justify-content: space-between; }
}


/* Web-media permission gate stays clickable so a locked Use action can explain why. */
.fv-web-media-result,
.fv-bulk-media-result { position: relative; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.fv-web-media-result.is-multi-selected,
.fv-bulk-media-result.is-multi-selected,
.fv-media-result.is-multi-selected {
    border-color: var(--fv-primary);
    box-shadow: 0 0 0 3px rgba(118,87,255,.18), 0 8px 22px rgba(44,34,82,.1);
    transform: translateY(-1px);
}
.fv-web-media-check {
    position: absolute;
    z-index: 6;
    top: .55rem;
    right: .55rem;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: 0;
    cursor: pointer;
    border-radius: 10px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 3px 12px rgba(0,0,0,.18);
}
.fv-web-media-select { width: 18px; height: 18px; margin: 0; accent-color: var(--fv-primary); cursor: pointer; }
.fv-web-bulk-toolbar {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: .75rem .85rem;
    border: 1px solid #ddd6ff;
    border-radius: 12px;
    background: linear-gradient(135deg, #fbfaff, #f4f1ff);
    box-shadow: 0 7px 20px rgba(65,52,128,.06);
}
.fv-web-bulk-summary { min-width: 0; }
.fv-web-bulk-summary strong,
.fv-web-bulk-summary small { display: block; }
.fv-web-bulk-summary strong { color: #493a91; }
.fv-web-bulk-actions { display: flex; gap: .55rem; flex: 0 0 auto; }
.fv-web-bulk-actions .btn { min-width: 150px; }
@media (max-width: 767.98px) {
    .fv-web-bulk-toolbar { align-items: stretch; flex-direction: column; }
    .fv-web-bulk-actions { width: 100%; }
    .fv-web-bulk-actions .btn { flex: 1 1 0; min-width: 0; }
}
.fv-use-web-media.is-rights-locked { opacity: .58; filter: saturate(.65); cursor: help; }
.fv-use-web-media.is-rights-locked:hover,
.fv-use-web-media.is-rights-locked:focus { opacity: .78; }
.fv-web-rights-tip { padding: .55rem .7rem; color: #6b5200; border: 1px solid #ead78e; border-radius: 9px; background: #fff9df; font-size: .8rem; font-weight: 600; }
#webMediaRightsControl.fv-rights-attention { padding: .45rem .55rem; margin-left: -.55rem; border-radius: 9px; background: rgba(255,193,7,.13); box-shadow: 0 0 0 2px rgba(255,193,7,.18); }

/* Scene visual sequence browser */
.fv-scene-visual-sequence {
    min-width: 0;
    contain: inline-size;
}

.fv-sequence-heading {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    margin-bottom: .45rem;
}

.fv-sequence-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
    width: 100%;
    gap: .55rem;
    padding: .15rem .15rem .55rem;
}

.fv-scene-visual-add-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.fv-scene-visual-add-actions > .btn {
    flex: 1 1 135px;
    white-space: normal;
}

.fv-sequence-item {
    position: relative;
    min-width: 0;
    padding: .2rem;
    border: 1px solid #dfe3f0;
    border-radius: .7rem;
    background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.fv-sequence-item.is-active {
    border-color: #6f4cff;
    box-shadow: 0 0 0 2px rgba(111, 76, 255, .16);
    transform: translateY(-1px);
}

.fv-sequence-preview {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #25283d;
    text-align: left;
}

.fv-sequence-preview:focus-visible {
    outline: 2px solid #6f4cff;
    outline-offset: 2px;
    border-radius: .5rem;
}

.fv-sequence-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: .5rem;
    background: #111526;
}

.fv-sequence-thumb img,
.fv-sequence-thumb video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
}

.fv-sequence-number {
    position: absolute;
    top: .3rem;
    left: .3rem;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 .3rem;
    border-radius: 999px;
    background: rgba(17, 21, 38, .88);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.35rem;
    text-align: center;
}

.fv-sequence-kind {
    position: absolute;
    right: .3rem;
    bottom: .3rem;
    padding: .12rem .3rem;
    border-radius: .3rem;
    background: rgba(17, 21, 38, .82);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
}

.fv-sequence-name {
    display: block;
    margin: .35rem .15rem .1rem;
    overflow: hidden;
    color: #30334a;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fv-sequence-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 1.65rem;
    border-top: 1px solid #eceef5;
}

.fv-sequence-actions form {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
}

.fv-sequence-actions > .btn {
    flex: 1 1 0;
}

.fv-sequence-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 1.65rem;
    padding: 0 .1rem;
    line-height: 1;
}

.fv-scene-media-card {
    position: relative;
}

.fv-sequence-inspection {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    border-radius: inherit;
    background: #111526;
}

.fv-sequence-inspection > .fv-scene-thumb {
    width: 100%;
    height: 100%;
}

.fv-sequence-inspection-label {
    position: absolute;
    left: .55rem;
    right: .55rem;
    bottom: .55rem;
    z-index: 2;
    overflow: hidden;
    padding: .3rem .5rem;
    border-radius: .4rem;
    background: rgba(17, 21, 38, .84);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .fv-sequence-item {
        flex-basis: 104px;
    }

    .fv-sequence-heading small.text-muted {
        line-height: 1.25;
    }
}


