/* Slam's shared design system. Feature styles define layout; tokens define appearance. */
:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1319;
  --surface: #151c24;
  --surface-raised: #1b242e;
  --surface-hover: #202b36;
  --line: #2b3541;
  --line-soft: #212c37;
  --text: #eef2f6;
  --muted: #a1afbe;
  --subtle: #7d8b9c;
  --accent: #65d9b0;
  --accent-ink: #082c21;
  --accent-soft: #65d9b012;
  --accent-border: #65d9b03b;
  --warn: #efbd70;
  --warn-soft: #efbd7010;
  --red: #f49b9b;
  --red-soft: #f49b9b12;
  --shadow: 0 16px 48px #0005;
  --nav-bg: #151c24f5;
  --dialog-backdrop: #050d1899;
  --accent-hover: #7ee3bf;
  --control-height: 42px;
  --radius: 12px;
  --nav-height: 68px;
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f7f9;
  --surface: #fff;
  --surface-raised: #eef2f5;
  --surface-hover: #e8edf2;
  --line: #d9e0e7;
  --line-soft: #e8edf2;
  --text: #18232f;
  --muted: #526375;
  --subtle: #647589;
  --accent: #087653;
  --accent-ink: #fff;
  --accent-soft: #0876530b;
  --accent-border: #08765335;
  --warn: #91600d;
  --warn-soft: #f9ebcd;
  --red: #b33c47;
  --red-soft: #b33c470b;
  --shadow: 0 14px 45px #162b4515;
  --nav-bg: #fffffff5;
  --dialog-backdrop: #192c4559;
  --accent-hover: #066246;
}
html {
  scroll-padding-top: 24px;
}
body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--text);
}
::selection {
  background: var(--accent-border);
  color: var(--text);
}
[hidden] {
  display: none !important;
}
a,
button,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: var(--accent);
}
a:hover {
  text-decoration: none;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button {
  font-family: inherit;
}
svg.lucide {
  width: 20px;
  height: 20px;
  flex: none;
  vertical-align: middle;
}
button svg,
a svg {
  flex-shrink: 0;
}
h1,
h2,
h3 {
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.035em;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.6;
}
.small,
.footnote {
  color: var(--muted);
  line-height: 1.5;
}
.positive,
.pick-name {
  color: var(--accent);
}
.negative,
.red {
  color: var(--red);
}
.warn {
  color: var(--warn);
}
:where(button, a, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
header {
  max-width: 1480px;
  min-height: 88px;
  padding: 18px 36px;
  margin: auto;
  border-bottom: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
}
header h1 {
  font-size: 21px;
  flex: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  letter-spacing: -0.6px;
  font-weight: 650;
}
.brand-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
}
.brand-symbol svg {
  width: 21px;
  height: 21px;
}
.brand-secondary {
  font-weight: 450;
  color: var(--muted);
}
header .actions {
  margin-left: auto;
  gap: 8px;
  flex-wrap: nowrap;
}
.actions > .button {
  border-color: transparent;
  padding: 9px 12px;
  font-size: 12px;
  color: var(--muted);
}
.actions > .button:hover {
  background: var(--surface);
  color: var(--text);
}
.actions > .button svg {
  width: 16px;
  height: 16px;
}
.sport-switch {
  display: flex;
  gap: 2px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 3px;
  margin: 0;
  background: var(--surface);
  height: 38px;
}
.sport-switch button {
  min-height: 30px;
  padding: 4px 16px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1;
  font-weight: 650;
  color: var(--muted);
}
.sport-switch [aria-pressed="true"] {
  color: var(--text);
  background: var(--surface-hover);
  box-shadow: 0 1px 3px #0001;
}
.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--control-height);
  padding: 9px 15px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.3;
  cursor: pointer;
}
.button:hover:not(:disabled),
.icon-button:hover:not(:disabled) {
  background: var(--surface-hover);
  border-color: var(--subtle);
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 650;
}
.button.primary:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-ink);
}
.button.link {
  background: none;
  border: 0;
  color: var(--accent);
  min-height: 32px;
  padding: 4px 0;
}
.game-pick-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}
.game-pick-actions .game-details-action {
  min-height: 32px;
  gap: 5px;
  padding: 4px 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
}
.game-details-action svg {
  width: 14px;
  height: 14px;
}
.game-details-action:hover:not(:disabled) {
  color: var(--text);
  background: var(--surface-hover);
}
.game-card .game-pick-actions {
  border-top: 1px solid var(--line-soft);
  margin-top: 12px;
  padding-top: 12px;
}
.game-card .game-pick-actions .button {
  min-height: 44px;
}
.game-card .game-details-action {
  margin-inline-start: auto;
}
.icon-button {
  width: 38px;
  min-height: 38px;
  padding: 8px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}
