.results-page {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.results-header-title {
  color: var(--gold);
  font-weight: 800;
}

.results-header-subtitle {
  max-width: 860px;
  margin: 0 auto;
}

.performance-overview {
  margin-bottom: 2.5rem;
}

.overview-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid rgba(212, 175, 55, 0.45);
  border-radius: 15px;
  padding: 1.25rem 1rem;
  height: 100%;
  text-align: center;
}

.overview-value {
  color: var(--gold);
  font-weight: 800;
  font-size: 2.15rem;
  line-height: 1.1;
}

.overview-label {
  margin-top: 0.55rem;
  color: #d6d6d6;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.overview-note {
  margin-top: 0.35rem;
  color: #9ea3ad;
  font-size: 0.8rem;
}

.results-toolbar {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1.2rem;
}

.results-trust-line {
  color: #d0d5df;
  margin-bottom: 0.8rem;
}

.results-filter-group .btn {
  border-width: 2px;
}

.results-filter-group .btn.btn-outline-light {
  color: #e8edf6 !important;
  border-color: rgba(212, 175, 55, 0.75) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  font-weight: 700;
}

.results-filter-group .btn.btn-outline-light:hover {
  color: #ffffff !important;
  background: rgba(212, 175, 55, 0.16) !important;
  border-color: var(--gold) !important;
}

.results-filter-group .btn.active {
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.18);
}

.results-filter-group .btn.btn-outline-light.active,
.results-filter-group .btn.btn-outline-light:active,
.results-filter-group .btn.btn-outline-light:focus,
.results-filter-group .btn.btn-outline-light:focus-visible {
  color: var(--dark) !important;
  background: linear-gradient(135deg, var(--gold) 0%, #f2c94c 100%) !important;
  border-color: var(--gold) !important;
}

.results-list {
  display: grid;
  gap: 1rem;
}

.result-entry-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 15px;
  padding: 1rem;
}

.result-entry-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.result-date-line {
  color: #b9bec8;
  font-size: 0.86rem;
}

.result-strategy {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.33rem 0.75rem;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.79rem;
  font-weight: 700;
}

.match-score {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  border: 2px solid rgba(212, 175, 55, 0.48);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  line-height: 1.2;
  font-size: 0.95rem;
}

.match-score-label {
  color: var(--gold-light);
  font-weight: 700;
}

.match-big {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.match-split {
  color: #d4dae3;
  font-weight: 700;
}

.match-interpretation {
  margin-top: 0.45rem;
  display: inline-block;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.performance-tag {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.performance-tag.strong {
  background: rgba(46, 204, 113, 0.2);
  border: 1px solid rgba(46, 204, 113, 0.6);
  color: #7be5a9;
}

.performance-tag.moderate {
  background: rgba(241, 196, 15, 0.18);
  border: 1px solid rgba(241, 196, 15, 0.55);
  color: #f9dc73;
}

.performance-tag.low {
  background: rgba(149, 165, 166, 0.18);
  border: 1px solid rgba(149, 165, 166, 0.55);
  color: #d7dde2;
}

.match-interpretation.strong {
  background: rgba(46, 204, 113, 0.2);
  border: 1px solid rgba(46, 204, 113, 0.6);
  color: #7be5a9;
}

.match-interpretation.moderate {
  background: rgba(241, 196, 15, 0.18);
  border: 1px solid rgba(241, 196, 15, 0.55);
  color: #f9dc73;
}

.match-interpretation.low {
  background: rgba(149, 165, 166, 0.18);
  border: 1px solid rgba(149, 165, 166, 0.55);
  color: #d7dde2;
}

.top-result-badge {
  display: inline-block;
  margin-top: 0.5rem;
  margin-left: 0.5rem;
  padding: 0.28rem 0.66rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #111;
  background: linear-gradient(135deg, var(--gold) 0%, #f39c12 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.match-visual-summary {
  margin: 0.35rem 0 1rem;
  display: grid;
  gap: 0.45rem;
}

.match-visual-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.match-visual-label {
  color: #c8ced9;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 46px;
}

.match-bar-blocks {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
}

.match-bar-block {
  width: 18px;
  height: 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.match-bar-block.star-block {
  border-color: rgba(174, 117, 255, 0.35);
}

.match-bar-block.filled {
  background: linear-gradient(135deg, var(--gold) 0%, #f39c12 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.match-bar-block.star-block.filled,
.star-track .match-bar-block.filled {
  background: linear-gradient(135deg, #9b59b6 0%, #e056fd 100%);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 10px rgba(173, 95, 255, 0.55);
}

.match-bar-text {
  color: #d5dae3;
  font-size: 0.84rem;
  font-weight: 700;
}

.result-block-title {
  color: #bfc4cf;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}

.result-number-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.results-page .number-ball,
.results-page .star-ball {
  width: 38px;
  height: 38px;
  line-height: 38px;
  font-size: 0.92rem;
  margin: 2px;
}

.results-page .star-ball {
  background: linear-gradient(135deg, #9b59b6 0%, #e056fd 100%);
  color: #fff;
}

.result-divider-dot {
  color: var(--gold);
  margin: 0 0.25rem;
}

.is-match {
  border: 3px solid #fff;
  box-shadow:
    0 0 24px rgba(212, 175, 55, 1),
    0 0 12px rgba(255, 255, 255, 0.55),
    0 0 4px rgba(255, 255, 255, 0.8);
  transform: scale(1.13);
}

.result-footnote {
  margin-top: 0.7rem;
  color: #c8cdd6;
  font-size: 0.86rem;
}

.strategy-breakdown {
  margin-top: 2.4rem;
}

.strategy-breakdown-title {
  color: var(--gold);
  margin-bottom: 1rem;
}

.strategy-card {
  height: 100%;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 12px;
  padding: 1rem;
}

.strategy-name {
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.strategy-metrics {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.strategy-metric-label {
  font-size: 0.75rem;
  color: #b4b9c4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.strategy-metric-value {
  color: #f4f7fb;
  font-weight: 700;
}

.results-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1px dashed rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  color: #bcc2cd;
}

.results-cta {
  margin-top: 2.8rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  border: 2px solid var(--gold);
  padding: 2rem 1.25rem;
  text-align: center;
}

.results-cta-title {
  color: var(--gold);
  font-weight: 800;
}

.results-cta-subtext {
  color: #c6ccd7;
}

.inline-cta {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.inline-cta p {
  margin: 0;
  color: #d4d9e2;
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 767px) {
  .overview-card {
    padding: 1rem 0.8rem;
  }

  .overview-value {
    font-size: 1.65rem;
  }

  .results-page .number-ball,
  .results-page .star-ball {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 0.78rem;
    margin: 1px;
  }

  .result-entry-card {
    padding: 0.85rem;
  }

  .match-score {
    font-size: 0.84rem;
  }

  .match-big {
    font-size: 1.15rem;
  }

  .result-divider-dot {
    display: none;
  }

  .inline-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
