@font-face {
  font-family: "STM Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/access/inter-regular-aae987c2.ttf") format("truetype");
}

@font-face {
  font-family: "STM Inter";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/access/inter-medium-a8cf8311.ttf") format("truetype");
}

@font-face {
  font-family: "STM Mona Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/access/mona-sans-medium-f3d6b03d.ttf") format("truetype");
}

.access-page {
  --access-accent: #2458f5;
  --access-tint: color-mix(in srgb, var(--access-accent) 5%, white);
  --access-ink: color-mix(in srgb, var(--access-accent) 35%, #17212c);
  --color-team-50: var(--access-tint);
  --color-team-100: color-mix(in srgb, var(--access-accent) 10%, white);
  --color-team-200: color-mix(in srgb, var(--access-accent) 20%, white);
  --color-team-300: color-mix(in srgb, var(--access-accent) 35%, white);
  --color-team-500: var(--access-accent);
  --color-team-600: var(--access-ink);
  --color-team-700: var(--access-ink);
  --primary: var(--access-ink);
  --ring: var(--access-accent);
  min-height: 100svh;
  margin: 0;
  background: white;
  color: #17212c;
  font-family: "STM Inter", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.access-page *,
.access-page *::before,
.access-page *::after {
  box-sizing: border-box;
}
.access-page [hidden] {
  display: none !important;
}
.access-page button,
.access-page summary,
.access-page input[type="submit"] {
  cursor: pointer;
}
.access-page button:disabled,
.access-page input:disabled {
  cursor: wait;
}
.access-page :is(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--access-accent);
  outline-offset: 4px;
}

.access-shell {
  display: grid;
  min-height: 100svh;
}
.access-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 32px 24px;
}
.access-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #17212c;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}
.access-brand img {
  display: block;
  width: 36px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.access-form-content {
  display: flex;
  width: 100%;
  max-width: 384px;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 56px 0;
}
.access-heading,
.access-wizard h1 {
  margin: 0;
  font-family: "STM Mona Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.025em;
}
.access-description {
  margin: 16px 0 0;
  color: #536066;
  font-size: 16px;
  line-height: 28px;
}
.access-form-actions {
  margin-top: 32px;
}
.access-team-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}
.access-team-badge img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.access-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--access-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
  text-decoration: none;
  text-underline-offset: 4px;
}
.access-link:hover {
  text-decoration: underline;
}
.access-google-button {
  display: flex;
  min-height: 50px;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #d7dfe0;
  border-radius: 8px;
  background: white;
  color: #17212c;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  transition: background-color 120ms ease;
}
.access-google-button img {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.access-google-button:hover {
  background: #f8faf9;
}
.access-google-button:disabled {
  color: #536066;
  background: #f8faf9;
}
.access-free-note {
  margin: 16px 0 0;
  color: #536066;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
}
.access-switch-intent {
  margin: 32px 0 0;
  color: #536066;
  font-size: 14px;
  line-height: 28px;
}
.access-error {
  margin: 0 0 24px;
  padding: 12px 16px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 14px;
  line-height: 24px;
}
.access-error:focus {
  outline: 2px solid #b91c1c;
  outline-offset: 3px;
}
.access-notice {
  margin: 0 0 24px;
  color: #536066;
  font-size: 14px;
  line-height: 24px;
}
.access-development {
  margin-top: 40px;
  color: #536066;
  font-size: 12px;
  line-height: 20px;
}
.access-development summary {
  width: fit-content;
}
.access-development form {
  padding-top: 16px;
}
.access-development .access-button {
  margin-top: 16px;
}
.access-side {
  display: none;
}
.access-team-panel {
  display: flex;
  height: 100%;
  min-height: 660px;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px;
  background: var(--access-tint);
  color: var(--access-ink);
}
.access-panel-label {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}
.access-team-identity {
  padding: 48px 0;
}
.access-team-crest {
  display: block;
  width: 176px;
  height: 144px;
  object-fit: contain;
  object-position: left center;
}
.access-panel-heading {
  margin: 32px 0 0;
  font-family: "STM Mona Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 44px;
  letter-spacing: -0.025em;
}
.access-rights {
  max-width: 384px;
  margin: 0;
  font-size: 12px;
  line-height: 20px;
  opacity: 0.8;
}
.access-mobile-rights {
  margin: 0;
  color: #536066;
  font-size: 12px;
  line-height: 20px;
}
.access-photo-panel {
  position: relative;
  height: 100%;
  min-height: 660px;
  overflow: hidden;
  background: #17212c;
}
.access-photo-panel picture,
.access-photo-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.access-photo-panel::after {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 55%);
  content: "";
}
.access-photo-copy {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  min-height: inherit;
  flex-direction: column;
  justify-content: flex-end;
  padding: 56px;
  color: white;
}
.access-photo-copy .access-panel-heading {
  margin: 0;
}
.access-photo-copy > p + p {
  max-width: 320px;
  margin: 20px 0 0;
  color: rgb(255 255 255 / 80%);
  font-size: 16px;
  line-height: 28px;
}