.button:disabled,
.icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.appearance {
  position: relative;
}
.appearance-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 9px);
  width: 184px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 12px;
  z-index: 80;
}
.appearance-menu > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  padding: 6px 9px 9px;
}
.appearance-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--text);
  text-align: left;
  font-size: 13px;
}
.appearance-menu button:hover {
  background: var(--surface-hover);
}
.appearance-menu svg {
  width: 16px;
  height: 16px;
}
.appearance-menu .theme-check {
  margin-left: auto;
  visibility: hidden;
}
.appearance-menu [aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent);
}
.appearance-menu [aria-pressed="true"] .theme-check {
  visibility: visible;
}
.page,
.nba-page {
  max-width: 1480px;
  padding: 0 36px 40px;
  margin: 0 auto;
  min-width: 0;
}
.page-nav {
  display: flex;
  gap: 0;
  padding: 0;
  margin: 0 0 30px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.page-nav a,
.nba-page .page-nav a {
  position: relative;
  flex: 0 1 auto;
  min-width: 122px;
  min-height: 55px;
  padding: 14px 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 550;
  color: var(--muted);
  border-radius: 7px 7px 0 0;
}
.page-nav a:hover {
  background: var(--surface);
  color: var(--text);
}
.page-nav a[aria-current="page"],
.nba-page .page-nav a[aria-current="page"] {
  color: var(--accent);
  background: transparent;
}
.page-nav a[aria-current="page"]:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-icon,
.nba-page .page-nav .nav-icon {
  display: block;
  width: 18px;
  height: 18px;
}
.view-toolbar,
.nba-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 8px;
  min-height: 48px;
}
.view-toolbar h2,
.nba-top h2 {
  font-size: 32px;
  letter-spacing: -1.1px;
  font-weight: 650;
  line-height: 1.25;
}
.view-toolbar h2:focus,
.nba-top h2:focus {
  outline: none;
}
.week-control {
  display: flex;
  align-items: center;
  gap: 10px;
}
.week-control > span {
  display: none;
}
.week-control select,
.nba-top input {
  width: auto;
  min-width: 120px;
  max-width: 170px;
  height: 38px;
  min-height: 38px;
  padding: 7px 12px;
  font-size: 12px;
  background: var(--surface);
}
.data-status,
.nba-updated {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  font-size: 12px;
  color: var(--muted);
}
.data-status a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}
section,
details.section {
  margin: 24px 0;
}
.section-heading {
  align-items: center;
  margin-bottom: 15px;
}
.section-heading h2 {
  font-size: 18px;
}
.subnav,
.nba-view-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 9px;
  width: max-content;
  max-width: 100%;
  background: var(--surface);
  margin: 20px 0;
}
.subnav a {
  padding: 8px 15px;
  min-height: 35px;
  font-size: 12px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  color: var(--muted);
}
.subnav a:hover {
  background: var(--surface-hover);
  color: var(--text);
}
.subnav a:focus {
  color: var(--accent);
}
label,
.nba-filters label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  gap: 7px;
}
input,
select,
textarea {
  min-height: var(--control-height);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text);
  line-height: 1.35;
  box-shadow: 0 1px 2px #00000005;
}
input::placeholder,
textarea::placeholder {
  color: var(--subtle);
}
input:hover,
select:hover {
  border-color: var(--subtle);
}
input[type="checkbox"],
.nba-filters input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 16px;
  accent-color: var(--accent);
  margin: 0;
  flex: none;
  border-radius: 4px;
  cursor: pointer;
}
input[type="range"] {
  padding: 0;
  box-shadow: none;
}
.form-grid {
  gap: 16px;
  align-items: end;
  margin: 20px 0;
}
.form-grid > * {
  min-width: 0;
}
.check-label,
.nba-filters label.check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  min-height: var(--control-height);
  font-size: 12px;
  color: var(--muted);
}
.prop-toggle-filters {
  gap: 12px 24px;
}
.nba-filters {
  align-items: end;
  gap: 12px 16px;
  margin: 20px 0;
}
.nba-filters label.check {
  font-weight: 400;
}
.nba-filters label:not(.check) {
  min-width: 140px;
}
.dfs-actions,
.lineup-controls {
  align-items: end;
}
.lineup-controls .button {
  min-height: 42px;
}
.dfs-actions .button svg {
  width: 16px;
  height: 16px;
}
.scroll {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
table {
  font-size: 13px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
th {
  font-size: 11px;
  font-weight: 550;
  color: var(--muted);
  background: var(--surface-raised);
}
th,
td {
  padding: 15px 16px;
  border-color: var(--line-soft);
  vertical-align: middle;
}
td {
  line-height: 1.5;
}
.interactive-table thead {
  background: var(--surface-raised);
  box-shadow: 0 1px 0 var(--line);
}
.table-sort {
  min-height: 44px;
  padding: 13px 16px;
  font-size: 11px;
  font-weight: 550;
  background: var(--surface-raised);
}
.table-sort:hover {
  background: var(--surface-hover);
}
tbody tr:hover {
  background: var(--accent-soft);
}
.table-hint {
  color: var(--subtle);
}
.avatar,
.avatar img {
  background: transparent;
}
.avatar {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}
.team-identity .avatar,
.team-identity .avatar img {
  background: transparent;
}
.identity {
  gap: 10px;
  align-items: center;
}
.identity-text {
  line-height: 1.4;
}
.identity-text strong {
  font-size: 13px;
}
.identity-text .small {
  font-size: 11px;
}
.nba-player-button {
  align-items: center;
  color: var(--text);
}
.nba-player-button small {
  color: var(--muted);
}
.tag {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 10px;
}
.notice,
.nba-notice,
.data-warning {
  color: var(--warn);
  background: var(--warn-soft);
  border: 1px solid color-mix(in srgb, var(--warn) 24%, transparent);
  border-radius: 9px;
  padding: 12px 15px;
  font-size: 12px;
  line-height: 1.6;
}
.data-warning {
  padding: 0 15px;
}
.notice svg {
  width: 16px;
  height: 16px;
}
summary {
  font-size: 13px;
  font-weight: 550;
  padding: 18px 0;
}
.context-grid {
  gap: 32px;
}
.summary-grid,
.season-choice {
  background: var(--surface);
  border-color: var(--line);
}
/* Game, projection and journal cards share the same surfaces and rhythm. */
.game-card,
.nba-game,
.nba-prop-card,
.nba-bet,
.nba-lineup,
.journal-bet {
  background: var(--surface);
  border-color: var(--line);
  border-radius: var(--radius);
}
.nba-game {
  padding: 24px;
}
.nba-game-grid {
  gap: 18px;
}
.nba-game-summary {
  border-color: var(--line-soft);
  background: var(--accent-soft);
}
.nba-game .nba-score {
  font-size: 32px;
  letter-spacing: -1px;
}
.nba-player-button img {
  background: transparent;
  object-fit: contain;
}
.nba-prop-card {
  padding: 16px;
}
.nba-prop-card strong {
  font-weight: 600;
}
.nba-stat,
.journal-kpis article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.nba-stats,
.journal-kpis {
  gap: 14px;
}
.nba-stat strong,
.journal-kpis strong {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1px;
}
.nba-stat span,
.journal-kpis article > span {
  font-size: 12px;
  color: var(--muted);
}
.journal-eyebrow,
.login-eyebrow {
  display: none;
}
.journal-curve,
.journal-breakdown {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  border-color: var(--line);
}
.chart-heading h3,
.journal-breakdown h3 {
  font-size: 16px;
  letter-spacing: -0.3px;
}
.journal-chart text {
  fill: var(--muted);
}
.chart-tabs [aria-pressed="true"],
.entry-tabs [aria-pressed="true"],
.journal-filters .button.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-border);
}
.journal-grid {
  column-gap: 18px;
  row-gap: 64px;
  margin-top: 68px;
}
.journal-bet {
  padding: 20px 22px 16px;
}
.journal-bet:is(.has-headshot, .has-team):before {
  display: none;
}
.journal-bet:is(.has-headshot, .has-team)
  .bet-identity
  > .identity:first-child
  > .avatar {
  top: -142px;
  width: 154px;
  height: 174px;
  right: -10px;
}
.bet-identity .identity-text > strong {
  font-size: 20px;
  letter-spacing: -0.4px;
}
.journal-bet:is(.has-headshot, .has-team)
  .bet-identity
  > .identity:first-child {
  padding-right: 95px;
}
.bet-unit-banner {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  border-radius: 9px;
  padding: 13px 14px;
}
.bet-unit-banner strong {
  color: var(--text);
  font-weight: 650;
}
.bet-financials strong {
  font-size: 15px;
  font-weight: 600;
}
.result-pill {
  font-size: 10px;
  letter-spacing: 0;
  background: var(--surface-raised);
  color: var(--muted);
}
.result-pill.won,
.nba-bet .won {
  background: var(--accent-soft);
  color: var(--accent);
}
.result-pill.lost,
.nba-bet .lost {
  background: var(--red-soft);
  color: var(--red);
}
.bet-card-footer {
  border-color: var(--line-soft);
}
.bet-card-footer .button,
.bet-card-footer a {
  font-size: 12px;
}
.unit-control,
.journal-tools .unit-control,
.nba-log-controls .nba-unit-control {
  border-color: var(--line);
  background: var(--surface);
  color: var(--muted);
}
.unit-control input,
.nba-unit-control input {
  box-shadow: none;
  background: transparent;
  color: var(--text);
}
.log-date-picker > summary,
.log-date-options {
  background: var(--surface);
  border-color: var(--line);
}
.log-date-option:hover {
  background: var(--surface-hover);
}
.log-report-heading {
  align-items: center;
}
.log-report-heading span {
  font-size: 18px;
  letter-spacing: -0.4px;
}
.log-record-units {
  color: var(--accent);
}
.nba-bet-top {
  align-items: center;
}
.nba-bet h3 {
  font-size: 17px;
}
.nba-bet .nba-player-button img {
  width: 65px;
  height: 65px;
}
.nba-bet-footer {
  border-color: var(--line-soft);
}
/* Injury report */
.injury-report {
  margin: 0;
}
.injury-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
}
.injury-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.injury-intro > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--subtle);
  font-size: 11px;
}
.injury-intro svg {
  width: 14px;
  height: 14px;
}
.injury-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.7fr) minmax(150px, 1fr) minmax(
      170px,
      1fr
    );
  gap: 16px;
  align-items: end;
  margin-bottom: 22px;
}
.injury-search > div {
  position: relative;
}
.injury-search svg {
  position: absolute;
  left: 12px;
  top: 13px;
  width: 16px;
  height: 16px;
  color: var(--subtle);
}
.injury-search input {
  padding-left: 38px;
}
.injury-filters .injury-assignment {
  grid-column: 1/-1;
  min-height: 20px;
  margin-top: -2px;
}
.injury-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.injury-summary-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}
.injury-summary-item > svg {
  width: 22px;
  height: 22px;
  color: var(--subtle);
}
.injury-summary-item > span {
  display: grid;
  gap: 2px;
}
.injury-summary-item strong {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--text);
  font-weight: 600;
}
.injury-summary-item small {
  font-size: 11px;
  line-height: 1.5;
}
.injury-summary-item[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.injury-summary-item:hover {
  border-color: var(--subtle);
}
.injury-summary-item.out > svg {
  color: var(--red);
}
.injury-summary-item.uncertain > svg {
  color: var(--warn);
}
.injury-summary-item.available > svg {
  color: var(--accent);
}
.injury-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 12px;
  height: 25px;
}
.injury-list-heading p {
  color: var(--muted);
  font-size: 12px;
}
.injury-list-heading .button {
  font-size: 12px;
}
.injury-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: auto;
  background: var(--surface);
}
.injury-table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}
.injury-table th:nth-child(1) {
  width: 25%;
}
.injury-table th:nth-child(2) {
  width: 16%;
}
.injury-table th:nth-child(3) {
  width: 24%;
}
.injury-table th:nth-child(4) {
  width: 20%;
}
.injury-table th:nth-child(5) {
  width: 15%;
}
.injury-table th {
  padding: 12px 16px;
}
.injury-table td {
  padding: 17px 16px;
}
.injury-person {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  color: var(--text);
  font-family: inherit;
  max-width: 100%;
}
.injury-person > img,
.injury-avatar {
  width: 44px;
  height: 46px;
  object-fit: contain;
  flex: none;
  object-position: center bottom;
}
.injury-avatar {
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-raised);
  color: var(--subtle);
}
.injury-person > span:last-child {
  min-width: 0;
}
.injury-person strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  display: block;
}
.injury-person:hover strong {
  color: var(--accent);
}
.injury-person small {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.injury-person small > span {
  color: var(--subtle);
}
.injury-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 550;
  background: var(--surface-raised);
  color: var(--muted);
  line-height: 1.4;
}
.injury-status svg {
  width: 12px;
  height: 12px;
}
.injury-status.out {
  color: var(--red);
  background: var(--red-soft);
}
.injury-status.uncertain {
  color: var(--warn);
  background: var(--warn-soft);
}
.injury-status.available {
  color: var(--accent);
  background: var(--accent-soft);
}
.injury-reason > strong {
  font-size: 12px;
  line-height: 1.55;
  font-weight: 400;
  display: block;
}
.injury-table small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  margin-top: 4px;
}
.injury-table .injury-person small {
  display: flex;
}
.injury-model details {
  margin: 0;
}
.injury-model summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  gap: 7px;
  padding: 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}
