/* The client names Spectral/Spectral SC in /SF/Fonts. Web font masters are
   distributed locally under OFL. Game artwork is tracked in builder-chrome-sources.json. */
@font-face{font-family:Spectral;src:url('/assets/fonts/Spectral-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Spectral SC';src:url('/assets/fonts/SpectralSC-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
body[data-view=builder]{--display:Spectral,Georgia,serif;--heading:'Spectral SC',Spectral,serif;--gold:#c6a365;--bright:#e7cd92;--text:#ded5bd;--muted:#b4ae99;--line:#ab8c4b44}
body[data-view=builder]:before{background:radial-gradient(ellipse at 60% 25%,#11130c35,#0b100ddb 95%),linear-gradient(90deg,#111710ce,#12191499 70%,#141710b8),url('/assets/ui/forest-backdrop.webp') center/cover}
body[data-view=builder] :is(h1,h2,h3){font-family:var(--heading);font-weight:400;letter-spacing:.015em}
body[data-view=builder] .topbar{height:58px;background:#12160edd;padding-inline:max(1.1rem,calc((100vw - 1460px)/2));border-bottom-color:#ad935432}
body[data-view=builder] .brand span{font-family:var(--heading);letter-spacing:.1em;font-size:1rem}
body[data-view=builder] .brand img{height:31px;width:27px}
body[data-view=builder] .brand small{font-size:.47rem}
body[data-view=builder] .sidebar{height:44px;padding-inline:max(1rem,calc((100vw - 1460px)/2));background:#14190fdc;backdrop-filter:blur(8px)}
body[data-view=builder] .sidebar .nav-item{font-family:var(--heading);font-size:.86rem;padding:.6rem;letter-spacing:.02em}
body[data-view=builder] main{max-width:1500px;padding:1.25rem 2.3rem}
body[data-view=builder] .arsenal-head{align-items:center;flex-direction:row;flex-wrap:wrap;gap:.7rem;margin-bottom:.85rem}
body[data-view=builder] .arsenal-head h1{font-size:2rem;line-height:1.25;margin:.15rem 0}
body[data-view=builder] .arsenal-head .eyebrow{font-size:.55rem;letter-spacing:.16em}
body[data-view=builder] .arsenal-head .intro{font-size:.72rem;margin-top:.15rem}
body[data-view=builder] .head-actions{gap:.55rem;align-items:center;flex-wrap:wrap}
body[data-view=builder] .mobile-stat-ribbon{display:none}
body[data-view=builder] .build-record{margin:0;min-width:0}
body[data-view=builder] .build-record>summary{display:flex;align-items:center;gap:1rem;min-height:48px;cursor:pointer;list-style:none;padding:.55rem 1.4rem;position:relative;isolation:isolate;background:none;color:#ccb88d;border:0}
body[data-view=builder] .build-record>summary:before,body[data-view=builder] .scene-switch>button:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;border:8px solid transparent;border-image:url('/assets/ui/game-list-row.webp') 12 40/8px 27px repeat}
body[data-view=builder] .build-record>summary::-webkit-details-marker{display:none}
body[data-view=builder] .build-record>summary>[data-record-title]{font:.95rem var(--heading);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-view=builder] .build-record>summary>small{font-size:.63rem;color:#ab9d81;white-space:nowrap}
body[data-view=builder] .record-edit{margin-left:auto;display:flex;gap:.7rem;align-items:center;white-space:nowrap;font-size:.64rem;color:#b8a779}
body[data-view=builder] .record-edit b{font-size:1rem;font-weight:400;transition:transform .16s}
body[data-view=builder] .build-record[open] .record-edit b{transform:rotate(180deg)}
body[data-view=builder] .build-record[open]>.build-meta{margin-top:.4rem}
body[data-view=builder] #stats-panel{scroll-margin-top:130px}
/* Scene surfaces are styled in builder-hud.css; no masked paper decoration. */
body[data-view=builder] :is(.build-meta,.arsenal-equipment,.workshop-scene,.sanctum-scene,.virtue-scene,.journal-scene,.stats-panel){position:relative;isolation:isolate;border:0;border-radius:0;background:transparent;box-shadow:none;min-width:0}
body[data-view=builder] :is(.build-meta,.arsenal-equipment,.workshop-scene,.sanctum-scene,.virtue-scene,.journal-scene,.stats-panel):before,
body[data-view=builder] :is(.build-meta,.arsenal-equipment,.workshop-scene,.sanctum-scene,.virtue-scene,.journal-scene,.stats-panel):after{content:none}
body[data-view=builder] .build-meta{grid-template-columns:minmax(0,1.7fr) minmax(0,.8fr) minmax(0,1fr);padding:.65rem 1rem;gap:1rem}
body[data-view=builder] .build-meta label{font-size:.61rem}
body[data-view=builder] .build-meta label:first-child{grid-column:auto}
body[data-view=builder] :is(input,select,textarea){border-radius:0;background:#11160f78;border-color:#ad925540;box-shadow:inset 0 -1px #ddc4860e;color:var(--text)}
body[data-view=builder] :is(input,select,textarea):hover{border-color:#d1af7170}
body[data-view=builder] :is(input,select,textarea):focus-visible{outline:1px solid var(--bright);outline-offset:2px;background:#10160ecd}
body[data-view=builder] .build-meta input,body[data-view=builder] .build-meta select{margin-top:.25rem;padding:.4rem .6rem;min-height:32px;font-size:.81rem}
body[data-view=builder] .builder-tabs{top:44px;background:#10150ee8;border:0;gap:.25rem;padding:.3rem 0;margin:.7rem 0 .95rem;backdrop-filter:blur(8px)}
body[data-view=builder] .builder-tabs button{display:flex;align-items:center;justify-content:center;gap:.5rem;position:relative;min-height:52px;padding:.15rem .3rem;border:10px solid transparent;border-image:url('/assets/ui/game-tab.webp') 34/10px repeat;background:transparent;font-family:var(--heading);font-size:.86rem;color:#c1af89}
body[data-view=builder] .builder-tabs button:hover{border-image-source:url('/assets/ui/game-tab-hover.webp');color:#edcf8b}
body[data-view=builder] .builder-tabs button[aria-selected=true]{border-image-source:url('/assets/ui/game-tab-selected.webp');color:#2c2d22}
body[data-view=builder] .builder-tabs button>img{width:26px;height:26px;object-fit:contain;filter:sepia(.8);opacity:.85;flex:none}
body[data-view=builder] .builder-tabs button[aria-selected=true]>img{filter:brightness(.35) sepia(.7);opacity:1}
body[data-view=builder] .builder-tabs button>span{display:inline;margin:0;font-size:inherit;color:inherit;opacity:1}
body[data-view=builder] .builder-tabs button:focus-visible{outline:1px solid #e3c388;outline-offset:0}
body[data-view=builder] .builder-layout{grid-template-columns:minmax(0,1fr) 286px;gap:1.2rem}
body[data-view=builder] .loadout-column{top:116px}
body[data-view=builder] .builder-pane:not([hidden]){animation:game-pane-enter .24s ease-out}
body[data-view=builder] :is(.scene-heading,.arsenal-heading){padding:.25rem .4rem .9rem;border-bottom:0;position:relative;margin-bottom:.65rem;gap:.7rem}
body[data-view=builder] :is(.scene-heading,.arsenal-heading):after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,transparent,#aa925960,#b39e7240,transparent);pointer-events:none}
body[data-view=builder] :is(.scene-heading,.arsenal-heading) h2{font:400 1.5rem/1.3 var(--heading);margin:.25rem 0 0}
body[data-view=builder] :is(.scene-heading,.arsenal-heading) .eyebrow{font-size:.53rem;letter-spacing:.08em;color:#b1a284}
body[data-view=builder] :is(.workshop-scene,.sanctum-scene,.virtue-scene,.journal-scene){padding:1.05rem 1.2rem 1.2rem}
body[data-view=builder] .arsenal-equipment{padding:1rem 1.15rem .85rem}
body[data-view=builder] .arsenal-heading .arsenal-completion{font:1.5rem var(--display);color:var(--gold)}
body[data-view=builder] .arsenal-slot-copy strong{font-family:var(--heading);font-size:.91rem}
body[data-view=builder] .arsenal-slot[aria-pressed=true]{border-color:transparent;background:linear-gradient(90deg,#b6a06618,transparent)}
body[data-view=builder] .arsenal-slot-token{width:67px;height:67px}
body[data-view=builder] .arsenal-slot-image{width:58px;height:58px}
body[data-view=builder] .arsenal-showcase-art{background:radial-gradient(ellipse at 50% 78%,#bbad7940,transparent 58%);height:280px}
body[data-view=builder] .arsenal-showcase-image{filter:drop-shadow(0 11px 9px #000a)}
body[data-view=builder] .arsenal-showcase-caption h3{font-size:1.6rem}
body[data-view=builder] .arsenal-item-lore{font-size:.73rem;line-height:1.65}
body[data-view=builder] .arsenal-controls{font-size:.63rem;border-top-color:#b6a26625}
/* Native end-cap ornament marks actions; primary actions use the same dark
   button family, with a brighter border rather than a solid web-style fill. */
body[data-view=builder] .button,body[data-view=builder] .discord-btn{position:relative;font-family:var(--heading);font-size:.75rem;min-height:38px;border:1px solid #b7954c70;border-radius:0;background:linear-gradient(180deg,#44362480,#251e1499);color:#d5bc88;box-shadow:inset 0 0 0 2px #c7a15f0c;padding:.45rem .85rem}
body[data-view=builder] .button:hover{border-color:#d5b878;background:#604d2b6b;color:#f0d8a0}
body[data-view=builder] .button.primary{background:linear-gradient(180deg,#4a3b2377,#2d2516dd);border-color:#d9b574aa;color:#eed096;box-shadow:inset 0 0 0 2px #cba25b19}
body[data-view=builder] .button.primary:before,body[data-view=builder] .button.primary:after{content:'';position:absolute;top:50%;width:26px;height:26px;transform:translateY(-50%);background:url('/assets/ui/game-button-cap.webp') center/contain no-repeat;pointer-events:none;opacity:.8}
body[data-view=builder] .button.primary:before{left:2px}
body[data-view=builder] .button.primary:after{right:2px;transform:translateY(-50%) scaleX(-1)}
body[data-view=builder] .button.primary{padding-inline:1.7rem}
body[data-view=builder] .button.primary:hover:before,body[data-view=builder] .button.primary:hover:after{background-image:url('/assets/ui/game-button-cap-hover.webp')}
body[data-view=builder] .button:disabled{opacity:.4;box-shadow:none}
body[data-view=builder] .stats-panel{padding:1rem 1.05rem}
body[data-view=builder] .stats-panel>.eyebrow{font-family:var(--heading);font-size:.85rem;color:#c4b28d;letter-spacing:.03em}
body[data-view=builder] .stat-life{padding:.45rem 0 .7rem;background:none}
body[data-view=builder] .life-emblem{position:relative;display:grid;place-items:center;width:148px;height:148px;isolation:isolate}
body[data-view=builder] .life-emblem:before{content:'';position:absolute;inset:0;background:url('/assets/ui/game-life-heart.svg') center/contain no-repeat;pointer-events:none;z-index:-1;filter:drop-shadow(0 2px 3px #0007)}
body[data-view=builder] .stat-life strong{position:relative;z-index:1;top:-6px;font:400 var(--counter-size,2.8rem)/1.1 var(--display);color:#e5c782;min-width:0;max-width:128px;transform:none;text-shadow:0 2px 5px #000}
body[data-view=builder] .stat-life>span{font-family:var(--heading);font-size:.7rem;color:#c0b597}
body[data-view=builder] .armour-summary{grid-template-columns:43% minmax(0,1fr);gap:.55rem}
body[data-view=builder] .armour-emblem strong{font-family:var(--display);font-size:var(--counter-size,2.8rem)}
body[data-view=builder] .defence-details dd{font-size:1.5rem}
body[data-view=builder] .defence-details dt{font-size:.62rem}
body[data-view=builder] .armour-sum-note{font-size:.57rem;line-height:1.55}
body[data-view=builder] .weapon-stats h3{font-size:1.18rem;color:#d4bd8a}
body[data-view=builder] .stats-grid dt{font-size:.59rem;line-height:1.5}
body[data-view=builder] .stats-grid dd{font:400 1.55rem var(--display);color:#ead195}
body[data-view=builder] .stats-panel details{font-size:.72rem}
body[data-view=builder] .stats-panel summary{display:flex;align-items:center;gap:.35rem;min-height:34px;border-bottom:1px solid #bea96d16;cursor:pointer;color:#c1b496;list-style:none}
body[data-view=builder] .stats-panel summary:before{content:'›';font:1.3rem var(--display);color:var(--gold);transition:transform .16s}
body[data-view=builder] .stats-panel details[open]>summary:before{transform:rotate(90deg)}
body[data-view=builder] .stats-panel summary::-webkit-details-marker{display:none}
body[data-view=builder] .stats-panel summary>span{margin-left:auto}
body[data-view=builder] .loadout-actions{padding:.85rem .25rem 0}
body[data-view=builder] .scene-switch{gap:.3rem;border:0;padding:.2rem 0 .85rem;margin-bottom:.7rem}
body[data-view=builder] .scene-switch>button{position:relative;isolation:isolate;background:none;border:0;border-bottom:1px solid #ad8e4e33;padding:.55rem 1.15rem;color:#bfb092;min-height:66px}
body[data-view=builder] .scene-switch>button[aria-pressed=true]{background-color:#b49d5323;border-bottom-color:#c5a367;box-shadow:none;color:#e4ca93}
body[data-view=builder] .scene-switch>button strong{font-family:var(--heading);font-size:.95rem}
body[data-view=builder] .scene-switch>button:hover{background-color:#9e7c3020}
body[data-view=builder] .forge-display{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:1.2rem}
body[data-view=builder] .forge-weapon-art{height:280px;background:radial-gradient(ellipse,#d0b8782b,transparent 65%)}
body[data-view=builder] .forge-weapon-art:before{opacity:.06}
body[data-view=builder] .forge-weapon{--craftwork-image:url('/assets/ui/game-craftwork-stock.webp')}
body[data-view=builder] .forge-weapon[data-craftwork="1"]{--craftwork-image:url('/assets/ui/game-craftwork-military.webp')}
body[data-view=builder] .forge-weapon[data-craftwork="2"]{--craftwork-image:url('/assets/ui/game-craftwork-officer.webp')}
body[data-view=builder] .forge-weapon[data-craftwork="3"]{--craftwork-image:url('/assets/ui/game-craftwork-noble.webp')}
body[data-view=builder] .forge-weapon[data-craftwork="4"]{--craftwork-image:url('/assets/ui/game-craftwork-sovereign.webp')}
body[data-view=builder] .forge-weapon[data-craftwork="5"]{--craftwork-image:url('/assets/ui/game-craftwork-legendary.webp')}
body[data-view=builder] .forge-weapon-art:after{content:'';position:absolute;left:5%;right:5%;bottom:0;height:80px;background:#d5b77b;mask:var(--craftwork-image) center/contain no-repeat;opacity:.12;pointer-events:none}
body[data-view=builder] .forge-rank-seal{position:absolute;right:6px;top:6px;width:43px;height:43px;display:flex;align-items:center;justify-content:center;background:url('/assets/ui/arsenal-node.webp') center/contain no-repeat;font:1.2rem var(--display);color:#e4c083}
body[data-view=builder] .armour-emblem:before{content:'';position:absolute;inset:0;background:url('/assets/ui/armour-game-leaves.webp') center/contain no-repeat;pointer-events:none}
body[data-view=builder] .armour-emblem>img{inset:10%;width:80%;height:80%;filter:drop-shadow(0 4px 5px #000a)}
body[data-view=builder] .forge-weapon h3{font-size:1.6rem}
body[data-view=builder] .forge-change{display:inline-block;min-height:30px;padding:.35rem .8rem;text-align:center;font:.67rem var(--heading);color:#c5a970}
body[data-view=builder] .forge-lore{font-size:.73rem}
body[data-view=builder] .forge-fitting{border:0;padding:.8rem 1.1rem;background:#0f130d38;isolation:isolate}
body[data-view=builder] .forge-fitting:before{z-index:-1}
body[data-view=builder] .upgrade-pick>.game-stat-icon{width:40px;height:40px;object-fit:contain;opacity:.55}
body[data-view=builder] .totem-altar .upgrade-pick>.game-stat-icon{width:76px;height:76px;padding:14px}
body[data-view=builder] .joinery-fitting:before{opacity:.75;background:none;border:10px solid transparent;border-image:url('/assets/ui/forge-joinery-frame.webp') 60/10px repeat}
body[data-view=builder] .joinery-fitting:hover:before{background:none;border-image-source:url('/assets/ui/forge-joinery-hover.webp');opacity:1}
body[data-view=builder] .forge-fitting>small{font-family:var(--heading);font-size:.63rem}
body[data-view=builder] .forge-section-title h3{font-size:1.15rem}
body[data-view=builder] .temper-cell .upgrade-pick{font:400 .83rem/1.4 var(--heading);min-height:142px;padding:.8rem .6rem;background:#8c69300e}
body[data-view=builder] .temper-cell .upgrade-pick .item-image{width:65px;height:65px}
body[data-view=builder] .totem-altar{background:transparent}
body[data-view=builder] .totem-altar .upgrade-pick{font-family:var(--heading)}
body[data-view=builder] .totem-altar>small{font-family:var(--heading);font-size:.65rem}
body[data-view=builder] .skill-tree-heading h3{font-size:1.3rem}
body[data-view=builder] .skill-node>strong{font-family:var(--heading);font-size:.77rem}
body[data-view=builder] .skill-inspection h3{font-family:var(--heading);font-size:1.15rem}
body[data-view=builder] .skill-inspection-copy>p{font-size:.74rem;line-height:1.75}
body[data-view=builder] .pact-ability{border:0;background:#a98c4210}
body[data-view=builder] .pact-arts-shelf .pact-ability:before{background:none;border:8px solid transparent;border-image:url('/assets/ui/forge-select-frame.webp') 60/8px repeat;opacity:.65}
body[data-view=builder] .pact-ability strong{font-family:var(--heading);font-size:.83rem}
body[data-view=builder] .virtue-triquetra{max-width:500px;margin-top:.65rem}
body[data-view=builder] .triangle-virtue{font-family:var(--heading);font-size:.87rem}
body[data-view=builder] .triangle-virtue input{font-family:var(--display);font-size:2.2rem;line-height:1.05;padding:.05rem 0;background:transparent;border:0}
body[data-view=builder] .triangle-virtue input:focus-visible{outline:1px solid #d9bd75}
body[data-view=builder] .triangle-pool strong{font-family:var(--display);font-size:3.15rem}
body[data-view=builder] .virtue-fables h3,body[data-view=builder] .virtue-sources h3{font-family:var(--heading);font-size:1.15rem}
body[data-view=builder] .journal-page{background-size:cover;border:0;filter:drop-shadow(0 7px 8px #0003)}
body[data-view=builder] .journal-page-footer img{height:auto;object-fit:contain}
body[data-view=builder] .journal-scene .notes-tabs button{background:#171a1360;border:1px solid #b3965440;border-bottom:2px solid transparent;padding:.5rem .85rem;min-height:42px;font-family:var(--heading)}
body[data-view=builder] .journal-scene .notes-tabs button[aria-pressed=true]{background:#ae924725;border-bottom-color:#d3b873;color:#ecd39f}
body[data-view=builder] .journal-page textarea{font-family:var(--display);font-size:1rem;line-height:1.7;box-shadow:none;color:#3a2f20;background:transparent}
body[data-view=builder] .journal-page-heading span{font-family:var(--heading)}
body[data-view=builder] .journal-page .markdown{font-family:var(--display);font-size:1rem}
body[data-view=builder] .journal-page textarea:focus-visible{outline:1px solid #6c542a8c;background:#aa79340a}
body[data-view=builder] .journal-page .markdown :is(h1,h2,h3){color:#352d20}
/* Inventory and all builder dialogs share client frames. Border-image keeps
   corners at their original size while the centre expands around live content. */
body[data-view=builder] dialog{--display:Spectral,Georgia,serif;--heading:'Spectral SC',Spectral,serif;border:12px solid transparent;border-image:url('/assets/ui/game-dialog-paper.webp') 34/12px repeat;background:#201d15f5;padding:1.1rem;box-shadow:0 20px 90px #000d;max-height:calc(100dvh - 32px);scrollbar-width:thin;scrollbar-color:#ad965e #1c2016}
body[data-view=builder] dialog::backdrop{background:#060a07bc;backdrop-filter:blur(6px)}
body[data-view=builder] dialog .dialog-head{padding:.65rem .9rem;border:7px solid transparent;border-image:url('/assets/ui/game-panel-frame.webp') 34/7px repeat}
body[data-view=builder] dialog .dialog-head h2{font:400 1.65rem/1.25 var(--heading);color:#d7bd82}
body[data-view=builder] dialog .dialog-head .eyebrow{font-size:.55rem;letter-spacing:.09em;color:var(--muted)}
body[data-view=builder] dialog [data-close]{width:35px;height:35px;font-size:0;background:url('/assets/ui/game-close.webp') center/23px 23px no-repeat;opacity:.8;border:1px solid transparent}
body[data-view=builder] dialog [data-close]:hover{border-color:#ae935966;opacity:1}
body[data-view=builder] .inventory-dialog{width:min(1130px,calc(100vw - 44px));overflow:hidden}
body[data-view=builder] .inventory-dialog[open]{display:flex;flex-direction:column;height:min(850px,calc(100dvh - 32px))}
body[data-view=builder] .inventory-dialog :is(.dialog-head,.inventory-search,.inventory-footer){flex:none}
body[data-view=builder] .inventory-layout{flex:1;min-height:0;overflow:hidden}
body[data-view=builder] .inventory-search{position:relative;margin-top:.9rem}
body[data-view=builder] .inventory-search input{font-size:.8rem;padding:.65rem .8rem;min-height:40px}
body[data-view=builder] .inventory-count{font-family:var(--display)}
body[data-view=builder] .inventory-items{grid-template-columns:repeat(4,minmax(0,1fr));height:100%;max-height:none;min-height:0;gap:.55rem;scrollbar-width:thin;padding:.3rem .55rem .4rem .25rem;overscroll-behavior:contain}
body[data-view=builder] .inventory-item{min-height:150px;gap:.45rem;padding:.75rem .9rem;background:#a0874310;isolation:isolate}
body[data-view=builder] .inventory-item:before{z-index:-1;background:none;border:9px solid transparent;border-image:url('/assets/ui/arsenal-item-frame.webp') 34/9px repeat}
body[data-view=builder] .inventory-item.is-equipped:before{background:none;border-image-source:url('/assets/ui/arsenal-item-equipped.webp')}
body[data-view=builder] .inventory-item:is(:hover,[aria-pressed=true]):before{background:none;border-image-source:url('/assets/ui/arsenal-item-hover.webp')}
body[data-view=builder] .temper-cell:before{background:none;border:9px solid transparent;border-image:url('/assets/ui/arsenal-item-frame.webp') 34/9px repeat}
body[data-view=builder] .temper-cell:is(:hover,:focus-within):before{background:none;border-image-source:url('/assets/ui/arsenal-item-hover.webp');opacity:1}
body[data-view=builder] .inventory-item>.item-image{height:79px}
body[data-view=builder] .inventory-item strong{font:400 .8rem/1.35 var(--heading);color:#cabd9e;min-height:2.7em}
body[data-view=builder] .inventory-item[aria-pressed=true] strong{color:#efdaad}
body[data-view=builder] .inventory-item[aria-pressed=true]{background:#d0b66027}
body[data-view=builder] .inventory-item:hover{background:#af965923}
body[data-view=builder] .inventory-preview{height:100%;max-height:none;min-height:0;padding:.8rem 1rem .7rem;position:relative;background:#18191188;border:8px solid transparent;border-image:url('/assets/ui/game-name-paper.webp') 34/8px repeat;overscroll-behavior:contain;scrollbar-width:thin}
body[data-view=builder] .inventory-preview-art{height:clamp(100px,15vh,150px);background:radial-gradient(ellipse,#c4af7527,transparent 70%)}
body[data-view=builder] .inventory-preview-art>img{filter:drop-shadow(0 6px 6px #0008);animation:game-item-enter .18s ease-out}
body[data-view=builder] .inventory-preview h3{font:400 1.4rem/1.3 var(--heading);color:#e0c998}
body[data-view=builder] .inventory-stats{grid-template-columns:repeat(auto-fit,minmax(5.75rem,1fr));clear:both}
body[data-view=builder] .inventory-stats dt{overflow-wrap:normal;white-space:nowrap}
body[data-view=builder] .inventory-description{font-size:.78rem;line-height:1.8;color:#bfb8a5}
body[data-view=builder] .inventory-requirements{display:flex;flex-wrap:wrap;gap:.6rem}
body[data-view=builder] .inventory-requirements>span{display:flex;align-items:center;gap:.3rem;white-space:nowrap}
body[data-view=builder] .inventory-requirements img{width:20px;height:20px;object-fit:contain}
body[data-view=builder] .inventory-empty img{width:80px;height:80px;opacity:.25;object-fit:contain}
body[data-view=builder] .inventory-footer{border-top-color:#b09d6733}
body[data-view=builder] .inventory-footer .button{min-width:110px}
body[data-view=builder] #toast{border-radius:0;background:#2e281deF;border-color:#b89d62;color:#e4ce9f;box-shadow:0 6px 20px #0008;font-family:var(--display);font-size:.88rem}
body[data-view=builder] .workshop-scene>.scene-heading{padding:.1rem .35rem .6rem;margin-bottom:.5rem}
body[data-view=builder] .workshop-scene>.scene-heading .eyebrow{display:none}
body[data-view=builder] .workshop-scene>.scene-heading h2{font-size:1.3rem}
@keyframes game-pane-enter{from{opacity:.45;transform:translateY(4px)}to{opacity:1;transform:none}}
@keyframes game-item-enter{from{opacity:.3;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(min-width:761px){body[data-view=builder] .inventory-layout{grid-template-columns:265px minmax(0,1fr)}body[data-view=builder] .arsenal-stage{grid-template-rows:repeat(3,148px) minmax(112px,auto);min-height:568px}}
@media(max-width:1050px) and (min-width:761px){body[data-view=builder] main{padding:1.1rem 1.15rem}body[data-view=builder] .builder-layout{grid-template-columns:minmax(0,1fr) 254px;gap:.75rem}body[data-view=builder] .builder-tabs button{font-size:.73rem;gap:.3rem}body[data-view=builder] .builder-tabs button>img{width:22px;height:22px}body[data-view=builder] .head-actions .button{font-size:.66rem}body[data-view=builder] .arsenal-stage{grid-template-columns:minmax(0,1fr) minmax(135px,1.2fr) minmax(0,1fr)}body[data-view=builder] .arsenal-slot-token{width:56px;height:56px}body[data-view=builder] .arsenal-slot-image{width:46px;height:46px}body[data-view=builder] .arsenal-showcase-art{height:200px}body[data-view=builder] .arsenal-showcase-caption h3{font-size:1.25rem}body[data-view=builder] .arsenal-item-lore{font-size:.65rem}body[data-view=builder] .forge-display{gap:.7rem}body[data-view=builder] .forge-weapon-art{height:230px}body[data-view=builder] .inventory-items{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){body[data-view=builder] .topbar{height:64px;min-height:64px;padding:.65rem .8rem}body[data-view=builder] .sidebar{height:44px;padding:0 .3rem}body[data-view=builder] .sidebar .nav-item{font-size:.65rem;padding:.5rem .15rem}body[data-view=builder] main{padding:1rem .8rem}body[data-view=builder] .arsenal-head{gap:.75rem}body[data-view=builder] .arsenal-head h1{font-size:1.6rem}body[data-view=builder] .head-actions{width:100%;gap:.35rem}body[data-view=builder] .head-actions .button{font-size:.62rem;flex:1;min-width:0;padding:.4rem .5rem;min-height:36px}body[data-view=builder] .head-actions .primary{padding-inline:1.15rem}body[data-view=builder] .head-actions .primary:before,body[data-view=builder] .head-actions .primary:after{width:20px;height:20px}body[data-view=builder] .build-meta{grid-template-columns:1fr 1fr;gap:.5rem;padding:.7rem .8rem}body[data-view=builder] .build-meta label:first-child{grid-column:1/-1}body[data-view=builder] .build-meta input,body[data-view=builder] .build-meta select{font-size:.75rem;min-height:36px}body[data-view=builder] .builder-tabs{gap:0;top:44px;margin:.65rem 0 .85rem;padding:.3rem 0}body[data-view=builder] .builder-tabs button{flex-direction:column;gap:.2rem;min-height:68px;border-width:7px;border-image-width:7px;font-family:var(--heading);font-size:.52rem;padding:.3rem .05rem;line-height:1.25}body[data-view=builder] .builder-tabs button>img{display:block;width:25px;height:25px}body[data-view=builder] .builder-tabs button>span{display:block;font-size:inherit;letter-spacing:0}body[data-view=builder] .builder-layout{grid-template-columns:minmax(0,1fr);gap:1.2rem}body[data-view=builder] :is(.arsenal-equipment,.workshop-scene,.sanctum-scene,.virtue-scene,.journal-scene){padding:.85rem .8rem}body[data-view=builder] :is(.scene-heading,.arsenal-heading) h2{font-size:1.18rem}body[data-view=builder] :is(.scene-heading,.arsenal-heading) .eyebrow{font-size:.49rem}body[data-view=builder] .arsenal-slot-token{width:49px;height:49px}body[data-view=builder] .arsenal-slot-image{width:42px;height:42px}body[data-view=builder] .arsenal-slot-copy strong{font-size:.7rem}body[data-view=builder] .arsenal-showcase-art{height:166px}body[data-view=builder] .arsenal-showcase-caption h3{font-size:1.15rem}body[data-view=builder] .arsenal-item-lore{font-size:.65rem}body[data-view=builder] .arsenal-controls{font-size:.59rem}body[data-view=builder] .forge-display{grid-template-columns:1fr;gap:.4rem}body[data-view=builder] .forge-weapon-art{height:230px}body[data-view=builder] .forge-weapon h3{font-size:1.4rem}body[data-view=builder] .forge-lore{font-size:.72rem}body[data-view=builder] .scene-switch>button{gap:.5rem;padding:.5rem .45rem;min-height:65px}body[data-view=builder] .scene-switch>button strong{font-size:.81rem}body[data-view=builder] .temper-grid{gap:.45rem}body[data-view=builder] .temper-cell .upgrade-pick{font-size:.8rem;min-height:145px}body[data-view=builder] .temper-cell .upgrade-pick .item-image{width:65px;height:65px}body[data-view=builder] .triangle-virtue{font-size:.65rem}body[data-view=builder] .triangle-virtue input{font-size:1.8rem}body[data-view=builder] .triangle-pool strong{font-size:2.7rem}body[data-view=builder] .armour-summary{grid-template-columns:120px minmax(0,1fr);gap:.85rem}body[data-view=builder] .defence-details dt{font-size:.76rem}body[data-view=builder] .defence-details dd{font-size:1.8rem}body[data-view=builder] dialog{padding:.8rem;border-width:8px;border-image-width:8px;max-height:calc(100dvh - 20px);width:calc(100vw - 20px)}body[data-view=builder] .inventory-layout{display:flex;flex-direction:column;gap:.75rem}body[data-view=builder] .inventory-items{max-height:33vh;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;padding-right:.3rem}body[data-view=builder] .inventory-item{min-height:124px;gap:.3rem;padding:.5rem .3rem}body[data-view=builder] .inventory-item>.item-image{height:63px}body[data-view=builder] .inventory-item strong{font-size:.68rem}body[data-view=builder] .inventory-preview{max-height:24vh;min-height:135px;padding:.65rem;flex:none}body[data-view=builder] .inventory-preview-art{float:left;width:88px;height:88px;margin-right:.8rem}body[data-view=builder] .inventory-preview h3{font-size:1.15rem}body[data-view=builder] .inventory-description{font-size:.74rem;clear:both}body[data-view=builder] .inventory-search{gap:.5rem;margin:.6rem 0}body[data-view=builder] .inventory-search input{font-size:.73rem}body[data-view=builder] .inventory-footer{gap:.45rem;flex-wrap:wrap;margin-top:.75rem;padding-top:.65rem}body[data-view=builder] .inventory-footer p{font-size:.63rem;flex-basis:100%}body[data-view=builder] .inventory-footer .button{flex:1;min-height:42px}body[data-view=builder] .journal-page textarea{font-size:.93rem}}
@media(prefers-reduced-motion:reduce){body[data-view=builder] .builder-pane:not([hidden]),body[data-view=builder] .inventory-preview-art>img{animation:none}body[data-view=builder] .stats-panel summary:before{transition:none}}
body[data-view=builder] .forge-sections{display:flex;align-items:center;gap:1rem;margin:-.25rem 0 .65rem;border-bottom:1px solid #bca16633}
body[data-view=builder] .forge-sections button{display:flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;padding:.45rem .5rem;border:0;border-bottom:1px solid transparent;background:transparent;font:.75rem var(--heading);color:#a89b7c}
body[data-view=builder] .forge-sections img{width:22px;height:22px;object-fit:contain;opacity:.5}
body[data-view=builder] .forge-sections button[aria-pressed=true]{border-bottom-color:#d1af68;color:#e3c993;background:linear-gradient(0deg,#b9a75a16,transparent)}
body[data-view=builder] .forge-sections button[aria-pressed=true] img{opacity:1}
@media(min-width:761px){body[data-view=builder] .weapon-config{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-areas:'hero setup' 'hero tempers';gap:0 1.2rem;align-items:start}body[data-view=builder] .weapon-config:is([data-upgrade-mode=runes],[data-upgrade-mode=totems]){grid-template-areas:'hero setup' 'totems totems'}body[data-view=builder] .forge-display{display:contents}body[data-view=builder] .forge-weapon{grid-area:hero;align-self:center}body[data-view=builder] .forge-setup{grid-area:setup}body[data-view=builder] .forge-tempers{grid-area:tempers}body[data-view=builder] .forge-totems{grid-area:totems}body[data-view=builder] .temper-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,125px),1fr))}body[data-view=builder] .forge-weapon-art{height:310px}body[data-view=builder] .weapon-config:is([data-upgrade-mode=runes],[data-upgrade-mode=totems]) .forge-weapon-art{height:180px}body[data-view=builder] .weapon-config:is([data-upgrade-mode=runes],[data-upgrade-mode=totems]) .forge-lore{display:none}body[data-view=builder] .weapon-config:is([data-upgrade-mode=runes],[data-upgrade-mode=totems]) .forge-weapon .eyebrow{margin-top:.3rem}body[data-view=builder] .forge-section-title{margin:.8rem 0 .6rem;padding-top:.8rem}body[data-view=builder] .forge-tempers .scene-help{font-size:.62rem}body[data-view=builder] .temper-cell .upgrade-pick{font-size:.75rem;min-height:145px}body[data-view=builder] .forge-setup .planner-controls{grid-template-columns:70px minmax(0,1fr)}body[data-view=builder] .totem-altar .upgrade-pick{min-height:133px}.game-skill-tree>.skill-tree-heading{grid-column:1/-1}}
@media(min-width:1200px){body[data-view=builder] .game-skill-tree{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:.5rem 1rem}body[data-view=builder] .game-skill-tree>.skill-scroll{grid-column:1;grid-row:2}body[data-view=builder] .game-skill-tree>.skill-inspection{grid-column:2;grid-row:2;align-self:start;display:flex;flex-direction:column;align-items:stretch;gap:.8rem;padding:1rem .85rem;border:8px solid transparent;border-image:url('/assets/ui/game-name-paper.webp') 34/8px repeat;background:#171a1388}body[data-view=builder] .skill-inspection-art{width:100%;height:85px}body[data-view=builder] .skill-inspection-art img{width:68px;height:68px}body[data-view=builder] .skill-inspection-copy h3{font-size:1.08rem}body[data-view=builder] .skill-inspection-copy>p{font-size:.72rem;line-height:1.8}body[data-view=builder] .skill-rank-control{display:flex;gap:.6rem;align-items:end}body[data-view=builder] .skill-rank-control label{min-width:63px;width:63px}body[data-view=builder] .skill-rank-buttons{flex:1;margin-bottom:0}body[data-view=builder] .game-skill-tree>.scene-help{grid-column:1/-1}body[data-view=builder] .game-skill-graph{min-width:560px}}
@media(max-width:760px){body[data-view=builder] .forge-sections{gap:.5rem}body[data-view=builder] .forge-sections button{flex:1;font-size:.63rem;gap:.35rem;padding:.5rem .2rem;min-height:44px}body[data-view=builder] .forge-sections img{width:22px;height:22px}body[data-view=builder] .weapon-config:is([data-upgrade-mode=runes],[data-upgrade-mode=totems]) .forge-weapon-art{height:155px}body[data-view=builder] .weapon-config:is([data-upgrade-mode=runes],[data-upgrade-mode=totems]) .forge-lore{display:none}}
@media(max-width:760px){body[data-view=builder] .builder-tabs{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#a18b57 #13160e;overscroll-behavior-x:contain}body[data-view=builder] .builder-tabs button{flex:0 0 104px;font-size:.69rem;min-height:70px;white-space:nowrap}body[data-view=builder] .builder-tabs button>img{width:26px;height:26px}body[data-view=builder] .workshop-scene>.scene-heading h2{font-size:1.15rem}body[data-view=builder] .inventory-item{padding:.6rem .7rem}body[data-view=builder] .inventory-item>.item-image{height:62px}}
@media(max-width:760px){body[data-view=builder] .build-record>summary{padding:.55rem .6rem;gap:.65rem}body[data-view=builder] .build-record>summary>[data-record-title]{font-size:.8rem}body[data-view=builder] .record-edit{font-size:.57rem;gap:.35rem}body[data-view=builder] .build-record>summary>small{font-size:.58rem}body[data-view=builder] .arsenal-stage{grid-template-rows:repeat(4,minmax(112px,auto));min-height:456px}body[data-view=builder] .arsenal-slot{padding:.3rem .1rem}body[data-view=builder] .arsenal-item-lore{-webkit-line-clamp:2}}
@media(max-width:760px){body[data-view=builder] .mobile-stat-ribbon{display:flex;align-items:center;justify-content:space-between;gap:.6rem;width:100%;min-height:42px;margin:-.4rem 0 .8rem;padding:.5rem .7rem;border:0;border-bottom:1px solid #b9a4673b;background:linear-gradient(90deg,#41351d88,#24271bdd);color:#c9bc9b;text-align:left;font-size:.64rem}body[data-view=builder] .mobile-stat-ribbon>span{display:flex;align-items:center;gap:.3rem}body[data-view=builder] .mobile-stat-ribbon strong{font:1.3rem var(--display);color:#e4c585}body[data-view=builder] .mobile-stat-ribbon img{width:22px;height:26px;object-fit:contain}body[data-view=builder] #stats-panel{scroll-margin-top:135px}}

@media(max-width:760px){body[data-view=builder] dialog .dialog-head h2{font-size:1.3rem}body[data-view=builder] dialog .dialog-head{padding:.45rem .6rem}}

/* Pact follows leg armour in the left equipment column. */
@media(max-width:1100px){body[data-view=builder] .arsenal-slot-pact{flex-direction:column;gap:.15rem;justify-content:center}body[data-view=builder] .arsenal-slot-pact .arsenal-slot-copy{max-width:100%;text-align:center}}

/* Readable labels and bounded inventory panes at every supported viewport. */
body[data-view=builder] :is(.scene-heading,.arsenal-heading) .eyebrow{font-size:.64rem}
body[data-view=builder] .record-edit{font-size:.74rem}
body[data-view=builder] .build-record>summary>small{font-size:.72rem}
body[data-view=builder] .scene-switch small{font-size:.7rem}
body[data-view=builder] .arsenal-slot-copy small{font-size:.68rem;letter-spacing:0}
body[data-view=builder] .arsenal-slot-copy>span{font-size:.67rem}
body[data-view=builder] .arsenal-controls,body[data-view=builder] .scene-help{font-size:.76rem;line-height:1.7}
body[data-view=builder] .arsenal-item-lore{font-size:.81rem}
body[data-view=builder] .skill-inspection-copy>p{font-size:.81rem}
body[data-view=builder] .skill-inspection-copy>small{font-size:.72rem}
body[data-view=builder] .skill-node>small{font-size:.7rem}
body[data-view=builder] .skill-rank-control label{font-size:.72rem}
body[data-view=builder] .inventory-item strong{font-size:.87rem}
body[data-view=builder] .inventory-preview>.eyebrow{font-size:.7rem}
body[data-view=builder] .inventory-preview>small{font-size:.68rem}
body[data-view=builder] .inventory-description{font-size:.84rem;line-height:1.7}
body[data-view=builder] .inventory-stats{display:block;margin:.55rem 0}
body[data-view=builder] .inventory-stats>div{display:flex;align-items:center;justify-content:space-between;gap:.65rem;padding:.3rem 0;border-bottom:1px solid #a38d5425}
body[data-view=builder] .inventory-stats dd{margin:0;font-size:1.15rem;flex:none}
body[data-view=builder] .inventory-stats dt{font-size:.7rem;white-space:normal;line-height:1.45}
body[data-view=builder] .inventory-footer .button{min-height:42px}
body[data-view=builder] .inventory-no-results{grid-column:1/-1;padding:1.25rem;text-align:center}
body[data-view=builder] .journal-page textarea{resize:none}
body[data-view=builder] .journal-page-footer small{font-size:.76rem;color:#45331f;letter-spacing:.025em}
body[data-view=builder] .journal-count{font-size:.72rem}
body[data-view=builder] .journal-format button{font-size:.75rem;min-height:36px}
body[data-view=builder] .journal-page-heading{align-items:start}
body[data-view=builder] .journal-page-heading small{font-size:.75rem;max-width:35%;white-space:normal;overflow-wrap:anywhere;text-align:right}
@media(min-width:761px){body[data-view=builder] .inventory-layout{grid-template-columns:320px minmax(0,1fr);gap:1rem}}
@media(min-width:761px) and (max-width:1050px){body[data-view=builder] .inventory-layout{grid-template-columns:260px minmax(0,1fr)}}
@media(max-width:760px){
  body[data-view=builder] .build-record>summary{padding-inline:1.2rem}
  body[data-view=builder] .record-edit{font-size:.67rem}
  body[data-view=builder] .build-record>summary>small{font-size:.65rem}
  body[data-view=builder] .scene-switch>button{padding-inline:.65rem}
  body[data-view=builder] .scene-switch small{font-size:.64rem}
  body[data-view=builder] .arsenal-slot-copy small{font-size:.6rem}
  body[data-view=builder] .arsenal-slot-copy strong{font-size:.76rem}
  body[data-view=builder] .arsenal-slot-copy>span{font-size:.6rem}
  body[data-view=builder] .arsenal-item-lore{font-size:.75rem}
  body[data-view=builder] .inventory-dialog[open]{height:calc(100dvh - 20px)}
  body[data-view=builder] .inventory-layout{gap:.65rem}
  body[data-view=builder] .inventory-items{flex:1;min-height:0;max-height:none;height:auto}
  body[data-view=builder] .inventory-preview{flex:0 0 38%;min-height:150px;height:auto;max-height:none}
  body[data-view=builder] .inventory-preview-art{width:80px;height:80px}
  body[data-view=builder] .inventory-item strong{font-size:.74rem}
  body[data-view=builder] .inventory-footer p{font-size:.7rem}
  body[data-view=builder] .journal-format{flex-wrap:wrap}
  body[data-view=builder] .journal-format button{font-size:.7rem}
}
@media(max-height:620px) and (min-width:761px){body[data-view=builder] .inventory-preview-art{height:80px}body[data-view=builder] .inventory-dialog .dialog-head{margin-bottom:.4rem}body[data-view=builder] .inventory-search{margin-block:.4rem}body[data-view=builder] .inventory-footer{margin-top:.5rem;padding-top:.5rem}}
body[data-view=builder] .inventory-preview{overflow-anchor:none}
body[data-view=builder] .temper-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,125px),1fr))}
body[data-view=builder] .temper-cell .upgrade-pick{padding-inline:.45rem}
body[data-view=builder] [data-counter-digits="4"]{--counter-size:2.1rem}
body[data-view=builder] [data-counter-digits="5"]{--counter-size:1.68rem}
body[data-view=builder] [data-counter-digits="6"]{--counter-size:1.4rem}
/* The selected paper turns light immediately; its label must turn dark in
   the same frame instead of briefly retaining the previous gold hover color. */
body[data-view=builder] .builder-tabs button{transition:none}

/* Keep the native artwork at its own proportions; distribute the surrounding
   controls instead of enlarging the paper to fill empty rows. */
body[data-view=builder] :is(.scene-heading,.arsenal-heading){padding-bottom:.65rem;margin-bottom:.6rem}
body[data-view=builder] :is(.scene-heading,.arsenal-heading) .eyebrow{margin:0 0 .25rem}
body[data-view=builder] .scene-heading h2{font-size:1.35rem}
body[data-view=builder] .arsenal-slot-copy strong{overflow-wrap:break-word;word-break:normal;hyphens:auto}
body[data-view=builder] .arsenal-slot{transition:background-color .15s,border-color .15s}
body[data-view=builder] .arsenal-slot[aria-pressed=true]{border-left-color:#c6a36599}
body[data-view=builder] .scene-switch{padding-bottom:.4rem;margin-bottom:.5rem}
body[data-view=builder] .skill-tree{margin-top:.6rem;padding-top:.6rem}
body[data-view=builder] .skill-point-seal{width:62px;height:62px}
body[data-view=builder] .skill-point-seal strong{font-size:1.75rem}
body[data-view=builder] .temper-remove{font-size:0;width:28px;height:28px;border:1px solid transparent;background:#1b1b14bf url('/assets/ui/game-close.webp') center/14px 14px no-repeat;opacity:.7}
body[data-view=builder] .temper-remove:hover,body[data-view=builder] .temper-remove:focus-visible{opacity:1;border-color:#bda36480}
body[data-view=builder] .virtue-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:1.1rem}
body[data-view=builder] :is(.virtue-allocation-stage,.virtue-ledgers){min-width:0}
body[data-view=builder] .virtue-profile{margin:.4rem auto .7rem;gap:1rem}
body[data-view=builder] .virtue-allocation-note{font-size:.78rem;line-height:1.8;margin:0}
body[data-view=builder] .virtue-source-ledger article{border:0;border-bottom:1px solid #b99d5233;background:transparent}
body[data-view=builder] .triangle-help{font-size:.74rem}
body[data-view=builder] .virtue-triquetra{margin-top:1.9rem}
body[data-view=builder] .triangle-virtue.spirit{top:-20px}
body[data-view=builder] .journal-page{position:relative;background-position:center;box-shadow:inset 0 0 35px #58431e20}
body[data-view=builder] .journal-page-heading{padding-bottom:.65rem}
body[data-view=builder] .journal-page-footer{padding-top:.9rem}
@media(min-width:1101px){
  body[data-view=builder] .arsenal-stage{grid-template-rows:repeat(4,minmax(94px,auto));min-height:clamp(400px,calc(100dvh - 320px),570px);padding-top:0}
  body[data-view=builder] .arsenal-showcase-art{height:clamp(190px,calc(100dvh - 510px),280px)}
  body[data-view=builder] .arsenal-showcase-caption h3{font-size:1.45rem}
  body[data-view=builder] .arsenal-item-lore{-webkit-line-clamp:2}
  body[data-view=builder] .arsenal-controls{padding-top:.6rem;margin-top:.3rem;font-size:.7rem}
  body[data-view=builder] .life-emblem{width:112px;height:112px}
  body[data-view=builder] .stat-life strong{font-size:var(--counter-size,2.3rem);max-width:96px;top:-3px;transform:none}
  body[data-view=builder] .stat-life [data-counter-digits="4"]{--counter-size:1.8rem}
  body[data-view=builder] .stat-life [data-counter-digits="5"]{--counter-size:1.45rem}
  body[data-view=builder] .stat-life [data-counter-digits="6"]{--counter-size:1.2rem}
  body[data-view=builder] .stat-life{padding:.2rem 0 .4rem}
  body[data-view=builder] .armour-summary{margin-top:.2rem}
  body[data-view=builder] .armour-sum-note{margin-top:.7rem}
  body[data-view=builder] .stats-panel>.eyebrow{margin-bottom:.6rem}
  body[data-view=builder] .forge-weapon-art{height:clamp(200px,calc(100dvh - 490px),280px)}
}
@media(min-width:1200px){
  body[data-view=builder] .virtue-workspace{grid-template-columns:minmax(0,1.6fr) minmax(230px,1fr);gap:1.2rem;align-items:start}
  body[data-view=builder] .virtue-ledgers{padding:.6rem 0 .3rem 1rem;border-left:1px solid #b79d5238}
  body[data-view=builder] .virtue-ledgers .planner-controls{grid-template-columns:1fr;gap:.9rem}
  body[data-view=builder] .virtue-ledgers :is(.fable-ledger,.virtue-source-ledger){padding-top:.9rem;margin-top:1rem}
  body[data-view=builder] .virtue-ledgers h3{font-size:1.1rem;margin:0 0 .65rem}
  body[data-view=builder] .virtue-ledgers .planner-controls{margin:.6rem 0 0}
  body[data-view=builder] .virtue-ledgers label{font-size:.75rem}
  body[data-view=builder] .virtue-source-ledger>div{grid-template-columns:1fr;gap:.2rem}
  body[data-view=builder] .virtue-source-ledger article{padding:.5rem .2rem;text-align:left}
  body[data-view=builder] .virtue-source-ledger article>span{font-size:.83rem}
  body[data-view=builder] .virtue-source-ledger p{justify-content:flex-start;margin-top:.35rem}
  body[data-view=builder] .virtue-triquetra{max-width:clamp(390px,calc(115dvh - 414px),500px);margin:1.25rem auto .5rem}
  body[data-view=builder] .triangle-virtue.spirit{top:-22px}
  body[data-view=builder] .triangle-virtue{font-size:.76rem}
  body[data-view=builder] .triangle-virtue input{font-size:1.95rem}
  body[data-view=builder] .triangle-pool span{font-size:.58rem;letter-spacing:0}
  body[data-view=builder] .triangle-pool strong{font-size:2.7rem}
  body[data-view=builder] .virtue-bond{margin:.65rem 0 .2rem}
}
@media(max-width:760px){
  body[data-view=builder] .scene-heading h2{font-size:1.18rem}
  body[data-view=builder] .arsenal-slot[aria-pressed=true]{border-left-color:transparent;border-bottom-color:#c6a36566}
  body[data-view=builder] .virtue-workspace{gap:.7rem}
  body[data-view=builder] .virtue-profile{grid-template-columns:120px minmax(0,1fr);gap:.7rem}
  body[data-view=builder] .virtue-allocation-note{font-size:.73rem}
  body[data-view=builder] .virtue-triquetra{margin-top:2.4rem}
  body[data-view=builder] .triangle-virtue.spirit{top:-36px}
}
@media(prefers-reduced-motion:reduce){body[data-view=builder] .arsenal-slot{transition:none}}