.access-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px;
  border-bottom: 1px solid #e4e9e9;
}
.access-setup {
  width: 100%;
  max-width: 672px;
  margin: 0 auto;
  padding: 40px 24px 56px;
}
.access-setup-complete {
  max-width: 512px;
  padding-top: 64px;
}
.access-setup .access-button {
  background: var(--access-accent);
}
.access-setup .access-link {
  color: var(--access-accent);
}
.access-wizard form > fieldset > .access-field-label:first-of-type {
  margin-top: 0;
}
.access-team-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 24px;
}
.access-team-heading img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.access-wizard[data-slot="card"] {
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.access-wizard > :is([data-slot="card-header"], [data-slot="card-content"]) {
  padding: 0;
}
.access-wizard [data-slot="card-description"] {
  margin-top: 16px;
  font-size: 16px;
  line-height: 28px;
  color: #536066;
}

.access-wizard [data-slot="select-trigger"] {
  width: 100%;
  min-height: 44px;
}

.access-wizard [data-slot="button"] {
  min-height: 44px;
  border-radius: 999px;
}

.access-wizard input[type="checkbox"] {
  appearance: auto;
}

.access-wizard input:is([type="checkbox"], [type="radio"]) {
  accent-color: var(--access-accent);
}

.access-wizard [aria-label="Setup progress"] {
  flex-wrap: wrap;
  row-gap: 12px;
}
.access-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0 0 32px;
  padding: 0;
  color: #69777c;
  font-size: 14px;
  line-height: 24px;
  list-style: none;
}
.access-progress [aria-current="step"] {
  color: var(--access-accent);
  font-weight: 500;
}
.access-membership-option {
  display: block;
  width: 100%;
  padding: 20px;
  border: 1px solid #d7dfe0;
  border-radius: 12px;
  text-align: left;
  background: white;
}
.access-membership-option:hover {
  background: #f8f9fa;
}
.access-membership-option[aria-pressed="true"] {
  border-color: var(--access-accent);
  background: var(--access-tint);
}
.access-field-label {
  display: block;
  margin: 24px 0 0;
  color: #17212c;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}
.access-input {
  display: block;
  min-height: 46px;
  width: 100%;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid #d7dfe0;
  border-radius: 8px;
  background: white;
  color: #17212c;
  font: inherit;
  font-size: 16px;
  line-height: 28px;
}
.access-input:focus {
  border-color: var(--access-accent);
}
.access-input[aria-invalid="true"] {
  border-color: #b91c1c;
}
.access-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--access-ink);
  color: white;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
  text-decoration: none;
}
.access-button:hover {
  filter: brightness(1.12);
}
.access-button:disabled {
  opacity: 0.55;
}
.access-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}
.access-leagues {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}
.access-league-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  border: 0;
  border-radius: 999px;
  background: #f0f3f3;
  color: #536066;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
}
.access-league-button[aria-pressed="true"] {
  background: #17212c;
  color: white;
}
.access-league-button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.access-team-list {
  max-height: 392px;
  overflow: auto;
  margin-top: 16px;
  border: 1px solid #e4e9e9;
  border-radius: 12px;
}
.access-team-option {
  display: flex;
  min-height: 74px;
  width: 100%;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 0;
  border-bottom: 1px solid #e4e9e9;
  background: white;
  color: #17212c;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: left;
}
.access-team-option:hover {
  background: #f8faf9;
}
.access-team-option[aria-pressed="true"] {
  background: var(--access-tint);
}
.access-team-option:focus-visible {
  outline-offset: -3px;
}
.access-team-option img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}
.access-team-option > span:first-of-type {
  flex: 1;
}
.access-selected {
  color: var(--access-ink);
  font-size: 12px;
  line-height: 20px;
}
.access-empty {
  margin: 0;
  padding: 24px;
  color: #536066;
  font-size: 16px;
  line-height: 28px;
}
.access-theme-rights {
  margin: 32px 0 0;
  color: #69777c;
  font-size: 12px;
  line-height: 20px;
}
.access-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (min-width: 640px) {
  .access-main {
    padding: 32px 40px;
  }
  .access-heading,
  .access-wizard h1 {
    font-size: 36px;
    line-height: 44px;
  }
  .access-header {
    padding: 24px 40px;
  }
  .access-setup {
    padding: 48px 40px 64px;
  }
}

@media (min-width: 1024px) {
  .access-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .access-side {
    display: block;
  }
  .access-mobile-rights {
    display: none;
  }
  .access-team-panel,
  .access-photo-copy {
    padding: 40px;
  }
}

@media (min-width: 1280px) {
  .access-main {
    padding: 32px 56px;
  }
  .access-team-panel,
  .access-photo-copy {
    padding: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .access-page * {
    transition: none !important;
  }
}
