:root {
  --bg: #ffffff;
  --bg-deep: #f7f7f8;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --line: #e7e7e8;
  --line-strong: #d8d8da;
  --text: #202123;
  --muted: #6a6d75;
  --stone: #202123;
  --stone-soft: #6a6d75;
  --gem: #0d9488;
  --gem-deep: #0f766e;
  --success: #166534;
  --warning: #a16207;
  --danger: #b42318;
  --shadow: rgba(15, 23, 42, 0.04);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Avenir Next", "Hiragino Sans", "Yu Gothic", sans-serif;
}

body.body--auth {
  color: #e7f0f2;
  background: #184d5f;
}

a {
  color: inherit;
  text-decoration: none;
}

.content a:not(.button):not(.brand-link):not(.nav-link):not(.inline-link):not(.shell-locale__link) {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.content a:not(.button):not(.brand-link):not(.nav-link):not(.inline-link):not(.shell-locale__link):visited {
  color: #7c3aed;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin-top: 0;
}

.shell {
  min-height: 100vh;
  position: relative;
}

.shell-locale {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--stone-soft);
  background: #fff;
}

.shell-locale--floating {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  z-index: 30;
  color: #e7f0f2;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.shell-locale__label {
  font-size: 0.78rem;
  color: var(--muted);
}

.shell-locale--floating .shell-locale__label {
  color: rgba(231, 240, 242, 0.78);
}

.shell-locale__link {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: inherit;
}

.shell-locale__link.is-active {
  color: var(--text);
  background: var(--bg-deep);
}

.shell-locale--floating .shell-locale__link.is-active {
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
}

.shell--auth {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.topbar__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: #f6f8f9;
  border: 1px solid var(--line);
}

.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.topnav,
.page-actions,
.account-box,
.hero-actions,
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.page-actions form {
  margin: 0;
}

.nav-link {
  padding: 0.55rem 0.9rem;
  border-radius: 0.65rem;
  color: var(--stone-soft);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-link.is-active {
  color: var(--gem-deep);
  background: #f6fbfa;
  border: 1px solid rgba(13, 148, 136, 0.12);
}

.account-box {
  padding: 0.3rem 0.3rem 0.3rem 0.95rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
}

.account-box__identity {
  display: grid;
  gap: 0.2rem;
  margin-right: 0.25rem;
}

.account-box__member {
  font-size: 0.86rem;
}

.account-box__member-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
}

.account-box__member-link:hover {
  color: var(--text);
}

.content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.content--wide {
  max-width: 1360px;
}

.content--auth {
  max-width: none;
  min-height: 100vh;
  padding: 0;
}

.breadcrumbs {
  margin: 0 0 1rem;
}

.breadcrumbs__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumbs__link {
  color: var(--stone-soft);
}

.breadcrumbs__link:hover {
  color: var(--text);
}

.breadcrumbs__current {
  color: var(--text);
  font-weight: 600;
}

.breadcrumbs__separator {
  color: var(--line-strong);
}

.hero,
.page-header,
.dashboard-grid,
.stack {
  margin-bottom: 1.5rem;
}

.field-static {
  display: flex;
  align-items: center;
  min-height: 2.9rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--bg-deep);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}

.hero-card,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.25rem;
  box-shadow: none;
}

.hero-card--stone,
.panel--brand {
  background: var(--surface);
}

.hero-card--gem,
.panel--danger {
  background: var(--surface);
  border-color: var(--line);
}

.panel--bracket {
  overflow: hidden;
}

.page-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.dashboard-hero {
  align-items: center;
}

.dashboard-hero__copy {
  max-width: 44rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.eyebrow {
  margin-bottom: 0.65rem;
  color: var(--gem-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
}

h1,
h2 {
  letter-spacing: -0.03em;
}

h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
}

h2 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.lede,
.muted,
.empty-copy,
.ghost-note {
  color: var(--muted);
}

.lede {
  max-width: 36rem;
  font-size: 0.98rem;
  line-height: 1.65;
}

.feature-list,
.compact-list,
.record-list {
  margin: 0;
  padding-left: 1.1rem;
}

.feature-list li,
.compact-list li,
.record-list li {
  margin-bottom: 0.45rem;
}

.metric-chip {
  display: inline-grid;
  gap: 0.15rem;
  min-width: 7rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  background: #fafafa;
  border: 1px solid var(--line);
}

.metric-chip strong {
  font-size: 1.2rem;
}

.metric-chip span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.9rem;
  padding: 0 1rem;
  border-radius: 0.7rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--stone);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: border-color 120ms ease, background 120ms ease;
}

