.lottery-page {
  min-height: calc(100vh - 92px);
}

.lottery-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 10px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 1px var(--shadow-soft),
    0 0 18px var(--shadow-soft);
}

.lottery-tabs {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 auto;
  padding-bottom: 3px;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.winner-ticker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 34px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--accent-strong);
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 1px var(--shadow-soft),
    0 0 12px var(--shadow-soft);
}

.winner-ticker-label {
  display: grid;
  place-items: center;
  min-width: 118px;
  color: var(--accent-contrast);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.winner-ticker-track {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 12px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.winner-ticker-track span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.winner-ticker-track span.is-animating {
  animation: winnerTick .45s ease;
}

@keyframes winnerTick {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lottery-tabs button {
  flex: 0 0 auto;
  min-height: 34px;
  min-width: 136px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.lottery-tabs button.active,
.lottery-tabs button:hover,
.lottery-tabs button:focus {
  color: var(--text);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
  border-color: var(--accent);
  outline: none;
}

.lottery-filter input {
  width: 100%;
  min-height: 36px;
  color: var(--text-strong);
  background: var(--surface-active);
  border: 1px solid var(--border-soft);
  border-radius: 5px;
  padding: 0 14px;
  outline: none;
}

.lottery-filter input:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 2px var(--focus-ring);
}

.lottery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 10px;
}

.lottery-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  background:
    linear-gradient(180deg, var(--surface-active), var(--surface-strong)),
    var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 7px;
  box-shadow:
    inset 0 0 0 1px var(--shadow-soft),
    0 8px 18px var(--mobile-shadow);
}

.lottery-draw,
.lottery-date {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.lottery-draw {
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-faint);
  text-transform: uppercase;
}

.lottery-draw strong {
  color: var(--text-strong);
}

.lottery-draw small {
  flex-basis: 100%;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.1;
}

.lottery-date {
  color: var(--text-muted);
  border-color: var(--accent-strong);
}

.lottery-market {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-height: 118px;
  align-content: center;
  padding: 8px;
  text-align: center;
}

.lottery-badge {
  display: grid;
  place-items: center;
  /* width: min(132px, 72%); old value*/
  width: 64px;
  height: 64px;
  padding: 5px;
  background: var(--surface-muted);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: 0 8px 20px var(--shadow-soft);
}

.lottery-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lottery-market h2 {
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text-strong);
  font-size: 15px;
  line-height: 1.2;
  text-transform: uppercase;
}

.lottery-market span:last-child {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.lottery-result {
  display: flex;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 4px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.lottery-result span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--accent-contrast);
  background: linear-gradient(135deg, var(--text), var(--accent-soft) 54%, var(--accent));
  border: 1px solid var(--accent-strong);
  border-radius: 50%;
  box-shadow: 0 2px 8px var(--shadow-accent);
  font-size: 15px;
  font-weight: 900;
}

.lottery-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.lottery-actions button {
  min-height: 34px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lottery-actions button:first-child {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
  border-color: var(--accent);
}

.lottery-actions button:hover,
.lottery-actions button:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 2px var(--focus-ring);
  outline: none;
}

body.modal-open {
  overflow: hidden;
}

.lottery-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 18px;
}

.lottery-modal.is-open {
  display: grid;
}

.lottery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--mobile-shadow);
  backdrop-filter: blur(4px);
}

.lottery-modal-card {
  position: relative;
  z-index: 1;
  width: min(392px, 100%);
  max-height: min(760px, 94vh);
  overflow: auto;
  color: var(--text);
  background:
    linear-gradient(180deg, var(--surface-active), var(--surface-strong)),
    var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px;
  box-shadow: 0 22px 70px var(--mobile-shadow);
}

.lottery-modal-card.is-wide {
  width: min(680px, 100%);
}

.lottery-modal-close {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--text-strong);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  opacity: .82;
}

.prediction-compact {
  display: grid;
  gap: 5px;
  padding: 1px;
  border: 1px solid var(--accent-strong);
  border-radius: 7px;
  box-shadow:
    inset 0 0 0 1px var(--shadow-accent),
    0 0 14px var(--shadow-accent);
}

.prediction-date,
.prediction-time-stack,
.prediction-stat-grid span,
.prediction-stat-grid strong,
.prediction-number-section h3,
.prediction-number-section div span {
  background: var(--surface);
  border: 1px solid var(--accent-strong);
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px var(--shadow-accent);
}

