/* Keno Lottery Frontend Styles */
.keno-wrap {
  width: 100%;
  box-sizing: border-box;
}

/* Modal Dialog */
.keno-dialog {
  border: 1px solid #ddd9f0;
  border-radius: 20px;
  padding: 24px;
  color: #151541;
  width: min(580px, calc(100% - 24px));
  box-shadow: 0 20px 80px rgba(20, 16, 68, 0.25);
  box-sizing: border-box;
}

.keno-dialog::backdrop {
  background: rgba(21, 17, 53, 0.45);
  backdrop-filter: blur(4px);
}

.keno-dialog-close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: none;
  border: 0;
  font-size: 28px;
  color: #6b6680;
  cursor: pointer;
  line-height: 1;
}

.keno-dialog h2 {
  margin: 0 20px 12px 0;
  font-size: 22px;
  color: var(--keno-navy);
}

.keno-dialog-info {
  padding: 12px;
  background: #f2efff;
  border-radius: 10px;
  font-size: 13px;
  color: #555;
  margin-top: 12px;
}

.random-balls {
  display: grid !important;
  grid-template-columns: repeat(10, 1fr) !important;
  gap: 8px 5px !important;
  margin: 18px 0 !important;
  justify-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.random-balls .ball {
  width: 100% !important;
  max-width: 44px !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  min-height: 28px !important;
  font-size: clamp(13px, 3.2vw, 18px) !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

/* =========================================
   LIVE DRAWING SPIN ANIMATION
   ========================================= */
.ball.is-spinning {
  background: radial-gradient(circle at 40% 32%, #ffffff 30%, #fff9ee 70%, #fff0d4) !important;
  border: 2px solid #ff7a00 !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8), 0 2px 6px rgba(255, 122, 0, 0.25) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  animation: ballTumble 1.4s ease-in-out infinite;
}

@keyframes ballTumble {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.05);
  }
}

.ball-spinner-dots {
  width: 22px;
  height: 22px;
  animation: spinnerRotate 0.85s linear infinite;
  display: block;
  transform-origin: center;
}

@keyframes spinnerRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ball.revealed {
  animation: ballPopReveal 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes ballPopReveal {
  0% {
    transform: scale(0.2) rotateY(180deg);
    opacity: 0;
  }
  65% {
    transform: scale(1.15) rotateY(0deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotateY(0deg);
    opacity: 1;
  }
}

.pulse-badge {
  display: inline-block;
  animation: pulseGlow 1s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.96); }
}

tr.highlight-new-row {
  animation: highlightRow 3s ease-out forwards;
}

@keyframes highlightRow {
  0% {
    background-color: #dffff0 !important;
  }
  100% {
    background-color: transparent !important;
  }
}

/* Number Picker (01 - 80) */
.number-picker {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
  align-content: start;
  margin: 12px 0;
}

.number-picker button {
  border: 1px solid #e0daed;
  border-radius: 7px;
  background: #faf9fd;
  color: #534768;
  font-size: 13px;
  font-weight: 700;
  min-height: 34px;
  padding: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.number-picker button:hover {
  background: #f0ecfc;
}

.number-picker button[aria-pressed="true"],
.number-picker button.active {
  background: #5b35df;
  color: white;
  border-color: #5b35df;
}

/* Analysis Subpage */
.analysis-workspace {
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e0ed;
}

.analysis-header-card {
  background: linear-gradient(135deg, #f7f5ff 0%, #ffffff 100%);
  border: 1px solid #e3def5;
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.analysis-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.analysis-title-group h1,
.analysis-title-group h2 {
  font-size: 20px;
  font-weight: 800;
  color: #1e1b4b;
  margin: 0;
  line-height: 1.25;
}

.analysis-subtitle {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.4;
}

.analysis-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.analysis-filter-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e1b4b;
  white-space: nowrap;
}

.analysis-quick-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.analysis-pill {
  border: 1px solid #dcd7ee;
  background: #fff;
  color: #475569;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  outline: none;
}

.analysis-pill:hover {
  border-color: var(--keno-purple, #5130ef);
  color: var(--keno-purple, #5130ef);
  background: #faf8ff;
}

.analysis-pill.active {
  background: linear-gradient(135deg, #5934ce, #4622b8) !important;
  color: #fff !important;
  border-color: #5934ce !important;
  box-shadow: 0 2px 8px rgba(89, 52, 206, 0.28);
}

.analysis-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 0 0 24px;
}

.analysis-metrics .metric-card {
  background: #faf9fd;
  border: 1px solid #e3def1;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.analysis-metrics .metric-card span {
  color: #746b87;
  font-size: 13px;
  font-weight: 600;
}

.analysis-metrics .metric-card strong {
  display: block;
  font-size: 24px;
  color: #4c2bd9;
  font-weight: 800;
  margin: 6px 0 2px;
}

.metric-sub {
  font-size: 11.5px;
  color: #8c829e;
}

.analysis-section-block {
  margin-top: 26px;
}

.analysis-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #ece8f6;
  flex-wrap: wrap;
  gap: 10px;
}

.analysis-block-header h3 {
  font-size: 17px;
  font-weight: 800;
  color: #1e1b4b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.analysis-block-tag {
  font-size: 12.5px;
  color: #64748b;
  background: #f3f0fb;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.analysis-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.analysis-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.analysis-card {
  padding: 20px;
  background: #fff;
  border: 1px solid #e4e0ef;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.card-title-row {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1edf8;
}

.card-title-row h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 800;
  color: #1e1b4b;
}

.card-subtitle {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
}

.rank-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #ece8f6;
}

.rank-card-title-group {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.rank-card-title-group h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #1e1b4b;
  line-height: 1.25;
  white-space: nowrap;
}

.rank-header-icon {
  font-size: 15px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rank-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.badge-hot {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.badge-least {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.badge-gap {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

/* Semantic Table for Rankings */
.rank-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.keno-rank-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.keno-rank-table th {
  padding: 8px 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #8c829e;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-bottom: 1.5px solid #ece8f6;
  border-top: none;
  background: transparent;
  white-space: nowrap;
}

.keno-rank-table td {
  padding: 8px 4px;
  vertical-align: middle;
  border-bottom: 1px solid #f2edf8;
  border-top: none;
  background: transparent;
  transition: background 0.15s ease;
}

.keno-rank-table tbody tr:last-child td {
  border-bottom: none;
}

.keno-rank-table tbody tr:hover td {
  background: #f8f6fe;
}

.keno-rank-table .col-rank {
  width: 40px;
  text-align: center;
}

.keno-rank-table .col-ball {
  width: 48px;
  text-align: center;
}

.keno-rank-table .col-count {
  text-align: left;
  padding-left: 6px;
  font-size: 13.5px;
  color: #334155;
  font-weight: 500;
  white-space: nowrap;
}

.keno-rank-table .col-count strong {
  font-size: 15px;
  font-weight: 800;
  color: #1e1b4b;
  margin-right: 2px;
}

.keno-rank-table .col-pct {
  width: 68px;
  text-align: right;
  padding-right: 0;
  white-space: nowrap;
}

.rank-pos {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f3f9;
  color: #475569;
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 0 auto;
}

.rank-1 {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.rank-2 {
  background: #f97316;
  color: #fff;
  box-shadow: 0 2px 4px rgba(249, 115, 22, 0.25);
}

.rank-3 {
  background: #f59e0b;
  color: #fff;
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.25);
}

.keno-rank-table .mini-ball {
  width: 32px !important;
  height: 32px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.ball-hot {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
}

.ball-least {
  background: #475569 !important;
  color: #ffffff !important;
  border-color: #475569 !important;
}

.ball-gap {
  background: #d97706 !important;
  color: #ffffff !important;
  border-color: #d97706 !important;
}

.ball-repeat {
  background: #8b5cf6 !important;
  color: #fff !important;
  border-color: #8b5cf6 !important;
}

.rank-pct-pill {
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  background: #f3f0fb;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  white-space: nowrap;
}

.rank-pct-pill.pill-gap {
  background: #fef3c7;
  color: #b45309;
}

/* 3-segment and multi-segment tracks */
.multi-segment-track {
  height: 18px;
  display: flex;
  overflow: hidden;
  border-radius: 10px;
  background: #e2e8f0;
  margin: 16px 0 12px;
}

.multi-segment-track span {
  height: 100%;
  display: block;
  transition: width 0.3s ease;
}

.segment-even { background: #5934ce; }
.segment-odd { background: #f59e0b; }
.segment-large { background: #0284c7; }
.segment-small { background: #10b981; }
.segment-tie { background: #94a3b8; }
.segment-low { background: #10b981; }
.segment-std { background: #5934ce; }
.segment-high { background: #ef4444; }

.segment-legend-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: #334155;
  margin-top: 6px;
}

.legend-item {
  display: flex;
  align-items: center;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
  margin-right: 6px;
}

.dot-even { background: #5934ce; }
.dot-odd { background: #f59e0b; }
.dot-tie { background: #94a3b8; }
.dot-large { background: #0284c7; }
.dot-small { background: #10b981; }
.dot-low { background: #10b981; }
.dot-std { background: #5934ce; }
.dot-high { background: #ef4444; }

/* Pairs analysis */
.pairs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pair-card {
  padding: 10px 12px;
  border-radius: 10px;
  background: #faf9fd;
  border: 1px solid #e7e2f5;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.15s ease;
}

.pair-card:hover {
  background: #f4effe;
}

.pair-balls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pair-plus {
  font-size: 13px;
  font-weight: 800;
  color: #94a3b8;
}

.pair-info {
  font-size: 13px;
  color: #1e1b4b;
}

.pair-pct {
  font-size: 12px;
  color: #64748b;
}

.pair-bar {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}

.pair-bar span {
  height: 100%;
  display: block;
  background: #5934ce;
  border-radius: 2px;
}

/* Repeat analysis */
.repeat-summary-box {
  display: flex;
  gap: 16px;
  background: #f5f3ff;
  border: 1px solid #e0d9f8;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.repeat-summary-metric {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
}

.repeat-summary-metric .label {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
}

.repeat-summary-metric .val {
  font-size: 15px;
  color: #4c2bd9;
  font-weight: 800;
  margin-top: 2px;
}

.repeat-top-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e1b4b;
  margin-top: 10px;
}

.repeat-top-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.repeat-ball-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #faf9fd;
  border: 1px solid #e9e4f5;
  padding: 4px 10px;
  border-radius: 20px;
}

.repeat-ball-count {
  font-size: 12.5px;
  color: #1e1b4b;
}

/* Digits analysis */
.digit-analysis-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.digit-bar-row {
  display: grid;
  grid-template-columns: 115px 1fr 105px;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}

.digit-label {
  color: #334155;
  font-weight: 600;
  white-space: nowrap;
}

.digit-track {
  height: 10px;
  background: #edeaf7;
  border-radius: 5px;
  overflow: hidden;
}

.digit-track span {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #7750fa, #5934ce);
  border-radius: 5px;
}

.digit-value {
  text-align: right;
  color: #1e1b4b;
  white-space: nowrap;
}

.digit-value small {
  color: #64748b;
}

/* Score analysis */
.score-analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.score-metric-box {
  background: #faf9fd;
  border: 1px solid #e3def1;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.score-metric-box.score-highlight {
  background: #f3effe;
  border-color: #c9bbf6;
}

.score-val {
  font-size: 26px;
  font-weight: 800;
  color: #4c2bd9;
}

.score-lbl {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
  font-weight: 600;
}

.score-dist-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 6px;
}

@media (max-width: 992px) {
  .analysis-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  .analysis-columns-3 {
    grid-template-columns: 1fr;
  }
  .pairs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .analysis-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .analysis-columns {
    grid-template-columns: 1fr;
  }
  .score-analysis-grid {
    grid-template-columns: 1fr;
  }
  .digit-bar-row {
    grid-template-columns: 90px 1fr 80px;
    font-size: 11.5px;
  }
  .analysis-header-card {
    padding: 16px;
  }
}

.ranking {
  padding: 0;
  list-style: none;
  margin: 16px 0 0;
}

.ranking li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid #efecf5;
  font-size: 13px;
}

/* Statistics Full Report Subpage */
.keno-report {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 22px;
  align-items: start;
  margin-top: 20px;
}

.report-filter, .report-section, .report-toc, .report-help {
  background: #fff;
  border: 1px solid #e0dfec;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.report-filter-title {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  background: #f0eaff;
  border-bottom: 1px solid #e1d9f2;
  color: #4b2da1;
}

.report-filter-title h1,
.report-filter-title h2 {
  font-size: 19px;
  margin: 0 0 4px;
  color: #2c2150;
}

.report-filter form {
  padding: 16px 20px;
}

.report-filter fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  gap: 20px;
}

.report-filter fieldset label {
  font-size: 13px;
  display: flex;
  gap: 6px;
  align-items: center;
  cursor: pointer;
}

.report-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.report-periods button {
  border: 1px solid #e3dcef;
  border-radius: 6px;
  padding: 8px 12px;
  background: #f7f5fb;
  color: #6b5a7b;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.report-periods button[aria-pressed="true"],
.report-periods button.active {
  background: #5934ce;
  color: white;
  border-color: #5934ce;
}

.report-scope {
  padding: 12px 20px;
  background: #faf9fc;
  color: #82758f;
  font-size: 12px;
  border-top: 1px solid #eeeaf4;
}

.report-section {
  padding: 20px;
  scroll-margin-top: 20px;
}

.report-section > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  color: #2d204b;
  margin: 0 0 10px;
}

.report-section > h2 > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: #eee7ff;
  border-radius: 8px;
  font-size: 12px;
  color: #6241ba;
}

.report-description {
  font-size: 12px;
  line-height: 1.6;
  color: #897c95;
  margin: 0 0 16px;
}

.report-rankings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.rank-card {
  border: 1px solid #e3def2;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(50, 30, 100, 0.05);
  display: flex;
  flex-direction: column;
}

.rank-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 14.5px;
  font-weight: 800;
  border-bottom: 1px solid #ece8f5;
  background: #faf8fd;
}

.rank-card-header.orange { background: linear-gradient(135deg, #fff7f2, #ffede5); color: #c83d00; }
.rank-card-header.blue   { background: linear-gradient(135deg, #f2f7ff, #e5efff); color: #0050c8; }
.rank-card-header.purple { background: linear-gradient(135deg, #f8f3ff, #ede3ff); color: #581fc8; }

.rank-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 8px 10px 10px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  box-sizing: border-box !important;
}

.rank-item,
.col-inner ul li.rank-item,
.entry-content ul li.rank-item {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 2px !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-bottom: 1px solid #f6f4fa !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.rank-item:last-child {
  border-bottom: none !important;
}

.rank-pos {
  width: 18px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #8c859d !important;
  text-align: center !important;
  flex-shrink: 0 !important;
}

.rank-item:nth-child(1) .rank-pos { color: #f59e0b !important; }
.rank-item:nth-child(2) .rank-pos { color: #64748b !important; }
.rank-item:nth-child(3) .rank-pos { color: #b45309 !important; }

.rank-ball {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #f7f2ff, #ece2ff) !important;
  color: #4b25d3 !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  border: 1px solid #d4c5f9 !important;
  box-shadow: inset 0 1px 2px #fff, 0 2px 4px rgba(75, 37, 211, 0.12) !important;
  flex-shrink: 0 !important;
}

.rank-bar-bg {
  flex: 1 1 0% !important;
  min-width: 30px !important;
  max-width: 100% !important;
  height: 10px !important;
  background: #f1eef8 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  position: relative !important;
}

.rank-bar-fill {
  height: 100% !important;
  border-radius: 10px !important;
  transition: width 0.4s ease !important;
}

.rank-bar-fill.most  { background: linear-gradient(90deg, #ff8c42, #ff5722) !important; }
.rank-bar-fill.least { background: linear-gradient(90deg, #38bdf8, #0284c7) !important; }
.rank-bar-fill.gap   { background: linear-gradient(90deg, #a855f7, #7c3aed) !important; }

.rank-val {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #2a253a !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 65px !important;
  text-align: right !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  display: inline-block !important;
  visibility: visible !important;
  padding-right: 2px !important;
}

.report-heatmap {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 5px;
}

.report-heatmap > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 2px;
  border-radius: 6px;
  color: #ffffff !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: default;
}

.report-heatmap > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(89, 52, 206, 0.35);
  z-index: 2;
}

.report-heatmap strong {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff !important;
}

.report-heatmap small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.9) !important;
}

.report-trail {
  display: grid;
  grid-template-columns: repeat(15, minmax(0, 1fr));
  gap: 6px;
  background: #faf9fc;
  border: 1px solid #ede7f2;
  padding: 12px;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

.report-trail .trail-dot,
.report-trail button {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  padding: 0 !important;
  min-height: 0 !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  border: 0 !important;
  cursor: pointer !important;
}

.report-trail .trail-dot.large, .report-trail button.large { background: #ff7945 !important; color: #fff !important; }
.report-trail .trail-dot.small, .report-trail button.small { background: #ffb433 !important; color: #fff !important; }
.report-trail .trail-dot.even,  .report-trail button.even  { background: #3972d5 !important; color: #fff !important; }
.report-trail .trail-dot.odd,   .report-trail button.odd   { background: #56b4e5 !important; color: #fff !important; }
.report-trail .trail-dot.equal, .report-trail button.equal { background: #e1eee8 !important; color: #4b8769 !important; }

/* Legend matching trail badges exactly */
.report-legend {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  font-size: 13px !important;
  color: #475569 !important;
  margin: 6px 0 14px !important;
}
.report-legend .legend-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-weight: 500 !important;
}
.legend-badge,
.report-legend .legend-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center !important;
  flex-shrink: 0 !important;
}
.legend-badge.large, .report-legend .legend-badge.large { background: #ff7945 !important; color: #fff !important; }
.legend-badge.small, .report-legend .legend-badge.small { background: #ffb433 !important; color: #fff !important; }
.legend-badge.even,  .report-legend .legend-badge.even  { background: #3972d5 !important; color: #fff !important; }
.legend-badge.odd,   .report-legend .legend-badge.odd   { background: #56b4e5 !important; color: #fff !important; }
.legend-badge.equal, .report-legend .legend-badge.equal { background: #e1eee8 !important; color: #4b8769 !important; }
.report-legend .legend-sep {
  color: #cbd5e1 !important;
  font-weight: 700 !important;
}

/* Thống kê tổng số Lớn/Nhỏ và Chẵn/Lẻ dưới bảng */
.report-summary-box {
  margin-top: 14px !important;
}

.summary-stats-bar {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 16px 24px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 12px 18px !important;
  font-size: 13.5px !important;
  color: #334155 !important;
}

.summary-stat-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 500 !important;
}

.summary-stat-item strong {
  color: #1e1b4b !important;
  font-weight: 800 !important;
}

.summary-stat-total {
  margin-left: auto !important;
  font-size: 12.5px !important;
  color: #64748b !important;
  font-weight: 500 !important;
}

/* Form lọc ngày Thống kê (POST) - Căn chỉnh hoàn hảo trên 1 hàng ngang */
.report-date-range-form {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  margin: 0 16px 16px !important;
  padding: 12px 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.report-date-range-form .report-date-field {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.report-date-range-form label {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #1e1b4b !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.report-date-range-form input[type="date"] {
  height: 40px !important;
  max-height: 40px !important;
  line-height: 40px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #cbd5e1 !important;
  background: #fff !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  outline: none !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  vertical-align: middle !important;
  display: inline-block !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.report-date-range-form input[type="date"]:focus {
  border-color: #5130ef !important;
  box-shadow: 0 0 0 3px rgba(81, 48, 239, 0.15) !important;
}

.report-date-btn {
  height: 40px !important;
  max-height: 40px !important;
  line-height: 40px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: none !important;
  background: #5130ef !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(81, 48, 239, 0.2) !important;
  transition: all 0.2s ease !important;
}

.report-date-btn:hover {
  background: #4322d8 !important;
  box-shadow: 0 4px 14px rgba(81, 48, 239, 0.35) !important;
  transform: translateY(-1px);
}

.report-date-btn:disabled {
  opacity: 0.7 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.report-date-btn .keno-svg-icon {
  width: 15px !important;
  height: 15px !important;
  margin: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.report-reset-btn {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
  padding: 7px 14px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.report-reset-btn:hover {
  background: #e2e8f0 !important;
  color: #1e293b !important;
}

/* Radio Switcher for Report Type (Theo ngày / Theo kỳ) */
.report-type-switcher {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 14px 18px 8px !important;
  font-size: 14px !important;
  color: #1e1b4b !important;
  border-bottom: 1px dashed #e2e8f0 !important;
  margin-bottom: 8px !important;
}

.report-type-label {
  font-weight: 700 !important;
  color: #334155 !important;
  font-size: 14px !important;
}

.report-type-option {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  color: #1e1b4b !important;
  margin: 0 !important;
  user-select: none !important;
  font-size: 14px !important;
}

.report-type-option input[type="radio"] {
  margin: 0 !important;
  width: 17px !important;
  height: 17px !important;
  accent-color: #5130ef !important;
  cursor: pointer !important;
}

.report-filter-subtitle {
  padding: 8px 18px 4px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #1e1b4b !important;
}

/* Date Shortcut Navigation Buttons on Results Page */
.date-shortcut-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 12px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  transition: all 0.2s ease !important;
}

.date-shortcut-btn:hover {
  background: #e2e8f0 !important;
  color: #1e1b4b !important;
  text-decoration: none !important;
}

.date-shortcut-btn.selected {
  background: #5130ef !important;
  color: #ffffff !important;
  border-color: #5130ef !important;
}

.date-shortcut-btn.disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #94a3b8 !important;
}

.nav-date-full {
  display: inline !important;
}

.nav-date-short {
  display: none !important;
}

.nav-arrow {
  display: inline-block !important;
  font-size: 10px !important;
  line-height: 1 !important;
  margin: 0 2px !important;
  opacity: 0.8 !important;
}

.trail-key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.trail-key span {
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 10px;
}

.digit-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.digit-bars {
  height: 150px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 0 8px;
  border-bottom: 1px solid #d8d1e5;
  margin: 0 0 24px;
  background: repeating-linear-gradient(to top, transparent, transparent calc(25% - 1px), #f0edf6 calc(25% - 1px), #f0edf6 25%);
}

.digit-bar {
  height: var(--bar-height, 50%);
  flex: 1;
  min-width: 0;
  background: linear-gradient(#7050dc, #9b79ed);
  position: relative;
  border-radius: 3px 3px 0 0;
}

.digit-bar strong, .digit-bar span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: #584766;
}

.digit-bar strong { top: -18px; }
.digit-bar span { bottom: -18px; font-weight: 700; }

.report-sidebar {
  position: sticky;
  top: 18px;
}

.report-toc {
  padding: 20px;
}

.report-toc h2 {
  font-size: 17px;
  color: #38234c;
  margin: 6px 0 16px;
}

.report-toc a {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid #ede7f2;
  font-size: 13px;
  color: #6e537c;
  text-decoration: none !important;
}

.report-toc a:hover {
  color: var(--keno-purple);
}

.report-toc b {
  color: #b39bc8;
  font-size: 11px;
}

/* Random Number Generator Page (Modern & Responsive) */
.random-workspace {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px -5px rgba(89, 52, 206, 0.08);
  margin: 24px 0 32px;
}

.random-settings {
  background: linear-gradient(180deg, #f8f6ff 0%, #f3effe 100%);
  padding: 28px 22px;
  border-right: 1px solid #ede8f7;
  display: flex;
  flex-direction: column;
}

.random-settings .random-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 4px 10px;
  background: rgba(89, 52, 206, 0.08);
  color: #5934ce;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.random-settings h1,
.random-settings h2 {
  font-size: 21px;
  font-weight: 800;
  color: #1e1b4b;
  margin: 12px 0 18px;
  line-height: 1.3;
}

.random-settings label[for="random-count"] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  margin: 0 0 10px 0;
}

.random-settings label #random-count-label {
  background: #5934ce;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  display: inline-block;
  line-height: 1.5;
}

.random-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 0 20px 0;
}

.random-presets button {
  white-space: nowrap;
  padding: 10px 2px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  border: 1.5px solid #dcd3f2;
  background: #ffffff;
  color: #4b3279;
  cursor: pointer;
  text-align: center;
  line-height: 1;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.random-presets button:hover {
  border-color: #5934ce;
  color: #5934ce;
  background: #faf8ff;
  transform: translateY(-1px);
}

.random-presets button[aria-pressed="true"],
.random-presets button.active {
  background: linear-gradient(135deg, #6d42e8 0%, #5934ce 100%);
  color: #ffffff;
  border-color: #5934ce;
  box-shadow: 0 4px 12px rgba(89, 52, 206, 0.3);
}

.random-settings #generate-numbers {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff5e36 0%, #ea3810 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(234, 56, 16, 0.35);
  transition: all 0.25s ease;
}

.random-settings #generate-numbers:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 56, 16, 0.45);
  filter: brightness(1.06);
}

.random-settings #generate-numbers .keno-svg-icon {
  width: 18px;
  height: 18px;
}

.random-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px dashed #e2d9f3;
}

/* Output Column */
.random-output {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
}

.random-output .keno-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 18px;
}

.random-output .keno-section-heading h2 {
  font-size: 19px;
  font-weight: 800;
  color: #1e1b4b;
  margin: 0;
}

#random-status {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 5px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
}

/* Check Draw Selection Group */
.check-draw-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
  width: 100%;
}

.check-draw-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.check-draw-row label {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e1b4b;
  margin: 0;
  display: block;
}

.check-draw-row input,
.check-draw-row select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid #dcd3f2;
  background-color: #ffffff;
  font-size: 14px;
  color: #1e1b4b;
  margin: 0;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.check-draw-row input:focus,
.check-draw-row select:focus {
  border-color: #5934ce;
  box-shadow: 0 0 0 3px rgba(89, 52, 206, 0.15);
}

.check-draw-row select {
  background-color: #f8fafc;
  cursor: pointer;
}

@media (max-width: 650px) {
  .check-draw-group {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

#generated-numbers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  justify-items: center;
  margin: 10px 0 22px;
  padding: 24px 16px;
  background: linear-gradient(180deg, #fbfaff 0%, #f6f3fc 100%);
  border: 1.5px dashed #ded6ef;
  border-radius: 16px;
  min-height: 130px;
}

#generated-numbers .ball {
  width: 48px;
  height: 48px;
  font-size: 20px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #b91c1c;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #fef3c7 40%, #fde68a 85%, #f59e0b 100%);
  border: 2px solid #f59e0b;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25), inset 0 2px 3px rgba(255, 255, 255, 0.8);
  transition: transform 0.2s ease;
}

#generated-numbers .ball:hover {
  transform: scale(1.08);
}

/* Actions Bar (Copy & Text) - Fixed overlapping & sticking */
.random-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin: 0 0 22px 0;
  background: #f8fafc;
  padding: 8px 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
}

.random-actions #copy-numbers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #6d42e8 0%, #5934ce 100%);
  border: none;
  border-radius: 9px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(89, 52, 206, 0.25);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.random-actions #copy-numbers:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(89, 52, 206, 0.35);
  filter: brightness(1.05);
}

.random-actions #copy-numbers .keno-svg-icon {
  width: 16px;
  height: 16px;
}

.random-actions #random-text {
  flex: 1;
  border: none !important;
  background: transparent !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  font-family: 'Roboto Mono', 'SF Mono', Consolas, monospace !important;
  letter-spacing: 0.5px !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 8px 10px !important;
  margin: 0 !important;
  min-width: 0;
}

/* History Box */
.random-history {
  margin-top: 10px;
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.random-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.random-history-header h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: #334155;
  margin: 0;
}

.random-history #clear-random-history {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  border: none;
  background: none;
  padding: 3px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.random-history #clear-random-history:hover {
  color: #ef4444;
  background: #fee2e2;
}

.random-history ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.random-history li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid #f1f5f9;
  font-size: 13px;
  color: #475569;
}

.random-history li:first-child {
  border-top: none;
}

.random-history time {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 500;
  flex-shrink: 0;
}

.random-history li span {
  font-family: 'Roboto Mono', monospace;
  font-weight: 600;
  color: #1e1b4b;
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.random-history li small {
  font-size: 11px;
  font-weight: 700;
  color: #5934ce;
  background: #f3effe;
  padding: 2px 8px;
  border-radius: 10px;
  flex-shrink: 0;
}

@media (max-width: 850px) {
  .analysis-columns,
  .analysis-metrics,
  .digit-charts,
  .random-workspace {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .keno-report {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .report-main {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .report-filter,
  .report-section {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .report-sidebar {
    display: none !important;
  }

  .report-rankings {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .rank-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .rank-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .rank-item {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 6px 0 !important;
    gap: 8px !important;
  }

  .rank-pos {
    flex: 0 0 18px !important;
    width: 18px !important;
    text-align: center !important;
  }

  .rank-ball {
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
  }

  .rank-bar-bg {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 10px !important;
    background: #f1eef8 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .rank-val {
    flex: 0 0 auto !important;
    min-width: 55px !important;
    width: auto !important;
    text-align: right !important;
    white-space: nowrap !important;
    display: inline-block !important;
    visibility: visible !important;
  }
}

@media (max-width: 600px) {
  .report-filter-title {
    padding: 12px 14px !important;
    gap: 10px !important;
  }
  .report-filter-title h1,
  .report-filter-title h2 {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }
  .report-filter-title p {
    font-size: 11.5px !important;
  }

  .date-shortcut-btn {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }

  /* 9 nút kỳ quay cuộn ngang mượt mà trên mobile */
  .report-periods {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 8px !important;
    padding: 10px 12px 14px !important;
    scrollbar-width: none !important;
  }
  .report-periods::-webkit-scrollbar {
    display: none !important;
  }
  .report-periods button {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 6px 14px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    min-height: 34px !important;
    height: 34px !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    margin: 0 !important;
  }

  .report-scope {
    padding: 10px 12px !important;
    font-size: 11.5px !important;
  }

  .report-section {
    padding: 14px 12px !important;
    margin-bottom: 14px !important;
    border-radius: 12px !important;
  }
  .report-section > h2 {
    font-size: 16px !important;
    gap: 8px !important;
    margin-bottom: 6px !important;
  }
  .report-section > h2 > span {
    width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
  }
  .report-description {
    font-size: 11.5px !important;
    margin-bottom: 12px !important;
  }

  /* Heatmap 80 số trên mobile chia 5 cột cân đối */
  .report-heatmap {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 6px 4px !important;
  }
  .report-heatmap > div {
    padding: 8px 2px !important;
    border-radius: 6px !important;
    min-height: 44px !important;
  }
  .report-heatmap strong {
    font-size: 13.5px !important;
  }
  .report-heatmap small {
    font-size: 10px !important;
  }

  /* Chuỗi diễn biến Lớn/Nhỏ và Chẵn/Lẻ */
  .report-trail {
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    gap: 6px 4px !important;
    padding: 10px 8px !important;
  }
  .report-trail .trail-dot,
  .report-trail button {
    width: 28px !important;
    height: 28px !important;
    font-size: 11px !important;
    margin: 0 auto !important;
  }

  /* Biểu đồ Đầu / Đuôi */
  .digit-charts {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Thống kê tóm tắt Lớn/Nhỏ, Chẵn/Lẻ trên Mobile */
  .summary-stats-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 10px 14px !important;
  }
  .summary-stat-total {
    margin-left: 0 !important;
    margin-top: 4px !important;
    border-top: 1px dashed #cbd5e1 !important;
    padding-top: 6px !important;
    width: 100% !important;
  }
  .report-date-range-form {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .report-date-range-form > div {
    width: 100% !important;
    justify-content: space-between !important;
  }
  .report-date-range-form input[type="date"] {
    flex: 1 !important;
  }
  .report-date-btn, .report-reset-btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* =========================================
   BUTTON & INTERACTIVE REFINEMENTS (ANTI-THÔ)
   ========================================= */

/* "Xem tất cả" button & .text-button */
.text-button,
#show-all,
button#show-all,
.keno-section-heading .text-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 5px !important;
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #3f20ed !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  padding: 6px 10px !important;
  min-height: 0 !important;
  height: auto !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

.text-button:hover,
#show-all:hover,
button#show-all:hover {
  color: #1a02b8 !important;
  background: rgba(63, 32, 237, 0.07) !important;
}

.text-button svg,
#show-all svg,
button#show-all svg {
  width: 15px !important;
  height: 15px !important;
  stroke-width: 2.2 !important;
  vertical-align: middle !important;
  stroke: currentColor !important;
  transition: transform 0.2s ease !important;
  flex-shrink: 0 !important;
}

.text-button:hover svg,
#show-all:hover svg,
button#show-all:hover svg {
  transform: translateX(3px) !important;
}

/* Result filters alignment & inputs */
.result-filters {
  display: flex !important;
  align-items: flex-end !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  background: #eeedf9 !important;
  border-radius: 12px !important;
  margin-bottom: 12px !important;
  box-sizing: border-box !important;
}

.result-filters * {
  box-sizing: border-box !important;
}

.result-filters label {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  gap: 5px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #3f3e58 !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  flex: 1 1 140px !important;
  min-width: 120px !important;
  line-height: 1.2 !important;
}

.result-filters input[type="date"],
.result-filters input[type="text"],
.result-filters input,
.result-filters select {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  line-height: 38px !important;
  padding: 0 10px !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  border: 1px solid #d4d3e7 !important;
  background: #fff !important;
  border-radius: 8px !important;
  color: #202040 !important;
  font-size: 13px !important;
  box-shadow: none !important;
  vertical-align: middle !important;
}

.result-filters input:focus {
  border-color: #5737f1 !important;
  box-shadow: 0 0 0 3px rgba(87, 55, 241, 0.15) !important;
}

/* Date shortcuts */
.date-shortcuts,
.result-filters .date-shortcuts {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 38px !important;
  margin: 0 auto 6px auto !important;
  padding: 0 !important;
  flex: 1 1 100% !important;
}

.date-shortcuts button,
.result-filters .date-shortcuts button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #d4cfee !important;
  background: #ffffff !important;
  color: #4a2ce4 !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  line-height: 38px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
  transition: all 0.2s ease !important;
}

.date-shortcuts button:hover {
  background: #f4f1ff !important;
  border-color: #4b2be9 !important;
  color: #4b2be9 !important;
}

.date-shortcuts button.selected,
.date-shortcuts button.active {
  background: #4b2be9 !important;
  color: #ffffff !important;
  border-color: #4b2be9 !important;
  box-shadow: 0 2px 6px rgba(75, 43, 233, 0.3) !important;
}

/* Tra cứu button */
.result-filters button[type="submit"],
.result-filters .primary-button,
.result-filters .keno-primary-button,
.primary-button,
.keno-primary-button {
  border: 0 !important;
  background: linear-gradient(135deg, #5737f1, #3216d0) !important;
  box-shadow: 0 2px 6px rgba(50, 22, 208, 0.28) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 0 20px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  line-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-end !important;
  gap: 6px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-size: 13px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  vertical-align: middle !important;
  transition: all 0.2s ease !important;
}

.result-filters button[type="submit"]:hover,
.result-filters .primary-button:hover,
.result-filters .keno-primary-button:hover,
.primary-button:hover,
.keno-primary-button:hover {
  filter: brightness(1.08) !important;
  box-shadow: 0 3px 10px rgba(50, 22, 208, 0.35) !important;
}

/* Draw Info Column Alignment ("Kỳ: #302876") */
.keno-table td:first-child,
.keno-table td.draw-info {
  text-align: left !important;
  padding-left: 14px !important;
  vertical-align: middle !important;
  color: inherit !important;
  font-weight: normal !important;
}

.draw-info .draw-title {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 5px !important;
  line-height: 1.25 !important;
  margin: 0 0 3px 0 !important;
  padding: 0 !important;
}

.draw-info .draw-label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #55536e !important;
  line-height: inherit !important;
  vertical-align: baseline !important;
}

.draw-info .draw-link,
button.draw-link,
.draw-info button.draw-link {
  display: inline !important;
  position: static !important;
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #3515ef !important;
  cursor: pointer !important;
  line-height: inherit !important;
  vertical-align: baseline !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  min-height: 0 !important;
  height: auto !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-decoration: none !important;
  font-family: inherit !important;
}

.draw-info .draw-link:hover,
button.draw-link:hover,
.draw-info button.draw-link:hover {
  text-decoration: underline !important;
  color: #1a02b8 !important;
  background: transparent !important;
}

.draw-info time {
  display: block !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #6a6882 !important;
  margin-top: 3px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

/* Load More Button for Recent Results */
.keno-load-more-wrap {
  text-align: center;
  padding: 18px 0 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.keno-load-more-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 28px !important;
  border-radius: 999px !important;
  border: 1.5px solid #dcd5f7 !important;
  background: #f7f5ff !important;
  color: #5934ce !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 8px rgba(89, 52, 206, 0.08) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  height: auto !important;
  min-height: 42px !important;
  line-height: 1.2 !important;
}

.keno-load-more-btn svg {
  width: 17px !important;
  height: 17px !important;
  transition: transform 0.2s ease !important;
  color: #5934ce !important;
  flex-shrink: 0 !important;
}

.keno-load-more-btn:hover {
  background: linear-gradient(135deg, #5934ce, #4622b8) !important;
  color: #ffffff !important;
  border-color: #5934ce !important;
  box-shadow: 0 4px 16px rgba(89, 52, 206, 0.28) !important;
  transform: translateY(-1px) !important;
}

.keno-load-more-btn:hover svg {
  color: #ffffff !important;
  transform: translateY(2px) !important;
}

.keno-load-more-btn:active {
  transform: translateY(1px) !important;
  box-shadow: 0 2px 4px rgba(89, 52, 206, 0.2) !important;
}

.keno-load-more-spinner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5934ce;
  font-weight: 600;
  font-size: 13px;
}

.keno-spinner-circle {
  width: 18px;
  height: 18px;
  border: 2.5px solid #e0d7fc;
  border-top-color: #5934ce;
  border-radius: 50%;
  animation: kenoSpin 0.7s linear infinite;
  display: inline-block;
}

@keyframes kenoSpin {
  to { transform: rotate(360deg); }
}

/* Hide mobile stats on desktop */
.draw-mobile-stats {
  display: none !important;
}

/* Mobile Draw Results Card Layout (<= 768px) */
@media (max-width: 768px) {
  /* 20 bóng ở kết quả mới nhất xếp 2 hàng x 10 bóng trên Mobile */
  .latest-balls {
    grid-template-columns: repeat(10, 1fr) !important;
    gap: 6px 3px !important;
    padding: 10px 4px !important;
    border-radius: 14px 14px 0 0 !important;
    justify-items: center !important;
  }

  .latest-balls .ball {
    width: 100% !important;
    max-width: 36px !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 26px !important;
    font-size: clamp(12px, 3.2vw, 14.5px) !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
    border-width: 2px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    line-height: 1 !important;
  }

  .latest-balls .ball-spinner-dots {
    width: 16px !important;
    height: 16px !important;
  }

  .table-scroll {
    overflow-x: hidden !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  }

  .keno-table {
    display: block !important;
    width: 100% !important;
    border: none !important;
    border-collapse: separate !important;
    white-space: normal !important;
  }

  .keno-table thead {
    display: none !important;
  }

  .keno-table tbody {
    display: block !important;
    width: 100% !important;
  }

  .keno-draw-row {
    display: block !important;
    padding: 14px 12px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    box-sizing: border-box !important;
  }

  .keno-draw-row:last-child {
    border-bottom: none !important;
  }

  .keno-draw-row:nth-child(even) td {
    background: transparent !important;
  }

  .keno-draw-row td.draw-info {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px 10px !important;
    padding: 0 0 10px 0 !important;
    border: none !important;
    background: transparent !important;
    text-align: left !important;
  }

  .keno-draw-row .draw-title {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .keno-draw-row .draw-label {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #1e40af !important;
    line-height: 1.2 !important;
  }

  .keno-draw-row .draw-link,
  .keno-draw-row button.draw-link {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #1e40af !important;
    line-height: 1.2 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .keno-draw-row td.draw-info time {
    display: inline-block !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    margin: 0 !important;
    line-height: 1.2 !important;
  }

  .keno-draw-row td.draw-info .match-count {
    display: inline-block !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #dc2626 !important;
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-radius: 4px !important;
    padding: 1px 6px !important;
    margin: 0 !important;
  }

  .keno-draw-row td.draw-balls-td {
    display: block !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .keno-draw-row .mini-balls {
    display: grid !important;
    grid-template-columns: repeat(10, 1fr) !important;
    gap: 4px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    justify-content: stretch !important;
  }

  .keno-draw-row .mini-ball,
  .keno-draw-row .mini-balls .ball {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 28px !important;
    border-radius: 50% !important;
    border: 1.5px solid #d32f2f !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    line-height: 1 !important;
    margin: 0 !important;
  }

  .keno-draw-row .mini-ball.matched {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #b91c1c !important;
  }

  .draw-mobile-stats {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
    margin-top: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .dms-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    padding: 7px 4px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  .keno-draw-row td.col-total,
  .keno-draw-row td.col-even,
  .keno-draw-row td.col-size {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .keno-draw-row {
    padding: 12px 8px !important;
  }
  .keno-draw-row .mini-balls {
    gap: 2.5px !important;
  }
  .keno-draw-row .mini-ball,
  .keno-draw-row .mini-balls .ball {
    font-size: 11.5px !important;
    border-radius: 50% !important;
    min-height: 24px !important;
  }
  .draw-mobile-stats {
    gap: 4px !important;
  }
  .dms-item {
    font-size: 11px !important;
    padding: 5px 2px !important;
  }
  .keno-draw-row .draw-label,
  .keno-draw-row .draw-link,
  .keno-draw-row td.draw-info time {
    font-size: 13.5px !important;
  }
}

/* FAQ Section (Vertical Accordion) */
.keno-faq-section {
  background: linear-gradient(135deg, #ffffff 0%, #f9faff 100%) !important;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-top: 14px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.keno-faq-subtitle {
  font-size: 14px;
  color: #64748b;
  margin: -4px 0 20px 0;
  line-height: 1.5;
}

.keno-faq-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
}

.keno-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  width: 100% !important;
}

.keno-faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(89, 52, 206, 0.08);
}

.keno-faq-item[open] {
  border-color: #c4b5fd;
  box-shadow: 0 4px 14px rgba(89, 52, 206, 0.1);
}

.keno-faq-question {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 16px 20px !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  cursor: pointer !important;
  user-select: none;
  list-style: none !important;
  position: relative;
}

.keno-faq-question::-webkit-details-marker {
  display: none !important;
}

.keno-faq-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
  color: #4338ca;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.keno-faq-item[open] .keno-faq-badge {
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
  color: #ffffff;
}

.keno-faq-title {
  flex: 1;
  line-height: 1.4;
}

.keno-faq-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.keno-faq-toggle::after {
  content: "▼";
  font-size: 9px;
}

.keno-faq-item[open] .keno-faq-toggle {
  transform: rotate(180deg);
  background: #ede9fe;
  color: #6366f1;
}

.keno-faq-answer {
  padding: 0 20px 18px 66px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #475569;
  border-top: 1px dashed #f1f5f9;
  margin-top: 2px;
  padding-top: 14px;
}

.keno-faq-answer p {
  margin: 0;
}

.keno-faq-answer strong {
  color: #0f172a;
  font-weight: 700;
}

@media (max-width: 600px) {
  .keno-faq-section {
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }
  .keno-faq-question {
    padding: 12px 10px !important;
    font-size: 14px !important;
    gap: 8px !important;
  }
  .keno-faq-badge {
    width: 26px;
    height: 26px;
    font-size: 11.5px;
  }
  .keno-faq-answer {
    padding: 0 10px 14px 44px;
    font-size: 13px;
  }
}

