[data-buildschmiede-editor] { color-scheme:dark; --be-gold:#e4bd78; --be-line:#41464b; --be-muted:#b4bcc3; --be-bg:#14181c; background:var(--be-bg); color:#f2eee6; font:16px/1.45 "Segoe UI",Arial,sans-serif; min-width:0; }
.be-shell {max-width:1540px;margin:auto;padding:0 clamp(12px,3.5vw,58px) 36px;color:#f2eee6;}
.be-shell *, .be-shell *::before, .be-shell *::after {box-sizing:border-box;}
.be-shell [hidden]{display:none!important}
.be-shell button,.be-shell input,.be-shell select,.be-shell textarea {font:inherit;}
.be-shell button{cursor:pointer;color:inherit}
.be-shell button:disabled{cursor:default;opacity:.55}
.be-shell :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid #f6cf85;outline-offset:3px}
.be-top,.be-top-actions,.be-brand,.be-work-head,.be-tabs,.be-dialog-head,.be-phase-head{display:flex;align-items:center}
.be-top {justify-content:space-between;gap:12px;min-height:68px;border-bottom:1px solid #45403b}
.be-brand {gap:10px;color:#ead1a5;font-family:Georgia,serif;font-variant:small-caps;font-weight:bold;font-size:22px;letter-spacing:.045em}
.be-mark {width:39px;height:40px;object-fit:contain}
.be-top-actions {gap:2px;flex-wrap:wrap;justify-content:end}
.be-shell .be-text-button,.be-shell .be-action,.be-shell .be-primary,.be-shell .be-tab {background:transparent;border:1px solid transparent;border-radius:4px;padding:8px 12px;line-height:1.3;min-height:36px;font-size:14px;font-weight:600;letter-spacing:normal;text-transform:none}
.be-shell .be-text-button{color:#d9d6cf}
.be-shell .be-text-button:hover,.be-shell .be-tab:hover{background:#2a2d2f;color:#ffe3b0}
.be-shell .be-action,.be-shell .be-btn {border:1px solid #515052;color:#eee9df;background:#282c30}
.be-shell .be-action:hover,.be-shell .be-build-row:hover {border-color:#a98859}
.be-shell .be-primary {background:linear-gradient(135deg,#f2d5a1,#d6ac68);border:1px solid #edce98;color:#201b14;padding:11px 20px}
.be-shell .be-primary:hover {background:#fce0ac}
.be-creation {display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(26px,6vw,95px);max-width:1220px;margin:clamp(30px,5vw,82px) auto;align-items:start}
.be-eyebrow {font-size:12px;text-transform:uppercase;letter-spacing:.17em;color:#d3b482;font-weight:700}
.be-shell .be-intro > :is(h1,h2),.be-shell .be-character-title > :is(h1,h2),.be-shell .be-selected h2 {color:#fbf1df;font:normal clamp(40px,5.2vw,72px)/1.1 Georgia,serif;letter-spacing:-.035em;margin:10px 0 22px}
.be-class-area{margin-top:clamp(24px,4vw,56px)}.be-shell .be-class-area h2,.be-shell .be-phases h2,.be-shell .be-dialog h2{font:normal 26px/1.2 Georgia,serif;letter-spacing:normal;text-transform:none;margin:0 0 16px;color:#f2e7d4}
.be-class-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.be-shell .be-class-tile {position:relative;display:grid;grid-template-rows:1fr auto;width:100%;min-width:0;isolation:isolate;aspect-ratio: .84;border-radius:5px;border:1px solid #474749;background:#222629;overflow:hidden;padding:0;transition:border-color .14s}
.be-class-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:.78}
.be-class-tile::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#141619 1%,rgba(18,23,27,.8) 13%,transparent 60%)}
.be-class-tile span{grid-row:2;text-align:center;align-self:end;padding:10px 2px;font-weight:600;font-size:clamp(12px,1vw,16px);color:#f6eee2}
.be-class-tile[aria-pressed=true],.be-class-tile:hover{border-color:#e4bd78;box-shadow:inset 0 0 0 1px #e4bd78}
.be-class-tile[aria-pressed=true] span{color:#f8d698}.be-class-tile[aria-pressed=true] img{opacity:1}
.be-selected {border:1px solid #665746;border-radius:6px;background:#1c2025;overflow:hidden}
.be-hero-img{display:block;width:100%;height:clamp(180px,22vw,315px);object-fit:cover;object-position:50% 34%;border-bottom:1px solid #554a3c}
.be-selected-body{padding:clamp(18px,2.4vw,34px)}
.be-shell .be-selected h2{font-size:38px;margin:0 0 5px}
.be-asc-list,.be-help{color:var(--be-muted);font-size:14px;margin:4px 0 20px}
.be-input-label{display:grid;gap:6px;font-size:13px;font-weight:600;color:#d1cbc0}
.be-shell .be-input{min-width:0;width:100%;border:1px solid #53565a;padding:10px 12px;border-radius:3px;background:#14181c;color:#f2f0eb;font-size:15px}
.be-selected-body .be-primary{margin-top:13px;width:100%}
.be-work-head{gap:17px;padding:24px 0 18px}.be-work-head>.be-text-button{margin-left:auto}
.be-avatar{width:62px;height:62px;object-fit:cover;border:1px solid #947347;border-radius:5px}
.be-shell .be-character-title > :is(h1,h2){font-size:clamp(26px,3vw,42px);margin:3px 0 0;overflow-wrap:anywhere}
.be-tabs{border-bottom:1px solid #635440;gap:3px;margin:0 0 15px;min-width:0}
.be-shell .be-tab{border-radius:0;color:#cbc4bb;border-bottom-width:2px;padding:10px clamp(9px,2vw,30px)}
.be-shell .be-tab[aria-pressed=true]{border-bottom-color:#e8be77;color:#ffe1ae;background:linear-gradient(0deg,#353026,transparent)}
.be-work-pane{min-width:0}.be-status{margin-left:auto;color:#b4bcad;font-size:12px;text-align:right}
.be-shell .be-dialog{inset:0;position:fixed;width:min(510px,calc(100% - 22px));max-height:85dvh;margin:auto;padding:0;border:1px solid #736047;border-radius:6px;color:#f2eee6;background:#202428;box-shadow:0 20px 80px #050608b3}
.be-dialog::backdrop{background:#080a0dcc}
.be-dialog-head,.be-phase-head{justify-content:space-between;gap:8px}.be-dialog-head{border-bottom:1px solid #494745;padding:16px 20px}.be-shell .be-dialog h2,.be-shell .be-phases h2{margin:0}
.be-dialog-body{padding:20px;display:grid;gap:12px}.be-dialog-body .be-help{margin:0}
.be-shell .be-build-row,.be-phase-row {display:flex;align-items:center;gap:12px;background:#24292d;border:1px solid #484848;padding:10px 12px;border-radius:4px;min-width:0;text-align:left;color:#ede9de}
.be-build-row img{width:40px;height:40px;object-fit:cover}.be-build-row span,.be-phase-row small{color:#bdb6a9;font-size:13px}
.be-phase-head{margin-bottom:18px}.be-phase-row{margin-bottom:8px}.be-phase-row>div{flex:1}.be-phase-row strong,.be-phase-row small{display:block}
.be-alert{color:#ffd3a8;background:#382c24;padding:12px}
@media(max-width:760px){.be-tabs{flex-wrap:wrap}.be-status{display:none}.be-brand{font-size:17px}.be-mark{width:30px;height:32px}.be-top{flex-wrap:wrap;padding:8px 0}.be-shell .be-top-actions button{font-size:12px;padding:5px 7px}.be-work-head{padding:14px 0;gap:8px}.be-avatar{width:44px;height:44px}.be-work-head>.be-text-button{font-size:12px}.be-creation{grid-template-columns:1fr;gap:20px;margin:22px 0}.be-class-area{margin-top:18px}.be-class-grid{gap:6px}.be-class-tile{max-height:110px}.be-selected{display:grid;grid-template-columns:26% 1fr}.be-hero-img{height:100%;min-height:170px;border:0;object-position:center}.be-selected-body{padding:14px}.be-shell .be-selected h2{font-size:24px}.be-asc-list{font-size:12px;margin-bottom:9px}.be-phase-row{flex-wrap:wrap}.be-shell .be-tab{font-size:13px}.be-class-tile span{padding:6px 2px}}
@media(prefers-reduced-motion:reduce){.be-shell *{scroll-behavior:auto!important;transition:none!important}}

.be-brand .be-emblem{position:relative;display:block;width:36px;height:34px;overflow:hidden;flex:none}
.be-brand .be-emblem .be-mark{position:absolute;left:50%;top:0;transform:translateX(-50%);width:78px;height:auto;max-width:none}
.be-data-footer{margin-top:25px;border-top:1px solid #343638;padding-top:6px}
.be-data-footer .be-text-button{font-size:12px;color:#afa99d;padding-left:0}
.be-source-link{color:#ead0a2;text-underline-offset:3px}

.ge-editor {
  --ge-brass: #b99d68;
  --ge-light: #f1e9d7;
  --ge-muted: #c0b7a5;
  --ge-border: #514738;
  --ge-ground: #171916;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(320px, 1.18fr);
  gap: clamp(12px, 2.2vw, 28px);
  color: var(--ge-light);
  align-items: start;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.45;
  container-type: inline-size;
}
.ge-editor *, .ge-editor *::before, .ge-editor *::after { box-sizing: border-box; }
.ge-editor :is(h3,h4,p) { margin: 0; }
.ge-editor button, .ge-editor input { font: inherit; letter-spacing: normal; }
.ge-editor button { line-height: 1.25; cursor: pointer; color: inherit; }
.ge-editor button:focus-visible, .ge-editor input:focus-visible { outline: 2px solid #f4d691; outline-offset: 2px; }
.ge-editor .ge-equipment, .ge-editor .ge-detail { min-width: 0; }
.ge-heading { min-height: 45px; display: flex; align-items: center; gap: 8px; justify-content: space-between; margin-bottom: 10px; border-bottom: 1px solid var(--ge-border); padding: 0 0 8px; }
.ge-editor h3 { font: normal 25px/1.12 Georgia, serif; color: #f4e4be; }
.ge-editor h4 { font-family:inherit; font-size:15px; line-height:1.35; font-weight:600; color: var(--ge-light); }
.ge-editor .ge-set, .ge-editor .ge-toolbar, .ge-editor .ge-choices { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.ge-set > span { color: var(--ge-muted); font-size: 12px; margin-right: 3px; }
.ge-editor .ge-btn { background: #24251f; color: #e6decd; border: 1px solid var(--ge-border); padding: 7px 10px; min-height: 34px; border-radius: 3px; box-shadow: none; font-size: 13px; font-weight: 500; text-transform: none; }
.ge-editor .ge-set .ge-btn { padding: 4px 9px; min-width: 34px; font-family: Georgia, serif; }
.ge-editor .ge-btn:hover, .ge-editor .ge-card:hover, .ge-editor .ge-affixes > button:hover, .ge-editor .ge-tierlist > button:hover { background-color: #302f24; border-color: var(--ge-brass); }
.ge-editor .ge-btn.is-active, .ge-editor .ge-tierlist .is-active { background: #393222; border-color: #b09969; color: #ffe3a3; }
.ge-editor .ge-paper {
  display: grid; grid-template-columns: repeat(5,minmax(0,1fr));
  grid-template-rows: 60px 48px 48px 46px;
  grid-template-areas: "mh . helm amulet oh" "mh gloves body boots oh" "mh gloves body boots oh" ". ring1 belt ring2 .";
  gap: 5px; padding: 14px clamp(6px,1.1vw,16px);
  background: linear-gradient(90deg,#10120fe8,#24251bc4 51%,#10120fed), var(--ge-class-art,none) center 32% / cover no-repeat, #1b1b18;
  border: 1px solid #4b4233; box-shadow: inset 0 0 0 3px #191814, inset 0 0 0 4px #3b352a;
}
.ge-editor .ge-equip-slot {
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px; position: relative;
  width: 100%; min-width: 0; min-height: 0; padding: 3px 1px; border: 1px solid #514a39; border-radius: 2px;
  background: radial-gradient(ellipse at 50% 38%,#28291f,#141612); box-shadow: inset 0 0 0 2px #191a15;
  color: #d7cebd; font-size: clamp(10px,1.05vw,12px); text-align:center; text-transform:none; font-weight: 500;
}
.ge-editor .ge-equip-slot:hover, .ge-editor .ge-equip-slot.is-selected { border-color: #c6aa71; background: radial-gradient(ellipse at 50% 50%,#393525,#202018); }
.ge-editor .ge-equip-slot.is-selected { box-shadow: inset 0 0 0 2px #463c2a; color: #fce8b4; }
.ge-editor .ge-equip-slot > span:last-child { max-width: 100%; overflow-wrap: anywhere; }
.ge-editor .ge-art { width: 44px; height: 40px; object-fit: contain; }
.ge-editor .ge-equip-slot .ge-art { width: 80%; height: 58%; max-height: 70px; min-height: 12px; }
.ge-editor .ge-slot-icon { width: 22px; height: 22px; padding: 0; object-fit: contain; opacity: .76; image-rendering: pixelated; filter: sepia(.32); }
.ge-editor .ge-equip-slot.has-item { border-color: #95815a; }
.ge-editor .ge-equip-slot.has-item .ge-slot-icon { opacity: 1; }
.ge-editor .ge-slot-symbol { font: normal 21px/1 Georgia, serif; color: #b2a583; }
.ge-editor .ge-silhouette { width:24px; height:25px; object-fit:contain; filter:grayscale(1) sepia(.4); opacity:.55; }
.ge-editor .ge-accessory h4 { margin: 14px 0 6px; font-size: 14px; color: #ded0b0; }
.ge-editor .ge-minis { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; }
.ge-editor .ge-small-slot, .ge-editor .ge-add-jewel { height: 53px; font-size: 11px; }
.ge-editor .ge-add-jewel { border-style: dashed; }
.ge-editor .ge-detail { max-height: 610px; min-height: 355px; scrollbar-gutter: stable; overflow: auto; overscroll-behavior: contain; scrollbar-color: #645a45 #1c1c17; scrollbar-width: thin; padding-inline-end: 6px; }
.ge-editor .ge-search { display: block; margin: 9px 0 7px; }
.ge-editor input { max-width:100%; border: 1px solid #5b5443; border-radius: 3px; background: #151714; color: #fff7e7; box-shadow: none; min-height: 35px; padding: 6px 9px; }
.ge-editor .ge-search input { width:100%; font-size: 14px; }
.ge-editor .ge-choices { gap:4px; margin: 6px 0; }
.ge-editor .ge-choices .ge-btn { min-height: 30px; font-size: 11px; padding: 5px 7px; }
.ge-editor .ge-sources .ge-btn { font-size: 12px; }
.ge-editor .ge-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 145px),1fr)); gap: 5px; margin: 10px 0; }
.ge-editor .ge-card { display: flex; align-items: center; gap: 7px; width: 100%; min-width: 0; min-height: 58px; text-align: left; border: 1px solid #494333; border-radius: 2px; background: linear-gradient(110deg,#262820,#20221d); padding: 6px 7px; }
.ge-editor .ge-card > img, .ge-editor .ge-card > .ge-slot-symbol { flex: 0 0 24px; max-width: 36px; }
.ge-editor .ge-card > span:last-child { min-width: 0; }
.ge-editor .ge-card strong, .ge-editor .ge-card small { display: block; }
.ge-editor .ge-card strong { font: 500 14px/1.17 Georgia, serif; color: #f5e7c9; overflow-wrap: anywhere; }
.ge-editor small, .ge-editor .ge-muted { font-size: 12px; color: var(--ge-muted); }
.ge-editor .ge-card small { margin-top: 3px; font-size: 10px; }
.ge-editor .ge-wide { width: 100%; }
.ge-editor .ge-itemcard, .ge-editor .ge-inspected { margin: 6px auto 10px; border: 1px solid #695d4e; background: #101210; text-align: center; max-width: 560px; }
.ge-editor .ge-itemcard header, .ge-editor .ge-inspected h4 { display: grid; place-content: center; min-height: 47px; padding: 5px 12px; border-bottom: 1px solid #575348; background: linear-gradient(#34342c,#24261f); color: #f2ecdd; font-family: Georgia,serif; }
.ge-editor .ge-itemcard header strong { font: normal 20px/1.2 Georgia,serif; }
.ge-editor .ge-itemcard header small { font: 13px/1.3 Georgia,serif; color:inherit; }
.ge-editor .ge-itemcard.is-crafted header { color:#ffea91; min-height: 51px; padding-inline: 27px; background: var(--ge-header-left) left center / auto 100% no-repeat,var(--ge-header-right) right center / auto 100% no-repeat,var(--ge-header-mid) center / auto 100% repeat-x,#393324; }
.ge-editor .ge-itemcard.is-unique header { color: #f0aa6a; background:linear-gradient(#3c2e21,#251e17); }
.ge-editor .ge-item-body { font: 16px/1.35 Georgia,serif; padding: 8px 10px 11px; }
.ge-editor .ge-inspect-image { height: 48px; margin: 0 auto 4px; }
.ge-editor .ge-inspect-image .ge-art { height: 100%; width: 62px; }
.ge-editor .ge-item-level { font-family:system-ui,sans-serif; font-size:12px; line-height:1.35; color:#cac5b6; margin-top:4px; }
.ge-editor .ge-itemcard.is-magic header { color:#b9bdff; background:linear-gradient(#302e42,#211f2c); }
.ge-editor .ge-pair-hint { margin-top:5px; }
.ge-editor .ge-item-section { margin-top: 7px; padding-top: 8px; position: relative; }
.ge-editor .ge-item-section::before { content:''; position: absolute; top:0; left: 15%; width: 70%; height: 4px; background: var(--ge-separator) center / 100% 100% no-repeat; }
.ge-editor .ge-mod-stat, .ge-editor .ge-roll-preview { color:#eee9dd; }
.ge-editor .ge-inspected pre { padding: 10px; font: 14px/1.5 Georgia,serif; text-align: center; white-space: pre-wrap; overflow-wrap:anywhere; margin: 0; }
.ge-editor .ge-notice { border-left: 2px solid #e0b767; color: #f6dfae; background: #32291b; padding: 8px; margin-bottom: 8px; font-size: 13px; }
.ge-editor .ge-item-actions { margin: 10px 0; }
.ge-editor .ge-edit-tools { margin: 10px 0; }
.ge-editor .ge-edit-tools:empty { display: none; }
.ge-editor .ge-import-extra { margin-top: 10px; }
.ge-editor .ge-import-extra .ge-raw-line { display: block; width: 100%; text-align: left; white-space: normal; }
.ge-editor .ge-jewel-select { display:flex; align-items:center; gap:7px; color:var(--ge-muted); font-size:13px; }
.ge-editor .ge-jewel-select select { color:var(--ge-light); background:#1a1d18; border:1px solid var(--ge-border); border-radius:3px; padding:6px; }
.ge-editor .ge-socket-line { text-align:center; }
.ge-editor .ge-ilvl { display:flex; align-items:center; gap: 6px; margin-right: auto; color: #ddd3be; font-size: 12px; }
.ge-editor .ge-ilvl input { width: 62px; }
.ge-editor .ge-explicits { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap: 6px; align-items:start; }
.ge-editor .ge-mod-group { border:1px solid var(--ge-border); border-radius: 2px; padding:7px; }
.ge-editor .ge-mod-group > div:first-child, .ge-editor .ge-mod-row { display:flex; align-items:center; justify-content:space-between; gap:4px; }
.ge-editor .ge-mod-group .ge-add { width:100%; margin-top: 6px; }
.ge-editor .ge-mod-row { border-top:1px solid #3c392e; margin-top:5px; padding-top:3px; }
.ge-editor .ge-mod-row .ge-btn { min-height:28px; }
.ge-editor .ge-mod-name { border:0; padding:3px; text-align:left; flex:1; min-width:0; white-space:normal; background:transparent; overflow-wrap:anywhere; }
.ge-editor .ge-cross { padding:4px 6px; }
.ge-editor .ge-affixes, .ge-editor .ge-tierlist { display:grid; gap:4px; margin:10px 0; }
.ge-editor .ge-affixes > button, .ge-editor .ge-tierlist > button { width:100%; display:flex; align-items:center; gap:7px; text-align:left; padding:8px 10px; min-height:38px; color:#eee5d2; background:#22251d; border:1px solid var(--ge-border); border-radius:2px; font: 15px/1.3 Georgia,serif; }
.ge-editor .ge-tierlist > button > b { min-width: 2em; color:#e9cd8d; }
.ge-editor .ge-tierlist > button > span, .ge-editor .ge-affixes > button > span { flex:1; }
.ge-editor .ge-tierlist small, .ge-editor .ge-affixes small { white-space:nowrap; }
.ge-editor .ge-roll-box { display: grid; gap: 6px; }
.ge-editor .ge-roll-box label { display:flex; align-items:center; justify-content:space-between; gap:8px; color:#d3c9b4; font-size:13px; }
.ge-editor .ge-roll-box input { width:85px; }
.ge-editor .ge-roll-preview { padding: 9px; text-align:center; background:#151714; font-family:Georgia,serif; }
.ge-editor .ge-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.ge-editor .ge-mobile-back { display:none; }
@media(max-width:790px) {
  .ge-editor { grid-template-columns:minmax(0,1fr); }
  .ge-editor[data-ge-view="equipment"] .ge-detail, .ge-editor[data-ge-view="detail"] .ge-equipment { display:none; }
  .ge-editor .ge-mobile-back { display:inline-flex; align-items:center; }
  .ge-editor .ge-paper { grid-template-rows:50px 42px 42px 44px; max-width:none; }
  .ge-editor .ge-equipment { min-width:0; }
  .ge-editor .ge-detail { max-height: max(360px,70dvh); }
  .ge-editor .ge-small-slot { height:46px; }
}
@media(max-width:445px) {
  .ge-editor { gap:14px; }
  .ge-editor h3 { font-size:22px; }
  .ge-editor .ge-paper { padding:7px; gap:3px; }
  .ge-editor .ge-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ge-editor .ge-card { padding:5px 4px; gap:3px; }
  .ge-editor .ge-card strong { font-size:13px; }
  .ge-editor .ge-card .ge-slot-icon { width:17px; height:17px; flex-basis:17px; }
}

.be-gems {
  --gem-ink:#efe8d9;--gem-muted:#bbb9ad;--gem-edge:#514c40;--gem-brass:#c3a26b;
  --gem-panel:#1a1d1c;--gem-accent:#f0d292;--gem-fill:#282a26;
  color:var(--gem-ink);
  min-width:0;position:relative;
}
.be-gems * {box-sizing:border-box}
.be-gems button,.be-gems input,.be-gems select{font:inherit;color:inherit;letter-spacing:normal;text-transform:none}
.be-gems button{border-radius:3px;cursor:pointer;transition:background .12s,border-color .12s}
.be-gems button:focus-visible,.be-gems input:focus-visible,.be-gems select:focus-visible{outline:2px solid #f7d195;outline-offset:2px}
.be-gem-layout{display:grid;grid-template-columns:minmax(280px,.96fr) minmax(280px,1.12fr);gap:clamp(.6rem,1.4vw,1.25rem);align-items:start}
.be-gem-build,.be-gem-panel{min-width:0;padding:clamp(.7rem,1.25vw,1.1rem);background:var(--gem-panel);border:1px solid var(--gem-edge);border-top:2px solid #897049}
.be-gem-head,.be-gem-options{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}
.be-gem-head{margin-bottom:.9rem}
.be-gems h3{color:var(--gem-ink);font:500 clamp(1.25rem,2.3vw,1.65rem)/1.14 Georgia,serif;letter-spacing:.01em;text-transform:none;margin:0}
.be-gem-muted,.be-gems small{color:var(--gem-muted)}
.be-gems p.be-gem-muted{line-height:1.45;font-size:.92rem;margin:.65rem .15rem}
.be-gems .be-gem-add,.be-gems .be-gem-more,.be-gems .be-gem-close{min-height:39px;background:#3f3728;border:1px solid #8a7450;color:#f5dbab;padding:.42rem .75rem;font-size:.9rem}
.be-gems .be-gem-add:hover,.be-gems .be-gem-more:hover,.be-gems .be-gem-close:hover{background:#51452f;border-color:var(--gem-brass)}
.be-gems .be-gem-empty-row{display:flex;align-items:center;gap:.8rem;padding:.7rem;text-align:left;width:100%;background:#202320;border:1px dashed #695e4a;color:#d4c1a0}
.be-gem-empty-icon{display:grid;place-items:center;width:45px;height:45px;background:#171b19;border:1px solid #807257;font-size:1.5rem;font-weight:400}
.be-gem-row{background:linear-gradient(100deg,#292b26,#232623 56%,#202420);border:1px solid var(--gem-edge);border-left:2px solid #514c40;padding:.45rem .55rem .52rem;min-width:0;margin-top:.42rem}
.be-gem-row.is-current{border-left-color:var(--gem-accent);background:linear-gradient(100deg,#332f25,#262924 63%,#222421)}
.be-gem-row.is-disabled .be-gem-name,.be-gem-row.is-disabled .be-gem-sockets{opacity:.62}
.be-gems .be-gem-name,.be-gems .be-gem-result{display:flex;align-items:center;gap:.65rem;min-width:0;width:100%;padding:.22rem;background:transparent;border:1px solid transparent;text-align:left}
.be-gems .be-gem-name:hover,.be-gems .be-gem-result:hover{background:#38372d;border-color:#837052}
.be-gem-picture{display:inline-grid;flex:none;place-items:center;width:40px;height:40px;background:#141814;border:1px solid #665c46;position:relative;overflow:hidden}
.be-gem-picture>img{width:100%;height:100%;object-fit:contain}
.be-gem-picture.no-art::before{content:"";width:47%;height:55%;clip-path:polygon(50% 0,92% 26%,83% 69%,48% 100%,10% 69%,3% 28%);background:linear-gradient(130deg,var(--gem-color,#dccfae) 0%,#252b2b 57%,var(--gem-color,#dccfae) 95%)}
.be-gem-picture[data-attr=str]{--gem-color:#e68b76}.be-gem-picture[data-attr=dex]{--gem-color:#8dc49a}.be-gem-picture[data-attr=int]{--gem-color:#91b4e5}
.be-gem-row-title,.be-gem-result-name{display:grid;grid-template-columns:minmax(0,1fr);gap:.1rem;min-width:0;white-space:normal}
.be-gems .be-gem-row-title strong,.be-gems .be-gem-result-name strong{color:var(--gem-ink);font-size:.94rem;line-height:1.17;font-weight:600;overflow-wrap:anywhere}
.be-gems .be-gem-row-title small,.be-gems .be-gem-result-name small{font-size:.76rem;line-height:1.13}
.be-gem-sockets{display:flex;gap:6px;align-items:center;margin:.4rem .2rem 0;position:relative}
.be-gem-sockets:before{content:"";height:2px;position:absolute;left:14px;width:134px;top:50%;background:#75654c}
.be-gems .be-gem-socket{position:relative;display:inline-grid;align-items:center;justify-content:center;width:33px;height:33px;padding:0;border-radius:50%;border:2px solid #99825c;background:radial-gradient(#222822 35%,#151915 58%,#5c5645 74%,#222622 86%);box-shadow:0 0 0 1px #161611,inset 0 0 3px 1px #171713;color:#edd7a7;font:500 1.14rem/1 system-ui,sans-serif}
.be-gem-socket .be-gem-picture{width:26px;height:26px;border:none;border-radius:50%;background:#171c19}
.be-gems .be-gem-socket.is-current,.be-gems .be-gem-socket:focus-visible,.be-gems .be-gem-socket:hover:enabled{border-color:#ffe3a3}
.be-gems .be-gem-socket.is-locked{border-color:#514f42;box-shadow:none;background:#1b1e1a;color:#8b8978}
.be-gems .be-gem-socket:disabled{cursor:default;opacity:.62}
.be-gem-lock{display:block;width:8px;height:7px;background:currentColor;border-radius:1px;position:relative;margin-top:3px}
.be-gem-lock:before{content:"";position:absolute;top:-5px;left:1px;width:6px;height:6px;border:1px solid currentColor;border-bottom:none;border-radius:4px 4px 0 0}
.be-gems .be-gem-search,.be-gem-config input,.be-gem-config select{display:block;background:#121613;border:1px solid #615e50;border-radius:3px;min-height:38px;padding:.4rem .55rem;color:var(--gem-ink)}
.be-gems .be-gem-search{width:100%;max-width:100%;margin-bottom:.5rem}
.be-gem-switch,.be-gem-filters,.be-gem-tags{display:flex;gap:.3rem;flex-wrap:wrap}
.be-gem-switch{margin-block:.5rem}
.be-gem-strip{display:flex;align-items:center;gap:.3rem;flex-wrap:wrap;width:100%}
.be-gem-strip>small{display:inline-block;width:3.15rem;font-size:.76rem}
.be-gem-sockets:empty{display:none}
.be-gems .be-gem-tab{font-weight:600;color:#d2c4ad;background:transparent;border:0;border-bottom:2px solid transparent;padding:.42rem .52rem;border-radius:0}
.be-gems .be-gem-tab[aria-pressed=true]{color:#f2d59b;border-bottom-color:#c3a26b}
.be-gems .be-gem-filter{padding:.26rem .5rem;line-height:1.25;background:#222723;color:#d5d9d0;border:1px solid #4b5148;border-radius:3px;font-size:.82rem;min-height:29px}
.be-gems .be-gem-filter[aria-pressed=true],.be-gems .be-gem-filter:hover{border-color:#96815a;background:#3a372b;color:#f4dca9}
.be-gem-resultbar{font-size:.77rem;color:var(--gem-muted);margin:.75rem 0 .3rem}
.be-gem-results{max-height:clamp(275px,42vh,475px);overflow-y:auto;scrollbar-color:#665842 #1a1c1a;overscroll-behavior:contain;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(175px,100%),1fr));align-content:start;grid-auto-rows:minmax(44px,auto);gap:3px}
.be-gems .be-gem-result{background:#222622;border:1px solid #373c33;padding:.26rem .35rem}
.be-gem-results .be-gem-picture{width:34px;height:34px}
.be-gem-results .be-gem-more{grid-column:1/-1}
.be-gem-ident{display:flex;align-items:center;gap:.8rem}
.be-gem-ident .be-gem-picture{width:53px;height:53px;border-color:#a18a5f}
.be-gem-ident small{font-size:.8rem}
.be-gem-ident h3{margin-top:.15rem}
.be-gem-tags{margin-top:.75rem}
.be-gem-tags span{padding:.15rem .42rem;background:#282d29;color:#d7dbd5;border:1px solid #434a41;font-size:.78rem;line-height:1.2}
.be-gem-description,.be-gem-weapon{font-size:.93rem;color:#e3e3d7;line-height:1.43;margin:.8rem 0}
.be-gem-weapon{color:#c5bda8;font-size:.85rem}
.be-gem-config{display:flex;gap:.6rem;flex-wrap:wrap;align-items:end;margin:.9rem 0}
.be-gem-field{display:grid;gap:.2rem;color:var(--gem-muted);font-size:.8rem}
.be-gem-field input[type=number]{width:5.1rem}
.be-gem-options{padding-top:.6rem;border-top:1px solid var(--gem-edge)}
.be-gem-inline{display:flex;align-items:center;gap:.45rem;font-size:.9rem}
.be-gem-inline input{accent-color:#c1a16c;width:17px;height:17px}
.be-gems .be-gem-subtle{font-size:.86rem;padding:.38rem .25rem;border:0;background:none;color:#c9b893;text-decoration:underline;text-underline-offset:3px}
.be-gem-live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.be-gem-feedback{padding:.5rem .65rem;border:1px solid #a8794d;background:#392c20;color:#ffdeb3;font-size:.86rem}
.be-gem-tooltip{position:fixed;pointer-events:none;z-index:100002;background:#101411f5;border:1px solid #b79963;border-top:2px solid #cfb47e;box-shadow:0 3px 18px #000b;color:#e8e8dc;padding:.6rem .75rem;width:min(290px,90vw);font:.87rem/1.35 system-ui,sans-serif}
.be-gem-tooltip strong,.be-gem-tooltip small{display:block}.be-gem-tooltip strong{color:#f3d59a;font:500 1.05rem/1.3 Georgia,serif}.be-gem-tooltip p{margin:.35rem 0}
.be-gem-tooltip[hidden]{display:none}
@media(min-width:1150px){.be-gem-row{display:flex;align-items:center;flex-wrap:wrap;gap:.25rem}.be-gems .be-gem-name{flex:1 1 140px;width:auto}.be-gem-sockets{margin:.25rem 0}}
@media(max-width:860px){.be-gem-layout{grid-template-columns:minmax(235px,.88fr) minmax(260px,1fr)}}
@media(max-width:760px){.be-gem-layout{grid-template-columns:minmax(0,1fr)}.be-gem-results{max-height:45vh}.be-gem-sheet{position:fixed;z-index:10000;inset:auto 0 0;margin:auto;max-height:86vh;max-height:86dvh;overflow:auto;overscroll-behavior:contain;background:#1b201c;box-shadow:0 -7px 26px #000a;border-top:2px solid #b49969;padding-bottom:max(.8rem,env(safe-area-inset-bottom,0px))}.be-gem-sheet .be-gem-close{margin-bottom:.65rem;min-height:40px}.be-gem-sockets{gap:7px}.be-gems .be-gem-socket{width:37px;height:37px}.be-gems .be-gem-filter{min-height:35px}.be-gem-build .be-gem-name{min-height:46px}.be-gems .be-gem-search,.be-gem-field select,.be-gem-field input{font-size:16px}}
@media(prefers-reduced-motion:reduce){.be-gems button{transition:none}}


.bste {
    --tree-gold: #dfba78;
    --tree-line: #403a31;
    --tree-bg: #171815;
    color: #ebe7df;
    font-family: inherit;
    min-width: 0;
    max-width: 100%;
}
.bste *, .bste *::before, .bste *::after {box-sizing: border-box}
.bste [hidden] {display:none !important}
.bste button, .bste input, .bste select {font:inherit}
.bste button {cursor:pointer}
.bste button:focus-visible, .bste input:focus-visible, .bste select:focus-visible, .bste canvas:focus-visible {outline:2px solid #f3d092;outline-offset:2px}
.bste button:disabled {cursor:default;opacity:.48}
.bste-tools {display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:0 0 12px}
.bste .bste-control {border:1px solid var(--tree-line);border-radius:5px;background:#222321;color:#dfdbd2;min-height:35px;padding:5px 11px;line-height:1.25;font-size:13px;font-weight:550;box-shadow:none;white-space:normal}
.bste .bste-control:hover:enabled {background:#343029;border-color:#a18757;color:#fff1cc}
.bste .bste-control[aria-pressed=true] {color:#ffde98;border-color:#8d7046;background:#352e23}
.bste-modes {display:flex;gap:4px;align-items:center;flex-wrap:wrap}
.bste-search {position:relative;flex:1 1 190px;min-width:150px;max-width:310px}
.bste .bste-search input, .bste .bste-choice select {width:100%;border:1px solid #514a3e;color:#eee8d9;background:#151715;border-radius:4px;height:38px;padding:5px 10px;font-size:14px}
.bste .bste-search input::placeholder {color:#b5b3a8}
.bste-results {position:absolute;z-index:12;inset:auto 0 auto 0;max-height:270px;overflow:auto;background:#1a1d1a;border:1px solid #716048;box-shadow:0 8px 24px #0009;border-radius:4px;margin-top:3px;overscroll-behavior:contain}
.bste .bste-results button {display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px;border:0;border-bottom:1px solid #3b3830;border-radius:0;text-align:left}
.bste-results small {color:#bbb7ab;white-space:nowrap;font-size:11px}
.bste-no-results {display:block;padding:12px;font-size:13px}
.bste-layout {border:1px solid var(--tree-line);border-radius:7px;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) clamp(190px,25%,276px);background:#141513;align-items:stretch}
.bste-view {position:relative;min-width:0;isolation:isolate;height:clamp(360px,53vh,610px);overflow:hidden;background:radial-gradient(ellipse at 38% 45%,#292922 0%,#1a1d19 35%,#101310 75%)}
.bste-art {position:absolute;inset:0;z-index:-1;background-size:auto 106%;background-position:center;background-repeat:no-repeat;filter:sepia(.22) saturate(.75);opacity:.22;pointer-events:none;mask-image:radial-gradient(ellipse at center,#000 30%,transparent 84%)}
.bste-map {display:block;position:absolute;inset:0;width:100%;height:100%;cursor:grab;touch-action:none}
.bste-map:active {cursor:grabbing}
.bste-map-tools {display:flex;gap:3px;position:absolute;right:10px;bottom:10px}
.bste-map-tools .bste-control {padding:0;min-width:34px;height:34px;min-height:34px;font-size:20px;color:#e9d5a1;background:#1b1d1bea;border-color:#61543f}
.bste-legend {position:absolute;z-index:1;left:10px;top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:7px;pointer-events:none;padding:4px 9px;border:1px solid #655b4159;border-radius:4px;background:#171915da;color:#c8c4b6;font-size:11px}
.bste-legend strong {color:#eed197;font-size:12px}
.bste-tip {position:absolute;pointer-events:none;max-width:min(82%,280px);padding:7px 11px;border:1px solid #a58851;border-radius:3px;box-shadow:0 4px 14px #0009;background:#131511f5;font-size:12px;line-height:1.35}
.bste-tip strong,.bste-tip span {display:block}
.bste-tip strong {font-family:Georgia,serif;color:#f2d59e;font-size:15px}
.bste-tip span {color:#c8caec}
.bste-detail {padding:17px 15px;border-left:1px solid #494032;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:13px;background:linear-gradient(145deg,#25241e,#1a1c18 65%)}
.bste-node-head {display:flex;gap:8px;align-items:center;max-width:100%;line-height:1.2}
.bste-icon {width:48px;height:48px;flex:0 0 48px;background-repeat:no-repeat}
.bste-kind {display:block;color:#c8ae7b;font-size:11px;line-height:1.35;font-weight:600}
.bste .bste-node-head h3 {color:#f3e4c6;font:normal clamp(17px,1.6vw,22px)/1.14 Georgia,serif;margin:3px 0 0;padding:0;overflow-wrap:break-word}
.bste .bste-stats {width:100%;margin:0;padding:10px 0;list-style:none;border-top:1px solid #554b39;border-bottom:1px solid #554b39}
.bste .bste-stats:empty {display:none}
.bste .bste-stats li {list-style:none;color:#c8caf0;font-size:14px;line-height:1.4;padding:0;margin:2px 0}
.bste .bste-help {color:#c2c1b5;font-size:13px;line-height:1.5;padding:0;margin:0}
.bste-choice {display:grid;gap:4px;width:100%;color:#d5ccb6;font-size:12px}
.bste .bste-commit {background:#4c3e28;border-color:#92774b;color:#ffdfa3;font-weight:650;width:100%}
.bste-note {min-width:0;max-width:100%;align-self:stretch}
.bste .bste-note-text {margin:4px 0;color:#e4dfd0;line-height:1.45;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
.bste .bste-note button {min-height:28px;padding:3px 8px;font-size:12px}
.bste-note-label {display:grid;gap:5px;color:#d5bf92;font-size:12px}
.bste .bste-note-input {width:100%;padding:7px 9px;border:1px solid #6c6048;border-radius:4px;background:#141612;color:#eee8d9;font:inherit;font-size:14px;line-height:1.4;resize:vertical}
.bste .bste-note-input:focus-visible {outline:2px solid #f3d092;outline-offset:1px}
.bste-note-label + button {margin-top:5px}
.bste-neighbors {display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%}
.bste-neighbors .bste-kind {margin-bottom:4px}
.bste .bste-neighbors button {padding:3px 0;min-height:25px;text-align:left;border:0;background:transparent;color:#d6d2c8}
.bste .bste-neighbors button:hover {color:#ffe3ad;background:none}
.bste-version {font-size:11px;color:#b4ad9e;margin-top:auto}
.bste-sr {position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
@media (max-width:760px) {
    .bste-layout {grid-template-columns:1fr}
    .bste-view {height:clamp(330px,53svh,500px)}
    .bste-detail {border:0;border-top:1px solid var(--tree-line);gap:9px}
    .bste-search {max-width:none}
    .bste .bste-neighbors {display:flex;flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:5px 12px}
    .bste .bste-neighbors .bste-kind {width:100%;margin:0}
    .bste .bste-map-tools button {width:40px;height:40px}
    .bste .bste-commit {width:auto;min-height:40px}
}
@media (max-width:420px) {
    .bste .bste-modes {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:3px}
    .bste .bste-modes button {padding:6px 3px;font-size:12px;line-height:1.15;min-height:40px}
    .bste-tools {gap:8px}
}

.br-reader {
  --br-rim:#605741;--br-gold:#dec58e;--br-text:#f1edde;--br-muted:#b9b8a9;
  max-width:100%;min-width:0;color:var(--br-text);background:linear-gradient(145deg,#21241f,#191d19);
  border:1px solid var(--br-rim);padding:clamp(.75rem,2.3vw,1.5rem);font-family:system-ui,sans-serif;
}
.br-reader *{box-sizing:border-box}
.br-intro{display:flex;align-items:center;gap:.85rem;margin-bottom:1rem}
.br-intro h2,.br-info h3{margin:0;font:500 clamp(1.35rem,2.7vw,2.1rem)/1.18 Georgia,serif;letter-spacing:.01em;color:var(--br-text);overflow-wrap:anywhere}
.br-portrait{width:clamp(45px,6vw,68px);height:clamp(45px,6vw,68px);object-fit:cover;object-position:50% 22%;border:1px solid #9d855b}
.br-class,.br-phase-field>span,.br-info-heading small,.br-gem-main small,.br-meta{font-size:.8rem;color:var(--br-muted)}
.br-controls{display:flex;align-items:end;gap:.45rem;max-width:39rem;margin:.7rem 0}
.br-controls[hidden]{display:none}
.br-phase-field{display:grid;gap:.28rem;min-width:0;flex:1}
.br-phase-field select,.br-step button,.br-tabs button,.br-close{border-radius:3px;font:inherit;color:var(--br-text);background:#2b2e28;border:1px solid var(--br-rim);cursor:pointer}
.br-phase-field select{width:100%;min-height:40px;line-height:1.3;padding:.4rem .6rem;color:var(--br-gold)}
.br-step{display:flex;gap:.25rem}
.br-step button,.br-close{min-width:40px;min-height:40px;font:1.35rem/1 system-ui}
.br-step button:disabled{opacity:.4;cursor:default}
.br-tabs{display:flex;align-items:center;gap:.2rem;border-bottom:1px solid var(--br-rim);flex-wrap:wrap}
.br-tabs button{min-height:40px;padding:.45rem .88rem;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--br-muted);font:600 .92rem/1.3 system-ui}
.br-tabs button[aria-pressed=true]{border-bottom-color:var(--br-gold);color:var(--br-gold);background:linear-gradient(transparent,#343126)}
.br-reader button:focus-visible,.br-phase-field select:focus-visible{outline:2px solid #f4d79e;outline-offset:2px}
.br-pane{min-width:0;margin-top:.85rem}
.br-empty{padding:.6rem 0;color:var(--br-muted)}
.br-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:.48rem}
.br-gem-row{display:grid;align-items:center;gap:.36rem;background:linear-gradient(110deg,#2e3028,#222722);border:1px solid #524b3c;border-left:2px solid #9b8056;padding:.45rem .55rem;min-width:0}
.br-gem-row.br-disabled{opacity:.7}
.br-gem-main{display:flex;align-items:center;gap:.55rem;min-width:0;padding:.1rem;border:0;text-align:left;background:transparent;color:var(--br-text);font:inherit;cursor:pointer}
.br-gem-main>span:last-child{display:grid;gap:.08rem;min-width:0}
.br-gem-main strong{font-size:.95rem;line-height:1.18;overflow-wrap:anywhere}
.br-gem-icon{display:grid;place-items:center;width:40px;height:40px;flex:none;border:1px solid #726746;background:#131914;overflow:hidden}
.br-gem-icon>img{display:block;width:100%;height:100%;object-fit:contain}
.br-fallback{--br-tone:#c4b795}
.br-fallback[data-color="1"]{--br-tone:#d58a79}.br-fallback[data-color="2"]{--br-tone:#9cb88b}.br-fallback[data-color="3"]{--br-tone:#8dadd8}
.br-fallback:before{content:"";width:48%;height:57%;clip-path:polygon(50% 1%,95% 32%,80% 74%,50% 99%,18% 75%,5% 29%);background:linear-gradient(125deg,var(--br-tone),#27302a,var(--br-tone))}
.br-links{display:flex;align-items:center;gap:.32rem}
.br-socket{display:grid;place-items:center;height:30px;width:30px;border:2px solid #96815c;border-radius:50%;background:#1b211c;color:var(--br-gold);margin:0;padding:0}
button.br-socket{cursor:pointer}
.br-socket .br-gem-icon{width:24px;height:24px;border:0;border-radius:50%}
.br-socket.br-locked{border-color:#4e4f42;background:#1c201c;position:relative}
.br-socket.br-locked:before{content:"";width:7px;height:7px;background:#696959;border-radius:1px}
.br-socket.br-locked:after{content:"";position:absolute;top:7px;width:6px;height:5px;border-radius:3px 3px 0 0;border:1px solid #696959}
.br-info{margin:auto;width:min(30rem,calc(100vw - 1.6rem));max-width:100%;max-height:75dvh;overflow:auto;color:var(--br-text);border:1px solid #95815a;background:#212721;box-shadow:0 16px 65px #0009;padding:1rem}
.br-info::backdrop{background:#070a08a6}
.br-info-heading{display:flex;align-items:center;gap:.7rem}
.br-info-heading h3{font-size:1.4rem}
.br-close{margin-left:auto}
.br-info p{line-height:1.48;font-size:.96rem;margin:.78rem 0 0}
.br-info p.br-meta{font-size:.8rem}
@media(max-width:600px){.br-reader{padding:.7rem}.br-tabs button{padding:.45rem .65rem}.br-groups{grid-template-columns:minmax(0,1fr)}.br-gem-row{grid-template-columns:1fr auto;gap:.28rem}.br-links{gap:3px}.br-socket{width:27px;height:27px}.br-socket .br-gem-icon{width:21px;height:21px}.br-info{margin:auto auto .4rem;width:calc(100vw - .8rem)}}
@media(max-width:430px){.br-gem-row{grid-template-columns:1fr}.br-links .br-socket{height:35px;width:35px}.br-links .br-locked:after{top:9px}}
.br-phase-note {white-space:pre-line;color:#e6ddce;max-width:80ch;padding:4px 0 4px 12px;border-left:2px solid #b39764;}
.br-phase-slider{display:block;accent-color:#d6b170;flex: 0 1 180px;min-width:80px;max-width:100%}
@media(max-width:700px){.br-phase-slider{flex-basis:100%;width:100%}}
.br-guide-hints{max-width:85ch;padding-left:22px;color:#e0dbd0;line-height:1.6}
.br-guide-hints li+li{margin-top:7px}
.br-reader .br-guidetext{white-space:pre-wrap}
.br-reader .br-ref{background:#22272b;border:1px solid #4e4a42;border-radius:4px;text-align:left;padding:8px;color:#efe8da}

@font-face{font-family:"BS Editor Reading";src:url("assets/fonts/SourceSans3.ttf") format("truetype");font-weight:200 900;font-display:swap}
@font-face{font-family:"BS Editor Game";src:url("assets/fonts/Fontin-SmallCaps.ttf") format("truetype");font-feature-settings:"liga" 0,"clig" 0;font-display:swap}
[data-buildschmiede-editor]{--be-copy:#f0f0ee;--be-muted:#c2c4c6;--be-line:#45484b;--be-gold:var(--bsh-ui-gold,#e5b658);--be-bg:#101112;--be-panel:#27292a;--be-reading:"BS Editor Reading",sans-serif;--be-game:"BS Editor Game",serif;background:var(--be-bg);color:var(--be-copy);font-family:var(--be-reading)}
[data-buildschmiede-editor] .be-shell{color:var(--be-copy);font-family:var(--be-reading)}
.be-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(2rem,5vw,4.5rem);align-items:start}
.be-columns>*{min-width:0}
.be-columns section,.be-wide-phases,.be-wide-tree{scroll-margin-block-start:7rem}
.be-wide-tree,.be-wide-phases{margin-block-start:2rem}
.be-sheet-switch{display:flex;align-items:center;gap:6px;margin-bottom:.75rem}
.be-sheet-stats{display:grid;grid-template-columns:minmax(0,1fr) auto;margin:0}
.be-sheet-stats>*{margin:0;padding:.5em .25em;border-bottom:1px solid var(--be-line)}
.be-sheet-stats dd{font-family:var(--be-game);text-align:right}
.be-sheet-switch .be-tab[aria-pressed=true]{color:var(--be-gold);border-color:var(--be-gold)}
[data-buildschmiede-editor] :is(.be-character-title > :is(h1,h2),.be-selected h2,.be-class-tile span,.ge-card strong,.ge-item-name,.be-gem-result-name strong,.be-gem-row-title strong,.be-gem-ident h3,.bste-node-head h3,.be-gem-tooltip strong,.bste-tip strong){font-family:var(--be-game)}
[data-buildschmiede-editor] :is(.ge-heading h3,.be-wide-tree h2,.be-wide-phases h2,.be-gem-head h3,.be-sheet-switch button){font-family:var(--be-reading)}
.be-inventory .ge-editor,.be-skill-setup .be-gem-layout{display:block}
.be-inventory .ge-editor{--ge-ground:var(--be-bg);--ge-brass:var(--be-gold);--ge-light:var(--be-copy);--ge-muted:var(--be-muted);--ge-border:var(--be-line)}
.be-skill-setup .be-gems{--gem-ink:var(--be-copy);--gem-muted:var(--be-muted);--gem-edge:var(--be-line);--gem-brass:var(--be-gold);--gem-accent:var(--be-gold);--gem-panel:var(--be-panel)}
.be-skill-setup :is(.be-gem-results,.be-gem-build,.be-gem-panel),.be-inventory .ge-editor .ge-detail,.be-wide-tree .bste-results,.be-wide-tree .bste-detail{max-height:none;overflow:visible;scrollbar-gutter:auto}
.be-wide-tree .bste-results:not([hidden]){position:static}
.be-inventory .ge-editor .ge-detail{margin-top:.75rem;min-height:0}
.be-inventory .ge-editor[data-ge-view=equipment] .ge-detail{display:none}
.be-inventory .ge-editor[data-ge-view=detail] .ge-equipment{display:block}
.be-inventory .ge-editor .ge-mobile-back{display:inline-flex}
.ge-editor .ge-paper{position:relative;display:block;width:100%;max-width:none;aspect-ratio:826/632;padding:0;box-sizing:border-box}
.ge-editor .ge-paper [data-slot-area]{position:absolute;width:var(--w);height:var(--h);left:var(--x);top:var(--y);padding:2px}
.ge-editor .ge-paper .ge-equip-slot>span:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.ge-editor .ge-paper .ge-equip-slot:is(:hover,:focus-visible){z-index:1;border-color:var(--be-gold)}
.ge-editor .ge-paper .ge-equip-slot .ge-art{width:94%;height:94%;max-height:none;object-fit:contain}
.ge-editor .ge-paper .ge-slot-icon,.ge-editor .ge-paper .ge-silhouette{width:45%;height:45%;object-fit:contain}
.be-cutting-body{display:grid;grid-template-columns:minmax(85px,25%) minmax(0,1fr);gap:.65rem;margin-top:.6rem}
.be-cutting-body:has(>.be-gem-filters[hidden]){display:block}
.be-cutting-body>.be-gem-filters:not([hidden]),.be-cutting-body .be-gem-strip{display:flex;flex-direction:column;align-items:stretch;gap:.25rem}
.be-cutting-body .be-gem-strip>small{width:auto}
.be-gem-tags{margin:.5rem 0}
.be-gems .be-gem-tags [data-tag-id]{font-family:var(--be-game);color:var(--tag-color);background:color-mix(in srgb,var(--tag-color) 9%,#191a1c);border:1px solid color-mix(in srgb,var(--tag-color) 48%,transparent);border-radius:.3rem;padding:.18em .45em;line-height:1.25}
.be-gem-tags button[aria-pressed=true]{box-shadow:inset 0 -3px 0 currentColor}
.be-skill-setup .be-gem-build{padding:.6rem}
.be-skill-setup .be-gem-panel{margin-block:.5rem}
@media(max-width:800px){.be-columns{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){.be-cutting-body{grid-template-columns:minmax(70px,26%) minmax(0,1fr)}}
.ge-paper [data-slot-area="mh"]{--x:10.17%;--y:6.01%;--w:17.19%;--h:43.67%}
.ge-paper [data-slot-area="oh"]{--x:72.88%;--y:6.01%;--w:17.55%;--h:43.67%}
.ge-paper [data-slot-area="helm"]{--x:41.65%;--y:3.64%;--w:17.31%;--h:22.63%}
.ge-paper [data-slot-area="body"]{--x:41.65%;--y:27.22%;--w:17.31%;--h:32.91%}
.ge-paper [data-slot-area="belt"]{--x:41.65%;--y:61.23%;--w:17.31%;--h:11.87%}
.ge-paper [data-slot-area="amulet"]{--x:61.62%;--y:24.53%;--w:9.08%;--h:12.18%}
.ge-paper [data-slot-area="ring1"]{--x:29.90%;--y:37.50%;--w:9.20%;--h:12.18%}
.ge-paper [data-slot-area="ring2"]{--x:61.62%;--y:37.50%;--w:9.08%;--h:12.18%}
.ge-paper [data-slot-area="gloves"]{--x:21.91%;--y:50.63%;--w:17.19%;--h:22.63%}
.ge-paper [data-slot-area="boots"]{--x:61.62%;--y:50.63%;--w:17.19%;--h:22.63%}
.ge-paper [data-slot-area="lifeFlask"]{--x:25.79%;--y:74.21%;--w:9.20%;--h:22.78%}
.ge-paper [data-slot-area="manaFlask"]{--x:65.86%;--y:74.21%;--w:9.20%;--h:22.78%}
.ge-paper [data-slot-area="charm1"]{--x:37.89%;--y:79.75%;--w:7.99%;--h:10.60%}
.ge-paper [data-slot-area="charm2"]{--x:46.13%;--y:79.75%;--w:7.99%;--h:10.60%}
.ge-paper [data-slot-area="charm3"]{--x:54.36%;--y:79.75%;--w:7.99%;--h:10.60%}

.ge-editor:has(.ge-hover-item){container-type:normal}
.ge-hover-item{position:fixed;z-index:10001;pointer-events:auto;background:#17181a;border:1px solid var(--be-gold);width:min(290px,90vw);box-shadow:0 5px 18px #0008}
.ge-hover-item pre{white-space:pre-wrap;overflow-wrap:anywhere}
.be-gems .be-gem-result[aria-disabled=true]{opacity:.68}
.be-shell :is(.bste-detail,.br-sidebar){scrollbar-width:none}

.br-overview{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:clamp(2rem,5vw,4.5rem)}
.br-overview>section{min-width:0}.br-tree{grid-column:1/-1}
.br-overview .ge-editor{display:block}.br-overview .ge-editor[data-ge-view=equipment] .ge-detail{display:none}
.br-phase-buttons{display:flex;flex-wrap:wrap;gap:.4rem}.br-phase-buttons button[aria-pressed=true]{border-color:var(--be-gold);color:var(--be-gold);box-shadow:inset 0 -2px var(--be-gold)}
.bste-tools .be-input{width:auto}.bste .bste-totals{max-height:clamp(360px,53vh,610px);overflow:auto}
.bste-totals details{width:100%;font-size:14px}.bste-totals summary{cursor:pointer;color:var(--be-gold)}.bste-totals ul{padding-left:1em;margin:.25em 0}
.bste-node-tools{margin:.4rem 0}.bste-node-tools>summary{cursor:pointer}.bste-tip .bste-icon{float:left;margin:0 .5rem .25rem 0}
@media(max-width:760px){.br-overview{grid-template-columns:1fr}.bste .bste-totals{max-height:none}}

.ge-hover-item{width:min(390px,94vw);font-family:var(--be-game);font-variant-ligatures:none}
.ge-import-runes .ge-mod-stat{color:#a7d9e5}.ge-import-status{color:#ed6969}.ge-item-section small{color:var(--be-muted);font-family:var(--be-reading)}
.br-phase-buttons{max-width:none}.br-phase-buttons button{min-height:40px;padding:.4rem .8rem;background:var(--be-panel);color:var(--be-copy);border:1px solid var(--be-line);border-radius:4px}

.ge-editor .ge-itemcard :is(header,header strong,header small,.ge-item-body){font-family:var(--be-game);font-variant-ligatures:none}
.ge-editor .ge-hover-item .ge-itemcard{margin:0}.ge-hover-item .ge-item-body{line-height:1.28}
.br-reader,.br-phase-buttons button{font-family:var(--be-reading)}.br-gem-row strong,.br-info h3{font-family:var(--be-game)}

.ge-socket-strip{display:grid;gap:4px}
.ge-augment{display:inline-flex;align-items:center;gap:5px;text-align:left}
.ge-augment img,.ge-augment i{height:26px;width:26px;object-fit:contain}
.ge-augment small{display:block}
.ge-editor .ge-equip-slot>.ge-slot-caption{display:none}
.ge-socketed-slot{position:relative;container-type:size;min-width:0;min-height:0}
.ge-editor .ge-paper .ge-socketed-slot{padding:0}
.ge-socketed-slot>.ge-equip-slot{width:100%;height:100%}
.ge-socket-grid{
  --ge-cell:min(calc(100cqw / var(--ge-base-cols)),calc(100cqh / max(var(--ge-base-rows),var(--ge-socket-rows))));
  position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none;
  width:calc(var(--ge-cell) * var(--ge-socket-cols));height:calc(var(--ge-cell) * var(--ge-socket-rows));
  display:grid;grid-template:repeat(var(--ge-socket-rows),minmax(0,1fr))/repeat(var(--ge-socket-cols),minmax(0,1fr));place-items:center;
}
.ge-editor .ge-socket-grid>.ge-socket-hit{
  position:relative;pointer-events:auto;display:grid;place-items:center;-webkit-tap-highlight-color:transparent;
  width:100%;height:100%;min-width:0;min-height:0;margin:0;padding:0;box-sizing:border-box;cursor:pointer;
  border:0;border-radius:50%;outline-offset:-2px;background:transparent;box-shadow:none;
}
.ge-editor .ge-socket-hit>img,.ge-editor .ge-socket-hit>i{
  display:block;width:83%;height:83%;object-fit:contain;pointer-events:none;
}
.ge-editor .ge-socket-grid>.ge-socket-fallback{background:transparent url('assets/sockets/empty.png') center / 83% no-repeat}
.ge-editor .ge-socket-fallback>img,.ge-editor .ge-socket-fallback>i{width:63%;height:63%;text-align:center}
.ge-editor .ge-socket-hit:is(:hover,:focus-visible,[aria-describedby])>img{filter:drop-shadow(0 0 2px #fff3bf)}
.ge-editor .ge-socket-hit:focus-visible{outline:2px solid #e8c984}
.ge-editor .ge-hover-item.ge-rune-tip{width:max-content;max-width:min(310px,calc(100vw - 12px));padding:0 9px 5px;
  box-sizing:border-box;text-align:center;border:1px solid #5b5241;background:#0a0a09;color:#b8b2ea;font:normal 16px/1.26 var(--be-game,"BS Editor Game",serif)}
.ge-rune-tip .ge-rune-title{display:block;margin:0 -9px 5px;padding:5px 12px;border-bottom:1px solid #554b35;
  background:linear-gradient(#29261d,#13120e);color:#e6d6ad;font:inherit;font-size:1.13em}
.ge-rune-tip .ge-rune-effect{padding:2px 0}
.ge-rune-tip .ge-roll-range[hidden]{display:none}
.ge-editor .ge-rune-tip .ge-alt-details{display:flex;align-items:center;gap:3px;min-height:24px;
  margin:3px 0 0 auto;padding:0 4px;background:transparent;color:#cec2aa;border:0;font:600 12px/16px var(--be-reading,system-ui)}
.ge-rune-tip .ge-alt-details kbd{font:inherit;border:1px solid #665d4c;border-radius:3px;padding:0 3px}

.ge-hover-item.ge-interactive{pointer-events:auto;overflow:auto;max-height:calc(100dvh - 14px);overscroll-behavior:contain;text-align:left}
.ge-guide-actions{display:flex;gap:.35rem;padding:.4rem}.ge-trade-form:not([hidden]){display:grid;gap:.4rem;padding:.5rem}.ge-trade-form label{display:flex;align-items:center;gap:.4rem;font-family:var(--be-reading)}.ge-trade-form input:not([type=checkbox]){background:#202225;color:#eee;border:1px solid var(--be-line);padding:.25rem;min-width:0}.ge-trade-form input[type=number]{width:4.5em}.ge-trade-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.25rem}.ge-trade-row output{grid-column:1/-1;text-align:right;color:var(--be-gold)}.ge-trade-form small,.ge-trade-form details{display:block}.ge-guide-actions button,.ge-trade-form a{min-height:36px}.ge-raw-line{width:100%;text-align:left}.ge-grant summary{cursor:pointer;color:#72dbca}.ge-hover-item .ge-itemcard{font-size:14px}

.bsc-original{display:none!important}
.bsc-choices,.br-phase-buttons,.br-guide-tools{display:flex;flex-wrap:nowrap;align-items:center;gap:.35rem;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}
.bsc-choices[hidden],.br-guide-tools[hidden]{display:none!important}
.bsc-choices>button,.bsc-all,.bsc-picker button,.br-guide-tools button,.br-toggle{appearance:none;flex:0 0 auto;font:inherit;font-size:.9rem;line-height:1.3;color:var(--br-text,#eee9df);background:#252726;border:1px solid #534c3d;border-radius:4px;padding:.44rem .72rem;cursor:pointer}
.bsc-choices button[aria-pressed=true],.bsc-picker button[aria-pressed=true],.br-guide-tools button[aria-expanded=true]{border-color:#ad854c;color:#efc878;background:#393328}
.bsc-choices button:disabled{opacity:.5}
.bsc-all{margin:.45rem 0;display:block;color:#e6c488}
summary.bsc-disclosure{display:list-item;list-style:none;cursor:pointer;width:fit-content;max-width:100%;border-radius:.25rem;color:inherit}
summary.bsc-disclosure::-webkit-details-marker{display:none}
summary.bsc-disclosure::before{content:"+";display:inline-block;margin-inline-end:.4em;font-family:system-ui;color:#e6c488}
details[open]>summary.bsc-disclosure::before{content:"−"}
.bsc-picker{width:min(34rem,92vw);max-height:80vh;overflow:auto;background:#1c201f;color:#eee9df;border:1px solid #766141;padding:1rem;border-radius:6px}
.bsc-picker::backdrop{background:#000a}
.bsc-picker>button{float:right}.bsc-picker>input{width:100%;margin:1rem 0;padding:.55rem;background:#121515;color:#eee9df}
.bsc-results{display:flex;gap:.35rem;flex-wrap:wrap}.bsc-choices button:focus-visible,.bsc-disclosure:focus-visible,.bsc-all:focus-visible,.br-ref-link:focus-visible{outline:2px solid #efc878;outline-offset:-2px}
.be-phase-tools{display:flex;gap:.5rem;align-items:center;min-width:0;max-width:100%;margin:.4rem 0}.be-phase-tools>.bsc-choices{flex:1}.be-phase-tools>.be-primary{flex:none}
.br-reader .br-phase-buttons{max-width:100%;flex-wrap:nowrap;overflow-x:auto}.br-phase-buttons>button{flex:none}
.br-guide-copy{white-space:pre-line;line-height:1.55;max-width:76ch}.br-guide-copy:empty{display:none}
.br-ref-link{font:inherit;color:#dfbe81;border:0;text-decoration:none;padding:0;background:transparent;cursor:pointer}
.br-guide-tools{justify-content:flex-end}.br-manuscript,.br-guide-fold{min-width:0}.br-manuscript{grid-column:1/-1}.br-guide-fold>summary{font-weight:600;margin:.5rem 0}.br-guide-fold[open]>summary{color:#e6c488}
.br-ref-tip{position:fixed;max-width:min(25rem,92vw);max-height:45vh;overflow:auto;z-index:110000;background:#222625;color:#eee9df;border:1px solid #846e48;border-radius:4px;padding:.65rem;white-space:pre-line;pointer-events:none}
.br-all-phase{margin-block:1rem;min-width:0}.br-all-phase>.br-reader{border:0;padding:0}.br-all-phase>.br-reader>.br-intro{display:none}
.br-overview[hidden],.br-phase-note[hidden],.br-intro-text[hidden]{display:none!important}
.be-guide-write textarea{width:100%;min-height:6rem}.be-guide-insert{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
@media(max-width:600px){.be-phase-tools{display:grid;grid-template-columns:minmax(0,1fr) auto}.be-phase-tools .be-primary{white-space:normal;max-width:9rem}}


.br-gear .ge-equipment>.ge-heading>h3{display:none}
.br-phase-content:empty{min-height:min(46rem,80vh)}
summary.bsc-disclosure{box-sizing:border-box;padding:.32rem .6rem;background:#232625;border:1px solid #504a3e;color:#e6c488}
.br-guide-fold>summary.bsc-disclosure{font:inherit;font-weight:600}

.bsc-all,.br-guide-tools .bg-master{background:#e0bf82;color:#211c15;border:1px solid #c99d59;font-weight:700;padding:.55rem .85rem}
.bg-layout{display:grid;grid-template-columns:minmax(8rem,13rem) minmax(0,1fr);align-items:start;gap:1rem}
.bg-main{min-width:0}.bg-side{position:sticky;top:calc(var(--bsh-nav-space,60px) + 2.3rem);max-height:72vh;overflow:auto;display:flex;flex-direction:column;align-items:stretch;gap:.2rem}
.bg-side button{text-align:left;background:transparent;color:inherit;border:0;border-inline-start:2px solid #524b3e;padding:.4rem .6rem;font:inherit;font-size:.9rem;cursor:pointer}
.bg-side button[aria-current=step]{color:#efd498;border-color:#d5ac64;background:#302d25}
.bg-main :is(h2,h3,.br-controls,.br-intro,.br-guide-fold,.bsh-sources){scroll-margin-top:calc(var(--bsh-nav-space,60px) + 3rem)}
.bg-edit{width:min(70rem,96vw);max-height:88vh;overflow:auto}.bg-edit>button{float:right}.bg-edit>h2{display:inline}
.bg-edit .be-guide-write{clear:both;padding-top:.8rem}.bg-block{display:grid;gap:.3rem;margin:.7rem 0}.bg-block>button{justify-self:end}
.bg-affixes label{display:block}.bg-pencil{font:inherit;font-size:.85rem;color:#efa9a1;background:#312526;border:1px solid #79534b;border-radius:4px;cursor:pointer;padding:.3rem .55rem}
.bg-important,.bg-required{border-inline-start:3px solid #dcb770!important;color:#f1d493!important}.bg-required{padding-inline-start:.5rem}
.bg-original [hidden],.bg-original[hidden]{display:none!important}.bg-original .bsh-guide-index,.bg-original .bg-mapped>.bsh-phase-heading,.bg-original .bg-mapped [role=tablist],.bg-original .bg-mapped .bsh-compact,.bg-original .bg-mapped .bsh-phase>h3,.bg-original .bs-guide-actions,.bg-original .bsh-ascendancy-banner{display:none!important}
.bg-original .bsh-guide-layout{display:block;width:100%}.bg-original .bsh-guide-copy{min-width:0;width:100%}
.bg-main>.bsh-build-overview{margin:.8rem 0}.bg-main .br-guide-tools{flex-wrap:wrap}
@media(max-width:960px){.bg-layout{display:block}.bg-side{z-index:3;top:var(--bsh-nav-space,0px);flex-direction:row;max-width:100%;background:#1a1c1b;padding:.2rem 0}.bg-side button{flex:0 0 auto;white-space:nowrap}}

.bg-linked-copy.bsh-guide-v15{margin:0;padding:0}.bg-original .bg-mapped .bsh-phase.bg-current>.bsh-detailed{display:block}
.bg-compact .bg-side{max-height:60vh}

.be-dialog:has(.be-guide-write){width:min(66rem,96vw)}
.be-input-label:has(.bg-wrap-options) .bsc-choices,.be-input-label:has(.be-phase-preset) .bsc-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));overflow:visible;white-space:normal}
.be-input-label:has(.be-phase-preset) .bsc-choices{grid-template-columns:repeat(6,minmax(0,1fr))}.be-input-label:has(.bg-wrap-options){min-width:0}
.be-input-label .bsc-choices>button{min-width:0}
.be-header-sheet{flex-basis:100%}.be-header-sheet .be-sheet-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(5rem,auto));align-items:center}
.bg-asset-view,.bg-asset-tabs{width:100%}.bg-asset-tabs,.bg-guide-list{display:flex;flex-wrap:wrap;gap:.4rem}.bg-affix-list{max-height:15rem;overflow:auto}
.be-section-note{white-space:pre-line;background:#222624;border-left:2px solid #957747;padding:.65rem}
@media(max-width:600px){.be-input-label:has(.be-phase-preset) .bsc-choices{grid-template-columns:repeat(6,minmax(3.5rem,1fr));overflow-x:auto}.be-phase-tools{grid-template-columns:minmax(0,1fr) auto auto}}

.be-shell .be-work-head{display:flex;flex-wrap:wrap;width:100%;gap:.55rem .85rem;align-items:center}
.be-shell .be-work-head .be-avatar{width:3.5rem;height:3.5rem;flex:none}
.be-work-head .be-character-title{display:flex;flex:1 1 auto;min-width:0;align-items:center;gap:1rem;flex-wrap:wrap}
.be-shell .be-character-title > :is(h1,h2){font-size:clamp(1.5rem,2.5vw,2.4rem);margin:0;word-break:normal;overflow-wrap:break-word}
.be-subclass{color:var(--be-gold,#dfbc80);font-family:var(--be-game)}
.be-work-head>.be-status{order:1}.be-work-head>button{order:2}
.be-work-head>.be-header-sheet{order:3;display:flex;align-items:center;gap:1.2rem;width:100%;padding:.65rem 0;border-block:1px solid var(--be-line)}
.be-header-sheet>strong{font:normal 1.1rem var(--be-game);color:var(--be-gold,#dfbc80)}
.be-header-sheet .be-sheet{flex:1;min-width:0}.be-header-sheet .be-sheet-stats{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.4rem .8rem}
.be-header-sheet .be-stat-pair{display:flex;gap:.35em;align-items:baseline;font-size:.95rem;padding:0;border:0;white-space:nowrap}
.be-stat-pair dt,.be-stat-pair dd{margin:0}.be-stat-pair dd{font-weight:700}
.be-shell .be-phase-tools{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem}.be-phase-tools>.bsc-choices{flex:1 1 auto;flex-wrap:wrap}
.be-shell .be-phase-tools button{white-space:nowrap}
.be-shell .be-input-label:has(.be-phase-preset) .bsc-choices{display:flex;flex-wrap:wrap;overflow:visible}
.bste-priority,.br-rewards{margin:.75rem 0;padding:.75rem 1rem;border-block:1px solid var(--be-line);grid-column:1/-1;min-width:0}
.bste-priority{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.5rem}
.bste-priority h3,.br-rewards h4{margin:0}.bste-priority-bar,.bste-priority ol{grid-column:1/-1}.bste-priority-bar,.br-reward-filters{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
.bste-priority-bar button{width:36px;height:36px;background-size:1152px auto;border-radius:50%;padding:0;border:1px solid #9c8256}
.bste-priority button,.br-rewards button{cursor:pointer}.bste-priority li button{margin-inline:.2rem}.bste-priority .bste-unranked{list-style:none}
.br-rewards summary{cursor:pointer;font-weight:650;color:#dfbc80}.br-reward-filters{margin:.75rem 0}.br-reward-filters [aria-pressed=true]{border-color:#d9b478;color:#f0cb87}.br-rewards h4{margin-top:1rem}
.br-quest-row{display:grid;grid-template-columns:minmax(12rem,1fr) minmax(0,2fr);gap:1rem;padding:.45rem 0;border-bottom:1px solid var(--be-line)}
.br-quest-row>div{display:grid;gap:.25rem;min-width:0}.br-quest-row .bsc-choices{flex-wrap:wrap}
@media(max-width:760px){.be-work-head>.be-header-sheet{align-items:flex-start;flex-direction:column;gap:.35rem}.be-header-sheet .be-sheet{width:100%}.be-work-head .be-character-title{flex-basis:65%}.be-shell .be-phase-tools>.bsc-choices{flex-basis:100%}.br-quest-row{grid-template-columns:1fr;gap:.15rem}}

.br-reader.bg-layout{display:block;width:100%}
.br-nav-rail{position:sticky;top:calc(var(--bsh-nav-space,0px) + 2.3rem);z-index:5;min-width:0;height:0}
.br-nav-rail .bg-side{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:0;right:calc(100% + .6rem);width:var(--br-nav-width);max-width:none;max-height:calc(100dvh - var(--bsh-nav-space,0px) - 4rem);overflow:auto;overscroll-behavior:contain;background:#141615;color:#eee9df}
.br-nav-rail .bg-side button{flex:none;white-space:normal;overflow-wrap:anywhere}
.br-nav-rail[data-external=false]{height:auto;pointer-events:none}
.br-nav-rail[data-external=false]>*{pointer-events:auto}
.br-nav-rail[data-external=false] .be-action{background:#222522;border:1px solid #685b43;color:#e4c68f}
.br-nav-rail[data-external=false] .bg-side{top:100%;right:auto;left:0;width:min(19rem,100%);border:1px solid #685b43;padding:.45rem;box-shadow:0 .5rem 1.5rem #0008;max-height:65dvh}
.br-nav-rail [hidden]{display:none!important}

@font-face{font-family:"BS Control Reading";src:url("assets/fonts/SourceSans3.ttf") format("truetype");font-weight:200 900;font-display:swap}
.bs-fields .bsc-choices,.bsc-picker,.bsc-all,#crafting-helfer{font-family:"BS Control Reading",sans-serif}
#crafting-helfer{background:#101112;color:#f0f0ee;border:1px solid #45484b;border-radius:.4rem}
#crafting-helfer .bs-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:.75rem}
.bs-fields label{min-width:0}
.bs-fields .bsc-choices:has(>button[aria-haspopup]){overflow:visible;display:block}
.bs-fields .bsc-choices>button[aria-haspopup],#crafting-helfer input[type=number]{box-sizing:border-box;width:100%;min-height:2.65rem;text-align:start;white-space:normal;overflow-wrap:anywhere;background:#27292a;color:#f0f0ee;border:1px solid #45484b;border-radius:4px;font:inherit;padding:.45rem .65rem}
.bs-fields .bsc-choices>button[aria-haspopup]:hover,.bs-fields .bsc-choices>button[aria-haspopup]:focus-visible{border-color:var(--bsh-ui-gold,#e5b658)}

.br-gem-pop:not([hidden]){display:grid;grid-template-columns:74px 1fr;align-items:start;gap:.8rem;position:fixed;inset:auto;margin:0;z-index:10000;box-sizing:border-box;width:min(24rem,calc(100vw - 12px));max-height:85dvh;overflow:auto;padding:.85rem;background:#191b1c;color:#f0f0ee;border:1px solid #88744f;border-radius:5px;box-shadow:0 5px 18px #0009;font:1rem/1.4 "BS Control Reading",sans-serif}
.br-gem-pop .br-gem-icon,.br-gem-pop .br-gem-icon img{width:74px;height:74px;object-fit:contain}.br-gem-pop small,.br-gem-pop strong{display:block}.br-gem-pop strong{font-family:var(--be-game,serif);font-size:1.2em}.br-gem-pop p{margin:.4em 0}.br-lex-link{color:#e5b658;text-decoration:underline}
[data-buildschmiede-editor] :is(.br-phase-buttons,.bg-side,.be-phase-tools .bsc-choices) button:is(:hover,:focus,:active,[aria-pressed=true],[aria-current=step]){background:#393328!important;color:#ffe4ae!important;border-color:#a68a59!important;transition:none!important}
[data-buildschmiede-editor] :is(.br-phase-buttons,.bg-side,.be-phase-tools .bsc-choices) button:focus-visible{outline:2px solid #e5b658;outline-offset:-2px}


/* The setup, inventory and tree use one set of controls. */
[data-buildschmiede-editor] {
    --planner-line: #5c523e;
    --planner-panel: #181a17;
    --planner-gold: #edcc91;
    --planner-sticky-offset: var(--bsh-admin-offset, 0px);
}
[data-buildschmiede-editor] :is(.be-phase-tools,.br-controls) {
    position:sticky;top:var(--planner-sticky-offset);z-index:8;
    background:#141513;border-bottom:1px solid var(--planner-line);padding-block:.45rem;
}
[data-buildschmiede-editor] :is(.be-phase-tools,.br-phase-buttons,.be-step-tabs,.be-gem-switch,.ge-set,.bste-modes,.be-planner-jumps) {
    display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;min-width:0;max-width:100%;
}
[data-buildschmiede-editor] :is(.be-phase-tools .bsc-choices,.br-phase-buttons,.be-step-tabs,.be-gem-switch,.ge-set,.bste-modes) button {
    min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere;padding:.45rem .75rem;
    color:#d6cbb7;background:#22231e;border:1px solid var(--planner-line);border-radius:.25rem;box-shadow:none;
}
[data-buildschmiede-editor] :is(.be-phase-tools .bsc-choices,.br-phase-buttons,.be-step-tabs,.be-gem-switch,.ge-set,.bste-modes) button[aria-pressed=true] {
    background:#332b1c;color:var(--planner-gold);border-color:#b49560;
}
[data-buildschmiede-editor] :is(.be-phase-tools,.br-controls,.be-step-tabs,.be-gem-switch,.ge-set,.bste-modes) button:focus-visible {
    outline:2px solid var(--planner-gold);outline-offset:-2px;
}
[data-buildschmiede-editor] .be-phase-tools .bsc-choices,.br-phase-buttons {
    flex-wrap:nowrap;overflow:auto;min-width:0;scrollbar-width:none;overscroll-behavior-inline:contain;
}
[data-buildschmiede-editor] :is(.be-phase-tools .bsc-choices,.br-phase-buttons) button {flex:none}
[data-buildschmiede-editor] .be-phase-menu {position:relative}
.be-phase-menu summary,.be-catalog-filters summary {min-height:44px;align-content:center;cursor:pointer;color:var(--planner-gold)}
.be-phase-actions{display:grid;gap:.25rem;padding:.5rem;background:#20211c;border:1px solid var(--planner-line);z-index:10}
.be-phase-changes,.be-clusters {
    margin-block:.5rem .85rem;padding:.7rem .85rem;border:1px solid var(--planner-line);background:var(--planner-panel);
}
.be-phase-changes p,.be-phase-changes ul,.be-cluster-detail {margin:.3rem 0}
.be-phase-changes strong,.be-gem-names h4,.be-clusters h4{color:var(--planner-gold)}
.be-planner-jumps button {min-height:44px;padding:.4rem .65rem}
.be-gem-layout,.be-gem-build,.be-gem-panel,.be-catalog-tier{min-width:0}
.be-gem-layout{display:block}
.be-gem-build,.be-gem-panel,.br-gems{border-color:var(--planner-line);background:var(--planner-panel)}
.be-gem-build{max-height:none;overflow:visible}
.be-gem-panel{margin-block:.65rem}
.be-gem-head{align-items:center;min-height:44px}
.be-gem-row,.br-gem-row{min-width:0;flex-wrap:wrap}
.be-gem-req,.be-gem-issue{display:block;flex-basis:100%;grid-column:1/-1;font-size:.86rem;line-height:1.35}
.be-gem-req{color:#c9c0ad}
.be-gem-issue{color:#f9ad9b}
.be-gem-names{padding:.7rem .8rem;margin:.8rem 0;border:1px solid var(--planner-line);background:#131512}
.be-gem-names h4{margin:0 0 .45rem}
.be-gem-names dl{margin:0}
.be-gem-names dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:.3rem .75rem;padding:.4rem 0;border-block-start:1px solid #333128;overflow-wrap:anywhere}
.be-gem-names dt{font-weight:650}.be-gem-names dd{margin:0;color:#ded6c3}
.be-gem-names .is-disabled{opacity:.68}
.be-catalog-filters{padding-inline:.35rem}
.be-catalog-tier{grid-column:1/-1}
.be-catalog-tier h4 {margin:.35rem 0;color:var(--planner-gold);font-size:1rem}
.be-catalog-tier-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:.3rem}
.be-gem-close{display:block;min-height:44px;margin-bottom:.4rem}
.be-cluster-legend{display:flex;flex-wrap:wrap;gap:.4rem .85rem;color:#d6cbb7}
.be-cluster-legend span::before{content:'';display:inline-block;width:.64em;height:.64em;border-radius:50%;background:var(--scope-color);margin-inline-end:.35em}
.be-clusters [data-scope=main]{--scope-color:#ffd270}
.be-clusters [data-scope=I]{--scope-color:#ed807a}
.be-clusters [data-scope=II]{--scope-color:#7fcd9f}
.be-clusters [data-scope=asc]{--scope-color:#ffe8a6}
.be-step-tabs button{border-inline-start:3px solid var(--scope-color)!important}
.be-cluster-detail,.be-share-status{overflow-wrap:anywhere}
.ge-target-mark{position:absolute;inset-block-start:.35rem;inset-inline-start:.35rem;background:var(--planner-gold);width:.48rem;height:.48rem;border-radius:50%;box-shadow:0 0 0 2px #151510;pointer-events:none}
.ge-priority-slot{outline:1px solid #ac8c59;outline-offset:-2px}
.br-nav-rail[data-external=false]{position:relative;top:auto}
.be-planner-jumps + .br-pane > section,.be-work-pane :is(.be-skill-setup,.be-inventory,.be-wide-tree){scroll-margin-top:calc(var(--planner-sticky-offset) + 7rem)}
@media (max-width:760px){
    .be-gem-names dl>div{grid-template-columns:minmax(0,1fr)}
    [data-buildschmiede-editor] .be-phase-tools .bsc-choices,.br-phase-buttons{width:100%}
    [data-buildschmiede-editor] .br-reader .br-phase-buttons {
        flex-wrap:nowrap;
        overflow-x:auto;
        overflow-y:hidden;
        scrollbar-width:thin;
    }
    [data-buildschmiede-editor] .br-reader .br-phase-buttons > button {
        flex:0 0 auto;
        max-width:none;
        white-space:nowrap;
    }
    .be-step-tabs button{flex:1 1 9rem}
    [data-buildschmiede-editor] :is(.be-phase-tools,.br-controls){top:0}
}

/* Shared guide and editor controls */
[data-buildschmiede-editor] .bp-sticky {
  position:sticky;top:var(--planner-sticky-offset,0px);z-index:9;
  background:#191916;border-block:1px solid #675044;padding:.25rem .45rem;min-width:0;
}
[data-buildschmiede-editor] .bp-sticky :is(.be-phase-tools,.br-controls) {position:static;margin:0;border:0}
.bp-context,.bp-toolbar,.bp-rot-skill {display:flex;align-items:center;flex-wrap:wrap;gap:.4rem}
.bp-context {font-size:.85rem;line-height:1.25;color:#dfc7b9}
.bp-context strong,.bp-context span,.bp-gem strong,.be-gem-row-title strong,.br-gem-main strong {
  white-space:normal!important;overflow-wrap:anywhere;line-clamp:unset;-webkit-line-clamp:unset;max-width:100%;text-overflow:clip;
}
.bp-context span+span {border-inline-start:1px solid #705244;padding-inline-start:.45rem}
.bp-gem {display:flex;align-items:flex-start;gap:.55rem;padding:.35rem 0;margin-inline-start:calc(.9rem * var(--depth));border-block-start:1px solid #393633}
.bp-icon {width:2rem!important;height:2rem!important;object-fit:contain;flex:none}
.bp-gem small {display:inline-block;margin-inline-end:.4rem}
.bp-gem strong {display:block}
.bp-str {color:#f49a90}.bp-dex {color:#97daa6}.bp-int {color:#a4c2ff}.bp-neutral {color:#cbc4b8}
.bp-rotation,.bp-stats {padding:.8rem;border:1px solid var(--planner-line);background:#181a17;min-width:0;margin-block:.5rem}
.bp-rotation li,.bp-stats li {padding:.4rem;overflow-wrap:anywhere;border-block-start:1px solid #474039}
.bp-rotation :is(input,select),.bp-stats :is(input,select),.be-clusters :is(select,textarea) {max-width:100%;box-sizing:border-box;color:inherit;background:#242421;border:1px solid #78685c;padding:.35rem;min-height:40px}
.bp-field {display:flex;align-items:center;flex-wrap:wrap;gap:.4rem;margin:.35rem 0}
.bp-rot-skill {gap:.3rem;margin:.2rem;display:inline-flex}.bp-missing {color:#ffb69e}
.bp-advice {color:#e7c782;margin-inline:.35rem}
[data-buildschmiede-editor] :is(.bp-toolbar,.bp-rotation,.bp-stats,.be-clusters,.be-gem-names) button {min-height:40px;min-width:36px;background:#26231f;color:#eadfd4;border:1px solid #786153;border-radius:3px;padding:.3rem .55rem}
[data-buildschmiede-editor] .ge-editor .ge-ilvl:not(.is-pending),
[data-buildschmiede-editor] :is(.ge-tierlist,.bp-toolbar,.be-phase-tools,.br-phase-buttons,.be-step-tabs,.be-gem-switch,.ge-set,.bste-modes) button[aria-pressed=true] {background:#483127!important;color:#ffe1ca!important;border-color:#ce9472!important;box-shadow:inset 0 -2px #cb906d!important}
[data-buildschmiede-editor] :is(button,select,summary,input,textarea):focus-visible {outline:2px solid #f7b48c!important;outline-offset:-2px}
[data-buildschmiede-editor] :is(.bp-stats,.bp-gear-view,.bp-toolbar button)[hidden] {display:none!important}
.bp-compact .ge-editor .ge-paper {width:76%;max-width:29rem;margin-inline:auto}
.be-cluster-detail details {margin:.45rem 0}.be-cluster-detail li button {margin-inline-start:.3rem}
.bp-current {border-inline-start:3px solid #bf805e;padding-inline-start:.5rem}
[data-buildschmiede-editor] :is(.br-tree,.br-gems,.br-gear,.be-skill-setup,.be-inventory,.be-wide-tree) {
  scroll-margin-top:calc(var(--bp-header-height,7rem) + var(--planner-sticky-offset,0px) + 8px)!important;
}
@media(max-width:760px){
  .bp-rotation .bp-rot-skill {display:flex;width:fit-content}
  .bp-context {font-size:.76rem}.bp-context strong {max-width:52%}
  .bp-toolbar,.bp-rotation li,.bp-field {min-width:0}
}

/* WordPress block themes constrain ordinary article text to a narrow column. */
.entry-content.is-layout-constrained > :is([data-buildschmiede-editor],.bsbe-official) {
  width:100%;max-width:1480px;box-sizing:border-box;
}
.bp-context {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(5rem,8rem);align-items:center}
.bp-context strong {max-width:100%}
@media(max-width:760px){.bp-context {grid-template-columns:minmax(0,1fr) minmax(0,1fr) 5.2rem}}

.be-work-pane .be-wide-tree {margin-top:clamp(2rem,5vw,4.5rem)}
.be-columns>.be-character,.be-work-pane>.be-wide-tree,.br-overview>:is(.br-gems,.br-tree) {
  padding-top:clamp(1.2rem,3vw,2.8rem);border-top:1px solid var(--planner-line);
}
.br-overview .br-groups {grid-template-columns:minmax(0,1fr)}
.be-work-pane .bste-layout,.br-tree .bste-layout {grid-template-columns:minmax(0,1fr)}
.be-work-pane .bste-view,.br-tree .bste-view {height:clamp(320px,65svh,760px)}
.be-work-pane .bste-totals,.br-tree .bste-totals {max-height:none;border-inline-start:0;border-block-start:1px solid var(--planner-line)}
.be-work-pane .be-gem-build,.br-overview .be-gem-names {padding:clamp(.65rem,1.8vw,1.6rem)}
.bp-gem {padding-block:clamp(.4rem,1vw,.8rem)}

/* Keep the inventory board identical in the editor and published guides. */
.bp-gear-view .ge-editor .ge-paper {width:min(100%,33rem);margin-inline:auto}
.bp-gear-view .ge-equipment,.be-inventory .ge-editor .ge-detail {box-sizing:border-box;min-width:0;width:100%;max-width:52rem;margin-inline:auto}
.bp-prioritizing .ge-editor .ge-detail,.bp-prioritizing .ge-add-jewel {display:none!important}
.bp-prioritizing .ge-editor .ge-equipment {display:block!important}
.be-inventory .bp-gear-view {container-type:inline-size}
@container (min-width: 66rem){
  .be-inventory .bp-gear-view:not(.bp-prioritizing) .ge-editor[data-ge-view=detail] {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:1.25rem}
  .be-inventory .ge-editor[data-ge-view=detail] .ge-detail {margin-top:0}
}
.ge-editor .ge-inspect-image {height:clamp(6rem,12vw,10rem);margin:0 auto .35rem}
.ge-editor .ge-inspect-image .ge-art {width:100%;height:100%;object-fit:contain}
.ge-editor :is(.ge-item-level,.ge-choices button,.ge-affixes small,.ge-tierlist small),.be-gem-req,.bp-attr {font-size:1rem;line-height:1.4}
.ge-editor .ge-affixes {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:.35rem}
.ge-editor .ge-affixes button {display:flex;align-items:center;justify-content:flex-start;gap:.75rem}
.ge-editor .ge-affixes small {white-space:nowrap}
.ge-editor .ge-toolbar a,.bp-priority-picker a,.br-guide-tools a {color:#ffdb91;text-decoration:underline;text-underline-offset:.2em}
.bp-affix-groups {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:1rem;margin-top:.8rem}
.bp-affix-row {display:flex;align-items:baseline;flex-wrap:wrap;gap:.35rem;padding:.3rem;border-bottom:1px solid #494334}
.bp-affix-row summary {cursor:pointer;color:#dfc79b}
.bp-priority-picker .bp-toolbar button,.bp-skill-choices button {display:inline-flex;align-items:center;gap:.4rem}
.bp-priority-picker .be-gem-tags {margin-top:.6rem}
.bp-priority-picker .be-gem-tags button {color:var(--tag-color)}
.bp-priority-picker button[aria-pressed=true],.be-gem-filters button[aria-pressed=true],.be-gem-tags button[aria-pressed=true] {box-shadow:inset 0 -3px currentColor}
.bp-action-group,.bp-skill-choices {display:flex;flex-wrap:wrap;align-items:center;gap:.35rem}
.bp-action-group {border-inline-start:1px solid #675844;padding-inline-start:.6rem}
[data-buildschmiede-editor] :is(.be-top-actions,.be-character-title,.be-subhead,.be-phase-tools) :is(button,summary),
[data-buildschmiede-editor] button.be-text-button {background:#262623;color:#f3ecdf;border:1px solid #71614e;border-radius:4px;min-height:42px;padding:.4rem .7rem}
[data-buildschmiede-editor] .be-phase-tools .be-primary {background:#e3c084;color:#201b14}
.be-gem-row-title .bp-attr,.br-gem-main .bp-attr {display:inline-block;margin-inline-end:.45rem}
.be-gem-build,.br-overview .br-groups {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,26rem),1fr));align-items:start;gap:.5rem}
.be-gem-build>:not(.be-gem-row),.br-groups>.br-guide-copy {grid-column:1/-1}
.be-gem-row {height:100%;box-sizing:border-box}
.be-gem-panel .be-gem-tags,.bp-gem-facts .be-gem-tags {display:flex;gap:.35rem;flex-wrap:wrap}
.bp-gem-facts p {margin:.35rem 0;font-size:1rem;line-height:1.45;white-space:pre-line}
.bp-gem-facts {overflow-wrap:anywhere}
.be-gem-tooltip,.br-gem-pop,.br-info {max-height:min(75dvh,36rem);overflow:auto}
.be-gem-tooltip>.be-gem-picture,.be-gem-ident>.be-gem-picture,.br-info-heading>.br-gem-icon,.br-gem-pop>.br-gem-icon {width:4rem;height:4rem}
.be-gem-tooltip img,.br-info-heading img,.br-gem-pop img {object-fit:contain}
.bp-asc {padding:1rem;margin:1rem auto;border:1px solid #726146;background:#1c1c18;scroll-margin-top:9rem}
.bp-asc-map {position:relative;width:min(100%,40rem);aspect-ratio:1.6;margin:auto;background-size:cover;background-position:center}
.bp-asc-map svg {position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.bp-asc-map line {stroke:#625e55;stroke-width:1.35px;vector-effect:non-scaling-stroke}
.bp-asc-map line.bp-owned {stroke:#ffd270;stroke-width:4px}
[data-buildschmiede-editor] .bp-asc-map button {position:absolute;transform:translate(-50%,-50%);background:#24231e;border:2px solid #aca28e;color:#f7e9cc;border-radius:50%;width:1.7rem;height:1.7rem;min-width:0;min-height:0;padding:0}
[data-buildschmiede-editor] .bp-asc-map button[data-taken=yes] {background:#b58947;color:#17130e;border-color:#ffe3aa}
.bp-asc-map button:focus-visible {z-index:2}
.bp-no-order {list-style:none}
.bste:fullscreen {overflow:auto;padding:1rem;box-sizing:border-box;background:#151615;color:#f1e4cf}
.bste:fullscreen .bste-view {height:75dvh}
.bg-compact .br-overview {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,26rem),1fr));gap:.75rem}
.bg-compact .br-overview>:not(.br-gear,.br-gems){grid-column:1/-1}
.bg-compact .br-overview>:is(.br-gems,.br-tree){padding-top:.75rem;margin-top:0}


.bp-linked-gems {display:flex;align-items:center;flex-wrap:wrap;gap:.4rem;grid-column:1/-1;flex-basis:100%;border-top:1px solid #504737;padding:.4rem 0}
.bp-linked-gems>span {display:inline-flex;align-items:center;gap:.3rem}
.bp-linked-gems .bp-icon {width:1.4rem!important;height:1.4rem!important}
.bp-gem-choice {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch}
.bp-gem-choice .bp-gem-info {min-width:2.65rem;min-height:2.65rem;color:#e2c38a;border:1px solid #675b45;background:#22241e}
.be-gem-panel dialog .be-gem-picture {width:5rem;height:5rem}
.be-gem-tooltip {overscroll-behavior:contain}
[data-buildschmiede-editor] .bp-asc-map button.bp-asc-icon {width:28px;height:28px;box-sizing:border-box;text-shadow:0 1px 2px black,0 -1px 2px black;color:white}
[data-buildschmiede-editor] .bp-asc-map button[data-taken=no]:not(:hover,:focus-visible) {filter:saturate(.65) brightness(.74)}
[data-buildschmiede-editor] .bp-asc-map button[data-taken=yes] {border-color:#fff0bc;box-shadow:0 0 0 2px #e9ad45,0 0 0 4px #402a12}


.ge-editor .ge-choices .ge-btn,.ge-editor .ge-sources .ge-btn {font-size:1rem;min-height:40px;padding:.4rem .65rem}
.ge-editor .ge-affixes>button>span {flex:0 1 auto}
.ge-editor .ge-affixes>button>small {margin-left:0}
[data-buildschmiede-editor] .ge-editor .ge-card small,.ge-editor .ge-level,.ge-editor .ge-item-level,.ge-editor .ge-mod-row small {font-size:.98rem;line-height:1.4}
.bp-stats .bp-affix-groups {align-items:start}
.bp-stats .bp-field:has(input[readonly]) input {font-weight:600}
.bp-priority-picker :is(input[type=search],.bp-toolbar a){margin:.4rem 0}
.br-gem-pop:not([hidden]),.be-gem-tooltip:not([hidden]) {overscroll-behavior:contain}


/* Side-by-side overview for a wide guide; narrower layouts keep the reading order. */
@media(min-width:1200px) {
 .br-reader.bg-compact .br-overview {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:.75rem}
 .br-reader.bg-compact .br-overview>:is(.br-gear,.br-gems,.br-tree) {grid-column:auto;padding:.65rem;margin-top:0;min-width:0;border-top:1px solid #675947;scroll-margin-top:11rem}
 .br-reader.bg-compact .br-overview>.br-gear {grid-column:1}
 .br-reader.bg-compact .br-overview>.br-gems {grid-column:2}
 .br-reader.bg-compact .br-overview>.br-tree {grid-column:3}
 .br-reader.bg-compact .br-tree .bste:not(:fullscreen) .bste-view {height:17rem;min-height:0}
 .br-reader.bg-compact .br-tree :is(.bste-tools,.bste-modes) {flex-wrap:wrap}
 .br-reader.bg-compact .br-tree :is(.bste,.bste-layout,.bste-search,.be-clusters,.bste-totals) {min-width:0;max-width:100%;box-sizing:border-box}
}
.br-reader.bg-compact .br-controls {max-width:100%}

.bp-inventory-header {
  display:flex;align-items:center;flex-wrap:wrap;gap:.55rem 1.2rem;
  padding:.65rem 0;margin-bottom:.8rem;border-bottom:1px solid var(--planner-line);
}
.bp-inventory-header :is(h2,h3){margin:0;line-height:1.15;font-size:clamp(1.35rem,2vw,1.75rem)}
[data-buildschmiede-editor] .bp-inventory-header .bp-inventory-modes,
[data-buildschmiede-editor] .bp-inventory-header .ge-set {
  display:inline-flex;align-items:center;flex-wrap:wrap;gap:.2rem;margin:0;
}
.bp-inventory-modes{border:1px solid #675a44;background:#1a1b17;padding:.15rem;border-radius:.35rem}
[data-buildschmiede-editor] .bp-inventory-modes button {margin:0;padding:.35rem .65rem;border:1px solid transparent;background:transparent;color:#e4dccc}
.bp-inventory-header .ge-set span{margin-right:.25rem}
[data-buildschmiede-editor] .bp-inventory-header .ge-set button{min-width:2.7rem;min-height:40px}
.be-section-layout {display:grid;grid-template-columns:clamp(7rem,10vw,9rem) minmax(0,1fr);align-items:start;gap:clamp(.6rem,1.6vw,1.5rem)}
.be-section-content {min-width:0}
.be-section-rail {
  position:sticky;top:calc(var(--planner-sticky-offset,0px) + var(--bp-header-height,6rem) + .35rem);
  z-index:6;align-self:start;min-width:0
}
[data-buildschmiede-editor] .be-section-rail nav {
  display:flex;flex-flow:column nowrap;align-items:stretch;overflow-y:auto;overscroll-behavior:contain;
  max-height:calc(100dvh - var(--planner-sticky-offset,0px) - var(--bp-header-height,6rem) - 1rem);
  gap:.15rem;border-left:1px solid #675a44;background:#171916;padding:.25rem;
}
[data-buildschmiede-editor] .be-section-rail .be-section-link {
  flex:none;min-height:44px;padding:.5rem .65rem;text-align:left;line-height:1.25;color:#ddd4c3;
  border:0;border-left:3px solid transparent;border-radius:0;background:transparent;font-weight:600;
}
[data-buildschmiede-editor] .be-section-rail .be-section-link:is(:hover,:focus-visible){color:#ffe4ad;background:#302d25}
[data-buildschmiede-editor] .be-section-rail .be-section-link[aria-current]{background:#363024;color:#ffe1a2;border-left-color:#edc478}
.be-section-rail .be-sections-toggle{display:none}
.be-section-content>.be-wide-tree{padding-top:clamp(1.2rem,3vw,2.8rem);border-top:1px solid var(--planner-line)}
[data-buildschmiede-editor] .be-work-pane .be-nav-target {scroll-margin-top:calc(var(--bp-header-height,6rem) + var(--planner-sticky-offset,0px) + .5rem)!important}
@media(max-width:760px){
  .be-section-layout {grid-template-columns:minmax(0,1fr);gap:.3rem}
  .be-section-rail{width:fit-content;max-width:100%}
  [data-buildschmiede-editor] .be-section-rail .be-sections-toggle{display:block;min-height:42px;background:#24251f;border:1px solid #766549;color:#f6dfb2;border-radius:.25rem;padding:.35rem .65rem}
  [data-buildschmiede-editor] .be-section-rail nav {display:none;position:absolute;top:100%;left:0;width:max-content;max-width:min(18rem,85vw);border:1px solid #766549;box-shadow:0 .35rem 1rem #0007;max-height:calc(100dvh - var(--planner-sticky-offset,0px) - var(--bp-header-height,6rem) - 3.5rem)}
  [data-buildschmiede-editor] .be-section-rail.is-open nav {display:flex}
  [data-buildschmiede-editor] .be-work-pane .be-nav-target {scroll-margin-top:calc(var(--bp-header-height,6rem) + var(--planner-sticky-offset,0px) + 3.4rem)!important}
}

.bp-inventory-workspace {container:inventory / inline-size;min-width:0}
.bp-priority-layout > * {min-width:0}
.bp-priority-layout.is-prioritizing .bp-stats {box-sizing:border-box;align-self:start;margin:.4rem 0;padding:.75rem}
.bp-priority-heading {display:flex;align-items:center;gap:.65rem;border-bottom:1px solid var(--planner-line);padding-bottom:.45rem}
.bp-priority-heading h4 {flex:1;margin:0;font-size:1.2rem;overflow-wrap:anywhere}
.bp-priority-heading .bp-priority-art {width:3.5rem;height:3.5rem;object-fit:contain}
.bp-stats .bp-priority-chips {display:flex;flex-wrap:wrap;gap:.35rem;list-style:none;margin:.55rem 0;padding:0}
.bp-stats .bp-priority-chips:empty {display:none}
.bp-stats .bp-priority-chips li {display:flex;align-items:center;flex-wrap:wrap;gap:.35rem;max-width:100%;padding:.25rem .5rem;border:1px solid #594c37;border-radius:4px;background:#25251e;line-height:1.3}
.bp-priority-chips li b {color:#ecc88c}
.bp-priority-chips .bp-field {margin:0}
.bp-stats .bp-priority-chips input[type=checkbox] {min-height:0;width:1rem;height:1rem}
.bp-priority-picker {margin-top:.6rem}
.bp-priority-picker input[type=search] {width:auto;flex:1 1 10rem;min-width:0}
.bp-priority-filters summary {cursor:pointer;color:#e9c68a}
.bp-stats .bp-affix-groups {grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;max-height:clamp(12rem,33dvh,22rem);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;margin-top:.5rem}
.bp-affix-groups section {min-width:0}
.bp-affix-groups section h4 {margin:.15rem 0 .35rem}
.bp-affix-row button {max-width:100%;text-align:start;overflow-wrap:anywhere}
.bp-stats .bp-affix-row {padding:.22rem 0}
@container inventory (min-width:52rem) {
  .bp-priority-layout.is-prioritizing {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;align-items:start}
  .bp-priority-heading .bp-priority-back {display:none}
  .bp-prioritizing .ge-editor .ge-paper {width:min(100%,33rem,66dvh)}
}
@container inventory (max-width:51.999rem) {
  .is-prioritizing.has-priority-item > .bp-gear-view {display:none}
}
@container inventory (max-width:25rem) {
  .bp-stats .bp-affix-groups {grid-template-columns:minmax(0,1fr)}
}


.br-nav-target{scroll-margin-top:calc(var(--planner-sticky-offset,0px) + var(--bp-header-height,7rem) + .65rem)}
.bg-side button[aria-current=location]{color:#ffe2a2;border-left:3px solid #edc478;background:#363024}
.br-nav-rail[data-external=false]{position:sticky;top:var(--bsh-nav-space,0px);z-index:8;width:fit-content;max-width:100%}
.br-nav-rail[data-external=false] .bg-side{width:min(18rem,85vw)}
.br-nav-rail[data-external=false] + .br-reader .bp-sticky{top:calc(var(--planner-sticky-offset,0px) + 2.8rem)}
.br-nav-rail[data-external=false] + .br-reader .br-nav-target{scroll-margin-top:calc(var(--planner-sticky-offset,0px) + var(--bp-header-height,7rem) + 3.4rem)}
@media(max-width:760px){
  [data-buildschmiede-editor] .br-nav-rail[data-external=false] + .br-reader .br-nav-target{scroll-margin-top:calc(var(--planner-sticky-offset,0px) + var(--bp-header-height,7rem) + 3.4rem)!important}
  .br-rewards summary small{display:inline-block;max-width:100%;white-space:normal}
}
.bste-tip.bp-node-tooltip{position:fixed;z-index:10020;width:max-content;box-sizing:border-box;max-width:min(22rem,calc(100vw - 12px));font-size:1rem;line-height:1.4;border-top:2px solid #d4b574}
.bste-tip.bp-node-tooltip strong{font-size:1.12rem}
.bp-node-tooltip[hidden],.br-rewards [hidden]{display:none!important}
.bp-asc-info>strong,.bp-asc-info>span{display:block}
.bp-asc-info .bste-icon{float:left;margin-right:.65rem}
.bp-asc-map button:focus-visible{outline:3px solid #fff1c2;outline-offset:3px}
.br-rewards{border:1px solid #615840;border-left:3px solid #bda165;background:#191c18;padding:.7rem .9rem;box-sizing:border-box}
.br-rewards>summary{font-size:1.2rem;color:#f1d69e}
.br-rewards>summary small,.br-reward-choice summary small{font-family:inherit;line-height:1.3;font-size:.9rem;font-weight:normal;color:#cdc7b8;margin-inline-start:.7rem}
:is([data-buildschmiede-editor],.br-reader) button.bste-tree-link,
[data-buildschmiede-editor] :is(.br-reward-filters,.br-reward-options,.bp-asc>ol) button,.br-rewards :is(.br-reward-filters,.br-reward-options) button{
  background:#242621!important;color:#eee9db!important;border:1px solid #655e4e!important;padding:.35rem .7rem;min-height:40px;border-radius:4px;line-height:1.3;box-shadow:none
}
:is([data-buildschmiede-editor],.br-reader) button.bste-tree-link:is(:hover,:focus-visible,:active){
  border-color:#c2a165!important;
}
.br-rewards :is(.br-reward-filters,.br-reward-options) button[aria-pressed=true],[data-buildschmiede-editor] :is(.br-reward-filters,.br-reward-options,.bp-asc>ol) button[aria-pressed=true]{
  color:#ffe2a1!important;border-color:#c2a165!important;background:#393225!important;box-shadow:inset 0 -2px #e6be73
}
:is([data-buildschmiede-editor],.br-reader) button.bste-tree-link:focus-visible,
.br-rewards :is(button,summary):focus-visible{outline:2px solid #ffe0a2;outline-offset:2px}
.br-reward-act{border-top:1px solid #514b3c;margin:0;padding:.25rem 0}
.br-rewards .br-reward-act>summary{color:#e9e3d7;padding:.3rem .2rem;cursor:pointer}
.br-reward-act>summary small{margin-left:.5rem;font-weight:400;color:#b7b4a9}
.br-reward-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17.5rem),1fr));gap:.35rem .6rem;padding:.3rem 0 .5rem}
.br-reward-card{min-width:0;background:#22251f;border:1px solid #414536;border-radius:4px;padding:.45rem .65rem;overflow-wrap:anywhere}
.br-reward-card>strong,.br-reward-meta{display:block}
.br-reward-meta{color:#cdc9bc;font-size:.88rem}
.br-reward-card .br-fixed-bonus{color:#cfdfbd;margin:.25rem 0 0;font-weight:600}
.br-fixed-bonus small{font-size:.9em}
.br-rewards .br-reward-choice{margin:0;padding:.15rem 0 0}
.br-rewards .br-reward-choice>summary{color:#f1d198}
.br-reward-options{display:grid;grid-template-columns:minmax(0,1fr);gap:.35rem;margin-block:.4rem}
.br-reward-options button,.bp-asc>ol button{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:start}
.br-reward-options button[aria-pressed=true]::before{content:'✓ ';font-weight:bold}
.bp-asc>ol{padding-inline-start:2rem}
.bp-asc>ol li+li{margin-block-start:.3rem}
.br-reward-selection{color:#f0d79e}
.br-reward-card p{margin:.3rem 0}

.br-nav-rail[data-inset=true] .bg-side{inset-inline-start:0;inset-inline-end:auto;width:var(--br-nav-width)}
.br-nav-rail + .br-reader{margin-inline-start:var(--br-inset,0px)}
.br-nav-rail[data-inset=true] + .br-reader{box-sizing:border-box;width:calc(100% - var(--br-inset));min-width:0}

.ge-editor .ge-ilvl {
    padding: 8px 12px;
    gap: 12px;
    border: 1px solid var(--be-line, #655743);
    border-radius: 5px;
    background: #26231f;
    font-size: 15px;
    font-weight: 650;
}
.ge-editor .ge-ilvl input { width: 88px; min-height: 36px; font-size: 16px; }
.ge-editor .ge-ilvl.is-pending { border-color: #cda35f; color: #f2d09a; }
.ge-editor .ge-ilvl.is-pending input { border-color: #cda35f; }
.ge-editor .ge-ilvl small { display: block; font-size: 11px; font-weight: 500; }
/* The chart shares phase selection with the existing phase bar. */
.be-phase-profile {
  --be-chart-height: 5.8rem;
  --be-chart-inset: .8rem;
  --be-copper: #dc9c72;
  min-width: 0;
  max-width: 100%;
  margin: .65rem 0 1rem;
  padding: .85rem 1rem;
  border: 1px solid #594a3b;
  background: #191a17;
  color: #f3eadd;
}
.be-phase-profile[hidden] { display: none; }
.be-assessment-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.5rem; }
.be-phase-profile h3, .be-phase-profile h4, .be-phase-profile p { margin:0; }
.be-phase-profile .be-assessment-scale, .be-phase-profile .be-assessment-preview {
  color:#d3c6b7; font-size:.9rem; line-height:1.4; margin:.45rem 0;
}
.be-profile-chart { display:grid; grid-template-columns:1.6rem minmax(0,1fr); gap:.2rem; }
.be-profile-axis { display:flex; flex-direction:column; justify-content:space-between; padding-top:var(--be-chart-inset); height:calc(var(--be-chart-height) + var(--be-chart-inset)); box-sizing:border-box; }
.be-profile-axis span { position:relative; line-height:0; font-size:.8rem; text-align:right; margin-right:.25rem; }
.be-profile-scroll { overflow-x:auto; overscroll-behavior-x:contain; min-width:0; scrollbar-color:#937358 #242420; }
.be-profile-track {
  position:relative; display:grid; isolation:isolate; grid-template-columns:repeat(var(--phase-count),minmax(0,1fr));
  min-width:calc(var(--phase-count) * 5.8rem);
}
.be-profile-track svg { position:absolute; inset:var(--be-chart-inset) 0 auto; width:100%; height:var(--be-chart-height); overflow:visible; background:repeating-linear-gradient(to bottom,#4a4942 0 1px, transparent 1px 25%); border-bottom:1px solid #4a4942; }
.be-profile-track svg path { fill:none;stroke:var(--be-copper);stroke-width:2.5; }
.be-phase-profile button.be-profile-point {
  padding:calc(var(--be-chart-height) + 2.25rem) .25rem .35rem; margin:0; border:0; border-bottom:2px solid transparent;
  box-shadow:none; background:transparent; color:inherit;position:relative;display:flex;justify-content:center;align-items:flex-start;
  min-width:0;min-height:44px;height:auto;cursor:pointer;border-radius:0;
}
.be-phase-profile button.be-profile-point[aria-pressed=true] { border-bottom-color:var(--be-copper);background:rgba(205,148,95,.075); }
.be-phase-profile button.be-profile-point:hover { background:rgba(232,197,152,.10); }
.be-profile-point:focus-visible, .be-profile-tags button:focus-visible { outline:2px solid #f4d693; outline-offset:-2px; }
.be-profile-marker {
  position:absolute;left:50%;top:calc(var(--be-chart-inset) + var(--be-chart-height) * var(--ratio));
  transform:translate(-50%,-50%);display:grid;place-items:center;
  min-width:1.3rem;height:1.3rem;line-height:1.1;font-size:.8rem;font-weight:bold;
  border-radius:50%;color:#1d140e;background:var(--be-copper);border:1px solid #f3c99e;
}
.be-profile-marker.is-open { top:calc(var(--be-chart-height) + 1.55rem);background:#22231f;color:#d6c7b7;border-style:dashed; }
.be-profile-label { font-size:.87rem;line-height:1.2;overflow-wrap:anywhere;text-wrap:balance; }
.be-assessment-detail { border-top:1px solid #50463b;padding-top:.55rem; }
.be-assessment-facts { display:flex;flex-wrap:wrap;gap:.25rem 1rem;margin:.4rem 0; }
.be-assessment-facts>div { display:flex;gap:.3rem;align-items:baseline; }
.be-assessment-facts dt { color:#d4c9bc;font-size:.88rem; }
.be-assessment-facts dd { margin:0; font-weight:600; }
.be-assessment-tagset { min-width:0;margin:.5rem 0;padding:0;border:0; }
.be-assessment-tagset legend { margin:0 0 .25rem;padding:0;font-size:.9rem; }
.be-profile-tags { display:flex; flex-wrap:wrap; gap:.28rem; }
.be-profile-tags .bsh-index-chip[data-tag-id] {
  color:var(--bsh-semantic); background:color-mix(in srgb,var(--bsh-semantic) 12%,#20211e);
  border:1px solid color-mix(in srgb,var(--bsh-semantic) 45%,#383a35);border-radius:.28rem;
  padding:.2rem .48rem;font-size:.88rem;line-height:1.35;
}
.be-profile-tags button.bsh-index-chip[aria-pressed=true] { outline:1px solid var(--bsh-semantic);outline-offset:1px; }
.be-profile-tags button.bsh-index-chip[aria-pressed=true]::before {content:'✓ '; }
.be-shell .be-dialog:has(.be-assessment-form) { width:min(44rem,calc(100% - 16px)); }
.be-assessment-form { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17.5rem),1fr));gap:.9rem 1.3rem;min-width:0; }
.be-assessment-form .be-score { margin:0;padding:0;min-width:0;border:0; }
.be-score legend { padding:0;margin-bottom:.3rem;font-weight:600; }
.be-score-choices { display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) minmax(3.3rem,1.4fr);gap:3px; }
.be-score .be-score-choice { display:block;position:relative;min-width:0;margin:0;cursor:pointer; }
.be-score-choice input { position:absolute;inset:0;box-sizing:border-box;width:100%;height:100%;margin:0;opacity:0;cursor:pointer; }
.be-score-choice span { display:grid;place-items:center;min-height:44px;box-sizing:border-box;border:1px solid #605544;border-radius:4px;background:#252523;color:#f0e8d9; }
.be-score-choice:hover span { border-color:#c39b62; }
.be-score-choice input:checked + span { border-color:#d5ac74;background:#483728;color:#ffe2ae;box-shadow:inset 0 -3px #d5ac74;font-weight:700; }
.be-score-choice input:focus-visible + span { outline:2px solid currentColor;outline-offset:-4px; }
@media (max-width:380px) { .be-dialog:has(.be-assessment-form) .be-dialog-body { padding-inline:10px; } }
@media (forced-colors:active) { .be-score-choice input:checked + span { border:3px solid Highlight; } }
.be-assessment-field { display:grid;gap:.2rem;margin-bottom:.45rem; }
.be-profile-notes { margin-top:.4rem; }
.be-profile-notes.strengths strong { color:#a4d8a0; }
.be-profile-notes.weaknesses strong { color:#f0aaa1; }
.be-profile-notes ul { margin:.15rem 0 .35rem;padding-inline-start:1.25rem; }
@media(max-width:640px){
  .be-phase-profile {padding:.65rem;}
  .be-profile-track {min-width:calc(var(--phase-count) * 5.2rem);}
}

.ge-editor .ge-ilvl input { background:#26231f; border:1px solid #786153; color:#f4e3ce; }
.ge-editor .ge-ilvl:hover input, .ge-editor .ge-tierlist button:hover {border-color:#ce9472}
.ge-editor .ge-paste-text,.ge-editor .ge-pasted-source {box-sizing:border-box;width:100%;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
.ge-editor .ge-paste-start {margin-block-end:.5rem}
.ge-editor [data-ge-destination] {max-width:100%}

.be-phase-profile .be-profile-track{min-width:0}
.be-phase-profile .be-profile-scroll{overflow:visible}
.be-many-phases .be-profile-label{display:none}
.be-many-phases .be-profile-marker{max-width:100%;overflow:hidden}
.be-profile-track.be-many-phases{grid-template-columns:repeat(var(--phase-count),minmax(0,1fr))}
.be-phase-directory,.be-rating-choices{display:flex;gap:.25rem;flex-wrap:wrap}
.be-phase-profile .be-assessment-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12.8rem),1fr))}
.be-assessment-facts .be-rating-cell{display:block;padding:.4rem}
.be-rating-cell meter{display:block;width:100%;accent-color:#cb906d}
.be-rating-choices button{min-width:2rem;min-height:2.5rem}
.be-profile-total{display:block;color:#f2c89d;font-size:1.2em}
.be-phase-profile [aria-pressed=true].be-action{border-color:#ce9472;background:#483127;color:#ffe1ca}
.be-rating-help summary{cursor:pointer}

.be-phase-profile .be-assessment-facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:start;gap:.5rem;margin:.65rem 0}
.be-phase-profile .be-rating-cell{min-width:0;padding:.25rem}
.be-phase-profile .be-rating-cell dt{position:relative;margin:0;line-height:1.45}
.be-phase-profile .be-rating-term{background:transparent;color:#f1d6b3;border:0;padding:0;line-height:inherit;font:inherit;cursor:help}
.be-rating-tooltip{display:none;position:absolute;z-index:8;inset-block-start:100%;inset-inline-start:0;width:max-content;max-width:min(16rem,78vw);padding:.5rem .7rem;line-height:1.4;background:#201c19;color:#ffeaca;border:1px solid #957654;box-shadow:0 4px 10px #0008}
.be-rating-cell:last-child .be-rating-tooltip{inset-inline-start:auto;inset-inline-end:0}
.be-rating-tooltip.is-visible{display:block}
.be-phase-profile .be-rating-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.13rem}
.be-phase-profile .be-rating-choices button{min-width:0;width:100%;padding:.24rem .08rem}
.be-phase-profile .be-rating-cell dd{margin:0}
.be-skill-order,.be-gem-priority,.bste-choice{display:flex;align-items:center;gap:.3rem;flex-wrap:wrap}
.bste-choice strong{width:100%}.bste-choice button{border-bottom:2px solid var(--attr-color,#b29e84)}.bste-choice [data-tone=strength]{--attr-color:#db776c}.bste-choice [data-tone=dexterity]{--attr-color:#86bf81}.bste-choice [data-tone=intelligence]{--attr-color:#81a6e3}
.bste-choice [aria-pressed=true]{box-shadow:inset 0 -2px var(--attr-color);font-weight:700}
@media(max-width:850px){.be-phase-profile .be-assessment-facts{grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr))}}

.be-phase-profile .be-assessment-head h3,#poststuff .be-phase-profile .be-assessment-head h3{color:#f2e4cc}

.bste-attribute-picker:not([hidden]){position:absolute;z-index:8;display:flex;flex-wrap:wrap;gap:.35rem;max-width:min(24rem,calc(100% - 14px));padding:.55rem;background:#191a18;border:1px solid #927449;border-radius:6px;box-shadow:0 4px 14px #0009}
.bste-attribute-picker strong{flex-basis:100%}.bste-attribute-picker [data-tone=strength]{color:#ffa59b}.bste-attribute-picker [data-tone=dexterity]{color:#b4e298}.bste-attribute-picker [data-tone=intelligence]{color:#a1cbff}
@media(max-width:680px){.bste-attribute-picker:not([hidden]){left:6px!important;top:auto!important;bottom:6px}}

.ge-base-heading{grid-column:1/-1;margin:.4rem 0 0}.ge-editor .ge-card img{width:clamp(44px,4.5vw,70px);height:68px;object-fit:contain;flex-shrink:0}
.ge-editor .ge-equip-slot[data-slot-area=lifeFlask] img,.ge-editor .ge-equip-slot[data-slot-area=manaFlask] img{filter:none;opacity:.86;height:82%;width:75%;object-fit:contain}

.ge-guide-actions{flex-wrap:wrap}
.ge-compare{padding:.4rem;font-family:var(--be-reading)}
.ge-compare textarea{display:block;width:100%;margin:.35rem 0;box-sizing:border-box}
.ge-compare-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(145px,100%),1fr));gap:.5rem;overflow-wrap:anywhere}
.ge-compare-items section{min-width:0;padding-top:.45rem}
.ge-compare-items p,.ge-compare-items ul{margin:.25rem 0}.ge-compare-items ul{padding-inline-start:1rem}


.ge-equip-slot:is([data-slot-area="lifeFlask"],[data-slot-area="manaFlask"]) img.ge-art{object-fit:contain;max-height:90%;max-width:85%;margin:auto}
.be-gem-tooltip:not([hidden]){background:#121410;color:#e8e4da;max-width:min(28rem,95vw)}
.bp-gem-facts .br-lex-link{display:block;width:fit-content;margin:.5rem auto}


.be-gem-tooltip:not([hidden]),.br-gem-pop:not([hidden]){pointer-events:auto}

.be-change-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));align-items:start;gap:.55rem;margin-block:.6rem}
.be-change-group{min-width:0;padding:.65rem .8rem;border:1px solid #444740;border-top:2px solid #bba2ce;border-radius:.35rem;background:#202121}
.be-change-group[data-kind=gear]{border-top-color:#dbb17c}
.be-change-group>strong{display:block;color:#ceafe8}.be-change-group[data-kind=gear]>strong{color:#e6bc88}
.be-change-item{display:flex;align-items:center;gap:.55rem;padding:.3rem 0}.be-change-item>b,.be-change-item b,.be-change-item small{display:block}.be-change-item small{font-size:.84em;color:#c7c3bb;overflow-wrap:anywhere}
.be-change-icon{display:inline-grid;flex:0 0 2.15rem;place-items:center;box-sizing:border-box;width:2.15rem;height:2.15rem;padding:.13rem;border:1px solid #504b44;border-radius:.25rem;overflow:hidden}
.be-change-icon>img{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain}
.be-change-group summary{cursor:pointer;color:#d4c7b9;font-size:.88em;margin:.2rem 0}
.be-change-group .be-change-action{display:inline-flex;align-items:center;gap:.8em;margin-top:.3rem;color:#d8bceb;background:linear-gradient(120deg,#39323f,#27242c);border:1px solid #806c90;border-radius:.3rem;padding:.35rem .65rem;font:inherit;cursor:pointer}
.be-change-group .be-change-action:hover,.be-change-group .be-change-action:focus-visible{border-color:#d6b4ed;background:#3c3246}
.be-card-attributes .bp-str{color:#f2a59c}.be-card-attributes .bp-dex{color:#adcf94}.be-card-attributes .bp-int{color:#9bc6e8}

.be-change-note{margin:.25rem 0 .45rem}.be-change-note>summary{cursor:pointer;color:#c5aedc;font-size:.88em}.be-change-note>p{white-space:pre-line}

.be-phase-switcher{display:flex;align-items:center;gap:.35rem;min-width:0;max-width:100%}.be-phase-switcher select{display:block!important;position:static!important;max-width:min(28rem,55vw);min-width:0;padding:.48rem;color:#e3cff9;background:#25212d}
.be-phase-switcher button{color:#d4b8ef;border:1px solid #8a759e;border-radius:.35rem;min-width:44px;height:44px}
.be-phase-switcher button:disabled{opacity:.4}.be-rating-panel>summary{cursor:pointer;padding:.5rem .3rem;color:#c6a9ec}

.be-build-management{min-width:9rem;align-self:start}.be-build-management>summary{cursor:pointer;padding:.42rem .7rem;border:1px solid #6c5a79;color:#d9c4ef;border-radius:.35rem}
.be-build-management[open] .bp-action-group{display:flex;flex-wrap:wrap;margin:.35rem 0}

.be-highlight-pick{display:flex;align-items:center;gap:.4rem;padding:.28rem .4rem}.be-highlight-pick img{width:1.75rem;height:1.75rem;object-fit:contain}

.bp-affix-row>button{display:flex;align-items:center;flex-wrap:wrap;gap:.22rem .65rem;text-align:start}
.bp-mod-tags{display:inline-flex;flex-wrap:wrap;gap:.2rem}
.bp-mod-tags .bs-mod-tag{font-size:.75rem;line-height:1.3}

.ge-hover-item .ge-affix-block{border-top:1px solid #49433e;padding:.35rem 0}
.ge-hover-item .ge-affix-block>strong{display:block;color:#c0bbb6;font:600 .79rem/1.5 var(--be-reading)}
.ge-hover-item .bs-affix-tier{display:inline-block;margin-inline-start:.35em;color:#d4cbdf;font-size:.81em}
.ge-hover-item .ge-roll-range:not([hidden]){display:block;font:normal .84em/1.45 var(--be-reading);color:#c6becd;padding:.2rem 0}
.ge-hover-item .ge-alt-details{display:block;margin:.35rem .45rem .45rem auto}
.ge-hover-item .ge-alt-details[aria-pressed=true]{border-color:#b99bd5;color:#e3c9f8}

/* The planner and published guide share the same assessment and phase selection. */
.be-strength {
  --strength-accent:#c6a9ec;
  container-type:inline-size;
  box-sizing:border-box; min-width:0; max-width:100%;
  margin:.65rem 0 1rem; padding:.75rem 1rem;
  color:#eee8dd; background:#1a1c1e;
  border:1px solid #47424c; border-top:2px solid #b39bc8; border-radius:6px;
}
.be-strength .be-assessment-head {display:flex;align-items:center;justify-content:space-between;gap:.45rem 1rem;flex-wrap:wrap}
.be-strength .be-assessment-head h3 {margin:0;font:normal 1.4rem/1.2 Georgia,serif;color:#f2e4cc}
.be-strength-total {display:flex;align-items:baseline;gap:.45rem;font-size:.81rem;color:#cfc8c0}
.be-strength-total strong {font:600 1.25rem/1.15 Georgia,serif;color:#dfc5f3}
.be-strength-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.06fr);gap:1.5rem;margin-top:.7rem;align-items:start}
.be-strength .be-strength-facts {margin:0;min-width:0}
.be-strength-row {display:grid;grid-template-columns:6.5rem minmax(0,1fr);align-items:center;gap:.45rem;min-height:1.6rem}
.be-strength .be-strength-row dt {position:relative;margin:0}
.be-strength .be-strength-row dd {display:grid;grid-template-columns:minmax(0,1fr) 2.2rem;align-items:center;gap:.4rem;margin:0}
.be-strength .be-rating-term {font:inherit;font-size:.88rem;color:#e4dccc;line-height:1.2;border:0;background:transparent;padding:.1rem 0;min-height:0;cursor:help;box-shadow:none}
.be-strength .be-strength-row .be-rating-tooltip {inset-inline-start:0;inset-inline-end:auto}
.be-strength .be-rating-choices {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.15rem;max-width:13rem}
.be-strength .be-rating-choices button {display:block;width:100%;margin:0;padding:0;min-height:1.55rem;min-width:0;line-height:1.15;font-size:.82rem}
.be-strength .be-rating-choices button[aria-pressed=true] {border-color:#b995d0;background:#40334a;color:#f4e3ff;box-shadow:inset 0 -2px var(--strength-accent)}
.be-strength-value {text-align:end;font-size:.9rem;font-variant-numeric:tabular-nums}
.be-strength-meter {height:.38rem;background:#37333c;border-radius:2px;overflow:hidden}
.be-strength-meter i {display:block;height:100%;background:var(--strength-accent)}
.be-strength-chart {min-width:0;padding-inline-start:1rem;border-inline-start:1px solid #464149}
.be-strength .be-strength-chart h4 {margin:0 0 .35rem;font-family:inherit;font-weight:600;line-height:1.3;font-size:.92rem;color:#e2d7cd}
.be-strength-track {position:relative;display:flex;align-items:stretch;overflow-x:auto;height:5.8rem;border-bottom:1px solid #584d60;background:repeating-linear-gradient(to top,transparent 0,transparent calc(20% - 1px),#302d33 20%);scrollbar-width:thin}
.be-strength .be-strength-point {position:relative;flex:1 0 1.5rem;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer}
.be-strength-point i {position:absolute;inset:auto 18% 0;background:#786982;border-radius:2px 2px 0 0}
.be-strength .be-strength-point[aria-pressed=true] {background:#bb9dd219;box-shadow:inset 0 -2px var(--strength-accent)}
.be-strength-point[aria-pressed=true] i {background:#cfb1e6}
.be-strength-point i.is-unrated {inset:auto 25% 4px;height:0;border-top:2px dashed #978e9a;background:transparent}
.be-strength-point:hover i,.be-strength-point:focus-visible i {background:#e2cdef}
.be-strength .be-strength-point:focus-visible {outline:2px solid var(--strength-accent);outline-offset:-2px}
.be-strength-caption {margin-top:.25rem;font-size:.8rem;color:#c4b8cc;overflow-wrap:anywhere}
.be-strength-notes {margin-top:.5rem}
.be-strength-notes>.be-action {padding:.2rem .55rem;font-size:.82rem;min-height:1.8rem}
@container (max-width:40rem) {
  .be-strength-grid {grid-template-columns:minmax(0,1fr);gap:.6rem}
  .be-strength-chart {border:0;border-top:1px solid #464149;padding:.5rem 0 0}
  .be-strength-track {height:4.15rem}
  .be-strength-row {min-height:1.85rem}
}
@container (max-width:19rem) {
  .be-strength-row {grid-template-columns:5.5rem minmax(0,1fr);gap:.2rem}
  .be-strength .be-strength-row dd {grid-template-columns:minmax(0,1fr) 1.65rem;gap:.15rem}
}

.ge-hover-item .bs-contribution,.ge-hover-item .bs-contribution-tier,.bs-contribution-tier small{display:block}
.ge-hover-item .bs-contribution{margin:.35rem 0;padding:.3rem .55rem;border-inline-start:2px solid #aa91c0;text-align:start}
.ge-hover-item .bs-contribution strong{color:#e0cfeb;font-size:1em}
.ge-hover-item .bs-contribution-tier{color:#eae4ef}
.ge-hover-item .bs-contribution-tier small{color:#c6becd;font-size:.92em}

.ge-editor .ge-hover-item.bs-item-window {
  width:min(444px,calc(100vw - 12px));
  height:auto;
  max-height:calc(100dvh - 12px);
  overflow:auto;
  box-sizing:border-box;
  background:#090908;
  border:1px solid #554b34;
  box-shadow:0 6px 21px #000b;
  text-align:start;
}
.ge-editor .ge-hover-item.bs-item-window>.ge-itemcard {width:100%;margin:0;border:0;box-sizing:border-box;background:#090908}
.ge-editor .bs-item-window .ge-itemcard[data-bs-canonical-copy]>header {min-height:44px;padding:4px 26px;box-sizing:border-box}
.ge-editor .bs-item-window .ge-itemcard[data-bs-canonical-copy]>header strong {font:normal 23px/1.05 var(--be-game,"BS Editor Game",serif)}
.ge-editor .bs-item-window .ge-itemcard[data-bs-canonical-copy]>header small {font:normal 14px/1.12 var(--be-game,"BS Editor Game",serif);color:#e2d5a4}
.ge-editor .bs-item-window .ge-itemcard[data-bs-canonical-copy]>header small:empty {display:none}
.bs-item-window .ge-itemcard .ge-item-body {
  box-sizing:border-box;
  margin:0;
  padding:5px 13px 6px;
  overflow-wrap:anywhere;
  font:normal 18px/1.25 var(--be-game,"BS Editor Game",serif);
}
.bs-item-window .bs-card-overview {display:flex;align-items:center;justify-content:center;padding:3px 0 5px}
.bs-item-window .bs-card-facts {display:flex;justify-content:center;flex-wrap:wrap;align-items:baseline;gap:3px 10px;font:inherit;text-align:center}
.bs-item-window .bs-card-facts>.ge-item-section {display:block;flex-basis:100%;text-align:center}
.bs-item-window .bs-card-facts>.ge-item-section:empty {display:none}
.bs-item-window .bs-card-facts .bs-property-name {color:#b4ad9e}
.bs-item-window .bs-card-facts .bs-property-name+span {color:#d8d1e4}
.bs-item-window .bs-card-facts :is(.bs-item-requires,.bs-card-level) {font-size:.84em;color:#cbc4b4}
.bs-item-window .bs-card-facts>.bs-item-origin {flex-basis:100%}
.ge-editor .bs-item-window .bs-card-facts>:is(.ge-item-section,.bs-item-requires,.bs-card-level) {padding:0;margin:0}
.bs-item-window .ge-item-body>.ge-item-section {padding-block:3px}
.bs-item-window .ge-item-body>.ge-item-section::before {display:none}
.ge-editor .bs-item-window .ge-itemcard .ge-affix-block {padding:5px 0 3px;margin:0;border:0;background:linear-gradient(90deg,transparent,#705732 26%,#ae8b53 50%,#705732 74%,transparent) center 1px / 86% 1px no-repeat, var(--ge-separator) center top / min(83%,345px) 3px no-repeat}
.ge-editor .bs-item-window:not(.bs-show-details) .bs-stat-row {--bs-reading:var(--be-game,"BS Editor Game",serif);display:block;text-align:center}
.ge-editor .bs-item-window:not(.bs-show-details) .bs-stat-text .bs-affix-value {display:block;text-wrap:pretty}
.ge-editor .bs-item-window:not(.bs-show-details) .bs-affix-value+.bs-affix-value::before {content:none}
.ge-editor .bs-item-window .ge-itemcard .bs-item-status {margin:4px 0 0;padding-top:4px;background:var(--ge-separator) center top / min(58%,235px) 2px no-repeat;font-size:.9em}
.ge-editor .bs-item-window.bs-show-details .ge-item-body {font:normal 15px/1.24 var(--be-reading,system-ui)}
.ge-editor .bs-item-window .ge-itemcard .ge-affix-block>strong {margin:0;text-align:start;font-size:.85em;line-height:1.35}
.ge-editor .bs-item-window .ge-affix-block>.bs-stat-row {padding:1px 0;line-height:1.26}
/* The equipped item carries its socket icons. Inspect reveals the effects and affix metadata. */
.ge-editor .bs-item-window:not(.bs-show-details) :is(.bs-socket-effects,.bs-base-details,.bs-affix-tier,.bs-affix-special,.bs-affix-kind,.bs-stat-side,.bs-fractured-tag,.ge-roll-range),
.ge-editor .bs-item-window:not(.bs-show-details) [data-affix-side]>strong,
.ge-editor .bs-item-window:not(.bs-show-details) .bs-catalogue-range,
.ge-editor .bs-item-window:not(.bs-show-details) .bs-catalogue-implicit:has(.bs-catalogue-range)>small {display:none}
.ge-editor .bs-item-window:not(.bs-show-details) [data-affix-side="prefix"]:has(+[data-affix-side="suffix"]) {padding-bottom:0}
.ge-editor .bs-item-window:not(.bs-show-details) [data-affix-side="prefix"]+[data-affix-side="suffix"] {background:none;padding-top:0}
.bs-item-window .bs-socket-value {text-align:start;padding:1px 0;font-size:.94em}
.bs-item-window .ge-roll-range:not([hidden]) {font-size:.82em;line-height:1.24;padding:1px 0}
.bs-item-window .bs-contribution {display:block;margin:2px 0;padding:1px 6px}
.bs-item-window .bs-contribution strong,.bs-item-window .bs-contribution-tier,.bs-item-window .bs-contribution-tier small {display:inline;font-size:inherit}
.bs-item-window .bs-contribution-tier::before,.bs-item-window .bs-contribution-tier small::before {content:' · '}
.bs-item-window .bs-tip-footer {padding:2px 6px;border-top:1px solid #383027;background:#0d0d0b}
.bs-item-window .ge-guide-actions {display:flex;align-items:center;flex-wrap:nowrap;width:100%;box-sizing:border-box;gap:1px;margin:0;padding:0;border:0;background:transparent}
.bs-item-window .ge-guide-actions>.ge-btn[data-tool] {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  height:30px;
  min-height:30px;
  min-width:0;
  margin:0;
  padding:0 4px;
  border:0;
  border-radius:3px;
  background:transparent;
  font:600 12px/16px var(--be-reading,system-ui);
  letter-spacing:normal;
  text-transform:none;
  text-decoration:none;
  white-space:nowrap;
}
.bs-item-window .ge-guide-actions>.ge-btn[data-tool]:is(:hover,:focus-visible) {background:#363735}
.ge-editor .bs-item-window .ge-guide-actions>.ge-btn[data-tool=copy]{color:#e0d9c9!important}.ge-editor .bs-item-window .ge-guide-actions>.ge-btn[data-tool=trade]{color:#96cfc1!important}.ge-editor .bs-item-window .ge-guide-actions>.ge-btn[data-tool=affix]{color:#95cddd!important}.ge-editor .bs-item-window .ge-guide-actions>.ge-btn[data-tool=regex]{color:#adcf86!important}.ge-editor .bs-item-window .ge-guide-actions>.ge-btn[data-tool=craft]{color:#e7bc83!important}.ge-editor .bs-item-window .ge-guide-actions>.ge-btn[data-tool=compare]{color:#c6a9ec!important}
.ge-editor .bs-item-window button.ge-alt-details {display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;gap:3px;margin:0 0 0 auto;padding:0 3px;height:30px;min-height:30px;min-width:0;white-space:nowrap;border:0;border-radius:2px;background:transparent;color:#cac3b6;font:600 12px/16px var(--be-reading,system-ui)}
.bs-item-window .ge-alt-details kbd {box-sizing:border-box;padding:0 3px;border:1px solid #665d4c;border-radius:3px;background:transparent;color:#dfd3b8;font:inherit}
.ge-editor .bs-item-window .ge-alt-details:is(:hover,:focus-visible,[aria-pressed=true]) {color:#e4cfef;background:#1f1b22}
.bs-item-window .bs-tip-footer>[role=status] {text-align:start}
.bs-item-window .bs-tip-footer>[role=status]:empty {display:none}
dialog.ge-compare{color:#e8e3d9;background:#17191a;width:min(900px,94vw);max-height:88dvh;overflow:auto}
dialog.ge-compare .ge-compare-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:12px}
dialog.ge-compare textarea{display:block;width:100%;margin:10px 0}
@media(max-width:600px) {
  .ge-editor .bs-item-window:not(.bs-show-details) .ge-item-body {font-size:17px;padding-inline:8px}
  .ge-editor .bs-item-window.bs-show-details .ge-item-body {font-size:14px;padding-inline:8px}
  .bs-item-window .ge-guide-actions>.ge-btn[data-tool],.ge-editor .bs-item-window button.ge-alt-details {height:34px;padding-inline:3px}
}
@media(max-width:360px) {
  .bs-item-window .bs-tip-footer {padding-inline:3px}
  .bs-item-window .ge-guide-actions {gap:0}
  .bs-item-window .ge-guide-actions>.ge-btn[data-tool],.ge-editor .bs-item-window button.ge-alt-details {padding-inline:2px;font-size:11.5px}
}

.br-ref-tip,.bp-node-tooltip,.bste .bste-tip{pointer-events:auto}
