.team-carousel { width:100%; }
.team-deck { display:grid; position:relative; height:570px; width:100%; overflow:clip; isolation:isolate; touch-action:pan-y; cursor:grab; user-select:none; }
.team-deck.is-dragging { cursor:grabbing; }
.team-deck-card { position:absolute; left:50%; top:28px; width:290px; height:450px; padding:0; display:flex; flex-direction:column; border:1px solid var(--line); border-radius:16px; background:var(--paper); color:var(--navy); text-align:left; overflow:hidden; transform-origin:50% 72%; transform:translateX(calc(-50% + var(--team-x,0px))) translateY(var(--team-y,0px)) rotate(var(--team-angle,0deg)) scale(var(--team-scale,1)); opacity:var(--team-opacity,1); box-shadow:0 14px 30px #18304c10; transition:transform .55s cubic-bezier(.22,1,.36,1),opacity .45s; cursor:inherit; }
.team-deck-card[aria-pressed="true"] { cursor:default; }
.team-deck-portrait { display:grid; place-items:center; height:172px; flex-shrink:0; width:100%; background:#eaf2f9; }
.team-deck-card:nth-child(even) .team-deck-portrait { background:#f5f0e8; }
.team-deck-portrait img { width:150px; height:150px; object-fit:contain; pointer-events:none; }
.team-deck-copy { display:flex; flex-direction:column; flex:1; padding:23px; min-height:0; width:100%; }
.team-deck-copy strong { display:block; font:800 24px/1.35 Manrope,'Microsoft YaHei',sans-serif; }
.team-deck-role { font-size:13px; color:var(--muted); margin:9px 0; min-height:36px; }
.team-deck-degree { color:var(--blue); font-size:13px; font-weight:600; }
.team-deck-school { display:block; font-size:14px; line-height:1.65; margin-top:auto; padding-top:16px; }
.team-deck-school-en { display:block; font-size:12px; line-height:1.6; margin-top:4px; color:var(--muted); }
.team-deck-controls { display:flex; justify-content:center; align-items:center; gap:26px; margin-top:-15px; position:relative; z-index:10; }
.team-deck-controls button { display:grid; place-items:center; width:46px; height:46px; border:1px solid var(--line); background:var(--paper); color:var(--navy); border-radius:50%; }
.team-deck-controls button:hover { background:var(--pale); }
.team-deck-controls button:first-child svg { transform:rotate(180deg); }
.team-deck-position { min-width:55px; text-align:center; color:var(--blue); font-size:14px; font-variant-numeric:tabular-nums; }
.team-deck-hint { text-align:center; font-size:12px; color:var(--muted); margin:12px 0 0; }
@media(max-width:640px) { .team-deck{height:510px;} .team-deck-card{width:248px;height:426px;top:20px;} .team-deck-portrait{height:154px;} .team-deck-portrait img{width:135px;height:135px;} .team-deck-copy{padding:20px;} .team-deck-copy strong{font-size:22px;} .team-deck-role{font-size:12px;min-height:34px;} .team-deck-school{font-size:13px;} .team-deck-school-en{font-size:11px;} }
@media(prefers-reduced-motion:reduce) { .team-deck-card{transition:none;} }
