/* Team pages v2 - same language as home + shop */
.tm-hero{position:relative;height:calc(100vh - var(--nav-height) - var(--safe-top,0px));height:calc(100svh - var(--nav-height) - var(--safe-top,0px));min-height:520px;overflow:hidden;background:#123b66;display:flex;align-items:flex-end;margin-top:-1px}
.tm-hero__ph{position:absolute;inset:0}
.tm-hero__ph picture,.tm-hero__ph img{display:block;width:100%;height:100%;object-fit:cover}
.tm-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(18,59,102,.78) 0%,rgba(18,59,102,0) 42%);pointer-events:none}
.tm-hero--empty::after{display:none}
.tm-hero__in{position:relative;z-index:1;width:100%;padding-bottom:clamp(18px,2.6vw,36px)}
.tm-hero *{color:#fff}
.tm-title{font-weight:700;text-transform:uppercase;line-height:.84;letter-spacing:-.05em;white-space:nowrap;margin:0 0 clamp(10px,1.2vw,18px) -.04em;font-size:12vw;overflow:hidden;padding-bottom:.03em}
.tm-title span{display:inline-block;transform:translateY(105%);transition:transform 1100ms cubic-bezier(.22,1,.36,1)}
.tm-hero.is-in .tm-title span{transform:none}
.tm-hero .sh-info{border-top-color:#fff!important;opacity:0;transition:opacity 800ms ease 250ms}
.tm-hero.is-in .sh-info{opacity:1}
.tm-hero .sh-info a{display:inline-flex;align-items:center;gap:.4em;color:#fff!important}
.tm-hero .sh-info .sh-arr{width:1em;height:1em;stroke-width:3.2}
.tm-one{max-width:1100px}
.tm-match{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,1.6vw,24px)}
.tm-match--one{grid-template-columns:minmax(0,1fr)}
/* Player + staff cards */
.tm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(28px,3vw,48px) clamp(12px,1.6vw,24px)}
.tm-grid--staff{grid-template-columns:repeat(6,minmax(0,1fr))}
.tm-card{margin:0}
.tm-card__ph{aspect-ratio:4/5;background:#eeeff1;overflow:hidden;position:relative}
.tm-card__ph img{display:block;width:100%;height:100%;object-fit:cover;object-position:center var(--op,20%);transition:transform 1000ms cubic-bezier(.22,1,.36,1)}
.tm-card:hover .tm-card__ph img{transform:scale(1.03)}
.tm-card__ph svg{position:absolute;left:50%;bottom:0;width:72%;transform:translateX(-50%);color:rgba(18,59,102,.16)}
.tm-card__n{display:block;margin-top:12px;font-size:18px;font-weight:500;letter-spacing:-.01em;line-height:1.15}
.tm-card .sh-cat{margin-top:6px}
.tm-grid--staff .tm-card__n{font-size:15px}
.hm-sec--b .tm-card__ph{background:#fff}
.hm-sec--b .tm-card__ph svg{color:rgba(18,59,102,.2)}
@media (max-width:1100px){.tm-grid--staff{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:900px){.tm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tm-grid--staff{grid-template-columns:repeat(3,minmax(0,1fr))}.tm-match{grid-template-columns:1fr}}
@media (max-width:560px){.tm-grid--staff{grid-template-columns:repeat(2,minmax(0,1fr))}.tm-card__n{font-size:16px}}
@media (prefers-reduced-motion:reduce){.tm-title span{transform:none}.tm-hero .sh-info{opacity:1}}

/* Roster marquee (auto-scroll + drag/scroll) */
.tm-mq{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;cursor:grab;-webkit-overflow-scrolling:touch;padding:0 clamp(18px,2.6vw,40px)}
.tm-mq::-webkit-scrollbar{display:none}
.tm-mq.is-dragging,.tm-mq:active{cursor:grabbing}
.tm-mq__row{display:flex!important;gap:clamp(12px,1.6vw,24px);width:max-content}
.tm-mq .tm-card{flex:none;width:clamp(200px,21vw,320px);user-select:none}
.tm-mq .tm-card img{pointer-events:none;-webkit-user-drag:none}
