/* Main pool contests — matches hobc-stats-overload visual language */

.hobc-contests-jump {
  align-items: center;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(246, 185, 40, 0.16), transparent 55%),
    linear-gradient(135deg, rgba(23, 29, 34, 0.98), rgba(9, 12, 14, 0.98));
  border: 1px solid rgba(246, 185, 40, 0.28);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  color: var(--hobc-stats-text, #f7f5ed);
  display: grid;
  gap: 0.75rem 1rem;
  grid-template-columns: auto 1fr auto;
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hobc-contests-jump:hover,
.hobc-contests-jump:focus-visible {
  border-color: rgba(255, 215, 100, 0.55);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(246, 185, 40, 0.12);
  transform: translateY(-1px);
}

.hobc-contests-jump-badge {
  align-self: start;
  background: rgba(32, 209, 160, 0.14);
  border: 1px solid rgba(32, 209, 160, 0.34);
  border-radius: 999px;
  color: #b8ffe9;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.55rem;
  text-transform: uppercase;
}

.hobc-contests-jump-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.hobc-contests-jump-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.2;
}

.hobc-contests-jump-lead {
  color: var(--hobc-stats-muted, #b9b5a6);
  font-size: 0.88rem;
  line-height: 1.4;
}

.hobc-contests-jump-cta {
  align-self: center;
  background: linear-gradient(180deg, var(--hobc-stats-gold-2, #ffd764), #b77906);
  border-radius: 999px;
  color: #110d05;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 0.55rem 0.85rem;
  white-space: nowrap;
}

.hobc-contests-card {
  background: linear-gradient(180deg, rgba(16, 20, 23, 0.98), rgba(6, 7, 8, 0.98));
  border: 1px solid rgba(246, 185, 40, 0.26);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(246, 185, 40, 0.035);
  color: var(--hobc-stats-text, #f7f5ed);
  margin-top: 1.25rem;
  padding: 1rem 1rem 1.1rem;
  scroll-margin-top: 5.5rem;
}

.hobc-contests-hero-row {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.hobc-contests-eyebrow {
  color: var(--hobc-stats-gold-2, #ffd764);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.hobc-contests-title {
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 850;
  line-height: 1.08;
  margin: 0;
}

.hobc-contests-subtitle {
  color: var(--hobc-stats-muted, #b9b5a6);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0.35rem 0 0;
  max-width: 52rem;
}

.hobc-contests-live-pill {
  align-items: center;
  background: rgba(246, 185, 40, 0.12);
  border: 1px solid rgba(246, 185, 40, 0.28);
  border-radius: 999px;
  color: var(--hobc-stats-gold-2, #ffd764);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 850;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
}

.hobc-contests-live-dot {
  background: var(--hobc-stats-green, #20d1a0);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(32, 209, 160, 0.75);
  height: 0.55rem;
  width: 0.55rem;
}

.hobc-contests-jackpot-panel {
  background: rgba(246, 185, 40, 0.05);
  border: 1px solid rgba(246, 185, 40, 0.16);
  border-radius: 16px;
  padding: 0.85rem 0.9rem 0.95rem;
}

.hobc-contests-section-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 850;
  margin: 0 0 0.65rem;
}

.hobc-contests-kpis {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hobc-contests-kpi {
  background: linear-gradient(180deg, rgba(23, 29, 34, 0.96), rgba(9, 12, 14, 0.96));
  border: 1px solid rgba(246, 185, 40, 0.16);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  min-height: 5.5rem;
  min-width: 0;
  padding: 0.75rem 0.85rem;
}

.hobc-contests-kpi.highlight {
  border-color: rgba(255, 215, 100, 0.38);
  box-shadow: inset 0 0 0 1px rgba(246, 185, 40, 0.08), 0 0 24px rgba(246, 185, 40, 0.08);
}

.hobc-contests-kpi.wide {
  grid-column: 1 / -1;
}

.hobc-contests-kpi.hobc-contests-last-winner {
  background: linear-gradient(135deg, rgba(246, 185, 40, 0.12), rgba(23, 29, 34, 0.96) 42%, rgba(9, 12, 14, 0.98));
  border-color: rgba(246, 185, 40, 0.32);
  box-shadow: inset 0 0 0 1px rgba(246, 185, 40, 0.06), 0 0 28px rgba(246, 185, 40, 0.06);
}

.hobc-contests-last-winner-body {
  margin-top: 0.45rem;
  min-width: 0;
}

.hobc-contests-last-winner-body.has-winner {
  display: grid;
  gap: 0.45rem;
}

.hobc-contests-last-winner-empty {
  color: var(--hobc-stats-muted, #b9b5a6);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
  margin: 0;
}

.hobc-contests-last-winner-main {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  justify-content: space-between;
}

.hobc-contests-last-winner-worker {
  color: #fff;
  flex: 1 1 12rem;
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  font-weight: 800;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: anywhere;
}

.hobc-contests-last-winner-prize {
  align-items: center;
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}

.hobc-contests-last-winner-amount {
  color: #7ddea8;
  font-size: clamp(0.95rem, 1.1vw, 1.12rem);
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 900;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hobc-contests-last-winner-tx {
  background: rgba(246, 185, 40, 0.12);
  border: 1px solid rgba(246, 185, 40, 0.42);
  border-radius: 999px;
  color: var(--hobc-stats-gold-2, #ffd764);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 0.42rem 0.7rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.hobc-contests-last-winner-tx:hover,
.hobc-contests-last-winner-tx:focus-visible {
  background: rgba(246, 185, 40, 0.22);
  border-color: rgba(255, 215, 100, 0.7);
  color: #fff;
  outline: none;
}

.hobc-contests-last-winner-when {
  color: var(--hobc-stats-muted, #b9b5a6);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Beat global `button` pill styles from hobc.css */
button.hobc-contests-kpi.hobc-contests-kpi-button {
  align-items: stretch;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(180deg, rgba(23, 29, 34, 0.96), rgba(9, 12, 14, 0.96));
  border: 1px solid rgba(246, 185, 40, 0.28);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font: inherit;
  gap: 0;
  justify-content: flex-start;
  margin: 0;
  min-height: 5.5rem;
  padding: 0.75rem 0.85rem;
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  width: 100%;
}

button.hobc-contests-kpi.hobc-contests-kpi-button:hover,
button.hobc-contests-kpi.hobc-contests-kpi-button:focus-visible {
  background: linear-gradient(180deg, rgba(30, 36, 42, 0.98), rgba(12, 15, 18, 0.98));
  border-color: rgba(255, 215, 100, 0.55);
  box-shadow: inset 0 0 0 1px rgba(246, 185, 40, 0.1), 0 0 20px rgba(246, 185, 40, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.hobc-contests-kpi-main {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  justify-content: space-between;
  margin-top: 0.35rem;
}

.hobc-contests-kpi-button .hobc-contests-value {
  margin-top: 0;
  white-space: nowrap;
}

.hobc-contests-kpi-hint {
  color: var(--hobc-stats-gold-2, #ffd764);
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

body.hobc-contests-modal-open {
  overflow: hidden;
}

.hobc-contests-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.76);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 80;
}

.hobc-contests-modal.is-open {
  display: flex;
}

.hobc-contests-modal-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    #0b0f12;
  border: 1px solid rgba(246, 185, 40, 0.34);
  border-radius: 1.1rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.62);
  display: flex;
  flex-direction: column;
  max-height: min(85vh, 40rem);
  max-width: 36rem;
  overflow: hidden;
  padding: 1.1rem 1.15rem 1.15rem;
  width: min(100%, 36rem);
}

.hobc-contests-modal-head {
  align-items: flex-start;
  display: flex;
  gap: 0.85rem;
  justify-content: space-between;
}

.hobc-contests-modal-title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 850;
  line-height: 1.2;
  margin: 0;
}

.hobc-contests-modal-sub {
  color: var(--hobc-stats-muted, #b9b5a6);
  font-size: 0.86rem;
  margin: 0.3rem 0 0;
}

button.hobc-contests-modal-close {
  align-items: center;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(246, 185, 40, 0.28);
  border-radius: 999px;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.35rem;
  font-weight: 700;
  gap: 0;
  height: 2.1rem;
  justify-content: center;
  line-height: 1;
  margin: 0;
  padding: 0;
  width: 2.1rem;
}

button.hobc-contests-modal-close:hover,
button.hobc-contests-modal-close:focus-visible {
  background: rgba(246, 185, 40, 0.14);
  outline: none;
}

.hobc-contests-modal-meta {
  color: var(--hobc-stats-muted, #b9b5a6);
  font-size: 0.86rem;
  margin: 0.85rem 0 0.65rem;
}

.hobc-contests-eligible-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  max-height: min(52vh, 24rem);
  overflow: auto;
  padding: 0;
}

.hobc-contests-eligible-item {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(246, 185, 40, 0.12);
  border-radius: 10px;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 2.2rem 1fr;
  padding: 0.55rem 0.7rem;
}

.hobc-contests-eligible-rank {
  color: var(--hobc-stats-gold-2, #ffd764);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  text-align: center;
}

.hobc-contests-eligible-worker {
  color: #fff;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.hobc-contests-eligible-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: space-between;
  margin-top: 0.85rem;
}

.hobc-contests-eligible-pagination button {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(246, 185, 40, 0.35);
  border-radius: 999px;
  box-shadow: none;
  color: var(--hobc-stats-text, #f7f5ed);
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  gap: 0.35rem;
  justify-content: center;
  padding: 0.45rem 0.9rem;
}

.hobc-contests-eligible-pagination button:hover:not(:disabled) {
  background: rgba(246, 185, 40, 0.14);
}

.hobc-contests-eligible-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.hobc-contests-eligible-page {
  color: var(--hobc-stats-gold-2, #ffd764);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.hobc-contests-label {
  color: var(--hobc-stats-muted, #b9b5a6);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hobc-contests-value {
  color: #fff;
  font-size: clamp(0.95rem, 1.2vw, 1.25rem);
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 900;
  line-height: 1.2;
  margin-top: 0.35rem;
  overflow-wrap: normal;
  word-break: normal;
}

.hobc-contests-kpi .hobc-contests-mono {
  font-size: clamp(0.88rem, 1.05vw, 1.1rem);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hobc-contests-value-sm {
  font-size: 0.92rem;
  font-weight: 750;
}

.hobc-contests-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.hobc-contests-note {
  color: var(--hobc-stats-muted, #b9b5a6);
  font-size: 0.78rem;
  line-height: 1.4;
  margin: 0.65rem 0 0;
}

.hobc-contests-sep {
  background: rgba(246, 185, 40, 0.26);
  height: 1px;
  margin: 1rem 0 0.85rem;
}

.hobc-contests-meta-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 0.65rem;
}

.hobc-contests-meta-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(246, 185, 40, 0.12);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.65rem 0.75rem;
}

.hobc-contests-meta-item strong {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hobc-contests-boards {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 0.85rem;
}

.hobc-contests-board {
  background: linear-gradient(180deg, rgba(23, 29, 34, 0.96), rgba(9, 12, 14, 0.96));
  border: 1px solid rgba(246, 185, 40, 0.16);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.75rem;
}

.hobc-contests-board-head {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.hobc-contests-board-head h4 {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.25;
  margin: 0;
}

.hobc-contests-prize-pill {
  background: rgba(246, 185, 40, 0.12);
  border: 1px solid rgba(246, 185, 40, 0.24);
  border-radius: 999px;
  color: var(--hobc-stats-gold-2, #ffd764);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.55rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.hobc-contests-table-wrap {
  border: 1px solid rgba(246, 185, 40, 0.12);
  border-radius: 12px;
  max-width: 100%;
}

.hobc-contests-table {
  border-collapse: collapse;
  table-layout: auto;
  width: 100%;
}

.hobc-contests-table thead {
  background: rgba(246, 185, 40, 0.1);
}

.hobc-contests-table th,
.hobc-contests-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  padding: 0.55rem 0.5rem;
  text-align: left;
  vertical-align: top;
}

.hobc-contests-table th {
  color: var(--hobc-stats-gold-2, #ffd764);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: normal;
}

.hobc-contests-table td {
  color: var(--hobc-stats-text, #f7f5ed);
}

.hobc-contests-table th:nth-child(1),
.hobc-contests-table td:nth-child(1) {
  padding-left: 0.55rem;
  padding-right: 0.35rem;
  white-space: nowrap;
  width: 2.75rem;
}

.hobc-contests-table th:nth-child(2),
.hobc-contests-table td:nth-child(2) {
  line-height: 1.35;
  max-width: 0;
  overflow-wrap: anywhere;
  width: 100%;
  word-break: break-word;
}

.hobc-contests-table td:nth-child(2) {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
}

.hobc-contests-table th:nth-child(3),
.hobc-contests-table td:nth-child(3) {
  padding-left: 0.35rem;
  padding-right: 0.35rem;
  text-align: right;
  white-space: nowrap;
  width: 4.5rem;
}

.hobc-contests-table th:nth-child(4),
.hobc-contests-table td:nth-child(4) {
  line-height: 1.25;
  overflow-wrap: anywhere;
  padding-left: 0.35rem;
  padding-right: 0.55rem;
  white-space: normal;
  width: 5.75rem;
}

.hobc-contests-status-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  line-height: 1.15;
}

.hobc-contests-table tbody tr:hover {
  background: rgba(246, 185, 40, 0.05);
}

.hobc-contests-table tbody tr.is-leading {
  background: rgba(246, 185, 40, 0.1);
}

.hobc-contests-rank {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  height: 1.5rem;
  justify-content: center;
  min-width: 1.5rem;
}

.hobc-contests-table tr.is-leading .hobc-contests-rank {
  background: linear-gradient(180deg, var(--hobc-stats-gold-2, #ffd764), #b77906);
  border-color: transparent;
  color: #110d05;
}

.hobc-contests-status-pill {
  background: rgba(246, 185, 40, 0.14);
  border: 1px solid rgba(246, 185, 40, 0.32);
  border-radius: 999px;
  color: #ffe7a3;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.18rem 0.45rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.hobc-contests-status-note {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
  white-space: normal;
}

.hobc-contests-board-expand {
  align-items: center;
  align-self: center;
  background: rgba(246, 185, 40, 0.08);
  border: 1px solid rgba(246, 185, 40, 0.24);
  border-radius: 999px;
  color: var(--hobc-stats-gold-2, #ffd764);
  cursor: pointer;
  display: inline-flex;
  height: 1.85rem;
  justify-content: center;
  margin-top: 0.55rem;
  width: 1.85rem;
}

.hobc-contests-board-expand:hover {
  background: rgba(246, 185, 40, 0.16);
}

.hobc-contests-board-expand-icon {
  display: block;
  font-size: 0.72rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.hobc-contests-board.is-expanded .hobc-contests-board-expand-icon {
  transform: rotate(180deg);
}

.hobc-contests-board-expand[hidden] {
  display: none;
}

.hobc-contests-details {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(246, 185, 40, 0.14);
  border-radius: 14px;
  margin-top: 0.85rem;
  overflow: hidden;
}

.hobc-contests-details summary {
  cursor: pointer;
  list-style: none;
  padding: 0.8rem 0.95rem;
}

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

.hobc-contests-details summary span {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 850;
  gap: 0.55rem;
}

.hobc-contests-details summary span::before {
  color: var(--hobc-stats-gold-2, #ffd764);
  content: "▸";
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.hobc-contests-details[open] summary span::before {
  transform: rotate(90deg);
}

.hobc-contests-details-body {
  border-top: 1px solid rgba(246, 185, 40, 0.12);
  color: var(--hobc-stats-muted, #b9b5a6);
  font-size: 0.88rem;
  line-height: 1.45;
  padding: 0.75rem 0.95rem 0.95rem;
}

.hobc-contests-rules-list {
  margin: 0;
  padding-left: 1.1rem;
}

.hobc-contests-rules-list li + li {
  margin-top: 0.45rem;
}

.hobc-contests-past-winners-body {
  display: grid;
  gap: 1rem;
}

.hobc-contests-past-section + .hobc-contests-past-section {
  border-top: 1px solid rgba(246, 185, 40, 0.12);
  padding-top: 0.95rem;
}

.hobc-contests-past-section-title {
  color: var(--hobc-stats-gold-2, #ffd764);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 0.7rem;
  text-transform: uppercase;
}

.hobc-contests-past-empty {
  color: var(--hobc-stats-muted, #b9b5a6);
  font-size: 0.88rem;
  margin: 0;
}

.hobc-contests-past-week {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.8rem;
}

.hobc-contests-past-week + .hobc-contests-past-week {
  margin-top: 0.75rem;
}

.hobc-contests-past-week-head h5 {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  margin: 0 0 0.7rem;
}

.hobc-contests-winner-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hobc-contests-winner-grid-monthly {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hobc-contests-winner-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: grid;
  gap: 0.45rem;
  min-height: 100%;
  padding: 0.75rem 0.8rem 0.8rem;
}

.hobc-contests-winner-card.is-paid {
  border-color: rgba(88, 214, 141, 0.28);
  box-shadow: inset 0 1px 0 rgba(88, 214, 141, 0.12);
}

.hobc-contests-winner-card.is-rolled {
  border-color: rgba(246, 185, 40, 0.24);
  box-shadow: inset 0 1px 0 rgba(246, 185, 40, 0.1);
}

.hobc-contests-winner-card.is-jackpot {
  background: linear-gradient(180deg, rgba(246, 185, 40, 0.12), rgba(255, 255, 255, 0.02));
  border-color: rgba(246, 185, 40, 0.34);
}

.hobc-contests-winner-card.is-empty {
  opacity: 0.72;
}

.hobc-contests-winner-card-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.hobc-contests-winner-category {
  color: var(--hobc-stats-gold-2, #ffd764);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hobc-contests-winner-worker {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.hobc-contests-winner-metric {
  color: var(--hobc-stats-muted, #b9b5a6);
  font-size: 0.8rem;
}

.hobc-contests-winner-prize {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 0.45rem;
  margin-top: auto;
}

.hobc-contests-winner-tx {
  color: var(--hobc-stats-gold-2, #ffd764);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.hobc-contests-winner-tx:hover,
.hobc-contests-winner-tx:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.hobc-contests-winner-prize.is-paid {
  color: #7ddea8;
}

.hobc-contests-winner-prize.is-rolled {
  color: #ffd764;
}

.hobc-contests-winner-prize.is-empty {
  color: var(--hobc-stats-muted, #b9b5a6);
  font-weight: 600;
}

@media (max-width: 900px) {
  .hobc-contests-kpis {
    grid-template-columns: 1fr;
  }

  .hobc-contests-kpi .hobc-contests-mono {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 720px) {
  .hobc-contests-jump {
    grid-template-columns: 1fr;
  }

  .hobc-contests-jump-cta {
    justify-self: start;
  }

  .hobc-contests-boards {
    grid-template-columns: 1fr;
  }

  .hobc-contests-winner-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html:has(.hobc-contests-jump:focus) {
    scroll-behavior: smooth;
  }
}
