/* Ganrao member home. Accent ladder, seed 936380977. Existing mobile app shell retained. */
@import url("./nanchang-map.css");

.ganrao-home, .ganrao-splash {
  --gr-red: #b5262f;
  --gr-ink: #302528;
  --gr-muted: #75676b;
  --gr-yellow: #f4cd57;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--gr-ink);
}
html:has(.ganrao-home), body:has(.ganrao-home) { overflow-x: clip; }
body:has(.ganrao-home) #root > div,
body:has(.ganrao-splash) #root > div { background: #f4f0ef; }
body:has(.ganrao-home) #root > div > div,
body:has(.ganrao-splash) #root > div > div { background: #f8f4f3; box-shadow: none; } /* taste-skill-ignore: cancel the original app shell shadow */
.ganrao-home { min-width: 0; padding: 0 16px 24px; background: #f8f4f3; }
.ganrao-home *, .ganrao-splash * { box-sizing: border-box; }
.ganrao-home button, .ganrao-home select { -webkit-tap-highlight-color: transparent; }
.ganrao-home button { font-family: inherit; cursor: pointer; }
.ganrao-home button:focus-visible { outline: 2px solid var(--gr-red); outline-offset: 3px; }
.ganrao-home button:active { opacity: .78; }
.gr-header { margin: 0 -16px 16px; padding: 18px 16px 16px; background: #fff; }
.gr-city { display: flex; align-items: center; gap: 3px; color: var(--gr-muted); font-size: 12px; line-height: 1.5; white-space: nowrap; }
.gr-identity-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gr-header-actions { display: flex; align-items: center; flex-shrink: 0; gap: 8px; }
.gr-identity { display: flex; align-items: center; gap: 11px; min-width: 0; }
.gr-emblem { display: block; flex: 0 0 52px; width: 52px; height: 52px; object-fit: contain; border-radius: 50%; }
.gr-identity h1 { margin: 0; color: #a51f29; font-size: 24px; font-weight: 750; letter-spacing: .015em; line-height: 1.25; white-space: nowrap; }
.gr-identity p { margin: 5px 0 0; color: #73656a; font-size: 12px; line-height: 1.4; }
.gr-notices { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; border: 0; background: #fff; color: #8d2630; border-radius: 8px; }
.gr-search { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; margin: 15px 0 0; padding: 0 14px; border: 0; border-radius: 10px; background: #f7f3f2; color: #74676b; text-align: left; font-size: 14px; }
.gr-search svg { flex-shrink: 0; color: #8a777e; }
.gr-search span { white-space: nowrap; }
.gr-primary-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.gr-entry { display: flex; flex-direction: column; min-height: 94px; min-width: 0; gap: 10px; padding: 17px 14px; border: 0; border-radius: 12px; text-align: left; }
.gr-entry-members { background: #f7e1e4; color: #9d202b; }
.gr-entry-publish { background: #ffedb6; color: #654917; }
.gr-entry-title { display: flex; align-items: center; justify-content: space-between; gap: 7px; width: 100%; font-size: 18px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.gr-entry-title svg { flex: 0 0 18px; }
.gr-entry-description { font-size: 13px; line-height: 1.5; white-space: nowrap; }
.gr-services { margin-top: 25px; }
.ganrao-home h2 { font-size: 18px; font-weight: 700; line-height: 1.4; }
.gr-services > h2 { margin: 0 0 11px; }
.gr-service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; padding: 4px 14px; border-radius: 12px; background: #fff; }
.gr-service-list button { display: flex; justify-content: space-between; align-items: center; gap: 5px; min-width: 0; min-height: 53px; padding: 0; border: 0; background: transparent; color: #47383c; font-size: 14px; text-align: left; white-space: nowrap; }
.gr-service-list svg { flex: 0 0 16px; width: 16px; color: #a18e92; }
.gr-demands, .gr-activities { margin-top: 25px; }
.gr-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; margin-bottom: 8px; }
.gr-section-heading h2 { margin: 0; }
.gr-section-heading > button { display: flex; align-items: center; gap: 4px; min-height: 44px; padding: 0; border: 0; background: none; color: #746368; font-size: 12px; white-space: nowrap; }
.gr-section-heading > button svg { width: 14px; }
.gr-demand-list { display: grid; gap: 12px; }
.gr-demand { min-width: 0; padding: 15px; border-radius: 12px; background: #fff; }
.gr-demand-author { display: flex; align-items: center; gap: 9px; min-width: 0; }
.gr-demand-author > div { min-width: 0; }
.gr-demand-author strong { font-size: 14px; font-weight: 600; line-height: 1.5; }
.gr-demand-author p { margin: 2px 0 0; overflow: hidden; color: #786b70; font-size: 13px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.gr-demand-open { display: block; width: 100%; padding: 13px 0 11px; border: 0; background: transparent; color: inherit; text-align: left; }
.gr-demand-title { display: flex; align-items: flex-start; gap: 8px; }
.gr-demand-title > strong { font-size: 15px; line-height: 1.6; font-weight: 650; }
.gr-demand-type { flex: 0 0 auto; margin-top: 2px; padding: 2px 5px; border-radius: 3px; background: #fff0cc; color: #785313; font-size: 12px; font-weight: 600; line-height: 1.5; }
.gr-demand-content { display: -webkit-box; margin-top: 8px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: #66595e; font-size: 13px; line-height: 1.7; }
.gr-demand-meta { display: flex; justify-content: space-between; gap: 8px; color: #7a696f; font-size: 13px; line-height: 1.5; }
.gr-demand-meta span:last-child { flex: 0 0 auto; }
.gr-activity-list { display: grid; gap: 10px; }
.gr-activity { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 87px; padding: 14px; border: 0; border-radius: 12px; background: #fff; color: var(--gr-ink); text-align: left; }
.gr-activity-date { flex: 0 0 48px; color: #ad2630; font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; }
.gr-activity-info { display: flex; flex: 1 1 auto; flex-direction: column; gap: 5px; min-width: 0; }
.gr-activity-info strong { font-size: 14px; font-weight: 600; line-height: 1.5; }
.gr-activity-info > span { color: #786b70; font-size: 13px; line-height: 1.5; }
.gr-activity > svg { flex: 0 0 17px; color: #97858c; }
.gr-empty { padding: 20px 14px; border-radius: 10px; background: #fff; color: #746368; font-size: 14px; line-height: 1.5; }
.gr-empty button { min-height: 44px; padding: 0; border: 0; background: none; color: var(--gr-red); }
.gr-footer { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 30px; padding-bottom: max(14px, env(safe-area-inset-bottom)); color: #746368; font-size: 12px; line-height: 1.5; }
.gr-footer span:first-child { color: #a32631; font-size: 14px; font-weight: 600; }
body:has(.ganrao-home) .sticky.bottom-0 { min-height: 62px; padding-bottom: env(safe-area-inset-bottom); border-color: #e9dedf !important; background: #fff; }
body:has(.ganrao-home) .sticky.bottom-0 button { min-height: 62px; }
body:has(.ganrao-home) .sticky.bottom-0 [style*="rgb(22, 41, 91)"] { color: #b5262f !important; }
body:has(.ganrao-home) .sticky.bottom-0 svg[fill="#16295B"] { fill: #b5262f; }
body:has(.ganrao-home) .sticky.bottom-0 [style*="rgb(232, 240, 254)"] { background: #fae9eb !important; }
body:has(.ganrao-home) .sticky.bottom-0 [style*="rgb(138, 143, 153)"] { color: #766d71 !important; }
.ganrao-splash { display: flex; min-height: 100dvh; flex-direction: column; align-items: center; justify-content: center; padding: 28px; background: #fff; }
.ganrao-splash > img { object-fit: contain; border-radius: 50%; }
.gr-splash-title { margin-top: 20px; color: #a51f29; font-size: 28px; font-weight: 700; letter-spacing: .04em; }
.ganrao-splash > p { margin-top: 8px; color: #746368; font-size: 14px; }
.gr-splash-progress { width: 48px; height: 3px; margin-top: 30px; border-radius: 3px; background: #edc345; }
.gr-splash-partner { margin-top: 36px; color: #786b6c; font-size: 12px; }
@media (max-width: 350px) {
  .ganrao-home { padding-inline: 12px; }
  .gr-header { margin-inline: -12px; margin-bottom: 14px; padding: 16px; }
  .gr-header-actions { gap: 4px; }
  .gr-identity { gap: 9px; }
  .gr-emblem { flex-basis: 46px; width: 46px; height: 46px; }
  .gr-search { min-height: 44px; margin-top: 13px; }
  .gr-identity h1 { font-size: 22px; }
  .gr-primary-actions { gap: 10px; }
  .gr-entry { padding-inline: 12px; }
  .gr-entry-title { font-size: 17px; }
  .gr-service-list { column-gap: 14px; }
  .gr-demand { padding: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ganrao-home *, .ganrao-splash * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
