/* The photograph belongs to the hero only. The controls define its minimum
   height, including the optional return link and large text settings. */
html[data-theme] body[data-palette] #welcome:has(.welcome-picker) {
  width: 100%;
  margin: 0;
  padding: 0;
  height: auto;
  min-height: 0;
  max-height: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
html[data-theme] body[data-palette] #welcome .welcome-backdrop { display: none; }
html[data-theme] body[data-palette] #welcome .welcome-stage {
  display: flex;
  position: relative;
  align-items: flex-end;
  justify-content: flex-start;
  isolation: isolate;
  height: auto;
  min-height: clamp(175px, 17vw, 235px);
  max-height: none;
  width: 100%;
  max-width: none;
  padding: clamp(16px,2vw,27px) clamp(20px,3vw,38px) clamp(22px,2.4vw,32px);
  background-color: #101922;
  background-image: linear-gradient(90deg,#0a1422eb 0%,#0c151fa6 36%,#0d172321 77%),linear-gradient(0deg,#0a101b91,transparent 36%),url('/assets/ninety-index/welcome-stadium-assistants-20261117.webp');
  background-size: cover;
  background-position: center,center,center 55%;
  text-align: left;
}
html[data-theme] body[data-palette] #welcome .welcome-card,
html[data-theme] body[data-palette] #welcome .welcome-face {
  display: block;
  position: static;
  width: 100%;
  max-width: 43rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
  text-align: left;
}
html[data-theme] body[data-palette] #welcome .welcome-face::before,
html[data-theme] body[data-palette] #welcome .welcome-card-top { display: none; }
html[data-theme] body[data-palette] #welcome .welcome-logo {
  display: block;
  width: 126px;
  max-width: 52%;
  height: auto;
  margin: 0 0 14px;
  color: #edf4ff;
}
html[data-preview-shell][data-theme] body[data-palette] #welcome .welcome-logo { display: none; }
html[data-theme] body[data-palette] #welcome #welcome-title {
  margin: 0;
  max-width: 18ch;
  font: 680 clamp(2.25rem,4.1vw,3.6rem)/1.02 var(--font-reading,Inter,Arial,sans-serif);
  letter-spacing: -.055em;
  color: #f7f9fc;
  text-wrap: balance;
}
html[data-theme] body[data-palette] #welcome #welcome-title span { display: inline; color: #a4cfff; }
html[data-theme] body[data-palette] #welcome .welcome-description {
  max-width: 52ch;
  margin: 12px 0 0;
  color: #e1e9f5;
  font: 400 clamp(.94rem,1.22vw,1.075rem)/1.4 var(--font-reading,Inter,Arial,sans-serif);
}
html[data-theme] body[data-palette] #welcome .welcome-actions {
  gap: 8px;
  margin-top: 16px;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
}
html[data-theme] body[data-palette] #welcome .welcome-actions>a,
html[data-theme] body[data-palette] #welcome .welcome-actions>.welcome-enter:only-child,
html[data-theme] body[data-palette] #welcome .welcome-face>#welcome-enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-width: 0;
  min-height: 42px;
  max-width: 100%;
  width: auto;
  margin: 0;
  padding: 8px 15px;
  border-radius: 6px;
  box-shadow: none;
  font: 620 .9rem/1.2 var(--font-reading,Inter,Arial,sans-serif);
  gap: 8px;
}
html[data-theme] body[data-palette] #welcome .welcome-face>#welcome-enter { margin-top: 16px; }
html[data-theme] body[data-palette] #welcome .welcome-actions>.welcome-resume {
  color: #eef5fd;
  border-color: #9eb3c8;
  background: #132030c9;
}
html[data-theme] body[data-palette] #welcome #welcome-enter svg { width: 16px; height: 16px; }
html[data-theme] body[data-palette] #welcome .welcome-picker {
  --studio-panel:var(--panel);
  --studio-soft:var(--soft);
  --studio-rule:var(--line);
  --studio-accent:var(--green);
  --welcome-text:var(--ink);
  --welcome-dim:var(--muted);
  display: grid;
  grid-template-columns: minmax(0,1fr);
  grid-template-areas: 'controls' 'results';
  gap: 8px 16px;
  padding: 36px clamp(20px,3vw,38px) 18px;
  color: var(--welcome-text);
  background: var(--studio-panel);
  text-align: start;
  font: 400 1rem/1.4 var(--font-reading,Inter,Arial,sans-serif);
}
html[data-theme] #welcome .picker-tools { width: auto; justify-content: flex-start; }
html[data-theme] #welcome .picker-tools .finder { width: clamp(170px,20vw,256px); }
html[data-theme] #welcome .picker-tools :is(input,select) {
  min-height: 38px;
  color: var(--welcome-text);
  background-color: var(--studio-soft);
  border-color: var(--studio-rule);
  font: 500 .875rem/1.25 var(--font-reading,Inter,Arial,sans-serif);
}
html[data-theme] #welcome .picker-tools input::placeholder { color: var(--welcome-dim); opacity: 1; }
html[data-theme] #welcome .family-switch button {
  min-height: 38px;
  padding: 5px 11px;
  color: var(--welcome-dim);
  font: 550 .875rem/1.2 var(--font-reading,Inter,Arial,sans-serif);
}
html[data-theme] #welcome .family-switch button[aria-pressed=true] { color: var(--studio-accent); border-bottom-color: var(--studio-accent); }
html[data-theme] #welcome .competition-list:not(:empty) {
  border: 1px solid var(--studio-rule);
  background: var(--studio-soft);
}
html[data-theme] #welcome .welcome-choice {
  min-height: 58px;
  grid-template-columns: 32px minmax(0,1fr) minmax(0,1.05fr) auto;
  gap: 4px 12px;
  padding: 8px 13px;
  color: var(--welcome-text);
  font-family: var(--font-reading,Inter,Arial,sans-serif);
}
html[data-theme] #welcome .welcome-choice-name {
  color: var(--welcome-text);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 640;
  overflow-wrap: anywhere;
}
html[data-theme] #welcome .welcome-choice-lead strong { color:light-dark(#25665e,#91c7bb); font: 610 .94rem/1.24 var(--font-reading,Inter,Arial,sans-serif); font-variant-numeric: tabular-nums; }
html[data-theme] #welcome .welcome-choice-lead :is(span,small) { color: var(--welcome-dim); font: 450 .8125rem/1.25 var(--font-reading,Inter,Arial,sans-serif); }
html[data-theme] #welcome .welcome-choice-open { color: var(--studio-accent); font: 600 .875rem/1.2 var(--font-reading,Inter,Arial,sans-serif); }
html[data-theme] #welcome .picker-pager { margin-top: 2px; font: 500 .8125rem/1.2 var(--font-reading,Inter,Arial,sans-serif); color: var(--welcome-dim); }
html[data-theme] #welcome .picker-pager button { font: inherit; }
html[data-theme] #welcome .picker-pager[hidden] { display: none; }

