/* Preview skin only. The original React editor and its data model are unchanged. */
html.bo2-editor body{background:repeating-linear-gradient(135deg,#ffffff03 0 2px,transparent 2px 6px),#050910;font-family:'Segoe UI',Arial,sans-serif;color:#edf5ff}
.bo2-editor .kiilz-editor-nav,.bo2-editor .customer-topbar{max-width:1060px}
.bo2-sheet-intro{max-width:1060px;margin:36px auto 0;padding:0 0 24px;border-bottom:1px solid #1b3a58}
.bo2-sheet-brand{display:flex;align-items:center;gap:20px}
.bo2-sheet-brand img{width:82px;height:90px;object-fit:contain;filter:drop-shadow(0 0 15px #168bff22)}
.bo2-sheet-brand p{font:700 10px/1.6 monospace;letter-spacing:2px;color:#95abc3;margin:0 0 8px}
.bo2-sheet-brand h1{font:700 clamp(28px,4.5vw,52px)/1.2 Orbitron,Arial,sans-serif;letter-spacing:1px;margin:0}
.bo2-sheet-brand h1 span{color:#19c7f4}
.bo2-sheet-description{font-size:14px;line-height:1.7;max-width:650px;color:#95abc3;margin:18px 0 0}
.bo2-sheet-description strong{color:#edf5ff}
.bo2-editor #root .container{width:100%;max-width:1060px;padding-left:0;padding-right:0}
.bo2-editor #root>div{min-height:0}
.bo2-editor #root header{background:transparent;border:0;backdrop-filter:none}
.bo2-editor #root header>.container{min-height:0;padding-top:18px;padding-bottom:16px;justify-content:flex-start}
.bo2-editor #root header>.container>div:first-child{display:none}
.bo2-editor #root [role=tablist]{background:#0b1524;border:1px solid #1b3a58;border-radius:3px;width:340px;height:44px;padding:3px}
.bo2-editor #root [role=tab]{border-radius:2px;font:700 12px Orbitron,Arial,sans-serif}
.bo2-editor #root main{padding-top:0;padding-bottom:50px}
.bo2-editor #root main>.grid{display:block}
.bo2-editor #root main aside>p{display:none}
.bo2-editor #root main aside nav{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.bo2-editor #root main aside nav button{flex:0 1 auto;min-height:38px;border:1px solid #1b3a58;border-radius:3px;padding:8px 13px;background:#0b1524;color:#95abc3;font:700 11px Orbitron,Arial,sans-serif;gap:7px}
.bo2-editor #root main aside nav button svg{width:15px;height:15px}
.bo2-editor #root main aside nav button[class*="border-primary"]{background:#20c4f5;color:#03111f;border-color:#9cecff;box-shadow:0 0 12px #168bff22}
.bo2-editor #root main aside nav button:hover{border-color:#39bdff;color:#edf5ff}
.bo2-editor #root main>.grid>.min-w-0>.mb-5{margin:0;border:1px solid #1b3a58;border-bottom:0;border-radius:3px 3px 0 0;padding:16px;background:linear-gradient(#102039,#0b1524);min-height:60px;align-items:center}
.bo2-editor #root .display-font{font-family:Orbitron,Arial,sans-serif;font-weight:700}
.bo2-editor #root main>.grid>.min-w-0>.mb-5 h2{font-size:18px;line-height:1.4}
.bo2-editor #root main>.grid>.min-w-0>.mb-5 p{font:700 9px monospace;letter-spacing:1px}
.bo2-editor #root .space-y-5{border:1px solid #1b3a58;background:#0b1524;padding:18px;border-radius:0 0 3px 3px}
.bo2-editor #root .space-y-5>.panel{border:1px solid #1b3a58;border-radius:3px;box-shadow:none;background:#07111e}
.bo2-editor #root .panel>div{min-height:0;grid-template-columns:1fr}
.bo2-editor #root .panel>div>div:first-child{padding:10px 14px;border:0;border-bottom:1px solid #1b3a58;background:#0c192b;gap:10px}
.bo2-editor #root .panel>div>div:first-child>span{width:30px;height:30px;border:0;background:none}
.bo2-editor #root .panel>div>div:first-child>span svg{width:22px;height:22px}
.bo2-editor #root .panel>div>div:first-child h2{font-size:13px;margin:0}
.bo2-editor #root .panel>div>div:first-child p{font-size:9px}
.bo2-editor #root .panel>div>div:first-child .mt-4{margin-top:4px}
.bo2-editor #root .panel>div>div:nth-child(2){grid-template-columns:repeat(6,minmax(0,1fr))}
.bo2-editor #root .panel>div>div:nth-child(2)>div{min-height:65px;padding:10px 4px;border-bottom:0}
.bo2-editor #root .panel strong.display-font{font:600 16px monospace}
.bo2-editor #root .panel .text-xs{font-size:9px}
.bo2-editor #root .space-y-5>section.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:20px}
.bo2-editor #root .space-y-5 .group{padding:0;border:0;background:none;border-radius:0;box-shadow:none}
.bo2-editor #root .space-y-5 .group>span:first-child{min-height:14px;margin-bottom:7px;font:700 10px/1.5 monospace;letter-spacing:1px;text-transform:uppercase}
.bo2-editor #root .space-y-5 input[inputmode=numeric]{height:39px;border:1px solid #1b3a58;border-radius:2px;background:#050b13;padding:8px 10px;font:500 14px monospace;text-align:left;box-shadow:none}
.bo2-editor #root .space-y-5 input:focus{border-color:#39bdff;outline:1px solid #39bdff}
.bo2-editor #root .space-y-5 .group>div.grid{gap:4px;grid-template-columns:repeat(4,minmax(0,1fr))}
.bo2-editor #root .space-y-5 .group>div.grid label{position:relative;display:block;padding-bottom:0}
.bo2-editor #root .space-y-5 .group>div.grid label>span:last-child{position:absolute;right:4px;bottom:3px;font-size:8px;pointer-events:none}
.bo2-editor #root main>.grid>.min-w-0>.mt-5{border:0;margin-top:14px;padding-top:0}
.bo2-editor #root button,.bo2-editor #root summary{border-radius:3px}
.bo2-editor #root main>.grid>.min-w-0>section.mt-8{margin-top:24px;padding:18px;border-radius:3px;background:#0b1524;box-shadow:none}
.bo2-editor #root main>.grid>.min-w-0>section.mt-8>div{grid-template-columns:1fr;gap:16px}
.bo2-editor #root main>.grid>.min-w-0>section.mt-8 h2{font-size:16px}
.bo2-editor #root [role=dialog]{max-width:min(94vw,1100px)}
@media(max-width:1120px){.bo2-sheet-intro,.bo2-editor #root .container{width:calc(100% - 32px)}.bo2-editor .kiilz-editor-nav,.bo2-editor .customer-topbar{margin-left:16px;margin-right:16px}}
@media(max-width:700px){.bo2-sheet-intro{margin-top:26px}.bo2-sheet-brand{gap:12px}.bo2-sheet-brand img{width:58px;height:66px}.bo2-sheet-brand p{font-size:8px;letter-spacing:1px}.bo2-editor #root .space-y-5{padding:14px}.bo2-editor #root .space-y-5>section.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bo2-editor #root .panel>div>div:nth-child(2){grid-template-columns:repeat(3,minmax(0,1fr))}.bo2-editor #root .panel>div>div:nth-child(2)>div{border-bottom:1px solid #1b3a58}.bo2-editor #root main aside nav button{font-size:10px;padding:8px 10px}.bo2-editor #root [role=tablist]{width:min(340px,100%)}.bo2-editor #root main>.grid>.min-w-0>section.mt-8{padding:14px}}

.bo2-editor #root main aside nav button[class*="border-primary"]:hover{color:#03111f}
.bo2-code-heading{display:none}
.bo2-editor #root.bo2-code-view main>.grid>.min-w-0>.mb-5,.bo2-editor #root.bo2-code-view main>.grid>.min-w-0>.space-y-5,.bo2-editor #root.bo2-code-view main>.grid>.min-w-0>.mt-5{display:none}
.bo2-editor #root.bo2-code-view main aside nav button[class*="border-primary"]{background:#0b1524;color:#95abc3;border-color:#1b3a58;box-shadow:none}
.bo2-editor #root.bo2-code-view main aside nav .bo2-code-tab{background:#20c4f5;color:#03111f;border-color:#9cecff}
.bo2-editor #root.bo2-code-view main>.grid>.min-w-0>section.mt-8{margin-top:0;border-top:1px solid #1b3a58}
.bo2-code-view .bo2-code-heading{display:block;border-bottom:1px solid #1b3a58;padding-bottom:16px;margin-bottom:20px}
.bo2-code-heading h2{font:700 20px Orbitron,Arial,sans-serif;margin:0 0 8px}
.bo2-code-heading p{color:#95abc3;font-size:13px;line-height:1.6;margin:0}
.bo2-code-view details{display:contents}
.bo2-code-view details>summary{display:none!important}
.bo2-code-view details>div{display:flex!important;position:static!important;flex-wrap:wrap;background:transparent;border:0;box-shadow:none;padding:0;margin:0;min-width:0;gap:8px}
.bo2-code-view details>div button{border:1px solid #1b3a58;background:#102039;padding:10px 14px;height:40px}
.bo2-code-view details>div button:hover{border-color:#39bdff}
.bo2-code-view textarea{min-height:120px;resize:vertical;background:#050b13;font:12px/1.7 monospace;padding:12px}
.bo2-code-view form>div:last-child{display:block}
.bo2-code-view form button[type=submit]{margin-top:10px;background:#102039;color:#edf5ff;border:1px solid #1b3a58}
.bo2-code-view label[for=discord-code]{font:700 10px/1.6 monospace;letter-spacing:1px}

.bo2-editor #root.bo2-code-view main>.grid>.min-w-0>:not(section.mt-8){display:none!important}
.bo2-editor #root.bo2-code-view form div:has(>textarea){display:block!important}
.bo2-editor #root.bo2-code-view textarea{display:block;width:100%;box-sizing:border-box}

.bo2-editor #root .bo2-code-panel[hidden]{display:none!important}
.bo2-editor #root main aside nav .bo2-code-tab{order:999}
.bo2-editor #root.bo2-code-view .bo2-code-panel{display:flex;flex-direction:column;padding:0;overflow:hidden;border-top:1px solid #1b3a58}
.bo2-code-view .bo2-code-heading{order:0;display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(#101e30,#0b1524);padding:18px;margin:0}
.bo2-code-view .bo2-code-heading h2{font-size:19px;margin:0;white-space:nowrap}
.bo2-code-view .bo2-code-heading p{font-size:12px;text-align:right;max-width:480px}
.bo2-code-view .bo2-native-code-toolbar{order:1;margin:0!important;padding:18px 18px 0;gap:0!important}
.bo2-code-view .bo2-native-code-toolbar>div:first-child,.bo2-code-view .bo2-native-code-toolbar>div:last-child{display:none!important}
.bo2-code-view .bo2-code-panel>div:has(>#generated-code){display:none!important}
.bo2-code-view .bo2-output-panel{order:2;padding:18px 18px 0}
.bo2-code-view .bo2-code-panel>form{order:3;margin:22px 18px 18px;padding-top:0;border-top:0}
.bo2-code-view .bo2-code-panel>span[role=status]{order:4;margin:0 18px 18px}
.bo2-code-view .bo2-code-actions{display:flex;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.bo2-code-view [data-code-action]{border:1px solid #1b3a58;border-radius:2px;background:#102039;padding:11px 15px;font:700 11px/1.4 Orbitron,Arial,sans-serif;letter-spacing:1px;text-transform:uppercase;color:#edf5ff;cursor:pointer}
.bo2-code-view [data-code-action=generate]{background:linear-gradient(100deg,#39bdff,#00d9ff);border-color:#b3efff;color:#03111f;box-shadow:0 0 14px #168bff22}
.bo2-code-view [data-code-action]:disabled{opacity:.4;cursor:default}
.bo2-code-view .bo2-output-panel>label{display:block;font:700 10px/1.6 monospace;letter-spacing:1px;color:#95abc3;margin-bottom:12px}
.bo2-editor #root.bo2-code-view #bo2-code-output{min-height:130px;border:1px solid #1b3a58;border-radius:2px;background:#050b13;padding:12px;margin:0;resize:vertical;font:12px/1.7 monospace}
.bo2-code-view .bo2-copy-status{font-size:12px;color:#74d9ff;margin:6px 0 0;min-height:0}
.bo2-code-view .bo2-copy-status:empty{display:none}
.bo2-code-view .bo2-code-file-actions{display:flex;justify-content:flex-end;gap:15px;margin-top:8px}
.bo2-code-view .bo2-code-file-actions button{font:500 11px monospace;text-transform:none;padding:3px 0;letter-spacing:0;background:none;border:0;color:#95abc3}
.bo2-code-view .bo2-code-panel>form label[for=discord-code]{display:block;margin-bottom:12px}
.bo2-editor #root.bo2-code-view #discord-code{min-height:90px}
.bo2-code-view .bo2-code-actions [data-code-action=import],.bo2-code-view .bo2-code-actions [data-code-action=download]{background:linear-gradient(100deg,#39bdff,#00d9ff);border-color:#b3efff;color:#03111f;box-shadow:0 0 14px #168bff22;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.bo2-code-view .bo2-code-actions [data-code-action] span{font:700 18px/1 monospace}
.bo2-code-view button[aria-label="Close code import"]{display:none}
@media(max-width:700px){.bo2-code-view .bo2-code-heading{display:block}.bo2-code-view .bo2-code-heading p{text-align:left;margin-top:10px}.bo2-code-view .bo2-code-panel>form{margin:22px 14px 14px}.bo2-code-view .bo2-output-panel{padding:14px 14px 0}.bo2-code-view .bo2-native-code-toolbar{padding:14px 14px 0}}

.bo2-code-view .bo2-code-actions [data-code-action=import]{margin-left:auto}
@media(max-width:650px){.bo2-code-view .bo2-code-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.bo2-code-view .bo2-code-actions [data-code-action=import]{margin-left:0}.bo2-code-view .bo2-code-actions [data-code-action]{padding:10px 8px;font-size:9px}}