.button--primary {
  border-color: var(--gem);
  background: var(--gem);
  color: white;
}

.button--danger {
  border-color: var(--danger);
  background: #fff5f4;
  color: var(--danger);
}

.button--ghost {
  background: transparent;
}

.button--block {
  width: 100%;
}

.button--auth {
  min-width: 6.5rem;
  min-height: 2.35rem;
  border-radius: 0.28rem;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.28);
  color: #f7fbfc;
  font-size: 0.86rem;
  font-weight: 600;
}

.button--auth:hover {
  background: rgba(255, 255, 255, 0.34);
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 24rem);
  gap: 1.25rem;
  align-items: stretch;
  min-height: calc(100vh - 10rem);
}

.auth-intro {
  display: grid;
  align-content: end;
}

.auth-intro__mark {
  display: none;
}

.auth-panel {
  width: 100%;
  align-self: center;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 4rem 1.25rem 2rem;
}

.login-panel {
  width: min(30rem, 100%);
}

.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.login-brand__mark {
  width: 2.2rem;
  height: 2.2rem;
}

.login-brand__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.login-copy {
  margin-bottom: 1.1rem;
  text-align: center;
  color: rgba(231, 240, 242, 0.78);
  font-size: 0.88rem;
}

.login-form {
  display: grid;
  gap: 0.9rem;
}

.login-form__row {
  display: grid;
  grid-template-columns: 6.25rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
}

.login-form__row[hidden] {
  display: none;
}

.login-form__label {
  color: rgba(231, 240, 242, 0.92);
  font-size: 0.9rem;
}

.login-form__input {
  width: 100%;
  min-height: 2.55rem;
  padding: 0.6rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.28rem;
  background: #eef1fa;
  color: #1a2230;
  font: inherit;
}

.login-form__input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.login-form__actions {
  display: flex;
  justify-content: center;
  padding-top: 1.15rem;
}

.login-links {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  color: rgba(231, 240, 242, 0.78);
  font-size: 0.84rem;
}

.login-links__link {
  color: #f7fbfc;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.member-selection-title {
  margin-bottom: 0.75rem;
  text-align: center;
  font-size: 1.65rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

.stack--compact {
  gap: 0.75rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field-grid--quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.details-block {
  margin-top: 1rem;
  border-top: 1px dashed var(--line);
  padding-top: 0.9rem;
}

.details-block summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
  list-style: none;
}

.details-block summary::-webkit-details-marker {
  display: none;
}

.details-block__body {
  margin-top: 0.85rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  color: var(--stone);
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.8rem 0.95rem;
  border-radius: 0.7rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  font: inherit;
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.8rem;
  line-height: 1.4;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(15, 23, 42, 0.58) 50%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.58) 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) calc(50% - 0.12rem),
    calc(100% - 0.8rem) calc(50% - 0.12rem);
  background-size: 0.42rem 0.42rem, 0.42rem 0.42rem;
  background-repeat: no-repeat;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.08);
  background: white;
}

.field textarea {
  min-height: 7rem;
}

.checkbox-field {
  display: flex;
  align-items: end;
}

.checkbox-input {
  width: 1.1rem;
  height: 1.1rem;
}

.flash {
  margin-bottom: 1rem;
  border-radius: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: #fff;
}

.content--auth .flash {
  width: min(30rem, calc(100% - 2.5rem));
  margin: 2rem auto -2.3rem;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.14);
  color: #f5fafb;
  border-radius: 0.35rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.88rem;
}

.flash--success {
  border-color: rgba(22, 101, 52, 0.22);
  box-shadow: inset 0 0 0 1px rgba(22, 101, 52, 0.06);
}

