/* Fábrica de Personagens — visual noturno: alteração de interface apenas. */
:root{--paper:#081325;--navy:#f2f7ff;--muted:#a5b8d4;--line:#263d5b;--sky:#163a65;--blue:#2097ff;color-scheme:dark}
body{background:radial-gradient(ellipse 1200px 700px at 75% -10%,#143966 0%,#08182d 55%,#061021 100%) fixed;color:var(--navy)}
.sidebar{background:#0b1b34;border-right:1px solid #24466b;box-shadow:8px 0 36px #0002}
.brand>span{color:#a9c8ee}.side-label,.small-label{color:#88a4c7}
.nav-item{color:#aec1dd}.nav-item:hover{background:#193a62;color:#f7fbff}.nav-item.active{background:#173f70;color:#79c2ff}
.nav-item small,.icon-btn{background:#16345a;color:#f2f8ff;border-color:#2a547e}
.topbar{background:rgba(8,22,44,.91);border-bottom-color:#244063;backdrop-filter:blur(14px)}
.breadcrumb strong{color:#eff8ff}.breadcrumb span{color:#6890bc}.avatar{background:linear-gradient(145deg,#168bff,#07559e);color:white}
.version-pill{color:#8caccf} .topbar-right{gap:12px;flex-wrap:wrap}
.fdp-login-trigger{background:#17385e;color:#d7ebff;border:1px solid #315b8a;padding:8px 14px;border-radius:10px;font-size:12px;font-weight:700}.fdp-login-trigger:hover{background:#22528a}
.eyebrow{color:#82b9eb}em,.title-star{color:#42adff}.welcome p:not(.eyebrow){color:#adc3dd}
.editor,.project-card,.learn-card,.saved-card,.example-card,.profile-preview,.library-empty,.video-card,.tool-card{background:#10233d!important;border-color:#294668!important;box-shadow:0 10px 26px #020e2080!important;color:#f2f8ff}
.step-tabs{background:#0b1d36}.step-tabs button{color:#9eb8d8}.step-tabs button[aria-selected=true]{color:#6ac1ff}
.step-tabs button>span{background:#19365a;color:#bcdcff}.step-tabs button[aria-selected=true]>span{background:#168bff;color:white}
.editor-body,.step-panel{background:#10233d;color:#f2f7ff}.step-description,.field-label span,.field-hint,.learn-card>p,.path-card p,.learn-view .library-heading p:not(.eyebrow){color:#b0c4e1}
.step-panel h3,.step-panel h4,.learn-card h2,.learning h2,.library-heading h1,.project-card h3,.modal-title{color:#f2f7ff}
.field-label{color:#e7f2ff}
input:not([type=file]),textarea,.learn-view select{background:#0c1b30;border-color:#355274;color:#edf6ff}
input::placeholder,textarea::placeholder{color:#7190b2}
.name-preview,.learn-banner,.tip,.combination-example,.base-example,.prompt-card,.prompt-top,.project-cover,.profile-avatar,.video-guidance{background:linear-gradient(125deg,#153255,#102741)!important;border-color:#315983!important;color:#e8f4ff}
.name-preview p,.name-preview small,.tip p,.learn-banner p,.combination-example>p{color:#b0c7e2}
.tip strong{color:#d7eafa}
.number-badge,.tool-symbol,.upload-icon{color:#91cfff;background:#173c67;border-color:#365b89}
.dropzone,.combination-photo,.single-preview,.reference-gallery,.motion-character-image,.mini-prompt{background:#0d1f39;border-color:#355779;color:#c6dcf6}
.project-cover{background:linear-gradient(120deg,#122c4e,#101f35)!important}
.progress-track{background:#26405f}.progress-track i{background:#279fff}
.fdp-module-hub{background:linear-gradient(125deg,#112e50,#0a1c34)!important;border:1px solid #264d77!important;box-shadow:0 16px 44px #030c1c75!important}
.fdp-module-head h2{color:#f3faff}.fdp-module-subtitle{color:#a9bfdb!important}
.fdp-module-card{background:#122640!important;border-color:#30577f!important;color:#f4faff!important;box-shadow:0 8px 28px #03142b70!important}
.fdp-module-card strong{color:#f4faff!important}.fdp-module-description{color:#adc6e0!important}.fdp-module-open{color:#78c2ff!important}
.fdp-module-quicklinks button{background:#152e50!important;color:#deeeff!important;border-color:#2c5481!important}
.fdp-module-arrow{background:#18385e!important;color:#e5f3ff!important;border-color:#345e90!important}
.fdp-start-tip{border-top:1px solid #29496d;padding:19px 0 0;margin:28px 0 4px;color:#a6bdd8;font-size:12px}
.learn-banner .tool-mode.free{background:#194b45;color:#99f5d3}.tool-mode{background:#1d3958;color:#b7daf9}
.pending-tutorial{border-color:#294764;color:#acc4df}.pending-tutorial summary{color:#e8f5ff}
.tutorial-media{background:#07152a}.tutorial-card .field-hint{color:#a8c4df}
.video-filter{background:#132b47;color:#bcd4f0;border-color:#31587f}.video-filter:hover{background:#1b416b}
.video-preview-note{background:#142f4b!important;color:#bddef7!important;border-color:#2f608a!important}
.video-grid,.video-filters,.library-grid{min-width:0}
#video-dialog,.video-info{background:#10223d!important;color:#f0f8ff}
dialog{background:#10223d!important;color:#f0f8ff!important;border:1px solid #345c86}
.local-notice{background:#13243b;color:#b2c6df!important;border-color:#2b4668}
footer{color:#90aac8;border-top-color:#284361}
.fdp-video-lock{margin:24px auto 32px;max-width:630px;padding:44px 28px;text-align:center;background:linear-gradient(150deg,#17385f,#0b1b34);border:1px solid #37618c;border-radius:22px;box-shadow:0 15px 40px #0005}
.fdp-lock-icon{font-size:36px;margin-bottom:10px}.fdp-video-lock h2{font-size:26px;margin:5px 0 10px}.fdp-video-lock p,.fdp-video-lock small{color:#bcd0e6;display:block}.fdp-video-lock p{max-width:460px;margin:0 auto 22px}.fdp-video-lock small{font-size:10px;margin-top:13px}
.fdp-video-locked #video-filters,.fdp-video-locked #video-grid,.fdp-video-locked #video-search,.fdp-video-locked #video-count,.fdp-video-locked #video-empty,.fdp-video-locked #video-error{display:none!important}
.fdp-login-dialog{width:min(460px,95vw);max-width:95vw;padding:34px!important;border-radius:18px}.fdp-login-close{position:absolute;right:12px;top:10px;background:#183a60;border:1px solid #355d88;border-radius:9px;color:white;font-size:22px;padding:2px 10px}.fdp-login-head{font-size:9px;color:#71baff;font-weight:800;letter-spacing:1.5px;margin-bottom:18px}.fdp-login-dialog h2{font-size:30px;margin:0 0 12px}.fdp-login-dialog p{color:#b8cbe3;font-size:13px}.fdp-login-dialog form{display:flex;flex-direction:column;gap:11px;margin-top:24px}.fdp-login-dialog input{border:1px solid #345b83;background:#081931;padding:13px;border-radius:10px;color:white}.fdp-login-dialog label{font-size:12px;font-weight:700}.fdp-login-dialog .btn{margin-top:9px}.fdp-login-dialog #fdp-login-message{font-size:11px;margin-top:24px}
@media(max-width:640px){.fdp-login-trigger{font-size:10px;padding:7px 9px}.topbar-right{gap:6px}.version-pill{display:none}.fdp-module-hub{padding:20px 15px!important}}
