.game-finder-tools {
  display: grid;
  grid-template-columns: minmax(190px, 1.35fr) repeat(4, minmax(125px, 1fr)) auto;
  align-items: end;
  gap: 10px;
  margin: 18px 0 8px;
  padding: 15px;
  border: 1px solid #e9dfed;
  border-radius: 15px;
  background: #f2e5cf;
}

.game-finder-search,
.game-finder-tools .game-filter {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: #332341;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.game-finder-search input,
.game-finder-tools select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #806c8a;
  border-radius: 9px;
  padding: 8px 10px;
  background: #fff;
  color: #251621;
  font: 600 12px/1.3 Manrope, sans-serif;
}

.game-finder-reset {
  min-height: 44px;
  border: 1px solid #6f3b4b;
  border-radius: 999px;
  padding: 8px 13px;
  background: #fff;
  color: #492738;
  font: 800 11px/1.3 Manrope, sans-serif;
  cursor: pointer;
}

.game-finder-tools #game-result-count {
  grid-column: 1 / -1;
  justify-self: start;
  color: #51475b;
  font-size: 11px;
}

.game-finder-note {
  margin: 0 0 15px;
  color: #62586a;
  font-size: 11px;
  line-height: 1.55;
}

.home-game-facts span { min-height: 30px; }

.rtp-volatility-tool {
  display: grid;
  gap: 15px;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #ded1c3;
  border-radius: 18px;
  background: #f2e5cf;
  box-shadow: 0 10px 30px #2516210c;
}

.rtp-volatility-intro h3 {
  margin: 5px 0 7px;
  color: #251621;
  font: 800 22px/1.15 Manrope, sans-serif;
  letter-spacing: -.035em;
}

.rtp-volatility-intro p,
.rtp-compare-source {
  margin: 0;
  color: #5d5267;
  font-size: 12px;
  line-height: 1.55;
}

.rtp-compare-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
  align-items: end;
  gap: 10px;
}

.rtp-compare-controls label {
  display: grid;
  gap: 6px;
  color: #332341;
  font-size: 11px;
  font-weight: 800;
}

.rtp-compare-controls select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #806c8a;
  border-radius: 9px;
  padding: 8px 10px;
  background: #fff;
  color: #251621;
  font: 600 12px/1.3 Manrope, sans-serif;
}

.rtp-compare-controls > span {
  display: grid;
  place-items: center;
  min-height: 44px;
  color: #6f3b4b;
  font-weight: 900;
}

.rtp-compare-table-wrap { min-width: 0; }
.rtp-compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  overflow-wrap: anywhere;
  color: #332341;
  font-size: 12px;
}

.rtp-compare-table caption {
  padding: 0 0 8px;
  color: #5d5267;
  text-align: left;
  font-size: 10px;
}

.rtp-compare-table th,
.rtp-compare-table td {
  width: 27%;
  padding: 10px 8px;
  border: 1px solid #e7deeb;
  background: #fff;
  text-align: left;
  line-height: 1.4;
}

.rtp-compare-table th:first-child,
.rtp-compare-table td:first-child { width: 46%; }
.rtp-compare-table thead th { background: #f2eaf5; color: #39244b; font-size: 10px; }
.rtp-compare-table tbody th { font-weight: 800; }
.rtp-compare-table tbody a { color: #492738; text-decoration: underline; text-underline-offset: 2px; }

.rtp-compare-result {
  margin: 0;
  padding: 11px 13px;
  border-left: 3px solid #8cb500;
  border-radius: 5px 10px 10px 5px;
  background: #f3f7e9;
  color: #332d20;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.rtp-volatility-tool > .button { justify-self: start; min-height: 44px; }

@media (max-width: 1050px) {
  .game-finder-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .game-finder-search { grid-column: span 2; }
}

@media (max-width: 600px) {
  .game-finder-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 12px; }
  .game-finder-search,
  .game-finder-tools .game-filter,
  .game-finder-reset,
  .game-finder-tools #game-result-count { grid-column: 1 / -1; }
  .game-finder-search input,
  .game-finder-tools select { font-size: 12px; }
  .rtp-volatility-tool { gap: 12px; margin-top: 18px; padding: 15px; }
  .rtp-volatility-intro h3 { font-size: 19px; }
  .rtp-compare-controls { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rtp-compare-controls > span { display: none; }
  .rtp-compare-table { font-size: 10px; }
  .rtp-compare-table th,
  .rtp-compare-table td { padding: 8px 5px; }
  .rtp-compare-table thead th { font-size: 9px; }
  .rtp-compare-result { font-size: 11px; }
  .rtp-volatility-tool > .button { width: 100%; justify-self: stretch; }
}
