/* Arena photography and surfaces for the public and member sports pages. */
html:not([data-theme="light"]) body.workspace {
  --sp-stage: #10151e;
  --sp-card: #1c2532;
  --sp-card-2: #273141;
  --sp-line: #2d3d53;
  --sp-line-2: #526d8b;
  --sp-accent: #83c5ff;
  --sp-brand: #3458d9;
  --sp-on-brand: #fff;
  --sp-sub: #bccbdb;
  --sp-dim: #a2b4c9;
  --hx-sp-glass: linear-gradient(132deg, rgb(105 128 158 / 20%), rgb(29 38 52 / 78%) 65%, rgb(41 52 67 / 65%));
  --sp-edge: inset 0 1px 0 rgb(223 235 255 / 8%), 0 14px 34px -22px #040810;
  background: radial-gradient(ellipse at 0 20rem, #344455 0, transparent 48rem), radial-gradient(ellipse at 96% 34rem, #1c2b43 0, transparent 46rem), #10141c;
}
html[data-theme="light"] body.workspace {
  --hx-sp-glass: linear-gradient(138deg, rgb(255 255 255 / 94%), rgb(227 236 247 / 83%));
  --sp-edge: inset 0 1px 0 white, 0 14px 34px -24px #64768b;
}
html:not([data-theme="light"]) .workspace .hx {
  --hx-stage: var(--sp-stage);
  --hx-card: var(--sp-card);
  --hx-card-2: var(--sp-card-2);
  --hx-line: var(--sp-line);
  --hx-line-2: var(--sp-line-2);
  --hx-accent: var(--sp-accent);
  --hx-brand: var(--sp-brand);
  --hx-on-brand: var(--sp-on-brand);
}
body.workspace header.workspace-topbar {
  background: color-mix(in srgb, var(--sp-stage) 93%, transparent);
  border-bottom: 1px solid var(--sp-line);
  backdrop-filter: blur(16px);
}
body.workspace .workspace-nav a[aria-current] {
  background: color-mix(in srgb, var(--sp-accent) 10%, transparent);
  box-shadow: inset 0 -2px var(--sp-accent);
}
.workspace .hx { max-width: 1320px; }
.workspace .hx .sp-eyebrow, .workspace .in-hello .sp-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a4d6ff;
  font: 700 .82rem/1.35 var(--sp-body);
  text-transform: uppercase;
  letter-spacing: .095em;
  margin: 0 0 14px;
}
.sp-eyebrow::before { content: ''; width: 25px; height: 3px; background: currentColor; border-radius: 2px; }
.workspace .hx .hx-hero .hx-title {
  color: #f4f8fc;
  font: 650 clamp(3rem, 4.8vw, 4.75rem)/1.04 var(--sp-body);
  letter-spacing: -.037em;
  text-transform: none;
  overflow-wrap: anywhere;
}
.workspace .hx .hx-hero .hx-lede {
  font: 500 clamp(1rem, 1.3vw, 1.15rem)/1.45 var(--sp-body);
  color: #ccdaea;
  margin: 13px 0 22px !important;
  max-width: 43ch;
}
body.workspace .hx-hero #home-title ~ .hx-actions .hx-btn-primary {
  --hx-brand: #3458d9;
  --hx-on-brand: #fff;
}
body.workspace .sp-leagues { margin: 0 0 22px; }
body.workspace .sp-leagues h2 { font: 650 1.12rem/1.25 var(--sp-body); text-transform: none; margin: 0 0 12px; }
.sp-league-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 8px;
}
.workspace a.sp-league {
  --art-size: clamp(48px, 5.6vw, 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--art-size);
  grid-template-rows: 1fr 1fr;
  gap: 4px 6px;
  min-width: 0;
  padding: 12px;
  color: #f7faf9;
  background: linear-gradient(115deg, #17282d, #0c1d20);
  border: 1px solid #405458;
  border-radius: 12px;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.sp-league::before {
  content: '';
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  width: var(--art-size);
  aspect-ratio: 1;
  background: var(--league-image, none) var(--league-x, 0%) var(--league-y, 0%) / 400% 200% no-repeat;
  mask-image: radial-gradient(ellipse at center, #000 58%, transparent 78%);
}
.sp-league:is([data-board-league="nba"], [data-board-league="mlb"], [data-board-league="nfl"], [data-board-league="nhl"], [data-board-league="ncaaf"], [data-board-league="ncaam"], [data-board-league="ncaaw"], [data-board-league="wnba"]) {
  --league-image: url('/arena/assets/league-equipment.jpg');
}
.sp-league:is([data-board-league="mlb"], [data-board-league="ncaam"]) { --league-x: 33.333333%; }
.sp-league:is([data-board-league="nfl"], [data-board-league="ncaaw"]) { --league-x: 66.666667%; }
.sp-league:is([data-board-league="nhl"], [data-board-league="wnba"]) { --league-x: 100%; }
.sp-league:is([data-board-league="ncaaf"], [data-board-league="ncaam"], [data-board-league="ncaaw"], [data-board-league="wnba"]) { --league-y: 100%; }
.sp-league span {
  grid-area: 1 / 1;
  align-self: end;
  color: #fff;
  font: 740 1.45rem/1.1 var(--sp-body);
}
.sp-league small {
  grid-area: 2 / 1;
  align-self: start;
  color: #d5e0e1;
  font: 450 .83rem/1.3 var(--sp-body);
}
.workspace a.sp-league:hover, .workspace a.sp-league:focus-visible {
  border-color: #9bcebb;
  box-shadow: inset 0 0 0 1px #9bcebb;
}
@media (min-width: 721px) and (max-width: 1100px) {
  .workspace a.sp-league { --art-size: 52px; grid-template-rows: var(--art-size) 1fr; }
  .sp-league::before { grid-row: 1; }
  .sp-league span { align-self: center; }
  .sp-league small { grid-column: 1 / -1; }
}
.workspace .hx .hx-rail { background: var(--hx-sp-glass); margin-bottom: 36px; }
.workspace .hx .hx-head h2, .workspace .hx .sp-history h2 { text-transform: none; }
.workspace .hx :is(.hx-game,.hx-scorecard,.hx-today,.hx-record-empty,.hx-slip,.hx-steps li,.hx-cta) {
  background: var(--hx-sp-glass);
  border-color: var(--sp-line);
  border-radius: 16px;
}
body.workspace .in-hello {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  min-height: clamp(220px, 24vw, 320px);
  padding: clamp(22px, 4vw, 50px);
}
body.workspace .in-hello { position: relative; overflow: hidden; }
body.workspace .in-hello #in-hello { flex-wrap: wrap; gap: 5px; letter-spacing: .02em; text-transform: none; font: 600 1rem/1.4 var(--sp-body); }
body.workspace .in-hello #in-user { overflow-wrap: anywhere; }
body.workspace .in-hello #in-feature-title { font: 650 clamp(2.65rem, 4.6vw, 4.7rem)/1.04 var(--sp-body); color: #f4f8fc; text-transform: none; letter-spacing: -.035em; overflow-wrap: anywhere; }
body.workspace .in-hello .sp-match { margin-bottom: 8px; color: #e2edf7; }
body.workspace main:not(.hx) :is(.premium-intro,.calendar-hero,.in-card,.jorge-pick,.report-card,.cp-ticket,.content-empty) {
  border-radius: 16px;
  border-color: var(--sp-line);
  background: var(--hx-sp-glass);
}
body.workspace main:not(.hx) :is(.premium-intro,.calendar-hero) h1 { text-transform: none; }
@media (max-width: 720px) {
  .hx .hx-hero-copy { width: 100%; }
  .workspace .hx .hx-hero .hx-title { font-size: clamp(2.65rem, 10vw, 4.2rem); }
  .workspace .hx .hx-hero .hx-lede { font-size: 1rem; margin: 9px 0 16px !important; }
  .sp-league-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .workspace a.sp-league { --art-size: clamp(42px, 12vw, 60px); grid-template-rows: var(--art-size) 1fr; gap: 4px; padding: 10px; }
  .sp-league::before { grid-row: 1; }
  .sp-league span { align-self: center; font-size: 1.12rem; }
  .sp-league small { grid-column: 1 / -1; font-size: .78rem; }
  .workspace .hx .sp-history { grid-template-columns: 1fr; }
  .workspace .hx .hx-movers .hx-stats { padding: 12px; gap: 10px; }
  .workspace .hx .hx-movers .hx-stats dd { font-size: 1.45rem; }
  body.workspace .in-hello { min-height: 180px; }
}
.jorge-pick[id] { scroll-margin-top: 100px; }

.sp-home-menu { display: contents; }
.sp-menu-toggle { display: none; }
.hx #historial { scroll-margin-top: 96px; }

@media (max-width: 860px) {
  body.workspace .sp-home-topbar .header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 61px;
    padding-block: 0;
  }
  .sp-home-topbar.sp-menu-ready .sp-menu-toggle {
    order: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--sp-line-2);
    border-radius: 9px;
    background: var(--sp-card);
    color: var(--sp-ink);
  }
  .sp-menu-toggle span {
    display: block;
    width: 18px;
    height: 10px;
    border-block: 2px solid currentColor;
  }
  .sp-menu-toggle:focus-visible { outline: 3px solid var(--sp-accent); outline-offset: 2px; }
  .sp-home-topbar.sp-menu-ready .sp-home-menu {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    z-index: 2;
    display: none;
    padding: 10px 14px;
    border: 1px solid var(--sp-line);
    border-radius: 0 0 12px 12px;
    background: var(--sp-stage);
    box-shadow: 0 12px 22px #0005;
  }
  .sp-home-topbar.sp-menu-ready .sp-menu-toggle[aria-expanded="true"] + .sp-home-menu { display: block; }
  body.workspace .sp-home-menu .workspace-nav { flex-direction: column; }
  body.workspace .sp-home-menu .workspace-nav a { justify-content: flex-start; }
  body.workspace .sp-home-menu .workspace-top-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 8px;
  }
}

/* Light glances off the top edge, while the backing stays dark enough to read over photography. */
body.workspace .in-hello .in-block {
  color: #f5f8ff;
  border: 1px solid rgb(214 231 255 / 28%);
  background: linear-gradient(135deg, rgb(96 110 127 / 56%), rgb(15 25 42 / 84%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), 0 8px 24px #02081040;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.workspace .hx .hx-hero .hx-actions { margin-top: 22px; }
.workspace .hx .hx-hero a.hx-btn-ghost {
  background: #152033c4;
  color: #f4f8fc;
  border-color: #8396b1;
}
html .workspace .hx .hx-hero a.hx-btn-primary { background: #3458d9; color: white; }
.workspace .sp-leagues {
  background: var(--hx-sp-glass);
  border: 1px solid var(--sp-line);
  border-radius: 18px;
  box-shadow: var(--sp-edge);
  padding: 16px;
}
body.workspace :is(.hx-scorecard,.hx-today,.sp-history,.in-card,.acct-section,.plan-single) {
  box-shadow: var(--sp-edge);
}
body.workspace main:not(.hx) :is(.premium-intro,.calendar-hero,.account-heading,.membership-offer,
  .plan-single,.acct-hero,.acct-section,.acct-tile,.account-form-panel,.tool-form,.tool-result,
  .cp-score,.cp-pass,.cp-block,.personal-ledger,.nw-card,.report-card,.game-card,.reports-list li,
  .legal,.ar-block,.nba-section,.bb-section,.in-card,.content-empty) {
  background: var(--hx-sp-glass);
  border: 1px solid var(--sp-line);
  border-radius: 18px;
  box-shadow: var(--sp-edge);
}
body.workspace main:not(.hx) :is(.tool-form,.tool-result,.in-card,.plan-single,.acct-hero,.acct-section) {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
body.workspace main:not(.hx) :is(.premium-intro,.calendar-hero,.account-heading) {
  background: radial-gradient(ellipse at 100% 0%, #688aaa27, transparent 65%), var(--hx-sp-glass);
}
body.workspace main:not(.hx) :is(.membership-offer,.plan-single) { background: var(--hx-sp-glass) !important; }
body.workspace main:not(.hx) .membership-story { background: transparent !important; }
body.workspace :is(.in-page .in-head, .in-page .in-greeting) { min-width: 0; }
body.workspace .in-hello {
  align-items: flex-start;
  gap: 24px;
  min-height: clamp(290px, 31vw, 410px);
}
body.workspace .in-hello .in-greeting { max-width: 60%; }
body.workspace .in-hello #in-hello { max-width: none; }
body.workspace .in-hello .in-block { width: min(400px, 56%); padding: 16px; border-radius: 16px; }
body.workspace .in-hello .in-head h2 { color: #fff; text-transform: none; font-size: 21px; }
body.workspace .in-hello .in-head a, body.workspace .in-hello .in-accent { color: #b4dbff; }
body.workspace .in-hello a.in-row-link { background: transparent; color: #fff; padding: 0; border: 0; box-shadow: none; backdrop-filter: none; }
body.workspace .in-hello .in-row-link small { color: #d1ddeb; }
body.workspace .in-hello .in-row-link .in-ico, body.workspace .in-hello .in-chev { color: #b4dbff; }
@media (max-width: 720px) {
    .workspace .hx .hx-hero .hx-actions { gap: 8px; margin-top: 16px; }
  .workspace .hx .hx-hero .hx-btn { padding-inline: 14px; min-height: 44px; }
  .workspace .sp-leagues { padding: 12px; }
  body.workspace .in-hello .in-block { width: min(100%, 400px); }
}
@media (prefers-reduced-transparency: reduce) {
  body.workspace { --hx-sp-glass: var(--sp-card) !important; }
  body.workspace .in-hello .in-block { background:#172230; }
}

body.workspace main:not(.hx) :is(.tools-panel,.acct-section,.legal) { background: var(--hx-sp-glass) !important; }


/* Frosted surfaces share the ambient light around the arena. */
html:not([data-theme="light"]) body.workspace {
  --sp-line: #50606c;
  --hx-sp-glass: linear-gradient(120deg, rgb(111 137 150 / 26%), rgb(43 54 64 / 77%) 60%, rgb(57 73 81 / 65%));
  --sp-edge: inset 0 1px 0 #effaff25, 0 14px 38px -24px #050a12;
  background: radial-gradient(ellipse at 4% 26rem, #374b55 0, transparent 47rem),
              radial-gradient(ellipse at 96% 32rem, #304b48 0, transparent 48rem), #0c151b;
}
@media (min-width: 1000px) {
  body.workspace header.workspace-topbar {
    width: calc(100% - 64px);
    max-width: 1450px;
    box-sizing: border-box;
    margin: 14px auto 0;
    top: 8px;
    border: 1px solid var(--sp-line);
    border-radius: 24px;
    background: var(--hx-sp-glass);
    box-shadow: var(--sp-edge);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
}
@media (prefers-reduced-transparency: reduce) {
  html:not([data-theme="light"]) body.workspace { --hx-sp-glass: #24313c; }
}

/* Thin, directional reflections on the kit's capsule controls. */
body.workspace {
  --sp-capsule-highlight: linear-gradient(102deg, #fff3, #ffffff0a 54%, #ffffff05);
}
body.workspace header.workspace-topbar .workspace-nav a[aria-current] {
  border-radius: 999px;
  background-image: var(--sp-capsule-highlight);
  box-shadow: inset 0 0 0 1px #dceeff52;
}
body.workspace .in-hello a#in-picks {
  border: 0; box-shadow: none; background: none;
}
body.workspace main:not(.hx) .tools-panel {
  padding: clamp(16px,2vw,32px);
  border: 1px solid var(--sp-line);
  border-radius: 20px;
}
body.workspace main:not(.hx) :is(.calendar-hero,.account-heading,.premium-intro) h1 {
  font-family: var(--sp-body);
  font-weight: 650;
  letter-spacing: -.035em;
}
@media (max-width: 720px), (prefers-reduced-motion: reduce) {
  html:not([data-theme="light"]) body.workspace { background-attachment: scroll; background-size: auto, auto 100vh; background-repeat: no-repeat; }
}
@media (prefers-reduced-transparency: reduce) {
  body.workspace { --sp-capsule-highlight: none; }
  html:not([data-theme="light"]) body.workspace { background-image: none; }
}

/* One glass panel holds the team's introduction and its original receipts. */
body.workspace {
  --sp-hero-glass: radial-gradient(ellipse at 92% 12%,#51676285,transparent 49%),
    linear-gradient(128deg,#263440e8 0%,#17232edb 50%,#203438df 100%);
}
.workspace .hx .hx-rail { margin: 16px 0 10px; }
.workspace .hx .hx-hero, body.workspace .in-hello {
  isolation: isolate;
  background: var(--sp-hero-glass);
  border: 1px solid #92a9b25c;
  border-radius: 28px;
  box-shadow: inset 0 1px 0 #eefbff38, inset 1px 0 0 #f4fbff0d, 0 20px 50px -28px #07101caa;
}
.workspace .hx .hx-hero {
  display: grid;
  grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr);
  grid-template-areas: "copy tickets" "stats tickets";
  align-items: center;
  padding: clamp(26px,4.2vw,64px);
  gap: 20px clamp(24px,4.4vw,72px);
  margin: 0 0 22px;
}
.workspace .hx .hx-hero-copy { width: auto; }
.workspace .hx .hx-hero .hx-line:last-child { color: #adceff; }
.workspace .hx .hx-hero .hx-stats { margin: 0; padding-top: 16px; }
.workspace .hx .winning { width: min(100%, 440px); }
.workspace .hx .winning figcaption { order: 0; }
.workspace .hx .winning strong { color:#f4f8fb; }
.workspace .hx .winning small { color:#c6d3dc; }
.workspace .hx .ticket-controls button { border-radius: 50%; background:#192733b8; border-color:#a4b6c073; }
.workspace .hx .ticket-stack { border-radius: 18px; }
.workspace .hx .ticket-stack .hx-court { opacity: .11; }
body.workspace .in-hello {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  grid-template-areas: "greeting receipts" "picks receipts";
  align-content: center;
  gap: 18px clamp(20px,4vw,72px);
  padding: clamp(22px,3.5vw,48px);
  min-height: auto;
}
body.workspace .in-hello .in-greeting { grid-area:greeting; align-self:end; max-width:100%; }
body.workspace .in-hello .in-block { grid-area:picks; width:100%; max-width:420px; align-self:start; }
body.workspace .in-hello .in-ticket-stage { grid-area:receipts; height:clamp(285px,27vw,370px); align-self:center; }
body.workspace .in-hello .in-ticket-caption { color:#e6edf3; }
@media(max-width:760px) {
  .workspace .hx .hx-hero, body.workspace .in-hello { grid-template-columns:minmax(0,1fr); gap:16px; padding:22px 18px; border-radius:20px; }
  .workspace .hx .hx-hero { grid-template-areas:"copy" "tickets" "stats"; }
  body.workspace .in-hello { grid-template-areas:"greeting" "picks" "receipts"; }
  body.workspace .in-hello .in-ticket-stage { height:245px; }
  .workspace .hx .hx-hero .hx-stats { gap:8px; }
}
@media(prefers-reduced-transparency:reduce) { body.workspace { --sp-hero-glass: #1a2833; } }

/* The glazing reveals one continuous room around and through each surface. */
body.workspace {
  isolation: isolate;
  --sp-window: linear-gradient(130deg, rgb(55 66 77 / 68%), rgb(19 29 40 / 75%) 55%, rgb(41 61 70 / 65%));
  --sp-window-edge: inset 0 1px 0 rgb(255 255 255 / 29%), 0 20px 55px -31px rgb(3 8 17 / 73%);
}
body.workspace::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #10182733, #17243412 46%, #14212b42), url('/arena/assets/spatial-suite.jpg') center / cover;
}
html[data-theme="light"] body.workspace {
  --sp-window: linear-gradient(128deg, rgb(255 255 255 / 87%), rgb(232 242 247 / 83%));
}
html[data-theme="light"] body.workspace::before { opacity: .63; }
body.workspace :is(main.workspace-content, header.workspace-topbar) { box-sizing: border-box; }
body.workspace main.workspace-content {
  min-width: 0;
  background: var(--sp-window);
  border: 1px solid #b8c7d26b;
  border-radius: 32px;
  box-shadow: var(--sp-window-edge);
  -webkit-backdrop-filter: blur(20px) saturate(.88);
  backdrop-filter: blur(20px) saturate(.88);
  padding: clamp(18px, 2.2vw, 32px);
  width: min(calc(100% - 80px), 1300px);
  margin: 20px auto 32px;
}
body.workspace .hx .hx-rail {
  margin: 0 0 12px;
  overflow: hidden;
  border-radius: 18px;
}
body.workspace { --sp-hero-glass: linear-gradient(120deg, #27384964, #16252f61 55%, #5e7b7c2b); }
html[data-theme="light"] body.workspace { --sp-hero-glass: linear-gradient(120deg, #223446ee, #223445e8 55%, #334f55ed); }
.workspace .hx .hx-hero, body.workspace .in-hello { border: 0; border-radius: 22px; box-shadow: inset 0 1px 0 #d2e4f015; }
.workspace .hx .hx-hero { gap: 20px clamp(24px,4vw,64px); padding: clamp(20px,3vw,44px); }
.workspace .hx .hx-hero .hx-stats { padding: 0; gap: 8px; align-items: stretch; width: 100%; max-width: 510px; }
.workspace .hx .hx-hero .hx-stats > div {
  padding: 13px 14px;
  background: linear-gradient(130deg,#d1e0f11b,#e4eff908);
  border: 1px solid #dbe8f329;
  border-radius: 15px;
  box-shadow: inset 0 1px 0 #ffffff10;
}
.workspace .hx .hx-hero .hx-stats dt { white-space: normal; }
.workspace .hx .hx-hero .hx-stats dd { font: 600 clamp(24px,2.1vw,34px)/1.2 var(--sp-body); }
.workspace .hx .winning figcaption {
  padding: 10px 12px 10px 15px;
  border: 1px solid #e1eeff3d;
  border-radius: 18px;
  background: linear-gradient(120deg, #aabdc534, #12212c52);
  box-shadow: inset 0 1px 0 #e5f5fd23, 0 8px 22px -14px #0008;
}
body.workspace .hx .hx-actions a, body.workspace header.workspace-topbar .visitor-actions a { border-radius: 999px; }
body.workspace .hx #home-title, body.workspace .in-hello #in-feature-title { font-weight: 600; }
body.workspace .in-head h2, .workspace .hx .hx-head h2 {
  font-family: var(--sp-body); font-weight: 600; text-transform: none; letter-spacing: -.025em;
}
body.workspace header.workspace-topbar { z-index: 30; }
@media(min-width:1000px) {
  body.workspace header.workspace-topbar { width: min(calc(100% - 80px),1300px); margin-top: 26px; }
}
@media(max-width:760px) {
  body.workspace main.workspace-content { padding: 9px; width: calc(100% - 16px); margin: 10px auto 20px; border-radius: 22px; }
  body.workspace .hx .hx-rail { border-radius: 14px; }
  .workspace .hx .hx-hero, body.workspace .in-hello { padding: 16px 10px; }
  .workspace .hx .hx-hero .hx-stats > div { padding: 8px; }
  .workspace .hx .winning, .workspace .hx .winning figcaption > div:first-child { min-width: 0; }
  .workspace .hx .winning figcaption { padding: 8px; gap: 8px; }
  .workspace .hx .winning strong { overflow-wrap: anywhere; }
  .workspace .hx .hx-hero .hx-stats { gap: 5px; }
  .workspace .hx .ticket-controls { gap: 4px; }
  .workspace .hx .hx-head { flex-wrap: wrap; row-gap: 10px; }
}
@media(prefers-reduced-transparency:reduce) {
  body.workspace::before { display: none; }
  body.workspace main.workspace-content { background: var(--sp-card); backdrop-filter: none; }
  .workspace .hx .hx-hero, body.workspace .in-hello { background: #1b2934; }
}

body.workspace .sp-site-surface {
  width: min(1320px, calc(100% - 72px));
  margin: clamp(20px,4vh,48px) auto 28px;
  border-radius: 32px;
  background: var(--sp-window);
  box-shadow: var(--sp-window-edge);
  border: 1px solid #c8d8df66;
  backdrop-filter: blur(22px) saturate(.94);
  -webkit-backdrop-filter: blur(22px) saturate(.94);
}
body.workspace .sp-site-surface > header.workspace-topbar,
body.workspace .sp-site-surface > main {
  position: relative; inset: auto; width:100%; max-width:none; margin:0; border:0;
  box-shadow:none; background:transparent; backdrop-filter:none; -webkit-backdrop-filter:none;
}
body.workspace .sp-site-surface > header.workspace-topbar { border-radius:32px 32px 0 0; padding:0 clamp(18px,2.5vw,34px); }
body.workspace .sp-site-surface > main { border-radius:0 0 32px 32px; padding:0 clamp(18px,2.5vw,34px) 28px; }
body.workspace .sp-site-surface > header .header-inner {
  min-height:76px; width:100%; max-width:none; display:flex; gap:16px; align-items:center;
}
body.workspace .sp-site-surface header .workspace-brand { margin:0; }
body.workspace .sp-site-surface header .workspace-nav { margin:0; }
body.workspace .sp-site-surface header .workspace-top-actions { margin-inline-start:auto; }
.workspace .hx .hx-watch .hx-pick { grid-template-columns:minmax(0,1fr); overflow-wrap:anywhere; }
@media(max-width:760px){
 body.workspace .sp-site-surface { width:calc(100% - 12px); margin:6px auto 16px; border-radius:22px; }
 body.workspace .sp-site-surface > :is(main,header.workspace-topbar) { padding-inline:9px; }
 body.workspace .sp-site-surface > header .header-inner { min-height:58px; }
}
@media(prefers-reduced-transparency:reduce){
 body.workspace .sp-site-surface { background:var(--sp-card); backdrop-filter:none; }
}
body.workspace .sp-preferences { position:relative; }
body.workspace .sp-preferences summary {
  list-style:none; cursor:pointer; width:44px; height:44px; display:grid; place-items:center;
  border-radius:50%; color:var(--sp-ink); font-size:1rem;
}
.sp-preferences summary::-webkit-details-marker { display:none; }
.sp-preferences summary i {
  width:21px; height:20px; display:block;
  background:
    radial-gradient(circle at 6px 5px,currentColor 2.5px,transparent 3px),
    radial-gradient(circle at 15px 14px,currentColor 2.5px,transparent 3px),
    linear-gradient(currentColor,currentColor) center 4px/18px 1.5px no-repeat,
    linear-gradient(currentColor,currentColor) center 13px/18px 1.5px no-repeat;
}
.sp-preferences summary:hover,.sp-preferences[open] summary { background:#afcad52b; }
.sp-preferences summary:focus-visible { outline:3px solid var(--sp-accent); outline-offset:1px; }
.sp-preferences-panel {
  position:absolute; right:0; top:calc(100% + 6px); z-index:5;
  display:grid; gap:10px; min-width:180px; padding:12px;
  border:1px solid var(--sp-line-2); border-radius:16px;
  background:var(--sp-card); color:var(--sp-ink); box-shadow:0 14px 35px #0610185c;
}
body.workspace .sp-preferences-panel #language-switch { width:100%; display:flex; }
body.workspace .sp-preferences-panel #language-switch button { flex:1; }
body.workspace .sp-site-surface header :is(.account-chip,.visitor-login,.account-logout,.visitor-join) {
  border-radius:999px; box-shadow:none; background-image:none; font-weight:600;
}
body.workspace .sp-site-surface header :is(.visitor-login,.account-logout) {
  background:transparent!important; border-color:transparent!important; color:var(--sp-ink)!important;
}
body.workspace .sp-site-surface header .workspace-brand img { max-width:112px; }
html:not([data-theme="light"]) body.workspace {
  --sp-accent:#9ce9c7; --sp-brand:#14684d; --sp-on-brand:#fff;
  --sp-action:#a0ecc8; --sp-action-ink:#112b22; --sp-line-2:#77918b; --sp-key:#b9f5d9;
}
html[data-theme="light"] body.workspace {
  --sp-accent:#106041; --sp-brand:#146548; --sp-on-brand:#fff;
  --sp-action:#155f46; --sp-action-ink:#fff; --sp-key:#155f46;
}
body.workspace .sp-site-surface .hx-hero { --hx-accent:#a9ead2; --sp-accent:#a9ead2; }
body.workspace .sp-site-surface .hx-hero .hx-line:last-child { color:#c5e5d9; }
body.workspace .sp-site-surface #home-title ~ .hx-actions .hx-btn-primary,
body.workspace .sp-site-surface .plan-action:not(:disabled) {
  background:#a0ecc8!important; color:#112b22!important; border-radius:999px!important;
  box-shadow:inset 0 1px #f1fff47a,0 4px 14px -8px #04180d!important;
}
body.workspace #sp-site-header .visitor-actions .visitor-join {
  background:#ffffff12!important; border:1px solid var(--sp-line-2)!important;
  color:var(--sp-ink)!important; border-radius:999px!important; box-shadow:none!important;
}
body.workspace #sp-site-header .workspace-top-actions .account-logout {
  background:transparent!important; color:var(--sp-sub)!important; box-shadow:none!important;
}
body.workspace .sp-site-surface header .workspace-nav a[aria-current] {
  background:#d6e7e610!important; box-shadow:inset 0 0 0 1px #aabbb867; color:var(--sp-ink);
}
body.workspace .sp-site-surface header .workspace-nav a[aria-current]::before {
  content:""; width:6px; height:6px; background:var(--sp-key); flex:none; border-radius:50%; margin-right:1px;
}

@media(max-width:860px) {
  body.workspace .sp-site-surface > header .header-inner { display:flex; justify-content:space-between; min-height:60px; }
  body.workspace .sp-site-surface .sp-menu-toggle { margin-inline-start:auto; border-radius:50%; background:transparent; }
  body.workspace .sp-site-surface .sp-menu-ready .sp-home-menu {
    inset-inline:0; border-radius:16px; box-shadow:0 12px 28px #07131d70;
    padding:10px; z-index:5;
  }
  body.workspace .sp-site-surface .sp-home-menu .workspace-nav {
    position:static; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; width:100%; padding:0;
  }
  body.workspace .sp-site-surface .workspace-nav a { display:flex; align-items:center; }
  body.workspace .sp-site-surface .sp-home-menu .workspace-top-actions {
    display:flex; width:100%; align-items:center; justify-content:flex-start; gap:8px; margin:8px 0 0;
  }
  body.workspace .sp-site-surface .sp-preferences-panel { left:0; right:auto; }
}
.workspace .hx .ticket-stack, body.workspace .in-ticket-pile {
  background:radial-gradient(ellipse closest-side at 50% 56%,#88cba82b 0%,#a6bfb50b 77%,transparent);
}
.workspace .hx .ticket-stack .hx-court { opacity:.065; }
body.workspace .in-hello .in-ticket-stage { height:clamp(245px,23vw,315px); }
body.workspace .in-hello .in-ticket-caption {
  width:fit-content; max-width:90%; margin:auto; padding:7px 12px; border-radius:14px;
  border:1px solid #d1ebdb33; background:#15242b59; font:600 .85rem/1.4 var(--sp-body);
}
body.workspace main.in-page .in-hello .in-block { background:linear-gradient(125deg,#8ba3983d,#0e202e55); }
body.workspace main.in-page .in-head h2 { font:600 clamp(1.15rem,1.65vw,1.55rem)/1.2 var(--sp-body); text-transform:none; }
body.workspace main.in-page .in-greeting h1 { margin-block:8px; }
@media(max-width:390px) {
 .workspace .hx .hx-hero .hx-title { font-size:clamp(2.05rem,9.6vw,2.45rem); }
 .workspace .hx .hx-leagues { flex:1 1 100%; }
}
body.workspace .sp-site-surface .membership-offer h1,
body.workspace .sp-site-surface .account-heading h1,
body.workspace .sp-site-surface .calendar-hero h1,
body.workspace .sp-site-surface .premium-intro h1 {
  font-family:var(--sp-body); font-weight:620; text-transform:none; line-height:1.03; letter-spacing:-.04em;
}
body.workspace .sp-site-surface .plan-single h3, body.workspace .sp-site-surface .tools-panel h2 {
  font-family:var(--sp-body); text-transform:none; letter-spacing:-.025em; font-weight:650;
}
body.workspace .sp-site-surface [data-plan-action]:not([aria-disabled="true"]) {
  border-radius:999px; background:#146548; color:#fff!important;
}
body.workspace .sp-site-surface .plan-switch button[aria-checked=true] {
  background:#145b44; color:#fff; box-shadow:inset 0 1px 0 #ffffff38;
}
body.workspace .sp-site-surface .hx :focus-visible { outline:3px solid var(--sp-key); outline-offset:3px; }
@media(min-width:761px) and (max-width:960px) {
  body.workspace .sp-site-surface { width:calc(100% - 32px); }
  .workspace .hx .hx-hero { grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); gap:16px; padding:20px; }
  .workspace .hx .hx-hero .hx-title { font-size:clamp(38px,5vw,49px); }
  .workspace .hx .hx-hero .hx-stats > div { padding:9px; }
}
html[data-theme=light] body.workspace main.in-page .in-hello {
  background:linear-gradient(120deg,#fff9,#d9e6e8bb 68%,#c7dfd4bc);
  border:1px solid #9faebd80;
}
html[data-theme=light] body.workspace main.in-page .in-hello .in-block,
html[data-theme=light] body.workspace main.in-page .in-ticket-caption {
  background:linear-gradient(135deg,#ffffff94,#eaf2ed87); border-color:#92aaab96;
  box-shadow:inset 0 1px #fff9; color:#1e3d34!important;
}
html[data-theme=light] body.workspace main.in-page .in-hello :is(#in-feature-title,#in-picks-title) {
  color:#142b26!important;
}
html[data-theme=light] body.workspace main.in-page .in-hello :is(#in-hello,#in-user,.sp-match,.in-muted,.in-row-link small) {
  color:#344c47!important;
}
html[data-theme=light] body.workspace main.in-page .in-hello :is(a,.in-chev) { color:#155b42!important; }
