#witch-panel.wm-overlay{position:fixed;inset:0;z-index:950;padding:12px;display:grid;place-items:center;background:rgba(5,8,23,.92);color:#eadfff;font:13px monospace;box-sizing:border-box}
.wm-window{width:100%;max-width:740px;height:min(86vh,790px);display:flex;flex-direction:column;overflow:hidden;border:2px solid #a472e4;border-radius:12px;background:#171226;box-shadow:0 14px 60px #0009;box-sizing:border-box}
.wm-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;background:linear-gradient(130deg,#302044,#1c1934);border-bottom:1px solid #6c498a}
.wm-head h2{margin:4px 0 0;font-size:23px;color:#f1e6ff}.wm-eyebrow{font-size:10px;color:#bda6d9;letter-spacing:1.5px}.wm-head-right{display:flex;align-items:center;gap:10px}.wm-gold{padding:8px 10px;border:1px solid #82673a;border-radius:6px;background:#2d2530;color:#f7d585;white-space:nowrap;font-size:12px}
#witch-panel .wm-close{padding:4px 10px;font-size:25px;line-height:1.1;border-color:#7f619b;color:#c7b6de;background:#261d35}
.wm-scroll{overflow:auto;overscroll-behavior:contain;padding:18px;min-height:0;scrollbar-color:#8055a5 #171226}.wm-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:5px 0 12px;color:#cbb3e7;font-size:11px;letter-spacing:1px}.wm-section-title small{color:#90849f;font-size:10px;letter-spacing:0}
.wm-feature{display:grid;grid-template-columns:104px minmax(0,1fr);gap:18px;padding:18px;margin-bottom:12px;border:1px solid #a77ad1;border-radius:9px;background:linear-gradient(135deg,#352345,#21192f)}
.wm-feature-art{display:flex;align-items:center;justify-content:center;min-height:128px;border:1px solid #8562a7;border-radius:8px;background:radial-gradient(ellipse,#72538c55,#130d2055);box-shadow:inset 0 0 26px #a279d411}
.wm-feature-art canvas{width:96px;height:96px;image-rendering:pixelated}.wm-feature h3{margin:5px 0 8px;font-size:20px;color:#e4c9ff}.wm-price{display:inline-block;padding:5px 9px;border:1px solid #9c7b40;border-radius:5px;background:#3c2c32;color:#ffe1a1;font-weight:bold}.wm-feature p{font-size:12px;line-height:1.6;color:#cdbedf;margin:10px 0}.wm-feature small{display:block;margin-top:8px;color:#a6d6c5;font-size:11px}.wm-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
#witch-panel.wm-overlay button{cursor:pointer;min-height:36px;padding:9px 11px;border:1px solid #9673b5;border-radius:6px;background:#382448;color:#eee4fa;font:11px monospace;box-sizing:border-box}#witch-panel.wm-overlay button:hover:not(:disabled){background:#543565;border-color:#d3a6fa}#witch-panel.wm-overlay button:focus-visible{outline:2px solid #e9c4ff;outline-offset:2px}#witch-panel.wm-overlay button:disabled{cursor:default;opacity:.38}#witch-panel.wm-overlay [data-scepter-buy]{background:#8258ae;border-color:#d4adff;color:#fff;font-weight:bold}
.wm-materials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.wm-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;border:1px solid #503c65;border-radius:8px;background:#211a2f;min-width:0}.wm-item-art{width:48px;height:48px;display:grid;place-items:center;border:1px solid #665077;border-radius:6px;background:#120e1d}.wm-item-art canvas{width:40px;height:40px;image-rendering:pixelated}.wm-item strong{display:block;color:#e1d2ee;font-size:12px;line-height:1.4}.wm-item p{margin:5px 0;color:#d6b36f;font-size:11px}.wm-item small{color:#a399b2;font-size:10px}.wm-potion{margin-bottom:22px}.wm-foot{padding:10px 18px;border-top:1px solid #503c65;color:#a898bb;font-size:10px;background:#1c1529}
@media(max-width:580px){#witch-panel.wm-overlay{padding:8px}.wm-window{height:88vh;border-radius:9px}.wm-head{padding:14px 12px;gap:8px}.wm-head h2{font-size:19px}.wm-gold{font-size:10px;padding:7px}.wm-head-right{gap:6px}.wm-scroll{padding:12px}.wm-feature{grid-template-columns:78px minmax(0,1fr);padding:12px;gap:12px}.wm-feature-art{min-height:112px}.wm-feature-art canvas{width:76px;height:76px}.wm-feature h3{font-size:18px}.wm-feature p{font-size:11px;line-height:1.5}.wm-actions{grid-column:1/-1;margin-top:0}.wm-materials{grid-template-columns:minmax(0,1fr)}.wm-item{padding:10px}.wm-foot{font-size:9px}.wm-price{font-size:12px}}
.wm-actions{grid-column:1/-1}.wm-actions p{flex-basis:100%;margin:0;color:#cdbedf}#witch-panel.wm-overlay .wm-close{font-size:24px;padding:3px 9px;min-width:36px}
#witch-panel.wm-overlay canvas{position:static!important;inset:auto!important;display:block;margin:0;transform:none;pointer-events:none}
