.item-tool [hidden] { display:none!important; }
.item-tool .gradient-card > h2 { margin-bottom:16px; }
.item-tool .item-field { display:flex; flex-direction:column; gap:10px; margin:16px 0; color:#a1a1aa; font-size:13px; min-width:0; }
.item-label { display:block; margin-bottom:12px; color:#a1a1aa; font-size:13px; }
.item-dyes { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:10px; }
.item-tool .item-dye { display:block; appearance:none; width:100%; aspect-ratio:1; max-height:44px; margin:0; padding:0; border:0; border-radius:10px; cursor:pointer; }
.item-tool .item-dye[aria-pressed=true] { outline:2px solid #008fff; outline-offset:3px; }
.item-tool .item-dye:hover { filter:brightness(1.1); }
.item-empty { margin:0; padding:10px 0; color:#85858f; font-size:13px; }
.item-tool .is-error { color:#f87171; }
.item-tool textarea { background:#111113; border:1px solid #ffffff08; font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important; font-size:12px; line-height:1.8; overflow-wrap:anywhere; }
.banner-layers { display:flex; flex-direction:column; gap:10px; }
.banner-layer { display:grid; grid-template-columns:20px minmax(0,1fr) 120px auto; gap:8px; align-items:center; }
.banner-layer__number { color:#85858f; font-size:12px; }
.item-tool .banner-layer select { padding:9px 8px; font-size:12px; min-width:0; }
.banner-layer__actions { display:flex; gap:2px; }
.item-tool .banner-layer__actions button { display:flex; justify-content:center; align-items:center; width:26px; height:32px; min-width:0; padding:0; margin:0; border:0; border-radius:8px; background:transparent; color:#a1a1aa; cursor:pointer; }
.banner-layer__actions button:hover:not(:disabled) { background:#ffffff08; color:#fafafa; }
.banner-layer__actions button:disabled { opacity:.25; cursor:default; }
.item-tool #bannerPatternSearch { margin:20px 0 14px; }
.banner-patterns { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:8px; }
.item-tool .banner-pattern { display:flex; align-items:center; justify-content:center; padding:8px 0; min-width:0; border:1px solid transparent; border-radius:10px; background:#27272a; cursor:pointer; }
.banner-pattern canvas { display:block; width:24px; height:48px; image-rendering:pixelated; }
.item-tool .banner-pattern:hover:not(:disabled) { background:#323237; border-color:#008fff; }
.banner-pattern:disabled { opacity:.3; cursor:default; }
.banner-stage { position:relative; display:flex; align-items:center; justify-content:center; min-height:350px; margin-bottom:20px; padding:28px; border-radius:18px; background:radial-gradient(ellipse at 50% 50%,#27272a55,transparent 75%),#111113; }
.banner-stage canvas { position:relative; display:block; width:140px; height:280px; image-rendering:pixelated; filter:drop-shadow(0 12px 14px #0005); }
.banner-pole { position:absolute; top:22px; bottom:22px; left:calc(50% - 5px); width:10px; background:#645140; box-shadow:inset -3px 0 #0002; }
.banner-pole:before { content:''; position:absolute; top:2px; left:-72px; width:154px; height:8px; border-radius:2px; background:#826b52; }
.armor-color-heading { display:flex; gap:16px; align-items:center; margin:20px 0; }
.armor-color-heading .item-field { flex:1; margin:0; }
.item-tool .armor-color-picker { display:block; position:relative; width:70px; height:70px; flex:0 0 70px; border-radius:16px; overflow:hidden; margin:0; }
.armor-color-picker input[type=color] { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; border:0; padding:0; }
.armor-color-picker:focus-within { outline:2px solid #008fff; outline-offset:3px; }
.armor-rgb { display:flex; flex-direction:column; gap:14px; }
.armor-channel { display:grid; grid-template-columns:14px minmax(0,1fr) 60px; align-items:center; gap:12px; }
.armor-channel label { margin:0; color:#a1a1aa; font-size:12px; }
.item-tool .armor-channel input[type=text] { text-align:center; padding:8px; font-variant-numeric:tabular-nums; }
.item-tool .armor-channel input[type=range] { width:100%; height:6px; margin:0; padding:0; appearance:none; border:0; border-radius:999px; background:#3f3f46; cursor:pointer; }
.armor-channel input[type=range]::-webkit-slider-thumb { appearance:none; width:16px; height:16px; border:0; border-radius:50%; background:#008fff; }
.armor-channel input[type=range]::-moz-range-thumb { width:16px; height:16px; border:0; border-radius:50%; background:#008fff; }
.armor-preview { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.item-tool .armor-piece { display:flex; flex-direction:column; align-items:center; min-width:0; padding:8px 0 12px; margin:0; border:1px solid transparent; border-radius:14px; background:#111113; color:#a1a1aa; cursor:pointer; }
.armor-piece canvas { display:block; width:100%; height:auto; image-rendering:pixelated; }
.armor-piece span { font-size:11px; }
.item-tool .armor-piece[aria-pressed=true] { border-color:#008fff; background:#008fff0d; color:#66b6ff; }
.item-tool .armor-set-button { margin-top:16px; }
.item-tool .armor-set-button[aria-pressed=true] { background:#008fff20; color:#66b6ff; }
@media(max-width:1199px) and (min-width:992px) { .banner-layer { grid-template-columns:16px minmax(0,1fr) 105px; } .banner-layer__actions { grid-column:2/-1; justify-content:flex-end; } }
@media(max-width:575px) { .item-dyes { gap:8px; } .item-tool .item-dye { border-radius:7px; } .banner-layer { grid-template-columns:16px minmax(0,1fr) 100px; gap:6px; } .banner-layer__actions { grid-column:2/-1; justify-content:flex-end; } .banner-patterns { grid-template-columns:repeat(5,minmax(0,1fr)); } .armor-preview { grid-template-columns:repeat(2,minmax(0,1fr)); } .banner-stage { min-height:310px; } .banner-stage canvas { width:120px; height:240px; } .banner-pole:before { width:134px; left:-62px; } }
#bannerOutput,#armorOutput { font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important; }
