/* GUI Kowala v1.2.0. Values and control styles copied from alchemy.css.
   Everything is scoped to this service; alchemy and equipment remain untouched. */
#blacksmithPanel{--forge-ink:#0f0b13;--forge-card:#17121b;--forge-line:#3d3044;--forge-line-2:#5b4566;--forge-violet:#c79bf0;--forge-gold:#e6c27a;--forge-text:#ece4d6;--forge-muted:#a99fae;max-width:760px;margin:0 auto;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--forge-text);font:15px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}
#blacksmithPanel:not(#_a):not(#_b) *{box-sizing:border-box;min-width:0}
#blacksmithPanel:not(#_a):not(#_b) h2,#blacksmithPanel:not(#_a):not(#_b) h3{font-family:Georgia,serif;color:#f0dcff;letter-spacing:.02em;line-height:1.25;margin:0 0 10px}
#blacksmithPanel:not(#_a):not(#_b) h2{font-size:26px;margin:4px 0 10px}
#blacksmithPanel:not(#_a):not(#_b) h3{font-size:19px}
#blacksmithPanel:not(#_a):not(#_b) p{font-size:14px;line-height:1.45;color:var(--forge-muted);margin:8px 0;overflow-wrap:anywhere}
#blacksmithPanel:not(#_a):not(#_b) small{font-size:12px;color:var(--forge-muted);letter-spacing:0;line-height:1.4}
#blacksmithPanel:not(#_a):not(#_b) button{min-height:44px;border:1px solid var(--forge-line-2)!important;background:linear-gradient(#2a2130,#17111b)!important;color:#efe3fb!important;border-radius:8px!important;padding:9px 12px!important;cursor:pointer;font:600 14px/1.25 system-ui,-apple-system,"Segoe UI",sans-serif!important;letter-spacing:0!important;text-transform:none!important;box-shadow:none!important;opacity:1!important;white-space:normal!important;overflow-wrap:anywhere}
#blacksmithPanel:not(#_a):not(#_b) button small{display:block;margin-top:3px;font:400 12px/1.3 system-ui,sans-serif;color:#cdbfd8}
#blacksmithPanel:not(#_a):not(#_b) button:disabled{opacity:.45!important;cursor:default;color:#b8adbf!important}
#blacksmithPanel:not(#_a):not(#_b) button:focus-visible,#blacksmithPanel:not(#_a):not(#_b) summary:focus-visible{outline:2px solid #e5bbff!important;outline-offset:2px}
#blacksmithPanel:not(#_a):not(#_b) button:active:not(:disabled){translate:0 1px}
#blacksmithPanel:not(#_a):not(#_b) select{min-height:44px;background:#120e16!important;color:#f4e9f9!important;border:1px solid var(--forge-line-2)!important;border-radius:7px;padding:8px 10px;font:15px system-ui,sans-serif;width:100%;max-width:100%}
#blacksmithPanel:not(#_a):not(#_b) .forge-header{display:block;padding:14px;border:1px solid var(--forge-line);background:linear-gradient(115deg,#271b30,#110d15);border-radius:12px;margin-bottom:12px}
#blacksmithPanel:not(#_a):not(#_b) .forge-kicker{font-size:12px;letter-spacing:.14em;color:var(--forge-muted)}
#blacksmithPanel:not(#_a):not(#_b) .forge-wallet{display:grid;grid-template-columns:1fr 1fr;gap:6px}
#blacksmithPanel:not(#_a):not(#_b) .forge-wallet>span{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:7px 10px;border:1px solid var(--forge-line);border-radius:8px;background:#0d0a10;font-size:13px;color:var(--forge-muted)}
#blacksmithPanel:not(#_a):not(#_b) .forge-wallet b{color:var(--forge-gold);font-size:14px;font-variant-numeric:tabular-nums}
#blacksmithPanel:not(#_a):not(#_b) .forge-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:0!important;margin:0 0 10px!important;background:none!important;border:0!important;overflow:visible!important;white-space:normal!important}
#blacksmithPanel:not(#_a):not(#_b) .forge-tabs button{font-size:13px!important;padding:8px 4px!important;width:100%!important;min-width:0!important;flex:initial!important}
#blacksmithPanel:not(#_a):not(#_b) .forge-tabs button.is-active{border-color:var(--forge-violet)!important;background:linear-gradient(#5d3378,#2a1838)!important;box-shadow:0 0 0 1px #c79bf055 inset!important}
#blacksmithPanel:not(#_a):not(#_b) .forge-workspace,#blacksmithPanel:not(#_a):not(#_b) #craft120{padding:0!important;margin:0!important}
#blacksmithPanel:not(#_a):not(#_b) .forge-illustration{position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--forge-line);border-radius:12px;background:radial-gradient(ellipse at 22% 70%,#8e51341a,transparent 55%),var(--forge-card);margin:12px 0;overflow:hidden}
#blacksmithPanel:not(#_a):not(#_b) .forge-art{display:block;position:relative;width:min(100%,320px);height:auto;aspect-ratio:3/2;margin:auto;overflow:visible}
#blacksmithPanel:not(#_a):not(#_b) .forge-illustration-copy{padding:6px 0}
#blacksmithPanel:not(#_a):not(#_b) .forge-illustration-copy b{display:block;font:700 17px/1.25 Georgia,serif;color:#f0dcff;margin-bottom:4px}
#blacksmithPanel:not(#_a):not(#_b) .forge-illustration-copy small{display:block}
#blacksmithPanel:not(#_a):not(#_b) button.forge-motion{font-size:12px!important;padding:7px 9px!important;margin-top:9px}
#blacksmithPanel:not(#_a):not(#_b) .forge-heat{animation:forge-heat 3.2s ease-in-out infinite;transform-origin:1240px 480px}
#blacksmithPanel:not(#_a):not(#_b) .forge-ember{opacity:0;animation:forge-ember 4.5s ease-out infinite;animation-delay:var(--delay,0s)}
#blacksmithPanel:not(#_a):not(#_b) .forge-hammer{transform-origin:1090px 110px}
#blacksmithPanel:not(#_a):not(#_b) .forge-strike-spark{opacity:0;transform-origin:830px 180px}
#blacksmithPanel:not(#_a):not(#_b).forge-is-striking .forge-hammer{animation:forge-strike .65s ease-in-out both}
#blacksmithPanel:not(#_a):not(#_b).forge-is-striking .forge-strike-spark{animation:forge-impact .65s ease-out both}
#blacksmithPanel:not(#_a):not(#_b).forge-is-striking .forge-workpiece{animation:forge-workpiece .65s ease-out both}
#blacksmithPanel:not(#_a):not(#_b) .forge-feedback{font-size:14px;padding:10px 12px;border:1px solid #6d4b86;border-left-width:4px;background:#22182b;border-radius:8px;margin:10px 0;overflow-wrap:anywhere}
#blacksmithPanel:not(#_a):not(#_b) .forge-feedback:empty{display:none}
#blacksmithPanel:not(#_a):not(#_b) .forge-feedback[data-result="success"]{border-left-color:#9fe0b9}
#blacksmithPanel:not(#_a):not(#_b) .forge-feedback[data-result="failure"]{border-left-color:#c46a72}
#blacksmithPanel:not(#_a):not(#_b) .forge-comparison{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;margin:0 0 12px}
#blacksmithPanel:not(#_a):not(#_b) .forge-comparison>div{display:block;min-height:0!important;padding:12px!important;border:1px solid var(--forge-line)!important;border-radius:12px;background:var(--forge-card)!important;overflow-wrap:anywhere}
#blacksmithPanel:not(#_a):not(#_b) .forge-comparison>div:first-child{order:0}
#blacksmithPanel:not(#_a):not(#_b) .forge-comparison>div:last-child{order:1}
#blacksmithPanel:not(#_a):not(#_b) .forge-comparison>.forge-requirements{order:2;grid-column:1/-1}
#blacksmithPanel:not(#_a):not(#_b) .forge-comparison>div>small{display:block;font-size:11px;margin-bottom:8px;color:var(--forge-muted)}
#blacksmithPanel:not(#_a):not(#_b) .forge-item-head{display:flex;flex-direction:column;align-items:flex-start;gap:9px;margin:0}
#blacksmithPanel:not(#_a):not(#_b) .forge-item-head .v76-gear-icon{width:56px!important;height:64px!important;min-width:56px;background:#120e16!important;border:1px solid var(--forge-line-2)!important;border-radius:8px;box-shadow:none!important;font-size:24px!important}
#blacksmithPanel:not(#_a):not(#_b) .forge-item-head b{font:700 16px/1.3 Georgia,serif;color:#f3e6ff;overflow-wrap:anywhere}
#blacksmithPanel:not(#_a):not(#_b) .forge-item-head span{font-size:12px;color:var(--forge-muted)}
#blacksmithPanel:not(#_a):not(#_b) .forge-comparison p{font-size:12px;color:var(--forge-muted);margin-top:9px}
#blacksmithPanel:not(#_a):not(#_b) .forge-requirements>b{display:block;color:var(--forge-gold);font:600 16px/1.4 system-ui,sans-serif;line-height:1.4;margin:4px 0 12px}
#blacksmithPanel:not(#_a):not(#_b) .forge-requirements>button{display:block;width:100%;margin-top:8px}
#blacksmithPanel:not(#_a):not(#_b) [data-forge-normal]{border-color:#b98be0!important;background:linear-gradient(#7c43a8,#43215c)!important;color:#fff!important;font-size:16px!important;min-height:50px}
#blacksmithPanel:not(#_a):not(#_b) .refine-materials{padding:0;margin:8px 0 12px!important;color:var(--forge-muted);font-size:14px;background:none;border:0}
#blacksmithPanel:not(#_a):not(#_b) .refine-materials>b{font:600 13px system-ui;color:var(--forge-muted)}
#blacksmithPanel:not(#_a):not(#_b) .refine-materials>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #ffffff10}
#blacksmithPanel:not(#_a):not(#_b) .refine-materials>div>span{overflow-wrap:anywhere;font-size:14px}
#blacksmithPanel:not(#_a):not(#_b) .refine-materials button{flex:0 0 auto;font-size:12px!important}
#blacksmithPanel:not(#_a):not(#_b) .service-picker-shell{padding:0;border:1px solid var(--forge-line);border-radius:12px;background:var(--forge-card);margin:12px 0;overflow:hidden!important}
#blacksmithPanel:not(#_a):not(#_b) .service-picker-shell>summary{min-height:54px;padding:11px 12px;font-size:14px;color:var(--forge-text)}
#blacksmithPanel:not(#_a):not(#_b) .service-picker-shell>summary span{color:var(--forge-text);overflow-wrap:anywhere}
#blacksmithPanel:not(#_a):not(#_b) .service-picker-shell>summary:after{color:var(--forge-violet)}
#blacksmithPanel:not(#_a):not(#_b) .service-picker-toolbar{font-size:12px!important;padding:9px 12px;background:#120e16;border-color:var(--forge-line);color:var(--forge-muted)}
#blacksmithPanel:not(#_a):not(#_b) .service-gear-picker{background:#120e16;border:0!important;padding:8px!important;gap:5px!important;--service-cell:clamp(36px,8vw,58px)}
#blacksmithPanel:not(#_a):not(#_b) .service-gear-picker .empty-slot{background:#17121b!important;border:1px solid #3d3044!important;border-radius:6px!important}
/* Keep the game's 6-column inventory packing and each item's cell span. */
#blacksmithPanel:not(#_a):not(#_b) button.service-board-slot{min-height:0!important;padding:3px!important;background:#201727!important;border-color:var(--forge-line-2)!important;border-radius:6px!important}
#blacksmithPanel:not(#_a):not(#_b) button.service-board-slot.active{outline-color:var(--forge-violet)!important;border-color:var(--forge-violet)!important;background:linear-gradient(#5d3378,#2a1838)!important;box-shadow:0 0 0 1px #c79bf055 inset!important}
#blacksmithPanel:not(#_a):not(#_b) .service-board-slot>b{color:var(--forge-text);font-size:10px!important}
#blacksmithPanel:not(#_a):not(#_b) .service-board-slot>small{font-size:10px!important}
#blacksmithPanel:not(#_a):not(#_b) .service-board-slot>.service-gear-stage{color:var(--forge-gold);font-size:12px!important}
#blacksmithPanel:not(#_a):not(#_b) .service-empty,#blacksmithPanel:not(#_a):not(#_b) .v76-forge,#blacksmithPanel:not(#_a):not(#_b) .craft-card{padding:14px;border:1px solid var(--forge-line);border-radius:12px;background:var(--forge-card);color:var(--forge-text);margin:12px 0}
#blacksmithPanel:not(#_a):not(#_b) .service-empty{display:grid;gap:6px}
#blacksmithPanel:not(#_a):not(#_b) .v76-forge-counters>span,#blacksmithPanel:not(#_a):not(#_b) .v76-quality-legend>span{background:#120e16;border:1px solid var(--forge-line);font-size:13px}
#blacksmithPanel:not(#_a):not(#_b) .v76-forge-counters b,#blacksmithPanel:not(#_a):not(#_b) .v76-smelt-row>strong{color:var(--forge-gold)}
#blacksmithPanel:not(#_a):not(#_b) .v75-entry{background:#120e16;border:1px solid var(--forge-line);border-radius:8px;padding:10px;color:var(--forge-text);font-size:14px}
#blacksmithPanel:not(#_a):not(#_b) .v75-entry b,#blacksmithPanel:not(#_a):not(#_b) .craft-card>b{color:#f3e6ff;font-size:16px}
#blacksmithPanel:not(#_a):not(#_b) .v75-actions{display:flex;flex-wrap:wrap;gap:8px}
#blacksmithPanel:not(#_a):not(#_b) .v75-actions>button{flex:1 1 140px}
#blacksmithPanel:not(#_a):not(#_b) .v76-smelt-row{display:flex;gap:8px;align-items:center;min-height:52px}
#blacksmithPanel:not(#_a):not(#_b) .v76-smelt-row>input{accent-color:var(--forge-violet);width:22px;height:22px}
#blacksmithPanel:not(#_a):not(#_b) .craft-req{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--forge-line)}
#blacksmithPanel:not(#_a):not(#_b) .craft-req.ok b{color:#9fe0b9}
#blacksmithPanel:not(#_a):not(#_b) .craft-req.no b{color:#ff8f8f}
#blacksmithPanel:not(#_a):not(#_b) #craft120Btn{width:100%;margin-top:12px}
#blacksmithPanel[hidden] *,body:not([data-active-screen="services"]) #blacksmithPanel *,#blacksmithPanel[data-motion="off"] *,#blacksmithPanel[data-paused="true"] *{animation-play-state:paused!important}
#blacksmithPanel[data-motion="off"] .forge-ember,#blacksmithPanel[data-motion="off"] .forge-strike-spark{opacity:0!important}
@keyframes forge-heat{50%{opacity:.42;transform:scale(.94)}0%,100%{opacity:.8;transform:scale(1)}}
@keyframes forge-ember{0%{opacity:0;transform:translate(0,0)}15%{opacity:.65}100%{opacity:0;transform:translate(var(--drift,30px),-130px)}}
@keyframes forge-strike{0%{transform:rotate(0)}23%{transform:rotate(16deg)}48%{transform:rotate(-25deg)}65%{transform:rotate(-17deg)}100%{transform:rotate(0)}}
@keyframes forge-impact{0%,40%{opacity:0;transform:scale(.15)}50%{opacity:1;transform:scale(.6)}100%{opacity:0;transform:scale(1.3)}}
@keyframes forge-workpiece{0%,40%,100%{filter:none}50%{filter:drop-shadow(0 0 5px #ffc078)}}
@media(min-width:620px){#blacksmithPanel:not(#_a):not(#_b) .forge-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important}#blacksmithPanel:not(#_a):not(#_b) .forge-item-head{flex-direction:row;align-items:center}#blacksmithPanel:not(#_a):not(#_b) .forge-illustration{grid-template-columns:300px minmax(0,1fr)}}
@media(max-width:350px){#blacksmithPanel:not(#_a):not(#_b) .forge-illustration{grid-template-columns:minmax(0,1fr);padding:10px}#blacksmithPanel:not(#_a):not(#_b) .forge-art{width:min(100%,280px);height:auto}#blacksmithPanel:not(#_a):not(#_b) .forge-wallet{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#blacksmithPanel *,#blacksmithPanel *:before,#blacksmithPanel *:after{animation:none!important;transition:none!important}#blacksmithPanel .forge-ember,#blacksmithPanel .forge-strike-spark{opacity:0!important}}

/* The forge includes its own alchemy-style heading. Hide only the duplicate service title. */
body[data-active-screen="services"]:has(#blacksmithPanel:not([hidden])) [data-screen-panel="services"]>.screen-heading{display:none!important}

#blacksmithPanel:not(#_a):not(#_b) .forge-anvil-image{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 12px #0005)}
#blacksmithPanel:not(#_a):not(#_b) .forge-hammer-overlay{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
#blacksmithPanel:not(#_a):not(#_b) .forge-illustration-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:center;padding:4px 0}
#blacksmithPanel:not(#_a):not(#_b) .forge-illustration-copy b{grid-column:1}
#blacksmithPanel:not(#_a):not(#_b) .forge-illustration-copy small{grid-column:1}
#blacksmithPanel:not(#_a):not(#_b) .forge-motion{grid-column:2;grid-row:1/3;margin-top:0!important;max-width:130px}
@media(min-width:620px){#blacksmithPanel:not(#_a):not(#_b) .forge-illustration-copy{display:block}#blacksmithPanel:not(#_a):not(#_b) .forge-motion{margin-top:10px!important}}

/* v1.2: the actual dragon-crest material language, now a functional work surface. */
#blacksmithPanel:not(#_a):not(#_b) .forge-illustration{display:block!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;margin:12px 0!important}
#blacksmithPanel:not(#_a):not(#_b) .forge-art{width:min(100%,560px)!important;height:auto!important;aspect-ratio:1!important;margin:0 auto 12px!important}
#blacksmithPanel:not(#_a):not(#_b) .forge-anvil-image{filter:none!important}
#blacksmithPanel:not(#_a):not(#_b) .forge-heat{transform-origin:640px 825px}
#blacksmithPanel:not(#_a):not(#_b) .forge-hammer{transform-origin:1075px 555px;opacity:0}
#blacksmithPanel:not(#_a):not(#_b) .forge-strike-spark{transform-origin:787px 610px}
#blacksmithPanel:not(#_a):not(#_b).forge-is-striking .forge-hammer{animation:forge-dragon-strike .65s ease-in-out both}
#blacksmithPanel:not(#_a):not(#_b) button.forge-center-select{position:absolute;left:50%;top:36%;transform:translate(-50%,-50%);width:25%;aspect-ratio:1;min-height:44px!important;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:6px!important;border:1px solid #5b456688!important;border-radius:10px!important;background:radial-gradient(circle,#2d1b37bb,#0f0b13bb)!important;box-shadow:inset 0 0 18px #0008,0 0 15px #9d62c422!important}
#blacksmithPanel:not(#_a):not(#_b) button.forge-center-select:disabled{opacity:.7!important}
#blacksmithPanel:not(#_a):not(#_b) .forge-center-icon{display:grid;place-items:center;width:100%;height:60%;font-size:30px;color:#c79bf0}
#blacksmithPanel:not(#_a):not(#_b) .forge-center-icon img{display:block;max-width:100%;max-height:60px;object-fit:contain}
#blacksmithPanel:not(#_a):not(#_b) .forge-center-select small{font:600 clamp(10px,2.5vw,13px)/1.25 system-ui,sans-serif!important;color:#ece4d6;margin:0!important}
#blacksmithPanel:not(#_a):not(#_b) button.forge-main-action{display:block;width:100%;min-height:52px!important;border-color:#b98be0!important;background:linear-gradient(#7c43a8,#43215c)!important;color:#fff!important;font-size:16px!important;margin:0!important}
#blacksmithPanel:not(#_a):not(#_b) .forge-illustration-copy{display:flex!important;justify-content:space-between;gap:12px;align-items:center;padding:10px 4px!important}
#blacksmithPanel:not(#_a):not(#_b) .forge-illustration-copy>small{flex:1;font-size:13px}
#blacksmithPanel:not(#_a):not(#_b) .forge-motion{flex:0 0 114px;font-size:11px!important;margin:0!important}
#blacksmithPanel:not(#_a):not(#_b)[data-forge-enhanced="true"] [data-forge-normal]{display:none!important}
#blacksmithPanel:not(#_a):not(#_b) .forge-main-action[hidden]{display:none!important}
@keyframes forge-dragon-strike{0%{opacity:0;transform:rotate(5deg)}22%{opacity:1;transform:rotate(16deg)}48%{opacity:1;transform:rotate(-22deg)}68%{opacity:1;transform:rotate(-12deg)}100%{opacity:0;transform:rotate(5deg)}}

/* v1.3: live workshop scene and compact upgrade workspace. */
#blacksmithPanel:not(#_a):not(#_b) .forge-header{padding:12px;margin-bottom:8px}
#blacksmithPanel:not(#_a):not(#_b) .forge-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important}
#blacksmithPanel:not(#_a):not(#_b) .forge-tabs button{font-size:11px!important;min-height:46px!important}
#blacksmithPanel:not(#_a):not(#_b) .forge-art{width:100%!important;max-width:600px;aspect-ratio:1!important;border:1px solid #65506e;border-radius:12px;overflow:hidden!important;isolation:isolate;margin-bottom:0!important}
#blacksmithPanel:not(#_a):not(#_b) .forge-art:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 40px #0008;border-radius:inherit}
#blacksmithPanel:not(#_a):not(#_b) .forge-scene-label{position:absolute;top:4%;left:0;width:100%;text-align:center;color:#d1bfdc;font:600 11px Georgia,serif;letter-spacing:.18em;text-shadow:0 2px 5px #000}
#blacksmithPanel:not(#_a):not(#_b) .forge-scene-label i{color:#bd8de4;padding:0 7px}
#blacksmithPanel:not(#_a):not(#_b) .forge-fire{position:absolute;left:40%;top:28%;width:20%;height:24%;animation:forge-firelight 2s ease-in-out infinite;mix-blend-mode:screen;pointer-events:none;filter:blur(.5px)}
#blacksmithPanel:not(#_a):not(#_b) .forge-fire i{position:absolute;bottom:0;width:35%;height:65%;border-radius:65% 10% 65% 35%;background:radial-gradient(ellipse at 50% 90%,#fff2b0 3%,#ffb13b 25%,#ed4a0e88 60%,transparent 74%);transform-origin:center bottom;animation:forge-flame .85s ease-in-out infinite alternate}
#blacksmithPanel:not(#_a):not(#_b) .forge-fire i:nth-child(1){left:0;height:58%;animation-delay:-.2s}
#blacksmithPanel:not(#_a):not(#_b) .forge-fire i:nth-child(2){left:21%;height:92%;animation-delay:-.7s}
#blacksmithPanel:not(#_a):not(#_b) .forge-fire i:nth-child(3){left:45%;height:75%;animation-delay:-.4s}
#blacksmithPanel:not(#_a):not(#_b) .forge-fire i:nth-child(4){left:65%;height:55%;animation-delay:-.1s}
#blacksmithPanel:not(#_a):not(#_b) .forge-fire-sparks{position:absolute;left:43%;top:48%;width:16%;height:2%;pointer-events:none}
#blacksmithPanel:not(#_a):not(#_b) .forge-fire-sparks i{position:absolute;width:2px;height:3px;background:#ffcf80;left:50%;box-shadow:0 0 4px #ff7200}
#blacksmithPanel:not(#_a):not(#_b) .forge-fire-sparks i:nth-child(2){left:20%}
#blacksmithPanel:not(#_a):not(#_b) .forge-fire-sparks i:nth-child(3){left:75%}
#blacksmithPanel:not(#_a):not(#_b) button.forge-center-select{top:65%;left:50%;width:22%;aspect-ratio:1;border-radius:8px!important;background:radial-gradient(circle,#35203bbd,#0e0b11d9)!important;z-index:1;box-shadow:0 0 22px #b079d430,inset 0 0 12px #c79bf022!important}
#blacksmithPanel:not(#_a):not(#_b) .forge-center-select small{font-size:10px!important}
#blacksmithPanel:not(#_a):not(#_b) .forge-center-icon{font-size:24px;height:55%}
#blacksmithPanel:not(#_a):not(#_b) .forge-center-icon img{max-height:48px}
#blacksmithPanel:not(#_a):not(#_b) .forge-hammer{transform-origin:765px 556px}
#blacksmithPanel:not(#_a):not(#_b) .forge-strike-spark{transform-origin:512px 646px}
#blacksmithPanel:not(#_a):not(#_b) .forge-illustration-copy{padding:8px 0!important;gap:6px}
#blacksmithPanel:not(#_a):not(#_b) .forge-illustration-copy>small{font-size:11px}
#blacksmithPanel:not(#_a):not(#_b) button.forge-motion{min-height:44px!important;flex-basis:110px}
#blacksmithPanel:not(#_a):not(#_b) .forge-comparison{gap:6px!important;position:relative}
#blacksmithPanel:not(#_a):not(#_b) .forge-comparison>div{padding:10px!important;border-radius:9px}
#blacksmithPanel:not(#_a):not(#_b) .forge-item-head{gap:6px}
#blacksmithPanel:not(#_a):not(#_b) .forge-item-head b{font-size:14px}
#blacksmithPanel:not(#_a):not(#_b) .forge-item-head .v76-gear-icon{width:44px!important;height:48px!important;min-width:44px}
#blacksmithPanel:not(#_a):not(#_b) .forge-upgrade-summary{order:2;grid-column:1/-1;display:flex;gap:14px;align-items:center;padding:12px;background:linear-gradient(110deg,#24182d,#100d15);border:1px solid #55425e;border-radius:9px}
#blacksmithPanel:not(#_a):not(#_b) .forge-chance{width:78px;height:78px;flex:0 0 78px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;position:relative;background:radial-gradient(closest-side,#17111e 87%,transparent 89%),conic-gradient(#c79bf0 var(--chance),#3b2d45 0);box-shadow:0 0 18px #a05bce1c}
#blacksmithPanel:not(#_a):not(#_b) .forge-chance b{font:700 20px Georgia,serif;color:#f0dcff}
#blacksmithPanel:not(#_a):not(#_b) .forge-chance small{font-size:10px}
#blacksmithPanel:not(#_a):not(#_b) .forge-stat-preview{flex:1}
#blacksmithPanel:not(#_a):not(#_b) .forge-stat-preview>small{font-size:10px;letter-spacing:.07em}
#blacksmithPanel:not(#_a):not(#_b) .forge-stat-preview>div{display:grid;grid-template-columns:1fr auto 12px auto;gap:6px;font-size:12px;margin-top:5px;align-items:center}
#blacksmithPanel:not(#_a):not(#_b) .forge-stat-preview strong{color:#d5b0ee}
#blacksmithPanel:not(#_a):not(#_b) .forge-stat-preview p{font-size:10px;line-height:1.4;margin:7px 0 0;color:#c0a5b2}
#blacksmithPanel:not(#_a):not(#_b) .forge-comparison>.forge-requirements{order:3}
#blacksmithPanel:not(#_a):not(#_b) .forge-requirements>.forge-main-action{margin-top:10px!important}
#blacksmithPanel:not(#_a):not(#_b) .service-gear-picker{max-height:280px;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-color:#735182 #120e16}
#blacksmithPanel:not(#_a):not(#_b) .service-picker-shell>summary{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;min-height:50px;font-family:Georgia,serif}
#blacksmithPanel:not(#_a):not(#_b) .service-picker-shell>summary>span{font-size:19px;color:#ead6fb}
#blacksmithPanel:not(#_a):not(#_b) .craft-card{background:radial-gradient(ellipse at 50% 0,#51326355,transparent 70%),#17121b;border:1px solid #735182;position:relative}
#blacksmithPanel:not(#_a):not(#_b) .craft-card>b{display:block;text-align:center;font:700 22px Georgia,serif;margin:8px 0}
#blacksmithPanel:not(#_a):not(#_b) .craft-card>small{display:block;text-align:center;margin-bottom:16px}
#blacksmithPanel:not(#_a):not(#_b) .craft-reqs{margin-top:14px;padding:4px 12px;border:1px solid #4e3c58;background:#0f0b1380;border-radius:8px}
@keyframes forge-firelight{0%,100%{opacity:.65}40%{opacity:.9}65%{opacity:.55}80%{opacity:.8}}
@keyframes forge-flame{from{transform:scaleY(.65) rotate(-6deg)}to{transform:scaleY(1.1) rotate(7deg)}}
/* Align live effects to the delivered workshop illustration. */
#blacksmithPanel:not(#_a):not(#_b) .forge-fire{left:39%;top:30%;width:22%;height:15%}
#blacksmithPanel:not(#_a):not(#_b) .forge-fire-sparks{top:44%}
#blacksmithPanel:not(#_a):not(#_b) button.forge-center-select{top:55%}
#blacksmithPanel:not(#_a):not(#_b) .forge-hammer-overlay{top:-10%}
/* v1.5 drawn forge: align live item and hammer to the new anvil. */
#blacksmithPanel:not(#_a):not(#_b) button.forge-center-select{top:49%}
#blacksmithPanel:not(#_a):not(#_b) .forge-hammer-overlay{top:-15%}
