/* Shared consumer identity. Mobile rules are consolidated below the base styles. */
:root {
  color-scheme: dark;
  --bg: #080f1b;
  --panel: #0e192a;
  --ink: #f1f3f5;
  --muted: #a4afbf;
  --faint: #536176;
  --line: #233044;
  --blue: #70baff;
  --red: #ff575e;
  --green: #8cdbb4;
  --amber: #e6c27b;
  --display: "Inter Tight",sans-serif;
  --body: "DM Sans",sans-serif;
  --danger: #ff878d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
button, a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  min-height: 44px;
}
a {
  color: var(--blue);
}
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
button:hover {
  color: white;
}
::selection {
  background: #255b89;
}
header {
  height: auto;
  margin: 0 4.4vw;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 46px;
  min-height: 88px;
  padding-block: 12px;
  flex-wrap: wrap;
}
.wordmark {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1.2px;
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  max-width: 100%;
  line-height: 1.1;
}
.brand-mark {
  width: 19px;
  height: 23px;
  border-top: 6px solid var(--red);
  border-left: 6px solid var(--red);
  transform: skew(-12deg);
}
nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 14px;
  flex-wrap: wrap;
}
nav span {
  color: var(--ink);
}
nav a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-width: 44px;
  line-height: 1.2;
  text-align: center;
}
.account {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  line-height: 1.2;
}
.avatar {
  height: 29px;
  width: 29px;
  background: #243249;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
  color: #dfe7f2;
}
.study {
  padding: 11px 4.4vw;
  font-size: 11px;
  letter-spacing: .055em;
  color: #c0cbdb;
  background: #101c2c;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  line-height: 1.5;
}
.study strong {
  font-weight: 600;
  color: var(--blue);
}
.workspace {
  max-width: 1340px;
  margin: auto;
  padding: 49px 4.4vw 60px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
}
.rail {
  padding-top: 4px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.rail h1 {
  font-family: var(--display);
  font-size: 67px;
  line-height: .97;
  letter-spacing: -3px;
  font-weight: 700;
  margin: 25px 0 30px;
}
.rail h1 span {
  color: var(--red);
}
.rail p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 210px;
}
.rail .annotation {
  margin-top: 46px;
  padding-top: 17px;
  border-top: 2px solid var(--red);
}
.rail .annotation p {
  font-size: 13px;
  max-width: 215px;
  margin: 8px 0;
}
.rail button {
  padding: 0;
  color: var(--blue);
  font-size: 13px;
  text-align: left;
}
.board-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
.board-head h2 {
  font: 600 35px/1.1 var(--display);
  letter-spacing: -1px;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}
