/* The web signup and score walkthrough share the app's Archivo type and ice palette. */
.varsity-welcome, .varsity-tour {
  --ice: #e2eefe; --paper: #fff; --ink: #10121b; --muted: #3a485e; --cobalt: #1426b6; --rule: #a9bbdc;
  color: var(--ink); font-family: Archivo, Arial, sans-serif;
}
.varsity-welcome {
  display: flex; flex-direction: column; min-height: 100svh; padding-inline: max(22px, calc((100% - 1040px) / 2));
  background-color: var(--ice);
}
.welcome-mast {
  margin: 0; padding-block: 19px; min-height: 76px; border: 0; border-bottom: 1px solid var(--rule);
}
.welcome-brand, .welcome-brand:visited {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none;
  color: var(--ink); font-size: 26px; font-weight: 800; letter-spacing: -.055em;
}
.welcome-brand img { border-radius: 5px; }
.welcome-stage {
  display: grid; grid-template-columns: 1fr minmax(0,.9fr); align-content: center; align-items: center;
  gap: clamp(24px, 6vw, 75px); flex: 1; width: 100%; padding-block: clamp(40px, 7vh, 76px);
}
.welcome-intro { padding-block: 18px; }
.welcome-intro h1 {
  margin: 0; font: 870 clamp(40px, 5.65vw, 74px)/.94 Archivo, Arial, sans-serif;
  letter-spacing: -.071em; color: var(--ink);
}
.welcome-intro h1 em { font-style: normal; color: var(--cobalt); }
.welcome-intro p { margin: 18px 0 0; color: var(--muted); font-size: clamp(17px, 1.55vw, 21px); line-height: 1.4; }
.welcome-connect {
  margin: 0; padding: clamp(20px, 3vw, 30px); border: 0; border-top: 5px solid var(--cobalt);
  color: var(--ink); background: var(--paper); clip-path: polygon(0 0,100% 0,100% calc(100% - 14px),calc(100% - 19px) 100%,0 100%);
}
.welcome-account { border-width: 0 0 1px; border-style: solid; border-color: var(--rule); margin: 0; padding: 0; }
.welcome-account summary, .welcome-account.unavailable {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px;
}
.welcome-account summary {
  list-style: none; color: var(--cobalt); cursor: pointer; font-weight: 750; font-size: 21px;
  letter-spacing: -.04em; line-height: 1.2;
}
.welcome-account summary::-webkit-details-marker { display: none; }
.welcome-account summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.welcome-account summary small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; font-weight: 520; letter-spacing: 0; overflow-wrap: anywhere; }
.welcome-plus {
  position: relative; display: inline-grid; place-items: center; width: 26px; height: 26px;
  color: var(--cobalt); background: var(--ice); flex-shrink: 0;
}
.welcome-plus::before, .welcome-plus::after { content: ''; position: absolute; width: 12px; height: 2px; background: currentColor; }
.welcome-plus::after { transform: rotate(90deg); }
.welcome-account[open] .welcome-plus::after { display: none; }
.welcome-edit { padding: 0 0 18px; }
.welcome-edit label { display: block; color: var(--muted); margin: 0 0 5px; letter-spacing: 0; text-transform: none; font: 590 14px/1.25 Archivo, Arial, sans-serif; }
.welcome-field {
  background: #f4f8ff; color: var(--ink); display: flex; align-items: center; gap: 7px;
  min-height: 48px; padding: 0 12px; border: 1px solid #8495ac; border-radius: 3px;
}
.welcome-field:focus-within { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.welcome-field > span { color: var(--muted); font-weight: 600; }
.welcome-field input {
  width: 100%; min-width: 0; min-height: 46px; color: var(--ink); background: transparent; border: none;
  padding: 6px 0; font: 530 17px/1.25 Archivo, Arial, sans-serif; letter-spacing: 0;
}
.welcome-field input::placeholder { color: #59687d; opacity: 1; }
.welcome-field input:focus { outline: none; }
.welcome-remove { color: var(--muted); font-size: 14px; padding: 3px 0; min-height: 44px; text-decoration: underline; text-underline-offset: 2px; }
.welcome-remove:hover { color: var(--ink); }
.welcome-account.unavailable strong { color: var(--ink); font-size: 19px; letter-spacing: -.035em; }
.welcome-account.unavailable span { color: var(--muted); font-size: 13px; line-height: 1.3; text-align: right; }
.welcome-submit {
  display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 22px;
  background: var(--cobalt); color: white; border: 0; border-radius: 0; padding: 12px 18px;
  font-size: 17px; line-height: 1.3; min-height: 50px; font-weight: 720;
}
.welcome-submit:hover { color: white; background: #0a1a97; }
.welcome-submit:disabled { opacity: .72; cursor: wait; }
.welcome-submit span { font-size: 22px; line-height: 1; font-weight: 500; }
.welcome-status { color: var(--muted); margin: 15px 0 0; font-size: 14px; }
.welcome-status[role=alert] { color: #912237; }
.welcome-links { display: flex; gap: 22px; align-items: center; margin: 0; padding: 10px 0; border-top: 1px solid var(--rule); }
.welcome-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; text-underline-offset: 3px; }
.varsity-welcome :is(a, button, summary):focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
@media (max-width: 650px) {
  .varsity-welcome { padding-inline: 18px; }
  .welcome-mast { min-height: 60px; padding-block: 8px; }
  .welcome-brand { font-size: 23px; }
  .welcome-brand img { width: 28px; height: 28px; }
  .welcome-stage { grid-template-columns: minmax(0,1fr); gap: 24px; flex: 0; padding-block: 37px 40px; }
  .welcome-intro { padding: 0; }
  .welcome-intro h1 { font-size: clamp(39px, 12vw, 60px); }
  .welcome-intro p { margin-top: 11px; }
  .welcome-connect { padding: 8px 18px 22px; }
  .welcome-account summary, .welcome-account.unavailable { min-height: 60px; }
  .welcome-links { margin-top: auto; }
}
.varsity-tour button:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
#sheet.score-walkthrough-sheet { color-scheme: light; color: #10121b; background: #e2eefe; }
.score-walkthrough-sheet .sheet-header { background: #e2eefe; border-color: #a9bbdc; color: #3a485e; }
.score-walkthrough-sheet .sheet-header span, .score-walkthrough-sheet .close { color: #263958; }
.score-walkthrough-sheet .sheet-body { color: #10121b; }
.tour-progress { display: flex; align-items: center; gap: 12px; color: var(--cobalt); font-weight: 680; font-size: 14px; }
.tour-progress span { display: flex; gap: 4px; }
.tour-progress i { width: 20px; height: 4px; transform: skewX(-20deg); background: #bacbe5; }
.tour-progress i.complete { background: var(--cobalt); }
.sheet-body .varsity-tour h2 { margin: 16px 0 12px; color: var(--ink); font: 800 clamp(30px,4vw,43px)/1.04 Archivo, Arial, sans-serif; letter-spacing: -.055em; }
.sheet-body .varsity-tour p { color: var(--muted); margin: 14px 0; font-size: 16px; line-height: 1.54; }
.tour-panel {
  padding: 22px 20px 17px; margin: 21px 0 16px; color: white; background: var(--cobalt);
  clip-path: polygon(0 6px,100% 0,100% calc(100% - 6px),0 100%);
}
.sheet-body .tour-panel h3 { color: white; font: 760 24px/1.16 Archivo, Arial, sans-serif; letter-spacing: -.035em; margin: 0 0 12px; }
.tour-panel h3 span { display: block; color: #e1eaff; margin-top: 4px; font: 560 14px/1.35 Archivo, Arial, sans-serif; letter-spacing: 0; }
.tour-lineups { margin: 0 0 2px; }
.tour-lineups > div, .tour-verdict {
  margin: 3px 0; background: white; color: var(--ink); padding: 11px 14px;
  clip-path: polygon(5px 0,100% 0,calc(100% - 5px) 100%,0 100%);
}
.tour-lineups > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tour-lineups dt { display: flex; gap: 8px; align-items: center; font-weight: 675; }
.tour-lineups dd { margin: 0; font-variant-numeric: tabular-nums; }
.tour-arrow { display: inline-block; width: 15px; height: 16px; background: #087522; clip-path: polygon(50% 0,100% 43%,100% 65%,75% 65%,75% 100%,24% 100%,24% 65%,0 65%,0 43%); }
.tour-arrow.down { transform: rotate(180deg); background: #cd2538; }
.tour-verdict { display: grid; }
.tour-verdict strong { color: #875207; font-size: 23px; }
.tour-verdict > span { color: var(--muted); font-weight: 580; }
#sheet .tour-panel p { color: white; margin: 11px 0 5px; }
.finish-choices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin: 12px 0 14px; }
.finish-choices button {
  min-height: 50px; border: 1px solid #aab6ee; color: white; padding: 4px; background: transparent;
  border-radius: 2px; font-variant-numeric: tabular-nums;
}
.finish-choices button[aria-pressed="true"] { background: white; color: var(--ink); border-color: white; }
.varsity-tour .finish-choices button:hover { color: white; border-color: white; }
.varsity-tour .finish-choices button[aria-pressed="true"]:hover { color: var(--ink); }
.finish-choices button:focus-visible { outline-color: white; outline-offset: 1px; }
.finish-choices span { font-size: 14px; display: block; }
.finish-comparison { width: 100%; border-collapse: collapse; background: white; color: var(--ink); }
.finish-comparison caption { color: white; text-align: left; padding: 0 0 5px; font-weight: 650; font-size: 14px; }
.finish-comparison th, .finish-comparison td { padding: 7px 12px; border-bottom: 1px solid var(--rule); }
.finish-comparison th { text-align: left; font-weight: 650; }
.finish-comparison small { display: block; font-weight: 450; font-size: 12px; color: var(--muted); }
.finish-comparison td { text-align: right; font-weight: 730; font-size: 21px; font-variant-numeric: tabular-nums; }
.sheet-body .tour-total { font-size: 14px; }
.tour-total strong { font-size: 22px; margin-right: 3px; font-variant-numeric: tabular-nums; }
.tour-actions { display: flex; align-items: center; gap: 8px; margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--rule); }
.tour-actions button { color: var(--cobalt); font-size: 16px; font-weight: 650; }
.tour-actions button:first-child { margin-right: auto; }
.tour-actions .tour-next { padding: 9px 25px; min-width: 96px; color: white; background: var(--cobalt); }
.tour-actions button:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 360px) { .tour-panel { padding-inline: 12px; } }
