/* ===============================================
   POLISH - HOME
   A light retouch loaded AFTER Home.css. Looks only: no sizes of the boards
   or the page frame change. To go back to the old look, remove this one <link>.
   =============================================== */

/* Both boards: a darker glass face, a thin green top line, soft corners. */
.betboard,
.totalboard {
  background: linear-gradient(180deg, #0b0b0b, #050505);
  border: 1px solid rgba(205, 205, 205, 0.1);
  border-top: 1px solid rgba(0, 255, 146, 0.4);
  border-radius: 4px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.7), 0 0 14px rgba(0, 255, 146, 0.06);
}

.betboard::after,
.totalboard::after {
  border-radius: 4px;
}

/* Title rows: a crimson band that fades to the right. */
.betboard-row.row-title,
.totalboard-cell.cell-title {
  background: linear-gradient(90deg, rgba(110, 0, 44, 0.7), rgba(61, 0, 24, 0.4));
  color: #e2e2e2;
  border-radius: 2px;
}

.betboard-row.row-title {
  letter-spacing: 0.03em;
}

.totalboard-cell.cell-title {
  letter-spacing: 0.05em;
}

/* Data rows: a brushed silver bar instead of flat grey. */
.betboard-row.row-data,
.totalboard-cell.cell-data {
  background: linear-gradient(180deg, #e6e6e6, #b8b8b8);
  border-radius: 2px;
}

.totalboard-cell.cell-data {
  font-size: 11px;
}

/* A small tag on the top edge of each board: "LIVE" with a blinking dot on
   the bets board, "SITE STATS" on the totals board. */
.betboard::before,
.totalboard::before {
  position: absolute;
  top: -8px;
  right: 12px;
  z-index: 2;
  padding: 2px 8px;
  border-radius: 3px;
  background: #060606;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
}

.betboard::before {
  content: 'LIVE';
  padding-left: 18px;
  border: 1px solid rgba(0, 255, 146, 0.45);
  color: #00ff92;
  background:
    radial-gradient(circle at 9px 50%, #00ff92 0 2.5px, rgba(0, 255, 146, 0.35) 3px, transparent 5px) no-repeat,
    #060606;
  animation: kd-live-dot 2.4s ease-in-out infinite;
}

.totalboard::before {
  content: 'SITE STATS';
  border: 1px solid rgba(205, 205, 205, 0.22);
  color: rgba(215, 215, 215, 0.75);
}

@keyframes kd-live-dot {
  0%, 100% { border-color: rgba(0, 255, 146, 0.45); }
  50% { border-color: rgba(0, 255, 146, 0.15); }
}

@media (prefers-reduced-motion: reduce) {
  .betboard::before {
    animation: none;
  }
}

@media (max-width: 768px) {
  .totalboard-cell.cell-data {
    font-size: 10px;
  }
}
