/* Shared athlete card: Chute's jersey, match, projection and pick hierarchy. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.athlete-card{--card-bg:#222;--card-top:#353535;--card-ink:#fafafa;--card-muted:#bbb;--card-control:#2d2d2d;--card-line:#444;--card-active:#fff;--card-active-ink:#111;overflow:hidden;min-width:0;border:1px solid var(--card-line);border-radius:18px;background:var(--card-bg);color:var(--card-ink);text-align:left;align-self:start}
.athlete-card-header{position:relative;min-height:165px;padding:16px;background:repeating-linear-gradient(0deg,transparent 0 3px,#ffffff04 3px 4px),linear-gradient(160deg,var(--card-top),var(--card-bg));isolation:isolate}
.match-time{position:relative;z-index:2;display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:3px 8px;background:#ffffff1b;font-size:.75rem;line-height:1.2;white-space:nowrap}
.clock-mark{position:relative;display:block;width:12px;height:12px;border:1px solid currentColor;border-radius:50%}.clock-mark:after{content:'';position:absolute;left:5px;top:2px;width:3px;height:4px;border-left:1px solid currentColor;border-bottom:1px solid currentColor}
.card-chart{position:absolute;top:12px;right:12px;width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#0004;color:#c4c4c4}.card-chart svg{width:19px;height:19px}
.athlete-card-identity{position:relative;z-index:2;width:57%;margin-top:12px}.athlete-card-identity h4{font:700 1.125rem/1.25 Inter,Arial,sans-serif;letter-spacing:-.02em;color:var(--card-ink)}
.match-teams{display:flex;align-items:center;gap:6px;margin-top:10px;color:var(--card-muted);font-size:.75rem;line-height:1}.team-token{display:grid;place-items:center;background:#e6e6e6;color:#222;width:21px;height:21px;border:1px solid #aaa;border-radius:50%;font-size:.75rem;font-weight:700}.team-token-away{background:#535353;color:white}
.athlete-jersey{position:absolute;width:48%;height:auto;max-height:123px;object-fit:contain;right:4px;bottom:2px;z-index:1;filter:grayscale(1);pointer-events:none}.jersey-away{filter:grayscale(1) brightness(.63)}
.athlete-card-body{padding:14px}.athlete-stat{display:flex;justify-content:center;align-items:baseline;gap:8px;min-height:43px;margin-bottom:13px}.athlete-stat strong{font:800 2.2rem/1 Barlow,Impact,sans-serif;letter-spacing:-.03em}.athlete-stat>span{font-size:.875rem;color:var(--card-muted);line-height:1.3}
.athlete-card .pick-controls{display:flex;gap:10px}.athlete-card .pick-controls button{flex:1;min-width:0;min-height:50px;padding:10px 5px;border:1px solid transparent;border-radius:11px;background:var(--card-control);color:var(--card-ink);font-size:.875rem;line-height:1.2;font-weight:700;display:flex;align-items:center;justify-content:center;gap:7px;transition:background .15s,border-color .15s,color .15s}.athlete-card .pick-controls button>span:first-child{font-weight:400}.athlete-card .pick-controls button:hover{border-color:#8b8b8b}.athlete-card .pick-controls button[aria-pressed=true]{background:var(--card-active);color:var(--card-active-ink);border-color:var(--card-active)}.athlete-card:has(.pick-controls button[aria-pressed=true]){border-color:#a3a3a3}
.hero-playground{transform:rotate(2deg)}.hero-card.athlete-card{transform:rotate(-4deg);box-shadow:8px 12px 0 #16161624;padding:0;margin:25px 8px 0}.hero-card .athlete-card-header{min-height:225px;padding:22px}.hero-card .athlete-card-identity{margin-top:18px}.hero-card .athlete-card-identity h4{font-size:1.45rem}.hero-card .athlete-jersey{max-height:182px;width:51%;right:2px;bottom:0}.hero-card .athlete-card-body{padding:18px}.hero-card .athlete-stat{min-height:52px}.hero-card .athlete-stat strong{font-size:3rem}.hero-card .athlete-stat>span{font-size:1rem}.hero-card .hero-result{padding:16px 18px;margin:0;border-top:1px solid #ffffff12;min-height:66px;font-size:.75rem;line-height:1.5}
.lineup-demo{grid-template-columns:1fr 1.1fr 1.1fr 1.1fr;align-items:start}.lineup-athlete .athlete-card-header{min-height:159px}.lineup-athlete .athlete-card-identity h4{font-size:1.0625rem}.lineup-athlete .athlete-card-body{padding:12px}.lineup-athlete .athlete-stat{gap:6px}.lineup-athlete .athlete-stat>span{font-size:.8125rem}.lineup-athlete .athlete-stat strong{font-size:2.15rem}.lineup-athlete .athlete-jersey{width:49%;max-height:116px;right:0}.lineup-athlete .pick-controls{gap:8px}.lineup-athlete .pick-controls button{font-size:.8125rem}
.preview-athlete{margin-top:20px;max-width:340px;margin-inline:auto}.preview-athlete .athlete-card-header{min-height:169px}.preview-athlete .athlete-jersey{max-height:130px}.preview-athlete .athlete-stat strong{font-size:2.3rem}.brand-preview[data-theme=light] .athlete-card{--card-bg:#f5f5f5;--card-top:#ccc;--card-ink:#111;--card-muted:#555;--card-control:#e2e2e2;--card-line:#bcbcbc;--card-active:#151515;--card-active-ink:#fff}.brand-preview[data-theme=light] .match-time{background:#00000012}.brand-preview[data-theme=light] .card-chart{background:#00000012;color:#555}
/* The supplied card image is shown whole, with no invented application chrome. */
.case-slide:is([data-screen=picks],[data-screen=profile]) .gallery-screen{object-fit:contain;background:#141414}.case-slide[data-screen=picks] .gallery-browser-bar>span:last-child{display:none}
/* Keep the transparent 3D planes from intercepting the side cards. */
.case-carousel,.case-slides{pointer-events:none}.case-slide:not([data-position=hidden]){pointer-events:auto}
/* Keep the front card at its native CSS size and let animation layers retire. */
.case-slide{will-change:auto}
.case-slide[data-position=active]{transform:translateX(-50%)}
@media(max-width:1150px){.lineup-demo{grid-template-columns:1fr 1fr 1fr;gap:18px}.lineup-demo .demo-description{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px 28px}.demo-description .demo-disclaimer{margin-top:0}.demo-description h3{margin:0;grid-column:1;grid-row:2/4}.demo-description>p{grid-column:2;grid-row:2}.demo-description>.demo-disclaimer{grid-column:2;grid-row:3}.hero-card .athlete-card-header{min-height:210px}.hero-card .athlete-jersey{max-height:162px}.hero-card .athlete-card-identity h4{font-size:1.3rem}}
@media(max-width:900px){.lineup-demo{grid-template-columns:1fr 1fr}.lineup-demo .demo-summary{grid-column:1/-1}.lineup-athlete .athlete-card-header{min-height:178px}.lineup-athlete .athlete-jersey{max-height:135px;right:6px}.lineup-athlete .athlete-card-identity h4{font-size:1.2rem}.lineup-athlete .athlete-stat>span{font-size:.875rem}.lineup-athlete .pick-controls button{font-size:.875rem}}
@media(max-width:760px){.hero-card .athlete-card-header{min-height:205px;padding:18px}.hero-card .athlete-card-identity h4{font-size:1.35rem}.hero-card .athlete-jersey{max-height:167px}.lineup-demo{padding:20px;gap:16px}.lineup-demo .demo-description{display:block}.demo-description h3{margin:15px 0 12px}.demo-description>.demo-disclaimer{margin-top:15px}.lineup-athlete{grid-column:1/-1;width:100%;max-width:390px;justify-self:center}.lineup-athlete .athlete-card-header{min-height:170px}.lineup-athlete .athlete-jersey{max-height:135px;width:46%}.preview-athlete .athlete-card-identity h4{font-size:1.0625rem}.preview-athlete .athlete-card-body{padding:12px}.preview-athlete .athlete-card-header{padding:14px;min-height:158px}.preview-athlete .athlete-jersey{max-height:120px}.preview-athlete .pick-controls button{font-size:.8125rem}.preview-athlete .athlete-stat>span{font-size:.8125rem}.hero-card .athlete-card-body{padding:14px}.hero-card .athlete-stat>span{font-size:.9375rem}}
@media(max-width:370px){.hero-playground{padding:20px 16px 15px}.hero-card .athlete-card-identity h4{font-size:1.2rem}.hero-card .athlete-jersey{max-height:145px;width:51%}.hero-card .athlete-card-header{min-height:195px}.hero-card .athlete-stat strong{font-size:2.6rem}.hero-card .athlete-stat>span{font-size:.8125rem}.lineup-demo{padding:14px}.brand-lab{padding:16px}.brand-preview{padding:14px}.preview-athlete .athlete-card-identity h4{font-size:1rem}.athlete-card .match-time{font-size:.75rem}}

/* Restore the original tilted hero composition around the updated card. */
.hero .note-index{white-space:nowrap}
@media(max-width:1150px){.hero-card.athlete-card{margin:22px 5px 0}}
@media(max-width:760px){.hero-card.athlete-card{margin-inline:7px}}
@media(max-width:370px){.hero-card.athlete-card{margin-inline:0}}

/* Preserve the full vertical screenshots and size the gallery around them. */
.case-carousel[data-orientation=portrait]{--portrait-width:350px;height:calc(var(--portrait-width) * 1.7354 + 235px)}
.case-carousel[data-orientation=portrait] .case-slide{width:var(--portrait-width);max-width:none}
.case-carousel[data-orientation=portrait] .gallery-screen{aspect-ratio:922/1600;object-fit:contain;object-position:center;background:#141414}
.case-carousel[data-orientation=portrait] .gallery-card-copy p{padding-right:0}
.case-carousel[data-orientation=portrait] .gallery-card-copy h3{padding-right:15px}
#image-dialog[data-orientation=portrait]{width:min(620px,calc(100% - 32px))}
#image-dialog[data-orientation=portrait] #gallery-modal-image{width:auto;height:auto;max-width:100%;max-height:calc(90dvh - 100px);margin:0 auto;object-fit:contain}
@media(max-width:900px){.case-carousel[data-orientation=portrait]{--portrait-width:320px}}
@media(max-width:760px){.case-carousel[data-orientation=portrait]{--portrait-width:min(330px,calc((100vw - 40px) * .9));height:calc(var(--portrait-width) * 1.7354 + 220px)}}

/* Mobile: one compact horizontal row per athlete, with the betslip close by. */
@media(max-width:760px){
 .lineup-demo{padding:14px;gap:12px}
 .lineup-athlete{display:grid;grid-template-columns:minmax(0,1fr) minmax(118px,.92fr);gap:10px;max-width:none;padding:11px;border-radius:13px;background:linear-gradient(115deg,#303030,#222 62%)}
 .lineup-athlete .athlete-card-header{min-height:96px;padding:0;background:none}
 .lineup-athlete .match-time{padding:3px 5px;gap:4px;font-size:.75rem}
 .lineup-athlete .athlete-card-identity{width:auto;margin:9px 0 0 47px}
 .lineup-athlete .athlete-card-identity h4{font-size:.875rem;line-height:1.2;letter-spacing:-.02em}
 .lineup-athlete .match-teams{gap:4px;margin-top:7px}
 .lineup-athlete .team-token{width:17px;height:17px;font-size:.75rem}
 .lineup-athlete .athlete-jersey{width:44px;height:57px;max-height:none;left:0;right:auto;top:29px;bottom:auto;object-fit:contain}
 .lineup-athlete .card-chart{width:20px;height:20px;border-radius:5px;left:11px;right:auto;top:auto;bottom:0;background:#1b1b1b}
 .lineup-athlete .card-chart svg{width:15px;height:15px}
 .lineup-athlete .athlete-card-body{display:flex;flex-direction:column;justify-content:space-between;min-width:0;padding:2px 0 0}
 .lineup-athlete .athlete-stat{justify-content:flex-start;align-items:center;gap:6px;min-height:41px;margin:0 0 7px}
 .lineup-athlete .athlete-stat strong{font-size:2rem;flex-shrink:0}
 .lineup-athlete .athlete-stat>span{font-size:.75rem;line-height:1.25;max-width:78px}
 .lineup-athlete .pick-controls{gap:5px}
 .lineup-athlete .pick-controls button{min-height:44px;padding:8px 2px;gap:4px;border-radius:8px;font-size:.8125rem}
 .lineup-athlete .pick-controls button:focus-visible{outline-offset:-3px}
}
@media(max-width:370px){
 .lineup-demo{padding:10px;gap:10px}
 .lineup-athlete{grid-template-columns:minmax(0,1fr) 118px;padding:9px;gap:8px}
 .lineup-athlete .athlete-card-identity{margin-left:40px}
 .lineup-athlete .athlete-jersey{width:37px}
 .lineup-athlete .card-chart{left:8px}
 .lineup-athlete .athlete-stat strong{font-size:1.8rem}
 .lineup-athlete .pick-controls button{font-size:.75rem;gap:3px}
}
