.modal-backdrop:has(.talent-atlas) .modal { width: 1040px; }
.talent-atlas { --atlas-gold:#e5c991; --atlas-muted:#a3bbbf; color:#ebeadb; }
.atlas-header, .atlas-class, .atlas-wallet, .atlas-branches, .atlas-detail-title, .atlas-spend, .atlas-quantity { display:flex; align-items:center; }
.atlas-header { justify-content:space-between; gap:12px; margin-bottom:16px; }
.atlas-class { gap:13px; }
.atlas-class img,.atlas-emblem .atlas-mastery-emblem { filter:brightness(1.9) sepia(.35); }
.atlas-class img { width:52px; height:52px; object-fit:contain; }
.atlas-class small, .atlas-detail-title small, .atlas-caption { color:var(--atlas-gold); font-size:10px; font-weight:650; letter-spacing:1.1px; text-transform:uppercase; }
.atlas-class h3 { margin:3px 0 0; color:#f2e6c9; font:500 27px/1.15 Georgia,serif; }
.atlas-wallet { gap:9px; padding:7px 13px; border:1px solid #86764f; border-radius:8px; background:linear-gradient(120deg,#494735,#233a3d); }
.atlas-wallet b { color:#f6dda4; font:500 26px/1.1 Georgia,serif; }
.atlas-wallet span { max-width:72px; color:#e7d5aa; font-size:11px; line-height:1.3; }
.atlas-branches { gap:4px; padding:4px; margin-bottom:18px; border:1px solid #3d5962; border-radius:9px; background:#10242d; }
.atlas-branches button { display:flex; align-items:center; justify-content:center; gap:8px; flex:1; min-width:0; min-height:36px; border:1px solid transparent; border-radius:6px; background:transparent; box-shadow:none; color:#b9cdd0; }
.atlas-branches button small { padding:1px 6px; border-radius:4px; background:#829da31b; color:#a7c0c2; font-variant-numeric:tabular-nums; }
.atlas-branches button[aria-pressed="true"] { background:#304748; border-color:#777758; color:#f3deb0; }
.atlas-branches button[aria-pressed="true"] small { color:#eddaa8; }
.atlas-body { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); gap:18px; align-items:start; }
.atlas-library,.atlas-detail,.atlas-node-copy { min-width:0; }
.atlas-caption { margin:3px 0 10px; }
.atlas-nodes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.atlas-node { display:flex; align-items:center; gap:9px; min-width:0; min-height:63px; padding:9px; text-align:left; color:#e0e8df; background:#1d333d; border:1px solid #405b62; border-radius:7px; box-shadow:none; }
.atlas-node[aria-pressed="true"] { border-color:#b6a271; background:linear-gradient(110deg,#344b49,#22383f); box-shadow:inset 2px 0 #dfc48b; }
.atlas-node:hover,.atlas-branches button:hover { border-color:#84aaa1; }
.talent-atlas button:focus-visible { outline:2px solid #f2d79e; outline-offset:2px; }
.atlas-node-copy strong,.atlas-node-copy small { display:block; }
.atlas-node-copy strong { font-size:12px; line-height:1.28; color:inherit; }
.atlas-node-copy small { color:var(--atlas-muted); font:10px/1.4 system-ui,sans-serif; margin-top:3px; }
.atlas-node i { margin-left:auto; font:17px/1 Georgia,serif; color:#8faaa7; }
.atlas-node.locked .atlas-emblem { filter:saturate(.45); }
.atlas-node.locked .atlas-node-copy strong { color:#b4c3c3; }
.atlas-emblem { flex:0 0 auto; display:grid; place-items:center; width:38px; height:38px; overflow:hidden; border-radius:7px; background:radial-gradient(ellipse,#3c5756 0,#172e37 85%); border:1px solid #567078; }
.atlas-emblem.large { width:54px; height:54px; border-radius:10px; border-color:#928665; }
.atlas-emblem img { display:block; width:100%; height:100%; object-fit:contain; }
.atlas-emblem .stat-illustration { width:78%; height:78%; }
.atlas-detail { position:relative; padding:18px; border:1px solid #69746a; border-top:2px solid #af9b70; border-radius:9px; background:linear-gradient(135deg,#284047,#1a3039 78%); }
.atlas-detail-title { gap:12px; }
.atlas-detail-title h4 { margin:3px 0; color:#f1e2c0; font:500 21px/1.18 Georgia,serif; text-transform:none; letter-spacing:0; }
.atlas-detail-title span:not(.atlas-emblem) { font-size:11px; color:var(--atlas-muted); }
.atlas-detail p { margin:12px 0 0; color:#c9d8d6; font:12px/1.5 system-ui,sans-serif; }
.atlas-detail .atlas-mechanic { padding-left:10px; border-left:2px solid #918561; color:#dfd8bd; }
.atlas-values { width:100%; margin:15px 0 12px; border-collapse:collapse; font-variant-numeric:tabular-nums; }
.atlas-values th,.atlas-values td { padding:7px 5px; text-align:right; border-bottom:1px solid #4c666844; font-size:12px; }
.atlas-values th:first-child { padding-left:0; text-align:left; font-weight:500; }
.atlas-values thead th { color:#acc0c0; font-size:10px; }
.atlas-values td { white-space:nowrap; }
.atlas-values .atlas-gain { color:#a4dfb7; font-weight:700; }
.atlas-spend { justify-content:flex-end; gap:10px; }
.atlas-quantity { padding:2px; border:1px solid #50686c; border-radius:6px; }
.atlas-quantity button { padding:5px 9px; border:0; border-radius:4px; box-shadow:none; background:transparent; color:#b1c5c6; }
.atlas-quantity button[aria-pressed="true"] { background:#3b5558; color:#f0e4c5; }
.atlas-invest { padding:8px 14px; }
.atlas-detail .atlas-reason { margin:8px 0 0; text-align:right; color:#d6c59e; font-size:11px; }
.talent-atlas footer { margin-top:13px; font-size:11px; color:var(--atlas-muted); }
@media(max-width:850px) and (min-width:701px) {
 .atlas-body { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); }
 .atlas-nodes { grid-template-columns:1fr; }
}
@media(max-width:700px) {
 .atlas-body { grid-template-columns:minmax(0,1fr); gap:14px; }
 .atlas-branches button { gap:4px; padding:5px 3px; font-size:11px; }
 .atlas-branches button small { display:none; }
 .atlas-class img { width:35px; height:35px; }
 .atlas-class { gap:7px; }
 .atlas-class h3 { font-size:21px; }
 .atlas-wallet { gap:5px; padding:6px 8px; }
 .atlas-wallet b { font-size:21px; }
 .atlas-wallet span { max-width:54px; font-size:10px; }
 .atlas-node { padding:6px; gap:6px; min-height:55px; }
 .atlas-node i { display:none; }
 .atlas-emblem { width:30px; height:30px; }
 .atlas-detail { padding:14px; }
}
