.planner-shell{max-width:1600px}.d4-header{display:flex;justify-content:space-between;align-items:end;gap:22px;margin:12px 0 25px}.d4-header h1{font-size:52px;margin:8px 0 12px}.d4-header p{font-size:12px;margin:0;max-width:650px}.d4-top-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.d4-control-bar{display:flex;align-items:center;gap:14px;background:#14121c;border:1px solid #3e3148;border-radius:5px;padding:16px 18px;margin-bottom:16px;flex-wrap:wrap}.d4-control-bar label{font-size:9px;color:#8f819f;text-transform:uppercase;letter-spacing:1px}.d4-control-bar select,.d4-control-bar input{background:#0d0c13;border:1px solid #42324d;color:#e1d1ee;font-size:12px;padding:8px 10px;border-radius:3px;margin-left:10px}.d4-control-bar input{width:65px}.d4-control-bar .d4-budget{margin-left:auto;font-size:11px;color:#a08bad}.d4-budget strong{font-size:17px;color:#d4b7ef;margin:0 6px}.d4-tabs{display:flex;gap:25px;border-bottom:1px solid #3c2c44;margin:25px 0 22px;overflow:auto}.d4-tab{background:transparent;border-bottom:2px solid transparent;padding:0 0 14px;color:#9989a9;font-size:13px;font-weight:600;display:flex;gap:9px;align-items:center;white-space:nowrap}.d4-tab.active{color:#c9a9ec;border-color:#b98ee7}.d4-tab .badge{padding:2px 6px;font-size:8px;letter-spacing:0}.d4-workspace{display:grid;grid-template-columns:210px minmax(0,1fr) 260px;gap:17px;margin-bottom:40px;align-items:start}.d4-sidebar{background:#121019;border:1px solid #352a3e;border-radius:4px;overflow:hidden}.d4-sidebar-head{padding:17px;border-bottom:1px solid #302637}.d4-sidebar-head h2{font-size:23px;margin-bottom:8px}.d4-sidebar-head p{font-size:10px;margin:0;line-height:1.8}.d4-filter{padding:13px;border-bottom:1px solid #302637}.d4-filter input,.d4-filter select{width:100%;padding:9px 10px;font-size:11px;background:#0b0a11;color:#dbcee8;border:1px solid #403149;border-radius:3px;margin:0 0 8px}.d4-filter input:last-child,.d4-filter select:last-child{margin-bottom:0}.d4-list{max-height:625px;overflow:auto;padding:7px}.d4-list-button{padding:9px;display:flex;align-items:center;gap:10px;width:100%;background:transparent;text-align:left;color:#bcafc9;border:1px solid transparent;border-radius:3px;margin-bottom:3px;font-size:11px;line-height:1.45}.d4-list-button:hover,.d4-list-button.selected{border-color:#695078;background:#261c30}.d4-list-button small{display:block;font-size:8px;color:#7b6d8b;margin-top:4px}.d4-list-button img{width:32px;height:32px;object-fit:contain;flex:none}.d4-list-button .d4-list-rank{margin-left:auto;font-size:10px;color:#c4a5e0}.d4-texture-missing{width:32px;height:32px;display:grid;place-items:center;border:1px dashed #5a445f;color:#856b91;background:#1d1424;flex:none;font-size:8px;text-align:center}.d4-map-panel{min-width:0;border:1px solid #48314b;border-radius:4px;background:#0f0c15;overflow:hidden}.d4-map-toolbar{display:flex;align-items:center;gap:9px;padding:12px 14px;border-bottom:1px solid #38253f;flex-wrap:wrap;background:#16101e}.d4-map-toolbar .small{color:#85718f;font-size:10px;margin-right:auto}.d4-map-toolbar button{background:#271b30;border:1px solid #51365d;width:30px;height:29px;border-radius:3px;color:#c6a4df;display:grid;place-items:center;font-size:15px}.d4-map-toolbar button.d4-auto{width:auto;font-size:9px;padding:0 10px}.d4-map-toolbar span.d4-zoom{font-size:9px;color:#aa8bbc;min-width:37px;text-align:center}.d4-tree-viewport{height:660px;overflow:auto;position:relative;cursor:grab;background:radial-gradient(ellipse at center,#34213e22,transparent 70%),#0d0a12;overscroll-behavior:contain;touch-action:pan-x pan-y;scrollbar-color:#56405f #100c17;scrollbar-width:thin}.d4-tree-viewport.dragging{cursor:grabbing;user-select:none}.d4-tree-map{position:relative;min-width:100%;min-height:100%;isolation:isolate}.d4-tree-map>svg{position:absolute;inset:0;pointer-events:none;width:100%;height:100%;overflow:visible;z-index:-1}.d4-tree-edge{fill:none;stroke:#513b5c;stroke-width:2.5}.d4-tree-edge.allocated{stroke:#b386cb;stroke-width:3}.d4-tree-node{position:absolute;transform:translate(-50%,-50%);border:1px solid #694571;background:linear-gradient(140deg,#33223d,#110c17);padding:3px;display:grid;place-items:center;color:#cab0d9;border-radius:50%;width:40px;height:40px;cursor:pointer;box-shadow:0 0 12px #000b;z-index:2}.d4-tree-node img{width:100%;height:100%;object-fit:contain;border-radius:inherit;pointer-events:none}.d4-tree-node.is-active{width:53px;height:53px;border-radius:5px;border-color:#866a4a}.d4-tree-node.is-hub{background:#201628;border-color:#654076;width:29px;height:29px;cursor:default;border-radius:50%;box-shadow:0 0 10px #64447520}.d4-tree-node.is-hub:before{content:'';width:9px;height:9px;transform:rotate(45deg);border:1px solid #84638c;background:#2f1d3a}.d4-tree-node.is-branch{background:#201628;width:15px;height:15px;cursor:default;border-color:#5c3a69;box-shadow:none;z-index:1}.d4-tree-node.is-branch:before{content:'';width:4px;height:4px;border:1px solid #664571;transform:rotate(45deg)}.d4-tree-node.allocated{border-color:#d9af73;box-shadow:0 0 17px #ac6a3c3b;background:#352137}.d4-tree-node.selected{outline:2px solid #c7a3ee;outline-offset:4px;z-index:5}.d4-tree-node.dimmed{opacity:.23}.d4-tree-node.locked{filter:grayscale(1);opacity:.45}.d4-tree-node .d4-rank{position:absolute;bottom:-10px;right:-8px;font-size:8px;line-height:1.5;min-width:23px;text-align:center;background:#160e1d;border:1px solid #7e5c47;color:#d9ba86;border-radius:3px;padding:0 3px;white-space:nowrap;pointer-events:none}.d4-hub-label{position:absolute;transform:translate(-50%,-50%);width:140px;text-align:center;color:#ae8dba;font-size:11px;font-weight:600;letter-spacing:1px;text-transform:uppercase;pointer-events:none;white-space:nowrap}.d4-map-footer{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:10px 15px;font-size:8px;color:#7d6689;border-top:1px solid #32213c;line-height:1.8}.d4-map-footer span{display:flex;align-items:center;gap:6px}.d4-map-footer i{width:7px;height:7px;border:1px solid #765586;display:block;border-radius:50%}.d4-map-footer .gold i{border-color:#d4b17b;background:#d4b17b22}.d4-inspector{padding:21px;background:linear-gradient(150deg,#201426,#100b17);border:1px solid #56335a;border-radius:4px;position:sticky;top:105px;min-height:350px;min-width:0}.d4-inspector .eyebrow{font-size:8px;color:#aa88bd}.d4-inspector h2{font-size:29px;margin:11px 0 15px;overflow-wrap:anywhere}.d4-inspector .d4-inspect-img{width:72px;height:72px;margin:0 0 18px;border:1px solid #6c4a4c;background:#170e20;object-fit:contain;padding:4px}.d4-inspector>p{font-size:11px;color:#b5a0c1;line-height:1.9;overflow-wrap:anywhere;white-space:pre-line}.d4-inspector .source-ref{font-size:8px;color:#765e83;border-top:1px solid #45294f;margin-top:17px;padding-top:12px;word-break:break-all}.d4-rank-actions{display:flex;align-items:center;gap:10px;margin:22px 0 15px}.d4-rank-actions button{width:33px;height:33px;border:1px solid #7f598e;background:#3f284e;font-size:19px;border-radius:3px;color:#ddc1ed}.d4-rank-actions strong{font-size:18px;color:#e5cfa6;flex:1;text-align:center}.d4-rank-actions strong small{font-size:10px;color:#8c729b}.d4-node-fields{display:flex;gap:5px;flex-wrap:wrap;margin:14px 0}.d4-node-fields .badge{font-size:8px;letter-spacing:0;white-space:normal}.d4-inspector .btn{width:100%;font-size:11px;margin-top:9px;padding:9px}.d4-inline-msg{color:#c79480;font-size:10px;margin-top:12px;line-height:1.8}.d4-skillbar-wrap{border:1px solid #3f2a49;background:#15101b;border-radius:4px;padding:18px 21px;margin:0 0 20px;display:flex;gap:20px;align-items:center}.d4-skillbar-wrap>div:first-child{max-width:170px}.d4-skillbar-wrap h3{font-size:12px;margin:0 0 5px}.d4-skillbar-wrap p{font-size:9px;color:#8b7399;margin:0}.d4-skillbar{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;flex:1}.d4-bar-slot{border:1px solid #684b6e;min-height:58px;display:flex;align-items:center;justify-content:center;gap:7px;position:relative;background:#1e1426;padding:7px;color:#9872aa;border-radius:3px}.d4-bar-slot img{width:38px;height:38px;object-fit:contain}.d4-bar-slot>span{font-size:9px;line-height:1.3;max-width:65px;text-align:left}.d4-bar-slot small{position:absolute;left:4px;top:1px;font-size:7px;color:#6f557d}.d4-bar-slot .d4-bar-remove{position:absolute;right:3px;top:1px;font-size:12px;background:transparent;padding:0 2px;color:#94739c}.d4-catalog-shell{display:grid;grid-template-columns:215px minmax(0,1fr) 285px;gap:18px;align-items:start}.d4-gear-slots{display:grid;gap:8px}.d4-equipped-slot{background:#17101d;border:1px solid #46304d;padding:12px 13px;border-radius:3px;display:flex;align-items:center;gap:12px;text-align:left;min-height:70px;width:100%}.d4-equipped-slot.selected{border-color:#b98ce1;background:#2b1b36}.d4-equipped-slot img{width:38px;height:45px;object-fit:contain;flex:none}.d4-equipped-slot>div{min-width:0}.d4-equipped-slot strong{display:block;font-size:10px;color:#d6bb8e;line-height:1.5}.d4-equipped-slot span{display:block;color:#8b7296;text-transform:uppercase;font-size:8px;letter-spacing:.6px;margin-bottom:4px}.d4-catalog-head{display:flex;align-items:center;gap:10px;margin-bottom:16px;flex-wrap:wrap}.d4-catalog-head input,.d4-catalog-head select{background:#15101c;border:1px solid #44304c;border-radius:3px;padding:11px 12px;color:#cab3dc;font-size:11px}.d4-catalog-head input{flex:1;min-width:150px}.d4-catalog-head select{width:125px}.d4-item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:690px;overflow:auto;padding:0 5px 10px 0;scrollbar-color:#56405f #100c17}.d4-item-card{padding:15px 12px;text-align:center;background:#141019;border:1px solid #392940;display:flex;flex-direction:column;align-items:center;border-radius:3px;min-height:165px;gap:9px}.d4-item-card:hover,.d4-item-card.selected{border-color:#a885bf;background:#22162b}.d4-item-card img{width:62px;height:72px;object-fit:contain}.d4-item-card strong{font-size:10px;color:#d1b38b;line-height:1.5;font-weight:500}.d4-item-card small{font-size:8px;text-transform:uppercase;letter-spacing:.6px;color:#8f729d;margin-top:auto}.d4-item-card .d4-texture-missing{width:60px;height:65px;font-size:8px}.d4-catalog-meta{font-size:9px;color:#776386;margin:12px 0}.d4-record-list{padding-left:15px;font-size:10px;color:#b49bc4;line-height:1.85}.d4-record-list li{margin-bottom:9px}.d4-board-node{position:absolute;transform:translate(-50%,-50%);width:18px;height:18px;background:#281c30;border:1px solid #5b4067;padding:0;display:grid;place-items:center;border-radius:2px;z-index:2}.d4-board-node img{width:100%;height:100%;object-fit:contain;pointer-events:none}.d4-board-node.type-magic{border-color:#5083a0;background:#162935}.d4-board-node.type-rare{border-color:#b89b4c;background:#322a13;width:22px;height:22px}.d4-board-node.type-legendary{border-color:#b67e36;background:#3f2515;width:28px;height:28px;transform:translate(-50%,-50%) rotate(45deg)}.d4-board-node.type-legendary img{transform:rotate(-45deg)}.d4-board-node.type-glyph{border-color:#bc80d4;background:#361c43;width:26px;height:26px;border-radius:50%}.d4-board-node.type-gate{border-color:#a49778;background:#393123;width:23px;height:23px;transform:translate(-50%,-50%) rotate(45deg)}.d4-board-node.allocated{border-color:#f0d79a;box-shadow:0 0 8px #dca94e77;background:#79572a}.d4-board-node.selected{outline:2px solid #e4b8fa;outline-offset:4px;z-index:6}.d4-board-node.dimmed{opacity:.2}.d4-board-gridline{stroke:#59426555;stroke-width:1.4}.d4-board-gridline.allocated{stroke:#c29b63;stroke-width:2}.d4-board-chip{padding:12px 14px;background:#1b1422;border:1px solid #4b3457;text-align:left;display:block;width:100%;margin-bottom:7px;border-radius:3px}.d4-board-chip.selected{border-color:#a778c7;background:#302039}.d4-board-chip strong{display:block;font-size:11px;color:#c5a1d7}.d4-board-chip small{font-size:9px;color:#8a6b99}.d4-source-details{margin:30px 0 60px;border:1px solid #35243e;background:#120d19;border-radius:4px;padding:22px 25px}.d4-source-details summary{font-size:12px;color:#ad8ec3;cursor:pointer}.d4-source-details p,.d4-source-details li{font-size:10px;color:#8c749b;line-height:1.9}.d4-source-details code{font-size:9px;overflow-wrap:anywhere}.d4-warning{border-left:2px solid #b2845c;background:#b2845c0c;padding:15px 18px;color:#b89b8a;font-size:11px;line-height:1.8;margin-bottom:22px}.d4-loading{padding:75px 25px;border:1px solid #48304f;background:#15101b;text-align:center;margin-bottom:60px}.d4-loading h2{font-size:34px}.d4-loading p{font-size:12px}.d4-spin{width:28px;height:28px;border:2px solid #554061;border-top-color:#c298e2;border-radius:50%;margin:0 auto 24px;animation:d4-spin 1.4s linear infinite}@keyframes d4-spin{to{transform:rotate(360deg)}}.d4-mobile-inspect{display:none}.d4-wide-label{display:inline}.d4-reset-link{color:#856794;background:none;font-size:10px;padding:8px}.d4-point-label{display:flex;gap:12px;font-size:9px;color:#a589b5;padding:12px 15px;border-bottom:1px solid #37233f}.d4-point-label strong{color:#d9bc8b;font-size:12px}.d4-shape-note{color:#7c618c;font-size:9px;margin:0 0 15px}.d4-limit{color:#f0b19c!important}.d4-board-select{width:100%;background:#120e19;color:#c9afdd;padding:10px;font-size:11px;border:1px solid #51385e;border-radius:3px}.d4-root-name{color:#b798c7;font-size:10px;padding:12px 13px;border-bottom:1px solid #33213e}
@media(min-width:1600px){.d4-workspace{grid-template-columns:230px minmax(0,1fr) 285px}.d4-tree-viewport{height:730px}.d4-item-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){.d4-workspace{grid-template-columns:175px minmax(0,1fr) 220px;gap:12px}.d4-inspector{padding:17px}.d4-inspector h2{font-size:26px}.d4-catalog-shell{grid-template-columns:180px minmax(0,1fr) 230px;gap:12px}.d4-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.d4-skillbar-wrap{gap:15px;padding:15px}.d4-skillbar-wrap>div:first-child{max-width:120px}.d4-bar-slot{flex-direction:column}.d4-bar-slot>span{text-align:center;font-size:8px;max-width:none}.d4-control-bar .d4-budget{margin-left:0}.d4-header{align-items:start}.d4-top-actions{max-width:260px;justify-content:end}.d4-top-actions .btn{font-size:10px;padding:9px 12px}}
@media(max-width:950px){.d4-workspace{grid-template-columns:165px minmax(0,1fr)}.d4-inspector{grid-column:1/-1;position:static;min-height:0}.d4-inspector .d4-inspect-img{float:left;width:55px;height:55px;margin:0 18px 12px 0}.d4-inspector h2{font-size:27px}.d4-inspector>p{font-size:12px}.d4-inspector .source-ref{clear:both}.d4-rank-actions{max-width:210px}.d4-inspector .btn{width:auto;min-width:150px}.d4-catalog-shell{grid-template-columns:170px minmax(0,1fr)}.d4-catalog-shell .d4-inspector{grid-column:1/-1}.d4-item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.d4-tree-viewport{height:600px}.d4-skillbar-wrap{display:block}.d4-skillbar-wrap>div:first-child{max-width:none;margin-bottom:13px}.d4-skillbar-wrap p{font-size:10px}.d4-bar-slot{flex-direction:row}.d4-bar-slot>span{text-align:left;font-size:9px}}
@media(max-width:600px){.d4-header{display:block;margin-top:5px}.d4-header h1{font-size:43px}.d4-header p{font-size:11px;line-height:1.9}.d4-top-actions{max-width:none;justify-content:start;margin-top:20px;gap:6px}.d4-top-actions .btn{font-size:10px;min-height:35px;padding:8px 11px}.d4-control-bar{padding:13px;gap:10px}.d4-control-bar label{font-size:8px;letter-spacing:.5px;display:flex;align-items:center}.d4-control-bar select{font-size:11px;margin-left:7px;width:125px}.d4-control-bar input{font-size:11px;width:52px;margin-left:7px;padding:8px 7px}.d4-control-bar .d4-budget{font-size:9px;width:100%;padding-top:10px;border-top:1px solid #3b2745}.d4-budget strong{font-size:15px}.d4-tabs{gap:22px;margin-top:20px}.d4-tab{font-size:11px;gap:6px}.d4-tab .badge{font-size:7px}.d4-workspace{display:flex;flex-direction:column;gap:12px}.d4-workspace>.d4-sidebar{width:100%}.d4-sidebar-head{padding:14px}.d4-sidebar-head h2{font-size:24px;margin-bottom:5px}.d4-sidebar-head p{font-size:9px}.d4-filter{padding:10px}.d4-workspace>.d4-sidebar .d4-list{max-height:135px;display:flex;overflow:auto;gap:5px}.d4-list-button{width:155px;flex:none;margin:0;padding:8px;gap:8px;align-items:start}.d4-list-button img{width:27px;height:27px}.d4-list-button strong{font-size:10px}.d4-list-button .d4-list-rank{font-size:8px}.d4-list-button small{font-size:7px}.d4-map-panel{width:100%}.d4-tree-viewport{height:490px}.d4-map-toolbar{padding:10px;gap:7px}.d4-map-toolbar .small{font-size:8px;max-width:130px}.d4-map-toolbar button{width:27px;height:27px}.d4-map-toolbar span.d4-zoom{font-size:8px;min-width:28px}.d4-map-toolbar button.d4-auto{font-size:8px;padding:0 8px}.d4-map-footer{font-size:7px;padding:10px;gap:10px}.d4-inspector{width:100%;padding:18px}.d4-inspector>p{font-size:11px}.d4-inspector h2{font-size:28px}.d4-inspector .eyebrow{font-size:8px}.d4-skillbar{grid-template-columns:repeat(3,1fr);gap:8px}.d4-bar-slot{min-height:55px;gap:6px;padding:8px}.d4-bar-slot img{width:31px;height:31px}.d4-bar-slot>span{font-size:8px}.d4-skillbar-wrap{padding:15px}.d4-catalog-shell{display:block}.d4-gear-slots{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:20px}.d4-equipped-slot{padding:10px;gap:8px;min-height:66px}.d4-equipped-slot img{width:30px;height:38px}.d4-equipped-slot strong{font-size:9px}.d4-equipped-slot span{font-size:7px}.d4-catalog-head input{min-width:0;width:100%;flex-basis:100%;font-size:11px}.d4-catalog-head select{width:calc(50% - 5px);font-size:10px}.d4-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:550px;margin-bottom:18px}.d4-item-card{min-height:150px;padding:12px}.d4-item-card strong{font-size:9px}.d4-item-card small{font-size:7px}.d4-catalog-meta{font-size:8px}.d4-source-details{padding:18px;margin:25px 0 40px}.d4-source-details summary{font-size:11px}.d4-source-details p,.d4-source-details li{font-size:9px}.d4-warning{font-size:10px;padding:13px 16px}.d4-board-chip{display:inline-block;width:160px;flex:none;margin-bottom:0}.d4-workspace>.d4-sidebar .d4-board-list{padding:10px;display:flex;overflow:auto;gap:7px}.d4-board-chip strong{font-size:10px}.d4-board-chip small{font-size:8px}.d4-root-name{font-size:9px}}
.d4-header h1{font-size:48px;line-height:1.1}.d4-header h1 em{color:#c1a0d6;font-style:normal}.d4-tree-node:not(.is-hub):not(.is-branch){border-radius:2px;padding:0;background:#17121e}.d4-tree-node img{border-radius:0}.d4-tree-node.allocated{border-color:#f4c66d;box-shadow:0 0 0 1px #a77f3c,0 0 12px #ac6a3c3b}.d4-tree-edge.allocated{stroke:#c6a052}.d4-bar-ranks{display:block;font-size:10px;color:#ebcc87;margin-top:4px}.d4-bar-slot[role=button]{cursor:pointer}.d4-reference-credit{font-size:11px;color:#9d8ba9;display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 32px;align-items:center}.d4-reference-credit a{color:#d7bd91}.d4-reference-credit>span{margin-left:auto;color:#736582;font-size:10px}.d4-overview-section{margin:0 0 38px}.d4-section-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 20px}.d4-section-heading h2{font-size:31px;margin:7px 0 0}.d4-section-heading .eyebrow{font-size:9px}.d4-loadout-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.d4-loadout-card{min-width:0;min-height:220px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:17px 12px;background:radial-gradient(ellipse at 50% 30%,#68452428,transparent 75%),#15101c;border:1px solid #4d3843;border-top-color:#b19258;border-radius:4px;transition:background .2s,border-color .2s}.d4-loadout-card:hover{background-color:#261b2e;border-color:#d0b17d}.d4-loadout-card>small{font-size:9px;color:#8e7c9c;letter-spacing:.8px;text-transform:uppercase}.d4-loadout-card>img{width:80px;height:100px;object-fit:contain;margin:13px 0 12px;filter:drop-shadow(0 9px 9px #0008)}.d4-loadout-card>strong{font-size:12px;color:#dcc7a0;line-height:1.45;font-weight:500}.d4-loadout-card>span{font-size:9px;color:#8b789a;line-height:1.5;margin-top:8px}.d4-loadout-card.rarity-mythic{border-top-color:#b68de0;background-image:radial-gradient(ellipse at 50% 30%,#834cc229,transparent 75%)}.d4-loadout-card.rarity-mythic>strong{color:#d0a5f4}.d4-gear-empty{display:grid;place-items:center;font-size:26px;color:#5f4b6e;min-height:90px}.d4-talisman-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-top:18px}.d4-talisman-card{background:#14101a;border:1px solid #3f3149;border-radius:4px;padding:12px;display:flex;gap:10px;align-items:center;text-align:left;min-width:0}.d4-talisman-card img{width:38px;height:50px;object-fit:contain}.d4-talisman-card>span{min-width:0}.d4-talisman-card small{font-size:8px;color:#8c779c;display:block;margin-bottom:5px}.d4-talisman-card strong{font-size:10px;line-height:1.5;font-weight:500;color:#c8b194;display:block}.d4-talisman-card .d4-gear-empty{width:35px;min-height:50px}.d4-allocation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.d4-allocation-card{border:1px solid #3d3046;background:#14101b;padding:18px;border-radius:4px}.d4-allocation-card>button{display:flex;gap:14px;align-items:center;background:transparent;text-align:left;padding:0;color:#ddc7a3;margin-bottom:17px}.d4-allocation-card>button img{width:48px;height:48px}.d4-allocation-card>button strong{font-size:14px;font-weight:500}.d4-allocation-card small{display:block;font-size:10px;color:#ac8fc0;margin-top:7px}.d4-allocation-card>div{display:grid;gap:8px}.d4-allocation-card>div button{background:#221929;border:1px solid #36273d;color:#b5a2c3;text-align:left;display:flex;align-items:center;gap:9px;font-size:11px;padding:7px}.d4-allocation-card>div img{width:25px;height:25px;object-fit:contain}.d4-allocation-card>div span{flex:1}.d4-allocation-card>div b{float:right;font-weight:400;color:#d2b576;font-size:9px}.d4-paragon-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.d4-paragon-summary>button{background:#19131f;border:1px solid #49364e;border-top-color:#bd9959;padding:18px 14px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}.d4-paragon-summary img{width:54px;height:54px}.d4-paragon-summary small{color:#8f789d;font-size:9px}.d4-paragon-summary strong{color:#d3bc96;font-size:13px;font-weight:500}.d4-paragon-summary span{color:#9d84ae;font-size:11px}.d4-board-node{width:var(--cell-size,24px)!important;height:var(--cell-size,24px)!important;border-radius:50%;border:1px solid #594d45;background:radial-gradient(circle,#37323a,#18141c);box-shadow:inset 0 0 3px #000;transform:translate(-50%,-50%)!important;opacity:.6;color:#b1aa9a}.d4-board-node img{width:90%;height:90%;transform:none!important;object-fit:contain}.d4-board-node .d4-node-mask{width:65%;height:65%;display:block;background:currentColor;mask-image:var(--node-image);mask-size:contain;mask-repeat:no-repeat;mask-position:center;-webkit-mask-image:var(--node-image);-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;pointer-events:none}.d4-board-node.type-magic{color:#8ab9dd;border-color:#476b85;background:radial-gradient(circle,#293b50,#151a25)}.d4-board-node.type-rare{color:#d8c373;border:2px solid #9b873e;background:radial-gradient(circle,#514627,#1c1713)}.d4-board-node.type-legendary{color:#f0c16a;border:2px solid #bb823d;border-radius:3px;background:radial-gradient(circle,#5d3e22,#201310)}.d4-board-node.type-glyph{border-color:#9781bf;border-radius:50%;background:#1c152a}.d4-board-node.type-gate{color:#d5be8a;background:#3b3324;border:2px solid #8f7c52;border-radius:2px}.d4-board-node.allocated{opacity:1;border-color:#dfbd69;box-shadow:0 0 3px #f1bd5b66;background:radial-gradient(circle,#514425,#1c1718)}.d4-board-node.allocated.type-magic{background:radial-gradient(circle,#234e72,#171c2b)}.d4-board-node.allocated.type-rare{background:radial-gradient(circle,#71602d,#322812)}.d4-board-node.selected{outline:2px solid #e7c5ff}.d4-board-gridline{stroke:#5d526142}.d4-board-gridline.allocated{stroke:#c2a35a;stroke-width:1.8}.d4-board-joint{stroke:#eac069;stroke-width:4}.d4-board-caption{position:absolute;color:#d3b77c;font-size:11px;z-index:4;white-space:nowrap;pointer-events:none}.d4-board-caption span{color:#927f9e;font-size:9px;padding-left:8px}.d4-glyph-radius{fill:#b88dff08;stroke:#a187bd50;stroke-width:1;stroke-dasharray:4 3}.d4-map-panel.d4-expanded{position:fixed;inset:18px;z-index:1000;width:auto;background:#100b17}.d4-expanded .d4-tree-viewport{height:calc(100vh - 178px)}.d4-expanded .d4-map-toolbar:after{content:'Click Expand to return';font-size:10px;color:#ad95bd}.d4-reference-credit a:hover{color:#f3d798}
@media(max-width:1200px){.d4-loadout-grid{grid-template-columns:repeat(4,1fr)}.d4-talisman-grid{grid-template-columns:repeat(4,1fr)}.d4-paragon-summary{grid-template-columns:repeat(5,1fr)}.d4-paragon-summary strong{font-size:11px}.d4-paragon-summary small{font-size:8px}}
@media(max-width:800px){.d4-allocation-grid{grid-template-columns:repeat(2,1fr)}.d4-loadout-grid{grid-template-columns:repeat(3,1fr)}.d4-talisman-grid{grid-template-columns:repeat(3,1fr)}.d4-paragon-summary{grid-template-columns:repeat(3,1fr)}.d4-reference-credit>span{margin-left:0;display:block;width:100%}}
@media(max-width:500px){.d4-header h1{font-size:36px}.d4-loadout-grid{grid-template-columns:repeat(2,1fr);gap:8px}.d4-loadout-card{min-height:200px;padding:14px 9px}.d4-loadout-card>img{height:85px;margin:9px 0}.d4-loadout-card>strong{font-size:11px}.d4-loadout-card>small{font-size:8px}.d4-talisman-grid{grid-template-columns:repeat(2,1fr);gap:8px}.d4-allocation-grid{grid-template-columns:1fr}.d4-paragon-summary{grid-template-columns:repeat(2,1fr)}.d4-section-heading h2{font-size:27px}.d4-section-heading .btn{font-size:9px;padding:10px}.d4-reference-credit{font-size:10px;line-height:1.7}.d4-board-caption{font-size:8px}.d4-board-caption span{font-size:7px}.d4-map-panel.d4-expanded{inset:5px}.d4-map-panel.d4-expanded .d4-tree-viewport{height:calc(100vh - 205px)}}

.d4-bar-inspect{display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;color:#bba2cb;padding:0;width:100%;min-height:44px;text-align:left}.d4-bar-inspect>span{font-size:10px;line-height:1.4}.d4-item-targets{border-top:1px solid #49314f;border-bottom:1px solid #49314f;padding:15px 0;margin:18px 0}.d4-item-targets h3{font-size:12px;color:#d2b67c;margin:0 0 10px}.d4-item-targets p{font-size:10px;color:#baa4c8;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere}.d4-inspect-node-art{width:60px;height:60px;color:#d3bc84;background:#241c23;border:1px solid #8a7553;border-radius:50%;display:grid;place-items:center}.d4-inspect-node-art img{width:90%;height:90%;object-fit:contain}.d4-inspect-node-art .d4-node-mask{display:block;width:65%;height:65%;background:currentColor;mask-image:var(--node-image);mask-position:center;mask-size:contain;mask-repeat:no-repeat}.d4-map-panel:focus-within{border-color:#9c78b9}
@media(max-width:600px){.d4-bar-inspect{gap:6px}.d4-bar-inspect>span{font-size:8px}.d4-bar-inspect img{width:29px;height:29px}.d4-reference-credit{margin-bottom:24px}}

.d4-tabs{scroll-margin-top:105px}.d4-board-caption{white-space:normal;line-height:1.25}.d4-board-caption span{display:block;padding-left:0;margin-top:2px;font-size:8px}.d4-inspector .d4-inspect-node-art{margin-bottom:15px}.d4-map-panel.d4-expanded{z-index:10001}.d4-expanded .d4-board-caption{font-size:12px}
#d4-paragon-map,#d4-tree-map{min-width:0;min-height:0;margin:0 auto}.d4-map-panel.d4-expanded .d4-board-caption{font-size:10px}.d4-tree-node:focus-visible,.d4-board-node:focus-visible{outline:2px solid #c7a3ee;outline-offset:3px}