.injury-model summary:after {
  display: none;
}
.injury-model summary svg {
  width: 13px;
  height: 13px;
  flex: none;
  color: var(--muted);
}
.injury-model details[open] summary svg {
  transform: rotate(180deg);
}
.injury-model p {
  font-size: 11px;
  color: var(--muted);
  margin: 10px 0 0;
}
.injury-model a svg {
  width: 12px;
  height: 12px;
}
.injury-game strong {
  font-size: 11px;
  white-space: nowrap;
  font-weight: 550;
}
.injury-game strong span {
  color: var(--subtle);
  font-weight: 400;
  margin: 0 3px;
}
.injury-footnote {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--subtle);
  margin: 20px 0 0;
}
.injury-footnote svg {
  width: 15px;
  height: 15px;
  flex: none;
}
.injury-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  min-height: 220px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--surface);
}
.injury-empty > svg {
  color: var(--subtle);
  width: 24px;
  height: 24px;
}
.injury-empty h3 {
  margin: 12px 0 2px;
}
.injury-empty p {
  font-size: 12px;
  color: var(--muted);
  max-width: 420px;
}
/* Footer, dialogs, loading */
.app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 44px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--subtle);
}
.footer-brand,
.footer-links,
.footer-links a {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-brand {
  color: var(--muted);
}
.app-footer svg {
  width: 15px;
  height: 15px;
}
.footer-links {
  gap: 24px;
}
.footer-links a {
  color: var(--muted);
  min-height: 32px;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-links a[aria-current="page"] {
  color: var(--accent);
}
.footer-note {
  font-variant-numeric: tabular-nums;
}
.app-dialog,
.sim-dialog {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.app-dialog::backdrop,
.journal-dialog::backdrop,
.sim-dialog::backdrop {
  background: var(--dialog-backdrop);
  backdrop-filter: blur(5px);
}
.dialog-heading,
.sim-heading {
  align-items: center;
}
.dialog-heading h2,
.sim-heading h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
}
.app-dialog .dialog-heading > .dialog-close,
.sim-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: var(--surface-raised);
  color: var(--muted);
  padding: 8px;
  margin: 0;
}
.profile-section,
.profile-roster > div,
.profile-stats > div {
  border-color: var(--line-soft);
}
.profile-stats > div,
.profile-note {
  background: var(--surface-raised);
}
.profile-stats dd {
  color: var(--text);
}
.journal-dialog textarea {
  border-color: var(--line);
  background: var(--bg);
}
.dialog-actions {
  align-items: center;
}
.danger-button {
  color: var(--red);
  background: var(--red-soft);
  border-color: var(--red);
}
.danger-button:hover:not(:disabled) {
  color: var(--red);
  border-color: var(--red);
  background: var(--red-soft);
}
.login-panel {
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 18px;
  background: var(--surface);
  margin: 12vh auto;
}
.login-panel h2 {
  font-size: 29px;
}
.login-panel .button {
  min-height: 46px;
}
.slam-load-content h2 {
  font-size: 24px;
  letter-spacing: -0.8px;
  font-weight: 550;
}
.slam-loader-compact {
  padding: 42px 20px;
}
.slam-loader-compact h2 {
  font-size: 15px;
  letter-spacing: 0;
  color: var(--muted);
}
.toast {
  background: var(--surface-raised);
  border-color: var(--line);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 13px;
}
.toast.error {
  background: var(--surface);
  border-color: var(--red);
  color: var(--red);
}
/* Simulator stays playful; the surrounding tools follow the platform. */
.sim-box,
.sim-lobby-card {
  background: var(--surface);
  border-color: var(--line);
}
.sim-team-tabs [aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent);
}
.sim-hot td {
  background: var(--accent-soft);
  color: var(--accent);
}
.sim-box th,
.sim-box td {
  border-color: var(--line-soft);
}
.sim-entry {
  background: var(--surface);
  border-color: var(--line);
}
.sim-entry p,
.sim-entry small {
  color: var(--muted);
}
.sim-lobby-head {
  align-items: center;
}
.sim-entry-kicker,
.sim-stage-tag {
  display: none;
}
/* Headshot files include transparent space around the player. Align the
   visible portraits and emblems along the same edge of the journal card. */
