/*
 * wkx-taste-panel.css — My Profile's Taste Profile card (wkx-taste-panel.js).
 * Every rule is scoped to .wktp; the card matches My Profile's own cards.
 */
.wktp {
  position: relative; box-sizing: border-box; min-width: 0;
  padding: 20px 20px 16px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text, #f4f5fb); font-size: 13px;
}
.wktp *, .wktp *::before, .wktp *::after { box-sizing: border-box; }
.wktp-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wktp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 6px; }
.wktp-title { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.wktp-range select {
  height: 28px; padding: 0 8px; border-radius: 8px; font: inherit; font-size: 11.5px; font-weight: 700;
  color: var(--text, #f4f5fb); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
}
.wktp-radar { display: flex; justify-content: center; }
.wktp-radar-svg { display: block; width: 100%; max-width: 260px; height: auto; overflow: visible; }
.wktp-ring { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.wktp-spoke { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.wktp-shape { fill: rgba(167, 139, 250, 0.24); stroke: rgba(167, 139, 250, 0.85); stroke-width: 1.6; stroke-linejoin: round; }
.wktp-axis { fill: rgba(255, 255, 255, 0.72); font-size: 10px; font-weight: 700; text-transform: capitalize; }
.wktp-axis-val { fill: rgba(196, 181, 253, 0.95); font-size: 9.5px; font-weight: 800; }
.wktp-caption { margin: 2px 0 12px; text-align: center; color: var(--muted, #8e93aa); font-size: 11px; line-height: 1.4; }
.wktp-bars { list-style: none; margin: 6px 0 4px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wktp-bars li { display: grid; grid-template-columns: minmax(0, 90px) minmax(0, 1fr) 40px; align-items: center; gap: 8px; }
.wktp-bar-name { font-weight: 700; text-transform: capitalize; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wktp-bar-track { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.wktp-bar-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #a78bfa, #7c3aed); }
.wktp-bar-val { text-align: right; color: var(--muted, #8e93aa); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.wktp-sub {
  margin: 4px 0 6px; font-size: 10px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted, #8e93aa);
}
.wktp-stats { margin: 0; display: flex; flex-direction: column; }
.wktp-stat {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.wktp-stat:last-child { border-bottom: 0; }
.wktp-stat dt { color: var(--muted, #8e93aa); font-size: 12px; }
.wktp-stat dd { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; text-align: right; }
.wktp-stat dd small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0; color: var(--muted, #8e93aa); }
.wktp-msg { margin: 10px 0 14px; color: var(--muted, #8e93aa); font-size: 12.5px; line-height: 1.5; }
.wktp-link, .wktp-btn {
  display: block; width: 100%; margin-top: 12px; padding: 9px; border-radius: 9px; cursor: pointer; font: inherit;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent, #a78bfa); background: rgba(167, 139, 250, 0.08); border: 1px solid rgba(167, 139, 250, 0.3);
}
.wktp-link:hover, .wktp-btn:hover { background: rgba(167, 139, 250, 0.16); }
.wktp-link:focus-visible, .wktp-btn:focus-visible, .wktp-range select:focus-visible { outline: 2px solid #b4a0ff; outline-offset: 2px; }
.wktp-skel { border-radius: 12px; background: rgba(255, 255, 255, 0.045); animation: wktp-pulse 1.4s ease-in-out infinite; }
.wktp-skel--radar { height: 190px; margin: 6px 0 12px; }
.wktp-skel--rows { height: 150px; }
@keyframes wktp-pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wktp-skel { animation: none; } }