@media (max-width:760px) {
  html[data-theme] body[data-palette] #welcome .welcome-face > .welcome-logo {
    display: block;
    width: clamp(150px,46vw,210px);
    max-width: 100%;
    margin: 0;
  }
  html[data-theme] body[data-palette] #welcome .welcome-stage {
    --chooser-offset: clamp(52px,8svh,72px);
    min-height: calc(160px + var(--chooser-offset));
    padding: 7px clamp(14px,4vw,24px) calc(19px + var(--chooser-offset));
    background-position: center,center,64% 55%;
  }
  html[data-theme] body[data-palette] #welcome #welcome-title {
    max-width: 23rem;
    margin: 9px 0 0;
    font: 400 .9375rem/1.4 var(--font-reading,Inter,Arial,sans-serif);
    letter-spacing: normal;
    color: #e1e9f5;
  }
  html[data-theme] body[data-palette] #welcome .welcome-description { display: none; }
  html[data-theme] body[data-palette] #welcome .welcome-actions { margin-top: 12px; gap: 6px; }
  html[data-theme] body[data-palette] #welcome .welcome-actions>a,
  html[data-theme] body[data-palette] #welcome .welcome-actions>.welcome-enter:only-child { min-height: 44px; padding-inline: 11px; font-size: .875rem; }
  html[data-theme] body[data-palette] #welcome .welcome-picker {
    gap: 6px;
    padding: 41px clamp(10px,3.4vw,18px) 13px;
  }
  html[data-theme] #welcome .picker-tools .finder { flex: 1 1 auto; width: 0; }
  html[data-theme] #welcome .picker-tools select { width: 4.8rem; min-width: 0; }
  html[data-theme] #welcome .picker-tools select.is-filtered { width: 40%; }
  html[data-theme] #welcome .picker-tools :is(input,select) { min-height: 44px; font-size: 1rem; }
  html[data-theme] #welcome .family-switch button { font-size: .8125rem; padding: 4px; min-height: 44px; }
  html[data-theme] #welcome .welcome-choice { grid-template-columns: 26px minmax(0,1fr) auto; gap: 3px 8px; padding: 8px 9px; }
  html[data-theme] #welcome .welcome-choice-name { font-size: .97rem; }
  html[data-theme] #welcome .welcome-choice-open { font-size: .8125rem; }
  html[data-theme] #welcome .welcome-choice-lead { gap: 2px 4px; }
  html[data-theme] #welcome .welcome-choice-lead strong { font-size: .875rem; }
  html[data-theme] #welcome .welcome-choice-lead>span { font-size: .8125rem; }
}
@media (forced-colors: active) {
  html[data-theme] body[data-palette] #welcome .welcome-stage { background: Canvas; }
  html[data-theme] body[data-palette] #welcome :is(#welcome-title,.welcome-description,.welcome-logo) { color: CanvasText; }
}
html[data-theme] body[data-palette] #welcome .competition-list {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  max-height:none;
  overflow:visible;
}
html[data-theme] body[data-palette] #welcome .picker-caption {
  display:block; color:var(--muted); font:500 .78rem/1.3 var(--font-ui);margin:0 0 6px;
}
html[data-theme] body[data-palette] #welcome .competition-list:focus-visible {
  outline:2px solid var(--green);outline-offset:2px;
}
@media(max-width:760px){
  html[data-theme] body[data-palette] #welcome .family-switch {display:flex;flex-wrap:wrap;gap:0 3px;}
  html[data-theme] body[data-palette] #welcome .family-switch button {width:auto;min-width:0;flex:1 1 auto;padding-inline:4px;font-size:.76rem;}
}