.flash--danger {
  border-color: rgba(180, 35, 24, 0.22);
  box-shadow: inset 0 0 0 1px rgba(180, 35, 24, 0.06);
}

.record-list {
  list-style: none;
  padding-left: 0;
}

.compact-list {
  padding-left: 1.1rem;
}

.compact-list--nested {
  margin-top: 0.55rem;
}

.record-list li + li,
.compact-list li + li {
  margin-top: 0.8rem;
}

.bracket-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.bracket-toolbar__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 14rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--bg-deep);
}

.bracket-canvas {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #f8fbfd;
  padding: 1rem;
}

.bracket-svg {
  display: block;
  width: max-content;
  min-width: auto;
  height: auto;
}

.bracket-svg__heading {
  font-size: 22px;
  font-weight: 700;
  fill: #1f2937;
}

.bracket-svg__card {
  fill: #ffffff;
  stroke: #d5dde7;
  stroke-width: 1.5;
}

.bracket-svg__card--empty {
  fill: rgba(255, 255, 255, 0.55);
  stroke-dasharray: 8 6;
}

.bracket-svg__team {
  font-size: 19px;
  font-weight: 700;
  fill: #111827;
}

.bracket-svg__team--away {
  fill: #1f2937;
}

.bracket-svg__vs {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  fill: #6b7280;
}

.bracket-svg__score {
  font-size: 24px;
  font-weight: 800;
  fill: #0f172a;
}

.bracket-svg__meta {
  font-size: 13px;
  fill: #6b7280;
}

.bracket-svg__meta--empty {
  font-size: 12px;
  font-weight: 700;
  fill: #0f766e;
}

.bracket-svg__pill {
  fill: #edf7f5;
  stroke: rgba(13, 148, 136, 0.16);
  stroke-width: 1;
}

.bracket-svg__pill-text {
  font-size: 12px;
  font-weight: 700;
  fill: #0f766e;
}

.panel-header,
.record-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.record-row {
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(68, 64, 60, 0.08);
}

.record-row__body {
  flex: 1 1 auto;
  min-width: 0;
}

.record-row__title {
  display: block;
  line-height: 1.4;
}

.record-row__title a {
  overflow-wrap: anywhere;
}

.record-row__subtext {
  margin-top: 0.2rem;
  overflow-wrap: anywhere;
}

.record-list li:last-child .record-row {
  border-bottom: 0;
  padding-bottom: 0;
}

.record-list li:first-child .record-row {
  padding-top: 0.2rem;
}

.record-row__meta {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
  justify-content: end;
}

.inline-link {
  color: var(--gem-deep);
  font-weight: 600;
  white-space: nowrap;
}

.panel--nested {
  padding: 1rem;
  background: var(--bg-deep);
}

.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;
}

.field--compact label {
  display: none;
}

.image-preview-card {
  margin-top: 0.75rem;
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
}

.image-preview-card__image {
  display: block;
  width: 100%;
  max-height: 12rem;
  object-fit: cover;
}

.result-entry-table {
  display: grid;
  gap: 0.75rem;
}

.result-entry-form {
  gap: 1.25rem;
}

.result-entry-table__header,
.result-entry-row {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1.5fr) minmax(0, 1.1fr) 10.75rem minmax(0, 1.1fr) minmax(0, 1.5fr);
  gap: 0.75rem;
  align-items: center;
}

.result-entry-table__header {
  padding: 0 0 0.15rem;
  color: var(--stone-light);
  font-size: 0.8rem;
  font-weight: 700;
}

.result-entry-row {
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}

.result-entry-row:first-of-type {
  border-top: 0;
  padding-top: 0.2rem;
}

.result-entry-cell {
  min-width: 0;
}

.result-entry-row__board {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.75rem;
  min-height: 2.6rem;
  padding: 0 0.85rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--stone);
  font-size: 0.82rem;
  font-weight: 700;
}

.result-entry-score {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
}

.result-entry-score .field {
  min-width: 0;
}

.result-entry-score__select {
  min-width: 4.25rem;
  padding-left: 0.7rem;
  padding-right: 1.95rem;
  text-align: center;
  text-align-last: center;
  font-variant-numeric: tabular-nums;
  background-position:
    calc(100% - 0.9rem) calc(50% - 0.12rem),
    calc(100% - 0.55rem) calc(50% - 0.12rem);
}

