h6 {
  color: #9caaa5;
  text-align: center;
  margin-bottom: 5px;
}

.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.right_header {
  display: flex;
  justify-content: flex-end;
  flex-flow: wrap;
}

.row-inline {
  display: flex;
  flex-direction: row;
}

/* Toolbar: filter chip + sort controls */
.vbets-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0 0.75rem;
  border-bottom: 1px solid rgba(156, 170, 165, 0.14);
  margin-bottom: 0.75rem;
}

.betting-mode-tabs {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  border: 1px solid rgba(156, 170, 165, 0.16);
}

.betting-mode-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  color: #9caaa5;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
}

a.betting-mode-tab:hover {
  color: #e8eeeb;
  text-decoration: none;
}

.betting-mode-tab.is-active {
  background: #50c878;
  color: #0d1410;
}

.vbets-toolbar-filters,
.vbets-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.filter-chip,
.filter-chip-select {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background-color: rgba(80, 200, 120, 0.12);
  border: 1px solid rgba(80, 200, 120, 0.45);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.4;
}

.filter-chip-public {
  background-color: rgba(156, 170, 165, 0.12);
  border-color: rgba(156, 170, 165, 0.35);
}

.filter-switch-form {
  display: inline-flex;
  margin: 0;
}

.filter-chip-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  max-width: 220px;
  padding-right: 1.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239caaa5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 10px 6px;
}

.filter-chip-select:focus {
  outline: none;
  border-color: #50c878;
  box-shadow: 0 0 0 0.12rem rgba(80, 200, 120, 0.2);
}

.filter-chip-select option {
  background-color: #1a212a;
  color: #9caaa5;
}

.toolbar-label,
.public-feed-note {
  color: #9caaa5;
  font-size: 0.85rem;
}

.public-feed-note a {
  color: #50c878;
}

.announcement-compact {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.vbets-page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.35rem;
}

.vbets-refresh-status {
  margin: 0;
  color: #9caaa5;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.vbets-refresh-status.is-fetching {
  color: #50c878;
}

.vbets-refresh-status.is-error {
  color: #e57373;
}

