/* A visible first-screen contact card, sharing the existing accessible dialog. */
html body.shanshui.home-refresh[data-ss-shell] .home-main > .home-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 44px; padding: 0; margin-bottom: 20px;
}
html body.shanshui.home-refresh[data-ss-shell] .home-hero-copy { flex: 1; min-width: 0; padding: 0; }
html body.shanshui.home-refresh[data-ss-shell] .home-community-entry {
  display: flex; align-items: center; gap: 12px; flex: 0 0 auto; box-sizing: border-box;
  min-height: 76px; max-width: 100%; padding: 13px 16px; border: 1px solid #bdcfc3; border-radius: 12px;
  color: #244c40; background: #e7eee5; box-shadow: none; text-align: left;
  font: 500 14px/1.5 var(--ss-sans, sans-serif); cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
html body.shanshui.home-refresh[data-ss-shell] .home-community-entry:hover { background: #dce8da; border-color: #6f9280; }
html body.shanshui.home-refresh[data-ss-shell] .home-community-icon {
  display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px;
  border-radius: 10px; background: #28594c; color: #fff;
}
html body.shanshui.home-refresh[data-ss-shell] .home-community-icon svg { display: block; }
html body.shanshui.home-refresh[data-ss-shell] .home-community-copy { display: grid; gap: 3px; min-width: 0; }
html body.shanshui.home-refresh[data-ss-shell] .home-community-copy strong { font-size: 16px; font-weight: 600; line-height: 1.5; }
html body.shanshui.home-refresh[data-ss-shell] .home-community-copy small { color: #506558; font-size: 12px; line-height: 1.5; }
html body.shanshui.home-refresh[data-ss-shell] .home-community-action { margin-left: 12px; font-size: 12px; white-space: nowrap; }
html body.shanshui.home-refresh[data-ss-shell] .home-community-action > span { margin-left: 5px; }
html body.shanshui.home-refresh[data-ss-shell] .home-community-entry:focus-visible,
html body .community-claim a:focus-visible { outline: 1px solid #28594c; outline-offset: 3px; }
@media (max-width: 760px) {
  html body.shanshui.home-refresh[data-ss-shell] .home-main > .home-hero { flex-wrap: wrap; gap: 12px; }
  html body.shanshui.home-refresh[data-ss-shell] .home-hero-copy { flex-basis: 100%; }
  html body.shanshui.home-refresh[data-ss-shell] .home-community-entry { width: 100%; }
  html body.shanshui.home-refresh[data-ss-shell] .home-community-action { margin-left: auto; }
}
@media (max-width: 620px) {
  html body.shanshui.home-refresh[data-ss-shell] .home-main { padding-top: 12px; }
  html body.shanshui.home-refresh[data-ss-shell] .home-main > .home-hero { margin-bottom: 16px; }
  html body.shanshui.home-refresh[data-ss-shell] .ss-date-heading { gap: 2px 8px; font-size: 12px; }
  html body.shanshui.home-refresh[data-ss-shell] .home-community-entry { gap: 10px; min-height: 72px; padding: 12px; }
  html body.shanshui.home-refresh[data-ss-shell] .home-community-copy strong { font-size: 15px; }
  html body.shanshui.home-refresh[data-ss-shell] .home-community-action { font-size: 11px; }
}
@media (max-width: 359px) {
  html body.shanshui.home-refresh[data-ss-shell] .home-community-entry { gap: 8px; padding: 10px; }
  html body.shanshui.home-refresh[data-ss-shell] .home-community-icon { flex-basis: 32px; width: 32px; height: 36px; }
  html body.shanshui.home-refresh[data-ss-shell] .home-community-copy strong { font-size: 14px; }
  html body.shanshui.home-refresh[data-ss-shell] .home-community-copy small { font-size: 11px; }
  html body.shanshui.home-refresh[data-ss-shell] .home-community-action > span { margin-left: 2px; }
}
html body #homeContactDialog { width: min(740px, calc(100vw - 24px)); border-radius: 16px; }
html body #contactDialog .contact-dialog-surface { width: min(740px, calc(100vw - 24px)); }
html body :is(#homeContactTitle, #contactDialogTitle) { color: #244c40; font-size: 24px; line-height: 1.45; }
.community-claim { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; color: #244c40; }
.community-claim-contact { min-width: 0; text-align: center; }
html body .community-claim h3 { margin: 0 0 12px; color: #244c40; font: 600 17px/1.5 var(--sans, sans-serif); }
.community-claim-qr { display: block; width: 210px; max-width: 100%; margin: 0 auto; background: #fff; border-radius: 8px; -webkit-touch-callout: default; }
.community-claim-qr img { display: block; width: 100%; height: auto; filter: none !important; mix-blend-mode: normal; }
html body .community-claim-contact p { margin: 8px 0 0; color: #58665e; font-size: 11px; line-height: 1.6; }
.community-claim-guide { min-width: 0; padding: 4px 0; }
.community-claim-tag { display: inline-block; margin-bottom: 10px; color: #876126; font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.community-claim-guide ol { display: grid; gap: 18px; margin: 18px 0; padding-left: 22px; }
.community-claim-guide li { padding-left: 3px; color: #28594c; font-size: 14px; }
.community-claim-guide li b { display: block; margin-bottom: 4px; font-weight: 600; }
.community-claim-guide li span { display: block; color: #536158; font-size: 13px; line-height: 1.75; }
html body .community-claim-redeem { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; color: #28594c; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
html body .community-claim-note { margin: 4px 0 0; color: #58665e; font-size: 11px; line-height: 1.6; }
@media (max-width: 620px) {
  html body :is(#homeContactTitle, #contactDialogTitle) { font-size: 20px; }
  .community-claim { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .community-claim-qr { width: 180px; }
  .community-claim-guide { padding-top: 16px; border-top: 1px solid #deded4; }
  .community-claim-guide ol { gap: 14px; }
}