.result-entry-score__sep {
  color: var(--stone-light);
  font-weight: 700;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  min-height: 1.9rem;
  padding: 0 0.75rem;
  border-radius: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(68, 64, 60, 0.1);
  background: #fafafa;
}

.status-badge--danger {
  border-color: rgba(180, 35, 24, 0.16);
  color: var(--danger);
  background: rgba(180, 35, 24, 0.08);
}

.status-badge--success {
  border-color: rgba(22, 101, 52, 0.16);
  color: var(--success);
  background: rgba(22, 101, 52, 0.08);
}

.status-badge--warning {
  border-color: rgba(161, 98, 7, 0.18);
  color: var(--warning);
  background: rgba(161, 98, 7, 0.08);
}

.status-badge--info {
  border-color: rgba(37, 99, 235, 0.18);
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

@media (max-width: 960px) {
  .hero,
  .auth-shell,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .content {
    padding-top: 1.4rem;
  }
}

@media (max-width: 640px) {
  .topbar,
  .content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .topbar {
    position: static;
    align-items: flex-start;
  }

  .topbar__actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .account-box {
    width: 100%;
    justify-content: space-between;
  }

  .brand-link {
    gap: 0.7rem;
  }

  .brand-mark-wrap {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.9rem;
  }

  .brand-name {
    font-size: 1rem;
  }

  .shell-locale--floating {
    top: 0.75rem;
    right: 0.9rem;
  }

  .shell-locale--floating .shell-locale__label {
    display: none;
  }

  h1 {
    font-size: 2.4rem;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .page-actions {
    width: 100%;
    align-items: stretch;
  }

  .page-actions > *,
  .page-actions form {
    flex: 1 1 100%;
  }

  .page-actions .button,
  .page-actions form .button {
    width: 100%;
  }

  .result-entry-table__header {
    display: none;
  }

  .result-entry-form-panel {
    padding: 1.35rem;
  }

  .result-entry-form .panel--nested {
    padding: 1.15rem;
  }

  .result-entry-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.15rem;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    background: #fff;
  }

  .result-entry-row:first-of-type {
    padding-top: 1rem;
  }

  .result-entry-cell {
    display: grid;
    gap: 0.35rem;
  }

  .result-entry-cell::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .result-entry-cell--board::before {
    margin-bottom: 0.1rem;
  }

  .result-entry-row__board {
    min-width: 5.25rem;
  }


  .login-screen {
    padding-top: 2.5rem;
  }

  .login-form__row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .login-form__actions {
    justify-content: stretch;
  }

  .button--auth {
    width: 100%;
  }

  .member-selection-card__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .member-selection-card__actions {
    justify-content: stretch;
  }

  .member-selection-card__actions .button {
    width: 100%;
  }

  .panel-header,
  .record-row {
    flex-direction: column;
  }

  .record-row__meta {
    justify-content: start;
  }
}

/* ── Standings table ── */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.standings-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .875rem; }
.standings-table th,
.standings-table td { padding: .625rem .75rem; text-align: right; white-space: nowrap; }

/* header */
.standings-table thead th {
  background: var(--bg-deep);
  border-bottom: 2px solid var(--line-strong);
  font-size: .6875rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em;
}

/* body rows */
.standings-table tbody td { border-bottom: 1px solid var(--line); }
.standings-table tbody tr:nth-child(even) { background: var(--bg-deep); }
.standings-table tbody tr:hover { background: rgba(13, 148, 136, .06); }

/* rank column */
.standings-table .standings-rank { text-align: center; width: 2.5rem; font-weight: 700; color: var(--muted); }
.standings-table tbody td.standings-rank { font-size: 1rem; }

/* team name column */
.standings-table .standings-team { text-align: left; font-weight: 600; min-width: 10rem; }

/* points column highlight */
.standings-table td.standings-pts { font-weight: 700; color: var(--gem-deep); }

/* positive/negative diff coloring */
.standings-table td.standings-plus { color: var(--success); }
.standings-table td.standings-minus { color: var(--danger); }
