.game-status-icon{position:relative;display:inline-block;flex:none;width:72px;height:72px;overflow:hidden;vertical-align:middle;pointer-events:none;aspect-ratio:1}
.game-status-icon::before{content:"";position:absolute;inset:0;background-image:url('assets/status-icons-spaced-v1.png');background-repeat:no-repeat;background-size:400% 400%;background-position:var(--status-x) var(--status-y)}
.talent-node>.game-status-icon{width:70%;height:auto;margin:0}
.talent-node>span{font-size:9px!important;margin:0!important;line-height:1}
.talent-tree2 .talent2-node>.game-status-icon{width:72%;height:auto;margin:0}
.talent-tree2 .talent2-node>span{font-size:8px;margin:0;line-height:1}
.guild-lab-grid{grid-template-columns:repeat(auto-fill,minmax(175px,1fr));align-items:stretch;grid-auto-rows:1fr}
.guild-lab-grid>.guild-research-card{display:grid;grid-template-rows:84px 18px 26px 1fr auto;justify-items:center;text-align:center;gap:7px;padding:12px;min-width:0}
.guild-research-card>.game-status-icon{width:84px;height:84px}
.guild-research-card>.guild-research-level{font-size:12px;color:#d7c89d;line-height:18px}
.guild-research-card>.guild-research-value{font-size:17px;color:#ffe4a5;line-height:26px}
.guild-research-card .guild-research-costs{justify-content:center;align-content:start;gap:5px}
.guild-research-card .guild-research-costs>span{padding:4px 5px;font-size:12px;gap:4px}
.guild-research-card>button{align-self:end;width:100%;padding:7px;margin:0}
.guild-confirm-art>.game-status-icon{width:96px;height:96px;transform:none!important}
#talentOverlay .talent-upgrade-result.success .talent-upgrade-orb{display:grid;place-items:center;background:transparent;box-shadow:none;border:0;border-radius:0}
#talentOverlay .talent-upgrade-orb>.game-status-icon{width:100%;height:100%;max-width:120px;max-height:120px;flex:none}
#talentOverlay .talent-upgrade-orb>.game-status-icon::before{inset:-20%}
.talent-node,.talent-tree2 .talent2-node{isolation:isolate;overflow:visible}
.talent-node>.game-status-icon,.talent-tree2 .talent2-node>.game-status-icon{position:absolute;inset:1px;width:calc(100% - 2px);height:calc(100% - 2px);margin:0;z-index:0}
.talent-node>.game-status-icon::before,.talent-tree2 .talent2-node>.game-status-icon::before{inset:-25%}
.talent-node>span,.talent-tree2 .talent2-node>span{position:absolute;bottom:-5px;left:50%;transform:translateX(-50%);padding:2px 4px;background:#102017ed;border-radius:5px;white-space:nowrap;font-size:9px!important;line-height:1;pointer-events:none}
.guild-lab-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.guild-lab-grid>.guild-research-card{position:relative;grid-template-rows:108px minmax(44px,auto) 32px;gap:8px;padding:28px 11px 10px}
.guild-research-card>.game-status-icon{width:108px;height:108px}
.guild-research-card>.guild-research-level{position:absolute;top:10px;left:12px;font-size:13px;font-variant-numeric:tabular-nums}
.guild-research-card>.guild-research-value{position:absolute;top:8px;right:12px;font-size:20px;line-height:24px;font-variant-numeric:tabular-nums;font-weight:800;text-shadow:0 2px 3px #000}
.guild-research-card .guild-research-costs{gap:3px;width:100%;justify-content:center}
.guild-research-card .guild-research-costs>span{padding:2px 4px;gap:3px;background:none}
.guild-research-card .guild-research-costs i{transform:scale(1)}
.guild-panel[data-guild-page="lab"]{min-height:0;gap:10px;padding:12px}
@media(max-width:1000px){.guild-lab-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:550px){.guild-lab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.talent-tree2{margin:max(-88px,-11vw) auto 0!important}
.talent-tree2>img{filter:none}
.talent-tree2 .talent2-path{fill:none;stroke:#4c563d;stroke-width:.46;stroke-linecap:round;opacity:.7;transition:stroke .2s,opacity .2s}
.talent-tree2 .talent2-path.lit{stroke:#e8c86b;stroke-width:.77;filter:drop-shadow(0 0 .62px #8dff9a);opacity:1}
.talent-tabs button.action-ready{position:relative;color:#fff0bd;background:linear-gradient(145deg,#63451d9c,#2a2112b5);border:1px solid #e7bf5d;box-shadow:0 0 13px #e9bd4f75;animation:tab-action-pulse 1.1s ease-in-out infinite alternate}
.talent-tabs button.action-ready::before{content:"";position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:50%;background:#fff08a;box-shadow:0 0 8px #ffdb58}
.talent-tabs button.action-ready.active{background:linear-gradient(145deg,#d2a84e,#7a4f17);color:#1d1509}
#tab-talents>.talent-title,#tab-talents>.talent-tabs{position:relative;top:-24px}
#talentTree{top:24px}
