.skill-tree{margin:20px 0;padding:14px;border:2px solid #7a68a0;background:#19172e}
.skill-tree h4{font-size:24px;margin:0 0 8px}
.skill-tree>p{font-size:16px;color:#bbdfe8}
.skill-map{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:64px;place-items:center;width:min(100%,240px);margin:0 auto 12px}
.skill-links{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.skill-links path{fill:none;stroke:#7365a1;stroke-width:2;vector-effect:non-scaling-stroke}
.skill-map .skill-bubble{position:relative;display:grid;place-content:center;gap:2px;width:54px;height:54px;min-width:44px;padding:0;border:2px solid #a594cc;border-radius:50%!important;background:#30264c;color:#e8d9ff;box-shadow:none;line-height:1}
.skill-bubble span{font-size:22px}
.skill-bubble small{font-size:12px}
.skill-map .skill-bubble.learned{background:#21454b;border-color:#75e6d8;color:#d8fff8}
.skill-map .skill-bubble.locked{background:#262638;color:#b1a6cb;border-style:dashed}
.skill-map .skill-bubble[aria-pressed=true]{outline:2px solid #ffdf94;outline-offset:3px}
.skill-bubble[data-skill-node=spark],.skill-bubble[data-skill-node=resonance],.skill-bubble[data-skill-node=mastery]{grid-column:1/-1}
.skill-detail{display:grid;gap:8px;padding:12px;border:1px solid #726391;background:#242039;min-width:0}
.skill-detail strong{font-size:18px;color:#f4e5ff}
.skill-detail p,.skill-detail small{margin:0;color:#d5c9eb;font-size:14px}
.skill-detail button{min-height:44px;white-space:normal}

.skill-detail button .companion-icon {
 width:20px;
 height:20px;
 vertical-align:middle;
 margin-inline-end:6px;
}
