/* Stake Sports Bet Monitor v2 Styles - Compact Production Theme */

:root {
  --bg-main: #0b0e14;
  --bg-sidebar: #0e131d;
  --bg-card: #151c28;
  --bg-card-hover: #1c2636;
  --bg-input: #101622;
  --border-color: #232d3f;
  --border-subtle: #192231;
  --text-main: #f0f4f8;
  --text-muted: #8295a9;
  --text-dim: #4d5d73;
  --accent-cyan: #00e5ff;
  --accent-green: #00e676;
  --accent-green-bg: rgba(0, 230, 118, 0.12);
  --accent-red: #ff3366;
  --accent-red-bg: rgba(255, 51, 102, 0.12);
  --accent-blue: #3b82f6;
  --accent-blue-bg: rgba(59, 130, 246, 0.12);
  --accent-purple: #b388ff;
  --accent-yellow: #ffb300;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 12px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* APP LAYOUT */
.app-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* SIDEBAR - COMPACT FINANCIAL DESIGN */
.sidebar {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 10px 10px;
  gap: 8px;
  overflow-y: auto;
  z-index: 10;
}

.sidebar::-webkit-scrollbar {
  width: 4px;
}
.sidebar::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.sidebar-brand {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-icon {
  font-size: 20px;
  color: var(--accent-cyan);
}

.brand-text h2 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  line-height: 1.1;
}

.brand-sub {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* SIDEBAR STATUS CARD */
.sidebar-status-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-subtle);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 6px var(--accent-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(0, 230, 118, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.status-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-green);
}

.status-badge {
  font-size: 9px;
  font-weight: 700;
  background: var(--accent-green-bg);
  color: var(--accent-green);
  padding: 1px 5px;
  border-radius: 3px;
}

.status-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 10px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
}

.meta-row strong {
  color: var(--text-main);
  font-family: var(--font-mono);
}

.feed-status-badge.production {
  font-size: 9px;
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent-cyan);
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 700;
}

/* SIDEBAR SETTINGS CARD */
.sidebar-settings-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-subtle);
}

.settings-title {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-status-tg {
  font-size: 9px;
  font-weight: 700;
  background: var(--accent-green-bg);
  color: var(--accent-green);
  padding: 1px 5px;
  border-radius: 3px;
}

.settings-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.input-group label {
  font-size: 9px;
  font-weight: 600;
  color: #a0aec0;
  letter-spacing: 0.2px;
}

.input-group .form-input {
  height: 26px;
  padding: 3px 6px;
  font-size: 11px;
}

.tg-filter-section {
  border-radius: 5px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
}

.tg-filter-section.elite-section {
  background: rgba(255, 51, 102, 0.04);
  border: 1px solid rgba(255, 51, 102, 0.25);
}

.tg-filter-section.cup-section {
  background: rgba(59, 130, 246, 0.04);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.section-title {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4px;
  margin-bottom: 0;
}

.tg-filter-section.elite-section .section-title {
  color: var(--accent-red);
}

.tg-filter-section.cup-section .section-title {
  color: var(--accent-blue);
}

.tg-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 2px;
}

.save-feedback {
  font-size: 10px;
  text-align: center;
  min-height: 14px;
  font-weight: 600;
}

/* NAVIGATION TABS */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 5px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  width: 100%;
}