.status {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.status button {
  font-size: inherit;
  color: inherit;
  padding: 0;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-color: #52627a;
  text-underline-offset: 3px;
  max-width: 100%;
  text-align: left;
  overflow-wrap: anywhere;
}
.record-time {
  font-size: 11px;
  text-align: right;
  line-height: 1.7;
  color: var(--muted);
  min-width: 0;
  overflow-wrap: anywhere;
}
.record-time strong {
  font-weight: 500;
  color: #d1dae5;
}
.controls {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 27px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.tabs {
  display: flex;
  gap: 27px;
  flex-wrap: wrap;
}
.tabs button {
  font-size: 14px;
  padding: 0 0 14px;
  min-height: 44px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.tabs button[aria-pressed=true] {
  color: var(--ink);
  border-color: var(--red);
}
.tabs small {
  margin-left: 5px;
  color: var(--muted);
  font-size: 11px;
}
.signal-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 7px;
  vertical-align: middle;
}
.impact-heading {
  font-size: 11px;
  color: var(--blue);
  text-align: right;
  padding: 0 0 13px;
  min-height: 44px;
  margin-left: auto;
}
.impact-heading span {
  font-size: 12px;
  margin-left: 3px;
}
.impact-unit {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}
.notice {
  border-bottom: 1px solid var(--line);
  padding: 2px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--amber);
  line-height: 1.4;
  padding-block: 7px;
}
.notice button {
  color: var(--amber);
  padding: 0;
  margin-left: auto;
  min-height: 44px;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  flex: 0 0 auto;
  min-width: 44px;
}
.roster {
  list-style: none;
  margin: 0;
  padding: 0;
}
.player {
  border-bottom: 1px solid var(--line);
}
.player-button {
  display: grid;
  width: 100%;
  grid-template-columns: 26px minmax(0,1fr) max-content 15px;
  column-gap: 14px;
  align-items: center;
  padding: 25px 0;
  text-align: left;
  transition: background .15s;
}
.player-button:hover {
  background: #ffffff03;
}
.rank {
  font-size: 12px;
  color: var(--muted);
  align-self: start;
  padding-top: 6px;
  font-variant-numeric: tabular-nums;
}
.call {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .035em;
  text-transform: uppercase;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.for {
  color: var(--green);
}
.against {
  color: #ff878d;
}
.tradeoffs {
  color: var(--amber);
}
.direction-mark {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(-45deg);
  margin: 3px 3px -3px 1px;
  flex-shrink: 0;
}
.against .direction-mark {
  transform: rotate(135deg);
  margin: 0 3px 0 1px;
}
.tradeoffs .direction-mark {
  transform: rotate(45deg);
}
.name-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 3px;
}
.player-name {
  font: 600 28px/1.05 var(--display);
  letter-spacing: -.65px;
}
.player:first-child .player-name {
  font-size: 34px;
}
.team {
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--muted);
}
.ownership {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.4;
}
.reason {
  font-size: 13px;
  color: #ced7e3;
  margin-top: 9px;
  line-height: 1.45;
}
.impact {
  align-self: start;
  padding-top: 21px;
  text-align: right;
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: -.8px;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  min-width: 3.1ch;
  white-space: nowrap;
}
.player:first-child .impact {
  font-size: 38px;
}
.chevron {
  color: var(--muted);
  font-size: 22px;
  padding-top: 18px;
  align-self: start;
}
.game-context {
  font-size: 10px;
  letter-spacing: .03em;
  color: var(--muted);
  margin-top: 8px;
}
.data-flag {
  color: var(--amber);
  font-size: 11px;
  margin-top: 8px;
}
.list-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  flex-wrap: wrap;
}
.list-footer a {
  color: var(--muted);
  text-underline-offset: 3px;
}
.empty {
  padding: 22px 0 8px;
  font-size: 18px;
  line-height: 1.5;
}
.empty p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 17px;
  max-width: 520px;
  line-height: 1.6;
}
.mobile-kicker {
  display: none;
}
dialog {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  max-height: 100dvh;
  padding: 0;
  width: 510px;
  max-width: 100%;
  margin: 0 0 0 auto;
  height: 100dvh;
  box-shadow: -30px 0 100px #0005;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
dialog::backdrop {
  background: #020713a8;
  backdrop-filter: blur(5px);
}
.sheet-header {
  position: sticky;
  top: 0;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 26px;
  z-index: 1;
  gap: 16px;
}
.sheet-header span {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
}
.close {
  font-size: 25px;
  width: 44px;
  line-height: 1;
  flex: 0 0 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
}
.sheet-body {
  padding: 30px 30px 50px;
  padding-bottom: max(50px,calc(24px + env(safe-area-inset-bottom,0px)));
  overflow-wrap: anywhere;
}
.sheet-body h2 {
  font: 600 40px/1.05 var(--display);
  letter-spacing: -1px;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.sheet-body h3 {
  font: 600 22px/1.2 var(--display);
  letter-spacing: -.3px;
  margin: 28px 0 10px;
  margin-top: 24px;
}
.sheet-body p {
  color: #bdc9d9;
  font-size: 14px;
  line-height: 1.65;
}
.sheet-body .sheet-lead {
  font-size: 16px;
  color: #e4e9f0;
  line-height: 1.55;
}
.sheet-score {
  margin: 18px 0;
  padding: 15px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  border-block: 1px solid var(--line);
  flex-wrap: wrap;
}
.sheet-score strong {
  font: 500 44px var(--display);
  color: var(--blue);
  letter-spacing: -1px;
}
.sheet-score span {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.comparison-key {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin: 22px 0 10px;
}
.league {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.league-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  gap: 8px;
  flex-wrap: wrap;
}
.league-title small {
  font-size: 11px;
  color: var(--muted);
}
.bars {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
  margin-top: 13px;
  text-align: center;
}
.bar-cell {
  background: #19283d;
  padding: 13px 3px 0;
  color: #d9e7f6;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  padding-top: 10px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.bar-fill {
  height: 3px;
  background: var(--blue);
  margin-top: 9px;
  max-width: 100%;
}
.unaffected {
  font-size: 12px;
  color: var(--muted);
  margin-top: 9px;
}
.sheet-body .footnote {
  font-size: 12px;
  color: var(--muted);
}
.sheet-alert {
  border-left: 2px solid var(--amber);
  padding-left: 13px;
  color: var(--amber) !important;
}
.coverage-row {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  gap: 16px;
  flex-wrap: wrap;
}
.coverage-row small {
  color: var(--muted);
  font-size: 12px;
}
.coverage-row strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
}
a.wordmark {
  color: var(--ink);
  text-decoration: none;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 20;
  padding: 14px;
  background: var(--ink);
  color: var(--bg);
}
.skip-link:focus {
  top: 12px;
}
.boot {
  padding: 10vh 6vw;
  color: var(--muted);
}
button:disabled {
  opacity: .5;
  cursor: wait;
}
input, select {
  font: inherit;
  color: var(--ink);
  background: #101e31;
  border: 1px solid #43536b;
  border-radius: 4px;
  padding: 13px 14px;
  min-height: 48px;
  width: 100%;
  max-width: 100%;
  font-size: 16px;
}
input:focus, select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
label {
  display: block;
  color: #d3dce8;
  font-size: 13px;
  margin-bottom: 9px;
}
button.primary, .primary-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 15px 19px;
  background: var(--blue);
  color: #07111d;
  font-weight: 600;
  text-decoration: none;
  min-height: 50px;
  border-radius: 3px;
}
.primary:hover, .primary-button:hover {
  background: #a2d2ff;
  color: #07111d;
}
.secondary-button {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 18px;
}
.status-action {
  color: var(--blue);
  font-size: 12px;
}
.status button.status-action {
  margin-left: 7px;
}
.update-notice {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #365b81;
  color: #cedff1;
  font-size: 13px;
  flex-wrap: wrap;
}
.update-notice button {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.error-text {
  color: var(--danger);
  font-size: 13px;
  line-height: 1.6;
}
.entry-panel {
  max-width: 1100px;
  margin: 9vh auto 12vh;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.entry-panel h1 {
  font: 700 clamp(54px, 6.2vw, 88px)/.98 var(--display);
  letter-spacing: -3px;
  margin: 22px 0;
}
.entry-kicker {
  color: var(--red);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.entry-panel p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 390px;
}
.entry-form {
  border-top: 2px solid var(--red);
  padding-top: 28px;
}
.entry-form h2 {
  font: 600 30px var(--display);
  letter-spacing: -.6px;
  margin: 0 0 24px;
}
.entry-form .field {
  margin: 22px 0;
  position: relative;
}
.entry-form button[type=submit] {
  width: 100%;
  margin-top: 15px;
}
.entry-note {
  font-size: 12px !important;
  color: var(--muted);
  margin-top: 19px;
  line-height: 1.7;
}
.entry-form .example-button {
  color: var(--blue);
  text-align: left;
  padding: 10px 0;
}
.entry-footer {
  margin: 0 5vw;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}
.entry-footer a {
  color: var(--muted);
}
.account-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.account-actions button, .account-actions a {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.settings-form .league-setting {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 155px;
  gap: 15px;
  align-items: center;
}
.league-setting label {
  margin: 0;
  line-height: 1.5;
  min-width: 0;
  overflow-wrap: anywhere;
}
.weight-field {
  font-size: 16px;
  /* Native WebKit chrome can ignore min-height; preserve the native picker
     while making the visible control touch-sized and scalable with text. */
  appearance: none;
  -webkit-appearance: none;
  min-height: 48px;
  height: max(48px,calc(1.5em + 22px));
  line-height: 1.5;
  padding: 10px 40px 10px 14px;
  background-image: linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);
  background-position: calc(100% - 20px) center,calc(100% - 15px) center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.settings-form button[type=submit] {
  width: 100%;
  margin-top: 24px;
}
.empty h3 {
  font: 600 28px var(--display);
  margin: 0 0 12px;
  font-size: 24px;
  margin-bottom: 8px;
}
.empty button {
  color: var(--blue);
  padding: 5px 0;
}
.up-next-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.final-results {
  list-style: none;
  padding: 0;
}
.final-results li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.final-results strong {
  display: block;
}
.range-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.range-table th, .range-table td {
  text-align: left;
  padding: 12px 6px;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.range-table th {
  font-weight: 500;
  color: var(--muted);
}
.range-table td:not(:first-child) {
  color: #dbeaff;
}
.range-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.sheet-body a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.sheet-body .call {
  font-size: 13px;
}
.notice[role=alert] {
  color: var(--amber);
}
.empty .roster {
  margin-top: 20px;
}
.empty .player-name {
  font-size: 26px;
}
.sheet-body .distribution, .sheet-body .range-section {
  margin-top: 27px;
}
.model-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.home-layout {
  max-width: 1380px;
  margin: auto;
  padding: 60px 4.4vw 34px;
}
.home-opening {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 9vw;
  align-items: end;
  padding-bottom: 58px;
}
.home-opening h1 {
  font: 700 clamp(64px, 7.2vw, 108px)/.94 var(--display);
  letter-spacing: -4px;
  margin: 22px 0 0;
}
.home-opening h1 span {
  color: var(--red);
}
.home-opening p {
  font-size: 19px;
  line-height: 1.65;
  color: #b7c3d3;
  max-width: 380px;
  margin: 0 0 5px;
}
.home-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.home-product {
  padding: 32px 43px 32px 0;
}
.home-product + article {
  padding-left: 43px;
  padding-right: 0;
  border-left: 1px solid var(--line);
}
.product-id {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.product-id b {
  color: var(--red);
  font-weight: 500;
}
.home-product h2 {
  font: 600 37px/1.1 var(--display);
  letter-spacing: -1px;
  margin: 28px 0 18px;
}
.home-product p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 390px;
  min-height: 76px;
}
.home-product a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--blue);
  text-decoration: none;
  min-height: 52px;
  font-size: 16px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.home-product a:hover {
  color: #c5e4ff;
}
.home-product a span {
  font-size: 26px;
}
.product-note {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 12px;
}
.home-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 27px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.home-footer a {
  color: var(--muted);
  text-underline-offset: 4px;
}
.home-footer p {
  margin: 0;
  max-width: 420px;
  text-align: right;
}
.home-page nav a[aria-current=page] {
  color: var(--ink);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.primary-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 19px;
  background: var(--blue);
  color: #07111d;
  font-weight: 600;
  border-radius: 3px;
  min-height: 50px;
}
.primary-action:hover {
  background: #a2d2ff;
  color: #07111d;
}
.text-action, .example-action {
  color: var(--blue);
  padding: 10px 0;
  text-align: left;
  font-size: 13px;
}
.entry-status {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 15px;
}
.entry-workspace {
  min-height: 65vh;
  align-items: center;
  grid-template-columns: minmax(300px, 1fr) minmax(330px, 1fr);
  gap: 90px;
  max-width: 1160px;
  padding-top: 80px;
}
.entry-rail h1 {
  font-size: 68px;
}
.point-outlook {
  color: #c4d6ea;
  font-size: 13px;
  line-height: 1.65;
  margin-top: 14px;
}
.point-outlook strong {
  font-weight: 500;
  color: var(--ink);
}
.week-results {
  padding: 20px 0;
  line-height: 1.6;
}
.week-results strong {
  font: 600 27px var(--display);
}
.method-link {
  font-size: 12px;
  color: var(--muted);
}
.player-copy {
  min-width: 0;
  display: block;
}
.sheet-score small {
  display: block;
}
.sheet-body select {
  width: 100%;
}
.entry-form > label {
  margin-top: 20px;
}
.empty .eyebrow {
  font-size: 10px;
  margin-top: 22px;
  color: var(--blue);
}
.study button {
  margin-left: auto;
  color: var(--blue);
  font-size: 12px;
  min-height: 44px;
  padding: 0;
}
.sheet-body .league {
  padding: 16px 0;
}
.sheet-body .league p.footnote {
  margin: 9px 0 0;
}
.sheet-body .league .point-outlook p {
  margin: 5px 0 0;
}
.sheet-body .comparison-key {
  margin-top: 16px;
}
.sheet-body .league .bars {
  margin-top: 10px;
}
.sheet-body .league .point-outlook > strong {
  font-size: 20px;
}
.entry-workspace .entry-panel {
  display: block;
  max-width: 440px;
  margin: 0;
  padding: 0;
}
.entry-panel h2 {
  font: 600 40px/1.08 var(--display);
  letter-spacing: -1px;
  margin: 20px 0;
}
.entry-form .field > span {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.entry-form .field input {
  padding-left: 36px;
}
.league-setting label small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.league-setting > .sheet-alert {
  grid-column: 1/-1;
  font-size: 12px;
  margin: 0;
}
.point-outlook > span {
  display: block;
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--muted);
}
.point-outlook > strong {
  display: block;
  margin-top: 7px;
  font: 500 23px var(--display);
  color: var(--blue);
}
.point-outlook > strong small {
  font: 400 11px var(--body);
  color: var(--muted);
  margin-left: 7px;
}
.point-outlook p {
  font-size: 12px;
  margin: 9px 0;
}
.point-outlook p.footnote {
  font-size: 11px;
}
.bars [aria-label] {
  font-variant-numeric: tabular-nums;
}
.week-results span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}
.record-time .status-action {
  display: block;
  margin-left: auto;
  padding: 0;
}
.record-time button {
  min-height: 44px;
}
.sheet-body .league-title strong {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.list-footer button {
  font-size: 12px;
  text-align: right;
  color: var(--muted);
  padding: 0;
}
.recorded-banner {
  padding: 11px 4.4vw;
  color: #c2d6ef;
  background: #10253b;
  font-size: 12px;
  line-height: 1.5;
}
.recorded-banner a, .recorded-banner button {
  color: var(--blue);
  margin-left: 15px;
}
.recorded-banner button {
  font-size: 12px;
}
.wordmark, .home-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
nav a[aria-current=page] {
  color: var(--ink);
}
html {
  scrollbar-gutter: stable;
}
.board, .board-title-group {
  min-width: 0;
}
.notice span {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
}
.player-name, .reason, .ownership, .game-context, .data-flag {
  overflow-wrap: anywhere;
}
.list-footer>span {
  flex: 1 1 180px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.list-footer>button {
  flex: 0 0 auto;
}
html.dialog-open {
  overscroll-behavior: none;
}
body.dialog-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
.sheet-header>span {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.league-title strong {
  min-width: 0;
}
.bar-label {
  display: block;
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  margin-bottom: 7px;
}
.coverage-row>div {
  min-width: 0;
  flex: 1 1 180px;
  overflow-wrap: anywhere;
}
.coverage-row>strong {
  flex: 0 1 auto;
  overflow-wrap: anywhere;
}
.study>span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.entry-status, .error-text, .sheet-alert {
  overflow-wrap: anywhere;
}

@media (min-width: 1600px) {
  .workspace {
    gap: 80px;
    grid-template-columns: 285px minmax(0, 1fr);
  }
}

@media (max-width: 1100px) {
  .workspace {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 34px;
  }
  .entry-workspace {
    grid-template-columns: minmax(300px, 1fr) minmax(330px, 1fr);
    gap: 60px;
  }
  .rail h1 {
    font-size: 53px;
    letter-spacing: -2px;
  }
  .rail p {
    font-size: 14px;
  }
  .player-name {
    font-size: 25px;
  }
  .player:first-child .player-name {
    font-size: 29px;
  }
}

@media (max-width: 800px) {
  header {
    height: auto;
    margin: 0 22px;
    gap: 12px 18px;
    min-height: 65px;
    padding-block: 10px;
  }
  .wordmark {
    font-size: 24px;
    gap: 9px;
  }
  .brand-mark {
    height: 19px;
    width: 16px;
    border-width: 5px;
  }
  nav {
    gap: 10px;
    font-size: 13px;
  }
  nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .account {
    font-size: 12px;
    padding: 0;
    min-width: 44px;
    min-height: 44px;
  }
  .account .username {
    display: none;
  }
  .study {
    padding: 8px 22px;
    font-size: 12px;
    letter-spacing: .015em;
    gap: 4px 12px;
    padding-block: 4px;
  }
  .workspace {
    display: block;
    padding: 21px 22px 45px;
  }
  .rail {
    display: none;
  }
  .board-head h2 {
    font-size: 29px;
    margin-bottom: 4px;
    letter-spacing: -.7px;
    white-space: normal;
    grid-column: 1 / -1;
  }
  .mobile-kicker {
    display: block;
    font-size: 10px;
    color: var(--red);
    letter-spacing: .11em;
    text-transform: uppercase;
    margin: 0 0 12px;
  }
  .record-time {
    font-size: 11px;
    max-width: none;
    width: auto;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    grid-column: 2;
    grid-row: 2;
    gap: 0 8px;
    text-align: right;
    line-height: 1.4;
  }
  .status {
    font-size: 11px;
    gap: 5px;
  }
  .controls {
    margin-top: 14px;
    gap: 5px 12px;
  }
  .notice {
    font-size: 13px;
  }
  .tabs {
    gap: 20px;
  }
  .tabs button {
    font-size: 14px;
    padding-bottom: 12px;
  }
  .impact-heading {
    font-size: 12px;
    padding-bottom: 12px;
  }
  .player-button {
    grid-template-columns: 20px minmax(0,1fr) max-content;
    column-gap: 9px;
    padding: 16px 0;
    padding-block: 14px;
  }
  .chevron {
    display: none;
  }
  .rank {
    font-size: 12px;
    padding-top: 4px;
  }
  .call {
    font-size: 12px;
    margin-bottom: 7px;
    letter-spacing: .025em;
  }
  .player-name, .player:first-child .player-name {
    font-size: 26px;
    letter-spacing: -.65px;
    line-height: 1.08;
  }
  .team {
    font-size: 11px;
    display: block;
    margin-top: 4px;
  }
  .ownership {
    font-size: 12px;
    margin-top: 6px;
  }
  .reason {
    font-size: 13px;
    line-height: 1.5;
    margin-top: 8px;
  }
  .impact, .player:first-child .impact {
    font-size: 26px;
    padding-top: 25px;
  }
  .game-context {
    font-size: 12px;
    line-height: 1.5;
  }
  .list-footer {
    font-size: 11px;
  }
  .sheet-body {
    padding: 25px 23px max(40px,calc(24px + env(safe-area-inset-bottom,0px)));
  }
  dialog {
    margin: auto 0 0;
    width: 100%;
    height: auto;
    max-height: 92dvh;
    border-radius: 18px 18px 0 0;
  }
  .sheet-header {
    padding: 10px 16px;
  }
  .sheet-body h2 {
    font-size: 37px;
  }
  .sheet-body .sheet-lead {
    font-size: 15px;
  }
  .sheet-score {
    margin: 20px 0;
    padding: 13px 0;
  }
  .comparison-key {
    font-size: 12px;
  }
  .entry-panel {
    display: block;
    margin: 35px auto 50px;
    padding: 0 24px;
  }
  .entry-panel h1 {
    font-size: 60px;
    letter-spacing: -2px;
    margin-top: 17px;
  }
  .entry-panel > div > p {
    font-size: 14px;
  }
  .entry-form {
    margin-top: 32px;
    padding-top: 22px;
  }
  .entry-form h2 {
    font-size: 27px;
    margin-bottom: 20px;
  }
  .entry-panel .field {
    margin: 18px 0;
  }
  .entry-footer {
    margin: 0 24px;
    gap: 20px;
    font-size: 12px;
    flex-wrap: wrap;
  }
  .settings-form .league-setting {
    grid-template-columns: minmax(0,1fr);
    gap: 10px;
    padding-block: 18px;
  }
  .weight-field {
    font-size: 16px;
    width: 100%;
    max-width: 100%;
  }
  .entry-form .example-button {
    font-size: 13px;
  }
  .account-actions {
    gap: 0;
    display: grid;
    grid-template-columns: minmax(0,1fr);
  }
  .update-notice {
    font-size: 12px;
  }
  .range-table {
    font-size: 12px;
  }
  .range-table th, .range-table td {
    padding: 12px 3px;
  }
  .sheet-body .footnote {
    line-height: 1.6;
    font-size: 13px;
  }
  .home-layout {
    padding: 35px 24px 25px;
  }
  .home-opening {
    display: block;
    padding-bottom: 32px;
  }
  .home-opening h1 {
    font-size: 65px;
    letter-spacing: -2.5px;
    margin-top: 15px;
  }
  .home-opening p {
    font-size: 15px;
    margin-top: 25px;
    max-width: 340px;
  }
  .home-products {
    display: block;
  }
  .home-product, .home-product + article {
    padding: 25px 0 27px;
    border-left: 0;
  }
  .home-product + article {
    border-top: 1px solid var(--line);
  }
  .home-product h2 {
    font-size: 31px;
    margin: 20px 0 12px;
  }
  .home-product p {
    font-size: 14px;
    min-height: 0;
  }
  .home-product a {
    margin-top: 18px;
    font-size: 15px;
  }
  .home-footer {
    display: block;
    font-size: 12px;
    padding-top: 20px;
  }
  .home-footer p {
    margin-top: 14px;
    text-align: left;
  }
  .home-page nav a {
    display: inline-flex;
  }
  .home-page header {
    gap: 12px 20px;
  }
  .home-page nav {
    gap: 10px;
    margin-left: auto;
  }
  .home-page .wordmark {
    font-size: 22px;
  }
  .study > span {
    display: none;
  }
  .study button {
    font-size: 12px;
    min-height: 44px;
    margin-left: 0;
  }
  .empty {
    padding: 16px 0 4px;
  }
  .empty h3 {
    font-size: 22px;
  }
  .empty p {
    font-size: 13px;
    margin-bottom: 8px;
  }
  .empty .eyebrow {
    margin-top: 14px;
    font-size: 11px;
  }
  .sheet-body h3 {
    font-size: 21px;
  }
  .sheet-score strong {
    font-size: 36px;
  }
  .sheet-body .league .point-outlook > strong {
    font-size: 20px;
  }
  .entry-workspace {
    display: block;
    padding: 35px 24px 50px;
  }
  .entry-workspace .entry-panel {
    margin: 0;
    max-width: none;
  }
  .entry-panel h2 {
    font-size: 39px;
  }
  .rooting-fantasy nav a[aria-current=page] {
    display: inline-flex;
  }
  .entry-workspace .entry-form {
    margin-top: 27px;
  }
  .entry-form .field {
    margin-top: 10px;
  }
  .entry-form label {
    margin-top: 0;
  }
  .record-time button {
    min-height: 44px;
  }
  .entry-note {
    font-size: 12px !important;
  }
  .recorded-banner {
    padding: 10px 22px;
    font-size: 11px;
  }
  .notice span {
    max-width: none;
  }
  .list-footer button {
    font-size: 11px;
  }
  .point-outlook > strong {
    font-size: 22px;
  }
  .rooting-fantasy header {
    gap: 12px;
  }
  .rooting-fantasy nav {
    gap: 8px;
  }
  .rooting-fantasy nav a, .home-page nav a {
    display: inline-flex;
  }
  .board-head {
    gap: 5px 12px;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    align-items: center;
  }
  .board-head .status {
    font-size: 12px;
    grid-column: 1;
    grid-row: 2;
  }
  .board-title-group {
    display: contents;
  }
  .record-time br {
    display: none;
  }
  .data-time-label {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }
  .data-time-value {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }
  .record-time .status-action {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
    min-width: 44px;
    min-height: 44px;
    font-size: 12px;
  }
  .tabs small {
    font-size: 12px;
  }
  .impact-unit {
    font-size: 11px;
  }
  .notice button {
    font-size: 13px;
  }
  .data-flag {
    font-size: 12px;
    line-height: 1.5;
  }
  .list-footer, .list-footer button {
    font-size: 12px;
  }
  .sheet-header>span {
    font-size: 12px;
  }
  .sheet-body .league .point-outlook p {
    font-size: 13px;
  }
  .point-outlook>span {
    font-size: 12px;
  }
  .point-outlook>strong small {
    font-size: 12px;
  }
  .league-setting label {
    font-size: 14px;
  }
  .league-setting label small {
    font-size: 12px;
  }
  .study>span {
    display: block;
    flex-basis: 100%;
    font-size: 12px;
  }
  .product-note {
    font-size: 12px;
  }
  .name-line {
    display: block;
  }
  .account-actions button, .account-actions a {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    min-height: 48px;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    margin: 0;
    font-size: 14px;
  }
  .account-actions>:first-child {
    border-top: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 379px) {
  .rooting-fantasy header {
    margin-inline: 18px;
    gap: 4px 12px;
  }
  .rooting-fantasy .wordmark {
    font-size: 23px;
    gap: 8px;
    order: 1;
  }
  .rooting-fantasy nav {
    font-size: 13px;
    gap: 18px;
    order: 3;
    width: 100%;
  }
  .board-head {
    grid-template-columns: minmax(0,1fr);
    gap: 2px;
  }
  .board-head .record-time {
    width: auto;
    max-width: none;
    text-align: left;
    display: grid;
    gap: 0 8px;
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: minmax(0,1fr) auto;
  }
  .record-time br {
    display: none;
  }
  .record-time .status-action {
    margin-left: 0;
  }
  .tabs {
    gap: 14px;
  }
  .tabs button {
    font-size: 13px;
  }
  .player-button {
    grid-template-columns: 18px minmax(0,1fr) max-content;
    column-gap: 8px;
  }
  .player-name, .player:first-child .player-name {
    font-size: 25px;
  }
  .study button {
    margin-left: 0;
  }
  .rooting-fantasy .account {
    order: 2;
  }
  .board-head h2 {
    font-size: 28px;
  }
  .board-head .status {
    grid-column: 1;
    grid-row: 2;
  }
  .impact, .player:first-child .impact {
    font-size: 24px;
  }
  .home-page header {
    gap: 4px 12px;
  }
  .home-page nav {
    width: 100%;
    margin-left: 0;
    gap: 18px;
  }
}
