.tip-score-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 16px 56px;
  color: #111827;
  background:
    radial-gradient(circle at 8% 0, rgba(47, 133, 90, .10), transparent 24%),
    radial-gradient(circle at 100% 20%, rgba(17, 24, 39, .08), transparent 24%);
}

.tip-score-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid #111827;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(47, 133, 90, .22), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .10);
}

.tip-score-hero__copy {
  min-width: 0;
}

.tip-score-kicker,
.tip-score-section-title p {
  margin: 0 0 8px;
  color: #2f855a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.tip-score-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: .96;
  letter-spacing: -.045em;
}

.tip-score-hero__copy > p {
  max-width: 680px;
  margin: 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.55;
}

.tip-score-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tip-score-actions a,
.tip-score-date-card button,
.score-hit-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid #111827;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.tip-score-actions a:hover,
.tip-score-date-card button:hover,
.score-hit-card__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(17, 24, 39, .15);
}

.tip-score-actions a + a {
  background: #ffffff;
  color: #111827;
}

.tip-score-date-card {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 22px;
  border: 1px solid #d1d5db;
  border-radius: 18px;
  background: #ffffff;
}

.tip-score-date-card label {
  color: #111827;
  font-weight: 900;
}

.tip-score-date-card input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  color: #111827;
  font: inherit;
}

.tip-score-date-card small {
  color: #64748b;
  font-weight: 700;
}

.tip-score-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.tip-score-summary article,
.tip-groups article,
.score-section,
.tip-score-notice,
.tip-score-explain {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.tip-score-summary article {
  padding: 18px;
}

.tip-score-summary span {
  display: block;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.tip-score-summary strong {
  display: block;
  margin: 6px 0;
  color: #111827;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.03em;
}

.tip-score-summary small {
  color: #475569;
  font-weight: 700;
}

.tip-score-tips,
.tip-score-results,
.tip-score-explain {
  margin-top: 24px;
}

.tip-score-section-title {
  margin-bottom: 14px;
}

.tip-score-section-title h2,
.tip-score-explain h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -.025em;
}

.tip-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tip-groups article {
  padding: 18px;
}

.tip-groups__wide {
  grid-column: 1 / -1;
}

.tip-groups h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.tip-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tip-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  color: #166534;
  font-weight: 900;
}

.tip-chip--muted {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #64748b;
}

.tip-score-type-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
}

.tip-score-type-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font-weight: 900;
  text-decoration: none;
}

.score-section {
  margin-bottom: 14px;
  overflow: hidden;
  scroll-margin-top: 18px;
}

.score-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.score-section__head h2 {
  margin: 0;
  font-size: 22px;
}

.score-section__head span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.score-empty {
  margin: 0;
  padding: 18px;
  color: #64748b;
  font-weight: 700;
}

.score-hit-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.score-hit-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
}

.score-hit-card:nth-child(odd) {
  background: #fbfdf8;
}

.score-hit-card__value {
  display: grid;
  gap: 3px;
  justify-items: start;
  min-width: 0;
}

.score-hit-card__value small {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.score-hit-card__value strong {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.02em;
}

.score-hit-card__body h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.score-hit-card__body p {
  margin: 0;
  color: #475569;
  font-weight: 700;
}

.score-result-line {
  margin-top: 5px !important;
}

.score-hit-card__link {
  min-height: 40px;
  padding-inline: 14px;
  white-space: nowrap;
}

.tip-score-notice,
.tip-score-explain {
  padding: 22px;
}

.tip-score-notice h2,
.tip-score-explain h2 {
  margin: 0 0 10px;
}

.tip-score-notice p,
.tip-score-explain p {
  margin: 0 0 12px;
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
}

.tip-score-explain p:last-child {
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .tip-score-hero,
  .tip-groups,
  .score-hit-card {
    grid-template-columns: 1fr;
  }

  .tip-score-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .score-hit-card__link {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .tip-score-page {
    padding: 14px 10px 40px;
  }

  .tip-score-hero {
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
  }

  .tip-score-hero h1 {
    margin-bottom: 10px;
    font-size: clamp(36px, 13vw, 48px);
    line-height: .98;
  }

  .tip-score-hero__copy > p {
    font-size: 16px;
    line-height: 1.48;
  }

  .tip-score-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .tip-score-actions a,
  .tip-score-date-card button {
    width: 100%;
    min-height: 50px;
  }

  .tip-score-date-card {
    padding: 16px;
    border-radius: 16px;
  }

  .tip-score-date-card input {
    min-height: 52px;
    font-size: 16px;
  }

  .tip-score-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0;
  }

  .tip-score-summary article {
    padding: 14px;
    border-radius: 15px;
  }

  .tip-score-summary span {
    font-size: 11px;
    line-height: 1.25;
  }

  .tip-score-summary strong {
    font-size: 30px;
  }

  .tip-score-summary small {
    font-size: 12px;
    line-height: 1.25;
  }

  .tip-score-section-title h2,
  .tip-score-explain h2 {
    font-size: 26px;
    line-height: 1.08;
  }

  .tip-groups article {
    padding: 15px;
    border-radius: 15px;
  }

  .tip-chip {
    min-height: 36px;
    padding-inline: 10px;
    font-size: 14px;
  }

  .tip-score-type-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .tip-score-type-nav a {
    flex: 0 0 auto;
  }

  .score-section__head {
    align-items: flex-start;
    flex-direction: column;
    padding: 15px;
  }

  .score-hit-list {
    padding: 10px;
  }

  .score-hit-card {
    gap: 10px;
    padding: 13px;
    border-radius: 13px;
  }

  .score-hit-card__value {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 9px;
    border-bottom: 1px solid #e2e8f0;
  }

  .score-hit-card__value strong {
    font-size: 32px;
  }

  .score-hit-card__body h3 {
    font-size: 17px;
    line-height: 1.25;
  }

  .score-hit-card__body p {
    font-size: 14px;
    line-height: 1.45;
  }

  .score-hit-card__link {
    min-height: 46px;
  }

  .tip-score-notice,
  .tip-score-explain {
    padding: 18px;
    border-radius: 16px;
  }
}

@media (max-width: 380px) {
  .tip-score-summary {
    grid-template-columns: 1fr;
  }
}