.prediction-date {
  display: grid;
  place-items: center;
  min-height: 29px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.prediction-main-grid {
  display: grid;
  grid-template-columns: minmax(110px, .92fr) minmax(0, 1.88fr);
  gap: 5px;
}

.prediction-time-stack {
  display: grid;
  align-content: stretch;
  padding: 0;
  overflow: hidden;
}

.prediction-time-stack div {
  display: grid;
  align-content: center;
  min-height: 81px;
  padding: 9px 8px;
  color: var(--text-muted);
  text-align: center;
}

.prediction-time-stack div + div {
  border-top: 1px solid var(--accent-strong);
}

.prediction-time-stack span,
.prediction-time-stack strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
}

.prediction-time-stack span {
  text-transform: uppercase;
}

.prediction-time-stack strong {
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.prediction-stat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 5px;
}

.prediction-stat-grid span,
.prediction-stat-grid strong {
  display: grid;
  place-items: center;
  min-height: 28px;
  padding: 4px 6px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.prediction-stat-grid span {
  text-transform: uppercase;
}

.prediction-number-section {
  display: grid;
  gap: 5px;
}

.prediction-number-section h3 {
  display: grid;
  place-items: center;
  min-height: 28px;
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
}

.prediction-number-section div {
  display: grid;
  gap: 5px;
}

.prediction-cols-3 div {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prediction-cols-4 div {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.prediction-cols-6 div {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.prediction-number-section div span {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 28px;
  padding: 4px 5px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  overflow-wrap: anywhere;
}

.prediction-empty {
  color: var(--text-soft) !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

.prediction-empty-panel {
  padding: 18px 10px !important;
  text-align: center;
}

.history-modal {
  display: grid;
  gap: 12px;
}

.history-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 7px;
}

.history-modal-head span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.history-modal-head h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
}

.history-modal-head strong {
  color: var(--accent-contrast);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
  border: 1px solid var(--accent-strong);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.history-table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 7px;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-soft);
  font-size: 12px;
}

.history-table th,
.history-table td {
  padding: 10px;
  border-bottom: 1px solid var(--divider);
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.history-table tr:last-child td {
  border-bottom: 0;
}

.history-table th {
  color: var(--text-muted);
  background: var(--surface-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.history-table td:first-child {
  color: var(--text-strong);
  font-weight: 900;
}

.history-table td:last-child {
  text-align: right;
}

.history-table td span {
  display: inline-grid;
  place-items: center;
  min-width: 64px;
  color: var(--accent-contrast);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
  border: 1px solid var(--accent-strong);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 900;
}

.history-empty {
  padding: 18px 12px;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 7px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.mimpi-panel {
  display: grid;
  gap: 12px;
}

.mimpi-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--divider);
}

.mimpi-tabs button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.mimpi-tabs button span,
.mimpi-type-badge {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--accent-contrast);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.mimpi-tabs button.active,
.mimpi-tabs button:hover,
.mimpi-tabs button:focus {
  color: var(--text-strong);
  border-bottom-color: var(--accent);
  outline: none;
}

.mimpi-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mimpi-search {
  flex: 1 1 280px;
}

.mimpi-search input {
  width: 100%;
  min-height: 36px;
  color: var(--text-strong);
  background: var(--surface-active);
  border: 1px solid var(--border-soft);
  border-radius: 5px;
  padding: 0 14px;
  outline: none;
}

.mimpi-search input:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 2px var(--focus-ring);
}

.mimpi-pager {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.mimpi-pager button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--text-strong);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
}

.mimpi-pager button:disabled {
  cursor: default;
  opacity: .45;
}

.mimpi-status {
  padding: 18px;
  color: var(--text-soft);
  background: var(--surface-muted);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.mimpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 10px;
}

.mimpi-grid[data-type="3D"],
.mimpi-grid[data-type="4D"] {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.mimpi-card {
  display: grid;
  align-content: start;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--surface-active), var(--surface-strong)),
    var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 7px;
  box-shadow:
    inset 0 0 0 1px var(--shadow-soft),
    0 8px 18px var(--mobile-shadow);
}

.mimpi-image {
  overflow: hidden;
  background: var(--image-bg);
  border-bottom: 1px solid var(--border-soft);
}

.mimpi-image img {
  display: block;
  width: 100%;
  max-height: 210px;
  object-fit: cover;
}

.mimpi-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px 10px;
}

.mimpi-tags span {
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--accent-strong);
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px var(--shadow-accent);
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.mimpi-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 10px;
  border-top: 1px solid var(--divider);
}

