/* APPS WISE Games V70.46 — Alienware Ice: acabamento completo de interface.
 * ATENÇÃO: limita-se ao body.wise7039-light. Não altera sprites, texturas,
 * canvas do layout nem o runtime do jogo. Tema Dark preservado integralmente.
 */
body.wise7039-light{
 color-scheme:light;
 --wise46-paper:#f8fcff;--wise46-surface:#eaf5fc;--wise46-soft:#d9edf8;
 --wise46-line:#aecfdf;--wise46-ink:#123b52;--wise46-muted:#42677c;
 --wise46-accent:#087fa9;--wise46-accent-hover:#075b7c;
 --wise52-edge:#aacadd;--wise52-fine:#c6dfec;--wise52-empty:#f9fcff;
 --bg-base:#edf5fb;--bg-panels:#f8fcff;--text-main:#173e55;
 --bg-sheet:#ffffff;--text-light:#103c55;--event-bg:#f3f9fe;
 --event-border:#adc9dd;--border-color:#bad2e1;
 background:#edf5fb!important;color:var(--wise46-ink)!important;
}
/* O menu superior, barras de comando e status pertencem ao editor (não ao jogo). */
body.wise7039-light :is(.main-header,.main-menu,.toolbar,.center-tabs,#wise-editor-status){
 background:#f7fbff!important;color:#1a465d!important;border-color:#b9d4e5!important;
}
body.wise7039-light .main-header{background:linear-gradient(90deg,#fff,#e8f5fd)!important}
body.wise7039-light :is(.main-header .title,.main-menu button,.toolbar button,#wise-editor-status span,#wise-status-info){color:#17445e!important}
body.wise7039-light :is(.main-menu button,.toolbar button){background:transparent!important;border-color:transparent!important}
body.wise7039-light :is(.main-menu button,.toolbar button):hover{background:#d9eefb!important;color:#075d85!important}
body.wise7039-light #btn-exportar{background:#e8f5fb!important;color:#08739b!important;border:1px solid #b7d4e3!important}
body.wise7039-light #btn-exportar :is(i,span){color:#08739b!important}
body.wise7039-light #wise69-toolbar{background:#e5f7f8!important;color:#126077!important;border:1px solid #9dd4d7!important}
body.wise7039-light .wise-header-actions{background:transparent!important}
body.wise7039-light .wise-header-actions :is(a,button){background:#e8f4fc!important;color:#0e5274!important;border:1px solid #a9cddf!important}
body.wise7039-light .wise-header-actions :is(a,button):hover{background:#d1eafb!important;color:#064d72!important}
body.wise7039-light #zero-menu-about{background:#e6f2fa!important;color:#17526e!important}
body.wise7039-light #wise-editor-status{box-shadow:none!important}
body.wise7039-light #wise-editor-status span{border-color:#d3e5ef!important}
/* Todos os menus e modais são claros, inclusive por trás das listas roláveis. */
body.wise7039-light .modal-overlay{background:rgba(39,82,110,.22)!important;backdrop-filter:blur(3px)}
body.wise7039-light :is(.modal-content,.dropdown-content,.modal-header,.modal-footer,.modal-grid){
 color:#173f58!important;border-color:#bad3e4!important;
}
body.wise7039-light .modal-content{background:#fbfdff!important}
body.wise7039-light .modal-header,body.wise7039-light .modal-footer{background:#e7f3fc!important}
body.wise7039-light .modal-grid,body.wise7039-light :is(.zero-picker-gallery,.zero-picker-category,#action-objects-grid){background:#fbfdff!important;color:#173c53!important}
body.wise7039-light :is(.zero-picker-fav-toolbar,.zero-picker-search-wrap,.zero-command-search-wrap){
 background:#e8f4fb!important;color:#24546f!important;border-color:#b7d4e4!important;
}
body.wise7039-light :is(.zero-picker-fav-meta,.zero-picker-count){color:#355d73!important}
body.wise7039-light .zero-picker-fav-toggle{background:#f8fcff!important;color:#17516e!important;border:1px solid #a6cbde!important}
body.wise7039-light .zero-picker-fav-toggle.active{background:#d5eefa!important;color:#075b82!important;border-color:#198db9!important}
body.wise7039-light .zero-picker-fav-star{background:transparent!important;color:#1b6890!important}
body.wise7039-light .zero-picker-fav-star[aria-pressed=true]{color:#885500!important}
body.wise7039-light .zero-picker-fav-star:hover{background:#d1ecf9!important}
body.wise7039-light :is(.zero-picker-cards .plugin-item,#modal-add-behavior .plugin-item,.action-list-item,.wise47-object-tile){
 background:#eef7fd!important;color:#153d57!important;border-color:#b7d4e4!important;
}
body.wise7039-light :is(.zero-picker-cards .plugin-item,.action-list-item,.wise47-object-tile):hover{
 background:#dbf0fc!important;color:#085578!important;border-color:#70b4d0!important;
}
body.wise7039-light .zero-picker-cards .plugin-item.selected{background:#c4e8f9!important;border-color:#087fa9!important;color:#064966!important}
body.wise7039-light .zero-picker-cards .plugin-item span{color:#204b65!important}
body.wise7039-light .zero-picker-description{background:#e9f5fd!important;border-left-color:#087fa9!important;color:#28526b!important}
body.wise7039-light .zero-picker-description :is(p,strong,small){color:#28526b!important}
body.wise7039-light .zero-picker-category h3{background:transparent!important;color:#0a6588!important}
body.wise7039-light .zero-picker-search-wrap input,body.wise7039-light .zero-command-search-wrap input{background:#fff!important;color:#1a435a!important;border-color:#a5c6d8!important}
body.wise7039-light #modal-config-command :is(.wise49-object-mark,.wise47-object-icon){background:#eff6fc!important;border-color:#b2cfdf!important}
body.wise7039-light #modal-config-command :is(.wise49-params-heading,.wise49-behavior-header,.wise49-variable-header){
 background:#e4f2fc!important;color:#174f72!important;border-left-color:#2c9bc1!important;
}
body.wise7039-light #modal-config-command :is(.wise49-behavior-header i,.wise49-behavior-command i,.wise49-variable-command i){color:#0b668b!important}
body.wise7039-light #modal-config-command :is(.wise49-behavior-command,.wise49-variable-command){
 background:#edf7fe!important;color:#15425b!important;border-color:#b1d1e3!important;
}
body.wise7039-light #modal-config-command :is(.wise49-behavior-command,.wise49-variable-command) span{color:#174763!important}
body.wise7039-light #modal-config-command .action-list-item.wise49-behavior-command:hover{background:#d8eefb!important;border-color:#73b5d1!important}
body.wise7039-light #modal-config-command .action-list-item.wise49-behavior-command.selected{background:#c4e7fa!important;outline:1px solid #0b86af!important}
body.wise7039-light #zero-expr-browser :is(.zero-expr-row,.wise49-expr-kind){color:#1b4761!important;border-color:#b7d1e0!important}
body.wise7039-light #zero-expr-browser .zero-expr-row:hover{background:#deeffb!important;border-color:#87b9d0!important}
body.wise7039-light #zero-expr-browser .wise49-expr-kind{background:#d9effc!important}
body.wise7039-light #zero-expr-browser .wise49-kind-variable{background:#dcf4e8!important;color:#145e47!important}
body.wise7039-light #zero-expr-browser .wise49-kind-behavior{background:#e9e5fa!important;color:#55449a!important}
/* Cada região da folha de eventos usa superfície clara e limites visíveis. */
body.wise7039-light #event-view,body.wise7039-light #events-list,body.wise7039-light #events-list .sub-events-list{
 background:#f2f8fd!important;color:#153d54!important;border-color:#b2d1e4!important;
}
body.wise7039-light #events-list .event-row-container>.event-block,
body.wise7039-light #events-list .sub-events-list>.event-row-container>.event-block,
body.wise7039-light #events-list .event-row-container>.event-block:hover{
 background:#fafdff!important;color:#153c56!important;border:1px solid #b0cfdf!important;box-shadow:none!important;
}
body.wise7039-light #events-list .event-row-container>.event-block::before{
 background:#e7f3fc!important;color:#285a74!important;border-right:1px solid #a7c6da!important;
}
body.wise7039-light #events-list .event-row-container>.event-block>.zero-event-tools,
body.wise7039-light #events-list .event-row-container .zero-event-tools{background:#fafdff!important;color:#295773!important}
body.wise7039-light #events-list .event-row-container>.event-block>.event-condition-area,
body.wise7039-light #events-list .event-row-container>.event-block:hover>.event-condition-area,
body.wise7039-light #events-list .event-row-container>.event-block>.event-condition-area:hover,
body.wise7039-light #events-list .event-block:has(.wise-main-condition.selected)>.event-condition-area{
 background:#edf6fc!important;color:#17435d!important;border:0!important;border-right:1px solid #bbd4e4!important;
}
body.wise7039-light #events-list :is(.wise-main-condition,.wise-extra-condition,.wise47-condition-line){
 background:#e6f3fb!important;color:#193e58!important;border-color:#b7d3e3!important;
}
body.wise7039-light #events-list .wise-main-condition.selected{background:#c3e5f8!important;color:#063e59!important;border-color:#218eb6!important}
body.wise7039-light #events-list .event-block>.event-actions-area{background:#fff!important;border:1px solid #c3dce9!important;color:#193f58!important}
body.wise7039-light #events-list .action-item{background:#eaf6fc!important;color:#17455f!important;border-color:#b4d0e1!important}
body.wise7039-light #events-list .action-item:hover{background:#d8eefa!important}
body.wise7039-light #events-list .zero-action-slot .add-action-btn{background:#f4faff!important;color:#08648c!important;border-color:#8dbcd3!important}
body.wise7039-light #events-list .zero-cond-statement,
body.wise7039-light #events-list .zero-command-detail,
body.wise7039-light #events-list .zero-event-param{color:#173f59!important}
body.wise7039-light #events-list :is(.variable-block,.group-header){background:#dceefa!important;color:#17455e!important;border-color:#b3d0df!important}
body.wise7039-light #events-list .variable-block span{color:#17455e!important}
body.wise7039-light #events-list .comment-block{background:#fff1cf!important;color:#5b4320!important}
/* Avisos, confirmações, dropdowns e botões. Botão de perigo: vermelho com texto branco. */
body.wise7039-light :is(.btn-danger,#btn-confirm-yes){background:#b62f44!important;color:#fff!important;border-color:#a52b41!important}
body.wise7039-light :is(.btn-danger,#btn-confirm-yes):is(:hover,:focus-visible){background:#95263a!important;color:#fff!important}
body.wise7039-light :is(.btn-danger,#btn-confirm-yes) :is(i,span){color:inherit!important}
body.wise7039-light :is(.btn-primary,button.selected,button.active){color:#fff!important}
body.wise7039-light :is(.modal-content,.dropdown-content) button:not(.btn-primary):not(.btn-danger):not(.active):not(.selected){background:#e6f3fb!important;color:#194d6b!important;border-color:#a6cadd!important}
body.wise7039-light :is(.modal-content,.dropdown-content) button:not(.btn-primary):not(.btn-danger):not(.active):not(.selected):hover{background:#d3ebf9!important;color:#075b82!important}
body.wise7039-light :is(#alert-message,#confirm-message,#prompt-message,#zero-drop-choice .modal-content>div){color:#1c4258!important}
body.wise7039-light :is(.wise-about-body,.wise-about-body p,.wise-about-body h2,.wise-about-body h3,.wise-about-foot){color:#1e475f!important}
body.wise7039-light .wise-about-body section{border-color:#c0d8e6!important}
body.wise7039-light :is(.wise-about-body a,.wise-about-body h3){color:#09688b!important}
body.wise7039-light :is(.wise47-object-search,.wise47-object-grid,.wise47-object-tile){color:#19445e!important;border-color:#a9c8da!important}
body.wise7039-light .wise47-object-grid{background:#f5fbff!important}
body.wise7039-light #param-desc-balloon{background:#e3f3fc!important;color:#19445e!important}
body.wise7039-light .wise17-recovery-status{background:#e4f3fc!important;color:#1a4660!important;border-color:#a8cade!important;box-shadow:0 5px 18px #40638322!important}
body.wise7039-light .wise17-recovery-status.wise17-save-error{background:#fff0e5!important;color:#8d3d29!important;border-color:#ddb29f!important}
body.wise7039-light .wise45-behavior-status{background:#e9f4fb!important;color:#155373!important}
body.wise7039-light .wise45-behavior-status.wise45-supported{background:#dff5e9!important;color:#166146!important}
/* Estúdio 3D — UI clara; render da cena e cores das texturas continuam intactos. */
body.wise7039-light #wise703-studio{background:rgba(40,80,105,.22)!important}
body.wise7039-light #wise703-studio :is(.wise703-shell,.wise703-center,.wise703-tree,.wise703-properties,.wise7045-library,.wise7045-library-head,.wise7045-library-foot,.wise7045-library-toolbar){
 background:#f6fbff!important;color:#1b435c!important;border-color:#b6d0df!important;
}
body.wise7039-light #wise703-studio :is(header,footer,.wise703-subbar,.wise703-status,.wise704-camera-panel){background:#e8f4fc!important;color:#1c4761!important;border-color:#b8d2e2!important}
body.wise7039-light #wise703-studio .wise704-scroller{background:#d9e9f4!important}
body.wise7039-light #wise703-studio :is(.wise703-entry,.wise7045-library-card,.wise7043-asset-row){background:#f7fcff!important;color:#1e475e!important;border-color:#bfd8e6!important}
body.wise7039-light #wise703-studio :is(.wise703-entry,.wise7045-library-card).selected{background:#d2edf9!important;color:#075e81!important;border-color:#168db6!important}
body.wise7039-light #wise703-studio :is(.wise703-properties label,.wise703-hint,.wise703-native-note,.wise703-status,.wise703-shell small){color:#355d74!important}
body.wise7039-light #wise703-studio .wise704-face-active{background:#e2f3fc!important;color:#1e4560!important;border-color:#88bed5!important}
body.wise7039-light #wise703-studio :is(.wise704-face-mirror button.selected,button.active,button.selected){background:#087fa9!important;color:#fff!important;border-color:#04749d!important}
body.wise7039-light #wise703-studio .wise703-properties button:not(.active):not(.selected){background:#e7f5fc!important;color:#184f70!important}
body.wise7039-light #wise703-studio .wise704-runtime-hint{background:#e9f6fc!important;color:#204a64!important;border-color:#a3cddd!important}
/* Modais abertos dinamicamente com fundo e texto inline antigos. */
body.wise7039-light .modal-content[style*="background:#"],
body.wise7039-light .modal-content[style*="background: #"]{background:#f9fcff!important;color:#173e57!important}
body.wise7039-light .modal-content [style*="background:#1"],
body.wise7039-light .modal-content [style*="background:#2"],
body.wise7039-light .modal-content [style*="background:#3"],
body.wise7039-light .modal-content [style*="background: #1"],
body.wise7039-light .modal-content [style*="background: #2"]{background:#e8f4fc!important;color:#1d4560!important;border-color:#b4d1e1!important}
/* Elementos semanticamente gráficos têm prioridade; não alterar canvas, <img> ou jogo. */
body.wise7039-light :is(.modal-content,.dropdown-content,.sidebar-left,.sidebar-right,#event-view,#wise703-studio) :is(button,a,[role="button"]){text-shadow:none!important}
body.wise7039-light :is(.modal-content,.dropdown-content,.sidebar-left,.sidebar-right) a:not(.btn-primary){color:#075f88!important}
body.wise7039-light :is(.modal-content,.dropdown-content) .close-btn{color:#214c64!important;background:transparent!important}
body.wise7039-light ::selection{background:#b0e2f8;color:#11405a}
/* Prioridade final de contraste: exceções críticas que eram sobrescritas
 * pelos seletores genéricos da barra/modal da V70.45. */
body.wise7039-light .modal-overlay .modal-content button.btn-danger,
body.wise7039-light .modal-overlay .modal-content button#btn-confirm-yes,
body.wise7039-light .modal-content button.btn-danger,
body.wise7039-light .modal-content button#btn-confirm-yes,
body.wise7039-light .sidebar-left button.btn-danger,
body.wise7039-light .sidebar-right button.btn-danger{
 background:#b62f44!important;color:#fff!important;border-color:#a52b41!important;
}
body.wise7039-light .modal-overlay .modal-content button.btn-danger:hover,
body.wise7039-light .modal-overlay .modal-content button#btn-confirm-yes:hover{
 background:#922439!important;color:#fff!important;
}
body.wise7039-light .modal-content :is(button.btn-danger,button#btn-confirm-yes) :is(i,span){color:#fff!important}
body.wise7039-light .modal-overlay .modal-content.modal-content button.btn-danger#btn-confirm-yes,
body.wise7039-light .modal-overlay .modal-content.modal-content button.btn-danger,
body.wise7039-light .modal-content.modal-content button.btn-danger#btn-confirm-yes{
 color:#fff!important;background:#b62f44!important;border-color:#9e253b!important;
}
