/* A current team list with one card stage; never a projected game-day lineup. */
body.hhx-enabled { --hhx-roster-cards-css:1; }
body.hhx-enabled:is(.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-context-players) { --hhr-red:#cb1035; --hhr-ink:#0d1c27; --hhr-paper:#eeeae1; --hhr-muted:#51606a; }
body.hhx-roster-modal { position:fixed!important; inset-inline:0; top:var(--hhr-scroll-top,0)!important; width:100%; overflow:hidden!important; }
html:has(body.hhx-roster-modal) { overflow:hidden; overscroll-behavior:none; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary [data-habs-roster] { display:grid; grid-template-columns:minmax(0,1fr); align-items:start; gap:0; isolation:isolate; padding:0 clamp(16px,3vw,38px) 28px; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary [data-habs-roster] > * { grid-column:1; grid-row:auto; min-width:0; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary [data-habs-roster] > .habs-roster-section-heading { position:static; width:auto; height:auto; margin:0; padding:24px 0 12px; overflow:visible; clip:auto; clip-path:none; white-space:normal; display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 16px; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-section-heading h3 { margin:0; font:850 1.25rem/1.3 var(--hhb-display,Arial,sans-serif); }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-season-pill { border:0; padding:0; background:transparent; color:var(--hhr-muted); font:600 .75rem/1.4 var(--hhb-sans,Arial,sans-serif); }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-tools { grid-row:auto; grid-column:1 / -1; margin:0 0 14px; padding:8px 0 14px; border:0; border-bottom:1px solid #0d1c2733; background:transparent; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-search label { display:block; margin:0 0 6px; font:700 .75rem/1.3 var(--hhb-sans,Arial,sans-serif); }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-search > div { display:flex; min-width:0; gap:8px; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-search input { min-height:44px; flex:1 1 0; min-width:0; width:100%; border:1px solid #6f787c; border-radius:4px; padding:10px 12px; font-size:1rem; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-search input { background:#fffaf0!important; color:#0d1c27!important; -webkit-text-fill-color:#0d1c27!important; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-search input::placeholder { color:#52616a!important; -webkit-text-fill-color:#52616a!important; opacity:1; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-search button { flex:0 0 auto; min-width:44px; min-height:44px; margin:0; padding:8px 12px; border:1px solid #647178; border-radius:4px; color:var(--hhr-ink); background:transparent; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-search button:disabled { opacity:.5; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-positions { margin:10px 0 0; gap:4px 15px; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-positions button { min-height:44px; padding:8px 0; font:750 .75rem/1.3 var(--hhb-sans,Arial,sans-serif); }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-positions button { color:#52616a!important; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-positions button[aria-pressed="true"] { color:#0d1c27!important; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-group { display:block; margin:0; padding:0; background:transparent; border:0; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-group > h4 { position:static; display:flex; align-items:baseline; justify-content:space-between; gap:12px; width:auto; height:auto; margin:20px 0 4px; padding:0 4px 9px; border:0; border-bottom:2px solid var(--hhr-ink); overflow:visible; clip:auto; clip-path:none; white-space:normal; color:var(--hhr-ink); font:850 .8125rem/1.3 var(--hhb-sans,Arial,sans-serif); text-transform:uppercase; letter-spacing:.06em; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-group > h4 > span { color:var(--hhr-muted); font:600 .6875rem/1.3 var(--hhb-sans,Arial,sans-serif); }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-grid { display:block; margin:0; padding:0; list-style:none; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-card.hh-player-card { display:block; grid-column:auto; grid-row:auto; min-width:0; min-height:0; margin:0; padding:0; border:0; border-bottom:1px solid #0d1c2726; border-radius:0; background:transparent; box-shadow:none; touch-action:pan-y; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .hh-player-card .hh-roster-profile { position:relative; display:grid; grid-template-columns:46px minmax(0,1fr) 16px; grid-template-rows:auto; align-items:center; gap:12px; min-width:0; min-height:76px; height:auto; margin:0; padding:8px 10px 8px 4px; border:0; border-radius:0; background:transparent; color:var(--hhr-ink); text-decoration:none; overflow:visible; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .hh-roster-profile::after { content:'↗'; grid-column:3; grid-row:1; align-self:center; font:600 1.125rem/1 var(--hhb-sans,Arial,sans-serif); color:#5b6770; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary [data-hhr-selected="true"] .hh-roster-profile { background:#c9103510; box-shadow:inset 3px 0 #cb1035; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary [data-hhr-selected="true"] .hh-roster-profile::after { color:#ae0d2c; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .hh-roster-portrait { grid-column:1; grid-row:1; position:relative; display:block; width:46px; min-width:46px; height:52px; min-height:52px; margin:0; padding:0; border:0; border-radius:3px; background:#d9d5cd; overflow:hidden; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .hh-roster-portrait img { display:block; position:absolute; inset:auto auto -5px 50%; width:58px; max-width:none; height:58px; min-height:0; margin:0; object-fit:contain; transform:translateX(-50%); filter:none; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .hh-roster-portrait :is(.hh-roster-letter,.hh-roster-jersey,.hh-roster-profile-arrow) { display:none; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .hh-roster-photo-fallback { font-size:.625rem; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .hh-roster-identity { grid-column:2; grid-row:1; display:flex; flex-wrap:wrap; align-items:baseline; align-content:center; gap:0 5px; min-width:0; margin:0; padding:0; background:transparent; border:0; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary :is(.hh-roster-first,.hh-roster-identity strong.hh-roster-last) { display:inline; grid-column:auto; margin:0; color:var(--hhr-ink); font:750 .9375rem/1.3 var(--hhb-sans,Arial,sans-serif); letter-spacing:-.02em; overflow-wrap:anywhere; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .hh-roster-position { display:flex; flex-basis:100%; flex-wrap:wrap; gap:4px 8px; margin-top:4px; color:var(--hhr-muted); font:500 .6875rem/1.35 var(--hhb-sans,Arial,sans-serif); }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .hh-roster-position b { color:#98213a; font-weight:750; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .hh-roster-identity :is(.hh-roster-size,.hh-roster-hand) { display:none; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary [data-habs-roster] > :is(.habs-roster-freshness,.habs-source-note,.habs-data-delay) { grid-row:auto; grid-column:1 / -1; margin:0; padding:12px 0; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary [data-habs-roster] > .habs-roster-freshness { order:10; font-size:.6875rem; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary [data-habs-roster] > .habs-source-note { order:11; font-size:.6875rem; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary [data-habs-roster] > .habs-data-delay { margin-bottom:12px; padding:12px; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary [data-habs-roster-empty] { padding:20px 0; color:var(--hhr-ink); }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary [data-habs-roster] [hidden],body.hhx-enabled.hhx-roster-cards-ready .hhr-viewer [hidden] { display:none!important; }
/* One owned card stage. The list, filters and full-profile URLs remain native. */
body.hhx-enabled.hhx-roster-cards-ready .hhr-viewer { box-sizing:border-box; min-width:0; width:min(calc(100% - 16px),344px); max-width:100%; max-height:calc(100dvh - 24px); margin:auto; padding:6px 12px 12px; overflow:auto; overscroll-behavior:contain; border:0; border-radius:0; color:var(--hhr-ink); background:transparent; color-scheme:light; box-shadow:none; --hhr-ui-ink:var(--hhr-ink); }
body.hhx-enabled.hhx-roster-cards-ready .hhr-viewer *,body.hhx-enabled.hhx-roster-cards-ready .hhr-viewer *::before,body.hhx-enabled.hhx-roster-cards-ready .hhr-viewer *::after { box-sizing:border-box; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-viewer:not([open]) { display:none!important; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-viewer::backdrop { background:#071a27ed; backdrop-filter:blur(7px); }
body.hhx-enabled.hhx-roster-cards-ready .hhr-viewer[data-hhr-mode="modal"] { --hhr-ui-ink:#eee8db; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-viewer-bar { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:6px; width:min(100%,320px); min-height:44px; margin:0 auto 6px; padding:0; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-viewer-title { grid-column:2; grid-row:1; min-width:0; margin:0; color:var(--hhr-ui-ink); font:600 11px/1.3 var(--hhb-sans,Arial,sans-serif); letter-spacing:.04em; text-align:center; text-transform:uppercase; }
body.hhx-enabled.hhx-roster-cards-ready :is(.hhr-close,.hhr-flip) { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-height:44px; width:auto; margin:0; padding:6px 2px; border:0; border-radius:0; color:var(--hhr-ui-ink); background:transparent; box-shadow:none; font:700 12px/1.35 var(--hhb-sans,Arial,sans-serif); text-transform:none; letter-spacing:0; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-close { grid-column:1; grid-row:1; justify-self:start; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-flip { grid-column:3; grid-row:1; justify-self:end; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-flip::before { content:'↻'; font-size:17px; line-height:1; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card { position:relative; width:min(300px,100%); min-width:0; margin:0 auto; perspective:1100px; transform-origin:center; transition:transform 230ms cubic-bezier(.2,.8,.2,1),opacity 180ms; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card[data-hhr-dragging="true"] { transition:none; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card-turn { position:relative; display:grid; min-height:448px; width:100%; transform-style:preserve-3d; transition:transform 500ms cubic-bezier(.23,.8,.25,1); }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card[data-hhr-side="back"] .hhr-card-turn { transform:rotateY(180deg); }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card-turn.hhr-no-turn { transition:none; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-face { position:relative; grid-area:1 / 1; min-width:0; margin:0; padding:8px; overflow:hidden; border:1px solid #e2e7e4; border-radius:4px; color:var(--hhr-ink); background:var(--hhr-paper); backface-visibility:hidden; box-shadow:0 12px 26px #0004,0 1px 2px #fff8 inset; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-face::before { position:absolute; inset:4px; z-index:4; content:''; border:1px solid #85928e; border-radius:2px; pointer-events:none; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-face::after { position:absolute; inset:0; z-index:5; content:''; background:linear-gradient(123deg,#fff0 31%,#fff2 45%,#fff0 59%); pointer-events:none; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-front { transform:rotateY(0deg); display:grid; grid-template-rows:30px minmax(0,1fr) 31px; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card-top { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:0; padding:0 9px; color:var(--hhr-ink); font:700 11px/1.2 var(--hhb-sans,Arial,sans-serif); letter-spacing:.1em; text-transform:uppercase; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card-brand { color:var(--hhr-ink); font:850 16px/1 var(--hhb-display,Arial,sans-serif); letter-spacing:.03em; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card-art { position:relative; isolation:isolate; min-width:0; min-height:300px; overflow:hidden; border:1px solid #667780; background:#132e3d; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card-art::before { content:''; position:absolute; width:310px; height:310px; left:-95px; top:22px; border:34px solid #213b48; border-radius:50%; box-shadow:0 0 0 1px #49606c; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card-art::after { content:''; position:absolute; inset:0; z-index:-1; background:repeating-linear-gradient(115deg,transparent 0,transparent 34px,#ffffff07 35px,transparent 36px); }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card-number { position:absolute; top:10px; right:14px; z-index:2; color:#eef0eb; font:900 54px/.95 var(--hhb-display,Arial,sans-serif); letter-spacing:-.04em; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card-position { position:absolute; top:66px; right:14px; z-index:2; max-width:50%; margin:0; color:#ced7d8; font:700 11px/1.3 var(--hhb-sans,Arial,sans-serif); text-transform:uppercase; letter-spacing:.03em; text-align:right; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card-photo { position:absolute; display:block; left:50%; bottom:48px; width:111%; max-width:none; height:auto; margin:0; object-fit:contain; object-position:bottom; transform:translateX(-50%); filter:drop-shadow(0 5px 6px #0005); }
body.hhx-enabled.hhx-roster-cards-ready .hhr-photo-placeholder { display:none; position:absolute; top:42%; left:10px; right:10px; color:#d8dfdf; font:600 12px/1.4 var(--hhb-sans,Arial,sans-serif); text-align:center; }
body.hhx-enabled.hhx-roster-cards-ready [data-hhr-photo="missing"] .hhr-photo-placeholder { display:block; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card-letter { position:absolute; z-index:2; left:13px; top:14px; color:#eee8db; font:900 23px/1 var(--hhb-display,Arial,sans-serif); }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card-identity { position:absolute; bottom:0; left:0; right:0; min-height:86px; padding:10px 13px 9px; color:#fff8e8; background:var(--hhr-red); border-top:3px solid var(--hhr-paper); transform:skewY(-4deg); transform-origin:100% 0; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-nameplate-inner { transform:skewY(4deg); }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card-first { display:block; margin:0; color:#fff8e8; font:700 13px/1.3 var(--hhb-sans,Arial,sans-serif); text-transform:uppercase; letter-spacing:.12em; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card-last { display:block; max-width:100%; margin:1px 0 0; color:#fff8e8; font:900 42px/1 var(--hhb-display,Arial,sans-serif); text-transform:uppercase; letter-spacing:-.025em; overflow-wrap:anywhere; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card-last.hhr-card-long-name { font-size:clamp(24px,8vw,28px); line-height:1.1; letter-spacing:-.035em; overflow-wrap:normal; word-break:normal; white-space:nowrap; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card-foot { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:0; padding:1px 8px 0; color:var(--hhr-ink); font:750 11px/1.3 var(--hhb-sans,Arial,sans-serif); text-transform:uppercase; letter-spacing:.04em; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card-foot > :last-child { font-weight:500; letter-spacing:0; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-back { display:flex; flex-direction:column; min-height:min-content; padding:17px 17px 14px; transform:rotateY(180deg); }
body.hhx-enabled.hhx-roster-cards-ready .hhr-back-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:10px; padding-bottom:9px; border-bottom:3px solid var(--hhr-red); }
body.hhx-enabled.hhx-roster-cards-ready .hhr-back-heading > div { min-width:0; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-back-name { margin:0; color:var(--hhr-ink); font:900 27px/1 var(--hhb-display,Arial,sans-serif); text-transform:uppercase; overflow-wrap:anywhere; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-back-team { margin:4px 0 0; color:#374e58; font:500 11px/1.3 var(--hhb-sans,Arial,sans-serif); letter-spacing:.02em; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-back-number { color:var(--hhr-red); font:900 37px/1 var(--hhb-display,Arial,sans-serif); }
body.hhx-enabled.hhx-roster-cards-ready .hhr-bio { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px 9px; margin:11px 0 10px; padding:0; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-bio-item { display:flex; align-items:baseline; gap:5px; min-width:0; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-bio-wide { grid-column:1 / -1; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-bio dt { flex:0 0 auto; margin:0; color:#49606a; font:500 11px/1.2 var(--hhb-sans,Arial,sans-serif); }
body.hhx-enabled.hhx-roster-cards-ready .hhr-bio dd { min-width:0; margin:0; color:var(--hhr-ink); font:750 12px/1.3 var(--hhb-sans,Arial,sans-serif); overflow-wrap:anywhere; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-back-season { margin:3px 0 0; padding:7px 0 6px; border-top:1px solid #9aa59f; color:var(--hhr-ink); font:750 11px/1.35 var(--hhb-sans,Arial,sans-serif); text-transform:uppercase; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-stat-table { width:100%; max-width:100%; margin:0; padding:0; table-layout:fixed; border-collapse:collapse; border:0; background:transparent; font-variant-numeric:tabular-nums; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-stat-table :is(thead,tbody,tr) { border:0; background:transparent; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-stat-table th { width:auto; margin:0; padding:6px 1px; border:0; background:var(--hhr-ink); color:#f7f2e6; font:750 11px/1.2 var(--hhb-sans,Arial,sans-serif); text-align:center; white-space:normal; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-stat-table th:last-child { width:21%; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-stat-table td { margin:0; padding:9px 1px; border:0; border-bottom:1px solid #a6ada6; background:transparent; color:var(--hhr-ink); font:750 14px/1.2 var(--hhb-sans,Arial,sans-serif); text-align:center; white-space:nowrap; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-viewer abbr { border:0; color:inherit; font:inherit; text-decoration:none; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-extra-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 10px; margin:4px 0 0; padding:0; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-extra-stat { display:flex; justify-content:space-between; align-items:baseline; gap:4px; padding:7px 0 5px; border-bottom:1px solid #b0b8b0; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-extra-stat dt { min-width:0; margin:0; color:#49606a; font:500 11px/1.3 var(--hhb-sans,Arial,sans-serif); }
body.hhx-enabled.hhx-roster-cards-ready .hhr-extra-stat dd { margin:0; color:var(--hhr-ink); font:750 12px/1.3 var(--hhb-sans,Arial,sans-serif); font-variant-numeric:tabular-nums; white-space:nowrap; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-saved { margin:8px 0 9px; color:#4a5a60; font:500 11px/1.35 var(--hhb-sans,Arial,sans-serif); }
body.hhx-enabled.hhx-roster-cards-ready :is(.hhr-bio-unavailable,.hhr-stats-empty) { margin:11px 0; padding:0; color:#4a5a60; font:500 12px/1.4 var(--hhb-sans,Arial,sans-serif); }
body.hhx-enabled.hhx-roster-cards-ready .hhr-back-foot { display:flex; justify-content:space-between; align-items:end; gap:7px; margin-top:auto; padding-top:9px; border-top:1px solid #9aa59f; color:#4a5a60; font:500 11px/1.3 var(--hhb-sans,Arial,sans-serif); }
body.hhx-enabled.hhx-roster-cards-ready .hhr-back-brand { color:var(--hhr-ink); font:900 17px/1 var(--hhb-display,Arial,sans-serif); white-space:nowrap; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card-tap { position:absolute; inset:0; z-index:8; display:block; width:100%; height:100%; min-height:0; margin:0; padding:0; border:0; border-radius:4px; color:transparent; background:transparent!important; box-shadow:none; touch-action:pan-y pinch-zoom; -webkit-tap-highlight-color:transparent; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card[data-hhr-side="back"] .hhr-card-tap { transform:rotateY(180deg); }
body.hhx-enabled.hhx-roster-cards-ready .hhr-hint { margin:12px 0 0; color:var(--hhr-ui-ink); font:500 11px/1.4 var(--hhb-sans,Arial,sans-serif); text-align:center; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-actions { display:flex; justify-content:center; margin:0; padding:0; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-profile { display:inline-flex; justify-content:center; align-items:center; min-height:44px; margin:0; padding:8px 4px; color:var(--hhr-ui-ink); font:700 12px/1.35 var(--hhb-sans,Arial,sans-serif); text-align:center; text-decoration:underline; text-underline-offset:3px; }
body.hhx-enabled.hhx-roster-cards-ready :is(.hhr-viewer button,.hhr-profile,.hh-roster-profile):focus-visible { outline:3px solid #497aa8; outline-offset:3px; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-card[data-hhr-empty="true"] .hhr-front { display:flex; justify-content:center; align-items:flex-start; flex-direction:column; padding:28px; background:var(--hhr-ink); }
body.hhx-enabled.hhx-roster-cards-ready .hhr-empty-crest { margin-bottom:23px; color:#eee8db; font:900 34px/1 var(--hhb-display,Arial,sans-serif); font-style:italic; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-empty-title { margin:0; color:#eee8db; font:900 clamp(32px,4vw,50px)/1 var(--hhb-display,Arial,sans-serif); letter-spacing:-.04em; white-space:pre-line; }
body.hhx-enabled.hhx-roster-cards-ready .hhr-empty-copy { margin:20px 0 0; color:#bac9d2; font:500 13px/1.5 var(--hhb-sans,Arial,sans-serif); }
/* iPad and desktop retain the list beside the collectible card. */
body.hhx-enabled.hhx-club-scenes-ready.hhx-site-context-players.hhx-roster-cards-ready.habs-design-2026 #primary [data-habs-roster][data-hhr-mode="inline"] { grid-template-columns:minmax(0,1fr) minmax(260px,1fr); column-gap:22px; }
body.hhx-enabled.hhx-club-scenes-ready.hhx-site-context-players.hhx-roster-cards-ready.habs-design-2026 #primary [data-hhr-mode="inline"] > .habs-roster-section-heading { grid-column:1 / -1; grid-row:1; }
body.hhx-enabled.hhx-club-scenes-ready.hhx-site-context-players.hhx-roster-cards-ready.habs-design-2026 #primary [data-hhr-mode="inline"] > .habs-data-delay { grid-row:2; }
body.hhx-enabled.hhx-club-scenes-ready.hhx-site-context-players.hhx-roster-cards-ready.habs-design-2026 #primary [data-hhr-mode="inline"] > .habs-roster-tools { grid-row:3; }
body.hhx-enabled.hhx-club-scenes-ready.hhx-site-context-players.hhx-roster-cards-ready.habs-design-2026 #primary [data-hhr-mode="inline"] > :is([data-habs-roster-group="forwards"],[data-habs-roster-empty]) { grid-row:4; }
body.hhx-enabled.hhx-club-scenes-ready.hhx-site-context-players.hhx-roster-cards-ready.habs-design-2026 #primary [data-hhr-mode="inline"] > [data-habs-roster-group="defensemen"] { grid-row:5; }
body.hhx-enabled.hhx-club-scenes-ready.hhx-site-context-players.hhx-roster-cards-ready.habs-design-2026 #primary [data-hhr-mode="inline"] > [data-habs-roster-group="goalies"] { grid-row:6; }
body.hhx-enabled.hhx-club-scenes-ready.hhx-site-context-players.hhx-roster-cards-ready.habs-design-2026 #primary [data-hhr-mode="inline"] > .habs-roster-freshness { grid-row:7; }
body.hhx-enabled.hhx-club-scenes-ready.hhx-site-context-players.hhx-roster-cards-ready.habs-design-2026 #primary [data-hhr-mode="inline"] > .habs-source-note { grid-row:8; }
body.hhx-enabled.hhx-club-scenes-ready.hhx-site-context-players.hhx-roster-cards-ready.habs-design-2026 #primary [data-hhr-mode="inline"] > .hhr-viewer { grid-column:2; grid-row:4 / span 3; position:sticky; top:calc(var(--hhx-navigation-top-space,var(--hhx-adminbar-offset,0px)) + 18px); align-self:start; display:block; width:100%; max-width:340px; max-height:none; margin:14px 0 0 auto; padding:0; overflow:visible; border:0; background:transparent; box-shadow:none; }
@media(min-width:1100px) {
 body.hhx-enabled.hhx-club-scenes-ready.hhx-site-context-players.hhx-roster-cards-ready.habs-design-2026 #primary [data-habs-roster][data-hhr-mode="inline"] { grid-template-columns:minmax(0,1fr) minmax(320px,.9fr); column-gap:clamp(34px,5vw,80px); }
 body.hhx-enabled.hhx-roster-cards-ready .hhr-viewer[data-hhr-mode="inline"] .hhr-card { width:min(320px,100%); }
 body.hhx-enabled.hhx-roster-cards-ready .hhr-viewer[data-hhr-mode="inline"] .hhr-card-turn { min-height:468px; }
 body.hhx-enabled.hhx-club-scenes-ready.hhx-site-context-players.hhx-roster-cards-ready.habs-design-2026 #primary .hh-player-card .hh-roster-profile { gap:16px; min-height:82px; }
}
@media(max-width:359px) {
 body.hhx-enabled.hhx-roster-cards-ready .hhr-viewer { padding-inline:8px; max-height:calc(100dvh - 16px); }
 body.hhx-enabled.hhx-roster-cards-ready .hhr-back { padding-inline:15px; }
}
@media(max-height:760px) {
 body.hhx-enabled.hhx-club-scenes-ready.hhx-site-context-players.hhx-roster-cards-ready.habs-design-2026 #primary [data-hhr-mode="inline"] > .hhr-viewer { max-height:calc(100dvh - var(--hhx-navigation-top-space,var(--hhx-adminbar-offset,0px)) - 36px); overflow:auto; scrollbar-width:thin; }
 body.hhx-enabled.hhx-roster-cards-ready .hhr-viewer-bar { position:sticky; top:0; z-index:10; background:var(--hhr-paper); }
 body.hhx-enabled.hhx-roster-cards-ready .hhr-viewer[data-hhr-mode="modal"] .hhr-viewer-bar { background:#102631; }
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 body.hhx-enabled.hhx-club-scenes-ready.hhx-site-context-players.hhx-roster-cards-ready.habs-design-2026 #primary .hh-player-card .hh-roster-profile { transition:background-color .15s ease; }
 body.hhx-enabled.hhx-club-scenes-ready.hhx-site-context-players.hhx-roster-cards-ready.habs-design-2026 #primary .hh-player-card .hh-roster-profile:hover { background:#0d1c2709; }
}
@media(prefers-reduced-motion:reduce) {
 body.hhx-enabled.hhx-roster-cards-ready :is(.hhr-card,.hhr-card-turn,.hhr-face,.hh-roster-profile) { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}

/* Start the native roster sooner, retaining 44px search/filter targets. */
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary [data-habs-roster] > .habs-roster-section-heading { padding:14px 0 6px; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-tools { padding-top:4px; padding-bottom:6px; margin-bottom:4px; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-positions { margin-top:4px; }
body.hhx-enabled:is(.hhx-club-scenes-ready.hhx-roster-cards-ready,.hhx-first-paint.hhx-site-data).hhx-site-context-players.habs-design-2026 #primary .habs-roster-group > h4 { margin-top:10px; padding-bottom:6px; }
