/* Clear proportions with a restrained, data-driven SOVO light effect. */
.majors-panel .alumni-distribution { display:flex; flex-direction:column; gap:0; min-height:0; flex:1; padding-top:clamp(2px,.25vw,5px); }
.alumni-chart-meta { flex:none; display:flex; align-items:center; justify-content:space-between; gap:4px; color:#7eafc1; font-size:clamp(8px,.55vw,15px); line-height:1.15; }
.alumni-chart-meta span:last-child { color:#6296a8; white-space:nowrap; }
.majors-panel .alumni-list { display:block; position:relative; flex:1; min-height:0; overflow:hidden; padding-top:2px; scrollbar-width:none; }
.majors-panel .alumni-list .alumni-bar-row { box-sizing:border-box; height:var(--rolling-row-height,35px); padding:2px 0; }
.alumni-bar-row { display:flex; flex-direction:column; justify-content:center; min-width:0; min-height:0; gap:clamp(2px,.2vh,5px); }
.alumni-bar-heading { display:flex; align-items:baseline; justify-content:space-between; gap:6px; min-width:0; line-height:1.1; }
.alumni-major-name { min-width:0; overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow-wrap:anywhere; color:#caeaf4; font-size:clamp(8px,.62vw,18px); }
.alumni-major-value { flex:none; color:#b9f3fa; font-size:clamp(8px,.59vw,17px); font-variant-numeric:tabular-nums; white-space:nowrap; }
.alumni-bar-track { position:relative; overflow:visible; flex:none; height:clamp(5px,.68vh,10px); border-radius:6px; background:repeating-linear-gradient(90deg,#153e5c 0,#153e5c calc(25% - 1px),#336179 calc(25% - 1px),#336179 25%); box-shadow:inset 0 0 5px #001b31; }
.alumni-bar-fill { position:relative; width:var(--bar-width); height:100%; border-radius:5px; background:linear-gradient(90deg,#1a769b,var(--bar-color)); box-shadow:0 0 7px var(--bar-color); }
/* Fixed data length, a sweep contained within the fill, and a brief endpoint impact. */
.alumni-bar-fill::after { content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:linear-gradient(105deg,transparent 32%,rgba(51,221,242,.5) 40%,rgba(168,136,244,.8) 46%,rgba(245,255,255,.92) 50%,rgba(255,193,114,.85) 54%,rgba(255,126,78,.48) 60%,transparent 68%); background-size:250% 100%; background-position:130% 0; animation:alumni-sweep 5.4s linear infinite; animation-delay:var(--bar-delay); }
.alumni-bar-fill::before { content:''; position:absolute; z-index:1; right:0; top:50%; width:clamp(11px,.95vw,17px); height:clamp(7px,.8vh,12px); pointer-events:none; background:radial-gradient(ellipse 2px 2px at center,rgba(248,255,255,.98),rgba(225,255,255,.5) 45%,transparent 100%),radial-gradient(ellipse at center,var(--bar-color) 0%,transparent 70%); opacity:.5; transform:translate(50%,-50%) scale(1); animation:alumni-impact 5.4s linear infinite; animation-delay:var(--bar-delay); }
/* The sweep reaches the endpoint near 52% of its cycle. */
@keyframes alumni-impact {
  0%,50.5% { opacity:.5; transform:translate(50%,-50%) scale(1); }
  52% { opacity:1; transform:translate(50%,-50%) scale(1.35,1.12); }
  55% { opacity:.68; transform:translate(50%,-50%) scale(1.55,1.06); }
  59%,100% { opacity:.5; transform:translate(50%,-50%) scale(1); }
}
@keyframes alumni-sweep {
  0%, 12% { background-position:130% 0; }
  68%, 100% { background-position:-30% 0; }
}
.alumni-other { flex:none; margin-top:clamp(2px,.3vh,5px); padding-top:3px; border-top:1px solid #28647a68; color:#83b4c4; font-size:clamp(8px,.55vw,15px); line-height:1.2; text-align:right; }
@media(max-width:900px){.majors-panel .alumni-distribution { min-height:0; }.majors-panel .alumni-list { height:144px; flex:0 0 144px; }.alumni-chart-meta,.alumni-other { font-size:10px; }.alumni-major-name,.alumni-major-value { font-size:11px; }.alumni-bar-track { height:6px; }}
@media(prefers-reduced-motion:reduce){.alumni-bar-fill::after { animation:none; opacity:0; }.alumni-bar-fill::before { animation:none; }.majors-panel .alumni-list { overflow-y:auto; scrollbar-width:thin; }}