@media (min-width: 801px) and (min-height: 501px), (min-width: 1001px) {
  .journal-bet.has-headshot .bet-identity > .identity:first-child > .avatar {
    width: 176px;
    height: 152px;
    top: -120px;
  }
  .journal-bet.has-team .bet-identity > .identity:first-child > .avatar {
    width: 120px;
    height: 120px;
    top: -88px;
    right: 5px;
  }
}
@media (min-width: 801px) {
  .mobile-nav,
  .nba-mobile-nav {
    display: none !important;
  }
}
@media (max-width: 1100px) and (min-width: 801px) {
  .page,
  header {
    padding-left: 24px;
    padding-right: 24px;
  }
  .page-nav a,
  .nba-page .page-nav a {
    min-width: 0;
    flex: 1;
    padding-left: 12px;
    padding-right: 12px;
  }
  .injury-summary-item {
    padding: 16px 12px;
    gap: 10px;
  }
  .injury-table th,
  .injury-table td {
    padding-left: 12px;
    padding-right: 12px;
  }
  .injury-table {
    min-width: 900px;
  }
  .footer-note {
    display: none;
  }
}
@media (max-width: 800px), (max-width: 1000px) and (max-height: 500px) {
  :root {
    --control-height: 44px;
  }
  header {
    min-height: 72px;
    padding: 16px max(16px, env(safe-area-inset-right)) 16px
      max(16px, env(safe-area-inset-left));
    gap: 12px;
    flex-wrap: nowrap;
    border-bottom: 1px solid var(--line-soft);
  }
  header h1 {
    font-size: 18px;
    min-width: 0;
  }
  .brand {
    gap: 8px;
  }
  .brand-symbol {
    width: 29px;
    height: 29px;
    border-radius: 8px;
  }
  .brand-symbol svg {
    width: 18px;
    height: 18px;
  }
  .brand-secondary {
    display: none;
  }
  header .actions {
    gap: 2px;
    margin-left: 0;
  }
  .actions > .button {
    width: 34px;
    min-height: 36px;
    padding: 8px;
  }
  .actions > .button span {
    display: none;
  }
  .sport-switch {
    margin-left: auto;
    height: 34px;
  }
  .sport-switch button {
    padding: 5px 11px;
    min-height: 26px;
    font-size: 11px;
  }
  .icon-button {
    width: 34px;
    min-height: 34px;
    padding: 8px;
  }
  .icon-button svg {
    width: 18px;
    height: 18px;
  }
  .page,
  .nba-page {
    padding: 23px max(16px, env(safe-area-inset-right))
      calc(100px + env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
  }
  .page-nav,
  .nba-page > .page-nav {
    display: none;
  }
  .view-toolbar,
  .nba-top {
    margin: 0 0 8px;
    min-height: 40px;
    gap: 12px;
  }
  .view-toolbar h2,
  .nba-top h2 {
    font-size: 27px;
    letter-spacing: -0.9px;
  }
  .week-control select,
  .nba-top input {
    min-width: 105px;
    max-width: 145px;
    height: 36px;
    min-height: 36px;
    font-size: 12px;
  }
  .data-status,
  .nba-updated {
    font-size: 11px;
    line-height: 1.6;
    margin: 0 0 22px;
    flex-wrap: wrap;
    gap: 5px 12px;
  }
  .data-status .source-count {
    display: none;
  }
  .nba-updated {
    display: block;
  }
  .mobile-nav,
  .nba-mobile-nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    position: fixed;
    z-index: 40;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: var(--nav-height);
    padding: 7px max(5px, env(safe-area-inset-right))
      calc(7px + env(safe-area-inset-bottom))
      max(5px, env(safe-area-inset-left));
    background: var(--nav-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--line);
    transition: transform 0.2s ease;
    box-shadow: 0 -8px 30px #00000005;
  }
  .mobile-nav a,
  .nba-mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 6px 1px;
    min-height: 49px;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    border-radius: 8px;
    color: var(--muted);
    text-decoration: none;
  }
  .mobile-nav .nav-icon,
  .nba-mobile-nav .nav-icon {
    width: 20px;
    height: 20px;
    display: block;
  }
  .mobile-nav a[aria-current="page"],
  .nba-mobile-nav a[aria-current="page"] {
    background: var(--accent-soft);
    color: var(--accent);
  }
  .mobile-nav.nav-hidden:not(:focus-within),
  .nba-mobile-nav.nav-hidden:not(:focus-within) {
    transform: translateY(110%);
  }
  .mobile-nav.keyboard-hidden,
  .nba-mobile-nav.keyboard-hidden {
    visibility: hidden;
  }
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .form-grid label {
    font-size: 11px;
  }
  .form-grid input,
  .form-grid select,
  .nba-filters input,
  .nba-filters select {
    font-size: 16px;
    padding: 9px 11px;
    min-width: 0;
  }
  .form-grid .check-label {
    font-size: 11px;
  }
  .prop-toggle-filters {
    gap: 6px 14px;
  }
  .nba-filters {
    gap: 12px;
  }
  .nba-filters label:not(.check) {
    min-width: 0;
    flex: 1 1 42%;
    font-size: 11px;
  }
  .nba-filters label.check {
    flex: 1 1 42%;
    font-size: 11px;
    min-height: 34px;
  }
  .nba-prop-table {
    display: none;
  }
  .nba-prop-cards {
    display: block;
  }
  .subnav {
    margin: 18px 0;
  }
  .subnav a {
    min-height: 36px;
    font-size: 12px;
    padding: 8px 13px;
  }
  .section-heading {
    align-items: center;
    gap: 6px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .section-heading > .small {
    font-size: 11px;
  }
  .game-card {
    padding: 17px;
  }
  .mobile-game-cards {
    gap: 12px;
  }
  .card-stats {
    margin: 16px 0;
    gap: 10px;
  }
  .card-stats dd {
    font-size: 23px;
    font-weight: 600;
  }
  .card-secondary {
    gap: 12px;
    border-color: var(--line-soft);
  }
  .game-card-pick {
    margin-top: 15px;
  }
  .mobile-card-table tbody {
    gap: 12px;
  }
  .mobile-card-table tbody tr {
    background: var(--surface);
    border-color: var(--line);
    padding: 3px 11px;
    border-radius: var(--radius);
  }
  .mobile-card-table.interactive-table td {
    font-size: 13px;
    padding: 11px 7px;
    border-color: var(--line-soft);
  }
  .mobile-card-table.interactive-table td:first-child {
    font-size: 15px;
  }
  .mobile-cell-label {
    font-size: 10px;
    margin-bottom: 5px;
  }
  .nba-game {
    padding: 18px;
  }
  .nba-game-grid {
    gap: 12px;
  }
  .nba-game .nba-team-button strong {
    font-size: 13px;
  }
  .nba-game .nba-score {
    font-size: 27px;
  }
  .nba-stat,
  .journal-kpis article {
    padding: 16px;
  }
  .nba-stat strong,
  .journal-kpis strong {
    font-size: 27px;
  }
  .nba-stats,
  .journal-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .journal-kpis small {
    font-size: 10px;
  }
  .journal-performance {
    grid-template-columns: 1fr;
  }
  .journal-curve,
  .journal-breakdown {
    padding: 16px;
  }
  .journal-tools .journal-controls {
    gap: 8px;
  }
  .journal-tools .journal-controls .button,
  .journal-tools .unit-control,
  .journal-tools .journal-controls > select {
    font-size: 12px;
  }
  .journal-tools .unit-control input {
    font-size: 16px;
  }
  .journal-tools .journal-list-heading input {
    font-size: 16px;
  }
  .log-report-heading span {
    font-size: 16px;
  }
  .log-report-heading {
    flex-wrap: wrap;
    gap: 4px;
  }
  .journal-grid {
    margin-top: 20px;
    row-gap: 14px;
  }
  .journal-bet {
    padding: 16px;
  }
  .journal-bet:is(.has-headshot, .has-team)
    .bet-identity
    > .identity:first-child
    > .avatar {
    position: absolute;
    top: -58px;
    right: -10px;
    width: 102px;
    height: 120px;
  }
  .journal-bet:is(.has-headshot, .has-team)
    .bet-identity
    > .identity:first-child {
    padding-right: 76px;
  }
  .bet-identity .identity-text > strong {
    font-size: 18px;
  }
  .journal-bet .bet-identity {
    min-height: 55px;
  }
  .bet-unit-banner strong {
    font-size: 28px;
  }
  .bet-unit-banner > div:last-child strong {
    font-size: 22px;
  }
  .bet-financials strong {
    font-size: 14px;
  }
  .bet-card-top {
    margin-bottom: 8px;
  }
  .nba-bet {
    padding: 17px;
  }
  .nba-log-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .app-footer {
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    margin-top: 32px;
    align-items: center;
  }
  .footer-note {
    display: none;
  }
  .footer-links {
    gap: 20px;
    flex-wrap: wrap;
    font-size: 11px;
  }
  .footer-brand {
    width: 100%;
    font-size: 11px;
  }
  .app-dialog,
  .sim-dialog {
    border-radius: 18px 18px 0 0;
    padding: 20px;
    background: var(--surface);
  }
  .dialog-heading h2,
  .sim-heading h2 {
    font-size: 22px;
  }
  .app-dialog input,
  .app-dialog select,
  .app-dialog textarea {
    font-size: 16px;
  }
  .app-dialog .form-grid {
    gap: 12px;
  }
  .app-dialog .dialog-actions {
    padding-top: 12px;
  }
  .sheet-grip span {
    background: var(--line);
  }
  .login-panel {
    margin: 8vh auto;
    padding: 26px;
  }
  .sim-toolbar {
    flex-wrap: wrap;
  }
  .sim-toolbar label {
    min-width: 42%;
  }
  .sim-toolbar select {
    font-size: 14px;
  }
  .sim-controls .button {
    font-size: 11px;
  }
  .injury-intro {
    display: block;
    margin-bottom: 20px;
  }
  .injury-intro p {
    font-size: 12px;
  }
  .injury-intro > span {
    margin-top: 7px;
    font-size: 10px;
  }
  .injury-filters {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
  }
  .injury-search {
    grid-column: 1/-1;
  }
  .injury-filters input,
  .injury-filters select {
    font-size: 16px;
  }
  .injury-search svg {
    top: 14px;
  }
  .injury-filters .injury-assignment {
    font-size: 11px;
  }
  .injury-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .injury-summary-item {
    padding: 14px 12px;
    gap: 11px;
  }
  .injury-summary-item > svg {
    width: 19px;
    height: 19px;
  }
  .injury-summary-item strong {
    font-size: 24px;
  }
  .injury-summary-item small {
    font-size: 10px;
  }
  .injury-list-heading {
    margin: 20px 0 10px;
  }
  .injury-table-wrap {
    overflow: visible;
    border: 0;
    background: none;
  }
  .injury-table,
  .injury-table tbody {
    display: block;
    width: 100%;
  }
  .injury-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
  }
  .injury-table tbody {
    display: grid;
    gap: 10px;
  }
  .injury-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 15px;
    gap: 11px 8px;
  }
  .injury-table td {
    display: block;
    padding: 0;
    border: 0;
    min-width: 0;
  }
  .injury-name-cell {
    grid-column: 1;
    grid-row: 1;
  }
  .injury-status-cell {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    max-width: 112px;
    text-align: right;
  }
  .injury-person {
    gap: 9px;
  }
  .injury-person > img,
  .injury-avatar {
    width: 38px;
    height: 42px;
  }
  .injury-person strong {
    font-size: 12px;
  }
  .injury-person small {
    font-size: 10px;
  }
  .injury-status {
    font-size: 9px;
    padding: 5px 7px;
    max-width: 112px;
    text-align: left;
  }
  .injury-status svg {
    width: 11px;
    height: 11px;
  }
  .injury-reason {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .injury-reason > strong {
    font-size: 12px;
  }
  .injury-reason > small {
    font-size: 10px;
    margin-top: 2px;
  }
  .injury-model {
    grid-column: 1/-1;
    grid-row: 4;
    border-top: 1px solid var(--line-soft) !important;
    padding-top: 10px !important;
  }
  .injury-model summary {
    font-size: 11px;
    justify-content: space-between;
    min-height: 24px;
  }
  .injury-game {
    grid-column: 1/-1;
    grid-row: 3;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .injury-game small {
    margin: 0;
    font-size: 9px;
  }
  .injury-game strong {
    font-size: 10px;
  }
  .injury-footnote {
    align-items: flex-start;
    font-size: 10px;
    line-height: 1.6;
  }
  .injury-footnote svg {
    margin-top: 2px;
  }
  .toast {
    bottom: calc(80px + env(safe-area-inset-bottom));
  }
}
@media (max-width: 360px) {
  header {
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .page {
    padding-left: 12px;
    padding-right: 12px;
  }
  .brand-symbol {
    display: none;
  }
  .sport-switch button {
    padding: 5px 9px;
  }
  .injury-person > img {
    width: 32px;
    height: 38px;
  }
  .injury-table tr {
    padding: 12px;
  }
  .injury-person strong {
    font-size: 11px;
  }
  .injury-summary-item {
    gap: 8px;
    padding: 12px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
.page > .page-nav a {
  flex: 0 1 auto;
}
.platform-filters {
  margin: 0;
}
.platform-filters > summary {
  display: none;
}
.platform-filter-content > .form-grid {
  margin-top: 0;
}
.platform-filters:not([open]) > .platform-filter-content {
  display: block;
}
.injury-summary-short {
  display: none;
}
.injury-person img {
  color: transparent;
}
.nba-game-summary {
  padding: 12px;
  border-radius: 8px;
}
.nba-game .sim-launch {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-border);
}
.nba-game .sim-launch:hover {
  background: var(--accent-border);
}
@media (max-width: 800px) {
  .platform-filters {
    margin: 0 0 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
  }
  .platform-filters > summary {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    min-height: 46px;
    border: 0;
    font-size: 12px;
    font-weight: 400;
  }
  .platform-filters > summary:after {
    display: none;
  }
  .platform-filters > summary > svg {
    width: 16px;
    height: 16px;
    color: var(--muted);
  }
  .platform-filters > summary > svg:last-child {
    margin-left: auto;
    width: 14px;
    height: 14px;
  }
  .platform-filters > summary > strong {
    font-weight: 550;
  }
  .platform-filters > summary > span {
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .platform-filters[open] > summary > svg:last-child {
    transform: rotate(180deg);
  }
  .platform-filter-content {
    padding: 2px 14px 14px;
  }
  .platform-filters:not([open]) > .platform-filter-content {
    display: none;
  }
  .platform-filter-content > .form-grid {
    margin: 8px 0 0;
  }
  .platform-filter-content > .nba-filters {
    margin: 8px 0;
  }
  .projection-legend {
    font-size: 11px;
    line-height: 1.55;
  }
  .injury-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }
  .injury-summary-item {
    padding: 12px 7px;
    gap: 0;
    text-align: center;
    justify-content: center;
  }
  .injury-summary-item > svg {
    display: none;
  }
  .injury-summary-item strong {
    font-size: 22px;
  }
  .injury-summary-item small {
    font-size: 9px;
  }
  .injury-summary-long {
    display: none;
  }
  .injury-summary-short {
    display: block;
  }
  .injury-filters {
    margin-bottom: 16px;
  }
  .injury-intro {
    margin-bottom: 16px;
  }
  .injury-list-heading {
    margin-top: 16px;
  }
  .injury-person small {
    font-size: 9px;
  }
  .nba-game .sim-launch {
    font-size: 12px;
  }
  .page > .page-nav a {
    flex: 1;
  }
}
.game-match .sim-launch {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}
.sim-entry .sim-launch {
  color: var(--accent-ink);
}
.nba-page .page-nav a {
  flex-grow: 0;
}
.nba-page .page-nav .nav-icon {
  width: 18px;
  height: 18px;
}
header > .appearance {
  margin-left: auto;
  margin-right: -20px;
}
header > .appearance + .sport-switch {
  margin-left: 0;
}
header > .sport-switch + .actions {
  margin-left: 0;
}
@media (max-width: 800px) {
  header > .appearance {
    margin-left: auto;
    margin-right: -6px;
  }
  header > .appearance + .sport-switch {
    margin-left: 0;
  }
  header > .sport-switch + .actions {
    margin-left: 0;
  }
}
.page-nav,
.nba-page .page-nav {
  justify-content: flex-start;
}
.compact-prop-list {
  display: none;
}
.prop-game-time {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
td > .prop-game-time {
  display: block;
  margin-top: 2px;
}
@media (max-width: 800px) {
  .desktop-help,
  .prop-desktop-only {
    display: none !important;
  }
  .compact-prop-list {
    display: block;
    margin-top: 10px;
  }
  .compact-prop-sort {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 11px;
    margin: 0 0 12px;
    color: var(--muted);
  }
  .compact-prop-sort select {
    width: auto;
    min-height: 34px;
    height: 34px;
    font-size: 12px;
    padding: 5px 28px 5px 10px;
  }
  .compact-prop-rows {
    display: grid;
    gap: 10px;
  }
  .compact-prop {
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    min-width: 0;
  }
  .compact-prop-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .compact-prop-heading .identity,
  .compact-prop-heading .nba-player-button {
    min-width: 0;
    gap: 9px;
    max-width: calc(100% - 75px);
    font-size: 14px;
    text-align: left;
  }
  .compact-prop-heading .identity-text {
    min-width: 0;
    white-space: normal;
  }
  .compact-prop-heading .identity-text strong,
  .compact-prop-heading .nba-player-button > span {
    font-size: 14px;
    font-weight: 600;
  }
  .compact-prop-heading .identity-text .small,
  .compact-prop-heading .nba-player-button small {
    font-size: 10px;
    font-weight: 400;
    margin-top: 3px;
    line-height: 1.4;
  }
  .compact-prop-heading .avatar,
  .compact-prop-heading .nba-player-button > img {
    width: 36px;
    height: 40px;
    flex: 0 0 36px;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
  }
  .compact-prop-chance {
    text-align: right;
    flex: none;
  }
  .compact-prop-chance strong {
    display: block;
    color: var(--accent);
    font-size: 23px;
    letter-spacing: -0.65px;
    line-height: 1.2;
    font-weight: 600;
  }
  .compact-prop-chance > span {
    display: block;
    color: var(--muted);
    font-size: 9px;
    margin-top: 3px;
  }
  .compact-prop-pick {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 0;
  }
  .compact-prop-pick > strong {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
  }
  .compact-prop-pick > strong > span {
    font-weight: 450;
  }
  .compact-prop-price {
    font-size: 12px;
    font-weight: 550;
    background: var(--surface-raised);
    padding: 3px 7px;
    border-radius: 5px;
    white-space: nowrap;
  }
  .compact-prop-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--line-soft);
    padding-top: 10px;
  }
  .compact-prop-actions > span {
    font-size: 11px;
    color: var(--muted);
    margin-right: auto;
  }
  .compact-prop-actions > span strong {
    color: var(--text);
    margin-left: 3px;
    font-weight: 550;
  }
  .compact-prop-game {
    display: block;
    margin-top: 2px;
    line-height: 1.3;
  }
  .compact-prop-actions .prop-log-button {
    min-height: 32px;
    height: 32px;
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 11px;
    background: var(--accent-soft);
    border-color: var(--accent-border);
    color: var(--accent);
  }
  .compact-prop-actions .prop-log-button svg {
    width: 12px;
    height: 12px;
  }
  .compact-prop-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 7px 0;
    min-height: 32px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
  }
  .compact-prop-toggle svg {
    width: 12px;
    height: 12px;
  }
  .compact-prop-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }
  .compact-prop-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 12px 0 0;
    border-top: 1px solid var(--line-soft);
    padding-top: 12px;
  }
  .compact-prop-details dt {
    font-size: 10px;
    color: var(--muted);
  }
  .compact-prop-details dd {
    font-size: 12px;
    margin: 3px 0 0;
  }
  .compact-prop-flag {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: var(--warn);
    margin: 8px 0 0;
  }
  .compact-prop-flag svg {
    width: 12px;
    height: 12px;
  }
  .prop-range-note {
    font-size: 10px;
    color: var(--subtle);
  }
  .nba-result-line {
    font-size: 11px;
  }
  .workspace-view[data-view="games"] > .subnav {
    margin-top: 0;
  }
  .sim-game-nav .nba-tabs {
    margin-top: 0;
  }
  .nba-bet-footer {
    justify-content: flex-end;
  }
  .nba-game .nba-game-actions {
    justify-content: flex-end;
  }
}
.journal-chart [stroke="#a5d6b3"],
.nba-chart [stroke="#a5d6b3"] {
  stroke: var(--accent);
}
.journal-chart [fill="#a5d6b3"],
.nba-chart [fill="#a5d6b3"] {
  fill: var(--accent);
}
.journal-chart stop,
.nba-chart stop {
  stop-color: var(--accent);
}
.journal-chart [fill="#141617"],
.journal-chart [fill="#1b1e20"] {
  fill: var(--surface);
}
.mobile-card-wrapper:has(.mobile-card-table) {
  background: transparent;
  border: 0;
}

/* Transparent images must not reveal their missing-image fallback. */
.avatar-fallback{display:inline-grid;place-items:center}
.avatar:has(>img)>.avatar-fallback{visibility:hidden}

/* Status and interactive colors share the same theme tokens in both sports. */
.nba-error,.nba-bet-result.lost{color:var(--red)}
.nba-bet-result{background:var(--accent-soft)}
.nba-bet-result.lost{background:var(--red-soft)}
.nba-tag,.nba-fire{color:var(--warn)}
.nba-fire{stroke:var(--warn)}
.bet-settlement-note{color:var(--warn);background:var(--warn-soft)}
.nba-page .page-nav a[aria-current="page"],
.nba-mobile-nav a[aria-current="page"]{background:var(--accent-soft);color:var(--accent)}
.nba-mini-chart div{background:var(--accent-border)}
.nba-spinner{border-color:var(--line);border-top-color:var(--accent)}
