:root {
  color-scheme: light;
  --forest: #315C49;
  --forest-dark: #234535;
  --sage: #E9EFE7;
  --cream: #F7F5EE;
  --orange: #D99A69;
  --ink: #26372f;
  --muted: #68766d;
  --line: #dfe5dc;
  --white: #fffefa;
  --shadow: 0 14px 40px rgba(49, 92, 73, .08);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 0; background: var(--cream); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); line-height: 1.65; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(217, 154, 105, .7); outline-offset: 3px; }
.page-width { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; top: 8px; left: 8px; transform: translateY(-160%); padding: 9px 14px; color: white; background: var(--forest); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid rgba(49, 92, 73, .09); background: rgba(247, 245, 238, .94); backdrop-filter: blur(12px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; padding: 0; border: 0; background: none; cursor: pointer; }
.brand-mark { position: relative; display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; background: var(--forest); }
.brand-mark::before { width: 12px; height: 12px; content: ""; border-radius: 50%; background: #f5dfad; box-shadow: 0 -10px 0 -4px #f5dfad, 0 10px 0 -4px #f5dfad, 10px 0 0 -4px #f5dfad, -10px 0 0 -4px #f5dfad; }
.brand-mark span { position: absolute; width: 5px; height: 13px; bottom: 5px; left: 15px; border-radius: 5px; background: #f5dfad; transform: rotate(38deg); }
.brand-name { color: var(--forest); font-size: 19px; font-weight: 750; letter-spacing: .05em; }
.main-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.main-nav .nav-link[data-page="home"],
.main-nav .nav-link[data-page="exchange"],
.main-nav .nav-link[data-page="messages"],
.main-nav .nav-link[data-page="profile"] { display: none; }
.nav-link { padding: 9px 15px; border: 0; border-radius: 22px; color: var(--muted); background: transparent; cursor: pointer; transition: color .18s ease, background .18s ease; }
.nav-link:hover, .nav-link.is-active { color: var(--forest); background: var(--sage); }
.nav-link.is-active { font-weight: 700; }
.header-publish { padding: 10px 17px; border: 1px solid var(--forest); border-radius: 24px; color: var(--forest); background: transparent; cursor: pointer; font-weight: 650; transition: color .18s ease, background .18s ease; }
.header-publish:hover { color: white; background: var(--forest); }
.header-publish span { margin-left: 7px; color: var(--orange); }
.nav-badge { display: inline-flex; min-width: 17px; height: 17px; align-items: center; justify-content: center; margin-left: 4px; padding: 0 4px; border-radius: 9px; color: white; background: #b36a45; font-size: 9px; font-weight: 800; vertical-align: 1px; }
body { padding-bottom: 104px; }
.bottom-nav {
  position: fixed;
  z-index: 30;
  bottom: 18px;
  left: 50%;
  display: grid;
  width: min(540px, calc(100% - 32px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 7px;
  border: 1px solid rgba(49, 92, 73, .14);
  border-radius: 18px;
  background: rgba(255, 254, 250, .96);
  box-shadow: 0 12px 34px rgba(36, 57, 41, .12);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}
.bottom-nav-link {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-direction: column;
  padding: 4px 2px;
  border: 0;
  border-radius: 12px;
  color: #78867b;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 650;
}
.bottom-nav-link.is-active { color: var(--forest); background: var(--sage); }
.bottom-nav-icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bottom-nav-link.is-active .bottom-nav-icon { fill: rgba(49, 92, 73, .08); }
.bottom-nav-icon-wrap { position: relative; display: inline-flex; }
.bottom-nav-badge { position: absolute; top: -5px; right: -11px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px; color: white; background: #b36a45; font-size: 9px; font-weight: 800; line-height: 16px; text-align: center; }

.page-view[hidden] { display: none !important; }
.demo-notice { margin: 0 auto 20px; padding: 12px 15px; border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; color: #53645a; background: var(--sage); font-size: 12px; line-height: 1.7; }
.demo-notice strong { color: var(--forest); }
.channel-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 18px; align-items: start; }
.channel-mode-panel[hidden] { display: none !important; }
.channel-mode-tabs { display: flex; gap: 8px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.channel-mode-tab { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border: 1px solid transparent; border-radius: 24px; color: var(--muted); background: transparent; cursor: pointer; font-size: 12px; }
.channel-mode-tab:hover, .channel-mode-tab.is-selected { border-color: rgba(49, 92, 73, .15); color: var(--forest); background: var(--sage); font-weight: 700; }
.mode-badge { padding: 3px 7px; border-radius: 12px; color: #805b3f; background: #f4e4d2; font-size: 9px; font-weight: 600; }
.channel-sidebar, .channel-panel, .map-preview-panel, .map-shares-panel { padding: 19px; border: 1px solid rgba(49, 92, 73, .1); border-radius: 16px; background: rgba(255, 254, 250, .78); box-shadow: 0 8px 26px rgba(49, 92, 73, .045); }
.channel-sidebar .eyebrow { margin-bottom: 10px; }
.channel-choice { width: 100%; min-height: 44px; margin-top: 5px; padding: 9px 12px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; text-align: left; cursor: pointer; }
.channel-choice:hover, .channel-choice.is-selected { color: var(--forest); background: var(--sage); font-weight: 700; }
.channel-main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(250px, .9fr); gap: 14px; }
.channel-panel { min-width: 0; }
.compact-heading { margin-bottom: 13px; }
.compact-heading .eyebrow { margin-bottom: 4px; }
.compact-heading h2 { margin: 0; color: var(--forest-dark); font-size: 18px; }
.channel-feed, .map-share-list { display: grid; gap: 10px; }
.community-post, .map-share-card { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.community-post h3, .map-share-card h3 { margin: 9px 0 5px; color: var(--forest-dark); font-size: 14px; line-height: 1.5; }
.community-post p, .map-share-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.post-composer { display: grid; gap: 8px; max-width: 900px; margin: 0 auto 16px; padding: 17px; border: 1px solid rgba(49, 92, 73, .12); border-radius: 15px; background: rgba(255, 254, 250, .8); }
.post-composer h2 { margin: 0 0 3px; color: var(--forest-dark); font-size: 17px; }
.post-composer .eyebrow { margin-bottom: 3px; }
.post-composer .form-hint { margin: 0; color: var(--muted); font-size: 11px; }
.post-composer label { color: var(--forest-dark); font-size: 11px; font-weight: 700; }
.post-composer input, .post-composer textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 12px; }
.post-composer textarea { min-height: 80px; resize: vertical; }
.post-composer .primary-action { justify-self: start; }
.privacy-inline-note, .form-status { margin: 0; color: #806448; font-size: 10px; line-height: 1.7; }
.form-status { color: var(--forest); }
.post-meta, .map-share-meta { display: flex; justify-content: space-between; gap: 8px; color: #7b887e; font-size: 10px; }
.post-dm-button { min-height: 44px; margin-top: 9px; padding: 8px 12px; border: 1px solid var(--forest); border-radius: 22px; color: var(--forest); background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }
.post-dm-button:hover { color: white; background: var(--forest); }
.post-actions, .map-share-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.post-actions button, .map-share-actions button, .comment-reply-button { min-height: 38px; padding: 6px 10px; border: 1px solid #dce5da; border-radius: 18px; color: var(--forest); background: transparent; cursor: pointer; font-size: 10px; font-weight: 650; }
.post-actions button:hover, .map-share-actions button:hover, .comment-reply-button:hover { background: var(--sage); }
.post-comment-list { display: grid; gap: 7px; margin-top: 11px; }
.post-comment { padding: 9px 10px; border-radius: 9px; background: #f3f5f0; }
.post-comment p { display: inline; overflow-wrap: anywhere; }
.post-comment strong, .post-reply strong { color: var(--forest); }
.comment-empty { color: #8a938b !important; font-size: 10px !important; }
.comment-reply-button { min-height: 30px; margin-left: 6px; padding: 3px 8px; font-size: 9px; }
.post-reply { margin: 8px 0 0 13px; padding-left: 9px; border-left: 2px solid #cddbc9; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.post-comment-form { display: flex; gap: 7px; margin-top: 9px; }
.post-comment-form input { min-width: 0; min-height: 40px; flex: 1; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; font-size: 11px; }
.post-comment-form > button { min-width: 56px; border: 0; border-radius: 9px; color: white; background: var(--forest); cursor: pointer; font-size: 10px; }
.replying-note { flex: 1 0 100%; margin: 0; color: #805b3f; font-size: 10px; }
.replying-note button { border: 0; color: var(--forest); background: transparent; text-decoration: underline; }
.chat-status { padding: 4px 8px; border-radius: 20px; color: var(--forest); background: var(--sage); font-size: 10px; white-space: nowrap; }
.chat-messages { display: grid; gap: 8px; min-height: 190px; align-content: start; padding: 12px; border-radius: 11px; background: #f2f4ee; }
.chat-message { max-width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px 10px 10px 3px; color: #45574b; background: white; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.chat-message > span { min-width: 0; }
.chat-message strong { display: block; margin-bottom: 2px; color: var(--forest); font-size: 10px; }
.chat-message-actions { flex: 0 0 auto; display: flex; flex-wrap: wrap; }
.chat-message button { flex: 0 0 auto; border: 0; color: #78847b; background: transparent; cursor: pointer; font-size: 9px; }
.chat-message.mine { margin-left: auto; border: 1px solid rgba(49, 92, 73, .14); background: #e7efe5; }
.chat-message time { display: block; margin-top: 3px; color: #8a968d; font-size: 9px; }
.chat-load-older { display: block; width: 100%; min-height: 38px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 9px; color: var(--forest); background: transparent; cursor: pointer; font-size: 10px; }
.chat-compose { display: flex; gap: 7px; margin-top: 10px; }
.chat-compose input { min-width: 0; min-height: 44px; flex: 1; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 11px; }
.chat-compose button { min-width: 60px; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 9px; color: white; background: var(--forest); cursor: pointer; font-size: 11px; font-weight: 700; }
.chat-disabled { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; padding: 7px 8px 7px 12px; border: 1px solid var(--line); border-radius: 10px; color: #879188; font-size: 10px; }
.chat-disabled button, .secondary-action { min-height: 40px; padding: 8px 13px; border: 0; border-radius: 9px; color: #89938b; background: #e9ece6; font-size: 11px; }
.map-page-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.map-page-board { height: 300px; margin-top: 10px; }
.real-map-shell { position: relative; padding: 0; background: #e8eee5; }
.real-map { z-index: 0; width: 100%; height: 100%; border-radius: 13px; overflow: hidden; }
#real-map.leaflet-container { font: inherit; }
.map-fallback { position: absolute; z-index: 500; inset: 0; display: grid; place-items: center; margin: 0; padding: 24px; color: #5d6c61; background: rgba(245, 244, 233, .94); font-size: 12px; line-height: 1.7; text-align: center; }
.map-fallback[hidden] { display: none !important; }
.leaflet-popup-content-wrapper { border-radius: 11px; color: var(--ink); }
.leaflet-popup-content { margin: 10px 12px; font-size: 11px; line-height: 1.65; }
.leaflet-popup-content strong { color: var(--forest-dark); }
.leaflet-control-attribution { font-size: 8px; }
.amap-center-pin { display: grid; width: 24px; height: 24px; place-items: center; border: 1px dashed #315c49; border-radius: 50%; color: #315c49; background: rgba(247, 245, 237, .9); font-size: 13px; }
.amap-share-pin { display: grid; width: 24px; height: 24px; place-items: center; border: 2px solid white; border-radius: 50%; color: white; background: var(--pin-color, #315c49); box-shadow: 0 2px 7px rgba(35, 69, 53, .28); font-size: 11px; cursor: pointer; }
.amap-container { border-radius: 13px; }
.amap-logo, .amap-copyright { opacity: .72; }
.map-location-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.map-picker-map { width: 100%; height: 360px; margin: 10px 0; overflow: hidden; border: 1px solid rgba(49, 92, 73, .14); border-radius: 13px; background: #e8eee5; }
.map-picker-status { min-height: 22px; color: #5f6e63; font-size: 11px; }
.weiguang-map-pin, .weiguang-picker-pin {
  display: grid; width: 30px; height: 30px; place-items: center; border: 2px solid #fff;
  border-radius: 50% 50% 50% 4px; color: #fff; background: #d99a69;
  box-shadow: 0 0 0 4px rgba(217, 154, 105, .18), 0 4px 12px rgba(35, 69, 53, .3);
  font-size: 14px; transform: rotate(-45deg); animation: weiguangPulse 2.6s ease-in-out infinite;
}
.weiguang-map-pin span, .weiguang-picker-pin span { transform: rotate(45deg); }
@keyframes weiguangPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(217, 154, 105, .18), 0 4px 12px rgba(35, 69, 53, .3); }
  50% { box-shadow: 0 0 0 10px rgba(217, 154, 105, .06), 0 4px 18px rgba(35, 69, 53, .35); }
}
@media (max-width: 680px) { .map-picker-map { height: 300px; } }
/* Netlify 免费项目会在右下角注入隔离的 “Powered by Netlify” 徽标；给固定底部导航留出安全区。 */
@media (max-width: 1180px) {
  body.has-netlify-badge { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
  body.has-netlify-badge .bottom-nav { bottom: calc(68px + env(safe-area-inset-bottom)); }
}
@media (max-width: 680px) {
  body.has-netlify-badge { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
  body.has-netlify-badge .bottom-nav {
    bottom: 0;
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }
}
.map-preview-pin { position: absolute; z-index: 2; display: grid; width: 36px; height: 36px; padding: 0; place-items: center; border: 2px solid white; border-radius: 50% 50% 50% 3px; color: white; background: var(--forest); box-shadow: 0 3px 9px rgba(35, 69, 53, .2); cursor: pointer; transform: rotate(-45deg); }
.map-preview-pin::first-letter { transform: rotate(45deg); }
.pin-one { top: 33%; left: 34%; }.pin-two { top: 62%; left: 68%; background: var(--orange); }.pin-three { top: 27%; left: 73%; background: #69886d; }
.map-filter-list, .filter-list { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 13px; }
.filter-chip { min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 22px; color: var(--muted); background: var(--white); cursor: pointer; font-size: 11px; }
.filter-chip:hover, .filter-chip.is-selected { border-color: var(--forest); color: var(--forest); background: var(--sage); }
.map-share-card { padding: 0; overflow: hidden; }
.map-share-open { width: 100%; display: block; padding: 14px 14px 8px; border: 0; color: inherit; text-align: left; background: transparent; cursor: pointer; }
.map-share-open:hover h3 { text-decoration: underline; text-decoration-color: var(--orange); }
.map-share-open img, .map-detail-content img { width: 100%; max-height: 230px; margin-bottom: 10px; border-radius: 9px; object-fit: cover; }
.map-share-actions { margin: 0; padding: 0 14px 12px; }
.map-share-card[hidden] { display: none !important; }
.map-share-card .type-badge { margin-bottom: 2px; }
.map-share-meta { margin-top: 9px; }
.secondary-action, .primary-action { min-height: 44px; padding: 10px 15px; border-radius: 24px; font-size: 11px; font-weight: 700; }
.secondary-action { width: 100%; margin-top: 12px; border: 1px dashed #c8d1c8; color: #758078; background: transparent; }
.help-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.help-toolbar .filter-list { margin: 0; }
.match-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 13px 20px; align-items: center; margin: 0 0 14px; padding: 17px; border: 1px solid rgba(49, 92, 73, .12); border-radius: 15px; background: linear-gradient(120deg, #edf2e9, #f9f6ed); }
.match-panel h2 { margin: 0 0 4px; color: var(--forest-dark); font-size: 16px; }
.match-panel .eyebrow { margin-bottom: 3px; }
.match-panel > div > p:last-child { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.match-run-button { width: auto; margin: 0; white-space: nowrap; }
.match-results { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.match-results[hidden] { display: none !important; }
.match-result-card { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 254, 250, .86); }
.match-result-card h3 { margin: 7px 0 2px; color: var(--forest-dark); font-size: 12px; overflow-wrap: anywhere; }
.match-result-card small { color: var(--muted); font-size: 9px; }
.match-result-card > p { margin: 8px 0 0; color: #7c877e; font-size: 9px; line-height: 1.6; }
.match-connector { display: block; margin: 4px 0; color: var(--orange); text-align: center; }
.exchange-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.exchange-toolbar .filter-list { margin: 0; }
.exchange-toolbar .exchange-coming-soon { width: auto; min-height: 44px; flex: 0 0 auto; margin: 0; padding-inline: 15px; }
.exchange-principle { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; padding: 15px; border-radius: 12px; color: #5e6c62; background: var(--sage); font-size: 11px; line-height: 1.7; }
.exchange-principle > span { color: var(--orange); font-size: 17px; }
.exchange-principle p { margin: 0; }
.exchange-principle strong { color: var(--forest); }
.primary-action { flex: 0 0 auto; border: 0; color: white; background: var(--forest); cursor: pointer; }
.primary-action:hover { background: var(--forest-dark); }
.help-listing-grid { margin-top: 16px; }
.help-empty { grid-column: 1 / -1; padding: 20px; border-radius: 12px; color: var(--muted); background: var(--sage); text-align: center; }
.dm-demo-notice { margin-bottom: 14px; }
.messages-page .messages-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.messages-page .messages-heading .page-intro { margin-bottom: 0; }
.messages-request-badge { flex: 0 0 auto; margin-bottom: 4px; }
.messages-panel { min-width: 0; }
.messages-page .dm-layout { grid-template-columns: 285px minmax(0, 1fr); }
.messages-page .dm-sidebar { max-height: 64vh; overflow-y: auto; }
.messages-page .dm-thread-content { min-height: 430px; max-height: 58vh; overflow-y: auto; }
.dm-mobile-back { display: none; }
.dm-layout { display: grid; grid-template-columns: 265px minmax(0, 1fr); gap: 14px; align-items: stretch; }
.dm-sidebar, .dm-thread-panel { min-width: 0; padding: 16px; border: 1px solid rgba(49, 92, 73, .1); border-radius: 16px; background: rgba(255, 254, 250, .85); }
.dm-sidebar-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.dm-sidebar-heading .eyebrow { margin-bottom: 2px; font-size: 10px; }
.dm-sidebar-heading h2 { margin: 0; color: var(--forest-dark); font-size: 18px; }
.dm-request-badge { display: inline-flex; min-width: 22px; height: 22px; align-items: center; justify-content: center; padding: 0 7px; border-radius: 999px; color: #fff; background: #b36a45; font-size: 10px; font-weight: 800; line-height: 1; }
.dm-request-badge[hidden] { display: none !important; }
.messages-page { padding-top: 24px; }
.dm-conversation-list { display: grid; gap: 7px; }
.dm-conversation { width: 100%; min-height: 64px; display: flex; align-items: center; gap: 9px; padding: 9px; border: 1px solid transparent; border-radius: 11px; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.dm-conversation:hover, .dm-conversation.is-selected { border-color: rgba(49, 92, 73, .15); background: var(--sage); }
.dm-avatar { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: #e4ece1; font-weight: 700; }
.dm-conversation-copy { min-width: 0; flex: 1; }
.dm-conversation-copy strong, .dm-conversation-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-conversation-copy strong { color: var(--forest-dark); font-size: 11px; }
.dm-conversation-copy small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.dm-state { flex: 0 0 auto; padding: 3px 6px; border-radius: 10px; color: #805b3f; background: #f4e4d2; font-size: 9px; }
.dm-state.accepted { color: var(--forest); background: #e3eee1; }
.dm-thread-panel { display: flex; flex-direction: column; }
.dm-thread-content { flex: 1; min-height: 240px; display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 11px; background: #f2f4ee; }
.dm-thread-heading { display: flex; align-items: center; gap: 9px; padding-bottom: 10px; border-bottom: 1px solid rgba(49, 92, 73, .11); }
.dm-thread-heading strong { display: block; color: var(--forest-dark); font-size: 13px; }
.dm-thread-heading small { display: block; color: var(--muted); font-size: 9px; }
.dm-request-card { margin: auto 0; padding: 14px; border: 1px solid #ead9c8; border-radius: 12px; color: #655748; background: #fffaf4; font-size: 11px; line-height: 1.7; }
.dm-request-card strong { display: block; margin-bottom: 4px; color: #805b3f; }
.dm-message { max-width: 86%; padding: 9px 11px; border-radius: 12px 12px 12px 3px; color: #46564c; background: white; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
.dm-message.mine { align-self: flex-end; border-radius: 12px 12px 3px 12px; color: white; background: var(--forest); }
.dm-message time { display: block; margin-top: 3px; opacity: .72; font-size: 9px; }
.dm-report-button { display: block; margin-top: 4px; padding: 0; border: 0; color: #8a968d; background: transparent; cursor: pointer; font-size: 9px; }
.dm-message.mine .dm-report-button { color: rgba(255, 255, 255, .78); }
.dm-thread-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.dm-action-button { min-height: 42px; padding: 8px 13px; border: 1px solid var(--forest); border-radius: 22px; color: var(--forest); background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }
.dm-action-button.primary { color: white; background: var(--forest); }
.dm-action-button:hover:not(:disabled) { color: white; background: var(--forest-dark); }
.dm-action-button:disabled { border-color: var(--line); color: #929a93; background: #eff1ec; cursor: not-allowed; }
.dm-compose { display: flex; gap: 8px; }
.dm-compose input { min-width: 0; min-height: 44px; flex: 1; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; font-size: 11px; }
.dm-compose button { min-width: 64px; min-height: 44px; padding: 8px 13px; border: 0; border-radius: 10px; color: white; background: var(--forest); cursor: pointer; font-size: 11px; font-weight: 700; }
.dm-compose button:disabled { color: #929a93; background: #e9ece6; cursor: not-allowed; }
.dm-status-message, .dm-safety-note { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.dm-safety-note { margin-top: 10px; }
.home-hub { display: grid; gap: 16px; padding: 34px 0 54px; }
.home-primary-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 24px;
  padding: clamp(26px, 5vw, 54px);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(242, 217, 164, .26), transparent 32%),
    linear-gradient(125deg, #315c49 0%, #244535 62%, #1c382b 100%);
  box-shadow: 0 24px 60px rgba(35, 69, 53, .2);
}
.home-primary-card::before,
.home-primary-card::after { position: absolute; content: ""; border: 1px solid rgba(255, 255, 255, .1); border-radius: 50%; pointer-events: none; }
.home-primary-card::before { width: 520px; height: 520px; top: -260px; right: -110px; }
.home-primary-card::after { width: 360px; height: 360px; right: 90px; bottom: -250px; }
.home-primary-copy { position: relative; z-index: 2; min-width: 0; }
.home-module-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; color: rgba(255, 255, 255, .7); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.home-module-kicker span { display: inline-grid; width: 25px; height: 25px; place-items: center; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; color: #f2d9a4; font-size: 9px; letter-spacing: 0; }
.home-primary-card h2 { margin: 0; color: #fffdf7; font-size: clamp(56px, 8vw, 98px); line-height: .98; letter-spacing: -.07em; }
.home-primary-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 27px; }
.home-primary-action, .home-primary-link { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 17px; border: 1px solid rgba(255, 255, 255, .36); border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .08); cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; transition: background .18s ease, color .18s ease, transform .18s ease; }
.home-primary-action:hover, .home-primary-link:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .16); }
.home-primary-action.is-solid { color: var(--forest-dark); border-color: #f5ead5; background: #f5ead5; }
.home-primary-action.is-solid:hover { background: #fffaf0; }
.home-primary-link { border-color: transparent; color: rgba(255, 255, 255, .78); background: transparent; }
.home-primary-art { position: relative; z-index: 1; display: grid; width: 250px; height: 250px; place-items: center; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; background: radial-gradient(circle, rgba(242, 217, 164, .26), rgba(255, 255, 255, .02) 62%, transparent 63%); }
.home-primary-art::before { position: absolute; inset: 26px; content: ""; border: 1px dashed rgba(255, 255, 255, .22); border-radius: 50%; }
.home-primary-art span { color: #f2d9a4; font-size: 56px; text-shadow: 0 0 30px rgba(242, 217, 164, .5); }
.home-primary-art i, .home-primary-art b { position: absolute; display: block; border-radius: 50%; background: #f2d9a4; }
.home-primary-art i:nth-of-type(1) { width: 9px; height: 9px; top: 34px; right: 42px; opacity: .8; }
.home-primary-art i:nth-of-type(2) { width: 5px; height: 5px; bottom: 48px; left: 35px; opacity: .6; }
.home-primary-art b { width: 4px; height: 4px; right: 25px; bottom: 72px; opacity: .55; }
.home-secondary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.home-secondary-card { position: relative; min-height: 215px; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: 27px 29px; border: 1px solid rgba(49, 92, 73, .12); border-radius: 24px; }
.home-secondary-card h2 { margin: 0; color: var(--forest-dark); font-size: clamp(32px, 4vw, 47px); line-height: 1.05; letter-spacing: -.055em; }
.home-secondary-card .home-module-kicker { color: #718277; }
.home-secondary-card .home-module-kicker span { border-color: rgba(49, 92, 73, .25); color: var(--forest); }
.home-secondary-link { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding: 0; border: 0; color: var(--forest); background: transparent; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; }
.home-secondary-link:hover { color: var(--forest-dark); }
.home-secondary-link span { font-size: 16px; transition: transform .18s ease; }
.home-secondary-link:hover span { transform: translateX(3px); }
.home-secondary-mark { position: absolute; right: 14px; bottom: -30px; color: rgba(49, 92, 73, .1); font-size: 158px; line-height: 1; pointer-events: none; }
.home-exchange-card { background: linear-gradient(140deg, #f4ead9, #faf6ed); }
.home-map-card { background: linear-gradient(140deg, #e8f0e6, #f7f8f0); }
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr); gap: clamp(32px, 5vw, 68px); align-items: center; padding: 46px 0 48px; }
.hero-copy { max-width: 610px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--forest); font-size: 12px; font-weight: 700; letter-spacing: .11em; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
h1, h2, p { margin-top: 0; }
.hero h1 { margin: 0; color: var(--forest-dark); font-size: clamp(36px, 4.5vw, 52px); line-height: 1.25; letter-spacing: -.045em; }
.hero h1 span { color: var(--forest); }
.hero-description { max-width: 510px; margin: 16px 0 20px; color: #5d6a61; font-size: 15px; line-height: 1.8; }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-action { min-height: 72px; display: flex; align-items: center; gap: 11px; padding: 12px 14px; border: 1px solid var(--forest); border-radius: 14px; text-align: left; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.hero-action:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(49, 92, 73, .13); }
.action-need { color: white; background: var(--forest); }
.action-need:hover { background: var(--forest-dark); }
.action-offer { color: var(--forest); background: rgba(255, 254, 250, .78); }
.action-offer:hover { background: white; }
.action-icon { flex: 0 0 31px; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: #f5dfad; font-size: 19px; }
.action-offer .action-icon { color: var(--forest); background: var(--sage); }
.hero-action strong, .hero-action small { display: block; }
.hero-action strong { font-size: 14px; line-height: 1.4; }
.hero-action small { margin-top: 4px; opacity: .78; font-size: 10px; line-height: 1.45; }
.action-arrow { margin-left: auto; font-size: 17px; }
.ai-entry { width: fit-content; display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 8px 13px 8px 9px; border: 1px solid #d9e1d7; border-radius: 12px; color: var(--ink); text-align: left; background: rgba(233, 239, 231, .56); cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.ai-entry:hover { border-color: var(--forest); background: var(--sage); }
.ai-entry-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: white; background: var(--forest); font-size: 11px; font-weight: 750; letter-spacing: -.03em; }
.ai-entry strong, .ai-entry span span { display: block; }
.ai-entry strong { color: var(--forest); font-size: 12px; }
.ai-entry span span { color: var(--muted); font-size: 11px; }
.ai-entry-arrow { margin-left: 11px; color: var(--forest); }

.hero-art { position: relative; min-height: 330px; overflow: hidden; border-radius: 48% 48% 24px 24px / 32% 32% 24px 24px; background: #e4ece1; }
.hero-art::before { position: absolute; inset: 20px; content: ""; border: 1px solid rgba(49, 92, 73, .1); border-radius: inherit; }
.art-sun { position: absolute; top: 54px; right: 70px; width: 76px; height: 76px; border-radius: 50%; background: #f2d9a4; box-shadow: 0 0 0 17px rgba(242, 217, 164, .22); }
.art-window { position: absolute; top: 82px; left: 50%; width: 132px; height: 146px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; padding: 8px; border: 7px solid #a6bda9; border-bottom-width: 10px; border-radius: 70px 70px 6px 6px; transform: translateX(-50%); background: #faf5e8; opacity: .88; }
.art-window span { background: #f6dfab; opacity: .8; }
.art-window span:nth-child(2), .art-window span:nth-child(3) { background: #d7e5d4; }
.art-hill { position: absolute; bottom: 0; width: 125%; height: 41%; border-radius: 50% 50% 0 0 / 34% 34% 0 0; }
.art-hill-back { left: -36%; bottom: 39px; background: #cadbca; transform: rotate(-7deg); }
.art-hill-front { right: -37%; height: 37%; background: #a8c2ac; transform: rotate(8deg); }
.art-plant { position: absolute; z-index: 2; bottom: 43px; width: 53px; height: 78px; }
.art-plant-left { left: 14%; transform: scale(.85); }
.art-plant-right { right: 13%; bottom: 54px; transform: scale(1.08); }
.art-plant b { position: absolute; bottom: -16px; left: 4px; width: 48px; height: 31px; border-radius: 4px 4px 17px 17px; background: #bd8059; }
.art-plant i { position: absolute; z-index: 1; bottom: 12px; left: 25px; width: 20px; height: 34px; border-radius: 100% 0 100% 0; background: #547c5f; transform: rotate(-35deg); transform-origin: bottom; }
.art-plant i:nth-child(2) { left: 10px; bottom: 18px; transform: rotate(-70deg) scale(.82); background: #6f946f; }
.art-plant i:nth-child(3) { left: 26px; bottom: 37px; transform: rotate(-18deg) scale(.75); background: #789b74; }
.art-plant::after { position: absolute; bottom: 11px; left: 25px; width: 3px; height: 45px; content: ""; background: #547c5f; transform: rotate(-8deg); }
.art-note { position: absolute; z-index: 3; right: 9%; bottom: 29%; display: flex; align-items: center; gap: 10px; padding: 13px 17px; border: 1px solid rgba(49, 92, 73, .08); border-radius: 14px; background: rgba(255, 254, 250, .94); box-shadow: 0 8px 25px rgba(49, 92, 73, .09); }
.note-sparkle { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: var(--forest); background: var(--sage); font-size: 19px; }
.art-note b, .art-note small { display: block; }
.art-note b { color: var(--forest); font-size: 11px; }
.art-note small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.art-caption { position: absolute; z-index: 3; right: 0; bottom: 17px; left: 0; color: rgba(35, 69, 53, .72); text-align: center; font-size: 11px; letter-spacing: .12em; }

.city-glow-section { margin: 0 0 35px; }
.city-glow-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .38fr); gap: 24px; padding: clamp(20px, 3vw, 30px); border: 1px solid rgba(49, 92, 73, .13); border-radius: 20px; background: linear-gradient(120deg, #edf2e9 0%, #f8f5eb 100%); box-shadow: 0 10px 28px rgba(49, 92, 73, .055); }
.city-glow-content { min-width: 0; }
.city-glow-content .eyebrow { margin-bottom: 6px; }
.city-glow-content h2 { margin: 0; color: var(--forest-dark); font-size: 26px; }
.city-glow-description { max-width: 660px; margin: 8px 0 16px; color: #5b6c61; font-size: 13px; line-height: 1.8; }
.city-glow-figures { display: flex; flex-wrap: wrap; align-items: end; gap: 24px; margin-bottom: 12px; }
.city-glow-figures > div { display: grid; gap: 1px; color: #718075; font-size: 11px; }
.city-glow-figures > div:first-child { display: flex; align-items: baseline; gap: 6px; }
.city-glow-figures strong { color: var(--forest); font-size: 14px; }
.city-glow-figures > div:first-child strong { font-size: 27px; line-height: 1.1; }
.glow-progress-track { height: 11px; overflow: hidden; border-radius: 999px; background: rgba(49, 92, 73, .13); }
.glow-progress-track > span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--forest), #7b9a78); transition: width .25s ease; }
.city-glow-status { margin: 9px 0 0; color: #657568; font-size: 11px; line-height: 1.65; }
.city-glow-actions { display: flex; flex-direction: column; align-items: stretch; justify-content: center; padding: 19px; border-radius: 15px; background: rgba(255, 254, 250, .72); }
.city-glow-spark { color: var(--orange); font-size: 26px; line-height: 1; }
.city-glow-actions p { margin: 8px 0 14px; color: #5d6c61; font-size: 12px; line-height: 1.7; }
.glow-record-button { min-height: 46px; padding: 10px 16px; border: 0; border-radius: 24px; color: white; background: var(--forest); cursor: pointer; font-size: 13px; font-weight: 700; }
.glow-record-button:hover { background: var(--forest-dark); }
.glow-profile-link { min-height: 44px; margin-top: 5px; border: 0; color: var(--forest); background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.city-glow-footnote { margin: 9px 2px 0; color: #818b82; font-size: 10px; line-height: 1.65; }

.section-block { padding: 26px 0 44px; border-top: 1px solid rgba(49, 92, 73, .12); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.section-heading .eyebrow { margin-bottom: 4px; }
.section-heading h2 { margin: 0; color: var(--forest-dark); font-size: 23px; letter-spacing: -.025em; }
.listing-heading-actions { display: flex; align-items: center; gap: 14px; }
.section-link { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 0; border-radius: 20px; color: var(--forest); background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.section-link:hover { background: var(--sage); }
.subtle-note { padding-bottom: 4px; color: #879188; font-size: 11px; }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.listing-card-shell { min-width: 0; display: grid; grid-template-rows: 1fr auto; gap: 5px; }
.listing-card { width: 100%; min-height: 195px; display: flex; flex-direction: column; align-items: stretch; padding: 19px; border: 1px solid #e4e8e0; border-radius: 15px; color: inherit; text-align: left; background: rgba(255, 254, 250, .82); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.listing-card:hover, .profile-listing:hover { transform: translateY(-2px); border-color: #b9cbb9; box-shadow: var(--shadow); }
.listing-card-save { min-height: 38px; justify-self: end; padding: 6px 12px; border: 1px solid #d8e2d6; border-radius: 20px; color: var(--forest); background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }
.listing-card-save:hover { background: var(--sage); }
.listing-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.type-badge { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 14px; color: var(--forest); background: var(--sage); font-size: 10px; font-weight: 700; }
.type-badge.offer { color: #825528; background: #f4e8d9; }
.type-badge.exchange { color: #6b6145; background: #f0ead8; }
.card-category { color: #849087; font-size: 10px; }
.listing-card h3 { margin: 15px 0 7px; color: var(--forest-dark); font-size: 16px; line-height: 1.5; }
.listing-card-description { display: -webkit-box; overflow: hidden; margin: 0; color: #68766d; font-size: 12px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.listing-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; color: #7b877e; font-size: 10px; }
.listing-author { display: inline-flex; align-items: center; gap: 6px; }
.mini-avatar { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: #e4ece1; font-size: 10px; font-weight: 700; }
.empty-state { grid-column: 1 / -1; padding: 28px; border: 1px dashed #cad7c9; border-radius: 14px; color: var(--muted); text-align: center; background: rgba(255, 254, 250, .55); font-size: 13px; }

.map-board { position: relative; height: 208px; overflow: hidden; border: 1px solid rgba(49, 92, 73, .1); border-radius: 13px; background: #f5f4e9; }
.map-board.map-page-board { height: 300px; }
.map-block { position: absolute; z-index: 1; border: 1px solid rgba(107, 143, 110, .12); border-radius: 14px; background: #dce8d8; }
.block-one { top: 14%; left: 10%; width: 19%; height: 28%; transform: rotate(-8deg); }
.block-two { right: 11%; bottom: 15%; width: 24%; height: 30%; transform: rotate(8deg); background: #e4e9d9; }
.block-three { top: 17%; right: 26%; width: 15%; height: 22%; transform: rotate(5deg); background: #e8ebdb; }
.map-road { position: absolute; z-index: 2; border: 6px solid #fffdf6; border-right: 0; border-left: 0; opacity: .9; }
.road-one { top: 50%; left: -5%; width: 112%; height: 21px; transform: rotate(-10deg); }
.road-two { top: -15%; left: 48%; width: 24px; height: 140%; border: 0; border-right: 6px solid #fffdf6; border-left: 6px solid #fffdf6; transform: rotate(19deg); }
.road-three { top: 28%; left: 7%; width: 48%; height: 16px; transform: rotate(32deg); }
.map-label { position: absolute; z-index: 3; color: #819080; font-size: 9px; }
.label-park { top: 12%; left: 37%; }.label-square { right: 7%; bottom: 8%; }
.map-caption { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; color: #78847b; font-size: 10px; }
.gentle-reminder { display: flex; align-items: center; gap: 12px; margin: 0 0 65px; padding: 13px 17px; border-radius: 11px; color: #627267; background: rgba(233, 239, 231, .54); font-size: 11px; }
.gentle-reminder span { color: #bd895b; font-size: 19px; }.gentle-reminder p { margin: 0; }

.inner-page { min-height: 70vh; padding: 36px 0 80px; }
.inner-page-heading { max-width: 760px; margin: 0 auto 27px; text-align: center; }
.back-link { display: flex; align-items: center; gap: 7px; width: fit-content; margin: 0 0 31px; padding: 7px 0; border: 0; color: var(--forest); background: transparent; cursor: pointer; font-size: 12px; font-weight: 650; }
.back-link span { font-size: 18px; }
.inner-page-heading .eyebrow { justify-content: center; margin-bottom: 8px; }
.inner-page-heading h1 { margin: 0; color: var(--forest-dark); font-size: clamp(30px, 4vw, 39px); letter-spacing: -.04em; }
.page-intro { margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.publish-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 22px; align-items: start; max-width: 970px; margin: auto; }
.form-card { padding: clamp(22px, 4vw, 36px); border: 1px solid #e4e8e0; border-radius: 18px; background: var(--white); box-shadow: 0 8px 30px rgba(49, 92, 73, .045); }
.type-picker { min-width: 0; margin: 0 0 25px; padding: 0; border: 0; }
.type-picker legend { margin-bottom: 11px; color: #4f6055; font-size: 12px; font-weight: 700; }
.type-options { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.type-option { display: flex; align-items: center; gap: 11px; min-height: 70px; padding: 11px 13px; border: 1px solid #dfe5dc; border-radius: 12px; color: var(--muted); text-align: left; background: white; cursor: pointer; }
.type-option > span:first-child { flex: 0 0 29px; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: var(--sage); font-size: 17px; }
.type-option strong, .type-option small { display: block; }
.type-option strong { color: var(--forest-dark); font-size: 12px; }
.type-option small { margin-top: 3px; font-size: 9px; line-height: 1.45; }
.type-option.is-selected { border-color: var(--forest); background: #f1f5ef; box-shadow: inset 0 0 0 1px var(--forest); }
.form-field { min-width: 0; margin-bottom: 18px; }
.form-field label { display: block; margin-bottom: 7px; color: #43564a; font-size: 12px; font-weight: 700; }
.form-field input, .form-field textarea, .form-field select, #ai-input { width: 100%; border: 1px solid #dbe2d9; border-radius: 10px; color: var(--ink); background: #fffefa; transition: border-color .15s ease, box-shadow .15s ease; }
.form-field input, .form-field select { min-height: 45px; padding: 10px 12px; }
.form-field textarea, #ai-input { min-height: 116px; padding: 12px; resize: vertical; line-height: 1.7; }
.form-field input::placeholder, .form-field textarea::placeholder, #ai-input::placeholder { color: #a0a99f; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus, #ai-input:focus { border-color: #73917d; box-shadow: 0 0 0 3px rgba(49, 92, 73, .08); outline: none; }
.field-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 5px; color: #929a92; font-size: 10px; }
.text-button { padding: 3px 0; border: 0; color: var(--forest); background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.text-button:hover { text-decoration: underline; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.privacy-note { display: flex; align-items: flex-start; gap: 9px; margin: 3px 0 20px; padding: 12px; border-radius: 10px; color: #647367; background: #f1f5ef; font-size: 10px; }
.privacy-note span { color: var(--forest); font-size: 15px; }.privacy-note p { margin: 0; }
.submit-button { width: 100%; min-height: 47px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 17px; border: 0; border-radius: 10px; color: white; background: var(--forest); cursor: pointer; font-size: 13px; font-weight: 700; transition: background .18s ease, transform .18s ease; }
.submit-button:hover { background: var(--forest-dark); transform: translateY(-1px); }
.submit-button span { color: #f4dba8; }
.writing-note { padding: 23px 21px; border: 1px solid rgba(49, 92, 73, .1); border-radius: 16px; background: var(--sage); }
.writing-note-icon { display: grid; width: 36px; height: 36px; margin-bottom: 16px; place-items: center; border-radius: 50%; color: #8b6944; background: #f4e7d4; font-size: 18px; }
.writing-note h2 { margin: 0 0 12px; color: var(--forest-dark); font-size: 15px; }
.writing-note ul { display: grid; gap: 10px; margin: 0; padding-left: 18px; color: #68766d; font-size: 11px; }
.writing-note li::marker { color: var(--orange); }
.writing-note p { margin: 17px 0 0; padding-top: 13px; border-top: 1px solid rgba(49, 92, 73, .12); color: var(--forest); font-size: 10px; }
.success-message { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin: 0 0 17px; padding: 12px; border: 1px solid #c7dbc4; border-radius: 11px; color: var(--forest); background: #eef5eb; }
.success-message[hidden] { display: none; }
.success-message > span { width: 27px; height: 27px; display: grid; flex: 0 0 27px; place-items: center; border-radius: 50%; color: white; background: var(--forest); }
.success-message > div { min-width: 0; flex: 1; }.success-message strong { display: block; font-size: 12px; }.success-message p { margin: 1px 0 0; color: #6a796d; font-size: 10px; overflow-wrap: anywhere; }.success-message .text-button { margin-left: auto; white-space: nowrap; }

.detail-heading { max-width: 880px; text-align: left; }.detail-heading .eyebrow { justify-content: flex-start; }
.detail-card { max-width: 820px; margin: auto; padding: clamp(22px, 5vw, 45px); border: 1px solid #e4e8e0; border-radius: 19px; background: var(--white); box-shadow: 0 10px 34px rgba(49, 92, 73, .05); }
.detail-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.detail-date { color: #929a92; font-size: 11px; }
.detail-card > h1 { margin: 17px 0 10px; color: var(--forest-dark); font-size: clamp(26px, 4vw, 34px); line-height: 1.4; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; color: #748077; font-size: 12px; }
.meta-separator { color: var(--orange); }
.detail-description { margin: 25px 0 30px; color: #4e5d53; font-size: 14px; line-height: 2; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-divider { height: 1px; background: #e7ebe4; }
.publisher-row { display: flex; align-items: center; gap: 12px; padding: 22px 0; }
.avatar { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: #e2ecdf; font-size: 18px; font-weight: 700; }
.publisher-copy { min-width: 0; }.publisher-label { display: block; color: #909990; font-size: 9px; }.publisher-copy strong { display: block; color: var(--forest-dark); font-size: 13px; }.publisher-copy p { margin: 2px 0 0; color: #7b867e; font-size: 10px; }
.profile-link { margin-left: auto; white-space: nowrap; }
.contact-panel { display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px solid #ebdfca; border-radius: 13px; background: #f8f3e8; }
.contact-sparkle { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #976a40; background: #efdfc3; font-size: 18px; }
.contact-panel > div { min-width: 0; }.contact-panel strong { color: #6c5337; font-size: 12px; }.contact-panel p { margin: 2px 0 0; color: #887c6a; font-size: 10px; }
.contact-button { flex: 0 0 auto; padding: 8px 13px; border: 1px solid #ad8459; border-radius: 20px; color: #795c3d; background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }
.contact-button:hover { color: white; background: #9b754d; }
.contact-button.secondary { border-color: #d8c5ad; color: #806448; }
.contact-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.detail-safety-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.detail-safety-actions button { min-height: 42px; padding: 8px 12px; border: 1px solid #e4d8ce; border-radius: 20px; color: #806448; background: transparent; cursor: pointer; font-size: 10px; }
#detail-withdraw-button { color: #a44b3d; border-color: #e3c7bd; }
.detail-safety-actions button:hover { background: #f8f3e8; }
.back-home-button { display: block; margin: 19px auto 0; padding: 7px 13px; border: 0; color: var(--forest); background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }

.profile-card { display: flex; align-items: center; gap: 19px; max-width: 900px; margin: 0 auto 39px; padding: 25px; border: 1px solid #dce5da; border-radius: 17px; background: var(--sage); }
.avatar-large { flex-basis: 70px; width: 70px; height: 70px; font-size: 26px; }
.profile-copy { flex: 1; min-width: 0; }.profile-kicker { margin: 0 0 3px; color: #768579; font-size: 10px; }.profile-copy h2 { margin: 0; color: var(--forest-dark); font-size: 20px; }.profile-copy > p:last-child { margin: 4px 0 0; color: #657267; font-size: 11px; }
.profile-edit-button { min-height: 44px; padding: 8px 13px; border: 1px solid rgba(49, 92, 73, .28); border-radius: 22px; color: var(--forest); background: rgba(255, 254, 250, .5); cursor: pointer; font-size: 11px; font-weight: 700; }
.profile-stats { display: flex; gap: 27px; padding-left: 22px; border-left: 1px solid rgba(49, 92, 73, .16); }.profile-stats span { display: grid; justify-items: center; }.profile-stats strong { color: var(--forest); font-size: 19px; }.profile-stats small { color: #78847a; font-size: 9px; white-space: nowrap; }
.profile-section { max-width: 900px; margin: 0 auto 32px; }.compact-heading { margin-bottom: 13px; }.compact-heading h2 { font-size: 20px; }
.profile-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.profile-item-shell { min-width: 0; display: grid; grid-template-rows: 1fr auto; gap: 5px; }
.profile-listing { width: 100%; min-height: 120px; display: flex; flex-direction: column; align-items: stretch; padding: 15px; border: 1px solid #e3e8e0; border-radius: 13px; color: inherit; text-align: left; background: var(--white); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.profile-listing h3 { margin: 9px 0 5px; color: var(--forest-dark); font-size: 13px; }.profile-listing-foot { margin-top: auto; color: #8a938b; font-size: 10px; }
.profile-item-delete { min-height: 36px; justify-self: end; padding: 5px 10px; border: 1px solid #ead9ca; border-radius: 18px; color: #875d3c; background: transparent; cursor: pointer; font-size: 10px; }
.map-profile-card { position: relative; }
.map-profile-card .glow-approve-button, .map-remove-button { min-height: 42px; padding: 7px 10px; border: 1px solid var(--forest); border-radius: 20px; color: var(--forest); background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }
.map-remove-button { border-color: #e5d4c7; color: #875d3c; }
.notification-list { display: grid; gap: 8px; }
.notification-card { padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); }
.notification-card.is-read { opacity: .72; }
.notification-card strong { color: var(--forest); font-size: 11px; }
.notification-card p { margin: 4px 0; color: #536157; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.notification-card small { color: #858f86; font-size: 9px; }
.blocked-user-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.blocked-user-card p { margin: 0; }
.blocked-user-card button { min-height: 40px; padding: 7px 12px; border: 1px solid var(--forest); border-radius: 20px; color: var(--forest); background: transparent; cursor: pointer; font-size: 10px; }
.map-image-preview { display: block; max-width: 100%; max-height: 200px; border-radius: 10px; object-fit: contain; }
.map-image-preview[hidden] { display: none !important; }
.map-detail-content { margin: 15px 0; color: var(--muted); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.map-detail-content h3 { margin: 9px 0 5px; color: var(--forest-dark); font-size: 18px; }
.map-detail-content .map-share-meta { margin-top: 10px; }
.profile-publish-button { display: flex; align-items: center; gap: 10px; margin: 6px auto 0; padding: 11px 18px; border: 1px solid var(--forest); border-radius: 24px; color: var(--forest); background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }.profile-publish-button:hover { color: white; background: var(--forest); }
.profile-disclaimer { margin: 13px 0 0; color: #949b93; text-align: center; font-size: 10px; }
.glow-profile-section { padding: 20px; border: 1px solid rgba(49, 92, 73, .12); border-radius: 17px; background: rgba(255, 254, 250, .72); }
.glow-section-heading { margin-bottom: 13px; }
.glow-section-heading h2 { margin: 0; color: var(--forest-dark); font-size: 22px; }
.glow-profile-card { display: flex; align-items: center; gap: 18px; padding: 17px; border-radius: 13px; background: var(--sage); }
.glow-profile-total, .glow-pending-total { display: flex; align-items: baseline; gap: 8px; color: #657568; font-size: 12px; }
.glow-profile-total strong { color: var(--forest); font-size: 28px; line-height: 1; }
.glow-profile-spark { color: var(--orange); font-size: 19px; }
.glow-pending-total { margin-left: auto; padding-left: 17px; border-left: 1px solid rgba(49, 92, 73, .17); }
.glow-pending-total strong { color: #875d3c; font-size: 20px; }
.glow-record-list { display: grid; gap: 9px; margin-top: 12px; }
.glow-record-empty { margin: 0; padding: 15px; border-radius: 11px; color: var(--muted); background: #f5f5ef; font-size: 12px; }
.glow-record-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.glow-record-copy { min-width: 0; }
.glow-record-copy h3 { margin: 0 0 4px; color: var(--forest-dark); font-size: 14px; overflow-wrap: anywhere; }
.glow-record-copy p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.glow-record-meta { grid-column: 1; color: #838e84; font-size: 10px; }
.glow-record-state { align-self: start; padding: 5px 9px; border-radius: 20px; color: #805b3f; background: #f5e9da; font-size: 10px; white-space: nowrap; }
.glow-record-state.approved { color: var(--forest); background: #e4eee1; }
.glow-approve-button { grid-column: 2; grid-row: 2; min-height: 44px; padding: 8px 11px; border: 1px solid var(--forest); border-radius: 22px; color: var(--forest); background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.glow-approve-button:hover { color: white; background: var(--forest); }
.glow-private-note { margin: 10px 0 0; color: #838d84; font-size: 10px; line-height: 1.7; }
.glow-record-copy small { display: block; margin-top: 5px; color: #8a7a68; font-size: 10px; line-height: 1.6; }
.media-preview { display: block; width: 100%; max-width: 360px; max-height: 220px; margin-top: 9px; border: 1px solid var(--line); border-radius: 12px; object-fit: cover; background: #f2f4ee; }
.listing-card-media { width: 100%; height: 138px; margin-top: 10px; border-radius: 10px; object-fit: cover; background: #eef2eb; }
.detail-media { width: 100%; max-height: 440px; margin: 14px 0 2px; border-radius: 13px; object-fit: contain; background: #f2f4ee; }
.glow-record-image { display: block; width: 100%; max-width: 360px; max-height: 190px; margin-top: 8px; border-radius: 10px; object-fit: cover; background: #eef2eb; }
.admin-media { display: block; width: 100%; max-height: 220px; margin: 9px 0; border-radius: 10px; object-fit: cover; background: #eef2eb; }
.glow-record-state.rejected { color: #9a4b3f; background: #f7e5e1; }
.glow-withdraw-button { grid-column: 1; justify-self: start; min-height: 38px; padding: 6px 11px; border: 1px solid #d8c5ad; border-radius: 18px; color: #806448; background: transparent; cursor: pointer; font-size: 10px; }
.glow-proposal-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 20px 0 9px; padding-top: 15px; border-top: 1px solid rgba(49, 92, 73, .11); }
.glow-proposal-heading h3 { margin: 0; color: var(--forest-dark); font-size: 16px; }
.glow-proposal-heading .eyebrow { margin-bottom: 2px; font-size: 9px; }
.activity-proposal-list { display: grid; gap: 9px; }
.activity-proposal-empty, .activity-proposal-card { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.activity-proposal-empty { color: var(--muted); background: #f5f5ef; font-size: 12px; line-height: 1.7; }
.activity-proposal-card h3 { margin: 7px 0 4px; color: var(--forest-dark); font-size: 14px; overflow-wrap: anywhere; }
.activity-proposal-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.activity-proposal-card small { display: block; margin-top: 6px; color: #8a7a68; font-size: 10px; line-height: 1.6; }
.activity-proposal-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; color: #718075; font-size: 10px; }
.activity-proposal-foot .glow-approve-button { min-height: 38px; padding: 6px 12px; font-size: 10px; }
.activity-proposal-foot .glow-approve-button:disabled { color: #7d897f; background: #e9ece6; cursor: default; }
.notification-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.notification-actions button { min-height: 36px; padding: 5px 10px; border: 1px solid #d8c5ad; border-radius: 18px; color: #806448; background: transparent; cursor: pointer; font-size: 10px; }
.notification-actions button:hover { background: #f8ead9; }
.notification-heading-actions { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.notification-preferences { margin: 0 0 12px; padding: 12px 13px; border: 1px solid rgba(49, 92, 73, .13); border-radius: 12px; background: #f7f8f2; }
.notification-preferences .eyebrow { margin-bottom: 7px; }
.notification-pref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; }
.notification-pref-grid label { display: flex; align-items: center; gap: 6px; color: #5f6e63; font-size: 11px; line-height: 1.5; }
.notification-pref-grid input { width: 16px; height: 16px; accent-color: var(--forest); }
.notification-pref-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; }
.notification-pref-footer small { color: #818d83; font-size: 9px; line-height: 1.5; }
.profile-copy h2, .notification-card strong, .notification-card p, .activity-proposal-card h3 { overflow-wrap: anywhere; }
.glow-form { display: grid; gap: 12px; }
.glow-field { display: grid; gap: 6px; }
.glow-field label { color: var(--forest-dark); font-size: 12px; font-weight: 700; }
.glow-field input, .glow-field textarea, .glow-field select { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #d9e1d7; border-radius: 10px; color: var(--ink); background: white; font-size: 13px; }
.glow-field textarea { min-height: 100px; resize: vertical; line-height: 1.7; }
.glow-privacy-note { margin: 0; padding: 10px 12px; border-radius: 10px; color: #765e42; background: #f8f3e8; font-size: 10px; line-height: 1.7; }
.glow-dialog-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: center; }
.glow-cancel-button { min-width: 78px; min-height: 46px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--forest); background: transparent; cursor: pointer; font-size: 12px; }

.site-footer { border-top: 1px solid rgba(49, 92, 73, .12); background: #f1efe7; }
.footer-inner { min-height: 74px; display: flex; align-items: center; gap: 13px; color: #78837a; font-size: 10px; }.footer-brand { color: var(--forest); font-size: 12px; font-weight: 750; }.footer-demo { margin-left: auto; }

.modal-dialog { width: min(520px, calc(100% - 28px)); max-width: none; max-height: min(90vh, 760px); padding: 25px; border: 1px solid #dfe5dc; border-radius: 18px; color: var(--ink); background: var(--white); box-shadow: 0 24px 80px rgba(24, 47, 35, .2); }
.modal-dialog::backdrop { background: rgba(30, 48, 38, .42); backdrop-filter: blur(3px); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }.modal-header .eyebrow { margin-bottom: 3px; }.modal-header h2 { margin: 0; color: var(--forest-dark); font-size: 21px; }
.icon-button { width: 33px; height: 33px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #68766d; background: var(--sage); cursor: pointer; font-size: 21px; line-height: 1; }
.modal-intro { margin: 13px 0 14px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.modal-submit { margin-top: 12px; }
.form-error { margin: 8px 0 0; color: #9a573f; font-size: 11px; }
.ai-result { margin-top: 17px; padding: 15px; border: 1px solid #dbe5d8; border-radius: 12px; background: #f2f6f0; }
.ai-result[hidden] { display: none; }
.result-heading { display: flex; align-items: center; gap: 7px; color: var(--forest); font-size: 12px; }.result-heading span { color: var(--orange); font-size: 17px; }
.ai-result > p { margin: 10px 0 13px; color: #516157; font-size: 11px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-result .ai-result-privacy { margin: 0 0 12px; padding: 9px 10px; border-radius: 8px; color: #765e42; background: #f8f3e8; font-size: 10px; line-height: 1.7; }
.ai-refresh-hint { margin: 9px 0 0; padding: 9px 11px; border-radius: 9px; color: #536359; background: #eef3ec; font-size: 10px; line-height: 1.7; }
.ai-refresh-hint[hidden] { display: none; }
.result-use-button { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--forest); border-radius: 9px; color: var(--forest); background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }.result-use-button:hover:not(:disabled) { color: white; background: var(--forest); }.result-use-button:disabled { cursor: not-allowed; opacity: .55; }
.modal-footnote { margin: 12px 0 0; color: #929a92; font-size: 9px; }
.small-dialog { width: min(440px, calc(100% - 28px)); }
.contact-demo-message { margin: 17px 0; padding: 13px; border-radius: 11px; color: #58675d; background: var(--sage); font-size: 11px; line-height: 1.7; }.contact-demo-message span { margin-right: 6px; color: var(--forest); }

.account-panel { margin: 0 0 24px; padding: 22px; border: 1px solid rgba(49, 92, 73, .16); border-radius: 18px; background: linear-gradient(135deg, #fffefa, #eef3ec); box-shadow: 0 9px 28px rgba(42, 69, 51, .06); }
.account-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.account-panel-heading .eyebrow { margin: 0 0 5px; }
.account-panel-heading h2 { margin: 0; color: var(--forest-dark); font-size: 20px; }
.account-local-badge { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; color: var(--forest); background: #e1ebe0; font-size: 10px; font-weight: 700; }
.account-state-message { margin: 12px 0; color: #53645a; font-size: 12px; line-height: 1.75; }
.account-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
#account-signed-out[hidden], .account-actions[hidden] { display: none !important; }
.account-primary { min-height: 46px; }
.account-logout { min-height: 44px; padding: 9px 15px; border: 1px solid rgba(49, 92, 73, .24); border-radius: 10px; color: var(--forest); background: transparent; cursor: pointer; font-size: 12px; font-weight: 650; }
.account-welcome { margin: 12px 0; color: var(--forest-dark); font-size: 13px; font-weight: 650; }
.membership-state { display: grid; gap: 8px; }
.membership-chip { padding: 12px 14px; border: 1px solid rgba(49, 92, 73, .12); border-radius: 11px; background: rgba(255, 255, 255, .72); }
.membership-chip strong { color: var(--forest); font-size: 12px; }
.membership-chip p { margin: 5px 0 0; color: #68756b; font-size: 11px; line-height: 1.65; }
.membership-chip.is-active { border-color: rgba(49, 92, 73, .3); background: #e9efe7; }
.membership-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; margin-top: 12px; }
.membership-form[hidden] { display: none; }
.membership-form label { grid-column: 1 / -1; margin-bottom: -6px; color: var(--forest-dark); font-size: 11px; font-weight: 650; }
.membership-form select { min-width: 0; min-height: 46px; padding: 9px 12px; border: 1px solid #d6dfd4; border-radius: 9px; color: var(--ink); background: #fffefa; font: inherit; }
.account-privacy-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(49, 92, 73, .12); color: #736b5f; font-size: 10px; line-height: 1.75; }
.auth-tabs { display: flex; gap: 7px; margin: 15px 0 12px; padding: 4px; border-radius: 11px; background: #eef2eb; }
.auth-tabs button { flex: 1; min-height: 40px; border: 0; border-radius: 8px; color: #637166; background: transparent; cursor: pointer; font: inherit; font-size: 12px; }
.auth-tabs button[aria-selected="true"] { color: var(--forest); background: white; box-shadow: 0 2px 8px rgba(36, 57, 41, .08); font-weight: 700; }
.auth-form { gap: 11px; }
.auth-form[hidden] { display: none; }
.auth-form .submit-button { min-height: 46px; }
.auth-form-message { min-height: 19px; margin: 10px 0 0; color: var(--forest); font-size: 11px; line-height: 1.6; }

@media (max-width: 680px) {
  .account-panel { padding: 17px 15px; }
  .account-panel-heading h2 { font-size: 18px; }
  .membership-form { grid-template-columns: 1fr; }
  .membership-form label { grid-column: 1; margin-bottom: 0; }
  .membership-form .submit-button { width: 100%; min-height: 46px; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(290px, .8fr); gap: 26px; padding: 38px 0 40px; }
  .hero-art { min-height: 300px; }
  .hero-actions { grid-template-columns: 1fr; max-width: 400px; }
  .hero-action { min-height: 69px; }
  .publish-layout { grid-template-columns: minmax(0, 1fr) 235px; gap: 15px; }
  .channel-main { grid-template-columns: 1fr; }
}

@media (min-width: 801px) and (max-width: 1080px) {
  .header-inner { gap: 14px; }
  .nav-link { padding: 8px 9px; font-size: 13px; }
  .header-publish { padding: 9px 12px; font-size: 12px; }
}

@media (max-width: 800px) {
  .header-inner { flex-wrap: wrap; gap: 8px; padding-block: 8px; }
  .main-nav { display: flex; order: 3; width: 100%; gap: 6px; margin: 0; }
  .main-nav .nav-link { flex: 1; min-width: 0; min-height: 44px; padding: 7px 6px; border: 1px solid rgba(49, 92, 73, .1); border-radius: 12px; font-size: 12px; font-weight: 650; }
  .main-nav .nav-link[data-page="home"],
  .main-nav .nav-link[data-page="exchange"],
  .main-nav .nav-link[data-page="messages"],
  .main-nav .nav-link[data-page="profile"] { display: none; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .bottom-nav {
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: 0 -10px 28px rgba(36, 57, 41, .08);
    transform: none;
  }
  .bottom-nav-link {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex-direction: column;
    padding: 4px 2px;
    border: 0;
    border-radius: 12px;
    color: #78867b;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    font-weight: 650;
  }
  .bottom-nav-link.is-active { color: var(--forest); background: var(--sage); }
  .bottom-nav-icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .bottom-nav-link.is-active .bottom-nav-icon { fill: rgba(49, 92, 73, .08); }
  .bottom-nav-icon-wrap { position: relative; display: inline-flex; }
  .bottom-nav-badge { position: absolute; top: -5px; right: -11px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px; color: white; background: #b36a45; font-size: 9px; font-weight: 800; line-height: 16px; text-align: center; }
  .messages-page .messages-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .messages-page .messages-heading .page-intro { margin-bottom: 4px; }
  .messages-request-badge { margin-bottom: 0; }
  .messages-page .dm-layout { display: block; }
  .messages-page .dm-sidebar { max-height: none; padding: 13px; }
  .messages-page .dm-thread-panel { padding: 13px; scroll-margin-top: 78px; }
  .messages-page:not(.dm-thread-open) .dm-thread-panel { display: none; }
  .messages-page.dm-thread-open .dm-sidebar { display: none; }
  .messages-page.dm-thread-open .messages-heading,
  .messages-page.dm-thread-open #dm-demo-notice,
  .messages-page.dm-thread-open .dm-safety-note { display: none; }
  .messages-page.dm-thread-open { padding-top: 16px; padding-bottom: 10px; }
  .messages-page.dm-thread-open .dm-thread-panel { height: calc(100vh - 218px); height: calc(100dvh - 218px); min-height: 0; }
  .messages-page.dm-thread-open .dm-thread-content { flex: 1; min-height: 0; max-height: none; }
  .messages-page .dm-conversation { min-height: 62px; }
  .dm-mobile-back { display: inline-flex; min-height: 40px; align-items: center; align-self: flex-start; margin-bottom: 9px; padding: 5px 10px 5px 4px; border: 0; border-radius: 8px; color: var(--forest); background: transparent; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; }
  .dm-mobile-back:hover { background: var(--sage); }
}

@media (max-width: 680px) {
  .page-width { width: min(100% - 32px, 560px); }
  .header-inner { min-height: 67px; gap: 10px; flex-wrap: wrap; padding-block: 9px; }
  .brand { gap: 8px; }.brand-mark { width: 31px; height: 31px; }.brand-mark span { left: 13px; }.brand-name { font-size: 16px; }
  .main-nav { order: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 6px; margin: 0; }
  .brand, .nav-link, .header-publish, .back-link, .text-button, .contact-button, .icon-button, .profile-publish-button { min-height: 44px; }
  .nav-link { display: inline-flex; min-width: 0; min-height: 46px; align-items: center; justify-content: center; padding: 8px 5px; border: 1px solid rgba(49, 92, 73, .1); border-radius: 12px; font-size: 12px; font-weight: 600; white-space: nowrap; }
  .nav-link[data-page="home"], .nav-link[data-page="profile"] { color: var(--forest); background: #e5ede3; font-weight: 800; }
  .nav-link[data-page="home"].is-active, .nav-link[data-page="profile"].is-active { border-color: rgba(49, 92, 73, .38); background: #dce8da; box-shadow: inset 0 0 0 1px rgba(49, 92, 73, .08); }
  .header-publish { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; padding: 8px 11px; font-size: 10px; }
  .text-button { display: inline-flex; align-items: center; justify-content: center; padding-inline: 5px; }
  .contact-button { min-width: 92px; }
  .icon-button { flex: 0 0 44px; width: 44px; height: 44px; }
  .home-hub { gap: 12px; padding: 18px 0 33px; }
  .home-primary-card { min-height: 265px; grid-template-columns: 1fr; gap: 8px; padding: 25px 22px; border-radius: 22px; }
  .home-primary-card h2 { font-size: clamp(54px, 16vw, 76px); }
  .home-primary-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 20px; }
  .home-primary-action, .home-primary-link { width: 100%; min-height: 44px; }
  .home-primary-art { position: absolute; right: -58px; bottom: -68px; width: 210px; height: 210px; opacity: .42; }
  .home-primary-art::before { inset: 22px; }
  .home-secondary-grid { grid-template-columns: 1fr; gap: 10px; }
  .home-secondary-card { min-height: 154px; padding: 21px 22px; border-radius: 19px; }
  .home-secondary-card h2 { font-size: 34px; }
  .home-secondary-mark { right: 9px; bottom: -23px; font-size: 116px; }
  .hero { grid-template-columns: 1fr; gap: 23px; padding: 31px 0 34px; }
  .hero h1 { font-size: clamp(37px, 10vw, 49px); }
  .hero-description { margin: 16px 0 20px; font-size: 13px; }
  .hero-actions { grid-template-columns: 1fr 1fr; gap: 9px; max-width: none; }
  .hero-action { min-height: 88px; gap: 8px; padding: 10px; }.action-icon { flex-basis: 30px; width: 30px; height: 30px; font-size: 17px; }.hero-action strong { font-size: 12px; }.hero-action small { font-size: 10px; }.action-arrow { font-size: 14px; }
  .ai-entry { margin-top: 12px; }
  .hero-art { min-height: 275px; border-radius: 45% 45% 20px 20px / 26% 26% 20px 20px; }
  .art-window { top: 52px; transform: translateX(-50%) scale(.82); }.art-sun { top: 37px; right: 16%; width: 58px; height: 58px; }.art-note { right: 6%; bottom: 27%; padding: 10px 12px; }.art-plant-left { left: 12%; transform: scale(.7); }.art-plant-right { right: 9%; bottom: 37px; transform: scale(.85); }
  .section-block { padding: 21px 0 32px; }.section-heading h2 { font-size: 21px; }.subtle-note { font-size: 9px; }
  .listing-heading-actions { gap: 4px; }.section-link { min-height: 44px; padding-inline: 7px; font-size: 10px; }
  .listing-grid { grid-template-columns: 1fr; gap: 10px; }.listing-card { min-height: 165px; padding: 16px; }.listing-card h3 { margin-top: 10px; font-size: 15px; }.listing-card-save { min-height: 44px; font-size: 11px; }
  .listing-card-media { height: 118px; }.detail-media { max-height: 320px; }.media-preview { max-height: 180px; }.glow-record-image { max-height: 170px; }
  .map-board.map-page-board { height: 250px; }
  .map-board { height: 190px; }.gentle-reminder { align-items: flex-start; margin-bottom: 30px; font-size: 10px; }
  .inner-page { padding: 23px 0 57px; }.inner-page-heading { margin-bottom: 22px; }.back-link { margin-bottom: 24px; }.page-intro { font-size: 11px; }
  .publish-layout { grid-template-columns: 1fr; }.form-card { padding: 20px 16px; }.writing-note { order: -1; padding: 16px; }.writing-note-icon { margin-bottom: 8px; }.writing-note h2 { font-size: 13px; }.writing-note ul { gap: 6px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }.field-footer { align-items: flex-start; }.type-option { min-height: 73px; gap: 7px; padding: 9px; }.type-option strong { font-size: 10px; }.type-option small { font-size: 8px; }
  .detail-card { padding: 21px 17px; }.detail-card > h1 { font-size: 25px; }.detail-description { font-size: 12px; }.publisher-row { flex-wrap: wrap; }.profile-link { margin-left: auto; }.contact-panel { flex-wrap: wrap; align-items: flex-start; padding: 13px; }.contact-panel > div { flex: 1; min-width: 0; }.contact-panel > .contact-actions { flex: 1 1 100%; width: 100%; margin-left: 0; justify-content: flex-end; }.contact-button { margin-left: 0; max-width: 100%; }
  .profile-card { flex-wrap: wrap; gap: 12px; padding: 17px; }.avatar-large { flex-basis: 56px; width: 56px; height: 56px; font-size: 21px; }.profile-copy { flex-basis: calc(100% - 75px); }.profile-copy h2 { font-size: 18px; }.profile-edit-button { min-height: 46px; font-size: 12px; }.profile-stats { width: 100%; justify-content: center; gap: 55px; padding: 12px 0 0; border-top: 1px solid rgba(49, 92, 73, .15); border-left: 0; }
  .profile-list { grid-template-columns: 1fr; }.profile-listing { min-height: 108px; }.profile-item-delete { min-height: 44px; font-size: 11px; }
  .profile-copy > p:last-child { font-size: 13px; line-height: 1.65; }.profile-kicker { font-size: 11px; }.profile-stats strong { font-size: 22px; }.profile-stats small { font-size: 11px; }.profile-listing h3 { font-size: 15px; }.profile-listing-foot { font-size: 12px; }
  .city-glow-card { grid-template-columns: 1fr; gap: 15px; padding: 19px; }.city-glow-content h2 { font-size: 24px; }.city-glow-description { font-size: 13px; }.city-glow-figures { gap: 18px; }.city-glow-figures > div { font-size: 11px; }.city-glow-status { font-size: 12px; }.city-glow-actions { padding: 15px; }.city-glow-footnote { font-size: 11px; }
  .glow-section-heading { align-items: flex-start; flex-direction: column; gap: 11px; }.glow-section-heading .glow-record-button { width: 100%; min-height: 48px; }.glow-profile-section { padding: 16px; }.glow-profile-card { flex-wrap: wrap; gap: 12px; padding: 14px; }.glow-profile-total { font-size: 13px; }.glow-profile-total strong { font-size: 30px; }.glow-pending-total { margin-left: 0; padding-left: 12px; }.glow-record-card { grid-template-columns: minmax(0, 1fr); gap: 9px; }.glow-record-meta { grid-column: 1; font-size: 11px; }.glow-record-state { justify-self: start; grid-row: 2; }.glow-approve-button { grid-column: 1; grid-row: 4; width: 100%; min-height: 46px; font-size: 12px; }.glow-record-copy p { font-size: 12px; }.glow-private-note { font-size: 11px; }.glow-dialog-actions { grid-template-columns: 1fr; }.glow-dialog-actions .submit-button, .glow-cancel-button { min-height: 46px; }.glow-cancel-button { width: 100%; }
  .glow-proposal-heading { align-items: flex-start; flex-direction: column; gap: 4px; }.activity-proposal-card { padding: 13px; }.activity-proposal-card h3 { font-size: 15px; }.activity-proposal-card p { font-size: 12px; }.activity-proposal-foot .glow-approve-button { width: 100%; grid-row: auto; }
  .notification-heading-actions { width: 100%; justify-content: space-between; }.notification-pref-grid { grid-template-columns: 1fr; }.notification-pref-footer { align-items: flex-start; flex-direction: column; }.notification-pref-footer .section-link { min-height: 40px; }
  .footer-inner { min-height: 75px; flex-wrap: wrap; justify-content: center; gap: 5px 10px; padding-block: 13px; }.footer-demo { flex-basis: 100%; margin: 0; text-align: center; }
  .modal-dialog { padding: 20px 17px; }.modal-header h2 { font-size: 19px; }
  .listing-card h3, .listing-card-description, .profile-listing h3, .detail-card > h1 { overflow-wrap: anywhere; }
  .publish-layout > *, .listing-grid > * { min-width: 0; }
  .channel-layout, .map-page-layout { grid-template-columns: 1fr; }
  .dm-layout { grid-template-columns: 1fr; }
  .channel-sidebar { display: flex; flex-wrap: wrap; gap: 5px; padding: 13px; }
  .channel-sidebar .eyebrow { flex-basis: 100%; margin: 0 0 2px; }
  .channel-choice { width: auto; flex: 1 1 auto; min-height: 44px; margin: 0; padding: 8px 10px; text-align: center; font-size: 10px; }
  .help-toolbar { align-items: flex-start; flex-direction: column; }
  .help-toolbar .primary-action { align-self: stretch; }
  .match-panel { grid-template-columns: 1fr; padding: 15px; }.match-run-button { width: 100%; min-height: 46px; white-space: normal; }.match-results { grid-template-columns: 1fr; }

  .exchange-toolbar { align-items: stretch; flex-direction: column; }
  .exchange-toolbar .exchange-coming-soon { width: 100%; }
  .channel-panel, .map-preview-panel, .map-shares-panel { padding: 15px; }
  .dm-sidebar, .dm-thread-panel { padding: 12px; }
  .channel-mode-tab { flex: 1 1 auto; justify-content: center; padding-inline: 8px; font-size: 10px; }
  .post-composer { padding: 14px; }.post-composer .primary-action { width: 100%; min-height: 46px; }
  .post-actions button, .map-share-actions button { min-height: 44px; font-size: 11px; }
  .post-comment-form { flex-wrap: wrap; }.post-comment-form input { min-height: 44px; }.post-comment-form > button { min-height: 44px; min-width: 64px; }
  .chat-message { max-width: 100%; }.chat-message-actions { flex-direction: column; }.chat-message button { min-height: 40px; padding: 7px; font-size: 10px; }
  .map-share-open { padding: 14px 13px 8px; }.map-share-actions { padding-inline: 13px; }.map-share-actions button { flex: 1 1 auto; }
  .map-profile-card .glow-approve-button, .map-remove-button { width: 100%; min-height: 44px; }
.profile-map-image { width: 100%; max-height: 180px; margin-top: 7px; border-radius: 10px; object-fit: cover; }
  .notification-card { padding: 13px; }.notification-card p { font-size: 12px; }
  .detail-safety-actions { display: grid; grid-template-columns: 1fr 1fr; }.detail-safety-actions button, .blocked-user-card button { min-height: 44px; font-size: 11px; }
  .map-detail-content img { max-height: 190px; }
}

@media (max-width: 380px) {
  .page-width { width: calc(100% - 24px); }
  .listings-section .section-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .listing-heading-actions { width: 100%; justify-content: space-between; }
  .header-inner { gap: 6px; }.header-publish { padding: 7px 8px; font-size: 9px; }.main-nav { gap: 4px; }.nav-link { min-height: 46px; padding-inline: 2px; font-size: 12px; }
  .hero-actions { grid-template-columns: 1fr; }.hero-action { min-height: 72px; }.hero-action strong { font-size: 14px; }.hero-action small { font-size: 11px; }.action-arrow { margin-left: auto; }
  .type-options { grid-template-columns: 1fr; }.type-option { min-height: 62px; }.type-option strong { font-size: 11px; }.type-option small { font-size: 9px; }
  .filter-chip { padding-inline: 9px; font-size: 10px; }.map-board.map-page-board { height: 220px; }
  .mode-badge { font-size: 8px; }
}

/* 真实数据库内容、联系请求与审核台 */
.post-composer select { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: white; font-size: 12px; }
.post-body-copy { white-space: pre-line; }
.post-visibility-badge { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 7px; border-radius: 11px; color: var(--forest); background: var(--sage); font-size: 9px; font-weight: 700; }
.post-comment-meta { color: #8a968d; font-size: 9px; }
.post-reply small { margin-left: 6px; color: #8a968d; font-size: 9px; }
.chat-demo-hint { color: #8a968d; font-size: 9px; font-style: normal; }
.moderation-shortcut { display: block; width: fit-content; min-height: 44px; margin: -8px auto 20px; padding: 9px 16px; border: 1px solid rgba(217, 154, 105, .65); border-radius: 22px; color: #805b3f; background: #fff8ee; cursor: pointer; font-size: 12px; font-weight: 700; }
.moderation-shortcut:hover { background: #f8ead9; }
.admin-refresh { display: inline-flex; min-height: 36px; align-items: center; margin: 2px 0 10px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 18px; background: transparent; cursor: pointer; font-size: 10px; }

.listing-status-badge { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 7px; border-radius: 11px; color: #805b3f; background: #f4e4d2; font-size: 9px; font-weight: 700; white-space: nowrap; }
.form-status.is-error { color: #9a4b3f; }
.profile-item-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 12px; }
.profile-item-shell { min-width: 0; }
.connection-card, .admin-card { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.connection-card h3, .admin-card h3 { margin: 8px 0 5px; color: var(--forest-dark); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.connection-card p, .admin-card p { margin: 3px 0; color: var(--muted); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.connection-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.connection-heading small { color: #7b887e; font-size: 10px; text-align: right; }
.connection-status { color: #806448 !important; }
.connection-actions, .admin-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.connection-actions button, .admin-actions button { min-height: 40px; padding: 7px 12px; border-radius: 20px; font-size: 10px; }
.admin-section { padding: 18px; border: 1px solid rgba(217, 154, 105, .45); border-radius: 16px; background: rgba(255, 250, 242, .7); }
.admin-intro { margin: 0 0 12px; color: var(--muted); font-size: 11px; }
.admin-subtitle { margin: 20px 0 8px; color: var(--forest-dark); font-size: 14px; }
.admin-list { display: grid; gap: 9px; }
.admin-card small { color: #7b887e; font-size: 10px; }
.audit-card { padding: 10px 12px; }
.audit-card p { margin: 2px 0; }
.admin-section .glow-field { margin-bottom: 10px; }
@media (max-width: 680px) {
  .connection-heading { align-items: flex-start; flex-direction: column; gap: 2px; }
  .connection-heading small { text-align: left; }
  .connection-actions button, .admin-actions button { flex: 1 1 auto; min-height: 44px; }
  .admin-section { padding: 14px; }
  .profile-item-actions .profile-item-delete { flex: 1 1 auto; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.trial-banner {
  position: relative;
  z-index: 20;
  padding: 10px 18px;
  color: #4c3b28;
  background: #fff3df;
  border-bottom: 1px solid #e8cfaa;
  font-size: 11px;
  line-height: 1.65;
  text-align: center;
}
.trial-banner strong { color: #8a5a2b; }
@media (max-width: 680px) {
  .trial-banner { padding: 9px 14px; font-size: 10px; text-align: left; }
}