html[data-theme] body[data-palette] #welcome .picker-tools {align-items:center}
html[data-theme] body[data-palette] #welcome .picker-tools :is(.finder,input,select) {
  box-sizing:border-box;height:42px;min-height:42px;margin-block:0;align-self:center;
}

#welcome .welcome-index-mark::before {
  content:'';display:block;width:100%;height:100%;background:light-dark(#255caa,#94c3ff);
  mask:url('/assets/ninety-index/ninety-index-mark.svg') center / contain no-repeat;
}

#site-navigation #site-explore[hidden] {display:none!important}
#welcome .welcome-league-row {
  display:grid;
  grid-column:1 / -1;
  grid-template-columns:minmax(0,1fr) 7.5rem;
  grid-template-columns:subgrid;
  align-items:center;
  background:var(--studio-soft);
}
#welcome .competition-list > .welcome-league-row + .welcome-league-row {border-top:1px solid var(--studio-rule)}
#welcome .welcome-league-row .welcome-choice {min-width:0}
#welcome .welcome-snapshot-link {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:44px;
  margin-inline-end:12px;
  padding-inline:10px;
  border-inline-start:1px solid var(--studio-rule);
  color:var(--studio-accent);
  text-align:center;
  text-underline-offset:3px;
  font:550 .875rem/1.2 var(--font-ui);
}
#welcome .welcome-snapshot-link:focus-visible {outline:2px solid currentColor;outline-offset:-2px}
@media(max-width:600px){
  #welcome .welcome-snapshot-link {max-width:6.2em;margin-inline-end:3px;padding-inline:6px}
  html[data-theme] #welcome .welcome-league-row .welcome-choice {column-gap:5px;padding-inline:6px}
}

html[data-theme] #welcome .competition-list:not(:empty) {border:0;background:transparent}
html[data-theme] #welcome .welcome-section-divider {
  grid-column:1/-1;display:flex;align-items:center;gap:12px;min-width:0;
  padding:0;margin:17px 0 6px;color:var(--muted);
  font:600 .78rem/1.3 var(--font-ui);letter-spacing:.06em;text-transform:uppercase;
}
#welcome .welcome-section-divider::after {content:'';flex:1;height:1px;background:var(--studio-rule)}
#welcome .welcome-section-divider:first-child {margin-top:4px}
#welcome .welcome-league-row:has(.welcome-index-mark) {border-radius:6px;background:var(--studio-soft)}
html[data-theme] #welcome .welcome-count-summary {
  position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}
