.path-season {
  padding: clamp(16px, 2.3vw, 28px);
  border: 1px solid #54d4c46b;
  border-radius: 14px;
  background: radial-gradient(ellipse at 65% 0, #19463d91, transparent 68%), #101f2b;
}
.path-season__top, .path-season__labels, .path-toolbar__groups {
  display: flex; align-items: center; justify-content: space-between; gap: 8px 18px; flex-wrap: wrap;
}
.path-season__top p { margin: 5px 0 0; color: #adcad1; }
.path-season__top strong { color: #b8fcdf; font-size: clamp(22px, 3.2vw, 34px); }
.path-season__top h3 { margin: 0; font-size: clamp(19px, 2.3vw, 28px); }
.path-xp { height: 16px; margin: 15px 0 8px; overflow: hidden; border: 1px solid #4c716e; border-radius: 7px; background: #06161d; }
.path-xp i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #388bdd, #5de3db 62%, #aff9c5); box-shadow: 0 0 15px #71e7d56e; transition: width .25s ease-out; }
.path-season__labels { font-size: 13px; color: #a6ccd2; }
.path-toolbar { margin: 22px 0; display: grid; gap: 13px; }
.path-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.path-tabs button, .path-secondary, .path-pin, .path-link {
  border: 1px solid #405764; background: #101d2a; color: #cbdae2; border-radius: 7px; font-weight: 650;
}
.path-tabs button, .path-secondary, .path-pin { padding: 8px 12px; }
.path-tabs button[aria-pressed="true"] { background: #17413b; border-color: #7ce3d1; color: #e5fff8; }
.path-tabs button:hover, .path-secondary:hover, .path-link:hover { border-color: #77ded2; color: #effffd; }
.path-toolbar__inputs { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, 1fr); gap: 10px; }
.path-toolbar__inputs label {
  min-width: 0; display: grid; align-content: center; gap: 4px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: #101e2a; color: #b4c9d3;
}
.path-toolbar__inputs label > span { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 8px; font-size: 12px; }
.path-toolbar__inputs input, .path-toolbar__inputs select { min-width: 0; width: 100%; }
.path-toolbar__inputs select, .path-toolbar__mobile select { min-height: 36px; border: 1px solid #415665; border-radius: 5px; padding: 5px 8px; background: #0b1622; color: #d9ecef; }
.path-toolbar__inputs output { color: #a6f4d2; font-weight: 750; }
.path-toolbar__mobile { display: none; }
.path-toolbar__counts { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #afc5cc; font-size: 12px; }
.path-pickups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.path-pickup {
  min-width: 0; padding: 9px 10px; display: flex; align-items: center; gap: 8px;
  border: 1px solid #3a5260; border-top: 2px solid var(--pickup-accent); border-radius: 8px; background: #111f2d;
}
.path-pickup img { width: 35px; height: 35px; object-fit: contain; }
.path-pickup dt { color: var(--pickup-accent); font-size: 11px; }
.path-pickup dd { margin: 0; color: #edf6f9; font-weight: 750; }
.path-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(225px, 285px); gap: 17px; align-items: start; }
.path-map {
  min-width: 0; border: 1px solid #314d5a; border-radius: 12px; padding: clamp(10px, 2vw, 20px);
  background: radial-gradient(ellipse at 50% 0, #21424b8a, transparent 45%), #0d1824;
}
.path-roots { display: grid; width: min(100%, 270px); gap: 19px; margin: 0 auto; }
.path-node {
  min-width: 0; width: 100%; display: grid; gap: 6px; position: relative;
  padding: 10px; border: 1px solid #3d5361; border-radius: 9px; color: #d8e8ed;
  background: linear-gradient(140deg, #1c2f40, #111e2c 76%); text-align: start;
}
.path-node:hover { border-color: #9dcbe0; }
.path-node.is-route { border-color: var(--node-accent); }
.path-node.is-selected { box-shadow: 0 0 0 2px var(--node-accent), 0 0 14px #4fe7cd33; }
.path-node[data-state="done"] { background: linear-gradient(142deg, #24483d, #162b2e 75%); }
.path-node[data-state="locked"] { background: #111c27; color: #afc0ca; }
.path-node__top { display: flex; align-items: center; gap: 7px; min-width: 0; }
.path-node__image, .path-detail__badge {
  display: grid; place-items: center; flex: none; border-radius: 9px; border: 1px solid #7593a36b;
  background: radial-gradient(ellipse at 35% 15%, #597b8a60, #0c1724 73%); box-shadow: inset 0 1px 0 #cbebfa52;
}
.path-node__image { width: 36px; height: 38px; }
.path-node__image img { display: block; width: 31px; height: 31px; object-fit: contain; }
.path-node__label { min-width: 0; }
.path-node__label strong { display: block; font-size: 13px; line-height: 1.22; overflow-wrap: anywhere; }
.path-node__label > span { display: block; color: #b5c9d2; font-size: 11px; line-height: 1.22; }
.path-node__footer { display: flex; justify-content: space-between; gap: 4px; color: #acc2ca; font-size: 10px; line-height: 1.22; }
.path-node[data-state="done"] .path-node__footer { color: #a5edd5; }
.path-node[data-state="unknown"] .path-node__footer { color: #f2ce85; }
.path-node__bar { display: block; height: 3px; border-radius: 3px; overflow: hidden; background: #3e5360; }
.path-node__bar i { display: block; height: 100%; background: var(--node-accent); }
.path-roots .path-node + .path-node::before, .path-lane__nodes .path-node + .path-node::before {
  content: ''; position: absolute; bottom: 100%; left: 50%; width: 1px; height: 20px; background: #688592;
}
.path-roots .path-node.is-route + .path-node.is-route::before, .path-lane__nodes .path-node.is-route + .path-node.is-route::before { background: var(--node-accent); }
.path-fork { position: relative; padding-top: 29px; }
.path-fork::before { content: ''; position: absolute; top: 0; left: 50%; height: 29px; width: 1px; background: var(--tree-accent); }
.path-lanes { display: grid; grid-template-columns: repeat(var(--lane-count), minmax(0, 1fr)); gap: 8px; position: relative; }
.path-lanes::before { content: ''; position: absolute; top: 0; height: 1px; inset-inline: calc(50% / var(--lane-count)); background: #7594a1; }
.path-lane { position: relative; min-width: 0; padding-top: 12px; }
.path-lane::before { content: ''; position: absolute; top: 0; left: 50%; height: 12px; width: 1px; background: var(--lane-accent); }
.path-lane h3 { margin: 0 0 8px; color: var(--lane-accent); font-size: 13px; text-align: center; line-height: 1.2; min-height: 30px; }
.path-lane__nodes { display: grid; gap: 19px; }
.path-detail { position: sticky; top: 12px; min-width: 0; padding: 16px; border: 1px solid #355163; border-radius: 12px; background: #142433; overflow-wrap: anywhere; }
.path-detail h3 { margin: 8px 0 12px; }
.path-detail__badge { width: 74px; height: 74px; margin-bottom: 10px; }
.path-detail__badge img { width: 62px; height: 62px; object-fit: contain; }
.path-detail__state { color: #9ae9d0; font-size: 12px; font-weight: 750; }
.path-detail__state[data-state="unknown"] { color: #ffda95; }
.path-detail__requirements { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.path-detail__requirements li { display: flex; justify-content: space-between; gap: 6px; padding: 7px 8px; border-radius: 5px; background: #0d1a27; color: #b2c7d1; font-size: 12px; }
.path-detail__requirements b { color: #f2fafb; }
.path-evidence, .path-detail__note { margin: 9px 0; color: #b4c8d2; font-size: 12px; }
.path-detail__next { display: grid; gap: 4px; margin: 9px 0; }
.path-detail__next > span { color: #a3bdd0; font-size: 12px; }
.path-link { min-height: 31px; padding: 5px 8px; text-align: start; font-size: 11px; }
.path-pin { width: 100%; margin-top: 8px; background: #17413b; border-color: #5bc8b4; color: #dbfff0; }
.path-secondary[hidden] { display: none; }
.path-dailies { display: flex; align-items: center; gap: 9px 15px; flex-wrap: wrap; margin: 16px 0 0; padding: 14px; border: 1px solid #4e436e; border-radius: 9px; background: #1e1f36; }
.path-dailies p { flex: 1 1 210px; margin: 0; color: #c6c4e5; font-size: 13px; }
.path-sim-extra { margin: 10px 0; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.path-sim-extra summary { cursor: pointer; color: #9eeacf; }
.path-sim-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin-top: 8px; }
.path-sim-fields label { min-width: 0; display: grid; gap: 3px; color: #afc8cf; }
.path-sim-fields input { min-width: 0; width: 100%; }
.path-sim-extra p { margin: 8px 0 0; color: #9ab4bc; font-size: 12px; }

@media (max-width: 1180px) {
  .path-node__top { align-items: start; flex-direction: column; }
  .path-node--root .path-node__top { align-items: center; flex-direction: row; }
}
@media (max-width: 820px) {
  .hero { overflow: clip; }
  .path-workspace { grid-template-columns: minmax(0, 1fr); }
  .path-detail { position: static; }
  .path-toolbar__mobile { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: #b6cdd6; font-size: 13px; }
  .path-lanes { grid-template-columns: minmax(0, 1fr); }
  .path-lanes::before { inset-inline: 50%; }
  .path-lane:not(.path-lane--mobile) { display: none; }
  .path-lane h3 { min-height: 0; }
  .path-node__top { align-items: center; flex-direction: row; }
}
@media (max-width: 540px) {
  .path-toolbar__inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-toolbar__inputs label:first-child { grid-column: 1 / -1; }
  .path-pickups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .path-tabs button, .path-secondary { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) { .path-xp i { transition: none; } }
