/* Nov 21 re-review: the desktop menu never runs under the date/BTC ticker.
   The menu takes the space left after the logo and ticker; short visible labels keep their full names in the link title. Phones are unchanged. */
@media (min-width: 1024px) {
  .v2-header-inner { display: flex !important; align-items: center !important; gap: 1rem !important; }
  .v2-nav-tier { flex: 1 1 auto !important; min-width: 0 !important; }
  .v2-grouped-nav { display: flex !important; flex-wrap: nowrap !important; min-width: 0 !important; overflow: hidden !important; }
  .v2-header-actions { flex: 0 0 auto !important; }
  .v2-nav-flat {
    font-size: 16px !important;
    padding: 0.375rem 0.55rem !important;
    min-height: 0 !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
  }
  .v2-nav-flat > span {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }
}


/* Table legibility for the dark gym theme (T-0179 preview only until approved). */
[data-theme=gym] .prose-custom table,
[data-theme=gym] .prose-custom .table-wrap table,
[data-theme=gym] .table-board table {
  font-size: 1.0625rem;
  line-height: 1.5;
  font-weight: 500;
  color: #f3f4f6;
}
[data-theme=gym] .prose-custom th,
[data-theme=gym] .prose-custom .table-wrap th,
[data-theme=gym] .table-board th {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff7ed;
  background: #1c1917;
  border-color: #44403c;
}
[data-theme=gym] .prose-custom td,
[data-theme=gym] .prose-custom .table-wrap td,
[data-theme=gym] .table-board td {
  font-size: 1.0625rem;
  font-weight: 500;
  color: #f3f4f6;
  border-color: #44403c;
}
[data-theme=gym] .prose-custom tbody tr:nth-child(odd) td,
[data-theme=gym] .table-board tbody tr:nth-child(odd) td {
  background: #171717;
  color: #f3f4f6;
}
[data-theme=gym] .prose-custom tbody tr:nth-child(even) td,
[data-theme=gym] .table-board tbody tr:nth-child(even) td {
  background: #2a2a2a;
  color: #f3f4f6;
}
[data-theme=gym] .prose-custom tbody tr:hover td,
[data-theme=gym] .table-board tbody tr:hover td {
  background: #3f3f46;
  color: #fff7ed;
}
[data-theme=gym] .prose-custom .table-wrap,
[data-theme=gym] .table-board,
[data-theme=gym] .table-wrap.table-wide {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
[data-theme=gym] .prose-custom .table-wrap.table-stack td:before {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fb923c;
}
[data-theme=gym] .prose-custom .table-wrap.table-stack td:first-child {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff7ed;
}
[data-theme=gym] .prose-custom .table-wrap.table-stack tbody tr {
  background: #171717;
  color: #f3f4f6;
  border: 1px solid #44403c;
}
[data-theme=gym] .prose-custom .table-wrap.table-stack tbody tr:nth-child(even) {
  background: #2a2a2a;
}
