:root {
  color-scheme: light;
  --ink: #132735;
  --muted: #6d7c87;
  --line: #d7e1e7;
  --paper: #ffffff;
  --canvas: #e9eff3;
  --navy: #061b31;
  --orange: #f05a28;
  --club-primary: #f05a28;
  --club-secondary: #f2a340;
  --club-dark: #061b31;
  --club-pale: #f1f5f7;
  font-family: Inter, "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 0%, color-mix(in srgb, var(--club-primary) 13%, transparent), transparent 31rem),
    var(--canvas);
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
button { cursor: pointer; }
.skip { position: fixed; z-index: 100; left: 14px; top: -70px; padding: 9px 13px; border-radius: 5px; color: #fff; background: #06192e; }
.skip:focus { top: 10px; }

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 67px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(125px, 1fr);
  align-items: center;
  gap: 22px;
  padding: 8px clamp(14px, 4vw, 58px);
  color: #fff;
  background: rgba(4, 22, 41, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  backdrop-filter: blur(15px);
}
.competition-mark { width: max-content; display: inline-flex; align-items: center; gap: 11px; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; }
.mark-ball, .hero-ball {
  position: relative;
  display: block;
  border: 3px solid var(--orange);
  border-radius: 50%;
  transform: rotate(-14deg);
}
.mark-ball { width: 32px; height: 32px; }
.hero-ball { width: 75px; height: 75px; border-width: 5px; }
.mark-ball::before, .mark-ball::after, .hero-ball::before, .hero-ball::after {
  content: "";
  position: absolute;
  inset: 12% -10%;
  border: solid var(--orange);
  border-width: 0 2px;
  border-radius: 50%;
}
.hero-ball::before, .hero-ball::after { border-width: 0 4px; }
.mark-ball::after, .hero-ball::after { transform: rotate(90deg); }
.mark-copy { display: grid; line-height: 1; }
.mark-copy b { font-size: 17px; letter-spacing: .13em; }
.mark-copy small { margin-top: 5px; color: #b8c7d5; font-size: 7.5px; letter-spacing: .11em; }
.view-label { color: #b8c7d5; font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.compare-button { justify-self: end; padding: 9px 12px; border: 1px solid rgba(255, 255, 255, .23); border-radius: 7px; color: inherit; background: rgba(255, 255, 255, .07); font-size: 10px; font-weight: 800; }
.compare-button:hover, .compare-button.ready { border-color: var(--orange); background: rgba(240, 90, 40, .18); }
.compare-button span { margin-left: 6px; padding: 3px 6px; border-radius: 99px; background: rgba(255, 255, 255, .12); }

#app { min-height: calc(100vh - 67px); animation: page-in .34s ease both; }
@keyframes page-in { from { opacity: .25; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.competition-lockup { display: inline-flex; align-items: center; gap: 13px; }
.competition-lockup span:last-child { display: grid; text-align: left; line-height: .92; }
.competition-lockup small { margin-bottom: 5px; color: var(--orange); font-size: 8px; font-weight: 900; letter-spacing: .17em; }
.competition-lockup b { color: inherit; font-size: 17px; letter-spacing: .13em; }

.landing-shell { width: min(1160px, calc(100% - 34px)); margin: 0 auto; padding: clamp(42px, 8vw, 92px) 0 90px; }
.competition-hero {
  min-height: 270px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 26px;
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  color: #fff;
  background: linear-gradient(135deg, #04192e 0%, #0b2d4a 72%, #173955 100%);
  box-shadow: 0 26px 62px rgba(9, 30, 47, .18);
}
.competition-hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -170px; top: -215px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; box-shadow: 0 0 0 68px rgba(255,255,255,.025), 0 0 0 136px rgba(255,255,255,.018); }
.official-eurocup-logo { position: relative; z-index: 1; width: min(420px, 82vw); overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 18px 42px rgba(0,0,0,.22); }
.official-eurocup-logo img { display: block; width: 100%; height: auto; }
.competition-hero .competition-lockup { gap: 22px; }
.competition-hero .competition-lockup b { font-size: clamp(42px, 6vw, 72px); letter-spacing: .075em; }
.competition-hero .competition-lockup small { font-size: 12px; }
.competition-hero p { margin: 0; color: #bdcad5; font-size: 10px; font-weight: 850; letter-spacing: .2em; }
.group-selector { padding: clamp(25px, 4vw, 42px); border-radius: 0 0 12px 12px; background: #fff; box-shadow: 0 26px 62px rgba(9, 30, 47, .12); }
.landing-kicker { display: block; margin-bottom: 14px; color: #596d7a; font-size: 9px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.group-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.group-tile { min-height: 190px; position: relative; display: grid; place-items: center; align-content: center; gap: 6px; overflow: hidden; border: 1px solid #d4dfe5; border-radius: 9px; color: #102838; background: linear-gradient(145deg, #fff, #f2f6f8); transition: .2s ease; }
.group-tile::after { content: ""; position: absolute; width: 85px; height: 85px; right: -31px; bottom: -35px; border: 14px solid rgba(240, 90, 40, .10); border-radius: 50%; }
.group-tile:hover { transform: translateY(-3px); border-color: #9db0bc; box-shadow: 0 13px 30px rgba(14, 43, 61, .10); }
.group-tile span { color: #768690; font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.group-tile b { color: #09233a; font-size: 66px; line-height: .95; }
.group-tile small { color: #778690; font-size: 8px; }

.group-shell, .team-shell { width: min(1180px, calc(100% - 34px)); margin: 0 auto; padding: 16px 0 86px; }
.comparison-shell { width: min(1540px, calc(100% - 26px)); margin: 0 auto; padding: 16px 0 92px; }
.route { min-height: 41px; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; overflow-x: auto; color: #71818c; white-space: nowrap; scrollbar-width: none; }
.route::-webkit-scrollbar { display: none; }
.route > button, .route > b { min-height: 31px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid #ced9df; border-radius: 5px; color: #536572; background: rgba(255, 255, 255, .82); font-size: 9px; font-weight: 800; }
.route > button:hover { border-color: #93a9b5; background: #fff; }
.route .competition-lockup { gap: 6px; }
.route .competition-lockup .hero-ball { width: 19px; height: 19px; border-width: 2px; }
.route .competition-lockup .hero-ball::before, .route .competition-lockup .hero-ball::after { border-width: 0 1px; }
.route .competition-lockup small { display: none; }
.route .competition-lockup b { font-size: 8px; letter-spacing: .1em; }
.route img { width: 23px; height: 23px; object-fit: contain; }
.route .team-compare { margin-left: auto; color: #fff; border-color: var(--club-primary); background: var(--club-primary); }

.group-stage { overflow: hidden; padding: clamp(25px, 4vw, 43px); border-top: 5px solid var(--orange); border-radius: 8px; background: #fff; box-shadow: 0 18px 46px rgba(17, 41, 58, .10); }
.group-stage > header { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.group-stage > header span, .compare-heading span { color: #6c7b85; font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.group-stage > header h1, .compare-heading h1 { margin: 0; color: #0f2839; font-size: clamp(39px, 5vw, 60px); letter-spacing: -.05em; line-height: .95; }
.club-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.club-card { min-width: 0; position: relative; border: 1px solid #d6e0e5; border-radius: 8px; background: #fafcfd; transition: .2s ease; }
.club-card:hover { transform: translateY(-3px); border-color: #a9bbc5; background: #fff; box-shadow: 0 12px 28px rgba(17, 45, 63, .10); }
.club-card.selected { border-color: var(--orange); box-shadow: inset 0 0 0 2px rgba(240, 90, 40, .10); }
.club-open { width: 100%; min-height: 205px; display: grid; place-items: center; align-content: center; gap: 12px; padding: 22px 24px 16px; border: 0; color: #1b3444; background: transparent; }
.club-open img { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(22, 43, 56, .12)); }
.club-open span { min-width: 0; overflow: hidden; color: #435967; font-size: 9px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.compare-pick { width: 25px; height: 25px; position: absolute; top: 9px; right: 9px; display: grid; place-items: center; padding: 0; border: 1px solid #bccbd3; border-radius: 50%; color: #6a7c87; background: #fff; font-size: 12px; font-weight: 900; }
.club-card.selected .compare-pick { color: #fff; border-color: var(--orange); background: var(--orange); }
.group-switcher { display: flex; justify-content: center; gap: 7px; margin-top: 27px; padding-top: 20px; border-top: 1px solid var(--line); }
.group-switcher button { width: 34px; height: 34px; border: 1px solid #c9d6dd; border-radius: 50%; color: #5f727e; background: #fff; font-size: 10px; font-weight: 850; }
.group-switcher button.active { color: #fff; border-color: #0b2b47; background: #0b2b47; }

.report-sheet { position: relative; overflow: hidden; padding: clamp(25px, 3.4vw, 40px); border-top: 5px solid var(--club-secondary); background: var(--paper); box-shadow: 0 18px 46px rgba(17, 41, 58, .10); }
.report-sheet::before { content: ""; position: absolute; width: 260px; height: 260px; right: -155px; top: -155px; border: 42px solid color-mix(in srgb, var(--club-primary) 8%, transparent); border-radius: 50%; pointer-events: none; }
.team-masthead { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.team-title { min-width: 0; }
.team-kicker, .section-heading > span { color: var(--club-dark); font-size: 9px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.team-title h1 { max-width: 790px; margin: 7px 0 17px; color: #112633; font-size: clamp(37px, 5.1vw, 61px); font-weight: 760; letter-spacing: -.052em; line-height: .97; }
.team-logo { width: clamp(88px, 11vw, 132px); height: clamp(88px, 11vw, 132px); position: relative; z-index: 1; object-fit: contain; filter: drop-shadow(0 8px 11px rgba(24, 46, 59, .12)); }
.profile-circles { display: flex; flex-wrap: wrap; gap: 10px; }
.profile-circle { width: 118px; height: 118px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px; text-align: center; border: 1px solid #cbd8df; border-top: 4px solid var(--club-primary); border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 5px var(--club-pale); }
.profile-circle.aspiration { border-top-color: var(--club-dark); }
.profile-circle.coach { border-top-color: var(--club-secondary); }
.profile-circle.core { border-top-color: color-mix(in srgb, var(--club-primary) 60%, #80a9bd); }
.profile-circle span { color: #71818c; font-size: 7px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.profile-circle b { margin: 5px 0 4px; font-size: 13px; line-height: 1.08; }
.profile-circle small { max-width: 96px; color: #6b7a85; font-size: 7px; line-height: 1.22; }

.checkpoint-card, .movement-card, .court-card, .bench-card, .identity-card, .review-card { margin-top: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 11px; }
.section-heading small { color: var(--muted); font-size: 8px; }
.checkpoint-card { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 18px; border-left: 4px solid var(--club-primary); background: linear-gradient(100deg, var(--club-pale), #fff 72%); }
.checkpoint-card .section-heading, .review-card .section-heading { margin: 0; }
.checkpoint-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.checkpoint-grid > div { min-height: 56px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 10px 14px; background: rgba(255, 255, 255, .9); }
.checkpoint-grid > div + div { border-left: 1px solid var(--line); }
.checkpoint-grid small { color: #576875; font-size: 7px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.pending-value { color: #71818d; font-size: 20px; line-height: 1; }
.movement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.movement-grid > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.movement-grid h2 { margin: 0 0 6px; color: var(--club-secondary); font-size: 8px; letter-spacing: .1em; }
.movement-grid .out h2 { color: var(--muted); }
.movement-grid p { display: flex; flex-wrap: wrap; gap: 5px 14px; margin: 0; }
.movement-grid p span { position: relative; color: #243a48; font-size: 10px; line-height: 1.45; }
.movement-grid p span:not(:last-child)::after { content: "·"; position: absolute; right: -9px; color: #9cacb6; }
.movement-grid .movement-empty { color: #72828d; font-style: italic; }

.court-card { padding-bottom: 13px; }
.half-court { height: 400px; position: relative; overflow: hidden; border: 2px solid #bbc8d0; border-radius: 178px 178px 6px 6px; background: linear-gradient(180deg, color-mix(in srgb, var(--club-pale) 60%, #fff), #eef3f6); }
.half-court::before { content: ""; position: absolute; left: 8%; right: 8%; top: -2px; height: 58%; border: 2px solid #bbc8d0; border-top: 0; border-radius: 0 0 50% 50%; }
.half-court::after { content: ""; position: absolute; left: 50%; top: -2px; width: 142px; height: 137px; transform: translateX(-50%); border: 2px solid #bbc8d0; border-top: 0; }
.paint { position: absolute; left: 50%; top: 0; width: 96px; height: 137px; transform: translateX(-50%); border: solid #bbc8d0; border-width: 0 2px; background: color-mix(in srgb, var(--club-primary) 5%, transparent); }
.rim { position: absolute; z-index: 1; left: 50%; top: 52px; width: 48px; height: 3px; transform: translateX(-50%); background: var(--club-secondary); }
.court-player { width: 178px; position: absolute; z-index: 2; transform: translate(-50%, -50%); text-align: center; }
.court-player.guard { left: 50%; top: 80%; }
.court-player.wing-left { left: 18%; top: 60%; }
.court-player.wing-right { left: 82%; top: 60%; }
.court-player.forward { left: 31%; top: 28%; }
.court-player.center { left: 69%; top: 28%; }
.face { width: 72px; height: 72px; position: relative; overflow: hidden; margin: 0 auto; border: 2px solid #fff; outline: 2px solid #c7d3da; border-radius: 50%; background: var(--club-pale); box-shadow: 0 5px 14px rgba(13, 44, 64, .17); }
.face span { position: absolute; inset: 0; display: grid; place-items: center; color: var(--club-dark); font-size: 16px; font-weight: 850; }
.face img { width: 100%; height: 100%; position: relative; z-index: 1; object-fit: cover; object-position: center 12%; }
.court-player > b { display: block; margin-top: 6px; font-size: 11px; line-height: 1.08; }
.court-player > small { display: block; margin-top: 2px; color: #70808b; font-size: 7px; }
.player-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 3px 7px; margin-top: 4px; color: var(--club-primary); font-size: 8px; font-weight: 800; }
.player-stats b { font-size: 6px; letter-spacing: .04em; }

.bench-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.bench-row { min-height: 48px; display: grid; grid-template-columns: 28px minmax(112px, 1fr) auto; align-items: center; gap: 7px; border-top: 1px solid var(--line); }
.bench-row:nth-child(-n+2) { border-top: 0; }
.bench-number { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--club-dark); font-size: 7px; font-weight: 850; }
.bench-row > b { font-size: 10.5px; }
.bench-metrics { display: flex; align-items: center; gap: 11px; }
.bench-metrics > span { min-width: 29px; color: #253b49; font-size: 11px; font-weight: 750; text-align: center; }
.bench-metrics small { display: block; margin-bottom: 1px; color: var(--muted); font-size: 6px; letter-spacing: .07em; }
.identity-card { border-left: 4px solid var(--club-primary); background: linear-gradient(100deg, var(--club-pale), #fff 74%); }
.identity-card p { max-width: 1020px; margin: 0; color: #304855; font-size: 12.5px; line-height: 1.6; }
.review-card { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 18px; }
.review-card p { margin: 0; color: #334a58; font-size: 11px; line-height: 1.5; }
.review-card p b { color: var(--club-dark); }
.review-card .pending-value { display: inline-block; font-size: 18px; vertical-align: -1px; }
.review-arrow { display: inline-block; margin: 0 10px; color: var(--club-secondary); font-weight: 900; }
.sources-card { margin-top: 14px; padding-top: 9px; border-top: 1px solid var(--line); }
.sources-card summary { cursor: pointer; color: #60717e; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.sources-card div { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 9px; }
.sources-card a { color: #657683; font-size: 7.5px; }

.compare-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 6px 4px 17px; }
.compare-heading h1 { font-size: clamp(32px, 4vw, 50px); }
.compare-heading h1 i { margin: 0 9px; color: #87959e; font-family: inherit; font-size: .38em; font-style: normal; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.comparison-sheet { padding: 24px 22px; }
.comparison-sheet .team-title h1 { font-size: clamp(31px, 3vw, 45px); }
.comparison-sheet .team-logo { width: 92px; height: 92px; }
.comparison-sheet .profile-circle { width: 98px; height: 98px; padding: 9px; }
.comparison-sheet .profile-circle b { font-size: 11px; }
.comparison-sheet .profile-circle small { font-size: 6px; }
.comparison-sheet .checkpoint-card, .comparison-sheet .review-card { grid-template-columns: 130px 1fr; }
.comparison-sheet .half-court { height: 375px; }
.comparison-sheet .court-player { width: 130px; }
.comparison-sheet .face { width: 60px; height: 60px; }
.comparison-sheet .bench-list { grid-template-columns: 1fr; }
.comparison-sheet .bench-row:nth-child(2) { border-top: 1px solid var(--line); }
.comparison-sheet .identity-card p { font-size: 11.5px; }

.compare-tray { min-width: 410px; position: fixed; z-index: 70; left: 50%; bottom: 18px; display: none; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; padding: 9px; transform: translateX(-50%); border: 1px solid rgba(255, 255, 255, .17); border-radius: 10px; color: #fff; background: rgba(5, 25, 44, .97); box-shadow: 0 16px 42px rgba(3, 18, 31, .25); backdrop-filter: blur(14px); }
.compare-tray.visible { display: grid; }
.compare-slots { display: flex; gap: 6px; }
.compare-chip { min-width: 79px; height: 36px; display: flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: 6px; background: rgba(255, 255, 255, .09); font-size: 8px; }
.compare-chip img { width: 25px; height: 25px; object-fit: contain; }
.compare-chip button { margin-left: auto; padding: 1px; border: 0; color: #cad5dc; background: transparent; font-size: 15px; }
.compare-chip.empty { justify-content: center; color: #91a2ad; border: 1px dashed rgba(255, 255, 255, .2); background: transparent; }
.tray-clear, .tray-open { height: 36px; padding: 0 11px; border-radius: 6px; font-size: 8px; font-weight: 850; }
.tray-clear { color: #bfccd4; border: 1px solid rgba(255, 255, 255, .17); background: transparent; }
.tray-open { color: #fff; border: 1px solid var(--orange); background: var(--orange); }
.tray-open:disabled { opacity: .45; cursor: default; }

@media (max-width: 1100px) {
  .compare-grid { grid-template-columns: 1fr; }
  .comparison-sheet .team-title h1 { font-size: clamp(34px, 5vw, 54px); }
  .comparison-sheet .profile-circle { width: 112px; height: 112px; }
  .comparison-sheet .court-player { width: 168px; }
  .comparison-sheet .face { width: 70px; height: 70px; }
  .comparison-sheet .bench-list { grid-template-columns: 1fr 1fr; }
  .comparison-sheet .bench-row:nth-child(2) { border-top: 0; }
}

@media (max-width: 850px) {
  .topbar { grid-template-columns: 1fr auto; }
  .view-label { display: none; }
  .landing-shell, .group-shell, .team-shell { width: min(100% - 20px, 720px); }
  .club-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-sheet { padding: 27px 21px; }
  .profile-circles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .profile-circle { width: 100%; height: auto; aspect-ratio: 1; min-width: 0; }
  .half-court { height: 385px; }
  .court-player { width: 146px; }
  .bench-list { grid-template-columns: 1fr; }
  .bench-row:nth-child(2) { border-top: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .topbar { min-height: 61px; padding: 7px 12px; gap: 10px; }
  .mark-copy small { display: none; }
  .mark-copy b { font-size: 14px; }
  .mark-ball { width: 28px; height: 28px; }
  .compare-button { padding: 8px; }
  .landing-shell { width: 100%; padding: 0 0 70px; }
  .competition-hero { min-height: 260px; border-radius: 0; }
  .competition-hero .competition-lockup { display: grid; justify-items: center; }
  .competition-hero .competition-lockup b { font-size: 45px; }
  .hero-ball { width: 63px; height: 63px; }
  .group-selector { padding: 24px 14px; border-radius: 0; }
  .group-tiles { gap: 8px; }
  .group-tile { min-height: 138px; }
  .group-tile b { font-size: 50px; }
  .group-shell, .team-shell, .comparison-shell { width: 100%; padding-top: 7px; }
  .route { margin: 0 12px 7px; }
  .route .team-compare { margin-left: 0; }
  .group-stage { padding: 23px 13px 28px; border-radius: 0; }
  .group-stage > header { align-items: baseline; }
  .club-grid { gap: 8px; margin-top: 15px; }
  .club-open { min-height: 158px; padding: 16px 10px 11px; }
  .club-open img { width: 86px; height: 86px; }
  .report-sheet, .comparison-sheet { padding: 24px 14px; }
  .team-masthead { display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: 11px; }
  .team-title { display: contents; }
  .team-kicker { grid-column: 1; grid-row: 1; }
  .team-title h1 { grid-column: 1; grid-row: 2; margin: 2px 0 0; font-size: clamp(29px, 9vw, 39px); }
  .team-logo, .comparison-sheet .team-logo { grid-column: 2; grid-row: 1 / span 2; width: 64px; height: 64px; }
  .profile-circles { grid-column: 1 / -1; grid-row: 3; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 8px; }
  .profile-circle, .comparison-sheet .profile-circle { width: 100%; height: auto; padding: 10px; }
  .profile-circle span { font-size: 6.3px; }
  .profile-circle b { font-size: 12px; }
  .profile-circle small { font-size: 6.6px; }
  .checkpoint-card, .review-card, .comparison-sheet .checkpoint-card, .comparison-sheet .review-card { grid-template-columns: 1fr; gap: 10px; }
  .movement-grid { grid-template-columns: 1fr; gap: 13px; }
  .movement-grid > div + div { padding: 13px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .checkpoint-card, .movement-card, .court-card, .bench-card, .identity-card, .review-card { padding: 15px 13px; }
  .half-court, .comparison-sheet .half-court { height: 400px; }
  .court-player, .comparison-sheet .court-player { width: 116px; }
  .court-player.wing-left { left: 19%; }
  .court-player.wing-right { left: 81%; }
  .court-player.forward { left: 29%; }
  .court-player.center { left: 71%; }
  .face, .comparison-sheet .face { width: 59px; height: 59px; }
  .court-player > b { font-size: 9.5px; }
  .player-stats { gap: 2px 5px; font-size: 7px; }
  .bench-row { grid-template-columns: 25px minmax(95px, 1fr) auto; gap: 4px; }
  .bench-metrics { gap: 6px; }
  .identity-card p { font-size: 11.5px; }
  .compare-heading { display: block; padding: 9px 14px 14px; }
  .compare-heading h1 { margin-top: 5px; font-size: 29px; }
  .compare-grid { gap: 10px; }
  .comparison-sheet .bench-list { grid-template-columns: 1fr; }
  .comparison-sheet .bench-row:nth-child(2) { border-top: 1px solid var(--line); }
  .compare-tray { width: calc(100% - 16px); min-width: 0; bottom: 8px; grid-template-columns: 1fr auto; }
  .compare-slots { min-width: 0; }
  .compare-chip { min-width: 0; flex: 1; }
  .tray-clear { display: none; }
  .tray-open { grid-column: 2; grid-row: 1; }
}

@media (max-width: 360px) {
  .court-player, .comparison-sheet .court-player { width: 98px; }
  .court-player.wing-left { left: 17%; }
  .court-player.wing-right { left: 83%; }
  .court-player.forward { left: 27%; }
  .court-player.center { left: 73%; }
  .court-player > b { font-size: 8.8px; }
  .court-player > small { font-size: 6.5px; }
  .player-stats { font-size: 6.5px; }
  .bench-row > b { font-size: 9.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  body { background: #fff; }
  .topbar, .route, .compare-tray { display: none !important; }
  #app, .team-shell, .comparison-shell { width: 100%; padding: 0; }
  .report-sheet { box-shadow: none; }
}
