/* Shared walnut / bronze frames. Source and destination corners stay square. */
html.gv-v2 body :is(#panelSoulforge,#panelAnvil).gfa-forge{padding:22px 26px calc(max(110px,var(--gv-nav-h,0px)) + 65px)!important;overflow:visible!important;min-height:100%;color:#f1dec4}
.gfa-forge .fr{max-width:1480px;margin:0 auto}
html.gv-v2 body .gfa-forge :is(.gfa-header,.fr-sec,.fr-hubcard){border:20px solid transparent!important;border-image:url('/v2/art/council/dialog.webp') 150 fill / 20px / 0 stretch!important;border-radius:0!important;background:none!important;box-shadow:0 12px 20px #08040b66!important;overflow:visible!important;padding:22px!important}
html.gv-v2 body .gfa-forge .gfa-header{position:relative;isolation:isolate;min-height:120px;margin-bottom:14px;display:flex;align-items:center;padding:18px 24px!important}
.gfa-header-copy{position:relative;z-index:1;max-width:70%}
html.gv-v2 body .gfa-forge .gfa-header :is(h2,.fr-top-title){font:700 36px/1.15 var(--font-display,Georgia,serif);color:#ffe3ae;text-shadow:0 3px 8px #09050c;margin:0}
html.gv-v2 body .gfa-forge :is(.fr-lead,.gfa-intro){font-size:14px;color:#f0ddc6;line-height:1.65;max-width:58ch;margin:8px 0 0;text-shadow:0 2px 5px #08050a}
.gfa-header-art{position:absolute;right:0;top:0;height:100%;width:32%;object-fit:cover;object-position:center;mask-image:linear-gradient(to right,transparent,#000 25%);pointer-events:none;opacity:.85}
html.gv-v2 body .gfa-forge .fr-hub{min-height:0!important;padding:0!important;margin:0!important;background:none!important}
html.gv-v2 body .gfa-forge .fr-hubcards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px!important;margin:24px 0!important}
html.gv-v2 body .gfa-forge .fr-hubcard{padding:0!important;min-height:0!important;display:flex;flex-direction:column;text-align:left;transform:none!important;transition:filter .18s ease}
html.gv-v2 body .gfa-forge .fr-hubcard:before,html.gv-v2 body .gfa-forge .fr-hubcard:after{display:none!important}
.gfa-station-art{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
html.gv-v2 body .gfa-forge .fr-hubcard-body{position:static;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:22px 25px;background:none!important}
html.gv-v2 body .gfa-forge .fr-hubcard-name{font:700 34px/1.1 var(--font-display,Georgia,serif);color:#ffe1a4}
.gfa-station-desc{font-size:15px;line-height:1.5;color:#efddc9}
html.gv-v2 body .gfa-forge :is(.fr-hubcard-sub,.fr-hubcard-flag){font-size:13px;line-height:1.5;color:#dfcbae;background:none!important;padding:0;border:0}
html.gv-v2 body .gfa-forge .fr-hubcard-flag:not(.quiet){color:#addeb7}
.gfa-enter{display:inline-flex;align-items:center;justify-content:center;min-width:230px;min-height:56px;padding:12px 28px;margin-top:10px;background:url('/v2/art/council/action-amber.webp') center/contain no-repeat;color:#32200e;font:700 14px var(--font-display,Georgia,serif)}
html.gv-v2 body .gfa-forge .fr-hubcard:hover{filter:brightness(1.09)}
html.gv-v2 body .gfa-forge .fr-purse{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:14px 28px;margin:0 0 20px;padding:12px 18px;background:#1d1623e8!important;border:0!important;border-radius:0;box-shadow:none}
html.gv-v2 body .gfa-forge .fr-coin{display:grid;grid-template-columns:26px auto;align-items:center;column-gap:7px;padding:0!important;border:0!important;background:none!important;border-radius:0;box-shadow:none;font-size:16px;color:#fff0d1;font-variant-numeric:tabular-nums}
.gfa-forge .fr-coin small{grid-column:2;font-size:11px;font-weight:400;color:#dac6ac;line-height:1.5}
html.gv-v2 body .gfa-forge .fr-coin img{width:24px;height:24px;grid-row:1/3;object-fit:contain}
html.gv-v2 body .gfa-forge .fr-top{display:flex;align-items:center;gap:16px;margin:0}
html.gv-v2 body .gfa-forge :is(.fr-back,.fr-chip){background:url('/v2/art/council/action-walnut.webp') center/contain no-repeat!important;border:0!important;border-radius:0!important;min-width:115px;min-height:44px;color:#ffe4b6;padding:9px 20px;font-size:12px;box-shadow:none!important}
html.gv-v2 body .gfa-forge .fr-chip.on{background-image:url('/v2/art/council/action-amber.webp')!important;color:#35220f}
html.gv-v2 body .gfa-forge .fr-sec{margin:0 0 24px!important;min-width:0}
html.gv-v2 body .gfa-forge .fr-sech{color:#ffe0a8;font:700 23px/1.3 var(--font-display,Georgia,serif);text-transform:none;letter-spacing:0;margin:0 0 16px}
html.gv-v2 body .gfa-forge :is(.quiet,.fr-note,.fr-empty,.fr-cru-lv,.fr-cru-odds-l,.fr-scroll-t i){color:#ddcbb7!important;line-height:1.65;font-size:13px;opacity:1!important}
.gfa-workspace{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(0,1.1fr);gap:24px;align-items:start}
html.gv-v2 body .gfa-forge :is(.fr-sockets,.fr-doll){display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;height:auto!important;width:100%!important;max-width:none!important;aspect-ratio:auto!important;padding:0!important;margin:0!important;background:none!important;overflow:visible!important}
html.gv-v2 body .gfa-forge .fr-doll{grid-template-columns:repeat(8,minmax(0,1fr))}
html.gv-v2 body .gfa-forge :is(.fr-socket,.fr-wslot,.fr-gemcard,.fr-bagcard,.fr-scroll){position:relative!important;inset:auto!important;transform:none!important;border:9px solid transparent!important;border-image:url('/v2/art/council/dialog.webp') 150 fill / 9px / 0 stretch!important;border-radius:0!important;background:none!important;box-shadow:none!important;overflow:visible!important;padding:10px 6px!important;min-width:0;width:auto!important;height:auto!important;opacity:1!important}
html.gv-v2 body .gfa-forge :is(.fr-socket,.fr-wslot){display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:110px!important;text-align:center;color:#f3dcae}
html.gv-v2 body .gfa-forge :is(.fr-socket-ring,.fr-doll-art){display:none!important}
html.gv-v2 body .gfa-forge :is(.fr-socket-bonus,.fr-wslot-l){position:static!important;color:#e9d7c0;font-size:12px;line-height:1.4;background:none;padding:0}
html.gv-v2 body .gfa-forge .fr-socket-gem{margin:0}
html.gv-v2 body .gfa-forge .fr-socket-lv{position:absolute;right:4px;top:3px;color:#ffe6af}
html.gv-v2 body .gfa-forge .fr-bonuses{background:none!important;border:0!important;padding:14px 0 0;color:#ead9c0;font-size:14px;margin:0}
html.gv-v2 body .gfa-forge :is(.fr-tray,.fr-bag){display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr))!important;gap:12px}
html.gv-v2 body .gfa-forge :is(.fr-gemcard,.fr-bagcard){display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;min-height:160px}
html.gv-v2 body .gfa-forge :is(.fr-gemcard.sel,.fr-bagcard.sel,.fr-wslot.sel,.fr-scroll.on,.picked){filter:drop-shadow(0 3px 5px #dfad5588)}
html.gv-v2 body .gfa-forge :is(.fr-gemcard-n,.fr-bagcard-n){color:#ffe4b7;font-size:14px;line-height:1.4;white-space:normal}
html.gv-v2 body .gfa-forge :is(.fr-gemcard-lv,.fr-bagcard-l,.fr-gemcard-pair){color:#e7d1b9;font-size:12px;line-height:1.5}
html.gv-v2 body .gfa-forge :is(.fr-gemcard-ico,.fr-bagcard-ico){min-height:65px;display:flex;align-items:center;justify-content:center}
html.gv-v2 body .gfa-forge :is(.fr-gemcard-ico,.fr-bagcard-ico) img{width:60px!important;height:60px!important;object-fit:contain}
html.gv-v2 body .gfa-forge :is(.gvk-btn){background:url('/v2/art/council/action-walnut.webp') center/contain no-repeat!important;box-shadow:none!important;border:0!important;border-radius:0!important;min-width:170px;min-height:52px;color:#ffe3b1!important;font:600 13px/1.35 var(--font-display,Georgia,serif);padding:12px 24px!important;text-shadow:none!important}
html.gv-v2 body .gfa-forge .gvk-btn.primary{background-image:url('/v2/art/council/action-amber.webp')!important;color:#38210d!important}
html.gv-v2 body .gfa-forge .gvk-btn:disabled{filter:grayscale(.8);opacity:.6!important;cursor:not-allowed}
html.gv-v2 body .gfa-forge .fr-cru-acts{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
html.gv-v2 body .gfa-forge :is(.fr-crucible,.fr-bench){padding:0!important;background:none!important;border:0!important;overflow:visible!important;scroll-margin-top:20px}
html.gv-v2 body .gfa-forge :is(.fr-crucible-art,.fr-bench-art){display:none!important}
html.gv-v2 body .gfa-forge .fr-cru-stage{display:grid;grid-template-columns:minmax(0,1fr) 65px minmax(0,1fr);padding:12px 0 20px;gap:6px;background:none!important;min-height:0}
html.gv-v2 body .gfa-forge .fr-cru-slot{background:none!important;border:0!important;padding:0;min-width:0}
html.gv-v2 body .gfa-forge .fr-cru-name{font-size:16px;color:#ffe4b5}
html.gv-v2 body .gfa-forge .fr-cru-terms{display:flex;flex-wrap:wrap;gap:12px;line-height:1.6;color:#f0dec5;padding:14px 0;border:0;background:none!important;font-size:14px}
html.gv-v2 body .gfa-forge .fr-cru-scrolls{display:grid;grid-template-columns:1fr;gap:10px;margin:14px 0 20px}
html.gv-v2 body .gfa-forge .fr-scroll{display:flex;gap:12px;align-items:center;text-align:left;color:#ffe2ae}
html.gv-v2 body .gfa-forge .fr-scroll-t b{font-size:14px;color:#ffe4b5}
html.gv-v2 body .gfa-forge .fr-scroll-n{color:#e5c38b;margin-left:auto}
html.gv-v2 body .gfa-forge .gfa-empty-workbench{padding:0 0 24px!important;text-align:center}
.gfa-empty-art{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;display:block;margin-bottom:22px}
.gfa-empty-workbench :is(h3,p){margin:12px 24px;color:#f4dfbd;line-height:1.65}
.gfa-empty-workbench h3{font:700 25px/1.25 var(--font-display,Georgia,serif);color:#ffe3ac}
.gfa-empty-workbench p{font-size:14px}
html.gv-v2 body .gfa-forge .fr-bench-acts{display:flex;flex-direction:column;gap:14px;margin-top:18px}
html.gv-v2 body .gfa-forge .fr-bench-acts .gvk-btn{min-width:0;width:100%;display:flex;flex-wrap:wrap;gap:6px 14px;justify-content:center}
html.gv-v2 body .gfa-forge .fr-bench-card{max-width:100%;overflow-wrap:anywhere}
html.gv-v2 body .gfa-forge button:focus-visible{outline:2px solid #ffe5a9;outline-offset:4px}
.gfa-forge ::selection{background:#866738;color:#fff6dc}
html.gv-v2 body #modalCard:has(.gfa-modal){border:20px solid transparent!important;border-image:url('/v2/art/council/dialog.webp') 150 fill / 20px / 0 stretch!important;border-radius:0!important;background:none!important;padding:14px!important;color:#efddc7}
.gfa-modal{color:#efddc7;font-size:14px;line-height:1.65}
.gfa-modal :is(h2,h3){color:#ffe2ad}
@media(max-width:1100px){html.gv-v2 body .gfa-forge .fr-doll{grid-template-columns:repeat(4,minmax(0,1fr))}.gfa-workspace{grid-template-columns:minmax(260px,.9fr) minmax(0,1.1fr);gap:18px}html.gv-v2 body .gfa-forge :is(.fr-tray,.fr-bag){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:780px){html.gv-v2 body :is(#panelSoulforge,#panelAnvil).gfa-forge{padding:14px 12px calc(max(90px,var(--gv-nav-h,0px)) + 50px)!important}html.gv-v2 body .gfa-forge :is(.gfa-header,.fr-sec,.fr-hubcard){border-width:14px!important;border-image-width:14px!important;padding:16px 12px!important}.gfa-header-copy{max-width:100%}.gfa-header-art{opacity:.22;width:60%;mask-image:linear-gradient(to right,transparent,#000 50%)}html.gv-v2 body .gfa-forge .gfa-header :is(h2,.fr-top-title){font-size:30px}html.gv-v2 body .gfa-forge .fr-hubcards{grid-template-columns:1fr!important;gap:20px!important}html.gv-v2 body .gfa-forge .fr-hubcard{padding:0!important}html.gv-v2 body .gfa-forge .fr-hubcard-body{padding:18px}html.gv-v2 body .gfa-forge .fr-purse{gap:12px 18px;padding:12px}.gfa-workspace{display:flex;flex-direction:column;gap:0}.gfa-workspace>.fr-sec{width:100%;box-sizing:border-box}.gfa-workspace :is(.fr-crucible-sec,.fr-bench-sec){order:-1}html.gv-v2 body .gfa-forge .fr-sockets{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}html.gv-v2 body .gfa-forge .fr-doll{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}html.gv-v2 body .gfa-forge .fr-wslot{padding:6px 1px!important;min-height:85px!important}html.gv-v2 body .gfa-forge .fr-wslot-l{font-size:10px}html.gv-v2 body .gfa-forge .fr-sech-acts{gap:6px}html.gv-v2 body .gfa-forge .fr-chip{min-width:105px}.gfa-forge .fr-cru-gem img{max-width:64px!important;height:auto!important}html.gv-v2 body .gfa-forge .gvk-btn{min-width:160px}html.gv-v2 body .gfa-forge .fr-top{gap:8px}}
html.gv-v2 body .gfa-modal .gvk-btn{background:url('/v2/art/council/action-walnut.webp') center/contain no-repeat!important;border:0!important;border-radius:0!important;color:#ffe1ad!important;min-width:170px;min-height:52px;padding:12px 24px!important;box-shadow:none!important;font:600 13px/1.4 var(--font-display,Georgia,serif)}
html.gv-v2 body .gfa-modal .gvk-btn.primary{background-image:url('/v2/art/council/action-amber.webp')!important;color:#34200b!important}
html.gv-v2 body .gfa-modal :is(p,.fr-modal-cost){color:#ecd8bc;font-size:14px;line-height:1.7}
html.gv-v2 body .gfa-forge .fr-gemcard-pair{font-size:11px;color:#b5dfbc!important}
html.gv-v2 body .gfa-forge .fr-gemcard-x{background:none;border:0;color:#ffe8b6;position:static;font-size:13px}
html.gv-v2 body .gfa-forge .fr-socket.locked{filter:saturate(.55);opacity:.8!important}
html.gv-v2 body .gfa-forge .fr-wslot:disabled{opacity:.75!important}
/* Final geometry: stations lead; controls fit inside their painted center. */
html.gv-v2 body .gfa-forge .fr-hubview .gfa-header{min-height:85px;padding:12px 22px!important}
html.gv-v2 body .gfa-forge .fr-hubcard-body{padding:16px 18px;gap:6px}
html.gv-v2 body .gfa-forge .fr-hubcard-name{font-size:30px}
html.gv-v2 body .gfa-forge .fr-hubcard-name:after{content:' ›';color:#d8b26e}
html.gv-v2 body .gfa-forge .gfa-station-desc{font-size:14px;line-height:1.45}
html.gv-v2 body .gfa-forge .gfa-enter{display:none}
html.gv-v2 body .gfa-forge .fr-purse{border:10px solid transparent!important;border-image:url('/v2/art/council/dialog.webp') 150 fill / 10px / 0 stretch!important;background:none!important;padding:10px 16px!important}
html.gv-v2 body .gfa-forge .fr-term{background:none;border:0;border-radius:0;padding:0;font-size:13px;line-height:1.6;color:#e8d5bc}
html.gv-v2 body .gfa-forge .fr-bagcard-ico>*{width:62px!important;height:62px!important;background-size:contain!important}
html.gv-v2 body .gfa-forge .fr-wslot-ico>*{width:46px!important;height:46px!important;background-size:contain!important}
html.gv-v2 body .gfa-forge .fr-bench-acts .gvk-btn{max-width:300px;min-height:68px;flex-direction:column;margin:0 auto;padding:10px 24px!important;gap:4px}
html.gv-v2 body .gfa-forge .fr-cru-acts .gvk-btn{flex:0 1 260px;min-height:58px}
html.gv-v2 body .gfa-forge :is(.fr-crucible-sec,.fr-bench-sec){scroll-margin-top:16px}
html.gv-v2 body #modalCard .gfa-modal button.gvk-btn{display:flex;align-items:center;justify-content:center;gap:14px;max-width:270px;width:100%;min-width:0;min-height:60px;margin:0 auto;border:0!important;border-radius:0!important;box-shadow:none!important;background:url('/v2/art/council/action-walnut.webp') center/contain no-repeat!important;color:#ffe1ad!important;padding:12px 26px!important;font:600 13px/1.4 var(--font-display,Georgia,serif)}
html.gv-v2 body #modalCard .gfa-modal button.gvk-btn.primary{background-image:url('/v2/art/council/action-amber.webp')!important;color:#34200b!important}
html.gv-v2 body #modalCard .gfa-modal .gvk-modal-actions{flex-wrap:wrap}
@media(max-width:780px){html.gv-v2 body .gfa-forge .fr-hubview .gfa-header{min-height:85px;padding:10px 14px!important}html.gv-v2 body .gfa-forge .fr-hubcard-body{padding:16px}.gfa-header-copy{max-width:100%}}
html.gv-v2 body .gfa-forge .fr-hubcard-body:before{display:none!important}
/* Equipment rack: no inherited paper-doll height or miniature icon frames. */
html.gv-v2 body .gfa-forge .fr-worn-sec .fr-doll{min-height:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:auto;align-items:start;gap:14px!important}
html.gv-v2 body .gfa-forge .fr-worn-sec .fr-wslot{min-height:174px!important;padding:12px 8px!important;gap:10px;justify-content:center}
html.gv-v2 body .gfa-forge .fr-worn-sec .fr-wslot-ico{width:112px;height:112px;min-height:112px;max-width:100%;color:#a38b6e;font-size:26px}
html.gv-v2 body .gfa-forge .fr-worn-sec .fr-wslot-ico>.item-icon-wrap{width:100%!important;height:100%!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;overflow:visible!important}
html.gv-v2 body .gfa-forge .fr-worn-sec .item-icon-wrap:before,html.gv-v2 body .gfa-forge .fr-worn-sec .item-icon-wrap:after{display:none!important}
html.gv-v2 body .gfa-forge .fr-worn-sec .item-img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;padding:0!important;filter:drop-shadow(0 6px 5px #0009)}
html.gv-v2 body .gfa-forge .fr-worn-sec .fr-wslot-l{font-size:13px!important;line-height:1.4;text-transform:none;letter-spacing:0;color:#f5dfba}
html.gv-v2 body .gfa-forge .fr-worn-sec .fr-wslot:disabled{opacity:.65!important}
@media(min-width:1800px){html.gv-v2 body .gfa-forge .fr-worn-sec .fr-doll{grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:10px!important}html.gv-v2 body .gfa-forge .fr-worn-sec .fr-wslot{min-height:154px!important;padding:10px 4px!important}html.gv-v2 body .gfa-forge .fr-worn-sec .fr-wslot-ico{width:90px;height:90px;min-height:90px}}
@media(max-width:700px){html.gv-v2 body .gfa-forge .fr-worn-sec .fr-doll{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}html.gv-v2 body .gfa-forge .fr-worn-sec .fr-wslot{min-height:160px!important;padding:10px 6px!important}html.gv-v2 body .gfa-forge .fr-worn-sec .fr-wslot-ico{width:98px;height:98px;min-height:98px}}
