body.store-open{overflow:hidden}.store-modal{position:absolute;inset:0;z-index:260;display:grid;place-items:center;padding:16px;background:#0009}.store-modal.hidden{display:none}.store-dialog{display:grid;grid-template-rows:48px 48px minmax(240px,1fr);width:min(820px,calc(100% - 28px));max-height:calc(100% - 28px);overflow:hidden;background:#f4f6f7;border:1px solid #8d979c;border-radius:6px;box-shadow:0 16px 48px #0007}.store-header{display:flex;align-items:center;justify-content:space-between;padding:0 10px 0 15px;background:#07343b;color:#fff}.store-header>div{display:flex;align-items:center;gap:9px}.store-header h2{margin:0;font-size:16px}.store-close{display:grid;place-items:center;width:30px;height:30px;padding:0;background:transparent;color:#fff;font-size:24px;line-height:1}.store-tabs{display:flex;gap:3px;padding:7px 10px 0;background:#fff;border-bottom:1px solid #d8dfe2}.store-tabs button{min-width:90px;padding:8px 13px;border-radius:4px 4px 0 0;background:#edf1f2;color:#536168;font-size:12px}.store-tabs button.active{background:#08a9ca;color:#fff}.store-content{min-height:0;overflow:auto;padding:18px;background:#fff}.store-panel{min-height:220px;padding:18px;border:1px solid #e2e7e9;border-radius:5px;background:#fafbfc}.store-panel[hidden]{display:none}.store-panel h3{margin:0 0 8px;color:#25343a;font-size:16px}.store-panel p{margin:0;color:#718087;font-size:13px}@media(max-width:700px){.store-modal{z-index:10}}@media(max-width:600px){.store-modal{padding:7px}.store-dialog{width:100%;max-height:calc(100% - 14px);grid-template-rows:44px 44px minmax(220px,1fr)}.store-tabs{gap:2px;padding:6px 5px 0}.store-tabs button{min-width:0;flex:1;padding:7px 5px;font-size:11px}.store-content{padding:10px}.store-panel{padding:13px}}
 .profile-shop-loading{padding:42px 12px;text-align:center;color:#718087;font-size:14px}.profile-shop-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.profile-shop-heading h3{margin:0 0 5px}.profile-shop-heading p{margin:0}.profile-shop-balance{display:grid;gap:3px;min-width:112px;padding:9px 13px;border:1px solid #d8edf1;border-radius:8px;background:#effafd;text-align:right}.profile-shop-balance>span{color:#718087;font-size:11px}.profile-shop-balance strong{color:#087e98;font-size:19px}.profile-shop-balance small{font-size:11px}.profile-shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.profile-shop-card{display:grid;grid-template-columns:42px minmax(0,1fr);align-content:start;gap:9px 12px;padding:15px;border:1px solid #e0e8eb;border-radius:9px;background:linear-gradient(145deg,#fff,#f8fbfc);box-shadow:0 3px 12px #173e4a0b}.profile-shop-icon{display:grid;grid-row:span 2;place-items:center;width:42px;height:42px;border-radius:11px;background:#e8f7fa;color:#078ba5;font-size:21px;font-weight:700}.profile-shop-name-icon{font-size:17px}.profile-shop-copy h4{margin:2px 0 5px;color:#263a40;font-size:14px}.profile-shop-copy p{min-height:32px;font-size:12px;line-height:1.4}.profile-shop-card form{grid-column:1/-1;display:grid;gap:7px;margin-top:3px}.profile-shop-card form label{display:flex;align-items:center;gap:7px;color:#52646a;font-size:12px;font-weight:600}.profile-shop-card input:not([type=color]){box-sizing:border-box;width:100%;min-height:37px;padding:8px 10px;border:1px solid #d4dfe2;border-radius:6px;background:#fff;color:#25343a;font:inherit;font-size:13px}.profile-shop-card input[type=file]{padding:6px;font-size:11px}.profile-shop-card input[type=color]{width:48px;height:34px;padding:2px;border:1px solid #d4dfe2;border-radius:6px;background:#fff}.profile-shop-card form button{min-height:36px;border:0;border-radius:6px;background:#08a9ca;color:#fff;font-size:12px;font-weight:700;cursor:pointer}.profile-shop-card form button:hover{background:#078ca8}.profile-shop-card form button:disabled{opacity:.6;cursor:wait}.profile-shop-current-color{width:16px;height:16px;border:1px solid #d4dfe2;border-radius:50%}.profile-shop-status{min-height:16px;color:#087e98;font-size:11px;line-height:1.4}.profile-shop-avatar-icon{overflow:hidden}.profile-shop-avatar-icon img{width:100%;height:100%;object-fit:cover}@media(max-width:600px){.profile-shop-heading{align-items:flex-start}.profile-shop-grid{grid-template-columns:1fr}.profile-shop-card{padding:13px}.profile-shop-copy p{min-height:0}}
.profile-shop-notice{color:#087e98;font-size:10px;max-width:180px;line-height:1.3}
.theme-shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.theme-shop-card{display:grid;grid-template-columns:38px minmax(0,1fr);gap:8px 11px;align-content:start;padding:14px;border:1px solid #dfe8eb;border-radius:9px;background:linear-gradient(145deg,#fff,#f8fbfc)}.theme-shop-card.is-owned{border-color:#cce9dd;background:linear-gradient(145deg,#fff,#f5fbf7)}.theme-shop-card.is-active{border-color:#b5dce5}.theme-shop-card.is-highlighted{outline:2px solid #08a9ca;outline-offset:2px}.theme-shop-mark{display:grid;grid-row:span 2;place-items:center;width:38px;height:38px;border-radius:11px;background:#e8f7fa;color:#078ba5;font-size:21px}.theme-shop-copy h4{margin:2px 0 5px;color:#263a40;font-size:14px}.theme-shop-copy p{min-height:30px;font-size:12px;line-height:1.4}.theme-shop-card button{grid-column:1/-1;min-height:35px;border:0;border-radius:6px;background:#08a9ca;color:#fff;font-size:12px;font-weight:700;cursor:pointer}.theme-shop-card button:disabled{background:#e8f1ec;color:#47745c;cursor:default}.theme-shop-status{grid-column:1/-1;min-height:15px;color:#b23a48;font-size:11px}.theme-shop-error{color:#b23a48!important}@media(max-width:600px){.theme-shop-grid{grid-template-columns:1fr}}
.store-content{scrollbar-width:none;-ms-overflow-style:none}.store-content::-webkit-scrollbar{display:none}
@media(max-width:600px){.store-modal{position:fixed;inset:0;padding:4px}.chat-page .store-modal .store-dialog{width:calc(100vw - 8px)!important;height:60vh!important;height:60dvh!important;max-height:calc(100vh - 8px)!important;max-height:calc(100dvh - 8px)!important;grid-template-rows:44px 44px minmax(0,1fr)}}
.chat-page .store-modal .store-dialog{width:min(600px,calc(100vw - 32px));height:min(400px,calc(100dvh - 32px));max-height:calc(100dvh - 32px)}
@media(max-width:600px){.chat-page .store-modal .store-dialog{grid-template-rows:44px 44px minmax(0,1fr)}.chat-page .store-modal .store-panel{min-height:0}}
.store-gif-upload{display:grid;gap:9px;margin-top:14px;padding:14px;border:1px solid #e2e7e9;border-radius:5px;background:#fff}
.store-gif-upload label{color:#596268;font-size:12px;font-weight:600}
.store-gif-upload input[type=file],.store-gif-upload input[type=text]{width:100%;padding:8px;border:1px solid #d7dfe2;border-radius:4px;font-size:12px}
.store-gif-upload button{justify-self:start;padding:9px 14px;background:#08a9ca;font-size:12px}
.store-gif-upload button:disabled{opacity:.6;cursor:wait}
.store-gif-status{min-height:16px;color:#596268;font-size:12px}
body[data-appearance-mode="dark"] .store-modal .store-dialog{background:#202732!important;border-color:#3a4351!important}
body[data-appearance-mode="dark"] .store-modal .store-tabs,
body[data-appearance-mode="dark"] .store-modal .store-content{background:#181d26!important;border-color:#3a4351!important}
body[data-appearance-mode="dark"] .store-modal .store-tabs button{background:#252c37!important;color:#dce2eb!important}
body[data-appearance-mode="dark"] .store-modal .store-tabs button.active{background:#08a9ca!important;color:#fff!important}
body[data-appearance-mode="dark"] .store-modal .store-panel{background:#202732!important;border-color:#3a4351!important;color:#edf1f7!important}
body[data-appearance-mode="dark"] .store-modal .store-panel h3,
body[data-appearance-mode="dark"] .store-modal .store-panel p{color:#dce2eb!important}
body[data-appearance-mode="dark"] .store-modal .store-gif-upload{background:#252c37!important;border-color:#3a4351!important;color:#edf1f7!important}
body[data-appearance-mode="dark"] .store-modal .store-gif-upload label,
body[data-appearance-mode="dark"] .store-modal .store-gif-status{color:#c1cad7!important}
body[data-appearance-mode="dark"] .store-modal .store-gif-upload input{background:#202732!important;border-color:#414b5a!important;color:#f0f2f6!important}
body[data-appearance-mode="dark"] .store-modal .profile-shop-loading{color:#c1cad7!important}
body[data-appearance-mode="dark"] .store-modal .profile-shop-heading h3,
body[data-appearance-mode="dark"] .store-modal .profile-shop-copy h4,
body[data-appearance-mode="dark"] .store-modal .theme-shop-copy h4{color:#edf1f7!important}
body[data-appearance-mode="dark"] .store-modal .profile-shop-heading p,
body[data-appearance-mode="dark"] .store-modal .profile-shop-copy p,
body[data-appearance-mode="dark"] .store-modal .theme-shop-copy p,
body[data-appearance-mode="dark"] .store-modal .profile-shop-card form label{color:#c1cad7!important}
body[data-appearance-mode="dark"] .store-modal .profile-shop-balance{background:#263442!important;border-color:#3a5262!important}
body[data-appearance-mode="dark"] .store-modal .profile-shop-balance>span{color:#b8c5d3!important}
body[data-appearance-mode="dark"] .store-modal .profile-shop-balance strong,
body[data-appearance-mode="dark"] .store-modal .profile-shop-notice{color:#75d5e8!important}
body[data-appearance-mode="dark"] .store-modal .profile-shop-card,
body[data-appearance-mode="dark"] .store-modal .theme-shop-card{background:linear-gradient(145deg,#252c37,#202732)!important;border-color:#3a4351!important;color:#edf1f7!important}
body[data-appearance-mode="dark"] .store-modal .profile-shop-card .profile-shop-icon,
body[data-appearance-mode="dark"] .store-modal .theme-shop-mark{background:#263e49!important;color:#75d5e8!important}
body[data-appearance-mode="dark"] .store-modal .theme-shop-card.is-owned{background:linear-gradient(145deg,#202f2a,#202732)!important;border-color:#35634a!important}
body[data-appearance-mode="dark"] .store-modal .theme-shop-card.is-active{border-color:#347b8c!important}
body[data-appearance-mode="dark"] .store-modal .theme-shop-card button:disabled{background:#203b2b!important;color:#9be2b4!important}
body[data-appearance-mode="dark"] .store-modal .profile-shop-card input:not([type="color"]),
body[data-appearance-mode="dark"] .store-modal .store-gif-upload input{background:#181d26!important;border-color:#414b5a!important;color:#f0f2f6!important}
body[data-appearance-mode="dark"] .store-modal .profile-shop-card input::placeholder,
body[data-appearance-mode="dark"] .store-modal .store-gif-upload input::placeholder{color:#9ba7b6!important}
body[data-appearance-mode="dark"] .store-modal .profile-shop-card input[type="color"]{background:#252c37!important;border-color:#414b5a!important}
body[data-appearance-mode="dark"] .store-modal .profile-shop-current-color{border-color:#687587!important}
body[data-appearance-mode="dark"] .store-modal .profile-shop-status{color:#75d5e8!important}
body[data-appearance-mode="dark"] .store-modal .theme-shop-status{color:#ff8b98!important}
.profile-shop-card>[data-banner-editor]{grid-column:1/-1;min-height:36px;border:0;border-radius:6px;background:#08a9ca;color:#fff;font-size:12px;font-weight:700;cursor:pointer}
.banner-editor-modal{position:absolute;inset:0;z-index:5;display:grid;place-items:center;padding:16px;background:#000a}
.banner-editor-modal.hidden{display:none}
.banner-editor-dialog{display:grid;grid-template-rows:44px minmax(0,1fr) 48px;width:min(620px,100%);max-height:min(680px,100%);overflow:hidden;border:1px solid #8d979c;border-radius:9px;background:#fff;color:#26343a;box-shadow:0 12px 40px #0007}
.banner-editor-dialog>header,.banner-editor-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 14px;border-bottom:1px solid #e0e6e8}
.banner-editor-dialog>header h3{margin:0;font-size:15px}
.banner-editor-dialog>header small{display:block;margin-top:2px;color:#c5edf4;font-size:10px}
.banner-editor-dialog>header button{background:transparent;color:inherit;font-size:24px}
.banner-editor-dialog>footer{justify-content:flex-end;border-top:1px solid #e0e6e8;border-bottom:0}
.banner-editor-dialog>footer button{min-height:32px;padding:7px 12px;border:0;border-radius:5px;background:#e8eef0;color:#33444a;font-size:12px}
.banner-editor-dialog>footer [data-banner-save]{background:#08a9ca;color:#fff;font-weight:700}
.banner-editor-content{min-height:0;overflow:auto;padding:14px}
.banner-editor-preview{position:relative;left:50%;width:min(500px,calc(100vw - 28px));max-width:calc(100% + 28px);height:190px;margin:0 0 14px;overflow:hidden;border:1px solid #dce3e6;border-radius:8px;background:linear-gradient(135deg,#ef78c8,#f4f61a 55%,#c64de6);transform:translateX(-50%);touch-action:none;cursor:grab}
.banner-editor-preview.is-dragging{cursor:grabbing}
.banner-editor-preview.brush-enabled{cursor:crosshair}
.banner-editor-preview .profile-banner{z-index:1}
.banner-editor-preview .profile-banner-image{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.banner-editor-preview .profile-banner span{pointer-events:auto;cursor:grab;touch-action:none}
.banner-editor-preview.is-dragging-text .profile-banner span{cursor:grabbing}
.banner-editor-preview.is-painting{cursor:crosshair}
.banner-editor-brush-tools{display:grid;grid-column:1/-1;grid-template-columns:1fr 1fr;gap:8px}
.banner-editor-brush-tools>p{grid-column:1/-1;margin:0;color:#68767b;font-size:11px;line-height:1.4}
.banner-editor-brush-tools button{min-height:34px;padding:7px 10px;border:1px solid #cbd6da;border-radius:5px;background:#edf2f3;color:#304249;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.banner-editor-brush-tools [data-banner-brush][aria-pressed=true]{border-color:#078ba5;background:#078ba5;color:#fff}
.banner-editor-brush-tools label{display:grid;grid-column:span 1;gap:6px;color:#46585e;font-size:12px;font-weight:600}
.banner-editor-brush-tools output{margin-left:auto;color:#078ba5;font-size:11px}
.banner-editor-brush-tools input[type=range]{width:100%;accent-color:#08a9ca}
.banner-editor-drag-hint{position:absolute;top:8px;left:9px;z-index:3;padding:4px 7px;border-radius:4px;background:#0009;color:#fff;font-size:10px;pointer-events:none}
.banner-editor-profile{position:absolute;inset:0;z-index:2;display:flex;align-items:flex-end;gap:16px;padding:28px;box-sizing:border-box;color:#fff;pointer-events:none}
.banner-editor-avatar{display:grid;place-items:center;width:110px;height:110px;flex:0 0 110px;overflow:hidden;border:3px solid #fff;border-radius:8px;background:#26313b;font-size:34px}
.banner-editor-avatar img{width:100%;height:100%;object-fit:cover}
.banner-editor-identity{min-width:0}
.banner-editor-rank{display:flex;align-items:center;gap:5px;margin:3px 0;font-size:12px;font-weight:700}
.banner-editor-rank img{width:18px;height:18px;object-fit:contain}
.banner-editor-identity h1{margin:4px 0;font-size:28px;line-height:normal}
.banner-editor-identity>p:last-child{margin:3px 0;font-size:12px}
.banner-editor-content>label,.banner-editor-controls>label{display:grid;gap:6px;color:#46585e;font-size:12px;font-weight:600}
.banner-editor-content>.banner-editor-remove{display:flex;align-items:center;gap:7px;margin-top:8px}
.banner-editor-remove input{width:auto!important;min-height:0!important}
.banner-editor-content input[type=file],.banner-editor-content input[type=text]{box-sizing:border-box;width:100%;min-height:36px;padding:7px;border:1px solid #d4dfe2;border-radius:5px;background:#fff;color:#25343a;font:inherit;font-size:12px}
.banner-editor-content input[type=color]{width:48px;height:32px;padding:2px;border:1px solid #d4dfe2;border-radius:5px;background:#fff}
.banner-editor-controls{display:grid;grid-template-columns:1fr 1fr;gap:11px 14px;margin-top:12px}
.banner-editor-controls output{margin-left:auto;color:#078ba5;font-size:11px}
.banner-editor-controls input[type=range]{width:100%;accent-color:#08a9ca}
.banner-editor-controls .banner-editor-color-control{grid-template-columns:1fr auto}
.banner-editor-controls .banner-editor-color-control input{grid-column:2;grid-row:1 / span 2}
.banner-editor-status{display:block;min-height:17px;margin-top:10px;color:#b23a48;font-size:12px}
.banner-editor-dialog button:disabled{opacity:.65;cursor:wait}
body[data-appearance-mode="dark"] .banner-editor-dialog{border-color:#3a4351;background:#202732;color:#edf1f7}
body[data-appearance-mode="dark"] .banner-editor-dialog>header,body[data-appearance-mode="dark"] .banner-editor-dialog>footer{border-color:#3a4351}
body[data-appearance-mode="dark"] .banner-editor-content>label,body[data-appearance-mode="dark"] .banner-editor-controls>label{color:#c1cad7}
body[data-appearance-mode="dark"] .banner-editor-brush-tools label{color:#c1cad7}
body[data-appearance-mode="dark"] .banner-editor-brush-tools>p{color:#aab5c4}
body[data-appearance-mode="dark"] .banner-editor-brush-tools button{border-color:#414b5a;background:#303b4a;color:#edf1f7}
body[data-appearance-mode="dark"] .banner-editor-brush-tools [data-banner-brush][aria-pressed=true]{background:#087e91}
body[data-appearance-mode="dark"] .banner-editor-content input[type=file],body[data-appearance-mode="dark"] .banner-editor-content input[type=text]{border-color:#414b5a;background:#181d26;color:#f0f2f6}
body[data-appearance-mode="dark"] .banner-editor-dialog>footer button{background:#303b4a;color:#edf1f7}
body[data-appearance-mode="dark"] .banner-editor-dialog>footer [data-banner-save]{background:#08a9ca;color:#fff}
@media(max-width:600px){.banner-editor-modal{padding:8px}.banner-editor-dialog{width:100%;max-height:100%}.banner-editor-controls,.banner-editor-brush-tools{grid-template-columns:1fr}.banner-editor-brush-tools label{grid-column:auto}}
.banner-editor-dialog{grid-template-rows:52px minmax(0,1fr) 52px;width:min(720px,100%);max-height:min(820px,100%);border-radius:14px}
.banner-editor-dialog>header,.banner-editor-dialog>footer{padding:0 18px}
.banner-editor-dialog>header{background:linear-gradient(110deg,#07343b,#075d6b);color:#fff}
.banner-editor-dialog>footer{gap:8px;background:#f8fafb}
.banner-editor-content{padding:16px 18px 18px}
.banner-editor-preview{width:min(620px,calc(100vw - 48px));height:200px;margin-bottom:14px;border-radius:11px;box-shadow:0 5px 18px #163b451a}
.banner-editor-setup{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:stretch;gap:14px;margin:0 0 14px}
.banner-editor-file-tile{position:relative;display:flex;min-height:126px;flex-direction:column;align-items:center;justify-content:center;gap:5px;overflow:hidden;padding:12px 9px;border:1px dashed #8abac3;border-radius:11px;background:linear-gradient(145deg,#f2fbfc,#e7f5f7);color:#25434a;text-align:center;cursor:pointer;transition:border-color .18s,background .18s,transform .18s}
.banner-editor-file-tile:hover{transform:translateY(-1px);border-color:#08a9ca;background:#e8f8fa}
.banner-editor-file-tile:focus-within{outline:2px solid #08a9ca;outline-offset:2px}
.banner-editor-file-icon{display:grid;width:32px;height:32px;place-items:center;border-radius:10px;background:#08a9ca;color:#fff;font-size:24px;line-height:1}
.banner-editor-file-tile strong{font-size:12px}
.banner-editor-file-tile small,.banner-editor-file-name{max-width:100%;overflow:hidden;color:#718087;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.banner-editor-file-tile input[type=file]{position:absolute;inset:0;width:100%;height:100%;min-height:0!important;padding:0!important;opacity:0;cursor:pointer}
.banner-editor-image-options{display:flex;flex-direction:column;justify-content:center;gap:10px;padding:14px 16px;border:1px solid #e2e9eb;border-radius:11px;background:#fafcfc}
.banner-editor-image-options>p{margin:0;color:#718087;font-size:12px;line-height:1.5}
.banner-editor-content>.banner-editor-setup .banner-editor-remove{margin:0;color:#46585e;font-size:12px}
.banner-editor-controls{grid-template-columns:1fr 1fr;gap:12px 14px;margin-top:0}
.banner-editor-control{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 12px;padding:11px 12px;border:1px solid #e2e9eb;border-radius:10px;background:#fff}
.banner-editor-control output{grid-column:2;grid-row:1}
.banner-editor-control input[type=range]{grid-column:1/-1;grid-row:2;margin:0}
.banner-editor-control input[type=text]{grid-column:1/-1}
.banner-editor-brush-tools{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:10px;padding:13px;border:1px solid #d8e9ec;border-radius:12px;background:linear-gradient(145deg,#f5fbfc,#fff)}
.banner-editor-brush-heading{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.banner-editor-brush-heading strong{color:#25434a;font-size:13px}
.banner-editor-brush-tools .banner-editor-brush-heading p{margin:0;font-size:11px}
.banner-editor-brush-actions{grid-column:1/-1;display:flex;align-items:center;gap:8px}
.banner-editor-brush-color{display:flex;align-items:center;gap:8px;margin-right:auto;color:#46585e;font-size:12px;font-weight:600}
.banner-editor-brush-color input[type=color]{width:40px;height:34px;padding:2px;border:1px solid #cbd6da;border-radius:8px;background:#fff;cursor:pointer}
.banner-editor-brush-tools button{min-height:36px;padding:8px 12px;border-radius:8px}
.banner-editor-brush-tools [data-banner-brush][aria-pressed=true]{border-color:#078ba5;background:#078ba5;color:#fff}
.banner-editor-brush-tools .banner-editor-control{background:#fff}
.banner-editor-dialog>footer button{min-height:36px;padding:8px 16px;border-radius:8px}
body[data-appearance-mode="dark"] .banner-editor-dialog>footer{background:#202732}
body[data-appearance-mode="dark"] .banner-editor-file-tile{border-color:#416c77;background:linear-gradient(145deg,#233b45,#202d38);color:#edf1f7}
body[data-appearance-mode="dark"] .banner-editor-file-tile:hover{border-color:#08a9ca;background:#253d48}
body[data-appearance-mode="dark"] .banner-editor-file-tile small,body[data-appearance-mode="dark"] .banner-editor-file-name{color:#aab5c4}
body[data-appearance-mode="dark"] .banner-editor-image-options,body[data-appearance-mode="dark"] .banner-editor-control{border-color:#3a4351;background:#252c37}
body[data-appearance-mode="dark"] .banner-editor-brush-tools{border-color:#3a4351;background:linear-gradient(145deg,#202c37,#252c37)}
body[data-appearance-mode="dark"] .banner-editor-brush-heading strong,body[data-appearance-mode="dark"] .banner-editor-brush-color{color:#c1cad7}
@media(max-width:600px){.banner-editor-dialog{grid-template-rows:48px minmax(0,1fr) 50px}.banner-editor-content{padding:11px}.banner-editor-preview{width:100%;height:170px;margin-bottom:11px}.banner-editor-setup{grid-template-columns:116px minmax(0,1fr);gap:9px}.banner-editor-file-tile{min-height:120px;padding:8px 5px}.banner-editor-image-options{padding:10px}.banner-editor-controls{grid-template-columns:1fr;gap:9px}.banner-editor-brush-tools{grid-template-columns:1fr}.banner-editor-brush-actions{flex-wrap:wrap}.banner-editor-brush-color{width:100%;margin:0}.banner-editor-brush-heading{align-items:flex-start;flex-direction:column;gap:4px}}
.banner-editor-dialog{grid-template-rows:42px minmax(0,1fr) 44px;width:min(600px,100%);max-height:min(570px,100%);border-radius:9px}
.banner-editor-dialog>header,.banner-editor-dialog>footer{padding:0 12px}
.banner-editor-content{padding:10px 12px}
.banner-editor-preview{left:auto;width:100%;height:150px;margin:0 0 8px;transform:none;border-radius:7px;box-shadow:none}
.banner-editor-setup{grid-template-columns:minmax(140px,1fr) auto;align-items:center;gap:10px;margin:0 0 8px}
.banner-editor-file-tile{min-height:38px;flex-direction:row;justify-content:flex-start;gap:7px;padding:5px 9px;border-radius:6px}
.banner-editor-file-icon{width:23px;height:23px;flex:0 0 23px;border-radius:6px;font-size:18px}
.banner-editor-file-tile strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.banner-editor-content>.banner-editor-setup .banner-editor-remove{display:flex;align-items:center;gap:5px;margin:0;white-space:nowrap;font-size:11px}
.banner-editor-remove input{width:14px!important;height:14px;min-height:0!important;margin:0}
.banner-editor-controls{grid-template-columns:1fr 1fr;gap:7px 9px;margin:0}
.banner-editor-control{gap:4px 8px;padding:7px 9px;border-radius:6px;font-size:11px}
.banner-editor-control input[type=text]{min-height:30px;padding:5px 7px;font-size:11px}
.banner-editor-brush-tools{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:7px;padding:7px;border-radius:7px}
.banner-editor-brush-actions{grid-column:1/-1;display:flex;align-items:center;gap:6px}
.banner-editor-brush-color{width:auto;margin:0 3px 0 0}
.banner-editor-brush-color input[type=color]{width:32px;height:30px;border-radius:5px}
.banner-editor-brush-tools button{min-height:30px;padding:4px 9px;border-radius:5px;font-size:12px}
.banner-editor-brush-tools [data-banner-undo],.banner-editor-brush-tools [data-banner-redo]{width:32px;padding:0;font-size:20px;line-height:1}
.banner-editor-brush-tools .banner-editor-control{padding:6px 8px}
.banner-editor-status{min-height:14px;margin-top:4px;font-size:11px}
.banner-editor-dialog>footer button{min-height:30px;padding:6px 11px}
@media(max-width:600px){.banner-editor-dialog{grid-template-rows:40px minmax(0,1fr) 42px;max-height:calc(100% - 6px)}.banner-editor-content{padding:8px}.banner-editor-preview{height:130px;margin-bottom:7px}.banner-editor-setup{grid-template-columns:minmax(0,1fr) auto;gap:6px;margin-bottom:7px}.banner-editor-file-tile{min-height:36px;padding:4px 6px}.banner-editor-content>.banner-editor-setup .banner-editor-remove{font-size:10px}.banner-editor-controls{grid-template-columns:1fr 1fr;gap:6px}.banner-editor-brush-tools{grid-template-columns:1fr 1fr}.banner-editor-brush-actions{flex-wrap:nowrap}.banner-editor-brush-tools .banner-editor-control{grid-column:span 1}}
