#viewDetail .hero-switch {
  padding: 5px 11px;
  border: 1px solid rgb(148 163 184 / .35);
  background: #101525;
  color: #cbd5e1;
  font-size: .75rem;
  font-weight: 700;
}
#viewDetail .hero-switch:hover { border-color: #7dd3fc; }
#viewDetail .hero-switch[aria-pressed="true"] {
  border-color: #e0f2fe;
  background: #e0f2fe;
  color: #07101a;
}
#viewDetail .skill-card {
  min-width: 0;
  background: #080a14c9;
  border-color: rgb(255 255 255 / .15);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
#viewDetail .skill-card:hover { transform: translateY(-2px); border-color: #c084fc; }
#viewDetail .skill-card[aria-pressed="true"] {
  border-color: #38bdf8;
  background: linear-gradient(160deg, #0e749059, #0a0e1cf2);
  box-shadow: 0 0 18px #38bdf855;
}
#viewDetail .skill-card-ult[aria-pressed="true"] {
  border-color: #fbbf24;
  background: linear-gradient(160deg, #92400e6b, #100b06f2);
  box-shadow: 0 0 22px #fbbf2466;
}
#viewDetail button:focus-visible,
#viewDetail summary:focus-visible {
  outline: 2px solid #7dd3fc;
  outline-offset: 2px;
}
#viewDetail #skillInspector { min-width: 0; }
#viewDetail #skillInspector .knight-skill-meta { overflow-wrap: anywhere; }
#viewDetail #portraitInner {
  max-height: min(62vh, 490px);
  background: radial-gradient(ellipse at 50% 44%, #25233d, #090b16 68%);
}
.knight-inspector-enter { animation: knight-inspector-enter .22s ease-out; }
@keyframes knight-inspector-enter {
  from { opacity: .68; translate: 0 5px; }
  to { opacity: 1; translate: 0 0; }
}
@media (min-width: 740px) and (max-width: 1023px), (min-width: 1200px) {
  #viewDetail .knight-skill-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  #viewDetail #portraitInner { max-height: min(54vh, 360px); }
}
@media (prefers-reduced-motion: reduce) {
  #viewDetail.anim-pop, #viewDetail .hero-live-img, .knight-inspector-enter { animation: none; }
  #viewDetail .skill-card { transition: none; }
}