.mimpi-foot strong {
  min-width: 0;
  color: var(--text-strong);
  background: var(--surface);
  border: 1px solid var(--accent-strong);
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.bbfs-panel,
.jadwal-panel {
  display: grid;
  gap: 12px;
}

.tool-head {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 7px;
}

.tool-head span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tool-head h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
}

.tool-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

.bbfs-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.bbfs-form label {
  display: grid;
  gap: 6px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.bbfs-form input,
.bbfs-form select,
.jadwal-filter input {
  width: 100%;
  min-height: 38px;
  color: var(--text-strong);
  background: var(--surface-active);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 0 14px;
  outline: none;
}

.bbfs-form input:focus,
.bbfs-form select:focus,
.jadwal-filter input:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 2px var(--focus-ring);
}

.bbfs-actions {
  display: flex;
  gap: 8px;
}

.bbfs-actions button {
  min-height: 38px;
  min-width: 88px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.bbfs-actions button:first-child {
  color: var(--accent-contrast);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
  border-color: var(--accent);
}

.bbfs-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bbfs-result-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 10px;
  background:
    linear-gradient(180deg, var(--surface-active), var(--surface-strong)),
    var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 7px;
  box-shadow:
    inset 0 0 0 1px var(--shadow-soft),
    0 8px 18px var(--mobile-shadow);
}

.bbfs-result-card h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 14px;
  text-transform: uppercase;
}

.bbfs-result-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
}

.bbfs-output {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 320px;
  overflow: auto;
  padding: 8px;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.bbfs-output span {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  min-height: 28px;
  color: var(--accent-contrast);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
  border: 1px solid var(--accent-strong);
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 900;
}

.jadwal-filter {
  display: block;
}

.jadwal-table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 7px;
}

.jadwal-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-soft);
  font-size: 12px;
}

.jadwal-table th,
.jadwal-table td {
  padding: 10px;
  border-bottom: 1px solid var(--divider);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.jadwal-table tr:last-child td {
  border-bottom: 0;
}

.jadwal-table tr.is-hidden {
  display: none;
}

.jadwal-table th {
  color: var(--text-muted);
  background: var(--surface-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.jadwal-market {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.jadwal-market img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  background: var(--surface-muted);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 3px;
}

.jadwal-market strong {
  color: var(--text-strong);
}

.jadwal-table a {
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

.jadwal-table a:hover,
.jadwal-table a:focus {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .lottery-panel {
    margin-left: -4px;
    margin-right: -4px;
    padding: 8px;
  }

  .lottery-tabs button {
    min-width: 128px;
    font-size: 11px;
  }

  .winner-ticker {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .winner-ticker-label {
    min-width: 96px;
    padding: 0 9px;
    font-size: 11px;
  }

  .winner-ticker-track {
    padding: 0 9px;
    font-size: 11px;
  }

  .lottery-grid {
    grid-template-columns: 1fr;
  }

  .lottery-market {
    min-height: 108px;
  }

  .lottery-modal {
    padding: 8px;
  }

  .lottery-modal-card {
    width: min(372px, 100%);
    max-height: 94vh;
    padding: 6px;
  }

  .prediction-main-grid {
    grid-template-columns: minmax(104px, .92fr) minmax(0, 1.88fr);
    gap: 4px;
  }

  .prediction-compact,
  .prediction-stat-grid,
  .prediction-number-section,
  .prediction-number-section div {
    gap: 4px;
  }

  .prediction-time-stack div {
    min-height: 78px;
    padding: 8px 6px;
  }

  .prediction-time-stack span,
  .prediction-time-stack strong,
  .prediction-stat-grid span,
  .prediction-stat-grid strong,
  .prediction-number-section div span {
    font-size: 12px;
  }

  .prediction-stat-grid span,
  .prediction-stat-grid strong,
  .prediction-number-section div span {
    min-height: 27px;
    padding: 4px 3px;
  }

  .prediction-number-section h3 {
    min-height: 27px;
    font-size: 13px;
  }

  .mimpi-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .mimpi-search {
    flex-basis: auto;
  }

  .mimpi-pager {
    justify-content: space-between;
  }

  .mimpi-grid,
  .mimpi-grid[data-type="3D"],
  .mimpi-grid[data-type="4D"] {
    grid-template-columns: 1fr;
  }

  .bbfs-form,
  .bbfs-results {
    grid-template-columns: 1fr;
  }

  .bbfs-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
