.card-talents{position:relative;box-sizing:border-box;height:88px;max-height:88px;margin:2px 5px 4px;padding-top:4px;border-top:1px solid #b9aa8d66;flex-shrink:0;overflow:hidden}
.talents-caption{height:15px;display:flex;align-items:center;gap:6px;font:600 9px/1.35 var(--sans);color:#9b8566;margin:0 0 2px;white-space:nowrap}.talents-scroll-hint{margin-left:auto;font-size:8px;font-weight:400;color:#b2a18a}.talents-view-all{padding:0 1px;border:0;background:none;font:600 9px/1.35 var(--sans);color:#8d68aa;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.talent-chips{box-sizing:border-box;height:66px;max-height:66px;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:20px;align-content:start;gap:3px 4px;overflow-x:hidden;overflow-y:auto;padding:0 3px 2px 0;scrollbar-width:thin;scrollbar-color:#ac97b567 transparent;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}
.talent-chips::-webkit-scrollbar{width:3px}.talent-chips::-webkit-scrollbar-thumb{background:#b3a0bc77;border-radius:4px}.talent-chips::-webkit-scrollbar-track{background:transparent}
.talent-chip{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:0;height:20px;padding:1px 5px 2px;border:1px solid color-mix(in srgb,var(--talent-color),#fff 35%);border-radius:4px;background:linear-gradient(color-mix(in srgb,var(--talent-color),#fff 12%),var(--talent-color));box-shadow:inset 0 1px 0 #fff4,0 1px 2px #251b2d22;color:#fff;font:600 10px/1.25 var(--sans);cursor:pointer;overflow:hidden}
.talent-chip b{font:800 10px/1.2 Georgia;opacity:.95;flex-shrink:0}.talent-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.talent-chip:active{filter:brightness(.92)}.talent-chip:focus-visible,.talents-view-all:focus-visible{outline:1px solid #78588f;outline-offset:1px}
.talent-R{--talent-color:#458fd9;background:linear-gradient(#71b5f0,#377dc9)}.talent-SR{--talent-color:#9458d5;background:linear-gradient(#b07be6,#8549c4)}.talent-SSR{--talent-color:#e88432;background:linear-gradient(#ffb365,#dc7626);border-color:#ffd29a}.talent-UR{background:linear-gradient(115deg,#ae85f2,#6cc9e6 28%,#91d8b7 47%,#efc868 66%,#eaa3d8 87%,#ae85f2);border-color:#eee0f5;text-shadow:0 1px 2px #62457977;color:#fff}
.talents-compact{height:58px;max-height:58px;padding-top:2px}.talents-compact .talents-caption{height:12px;font-size:8px}.talents-compact .talents-scroll-hint{display:none}.talents-compact .talents-view-all{font-size:8px}.talents-compact .talent-chips{height:40px;max-height:40px;grid-auto-rows:18px;gap:2px 3px}.talents-compact .talent-chip{height:18px;padding:1px 3px;font-size:8px}.talents-compact .talent-chip b{font-size:8px}
.talent-info-heading{display:flex;align-items:center;gap:9px}.talent-info-heading h3{margin:0;font:800 21px var(--serif)}.talent-info-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:14px 0}.talent-info-stat{border:1px solid #d3c5a9;border-radius:8px;background:#fffcf6;padding:6px 9px;font-size:12px;color:#8a795e}.talent-info-stat strong{float:right;color:#9e7cc4}
@media(max-height:740px){.card-talents{height:76px;max-height:76px;padding-top:3px;margin-top:1px}.talents-caption{height:14px;margin-bottom:1px}.talent-chips{height:54px;max-height:54px;grid-auto-rows:17px;gap:2px 4px}.talent-chip{height:17px;font-size:9px}.talent-chip b{font-size:9px}.talents-compact{height:56px;max-height:56px}.talents-compact .talent-chips{height:38px;max-height:38px}}
