.classic-talent-panel {padding:clamp(10px,2vw,22px);color:#fff2ce;background:radial-gradient(ellipse at top,#35304c 0%,#19192d 55%,#121724 100%);border:1px solid #887049;border-radius:9px}
.classic-talent-panel header{display:flex;align-items:center;gap:.9rem;padding:.75rem 1rem;margin-bottom:.75rem;background:linear-gradient(110deg,#343656,#211e32 68%);border:1px solid #9a8051;border-radius:7px}
.classic-talent-panel header img{width:56px;height:56px;object-fit:cover;border:2px solid #d2ac63;border-radius:5px}
.classic-talent-panel h2,.classic-talent-panel h3{margin:0;color:#ffe8ac;text-shadow:0 2px #16101e}
.classic-talent-panel p{margin:.35rem 0 0;color:#e3d8cb}
.classic-talent-tabs{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:.85rem;border-bottom:1px solid #806441;padding-bottom:.6rem}
.classic-talent-tabs button{padding:.45rem .85rem;color:#f7e3bb;background:linear-gradient(#3f3c5b,#222235);border:1px solid #89744e;border-radius:5px}
.classic-talent-tabs [aria-pressed=true]{background:linear-gradient(#6d532b,#3d3130);border-color:#f7cc77;box-shadow:inset 0 0 10px #ffcf7744}
.classic-talent-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr));gap:.7rem;align-items:start}
.classic-talent-branch{border:1px solid #877352;border-radius:7px;background:#201e31;padding:.65rem;min-width:0}
.classic-talent-branch h3{display:flex;gap:.45rem;align-items:center;margin-bottom:.4rem}
.classic-talent-branch h3 img{width:22px;height:22px}
.classic-talent-branch details{margin-bottom:.28rem;background:#171a29;border:1px solid #52465c;border-radius:5px}
.classic-talent-branch summary{cursor:pointer;display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;padding:.35rem;overflow-wrap:anywhere}
.classic-talent-branch summary span:first-of-type{flex:1;min-width:5rem}
.classic-talent-branch summary:focus-visible{outline:2px solid #ffe3a2}
.classic-talent-gem{width:32px;height:32px;object-fit:contain;background:radial-gradient(#57527b,#232438);border:1px solid #bd975d;border-radius:5px}
.classic-talent-ranks{display:inline-flex;gap:9px;padding:2px 0}
.classic-talent-ranks b{position:relative;display:grid;place-items:center;min-width:18px;height:18px;border:1px solid #b08e5e;background:#564465;border-radius:4px;font-size:.65rem}
.classic-talent-ranks b+b::before{content:'';position:absolute;right:100%;width:9px;height:1px;background:#b08e5e}
.classic-talent-branch ul{margin:.25rem 0;padding:.3rem .55rem .4rem 1.35rem}
.classic-talent-branch code{font-size:.74em;overflow-wrap:anywhere;color:#e5d7c5}