.nav-item:hover {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.nav-item.active {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.nav-icon {
  font-size: 14px;
}

/* BUTTONS */
.btn-primary {
  background: var(--accent-cyan);
  color: #000;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-input);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-1px);
}

.btn-icon {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* MAIN CONTENT */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background-color: var(--bg-main);
  min-width: 0;
}

/* TOPBAR */
.topbar {
  background-color: var(--bg-sidebar);
  border-bottom: 1px solid var(--border-color);
  padding: 6px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 36px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-source {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  letter-spacing: 0.4px;
}

.badge-source.mirror {
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.view-indicator {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.topbar-metrics {
  display: flex;
  gap: 14px;
  font-size: 11px;
}

.metric-item {
  display: flex;
  gap: 4px;
  align-items: center;
  color: var(--text-muted);
}

.metric-item strong {
  color: var(--text-main);
  font-family: var(--font-mono);
}

/* VIEW CONTAINERS */
#view-sport, #view-analytics {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.header-titles h1 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #fff;
  line-height: 1.2;
}

.header-titles p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.2;
}

.refresh-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auto-refresh-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-muted);
  cursor: pointer;
}

/* STAT CARDS - COMPACT FINANCIAL KPI RIBBON */
.stat-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.stat-cards-grid.analytics-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 5px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.stat-title {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-value {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-value.cyan { color: var(--accent-cyan); }
.stat-value.positive { color: var(--accent-green); }
.stat-value.neutral { color: var(--text-main); }

.stat-trend {
  font-size: 9px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-trend.positive { color: var(--accent-green); }

.val-elite { color: var(--accent-red); font-weight: 700; }
.val-cup { color: var(--accent-blue); font-weight: 700; }
.val-won { color: var(--accent-green); font-weight: 700; }
.val-lost { color: var(--accent-red); font-weight: 700; }

/* FEED FILTER BAR */
.feed-filter-bar {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 5px 8px;
}

.filter-row {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  flex-wrap: wrap;
}

.filter-control-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.filter-control-item label {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

.form-select, .form-input {
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  outline: none;
  height: 26px;
}

.form-select:focus, .form-input:focus {
  border-color: var(--accent-cyan);
}

.filter-control-item.compact { width: 66px; }
.filter-control-item.wide { width: 155px; }
.filter-control-item.search { flex: 1; min-width: 120px; }

.filter-actions {
  display: flex;
  gap: 4px;
}

.filter-actions button {
  height: 26px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
}

/* TABLE SECTION - DENSE, STICKY & SCROLLABLE */
.table-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.table-header-bar {
  padding: 6px 12px;
  border-bottom: 1px solid var(--border-color);
  background-color: #101622;
}

.table-header-bar h3, .table-header-bar h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.table-responsive {
  overflow-x: auto;
  max-height: calc(100vh - 210px);
  scrollbar-width: thin;
}

.table-responsive::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}
.table-responsive::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.bets-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

/* STICKY TABLE HEADER */
.bets-table th {
  background-color: #101622;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 2;
  user-select: none;
  white-space: nowrap;
  box-shadow: inset 0 -1px 0 var(--border-color);
}

.bets-table th.sortable {
  cursor: pointer;
}

.bets-table th.sortable:hover {
  color: var(--text-main);
}

.bets-table th.numeric, .bets-table td.numeric {
  text-align: right;
}

/* COMPACT ROWS: Target 34-42px */
.bets-table tbody tr {
  height: 36px;
  min-height: 34px;
}

.bets-table td {
  padding: 4px 8px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12px;
  line-height: 1.3;
  vertical-align: middle;
}

.bets-table tbody tr:hover {
  background-color: var(--bg-card-hover);
}

/* TABLE BADGES & STYLES */
.badge-tourn {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
}

.badge-tourn.elite {
  background: var(--accent-red-bg);
  color: var(--accent-red);
  border: 1px solid rgba(255, 51, 102, 0.3);
}

.badge-tourn.cup {
  background: var(--accent-blue-bg);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.match-name-cell {
  font-weight: 500;
  color: var(--text-main);
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-name-ellipsis {
  display: inline-block;
  max-width: 95px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.sel-name-ellipsis {
  display: inline-block;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.vs-divider {
  color: var(--text-dim);
  font-size: 10px;
  margin: 0 2px;
}

.clickable-player {
  cursor: pointer;
  color: var(--accent-cyan);
  transition: color 0.15s;
}

.clickable-player:hover {
  text-decoration: underline;
  color: #fff;
}

.badge-repeat {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 6px;
}

.badge-repeat.normal {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.badge-repeat.warning {
  background: rgba(255, 179, 0, 0.15);
  color: var(--accent-yellow);
  border: 1px solid rgba(255, 179, 0, 0.4);
  font-weight: 800;
}

.status-badge-cell {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-badge-cell.pending {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.status-badge-cell.won {
  background: var(--accent-green-bg);
  color: var(--accent-green);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.status-badge-cell.lost {
  background: var(--accent-red-bg);
  color: var(--accent-red);
  border: 1px solid rgba(255, 51, 102, 0.3);
}

.score-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  white-space: nowrap;
  display: inline-block;
}

.score-badge.completed {
  background: rgba(0, 230, 118, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.score-badge.pending {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-style: italic;
}

.score-badge.live {
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.winner-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-green);
  white-space: nowrap;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: middle;
}

.badge-pending-result {
  font-size: 9px;
  font-weight: 600;
  color: var(--accent-yellow);
  background: rgba(255, 179, 0, 0.1);
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid rgba(255, 179, 0, 0.25);
  white-space: nowrap;
}

.btn-open-stake {
  display: inline-block;
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.15s;
  white-space: nowrap;
}

.btn-open-stake:hover {
  background: var(--accent-cyan);
  color: #000;
}

/* PAGINATION FOOTER */
.pagination-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 10px;
  background-color: #101622;
  border-top: 1px solid var(--border-color);
  font-size: 11px;
  color: var(--text-muted);
  min-height: 32px;
}

.pagination-page-size-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-size-select {
  height: 24px;
  padding: 1px 4px;
  font-size: 10px;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-page {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 2px 6px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 10px;
  height: 24px;
}

.btn-page:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ATHLETE DOSSIER & ANALYTICS */
.dossier-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 10px 12px;
}

.dossier-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
}

.highlight-player {
  color: var(--accent-cyan);
  font-weight: 800;
}

.btn-action-dossier {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid var(--accent-blue);
  color: #60a5fa;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.btn-action-dossier:hover {
  background: var(--accent-blue);
  color: #fff;
}

.badge-league {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
}

.badge-league.both {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.badge-league.elite {
  background: var(--accent-red-bg);
  color: var(--accent-red);
}

.badge-league.cup {
  background: var(--accent-blue-bg);
  color: var(--accent-blue);
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(3px);
}

.modal-content {
  background: var(--bg-sidebar);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  width: 680px;
  max-width: 94vw;
  max-height: 90vh;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 6px;
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 15px;
  cursor: pointer;
}

.empty-state {
  text-align: center;
  padding: 24px !important;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 24px;
  display: block;
  margin-bottom: 4px;
}

/* RESPONSIVE OPTIMIZATIONS FOR 1366x768 AND 1920x1080 */
@media (max-width: 1440px) {
  .sidebar {
    width: 215px;
    min-width: 215px;
    max-width: 215px;
    padding: 8px 8px;
    gap: 6px;
  }
  .player-name-ellipsis {
    max-width: 80px;
  }
  .sel-name-ellipsis {
    max-width: 100px;
  }
  .match-name-cell {
    max-width: 180px;
  }
  .filter-control-item.wide {
    width: 135px;
  }
  .filter-control-item.compact {
    width: 58px;
  }
  .table-responsive {
    max-height: calc(100vh - 195px);
  }
}

@media (min-width: 1900px) {
  .sidebar {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
  }
  .player-name-ellipsis {
    max-width: 135px;
  }
  .sel-name-ellipsis {
    max-width: 150px;
  }
  .match-name-cell {
    max-width: 290px;
  }
  .table-responsive {
    max-height: calc(100vh - 220px);
  }
}

/* 2026-11-16: second player was clipped to "..." when the first name was long; let the cell wrap to a 2nd line */
.match-name-cell {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.35;
}
