/* Readable homepage type: do not shrink body copy to fit narrow screens. */
html body.sg-home-refined {
  --home-copy: 1.0625rem;
  --home-label: 1rem;
  --home-action: 1.0625rem;
  font-size: var(--home-copy);
}

html body.sg-home-refined .auth-slot .login-link {
  font-size: var(--home-label) !important;
  line-height: 1.5;
  min-height: 46px !important;
  padding: 10px 12px !important;
}
html body.sg-home-refined :is(.header-mini nav a, .auth-slot .logout-link, .member-greeting > a) {
  font-size: 1rem !important;
  line-height: 1.5;
  min-height: 46px;
  padding: 10px 12px;
}
html body.sg-home-refined #sg-intro .sg-intro-eyebrow,
html body.sg-home-refined #sg-intro .sg-intro-signature {
  font-size: var(--home-label);
  line-height: 1.65;
}
html body.sg-home-refined #sg-intro .sg-intro-description {
  font-size: 1.125rem;
  line-height: 1.75;
}
html body.sg-home-refined #sg-intro .sg-intro-actions a {
  font-size: 1.125rem;
  min-height: 56px;
  padding: 14px 18px;
  white-space: normal;
  word-break: keep-all;
  line-height: 1.5;
}
html body.sg-home-refined #sg-intro .sg-intro-benefit {
  min-height: 110px;
  padding: 22px 18px;
}
html body.sg-home-refined #sg-intro .sg-intro-benefit h2 {
  font-size: 1.25rem;
  line-height: 1.5;
}
html body.sg-home-refined #sg-intro .sg-intro-benefit p,
html body.sg-home-refined #sg-intro .sg-intro-card-link {
  font-size: var(--home-label);
  line-height: 1.65;
}
html body.sg-home-refined #sg-intro .sg-intro-number { display: none; }
html body.sg-home-refined .member-greeting {
  min-height: 0;
  padding: 18px 20px !important;
}
html body.sg-home-refined .member-greeting strong {
  font-size: 1.25rem;
  line-height: 1.5;
}
html body.sg-home-refined .member-greeting small {
  display: block;
  margin-top: 7px;
  color: #40566f;
  font-size: var(--home-copy);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

html body.sg-home-refined :is(.sg-discover-heading p, .sg-industry-label,
  .sg-discover-banner p, .sg-member-help, .sg-member-help p,
  .sg-partner-invite p, .sg-store-search, .sg-store-status, .sg-hall-sub,
  .sg-store-copy small, .sg-store-copy p, .sg-store-link,
  .sg-showcase-heading small, .sg-showcase-heading p,
  .sg-hall-head > span, .sg-industry-fold summary, .sg-member-help summary) {
  font-size: var(--home-copy) !important;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
html body.sg-home-refined :is(.sg-discover-heading > a, #sg-find button,
  .sg-group-tabs button, .sg-industry button, .sg-discover-banner > a,
  .sg-partner-invite a, .sg-showcase-heading > a, .sg-hall-nav a,
  .sg-hall-apply, .sg-member-help a) {
  font-size: var(--home-action) !important;
  min-height: 48px !important;
  line-height: 1.5;
  padding: 11px 14px !important;
  white-space: normal;
  word-break: keep-all;
}
html body.sg-home-refined .sg-discover-heading { flex-wrap: wrap; }
html body.sg-home-refined .sg-discover-heading > a { margin-left: auto; }
html body.sg-home-refined :is(#sg-find input, .sg-store-search input) {
  min-height: 50px;
  font-size: 1.0625rem;
}
html body.sg-home-refined .sg-category-grid a {
  font-size: 1.0625rem;
  min-height: 100px;
  padding: 16px 12px;
  gap: 12px;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
html body.sg-home-refined .sg-category-icon {
  width: 44px; height: 44px; flex-basis: 44px;
}
html body.sg-home-refined .sg-category-icon svg { width: 30px; height: 30px; }
html body.sg-home-refined .sg-discover-banner strong { font-size: 1.25rem; }
html body.sg-home-refined .sg-partner-invite h2 { font-size: 1.375rem !important; }
html body.sg-home-refined .sg-steps li {
  font-size: 1rem;
  line-height: 1.5;
  white-space: normal;
  word-break: keep-all;
}
html body.sg-home-refined .sg-steps span {
  font-size: 1rem;
  width: 32px; height: 32px;
}

html body.sg-home-refined #advertising-inquiry :is(.sg-offer-eyebrow,
  .sg-video-description, .sg-video-terms, .sg-video-duration,
  .sg-video-message > span, .sg-video-numbers > div > span,
  .sg-video-included p, .sg-video-extra, .sg-video-extra small,
  .sg-video-channels b) {
  font-size: var(--home-copy);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
html body.sg-home-refined #advertising-inquiry :is(.sg-video-included b, .sg-video-extra b) {
  font-size: 1.125rem;
  line-height: 1.6;
}
html body.sg-home-refined #advertising-inquiry .sg-video-cta {
  font-size: 1.125rem;
  min-height: 56px;
  line-height: 1.5;
  word-break: keep-all;
}
html body.sg-home-refined #store-showcase .sg-hall-head { flex-wrap: wrap; }
html body.sg-home-refined #store-showcase .sg-hall-head h3 { font-size: 1.5rem; }
html body.sg-home-refined #store-showcase .sg-store-card { padding: 18px; gap: 16px; }
html body.sg-home-refined #store-showcase .sg-store-visual {
  width: 88px; height: 88px; flex-basis: 88px;
}
html body.sg-home-refined #store-showcase .sg-store-copy h4 { font-size: 1.25rem; }
html body.sg-home-refined #store-showcase .sg-store-copy p {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
html body.sg-home-refined .sg-hall-count { font-size: 1rem; }
html body.sg-home-refined #join-event.sg-benefit-offer :is(.sg-event-badge,
  .sg-event-number, .sg-event-platforms, .sg-event-video-note,
  .sg-event-video-sub, .sg-event-condition, .sg-event-poster-link) {
  font-size: var(--home-copy) !important;
  line-height: 1.65 !important;
  word-break: keep-all;
}
html body.sg-home-refined #join-event.sg-benefit-offer .sg-event-cta {
  font-size: 1.125rem !important;
  min-height: 56px !important;
  line-height: 1.5 !important;
  white-space: normal;
}
html body.sg-home-refined #cooperating-companies :is(.sg-cooperators-head p,
  .supplier-ad-notice p, .supplier-ad-rate span) {
  font-size: var(--home-copy);
  line-height: 1.65;
}
html body.sg-home-refined #cooperating-companies :is(.sg-cooperators-join, .supplier-ad-link) {
  font-size: var(--home-action);
  line-height: 1.5;
  min-height: 48px;
  white-space: normal;
}

