/* =========================================================================
   Dimensions-Skilltree als Sternbild
   ========================================================================= */
.pk-wrap { display: grid; gap: 16px; }
.pk-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
.pk-points { display: flex; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 14px; background: linear-gradient(120deg, rgba(168, 85, 247, .2), rgba(47, 224, 228, .06) 70%); border: 1px solid rgba(168, 85, 247, .45); }
.pk-orb { position: relative; width: 62px; height: 62px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center;
          background: radial-gradient(circle at 38% 32%, #fff, #e9d5ff 20%, #a855f7 55%, #3b0764); box-shadow: 0 0 24px rgba(168, 85, 247, .8), 0 0 60px rgba(168, 85, 247, .35); animation: pkOrb 3s ease-in-out infinite; }
.pk-orb::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px dashed rgba(233, 213, 255, .5); animation: xmSpin 12s linear infinite; }
.pk-orb b { font-family: var(--font-display); font-size: 1.7rem; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
@keyframes pkOrb { 50% { box-shadow: 0 0 34px rgba(168, 85, 247, 1), 0 0 80px rgba(168, 85, 247, .45); } }
.pk-points small, .pk-stat small { display: block; font-size: .66rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text-dim); }
.pk-points span { font-size: .88rem; color: var(--text-bright); }
.pk-stat { padding: 14px 16px; border-radius: 14px; background: var(--bg-panel); border: 1px solid var(--line); display: grid; gap: 4px; }
.pk-stat b { font-family: var(--font-display); font-size: 1.35rem; color: #fff; }
.pk-stat em { font-style: normal; font-size: .72rem; color: var(--text-dim); }
.pk-stat i { height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.pk-stat u { display: block; height: 100%; background: linear-gradient(90deg, #a855f7, #2fe0e4); }

.pk-skies { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 12px; }
.pk-sky { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--pc) 30%, transparent);
          background: radial-gradient(120% 90% at 50% 20%, color-mix(in srgb, var(--pc) 12%, #070a14), #05070e 75%); }
.pk-sky-h { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px 0; }
.pk-sky-h b { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 2px; text-transform: uppercase; color: var(--pc); }
.pk-sky-h small { font-size: .72rem; color: var(--text-dim); }
.pk-svg { display: block; width: 100%; height: auto; }
.pk-svg .bg circle { fill: #dfe9ff; }
.pk-svg .lines line { stroke: rgba(200, 215, 255, .16); stroke-width: 1.2; stroke-dasharray: 3 5; }
.pk-svg .lines line.lit { stroke: var(--pc); stroke-width: 1.8; stroke-dasharray: none; opacity: .7; filter: drop-shadow(0 0 4px var(--pc)); }
.pk-star { cursor: pointer; outline: none; }
.pk-star .hit { fill: transparent; }
.pk-star .halo { fill: var(--pc); opacity: .06; transition: opacity .3s; }
.pk-star .ring { fill: rgba(5, 7, 14, .75); stroke: rgba(200, 215, 255, .25); stroke-width: 1.2; }
.pk-star .core { fill: rgba(200, 215, 255, .35); transition: fill .3s; }
.pk-star .pip { fill: rgba(200, 215, 255, .14); stroke: rgba(200, 215, 255, .3); stroke-width: .8; }
.pk-star .pip.on { fill: var(--pc); stroke: #fff; filter: drop-shadow(0 0 3px var(--pc)); }
.pk-star text { text-anchor: middle; pointer-events: none; }
.pk-star .ic { font-size: 15px; dominant-baseline: middle; }
.pk-star .nm { font-family: var(--font-display); font-weight: 600; font-size: 11.5px; fill: var(--text); }
.pk-star .lv { font-size: 9.5px; letter-spacing: 1px; fill: var(--text-dim); }
.pk-star.some .halo { opacity: .22; } .pk-star.some .core { fill: var(--pc); } .pk-star.some .ring { stroke: var(--pc); }
.pk-star.maxed .halo { opacity: .38; } .pk-star.maxed .core { fill: #fff; } .pk-star.maxed .ring { stroke: #ffd27a; stroke-width: 2; }
.pk-star.maxed .lv { fill: #ffd27a; font-weight: 700; }
.pk-star.can .ring { stroke: var(--pc); stroke-dasharray: 4 3; animation: pkCan 1.8s linear infinite; }
@keyframes pkCan { to { stroke-dashoffset: -14; } }
.pk-star.sel .ring { stroke: #fff; stroke-width: 2.2; }
.pk-star.sel .nm { fill: #fff; }
.pk-star:hover .halo, .pk-star:focus-visible .halo { opacity: .35; }
.pk-star.flare .halo { animation: pkFlare 1s ease-out; }
@keyframes pkFlare { 0% { opacity: .9; } 100% { opacity: .22; } }
.pk-star.flare .core { animation: pkCore .8s ease-out; transform-box: fill-box; transform-origin: center; }
@keyframes pkCore { 30% { transform: scale(2.2); fill: #fff; } }
.pk-spark { position: fixed; z-index: 10050; width: 8px; height: 8px; border-radius: 50%; pointer-events: none; box-shadow: 0 0 12px currentColor, 0 0 4px #fff; }

.pk-detail { min-height: 120px; }
.pk-hint { padding: 22px; text-align: center; border-radius: 14px; border: 1px dashed var(--line); color: var(--text); }
.pk-hint small { display: block; margin-top: 4px; color: var(--text-dim); font-size: .8rem; }
.pk-card { padding: 18px; border-radius: 16px; background: linear-gradient(120deg, color-mix(in srgb, var(--pc) 12%, var(--bg-panel)), var(--bg-panel) 60%); border: 1px solid color-mix(in srgb, var(--pc) 40%, transparent); animation: skelIn .25s ease; }
.pk-card-h { display: flex; gap: 14px; align-items: center; }
.pk-big { width: 54px; height: 54px; flex: 0 0 auto; display: grid; place-items: center; font-size: 1.8rem; border-radius: 14px; background: color-mix(in srgb, var(--pc) 16%, rgba(0, 0, 0, .3)); border: 1px solid color-mix(in srgb, var(--pc) 45%, transparent); }
.pk-card-h small { font-size: .66rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--pc); }
.pk-card-h h3 { margin: 0; font-family: var(--font-display); font-size: 1.4rem; color: #fff; }
.pk-state { margin-left: auto; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .76rem; white-space: nowrap; }
.pk-card > p { margin: 12px 0; color: var(--text); font-size: .9rem; }
.pk-steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.pk-steps li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.pk-steps li span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-size: .74rem; font-weight: 700; background: rgba(255, 255, 255, .06); color: var(--text-dim); }
.pk-steps li b { font-weight: 600; font-size: .88rem; color: var(--text); }
.pk-steps li em { font-style: normal; font-size: .72rem; color: var(--text-dim); }
.pk-steps li.on { border-color: color-mix(in srgb, var(--pc) 50%, transparent); background: color-mix(in srgb, var(--pc) 9%, transparent); }
.pk-steps li.on span { background: var(--pc); color: #05070e; }
.pk-steps li.on em { color: var(--pc); }
.pk-steps li.next { border-style: dashed; border-color: var(--pc); }
.pk-buy { width: 100%; }
.pk-maxed { text-align: center; padding: 10px; border-radius: 10px; color: #ffd27a; background: rgba(245, 166, 35, .08); border: 1px solid rgba(245, 166, 35, .35); font-family: var(--font-display); letter-spacing: 2px; }

@media (max-width: 1000px) {
  .pk-skies { grid-template-columns: 1fr 1fr; }
  .pk-skies .pk-sky:nth-child(2) { grid-column: 1 / -1; order: -1; }
  .pk-top { grid-template-columns: 1fr 1fr; }
  .pk-points { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .pk-skies { grid-template-columns: 1fr; }
  .pk-card-h h3 { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { .pk-orb, .pk-orb::after, .pk-star.can .ring { animation: none; } }
