:root {
  --ink: #192b2a;
  --muted: #71807a;
  --paper: #f4f3ed;
  --panel: #fffdf8;
  --line: #dce1d9;
  --green: #2f6d5a;
  --coral: #eb765e;
  --yellow: #f2c75b;
  --blue: #5995a8;
  --shadow: 0 18px 50px rgba(30, 54, 48, .13);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Space Grotesk", "Noto Sans SC", sans-serif; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.app-shell { display: grid; grid-template-columns: minmax(280px, 31%) 1fr; grid-template-rows: auto 1fr auto; min-height: 100vh; }
.topbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 22px 38px; border-bottom: 1px solid var(--line); background: rgba(255,253,248,.86); }
.brand { color: var(--ink); display: flex; gap: 12px; align-items: center; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: var(--ink); color: #f8d976; font-weight: 700; font-size: 13px; }
.brand strong, .brand small { display: block; line-height: 1.05; }.brand strong { font-family: "Noto Serif SC", serif; font-size: 17px; }.brand small { margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.topbar-meta { color: var(--muted); font-size: 12px; letter-spacing: .03em; }.status-dot, .live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: #55a374; border-radius: 50%; box-shadow: 0 0 0 4px rgba(85,163,116,.13); }
.share-button, .text-button { border: 0; background: none; color: var(--green); font-size: 12px; font-weight: 700; }.share-button span { display: inline-grid; place-items: center; width: 25px; height: 25px; margin-right: 7px; border: 1px solid var(--green); border-radius: 50%; font-size: 16px; }
.intro-panel { padding: clamp(40px, 7vw, 96px) clamp(27px, 6vw, 86px); background: var(--green); color: #f7f5e9; position: relative; overflow: hidden; }.intro-panel::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; box-shadow: 0 0 0 32px rgba(255,255,255,.05), 0 0 0 64px rgba(255,255,255,.04); }
.eyebrow { margin: 0 0 17px; color: var(--coral); font-size: 10px; font-weight: 700; letter-spacing: .18em; }.intro-panel .eyebrow { color: #f4d374; }.intro-panel h1 { position: relative; z-index: 1; margin: 0; font-family: "Noto Serif SC", serif; font-size: clamp(34px, 4vw, 54px); line-height: 1.28; letter-spacing: 0; }.intro-panel h1 em { color: #f4d374; font-style: normal; }.intro-copy { max-width: 270px; margin: 24px 0 34px; color: rgba(247,245,233,.73); font-size: 13px; line-height: 1.9; }
.primary-button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; padding: 14px 18px; background: var(--coral); color: white; font-size: 12px; font-weight: 700; transition: transform .2s, background .2s; }.primary-button:hover { background: #d95f49; transform: translateY(-2px); }.primary-button > span { font-size: 20px; font-weight: 400; line-height: 12px; }.stats-row { position: relative; z-index: 1; display: flex; gap: 30px; margin-top: 55px; }.stats-row div { display: flex; flex-direction: column; gap: 5px; }.stats-row strong { font-size: 24px; }.stats-row span { color: rgba(247,245,233,.58); font-size: 10px; }
.map-panel { position: relative; min-height: 530px; overflow: hidden; border-bottom: 1px solid var(--line); }.map-panel #map { position: absolute; inset: 0; min-height: 530px; background: #dfe8df; }.amap-logo, .amap-copyright { z-index: 1 !important; }.map-toolbar { position: absolute; z-index: 500; top: 23px; left: 23px; right: 23px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }.locate-button { pointer-events: auto; width: 39px; height: 39px; border: 0; background: var(--panel); color: var(--green); box-shadow: var(--shadow); font-size: 24px; }.map-note { padding: 10px 14px; background: rgba(255,253,248,.9); color: var(--muted); box-shadow: var(--shadow); font-size: 10px; letter-spacing: .06em; }.map-note .live-dot { width: 6px; height: 6px; margin-right: 5px; }
.map-legend { position: absolute; z-index: 500; left: 23px; right: 23px; bottom: 23px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 13px 16px; background: rgba(255,253,248,.94); box-shadow: var(--shadow); }.legend-title { color: var(--ink); font-size: 11px; font-weight: 700; margin-right: 4px; }.filter-list { display: flex; flex-wrap: wrap; gap: 7px; }.filter-chip { display: inline-flex; align-items: center; gap: 5px; border: 0; padding: 5px 7px; background: transparent; color: var(--muted); font-size: 11px; }.filter-chip.active { color: var(--ink); font-weight: 700; }.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--chip-color); }.marker-pin { display: grid; place-items: center; width: 29px; height: 29px; border: 3px solid white; border-radius: 50% 50% 50% 0; background: var(--marker-color); box-shadow: 0 3px 8px rgba(28,54,48,.25); transform: rotate(-45deg); }.marker-pin span { color: white; font-size: 12px; transform: rotate(45deg); }.location-marker { display: grid; place-items: center; width: 20px; height: 20px; border: 3px solid white; border-radius: 50%; background: #3274d5; box-shadow: 0 0 0 6px rgba(50,116,213,.2), 0 2px 8px rgba(28,54,48,.3); }.location-marker span { width: 6px; height: 6px; border-radius: 50%; background: white; }
.recent-panel { grid-column: 1 / -1; padding: 30px 38px 36px; background: var(--panel); }.section-heading { display: flex; align-items: end; justify-content: space-between; max-width: 1100px; margin: 0 auto 19px; }.section-heading h2 { margin: 0; font-family: "Noto Serif SC", serif; font-size: 25px; }.section-heading .eyebrow { margin-bottom: 8px; }.text-button span { margin-left: 7px; font-size: 17px; }.spot-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 1100px; margin: auto; }.spot-card { border: 1px solid var(--line); padding: 15px; background: var(--panel); transition: border-color .2s, transform .2s; }.spot-card:hover { border-color: var(--coral); transform: translateY(-3px); }.spot-card-top { display: flex; justify-content: space-between; align-items: start; }.spot-card h3 { margin: 0 0 10px; font-family: "Noto Serif SC", serif; font-size: 16px; }.spot-card p { min-height: 37px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }.category-tag { color: var(--chip-color); font-size: 10px; font-weight: 700; }.spot-card small { display: block; margin-top: 13px; color: #a2aba4; font-size: 10px; }
.spot-image { display: block; width: calc(100% + 30px); height: 115px; margin: -15px -15px 14px; object-fit: cover; }.popup-content { min-width: 170px; padding: 3px; }.popup-content img { display: block; width: 100%; max-height: 110px; margin-bottom: 8px; object-fit: cover; }.popup-content strong, .popup-content small { display: block; }.popup-content small { margin-top: 5px; font-size: 11px; }.popup-content p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.navigate-link, .spot-address { display: block; overflow: hidden; margin: 8px 0; color: var(--green); font-size: 11px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }.navigate-link:hover { color: var(--coral); text-decoration: underline; }
.modal-backdrop { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(25,43,42,.52); }.modal-backdrop[hidden] { display: none; }.modal { position: relative; width: min(100%, 470px); max-height: 90vh; overflow-y: auto; padding: 34px; background: var(--panel); box-shadow: 0 25px 80px rgba(16,42,36,.3); animation: rise .25s ease-out; }.close-button { position: absolute; top: 16px; right: 18px; border: 0; background: none; color: var(--muted); font-size: 24px; }.modal h2 { margin: 0; font-family: "Noto Serif SC", serif; font-size: 27px; }.modal-intro { margin: 11px 0 23px; color: var(--muted); font-size: 12px; line-height: 1.7; }label { display: block; margin: 14px 0; color: var(--ink); font-size: 11px; font-weight: 700; }input, textarea, select { display: block; width: 100%; margin-top: 7px; border: 1px solid var(--line); border-radius: 0; padding: 11px 12px; outline: 0; background: #fff; color: var(--ink); font-size: 13px; }input:focus, textarea:focus, select:focus { border-color: var(--green); }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.full-width { width: 100%; margin-top: 12px; }.form-message { min-height: 16px; margin: 15px 0 0; color: var(--green); font-size: 12px; text-align: center; }
.toast { position: fixed; z-index: 1100; right: 22px; bottom: 22px; transform: translateY(20px); opacity: 0; padding: 12px 16px; background: var(--ink); color: white; font-size: 12px; pointer-events: none; transition: .25s; }.toast.visible { transform: translateY(0); opacity: 1; }.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }.empty-state { grid-column: 1/-1; padding: 25px; color: var(--muted); border: 1px dashed var(--line); text-align: center; font-size: 12px; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 820px) { .app-shell { display: block; }.topbar { padding: 16px 20px; }.topbar-meta { display: none; }.intro-panel { padding: 42px 25px 38px; }.intro-panel h1 { font-size: 38px; }.stats-row { margin-top: 34px; }.map-panel, .map-panel #map { min-height: 480px; }.recent-panel { padding: 28px 20px; }.spot-list { grid-template-columns: repeat(2, 1fr); }.map-legend { bottom: 15px; left: 15px; right: 15px; }.map-toolbar { top: 15px; left: 15px; right: 15px; } }
@media (max-width: 460px) { .brand small { display: none; }.share-button { font-size: 0; }.share-button span { margin: 0; }.spot-list { grid-template-columns: 1fr; }.section-heading { align-items: center; }.list-actions { width: 100%; }.search-box { width: 100%; }.modal { padding: 28px 21px; }.form-grid { gap: 8px; } }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.card-actions { display: inline-flex; align-items: center; gap: 8px; }.like-button, .delete-button { border: 0; background: none; font-size: 11px; }.like-button { color: var(--coral); }.delete-button { color: var(--muted); }.delete-button:hover { color: var(--coral); }.list-actions { display: flex; align-items: center; gap: 18px; }.search-box { display: flex; align-items: center; gap: 6px; width: 170px; margin: 0; border-bottom: 1px solid var(--line); color: var(--muted); }.search-box input { margin: 0; border: 0; padding: 7px 0; background: transparent; }.search-box input:focus { border: 0; }.pagination { display: flex; align-items: center; justify-content: center; gap: 13px; margin-top: 22px; color: var(--muted); font-size: 11px; }.page-button { width: 30px; height: 30px; border: 1px solid var(--line); background: var(--panel); color: var(--green); }.page-button:disabled { cursor: default; opacity: .35; }.field-note { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 400; }.map-pick-note { margin: -4px 0 10px; color: var(--muted); font-size: 10px; }
.recommend-panel { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 38px clamp(25px, 6vw, 86px); background: #f2d477; }.recommend-panel h2 { margin: 0; font-family: "Noto Serif SC", serif; font-size: 25px; }.recommend-panel p:not(.eyebrow) { margin: 9px 0 0; color: rgba(25,43,42,.65); font-size: 12px; }.recommend-panel form { display: flex; flex: 1; max-width: 500px; gap: 8px; }.recommend-panel form input { margin: 0; border-color: transparent; }.recommend-panel form .primary-button { flex: 0 0 auto; }.recommend-result { flex-basis: 100%; margin: 0 !important; }.map-pick-note { display: block; border: 0; padding: 0; background: transparent; color: var(--green); font-size: 11px; text-align: left; }
.topbar-actions { display: flex; align-items: center; gap: 17px; }.auth-button { border: 0; padding: 8px 12px; background: var(--ink); color: white; font-size: 11px; }.private-panel { display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 20px; padding: 35px clamp(25px, 6vw, 86px); background: #dce9dd; }.private-panel h2 { margin: 0; font-family: "Noto Serif SC", serif; font-size: 24px; }.private-panel form { display: flex; gap: 8px; align-items: start; }.private-panel form input { margin: 0; }.private-map-list { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }.auth-switch { display: block; margin: 18px auto 0; border: 0; background: none; color: var(--green); font-size: 11px; }
.address-search-button { margin-top: 7px; border: 1px solid var(--green); padding: 8px 12px; background: transparent; color: var(--green); font-size: 11px; font-weight: 700; }.address-search-button:hover { background: var(--green); color: white; }
@media (max-width: 820px) { .recommend-panel { display: block; }.recommend-panel form { max-width: none; margin-top: 22px; } }
.private-map-item { display: inline-block; margin-right: 8px; padding: 7px 10px; background: rgba(47,109,90,.1); color: var(--green); }