.vbets-bg-alerts {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.vbets-bg-alerts-btn {
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  line-height: 1.3;
}

.vbets-bg-alerts-status {
  color: #9caaa5;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}

.vbets-bg-alerts-status.is-denied {
  color: #e57373;
}

.vbets-devtools {
  margin: 0 0 0.75rem;
  color: #9caaa5;
  font-size: 0.8rem;
}

.vbets-devtools summary {
  cursor: pointer;
  color: #9caaa5;
  list-style: none;
}

.vbets-devtools summary::-webkit-details-marker {
  display: none;
}

.vbets-devtools summary::before {
  content: '▸ ';
  color: #50c878;
}

.vbets-devtools[open] summary::before {
  content: '▾ ';
}

.vbets-devtools-block {
  margin-top: 0.5rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(156, 170, 165, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
}

.vbets-devtools-block h6 {
  margin: 0.35rem 0;
  text-align: left;
  color: #fff;
  font-size: 0.85rem;
}

.vbets-confirm-modal {
  background: #1a212a;
  color: #9caaa5;
  border: 1px solid rgba(156, 170, 165, 0.2);
}

.vbets-confirm-modal .modal-header,
.vbets-confirm-modal .modal-footer {
  border-color: rgba(156, 170, 165, 0.14);
}

.vbets-confirm-modal .modal-title {
  color: #fff;
}

.meta-line {
  margin-left: 1.25rem;
  margin-bottom: 0.25rem;
}

/* Desktop table vs mobile cards — do not rely only on Bootstrap utilities */
.vbets-desktop-only {
  display: none !important;
}

.vbets-mobile-only {
  display: flex;
}

@media (min-width: 992px) {
  .vbets-desktop-only {
    display: block !important;
  }

  form.vbets-desktop-only {
    display: none !important;
  }

  .vbets-mobile-only {
    display: none !important;
  }
}

.vbets-table-wrapper {
  overflow-x: auto;
  border: 1px solid rgba(156, 170, 165, 0.14);
  border-radius: 10px;
  background: rgba(8, 12, 16, 0.35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02) inset;
}

.vbets-table {
  table-layout: auto;
  width: 100%;
  margin-bottom: 0;
  border-color: transparent;
  border-collapse: separate;
  border-spacing: 0;
}

.vbets-table .vbet-col-book { width: 12%; min-width: 6.5rem; }
.vbets-table .vbet-col-league { width: 11%; min-width: 6rem; }
.vbets-table .vbet-col-teams { width: 20%; min-width: 8rem; }
.vbets-table .vbet-col-market { width: 14%; min-width: 6.5rem; }
.vbets-table .vbet-col-ev { width: 36%; min-width: 20rem; }
.vbets-table .vbet-col-actions { width: 11%; min-width: 7.5rem; }

/* Public feed has no actions/sharps grid — keep EV compact */
.vbets-table:not(:has(.vbet-col-actions)) .vbet-col-book { width: 18%; }
.vbets-table:not(:has(.vbet-col-actions)) .vbet-col-league { width: 20%; }
.vbets-table:not(:has(.vbet-col-actions)) .vbet-col-teams { width: 28%; }
.vbets-table:not(:has(.vbet-col-actions)) .vbet-col-market { width: 22%; }
.vbets-table:not(:has(.vbet-col-actions)) .vbet-col-ev {
  width: 12%;
  min-width: 4.5rem;
}

.vbets-table thead th {
  color: #9caaa5;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(156, 170, 165, 0.16);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.7rem 0.65rem;
  white-space: nowrap;
}

.vbets-table td,
.vbets-table th {
  vertical-align: top;
  padding: 0.8rem 0.65rem;
  border-top: 0;
  border-bottom: 1px solid rgba(156, 170, 165, 0.08);
}

.vbets-table.table-striped > tbody > tr.vbet-row > td {
  background-color: transparent;
  transition: background-color 0.12s ease;
}

.vbets-table.table-striped > tbody > tr.vbet-row:nth-child(even) > td {
  background-color: rgba(255, 255, 255, 0.018);
}

.vbets-table tbody tr.vbet-row:last-child > td {
  border-bottom: 0;
}

.vbets-table.table-striped > tbody > tr.vbet-row:hover > td {
  background-color: rgba(255, 255, 255, 0.045) !important;
}

.vbets-table.table-striped > tbody > tr.vbet-row.is-pause.is-break-sets > td {
  background-color: rgba(80, 200, 120, 0.10) !important;
}

.vbets-table.table-striped > tbody > tr.vbet-row.is-pause.is-break-sets:hover > td {
  background-color: rgba(80, 200, 120, 0.15) !important;
}

.vbets-table.table-striped > tbody > tr.vbet-row.is-pause.is-break-sets > td:first-child,
.vbets-table.table-striped > tbody > tr.vbet-row.is-pause.is-break-sets:hover > td:first-child {
  box-shadow: inset 3px 0 0 #50c878;
}

.vbets-table.table-striped > tbody > tr.vbet-row.is-pause.is-break-games > td {
  background-color: rgba(56, 189, 248, 0.12) !important;
}

.vbets-table.table-striped > tbody > tr.vbet-row.is-pause.is-break-games:hover > td {
  background-color: rgba(56, 189, 248, 0.17) !important;
}

.vbets-table.table-striped > tbody > tr.vbet-row.is-pause.is-break-games > td:first-child,
.vbets-table.table-striped > tbody > tr.vbet-row.is-pause.is-break-games:hover > td:first-child {
  box-shadow: inset 3px 0 0 #38bdf8;
}

.vbets-table.table-striped > tbody > tr.vbet-row.is-tracked > td {
  background-color: rgba(245, 158, 11, 0.10) !important;
}

.vbets-table.table-striped > tbody > tr.vbet-row.is-tracked:hover > td {
  background-color: rgba(245, 158, 11, 0.15) !important;
}

.vbets-table.table-striped > tbody > tr.vbet-row.is-tracked > td:first-child,
.vbets-table.table-striped > tbody > tr.vbet-row.is-tracked:hover > td:first-child {
  box-shadow: inset 3px 0 0 #f59e0b;
}

.vbets-table.table-striped > tbody > tr.vbet-pause-heading > td,
.vbets-cards > .vbet-pause-heading {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.75rem;
  border: 0;
}

.vbets-table.table-striped > tbody > tr.vbet-pause-heading.is-break-sets > td,
.vbets-cards > .vbet-pause-heading.is-break-sets {
  background: #50c878;
  color: #0d1410;
}

.vbets-table.table-striped > tbody > tr.vbet-pause-heading.is-break-games > td,
.vbets-cards > .vbet-pause-heading.is-break-games {
  background: #38bdf8;
  color: #0b1a24;
}

.vbets-table.table-striped > tbody > tr.vbet-pause-heading.is-in-play > td,
.vbets-cards > .vbet-pause-heading.is-in-play {
  background: #243040;
  color: #e8eeeb;
}

.vbets-table.table-striped > tbody > tr.vbet-pause-heading.is-unknown > td,
.vbets-cards > .vbet-pause-heading.is-unknown {
  background: #e0a100;
  color: #1a1400;
}

.vbet-pause-badge {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.08rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vbet-pause-badge.is-break-sets {
  background: #50c878;
  color: #0d1410;
}

.vbet-pause-badge.is-break-games {
  background: #38bdf8;
  color: #0b1a24;
}

.vbet-pause-badge.is-in-play {
  background: #243040;
  color: #e8eeeb;
  border: 1px solid rgba(232, 238, 235, 0.35);
}

.vbet-pause-badge.is-unknown {
  background: #e0a100;
  color: #1a1400;
}

.vbet-card.is-pause.is-break-sets {
  border-color: rgba(80, 200, 120, 0.7);
  box-shadow: inset 3px 0 0 #50c878;
}

.vbet-card.is-pause.is-break-games {
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: inset 3px 0 0 #38bdf8;
}

.vbet-card.is-tracked {
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: inset 3px 0 0 #f59e0b;
  background-color: rgba(245, 158, 11, 0.08);
}

.vbet-card-header .vbet-pause-badge {
  margin-top: 0;
}

.vbet-primary {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.vbet-col-book .vbet-primary {
  font-size: 0.9rem;
  font-weight: 700;
}

.vbet-primary--muted {
  color: #c5d0cc;
  font-weight: 500;
}

.vbet-secondary {
  margin-top: 0.18rem;
  color: #9caaa5;
  font-size: 0.76rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.vbet-kickoff-line {
  margin-top: 0.22rem;
  color: #8a9893;
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  white-space: normal;
}

.vbet-odd {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 5px;
  background: rgba(80, 200, 120, 0.1);
  border: 1px solid rgba(80, 200, 120, 0.28);
  color: #50c878;
  font-size: 0.88rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.vbet-feed-warning {
  margin-top: 0.25rem;
  color: #c9a227;
  font-size: 0.75rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.vbet-match {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  color: #fff;
  line-height: 1.3;
}

.vbet-team {
  max-width: 100%;
  font-size: 0.9rem;
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.vbet-ev {
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.3rem;
}

.vbet-ev.is-positive {
  color: #50c878;
}

.vbet-evs,
.vbet-ref-lines {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin-bottom: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.vbet-ref-grid {
  display: grid;
  grid-template-columns:
    max-content
    minmax(2.6rem, auto)
    minmax(2.8rem, auto)
    minmax(2.8rem, auto)
    max-content;
  column-gap: 0.65rem;
  row-gap: 0.28rem;
  align-items: center;
  width: max-content;
  max-width: 100%;
  font-variant-numeric: tabular-nums;
}

.vbet-ref-grid-head,
.vbet-ref-grid-row {
  display: contents;
}

.vbet-ref-corner {
  min-height: 0.9rem;
}

.vbet-ref-col-title,
.vbet-ref-row-title {
  color: #9caaa5;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.vbet-ref-col-title {
  text-align: right;
}

.vbet-ref-row-title {
  padding-right: 0.15rem;
  text-align: left;
  color: #b7c4bf;
}

.vbet-ref-odd,
.vbet-ref-liq,
.vbet-ev-pct,
.vbet-ref-stake {
  text-align: right;
  white-space: nowrap;
  line-height: 1.25;
}

.vbet-ref-stake {
  justify-self: end;
}

.vbet-ref-odd,
.vbet-ref-liq,
.vbet-ref-stake {
  color: #9caaa5;
  font-size: 0.78rem;
  font-weight: 500;
}

.vbet-ev-pct {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.vbet-ref-grid-row.is-positive .vbet-ev-pct {
  color: #50c878;
}

.vbet-ev-line {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  white-space: nowrap;
}

.vbet-ev-line.is-positive {
  color: #50c878;
}

.vbet-ev-line.is-positive .ev-ref-badge {
  color: #9caaa5;
}

.ev-ref-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 0.1rem 0.4rem;
  border: 1px solid rgba(156, 170, 165, 0.35);
  border-radius: 999px;
  color: #9caaa5;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

input.vbet-cell {
  border: none;
  width: 100%;
  color: white;
  background-color: transparent;
  padding: 0.1rem 0;
  line-height: 1.35;
}

input.vbet-cell[readonly] {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  height: auto;
  min-height: 1.35em;
  cursor: default;
}

input.vbet-cell.bold,
.bold {
  font-weight: bold;
  color: white;
}

input.vbet-cell.muted {
  color: #9caaa5 !important;
}

.vbet-kickoff {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 0.15rem;
}

.vbet-kickoff .vbet-cell {
  font-size: 0.82rem;
}

.vbet-stake {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  flex: 0 0 auto;
  margin: 0;
  padding: 0.12rem 0.4rem;
  border: 1px solid rgba(156, 170, 165, 0.28);
  border-radius: 0.35rem;
  background: rgba(8, 14, 12, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  vertical-align: middle;
}

.vbet-stake:focus-within {
  border-color: rgba(80, 200, 120, 0.55);
  box-shadow: 0 0 0 2px rgba(80, 200, 120, 0.15);
}

.vbet-stake-prefix {
  color: #9caaa5;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  user-select: none;
}

.vbet-stake-input {
  width: 3.25rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  box-shadow: none;
}

.vbet-stake-input:focus {
  outline: none;
  box-shadow: none;
}

.vbet-stake-input::placeholder {
  color: rgba(156, 170, 165, 0.55);
  font-weight: 500;
}

.vbet-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  justify-content: flex-end;
}

.vbet-actions .vbet-stake {
  margin-right: 0.1rem;
}

.vbet-actions .vbet-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  min-height: 1.85rem;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(156, 170, 165, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: #9caaa5;
  line-height: 1;
  box-shadow: none;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.vbet-actions .vbet-action-btn:hover,
.vbet-actions .vbet-action-btn:focus {
  outline: none;
  box-shadow: none;
}

.vbet-actions .vbet-action-add {
  color: #50c878;
  border-color: rgba(80, 200, 120, 0.28);
}

.vbet-actions .vbet-action-add:hover,
.vbet-actions .vbet-action-add:focus {
  color: #fff;
  background: #50c878;
  border-color: #50c878;
}

.vbet-actions .vbet-action-delete {
  color: #e57373;
  border-color: rgba(229, 115, 115, 0.3);
}

.vbet-actions .vbet-action-delete:hover,
.vbet-actions .vbet-action-delete:focus {
  color: #fff;
  background: #e57373;
  border-color: #e57373;
}

.vbet-actions .vbet-action-report {
  color: #e0a100;
  border-color: rgba(224, 161, 0, 0.35);
}

.vbet-actions .vbet-action-report:hover,
.vbet-actions .vbet-action-report:focus {
  color: #fff;
  background: #e0a100;
  border-color: #e0a100;
}

.vbet-actions .vbet-action-mute:hover,
.vbet-actions .vbet-action-mute:focus,
.vbet-actions .vbet-action-unmute:hover,
.vbet-actions .vbet-action-unmute:focus {
  color: #fff;
  background: rgba(80, 200, 120, 0.14);
  border-color: rgba(80, 200, 120, 0.4);
}

/* Mobile card layout */
.vbets-cards {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.vbet-card {
  background: rgba(8, 12, 16, 0.35);
  border: 1px solid rgba(156, 170, 165, 0.16);
  border-radius: 10px;
  padding: 0.9rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02) inset;
  transition: border-color 0.14s ease, background-color 0.14s ease;
}

.vbet-card:hover {
  border-color: rgba(80, 200, 120, 0.28);
  background: rgba(80, 200, 120, 0.04);
}

.vbet-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.vbet-card-book {
  font-weight: 700;
  letter-spacing: 0.01em;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vbet-card-ev {
  flex: 0 0 auto;
  font-weight: 700;
  color: #fff;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.vbet-card-ev.is-positive {
  color: #50c878;
}

.vbet-card-ev .vbet-ref-lines,
.vbet-card-ev .vbet-evs {
  align-items: flex-end;
  margin-bottom: 0;
}

.vbet-card-ev .vbet-ref-grid {
  justify-items: stretch;
  margin-left: auto;
}

.vbet-card-ev .vbet-ev-line {
  justify-content: flex-end;
}

.vbet-card-kickoff {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4rem;
  color: #9caaa5;
  font-size: 0.85rem;
}

.vbet-card-sport {
  margin-left: auto;
  text-align: right;
  max-width: 40%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vbet-card-teams {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  width: 100%;
  line-height: 1.3;
}

.vbet-card-team {
  max-width: 100%;
  font-size: 0.95rem;
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.vbet-card-league {
  color: #9caaa5;
  font-size: 0.85rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vbet-card-market {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  color: #9caaa5;
  font-size: 0.88rem;
}

.vbet-card-market .vbet-odd {
  margin-top: 0;
}

.vbet-card-odd-label {
  color: #9caaa5;
  font-size: 0.85rem;
}

.vbet-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(156, 170, 165, 0.12);
}

.vbet-card-footer .vbet-actions {
  flex: 1 1 auto;
  justify-content: flex-end;
}

/* Calculators / tools panel */
.tools-panel {
  background: #1a212a;
  border: 1px solid rgba(156, 170, 165, 0.18);
  border-radius: 10px;
  overflow: hidden;
}

.tools-panel-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: transparent;
  border: 0;
  color: #fff;
  font-weight: 600;
  text-align: left;
}

.tools-panel-toggle:hover,
.tools-panel-toggle:focus {
  color: #fff;
  background: rgba(80, 200, 120, 0.06);
  outline: none;
}

.tools-panel-chevron {
  color: #9caaa5;
  font-size: 0.85rem;
}

.tools-panel-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 0.85rem 0.95rem;
}

.calc-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(156, 170, 165, 0.14);
  border-radius: 8px;
  padding: 0.85rem;
}

.calc-card-header {
  margin-bottom: 0.75rem;
}

.calc-card-title {
  margin: 0 0 0.25rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
}

.calc-card-hint {
  margin: 0;
  color: #9caaa5;
  font-size: 0.78rem;
  line-height: 1.35;
}

.calc-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.calc-field-grid {
  display: grid;
  gap: 0.5rem;
}

.calc-field-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calc-field-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
}

.calc-field-label {
  color: #9caaa5;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.calc-input.form-control {
  padding: 0.45rem 0.55rem;
  min-height: 38px;
  background-color: #2c323a;
  border-color: rgba(156, 170, 165, 0.28);
  color: #fff;
}

.calc-input.form-control:focus {
  background-color: #2c323a;
  border-color: #50c878;
  color: #fff;
  box-shadow: 0 0 0 0.12rem rgba(80, 200, 120, 0.18);
}

.calc-results-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.65rem 0.7rem;
  border-radius: 6px;
  background: rgba(80, 200, 120, 0.05);
  border: 1px solid rgba(80, 200, 120, 0.12);
}

.calc-results-label {
  color: #9caaa5;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.calc-output {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.35rem 0.4rem;
  border-radius: 5px;
  background: #1a212a;
  border: 1px solid rgba(156, 170, 165, 0.14);
  color: #9caaa5;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}

.calc-output.is-filled {
  color: #fff;
  border-color: rgba(80, 200, 120, 0.28);
}

.calc-result-hero {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.calc-output--hero {
  justify-content: flex-start;
  flex: 1 1 auto;
  font-size: 1.35rem;
  font-weight: 700;
  min-height: 44px;
  padding-left: 0.7rem;
}

.calc-result-hero.is-positive .calc-output--hero {
  color: #50c878;
  border-color: rgba(80, 200, 120, 0.35);
}

.calc-result-hero.is-negative .calc-output--hero {
  color: #e57373;
  border-color: rgba(229, 115, 115, 0.35);
}

.calc-unit {
  color: #9caaa5;
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .vbets-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .vbets-toolbar-filters,
  .vbets-toolbar-actions {
    width: 100%;
  }

  .filter-chip-select {
    max-width: 100%;
    width: 100%;
  }

  .calc-field-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .calc-field-grid--3 {
    grid-template-columns: 1fr;
  }
}