/* Keep the footer short; business details stay visible and full terms can expand. */
html body.sg-home-refined .site-shell > footer {
  display: block !important;
  padding: 24px max(20px, calc((100% - 1132px) / 2)) !important;
  margin: 0;
}
html body.sg-home-refined footer .footer-brand { gap: 8px; }
html body.sg-home-refined footer .footer-brand img { width: 30px; height: 30px; }
html body.sg-home-refined footer .footer-brand strong { font-size: 1.25rem; }
html body.sg-home-refined footer .footer-slogan {
  font-size: 1rem !important;
  line-height: 1.5 !important;
  margin: 6px 0 12px !important;
  font-weight: 600;
}
html body.sg-home-refined .site-shell > footer > nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  padding: 8px 0 !important;
  margin: 0 0 12px !important;
  border-top: 1px solid #dfe4eb;
  border-bottom: 1px solid #dfe4eb;
}
html body.sg-home-refined .site-shell > footer > nav a {
  display: flex; align-items: center;
  min-height: 44px;
  padding: 6px 0;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  color: #46566b;
  word-break: keep-all;
}
html body.sg-home-refined footer .site-operator-info {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
}
html body.sg-home-refined footer .site-operator-info > strong {
  display: block;
  font-size: 1.0625rem;
  margin: 0 0 6px;
}
html body.sg-home-refined footer :is(.site-operator-info, .platform-transaction-notice) p {
  font-size: 1rem !important;
  line-height: 1.6 !important;
  margin: 4px 0 !important;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
html body.sg-home-refined footer .site-operator-info p > span {
  display: inline;
  margin-left: 10px;
}
html body.sg-home-refined footer .sg-footer-details {
  padding: 0;
  margin: 12px 0 0;
  font-size: 1rem;
}
html body.sg-home-refined footer .sg-footer-details summary {
  min-height: 48px;
  font-size: 1rem;
}
html body.sg-home-refined footer .platform-transaction-notice > strong { font-size: 1rem; }
html body.sg-home-refined .site-shell > footer .sg-footer-details .platform-transaction-notice p {
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

@media (max-width: 760px) {
  html body.sg-home-refined { --home-copy: 1rem; }
  html body.sg-home-refined .header-mini { flex-wrap: wrap; }
  html body.sg-home-refined #sg-intro { padding: 24px 20px 20px; }
  html body.sg-home-refined #sg-intro .sg-intro-description { font-size: 1.0625rem; }
  html body.sg-home-refined #sg-intro .sg-intro-description br { display: none; }
  html body.sg-home-refined #sg-intro .sg-intro-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  html body.sg-home-refined #sg-intro .sg-intro-actions a { justify-content: center; width: 100%; }
  html body.sg-home-refined #sg-intro .sg-intro-benefit { min-height: 88px; padding: 16px 12px; }
  html body.sg-home-refined #sg-intro .sg-intro-benefit h2 { font-size: 1.0625rem; }
  html body.sg-home-refined .member-greeting { padding: 16px !important; }
  html body.sg-home-refined .member-greeting strong { font-size: 1.1875rem; }
  html body.sg-home-refined .sg-discover-heading { align-items: flex-start; gap: 4px; }
  html body.sg-home-refined .sg-discover-heading > div { flex-basis: 100%; }
  html body.sg-home-refined .sg-group-tabs { flex-wrap: wrap; overflow: visible; }
  html body.sg-home-refined .sg-group-tabs button { flex: 0 1 auto; }
  html body.sg-home-refined .sg-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  html body.sg-home-refined .sg-category-grid a { font-size: 1rem; min-height: 110px; padding: 14px 8px; }
  html body.sg-home-refined :is(.sg-discover-banner, .sg-partner-invite) { flex-direction: column; align-items: stretch; gap: 12px; }
  html body.sg-home-refined :is(.sg-discover-banner > a, .sg-partner-invite > a) { text-align: center; justify-content: center; }
  html body.sg-home-refined .sg-steps { gap: 10px; }
  html body.sg-home-refined .sg-steps li { flex-direction: column; text-align: center; }
  html body.sg-home-refined #store-showcase .sg-hall-nav { flex-wrap: wrap; overflow: visible; }
  html body.sg-home-refined #store-showcase .sg-hall-nav a { flex: 0 1 auto; }
  html body.sg-home-refined #store-showcase .sg-store-card { padding: 14px 12px; gap: 12px; align-items: flex-start; }
  html body.sg-home-refined #store-showcase .sg-store-visual { width: 72px; height: 82px; flex-basis: 72px; }
  html body.sg-home-refined #store-showcase .sg-store-copy h4 { font-size: 1.1875rem; }
  html body.sg-home-refined #cooperating-companies .sg-cooperators-head { flex-wrap: wrap; gap: 10px; }
  html body.sg-home-refined .site-shell > footer { padding: 20px 16px 16px !important; }
  html body.sg-home-refined .site-shell > footer > nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  html body.sg-home-refined .sg-bottom-nav a { font-size: 1rem; min-height: 58px; gap: 4px; }
  html body.sg-home-refined .sg-bottom-nav svg { width: 24px; height: 24px; }
  html body.sg-home-refined { padding-bottom: calc(78px + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 480px) {
  html body.sg-home-refined .sg-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.sg-home-refined footer .site-operator-info p > span:last-child { display: block; margin: 2px 0 0; }
}
@media (max-width: 360px) {
  html body.sg-home-refined #sg-intro { padding-inline: 16px; }
  html body.sg-home-refined .auth-slot .login-link { padding-inline: 8px !important; }
  html body.sg-home-refined #store-showcase .sg-store-card { flex-wrap: wrap; }
  html body.sg-home-refined #store-showcase .sg-store-copy { flex: 1 1 160px; }
}
