/* Production homepage additions. Existing assets/styles.css is not overwritten. */
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { overflow-wrap: anywhere; }
.trending-section { padding: 46px 0 52px; }
.trending-list { list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 22px; padding: 0; margin: 24px 0 0; }
.trending-list li { display: flex; align-items: center; min-width: 0; gap: 14px; padding: 17px 20px; background: #f3f4f7; border-radius: 18px; }
.trending-list a { font-weight: 600; letter-spacing: .02em; color: #292932; }
.trending-list a:hover { color: #0064d4; text-decoration: underline; }
.trend-rank { color: #85858e; font-size: .8125em; width: 20px; flex-shrink: 0; }
.trend-count { color: #68686f; font-size: .8125em; margin-left: auto; white-space: nowrap; }
.empty-state { border: 1px dashed #d5d9e2; border-radius: 20px; padding: 28px; color: #62626d; font-size: .9375em; line-height: 1.9; }
.review-card h3 { font-size: 1rem; }
.review-card .number { font-size: 1.4em; }
.review-text { white-space: normal; }
.safety-card h2 { color: #272936; font-size: 1.35em; line-height: 1.6; }
.contribute h2 { font-size: 1em; }
.about-section { margin: 64px 0 38px; max-width: 820px; }
.about-section .eyebrow { color: #0064d4; font-size: .75em; letter-spacing: .1em; }
.about-section h2 { font-size: 1.45em; margin: 12px 0 18px; }
.about-section p { color: #62626d; line-height: 2; font-size: .9375em; }
.renewal-ad { padding: 22px; margin: 24px 0; border: 1px solid #e0e7f3; border-radius: 20px; background: #f4f7fc; }
.renewal-ad .ad-label { display: block; font-size: .75em; color: #646c7b; margin-bottom: 10px; }
.renewal-ad a { display: block; color: #235286; }
.renewal-ad p { margin-top: 8px; color: #58667a; font-size: .875em; }
.renewal-ad.device-mobile { display: none; }
.font-toggle { min-width: 44px; min-height: 44px; }
.number-panel .detail-number { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 24px; margin-bottom: 24px; }
.detail-grid > * { min-width: 0; }
.detail-grid .number-panel,.detail-grid .summary-panel { margin: 0; }
.number-panel .small-note { margin-top: 20px; }
.number-kind { color: #62626d; margin: 14px 0; }
.number-content { margin-top: 42px; }
.number-reviews { display: grid; gap: 18px; }
.number-reviews .review-text { min-height: 0; }
.review-pagination { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.post-section,.external-section,.related-section { margin-top: 48px; }
.post-section h2,.external-section h2,.related-section h2 { font-size: 1.3em; margin-bottom: 16px; }
.post-section > .eyebrow { font-size: .75em; color: #0064d4; margin-bottom: 8px; }
.renewal-post-form { background: #fff; border: 1px solid #e7e7ed; border-radius: 22px; padding: 26px; }
.post-feedback { padding: 20px; margin: 22px 0; border-radius: 16px; line-height: 1.8; }
.post-success { background: #eaf2ff; color: #194f93; border: 1px solid #c8dcf7; }
.post-error { background: #fff4ee; color: #8b411d; border: 1px solid #f0d4c2; }
.post-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.renewal-post-form > label { display: block; font-size: .9375em; margin: 0 0 10px; }
.renewal-post-form select,.renewal-post-form textarea { width: 100%; max-width: 100%; padding: 13px; font: inherit; font-size: 16px; border: 1px solid #d6d9e1; border-radius: 12px; background: #fcfcfd; margin-bottom: 22px; }
.renewal-post-form textarea { resize: vertical; min-height: 150px; }
.renewal-post-form .button { margin-top: 20px; width: 100%; }
.renewal-post-form .button:disabled { background: #e9edf3; color: #62626d; cursor: not-allowed; }
.external-list { list-style: none; padding: 0; }
.external-list li { border-bottom: 1px solid #e7e7ed; padding: 20px 0; }
.external-list a,.related-section a { color: #0064d4; text-decoration: underline; text-underline-offset: 4px; }
.external-list p { margin: 10px 0; color: #62626d; }
.external-list small { color: #68686f; }
.related-section ul { padding-left: 20px; }
.related-section li { margin: 12px 0; }
html.renewal-large { font-size: 19px; }
.renewal-large .header-inner nav a { font-size: .875rem; }
.renewal-large .search-help,.renewal-large .hero-benefits { font-size: .875rem; }
:focus-visible { outline: 3px solid #0064d4; outline-offset: 4px; }
@media(max-width:760px) {
  .detail-grid { grid-template-columns: minmax(0,1fr); }
  .trending-section { padding: 32px 0 38px; }
  .trending-list { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .trending-list li { padding: 16px; gap: 10px; }
  .trending-list a { font-size: 1rem; }
  .about-section { margin-top: 40px; }
  .about-section h2 { font-size: 1.2em; }
  .renewal-ad.device-mobile { display: block; }
  .renewal-ad.device-desktop { display: none; }
  .safety-card h2 br { display: none; }
  .renewal-large .hero h1 { font-size: 1.8em; }
  .renewal-large .header-inner nav { gap: 14px; }
  .renewal-large .hero-benefits { gap: 9px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }

.registered-profile{border:1px solid #e3e8f0;background:#fff;border-radius:20px;padding:25px;margin:24px 0}.registered-profile h2{font-size:1.15rem;margin-bottom:15px}.registered-profile p{margin-top:12px}.registered-profile ul{margin:15px 0 0;padding-left:20px;font-size:14px;line-height:1.9}.registered-profile a{color:#0064d4}.registered-profile small{color:#6b778a}
.stats-period{display:flex;flex-wrap:wrap;gap:12px;margin:25px 0}.stats-table{overflow-x:auto;border:1px solid #e3e8f0;border-radius:18px;background:#fff;margin-bottom:20px}.stats-table table{width:100%;border-collapse:collapse;font-size:15px}.stats-table caption{text-align:left;padding:20px;font-weight:600}.stats-table th,.stats-table td{padding:15px 20px;text-align:left;border-top:1px solid #eef1f5}.stats-table thead{background:#f6f8fc}.stats-meter{width:min(200px,80%);height:10px;display:block;margin-top:8px;accent-color:#0064d4}.stats-value{font-variant-numeric:tabular-nums}.footer-common{padding:35px 20px;border-top:1px solid #e3e8f0;text-align:center;color:#647185;font-size:14px}.footer-common a{color:#0064d4}

/* Compatibility with the existing footer_part.php navigation. */
.footer-common .footer-common__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-common .footer-common__list > li {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-common .footer-common__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 4px;
  font-size: .9375rem;
  line-height: 1.6;
  text-decoration: none;
}
.footer-common .footer-common__link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-common .footer-common__copyright {
  margin: 18px 0 0;
  line-height: 1.8;
}
@media (max-width: 480px) {
  .footer-common .footer-common__list { gap: 4px 16px; }
}
