/* Result popup - matches provided design */
.rp-wrap {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 8px 0 24px;
  color: #fff;
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

.rp-header {
  text-align: center;
  margin-bottom: 18px;
}

.rp-shield {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rp-title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
}

.rp-title em {
  font-style: normal;
  color: #f5c518;
}

.rp-sub {
  font-size: 13px;
  line-height: 1.65;
  color: #c8d4e0;
  margin: 0;
  padding: 0 4px;
}

.rp-sub strong {
  color: #fff;
  font-weight: 700;
}

.rp-summary {
  background: #062849;
  border: 1px solid rgba(94, 179, 255, 0.28);
  border-radius: 12px;
  padding: 16px 6px 12px;
  margin-bottom: 14px;
}

.rp-summary-title {
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 14px;
  color: #fff;
  letter-spacing: 0.02em;
}

.rp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: start;
}

.rp-cell {
  text-align: center;
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.rp-cell + .rp-cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(120, 160, 200, 0.28);
}

.rp-cell-head {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
  white-space: nowrap;
}

.rp-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rp-grade-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 6px;
}

.rp-grade {
  width: 38px;
  height: 38px;
  margin: 0 auto 4px;
  border-radius: 50%;
  border: 2.5px solid #5eb3ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #5eb3ff;
  background: transparent;
  line-height: 1;
}

.rp-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  height: 12px;
}

.rp-stars svg {
  display: block;
  flex-shrink: 0;
}

.rp-cell-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.35;
}

.rp-val-main {
  font-size: 11px;
  font-weight: 700;
  color: #7ec8ff;
}

.rp-cell:nth-child(2) .rp-val-main {
  color: #d7e3ef;
}

.rp-val-sub {
  font-size: 10px;
  font-weight: 600;
  color: #8aa0b5;
}

.rp-updated {
  text-align: center;
  font-size: 11px;
  color: #8a9aaa;
  margin-top: 12px;
}

.rp-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.rp-card-title {
  color: #1a6fb5;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  padding: 14px 12px 8px;
  margin: 0;
}

.rp-list {
  list-style: none;
  margin: 0;
  padding: 0 12px 4px;
}

.rp-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 2px;
  border-bottom: 1px solid #eef2f6;
  color: #1a2330;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
}

.rp-list li:last-child {
  border-bottom: none;
}

.rp-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.rp-right-icon {
  flex-shrink: 0;
  margin-left: auto;
  width: 18px;
  height: 18px;
  opacity: 0.35;
  color: #6b7c8f;
}

.rp-list-text {
  flex: 1;
}

.rp-lock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff8dc;
  border-top: 1px solid #f0e6b0;
  padding: 10px 14px;
  color: #5c4a10;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
}

.rp-lock-bar svg {
  flex-shrink: 0;
  color: #c9a227;
}

.rp-cta {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 12px;
  background: #06c755;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
  font-family: inherit;
}

.rp-cta:hover {
  background: #05b34c;
}

.rp-cta:active {
  transform: scale(0.98);
}

.rp-cta-arrow {
  font-weight: 900;
  margin-left: 2px;
}

.rp-urgency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 10px;
  color: #f0d060;
  font-size: 11.5px;
  font-weight: 700;
}

.rp-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.rp-social-main {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* Reuse homepage counter (wC); strip its landing-page underline style */
.rp-social-main span.underline,
.rp-social-main .underline {
  text-decoration: none !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 900;
  text-underline-offset: unset;
}

.rp-social-badge {
  font-size: 10px;
  color: #c8d4e0;
  border: 1px solid rgba(180, 198, 214, 0.55);
  border-radius: 5px;
  padding: 4px 8px;
  background: transparent;
  white-space: nowrap;
}

.rp-disclaimer {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 10px;
  padding: 12px;
  color: #8a9aaa;
  font-size: 10px;
  line-height: 1.55;
}

.rp-disclaimer svg {
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.7;
}

.rp-back {
  width: 100%;
  margin-top: 12px;
  background: transparent;
  border: none;
  color: #8a9aaa;
  font-size: 13px;
  cursor: pointer;
  padding: 10px;
  font-family: inherit;
}

.rp-back:hover {
  color: #fff;
}

@media (max-width: 380px) {
  .rp-title {
    font-size: 19px;
  }
  .rp-cell-head {
    font-size: 9px;
  }
  .rp-val-main {
    font-size: 10px;
  }
  .rp-list li {
    font-size: 11.5px;
  }
  .rp-cta {
    font-size: 13.5px;
    height: 50px;
  }
}
