#btnFontLicense{color:#a6b2bd;background:0 0;border:0;padding:0 5px;font-size:10px}#fontLicenseText{white-space:pre-wrap;font:12px/1.6 HarmonyOS Sans SC,sans-serif;overflow:auto}*{box-sizing:border-box}body{color:#e2e6e9;background:#20252b;margin:0;font:13px HarmonyOS Sans SC,sans-serif;overflow:hidden}button,input,select{font:inherit}button{cursor:pointer;color:inherit;background:#323b45;border:1px solid #4a5662;border-radius:5px;padding:7px 10px}button:hover{background:#425366}button:disabled{opacity:.4;cursor:default}button.active{background:#305772;border-color:#72bddb}input,select{color:inherit;background:#1c2228;border:1px solid #45515d;border-radius:4px;min-width:0;padding:7px}input:focus,select:focus,button:focus-visible{outline-offset:1px;outline:2px solid #75c7df}header{background:#252c34;border-bottom:1px solid #39434c;align-items:center;gap:9px;height:58px;padding:0 16px;display:flex}header strong{color:#a2d9e9;white-space:nowrap;letter-spacing:1px;font-size:16px}#bpName{width:180px}header .grow{flex:1}#btnPng{background:#38708b;border-color:#68a3bd}main{grid-template-columns:248px minmax(200px,1fr) 250px;height:calc(100vh - 88px);display:grid}aside{background:#252c34;border-right:1px solid #3c454f;flex-direction:column;min-height:0;display:flex}.sidehead{gap:8px;padding:12px;display:grid}#search{width:100%}#buildingList{flex:1;padding:0 8px 12px;overflow:auto}.building{text-align:left;background:0 0;border:1px solid #0000;align-items:center;gap:9px;width:100%;margin:2px 0;padding:6px;display:flex}.building img{object-fit:contain;background:#161c22;border-radius:4px;width:38px;height:38px}.building span{flex:1;min-width:0}.building b{text-overflow:ellipsis;white-space:nowrap;font-weight:400;display:block;overflow:hidden}.building small{color:#94a1ad;font-size:10px}.tools{border-top:1px solid #3c454f;grid-template-columns:1fr 1fr;gap:7px;padding:12px;display:grid}.help{color:#a7b4bf;padding:0 12px 12px;font-size:11px;line-height:1.9}.help kbd{background:#38424b;border-radius:3px;padding:1px 4px}#wrap{background:#e6e6e6;min-width:0;position:relative;overflow:hidden}#cv{touch-action:none;outline:none;width:100%;height:100%;display:block}#viewTools{flex-wrap:wrap;gap:6px;display:flex;position:absolute;top:12px;left:12px;right:12px}#viewTools button{color:#3d4851;background:#f6f6f4e8;border-color:#bbc5cc}#canvasHint{color:#58636a;pointer-events:none;background:#ffffffe0;border:1px solid #d4d9db;border-radius:5px;padding:6px 9px;font-size:11px;position:absolute;bottom:12px;left:12px}#properties{border-left:1px solid #3c454f;border-right:0;gap:12px;padding:14px;overflow:auto}h2{margin:0;font-size:14px;font-weight:600}.muted{color:#a6b2bd;font-size:11px;line-height:1.8}.fields{gap:12px;display:grid}.fields label{color:#c9d2da;gap:6px;font-size:12px;display:grid}.row{gap:8px;display:flex}.row>*{flex:1;min-width:0}.preview{background:#e6e6e6;border-radius:6px;justify-content:center;align-items:center;height:146px;padding:10px;display:flex}.preview img{object-fit:contain;max-width:100%;max-height:100%}#selectedId{word-break:break-all}#summary{border-top:1px solid #3c454f;margin-top:auto;padding-top:15px}#summaryList{gap:6px;max-height:220px;margin-top:10px;display:grid;overflow:auto}.summary-row{align-items:center;gap:8px;display:flex}.summary-row span{color:#b6c4cf;flex:1;font-size:12px}.summary-row img{object-fit:contain;width:25px;height:25px}#saveStatus{white-space:nowrap;color:#96bbae;font-size:11px}footer{background:#1b2127;border-top:1px solid #3c454f;align-items:center;gap:12px;height:30px;padding:0 13px;font-size:11px;display:flex}#status{white-space:nowrap;text-overflow:ellipsis;color:#b6c5d0;flex:1;overflow:hidden}#status.error{color:#ffc2b4}#zoom{color:#a4b9c7}#loading{color:#42505a;z-index:5;background:#e6e6e6ee;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.check{align-items:center;gap:7px!important;display:flex!important}.check input{margin:0}#exportOptions{align-items:center;gap:7px;display:flex}.danger{color:#ffd6cb}#fileIn{display:none}[hidden]{display:none!important}@media (width<=1150px){main{grid-template-columns:212px minmax(150px,1fr) 214px}header{gap:6px;padding:0 9px}header strong{font-size:13px}#bpName{width:135px}#exportOptions label{display:none}}@media (width<=860px){main{grid-template-columns:180px minmax(200px,1fr)}#properties,header strong,#btnRedo,#exportOptions{display:none}}#btnInspector,#btnCloseInspector{display:none}@media (width<=860px){#btnInspector,#btnCloseInspector{display:inline-block}body.inspect-open #properties{z-index:6;width:250px;display:flex;position:fixed;top:58px;bottom:30px;right:0;box-shadow:-8px 0 24px #0004}#btnCloseInspector{align-self:flex-end}}#btnItemLibrary{text-align:left;background:#315a70;border-color:#568fa8}.item-choice{text-align:left;align-items:center;gap:10px;width:100%;padding:10px;display:flex}.item-choice img{object-fit:contain;width:42px;height:42px}.item-choice b{font-size:12px;font-weight:500;display:block}.item-choice small{color:#a6cddd;margin-top:5px;font-size:10px;display:block}dialog{color:#e2e6e9;background:#252c34;border:1px solid #526577;border-radius:12px;width:min(880px,100vw - 30px);max-height:calc(100vh - 40px);padding:20px;box-shadow:0 24px 100px #0008}dialog::backdrop{background:#08111cb3}dialog[open]{flex-direction:column;gap:14px;display:flex}.library-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.library-head h2{font-size:18px}.library-head p{margin:5px 0 0}.library-search{gap:8px;display:flex}.library-search input{flex:1;min-width:80px;padding:11px}.library-search select{max-width:140px}.library-bar{justify-content:space-between;align-items:center;gap:10px;display:flex}.product-grid{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:9px;min-height:180px;max-height:55vh;padding:2px 5px 2px 2px;display:grid;overflow:auto}.product-card{background:#1c242e;flex-direction:column;align-items:center;gap:8px;min-height:130px;padding:10px 5px;display:flex}.product-card img{object-fit:contain;width:68px;height:68px}.product-card span{word-break:break-word;font-size:12px;line-height:1.5}.product-card small{color:#9baebd;font-size:10px}.product-card.missing{cursor:help;border-style:dashed}.product-card .missing-thumb{color:#8393a1;border:1px dashed #536372;border-radius:50%;place-items:center;width:68px;height:68px;font-size:30px;display:grid}.library-foot{border-top:1px solid #3c454f;padding-top:10px}#btnMoreProducts{align-self:center}#productEmpty{text-align:center;padding:16px}@media (width<=580px){dialog{padding:13px}.library-search{flex-wrap:wrap}.library-search input{flex-basis:100%}.library-search select{flex:1;max-width:none}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-card img,.product-card .missing-thumb{width:54px;height:54px}.product-card{min-height:116px}.library-head h2{font-size:16px}}#summaryList{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;max-height:290px}.summary-card{aspect-ratio:1/1.15;border:1px solid #56616d;border-bottom:4px solid var(--rarity,#999);background:linear-gradient(to top, color-mix(in srgb, var(--rarity,#999) 55%, #1d2228) 0%, #191e24 42%);border-radius:3px;min-width:0;padding:2px 2px 14px;position:relative;overflow:hidden}.summary-card img{object-fit:contain;width:100%;height:100%}.summary-card b{text-align:center;text-shadow:0 1px 3px #000;font-size:14px;font-weight:400;position:absolute;bottom:0;left:0;right:0}.summary-card:hover{background:linear-gradient(to top, var(--rarity,#999), #293c49 48%);border-top-color:#99cee0}.summary-card:focus-visible{outline:2px solid #90d7ec}#presentationCanvas{touch-action:none;cursor:grab}#portVisibilityFields summary{cursor:pointer;color:#c9d2da}#btnGamePreview{color:#233b43;background:#d6dedd;border-color:#d6dedd;font-weight:600}#presentationDialog{border-radius:9px;gap:0;width:min(1660px,100vw - 24px);height:calc(100vh - 28px);max-height:none;padding:0;overflow:hidden}.presentation-head{border-bottom:1px solid #43515d;flex-shrink:0;align-items:center;gap:12px;padding:14px 18px;display:flex}.presentation-head h2{flex:1;font-size:17px}.presentation-head select{width:125px}#btnExportPresentation{background:#39768f;border-color:#72bad6}.presentation-body{flex:1;grid-template-columns:292px minmax(0,1fr);min-height:0;display:grid}.presentation-settings{background:#252e37;border-right:1px solid #43515d;flex-direction:column;gap:16px;padding:18px;display:flex;overflow:auto}.presentation-settings label{gap:7px;font-size:12px;display:grid}.presentation-settings textarea{resize:vertical;min-height:72px;color:inherit;font:inherit;background:#1c2228;border:1px solid #45515d;border-radius:4px;width:100%;padding:8px}.presentation-settings input{width:100%}.presentation-settings input:invalid{border-color:#e98e7b}.presentation-cover{text-align:left;align-items:center;gap:10px;padding:10px;display:flex}.presentation-cover img{object-fit:contain;width:62px;height:62px}.presentation-cover small{color:#95cddd;margin-top:6px;display:block}.presentation-stage{background:#151d24;justify-content:center;align-items:flex-start;padding:20px;display:flex;overflow:auto}.presentation-stage canvas{width:100%;height:auto;display:block;box-shadow:0 6px 26px #0006}.presentation-colors{flex-wrap:wrap;gap:7px;display:flex}.presentation-colors button{background:var(--color);border:2px solid #56616d;border-radius:50%;width:27px;height:27px;padding:0}.presentation-colors button[aria-pressed=true]{outline-offset:2px;border-color:#25313a;outline:2px solid #d4ebee}#coverPicker{border-top:1px solid #485867;gap:9px;padding-top:12px;display:grid}#coverPicker[hidden]{display:none}.cover-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;max-height:280px;display:grid;overflow:auto}.cover-choice{background:#1b252f;min-width:0;padding:5px}.cover-choice img{object-fit:contain;width:54px;height:54px}.cover-choice span{word-break:break-all;font-size:10px;line-height:1.35;display:block}.cover-choice[aria-pressed=true]{background:#315064;border-color:#75c7df}.presentation-auto{color:#becbd4;border-top:1px solid #485867;padding-top:12px;font-size:12px;line-height:1.9}.presentation-foot{border-top:1px solid #43515d;flex-shrink:0;align-items:center;gap:12px;padding:10px 18px;display:flex}.presentation-foot span{color:#aab9c5;flex:1;font-size:11px}#presentationError{color:#ffc2b4}#tagSuggestions{flex-wrap:wrap;gap:5px;display:flex}#tagSuggestions button{padding:3px 6px;font-size:10px}@media (width<=1000px){#presentationDialog{width:calc(100vw - 12px);height:calc(100vh - 12px)}.presentation-body{grid-template-columns:240px minmax(0,1fr)}.presentation-settings{padding:12px}.presentation-head{flex-wrap:wrap;padding:10px}.presentation-head h2{font-size:15px}.presentation-stage{padding:10px}}@media (width<=700px){.presentation-body{flex-direction:column;display:flex;overflow:auto}.presentation-settings{border-bottom:1px solid #43515d;border-right:0;overflow:visible}.presentation-stage{flex-shrink:0;order:-1;overflow:visible}.presentation-settings{gap:12px}.presentation-head h2{flex-basis:100%}.presentation-foot{flex-wrap:wrap}.presentation-foot span{flex-basis:100%}.cover-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
