/* Four distinct workstations. Scope excludes alchemy and character screens. */
#blacksmithPanel:not(#_a):not(#_b) .station-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 10px}
#blacksmithPanel:not(#_a):not(#_b) .station-toolbar>small{font-size:12px;line-height:1.4;max-width:65%}
#blacksmithPanel:not(#_a):not(#_b) .station-toolbar .forge-motion{flex:0 0 108px;margin:0!important;font-size:11px!important}
#blacksmithPanel:not(#_a):not(#_b) .forge-illustration-copy{display:none!important}
#blacksmithPanel:not(#_a):not(#_b)[data-station]:not([data-station="upgrade"])>.forge-illustration,#blacksmithPanel:not(#_a):not(#_b)[data-station]:not([data-station="upgrade"])>.forge-feedback{display:none!important}
#blacksmithPanel:not(#_a):not(#_b) .station-scene{position:relative;overflow:hidden;isolation:isolate;min-width:0;border:1px solid #65506e;border-radius:12px;background:#100d14}
#blacksmithPanel:not(#_a):not(#_b) .station-scene>img{width:100%;height:100%;object-fit:cover;display:block}
#blacksmithPanel:not(#_a):not(#_b) .station-caption{position:absolute;left:0;top:0;width:100%;padding:12px 8px 30px;text-align:center;color:#e5d2f1;font:600 13px Georgia,serif;letter-spacing:.07em;background:linear-gradient(#08060dde,transparent);text-shadow:0 2px 3px #000;pointer-events:none}
#blacksmithPanel:not(#_a):not(#_b) .station-effect{position:absolute;pointer-events:none}
/* Recipe composition: ingredient tiles on the drawing, result and action beneath. */
#blacksmithPanel:not(#_a):not(#_b)[data-station="craft"] .craft-card{display:flex;flex-direction:column;position:relative;padding:18px 14px!important;min-height:540px;gap:12px;border-radius:12px;overflow:hidden;isolation:isolate;background:#15101b!important}
#blacksmithPanel:not(#_a):not(#_b) .craft-card>.station-craft{position:absolute;inset:0;z-index:-1;border:0;border-radius:0}
#blacksmithPanel:not(#_a):not(#_b) .station-craft>img{object-fit:cover;opacity:.6}
#blacksmithPanel:not(#_a):not(#_b) .station-craft:after{content:"";position:absolute;inset:0;background:linear-gradient(#0d0914b8,#100b1570 45%,#100b15e8)}
#blacksmithPanel:not(#_a):not(#_b) .station-craft .station-caption{display:none}
#blacksmithPanel:not(#_a):not(#_b) .craft-card>small{order:0;letter-spacing:.03em;font-size:11px;margin:0;padding:4px;color:#d3bddf}
#blacksmithPanel:not(#_a):not(#_b) .craft-card>select{order:1;background:#14101bd9!important}
#blacksmithPanel:not(#_a):not(#_b) .craft-card>.craft-reqs{order:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0;border:0;background:none;margin:8px 0}
#blacksmithPanel:not(#_a):not(#_b) .craft-reqs>.craft-req{display:flex;flex-direction:column;justify-content:center;text-align:center;gap:8px;margin:0!important;padding:16px 6px!important;min-height:100px;border:1px solid #8d6ca2!important;border-radius:4px;background:linear-gradient(#261a32e0,#100b17e0);box-shadow:inset 0 0 20px #b782d814}
#blacksmithPanel:not(#_a):not(#_b) .craft-reqs>.craft-req>span{font-size:12px;color:#e0d1e9}
#blacksmithPanel:not(#_a):not(#_b) .craft-reqs>.craft-req>b{font-size:15px!important;font-variant-numeric:tabular-nums}
#blacksmithPanel:not(#_a):not(#_b) .craft-reqs>.craft-req:last-child{grid-column:1/-1;min-height:60px;flex-direction:row;align-items:center;justify-content:space-between;padding:12px!important;border-color:#79663f!important;background:#171119dc}
#blacksmithPanel:not(#_a):not(#_b) .craft-card>b{order:3;display:block;margin:4px 0 0!important;padding:18px 8px!important;border:1px solid #9975b2;background:radial-gradient(ellipse,#5c367d80,#17101fc9);font:700 23px Georgia,serif!important;text-align:center;box-shadow:0 0 25px #9565bd22}
#blacksmithPanel:not(#_a):not(#_b) #craft120Btn{order:4;background:linear-gradient(#6c408b,#30203d)!important;border-color:#bd8add!important;min-height:52px!important;margin:0!important}
#blacksmithPanel:not(#_a):not(#_b) .station-craft .station-effect{inset:8%;border:1px solid #c5a1e33d;box-shadow:inset 0 0 35px #aa6bd322;animation:station-draft 4s ease-in-out infinite}
/* Foundry: selection summary over the crucible, batch controls and salvage list. */
#blacksmithPanel:not(#_a):not(#_b)[data-station="smelt"] .v76-forge{padding:0!important;border:0;background:none!important;display:flex;flex-direction:column;gap:10px}
#blacksmithPanel:not(#_a):not(#_b) .station-smelt{height:clamp(260px,85vw,430px);order:0;border-color:#76604f}
#blacksmithPanel:not(#_a):not(#_b) .station-smelt>img{object-position:center 47%}
#blacksmithPanel:not(#_a):not(#_b) .station-smelt .station-effect{width:45%;height:14%;left:28%;top:35%;background:radial-gradient(ellipse,#ffdf8980,#ff76002e 50%,transparent 70%);mix-blend-mode:screen;animation:station-molten 2.4s ease-in-out infinite}
#blacksmithPanel:not(#_a):not(#_b) .station-yield{position:absolute;bottom:12px;left:12px;right:12px;padding:12px;text-align:center;border:1px solid #a78456;border-radius:8px;background:#100c0be8;color:#f0d4a3;font:600 16px Georgia,serif}
#blacksmithPanel:not(#_a):not(#_b)[data-station="smelt"] .v76-forge>h3{order:1;margin:0}
#blacksmithPanel:not(#_a):not(#_b)[data-station="smelt"] .v76-forge>p{order:2;font-size:12px;margin:0}
#blacksmithPanel:not(#_a):not(#_b)[data-station="smelt"] .v76-forge-counters{order:3;display:grid;grid-template-columns:1fr 1fr;gap:6px}
#blacksmithPanel:not(#_a):not(#_b)[data-station="smelt"] .v75-actions{order:5;display:grid;grid-template-columns:1fr 1fr;gap:6px}
#blacksmithPanel:not(#_a):not(#_b)[data-station="smelt"] .v75-actions>button:first-child{grid-column:1/-1}
#blacksmithPanel:not(#_a):not(#_b)[data-station="smelt"] [data-v76-smelt-selected]{background:linear-gradient(#684c36,#2d211d)!important;border-color:#b18d5b!important}
#blacksmithPanel:not(#_a):not(#_b)[data-station="smelt"] .v75-entries{order:4;display:grid;gap:6px;max-height:360px;overflow:auto;overscroll-behavior:contain}
#blacksmithPanel:not(#_a):not(#_b)[data-station="smelt"] .v76-smelt-row{background:linear-gradient(100deg,#241a1a,#151016)!important;border-color:#63503f!important;display:grid;grid-template-columns:24px 40px 1fr auto;gap:7px}
#blacksmithPanel:not(#_a):not(#_b)[data-station="smelt"] .v76-smelt-row:has(input:checked){border-color:#c3975f!important;box-shadow:inset 3px 0 #c3975f}
#blacksmithPanel:not(#_a):not(#_b)[data-station="smelt"] .v76-smelt-row .v76-gear-icon{min-width:0;width:40px;height:44px}
#blacksmithPanel:not(#_a):not(#_b)[data-station="smelt"] .v76-smelt-row small{font-size:10px;display:block}
/* Polishing: wheel, selected item at the bench, two distinct treatment cards. */
#blacksmithPanel:not(#_a):not(#_b)[data-station="polish"] .v76-forge{display:flex;flex-direction:column;gap:10px;padding:0!important;border:0;background:none!important}
#blacksmithPanel:not(#_a):not(#_b) .station-polish{height:clamp(290px,90vw,440px);order:0}
#blacksmithPanel:not(#_a):not(#_b) .station-polish>img{object-position:center 45%}
#blacksmithPanel:not(#_a):not(#_b) .station-polish .station-effect{width:39%;aspect-ratio:1;left:24%;top:24%;border-radius:50%;background:conic-gradient(transparent,#e5dbfa33,transparent 35%,#c6abe823,transparent 75%);animation:station-wheel 6s linear infinite;mix-blend-mode:screen}
#blacksmithPanel:not(#_a):not(#_b) .station-polish>.v75-entry{position:absolute;left:10px;right:10px;bottom:10px;display:flex;align-items:center;gap:10px;margin:0;padding:10px;background:#15101de8!important;border:1px solid #b895d2!important;box-shadow:0 0 20px #a06ad333}
#blacksmithPanel:not(#_a):not(#_b) .station-polish>.v75-entry>div{display:grid;gap:4px}
#blacksmithPanel:not(#_a):not(#_b)[data-station="polish"] .v76-forge>h3{order:1;margin:0}
#blacksmithPanel:not(#_a):not(#_b)[data-station="polish"] .v76-forge>p{order:2;font-size:12px;margin:0}
#blacksmithPanel:not(#_a):not(#_b)[data-station="polish"] .v76-forge-counters{order:3;display:flex;flex-wrap:wrap;gap:6px}
#blacksmithPanel:not(#_a):not(#_b)[data-station="polish"] .v76-quality-legend{order:4;display:flex;flex-wrap:wrap;gap:4px}
#blacksmithPanel:not(#_a):not(#_b)[data-station="polish"] .v76-quality-legend>span{padding:5px 7px;border:1px solid #53405e;border-radius:5px;background:#1b1323;font-size:11px}
#blacksmithPanel:not(#_a):not(#_b)[data-station="polish"] .v76-forge-duo{order:5;display:grid;grid-template-columns:1fr 1fr;gap:8px}
#blacksmithPanel:not(#_a):not(#_b)[data-station="polish"] .v76-forge-duo>button{min-height:88px!important;background:linear-gradient(#30233e,#17111e)!important;border-color:#9f7cbc!important}
#blacksmithPanel:not(#_a):not(#_b)[data-station="polish"] #v76PolishBoost{background:linear-gradient(#63407f,#30203f)!important;border-color:#d0a5f0!important}
#blacksmithPanel:not(#_a):not(#_b)[data-station="polish"] .v76-forge>small{order:6}
#blacksmithPanel:not(#_a):not(#_b)[data-station="polish"] .service-picker-shell{order:7;margin:0}
#blacksmithPanel:not(#_a):not(#_b).station-operation .station-effect{animation:station-complete .9s ease-out!important}
@keyframes station-draft{50%{opacity:.3;box-shadow:inset 0 0 45px #b27ad34a}}
@keyframes station-molten{50%{opacity:.4;transform:scale(1.06,.85)}}
@keyframes station-wheel{to{transform:rotate(360deg)}}
@keyframes station-complete{0%{filter:brightness(1)}35%{filter:brightness(3);box-shadow:0 0 45px #e6c5ffb0}100%{filter:brightness(1)}}
#blacksmithPanel[data-motion="off"] .station-effect,#blacksmithPanel[data-paused="true"] .station-effect,#blacksmithPanel[hidden] .station-effect{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){#blacksmithPanel .station-effect{animation:none!important}}
#blacksmithPanel:not(#_a):not(#_b)[data-motion="off"] .station-effect,#blacksmithPanel:not(#_a):not(#_b)[data-paused="true"] .station-effect,#blacksmithPanel:not(#_a):not(#_b)[hidden] .station-effect{animation-play-state:paused!important}
#blacksmithPanel:not(#_a):not(#_b) .station-craft>img{opacity:.85}
#blacksmithPanel:not(#_a):not(#_b) .station-craft:after{background:linear-gradient(#0d091480,#100b1530 45%,#100b15d0)}
#blacksmithPanel:not(#_a):not(#_b) .craft-reqs>.craft-req:nth-last-child(2):nth-child(odd){grid-column:1/-1;min-height:80px}
#blacksmithPanel:not(#_a):not(#_b) .v76-forge>h3{color:#ecd8ff!important;font:700 22px Georgia,serif!important;border:0!important;padding:0!important}
@media(prefers-reduced-motion:reduce){#blacksmithPanel:not(#_a):not(#_b) .station-effect{animation:none!important}}
@media(prefers-reduced-motion:reduce){#blacksmithPanel:not(#_a):not(#_b).station-operation .station-effect{animation:none!important}}
