:root {
  color-scheme: light;
  --paper: #f8f7f0;
  --surface: #fffef9;
  --ink: #253b30;
  --muted: #555e50;
  --moss: #233e31;
  --forest: #183027;
  --lime: #e6edba;
  --line: #d9ded0;
  --peach: #f5e7dd;
  --serif: "Noto Serif SC", "Songti SC", "STZhongsong", "SimSun", serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.65 var(--sans); }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #677c49; outline-offset: 4px; }
button[disabled] { cursor: not-allowed; opacity: .65; }
svg { display: inline-block; width: 20px; height: 20px; flex: none; vertical-align: middle; }
.symbol-bank { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: 1240px; width: calc(100% - 80px); margin-inline: auto; }
.skip { position: fixed; z-index: 3; top: 10px; left: 10px; transform: translateY(-160%); padding: 10px 16px; border-radius: 8px; background: var(--surface); }
.skip:focus { transform: none; }
.top { border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 83px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; color: var(--lime); background: var(--moss); border-radius: 50%; }
.brand-mark svg { width: 33px; height: 33px; }
.brand strong { display: block; font-size: 19px; line-height: 1.35; font-weight: 800; }
.brand small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .15em; }
.main-nav { display: flex; gap: clamp(15px, 2.3vw, 33px); align-items: center; white-space: nowrap; font-size: 14px; }
.main-nav a { padding: 9px 0; }
.main-nav a:hover, .footer a:hover, .reference a:hover { text-decoration: underline; text-underline-offset: 4px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 45px; border: 1px solid transparent; border-radius: 999px; padding: 8px 17px; font-size: 14px; font-weight: 700; line-height: 1.45; text-align: center; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.button svg { width: 18px; height: 18px; }
.button-outline { color: var(--moss); border-color: #a9b49f; background: transparent; }
.button-outline:hover { background: #e9eddd; }
.button-primary { background: var(--lime); color: var(--forest); }
.button-primary:hover { background: #f0f5cd; }
.button-secondary { color: var(--moss); background: #edf1e4; border-color: var(--line); }
.button-secondary:hover { background: #e2e9d9; }
.button-light { background: transparent; border-color: #9daa91; color: #fffef5; }
.button-light:hover { background: #385345; }
.button-solid { background: var(--moss); color: #fffef5; }
.button-solid:hover { background: #365344; }
.hero { display: grid; grid-template-columns: .96fr 1.04fr; min-height: 480px; margin-top: 30px; border-radius: 25px; overflow: hidden; background: var(--moss); color: #fffdf0; isolation: isolate; }
.hero-copy { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(32px, 4.4vw, 65px); background: radial-gradient(ellipse at 12% 0, #385341 0, var(--moss) 60%, #20382e 100%); }
.eyebrow { margin: 0; letter-spacing: .16em; font: 650 11px/1.4 var(--sans); }
.hero-kicker { color: #e1e9bd; display: flex; align-items: center; gap: 9px; }
.hero-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #d8e3a1; box-shadow: 0 0 0 4px #d8e3a122; }
.hero h1 { margin: 22px 0 12px; font: 750 clamp(32px, 4.0vw, 54px)/1.23 var(--serif); letter-spacing: -.045em; }
.hero-intro { margin: 0 0 24px; font-size: clamp(14px, 1.25vw, 17px); color: #e1e8d7; }
.hero-domain { display: flex; align-items: center; gap: 8px; margin-top: 36px; color: #c3d0b9; font-size: 10px; letter-spacing: .18em; }
.hero-domain span { width: 22px; height: 1px; background: #a1b394; }
.hero-image { position: relative; margin: 0; min-height: 100%; overflow: hidden; background: #b2b8a4; }
.hero-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 51% 54%; }
.hero-image::after { content: ""; position: absolute; inset: 53% 0 0; background: linear-gradient(transparent, #14291c65); pointer-events: none; }
.hero-image figcaption { position: absolute; z-index: 1; bottom: 23px; left: 24px; display: flex; align-items: center; gap: 9px; padding: 7px 11px; border-radius: 999px; background: #fffdf2f2; color: var(--forest); font-size: 11px; }
.hero-image figcaption span { padding: 2px 6px; border-radius: 999px; background: #e5ead3; font-weight: 800; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.quick-grid a { display: flex; gap: 11px; align-items: center; padding: 14px 13px; min-height: 76px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.quick-grid a:hover { background: #ecf0e3; border-color: #a9b49f; }
.quick-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; background: #e8eddc; flex: none; }
.quick-icon svg { width: 20px; height: 20px; }
.quick-grid strong, .quick-grid small { display: block; }
.quick-grid strong { font-size: 14px; }
.quick-grid small { color: var(--muted); font-size: 11px; }
.quick-arrow { margin-left: auto; width: 16px; height: 16px; color: #606c56; }
.section { margin-top: 74px; scroll-margin-top: 20px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.section-kicker { color: #4f684e; }
.section-kicker span { display: inline-block; margin-right: 8px; border-bottom: 1px solid #a3ad91; }
h2 { margin: 8px 0 5px; font: 750 clamp(30px, 4vw, 44px)/1.22 var(--serif); letter-spacing: -.03em; }
.section-heading p:not(.eyebrow), .panel-intro { margin: 6px 0 0; color: var(--muted); }
.filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.filter-row button { padding: 6px 14px; color: var(--moss); border: 1px solid var(--line); background: var(--surface); border-radius: 999px; font-size: 13px; }
.filter-row button[aria-pressed="true"] { border-color: var(--moss); color: #fffef5; background: var(--moss); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.gallery-card { min-width: 0; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.gallery-image { display: block; width: 100%; border: 0; padding: 0; aspect-ratio: 1.58; overflow: hidden; background: #e3e8d9; color: var(--moss); }
.gallery-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transition: transform .26s; }
.gallery-image:hover img { transform: scale(1.04); }
.gallery-image:focus-visible { outline-offset: -4px; }
.gallery-card-content { padding: 14px 16px 15px; overflow-wrap: anywhere; }
.gallery-tag { display: inline-flex; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 700; color: #3c593b; background: #e9eedc; }
.gallery-card h3 { margin: 7px 0 2px; font-size: 17px; line-height: 1.45; }
.gallery-card p { margin: 2px 0 8px; color: var(--muted); font-size: 12px; }
.gallery-actions { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.text-button { border: 0; padding: 2px 0; background: transparent; color: #314d3b; font-size: 13px; font-weight: 750; text-align: left; }
.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.gallery-empty { grid-column: 1/-1; padding: 42px 22px; text-align: center; border: 1px dashed #a7b298; border-radius: 16px; background: #eff1e7; }
.gallery-empty p { margin: 0 0 8px; }
.album-note { display: flex; align-items: center; gap: 15px; background: #ebefde; border: 1px solid #dce4cf; border-radius: 15px; padding: 17px 20px; margin-top: 14px; }
.album-note svg { width: 36px; height: 36px; }
.album-note p { margin: 1px 0 0; color: var(--muted); font-size: 13px; }
.album-note > button { margin-left: auto; white-space: nowrap; }
.forum-board { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; }
.forum-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 7px; }
.forum-filters { margin: 0; }
.forum-account { min-width: 0; }
.forum-account-summary { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; }
.forum-account-summary > span { min-width: 0; overflow-wrap: anywhere; }
.forum-preview-note { margin: 0; padding: 2px 20px 13px; color: var(--muted); font-size: 12px; }
.forum-list { border-top: 1px solid var(--line); }
.forum-list:empty { display: none; }
.forum-post { display: grid; gap: 9px; padding: 19px 20px; }
.forum-post + .forum-post { border-top: 1px solid var(--line); }
.forum-post-head { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; min-width: 0; }
.forum-post-head > * { min-width: 0; overflow-wrap: anywhere; }
.forum-avatar {
  display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%;
  overflow: hidden; background: #e7edd9; color: #38573d; font-size: 13px; font-weight: 800;
}
.forum-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gallery-author { display: flex; align-items: center; gap: 7px; }
.gallery-author .forum-avatar { width: 24px; height: 24px; }
.forum-account-summary .forum-avatar { width: 28px; height: 28px; }
.forum-post-head time { color: var(--muted); font-size: 12px; }
.forum-post-body { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.forum-post-body h3, .forum-post-body p { margin: 0; }
.forum-post-body h3 { font-size: 18px; line-height: 1.45; }
.forum-post-body p { color: var(--muted); white-space: pre-wrap; }
.forum-post-image {
  display: block; padding: 0; width: min(100%, 360px); height: auto; max-height: 300px; object-fit: cover;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #edf1e4;
}
.forum-post-image img { width: 100%; max-height: 300px; object-fit: cover; }
.forum-post-actions { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.forum-post-actions button { min-height: 38px; }
.forum-empty {
  display: grid; justify-items: center; gap: 4px; text-align: center; margin: 0 16px 16px;
  border: 1px dashed #b7c5ab; background: #f2f5e9; padding: 27px 14px; border-radius: 14px;
}
.forum-empty strong { font-size: 17px; }
.forum-empty p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.forum-empty-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 4px; border-radius: 50%; background: #e3ebd3; }
.forum-profile-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.forum-birthday-tip { padding: 10px 12px; border-radius: 10px; background: #f7edd8; color: #5d4429; font-weight: 700; }
.forum-post-identity { display: grid; gap: 2px; }
.forum-post-meta { color: var(--muted); font-size: 12px; }
.event-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 16px; }
.event-card { position: relative; isolation: isolate; overflow: hidden; padding: clamp(22px, 3vw, 38px); border: 1px solid var(--line); border-radius: 20px; }
.event-feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 20px; align-items: center;
  padding: clamp(18px, 2.7vw, 35px); background: var(--moss); color: #fffef5; border-color: var(--moss);
}
.salon-copy p { color: #e3ebdf; max-width: 32ch; }
.salon-copy h3 span { display: block; }
.salon-copy .salon-speaker { margin: 9px 0 10px; color: #f4f7e7; font-size: 13px; }
.salon-copy .salon-meta { margin: 0 0 15px; color: #dbe7d6; font-size: 12px; }
.salon-photo { min-width: 0; margin: 0; overflow: hidden; border-radius: 13px; background: #314d3d; }
.salon-photo img { width: 100%; height: auto; }
.salon-photo figcaption { padding: 7px 10px; color: #f7faec; font-size: 12px; }
.salon-agenda { grid-column: 1 / -1; border-top: 1px solid #658275; color: #e3ebdf; }
.salon-agenda summary { display: list-item; cursor: pointer; min-height: 44px; padding: 12px 0 4px; font-weight: 700; }
.salon-agenda ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 22px; margin: 6px 0 0; padding-left: 22px; }
.event-next { background: var(--peach); border-color: #e5d4c6; }
.event-label { display: inline-block; border-radius: 999px; padding: 3px 10px; color: #36503a; background: #e7ead8; font-size: 12px; font-weight: 700; }
.event-card h3, .host-picks h3 { font: 750 clamp(23px, 3vw, 33px)/1.3 var(--serif); margin: 9px 0 5px; }
.event-card p { margin: 4px 0 19px; }
.guide-care { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 3.4vw, 38px); border-radius: 20px; scroll-margin-top: 20px; }
.panel h2 { font-size: clamp(27px, 3vw, 36px); }
.guide-list { list-style: none; padding: 0; margin: 12px 0 0; }
.guide-list li { border-bottom: 1px solid var(--line); }
.guide-list li:last-child { border-bottom: 0; }
.guide-list a, .guide-list button { display: grid; width: 100%; grid-template-columns: 32px minmax(0,1fr) 18px; align-items: center; gap: 10px; padding: 11px 2px; border: 0; background: transparent; color: var(--ink); text-align: left; }
.guide-list li:hover { background: #f0f3e9; }
.guide-list li > :first-child > span:first-child { color: #536c4e; font-weight: 800; font-size: 13px; }
.guide-list strong, .guide-list small { display: block; }
.guide-list small { color: var(--muted); }
.care-panel details { border-bottom: 1px solid var(--line); }
.care-panel details:first-of-type { margin-top: 12px; }
.care-panel summary { cursor: pointer; font-weight: 700; padding: 9px 0; }
.care-panel details p { margin: 0 0 10px 16px; color: var(--muted); font-size: 14px; }
.reference { margin: 12px 0 0; font-size: 11px; color: var(--muted); }
.host { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(22px, 4vw, 48px); border: 1px solid #d8dfcd; border-radius: 21px; background: #edf1e4; }
.host-copy { align-self: center; max-width: 455px; }
.host-copy > p:not(.eyebrow) { color: var(--muted); }
.host-picks { padding: clamp(17px, 2.4vw, 28px); background: var(--surface); border-radius: 15px; }
.host-picks h3 { font-size: clamp(21px, 2.4vw, 28px); }
.vase-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin: 12px 0; gap: 6px; }
.vase-list > span { padding: 8px; border-radius: 8px; background: #f0f1e5; font-size: 12px; }
.vase-list b, .vase-list small { display: block; }
.vase-list small { color: var(--muted); }
.join-panel { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: clamp(22px, 5vw, 54px); background: var(--moss); color: #fffef5; border-radius: 23px; }
.join-panel > img { flex: none; width: 142px; height: auto; border-radius: 12px; padding: 8px; background: #f8f7ef; }
.join-panel h2 { margin: 9px 0; font-size: clamp(26px, 3.7vw, 41px); }
.join-panel p:not(.eyebrow) { margin: 2px 0 15px; color: #dce5d5; }
.footer { display: flex; gap: 12px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--muted); margin-top: 30px; padding: 20px 0; font-size: 12px; }
.phone-dock { display: none; }

.community-dialog { width: min(570px, calc(100% - 28px)); max-height: calc(100dvh - 36px); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 0; background: var(--surface); box-shadow: 0 22px 70px #172d2640; }
.community-dialog::backdrop { background: #152a21a8; }
.dialog-shell { padding: 22px; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.dialog-header h2 { margin: 0; font-size: 26px; }
.dialog-close { flex: none; display: grid; place-items: center; width: 36px; height: 36px; font-size: 21px; background: #e9efdf; color: var(--ink); border: 0; border-radius: 50%; }
.dialog-note { border-radius: 10px; padding: 9px 12px; background: #ebf0e1; color: #3d543d; font-size: 13px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-top: 13px; }
.form-field { display: grid; gap: 5px; margin-top: 12px; font-size: 14px; }
.form-field input, .form-field select, .form-field textarea, .community-dialog input[type="text"], .community-dialog textarea { width: 100%; min-width: 0; padding: 9px 10px; color: var(--ink); border: 1px solid #a7b59b; border-radius: 8px; background: #fffef9; }
.check-field { display: flex; align-items: flex-start; gap: 8px; margin: 13px 0; font-size: 13px; }
.check-field input { margin-top: 4px; accent-color: var(--moss); }
.dialog-status { color: #365338; font-size: 13px; }
.dialog-status[data-error="true"] { color: #8c3225; }
.story-image { width: 100%; max-height: 55vh; object-fit: contain; border-radius: 12px; background: #edf0e6; }
.join-qr { max-width: 220px; height: auto; margin: 10px auto; }
.join-content { text-align: center; }
.gallery-image-text { display: grid; place-items: center; height: 100%; font: 700 26px var(--serif); }
.comment-list { padding: 0; list-style: none; }
.comment-list li { padding: 8px 10px; margin: 6px 0; border-radius: 8px; background: #eff1e8; overflow-wrap: anywhere; }
.photo-preview { display: flex; gap: 10px; align-items: center; min-width: 0; margin-top: 8px; padding: 9px; background: #eef2e7; border-radius: 10px; }
.photo-preview-thumb { width: 64px; height: 64px; flex: none; object-fit: cover; border-radius: 7px; }
.photo-preview-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.photo-preview button { flex: none; }
.photo-status { margin: 6px 0 0; font-size: 13px; }
body:has(.community-dialog[open]) { overflow: hidden; }

@media (max-width: 980px) {
  .wrap { width: calc(100% - 48px); }
  .top-inner { min-height: 72px; gap: 10px; }
  .brand strong { font-size: 16px; }
  .main-nav { gap: 14px; font-size: 13px; }
  .nav-join { padding: 7px 11px; min-height: 38px; font-size: 12px; }
  .hero { min-height: 414px; }
  .quick-grid { gap: 8px; }
  .quick-grid a { padding: 10px; gap: 6px; }
  .quick-icon { width: 31px; height: 31px; }
}
@media (max-width: 730px) {
  html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: 79px; padding-bottom: calc(79px + env(safe-area-inset-bottom, 0px)); }
  .wrap { width: auto; margin-inline: 15px; margin-left: max(15px, env(safe-area-inset-left, 0px)); margin-right: max(15px, env(safe-area-inset-right, 0px)); }
  .top-inner { padding: 9px 0 3px; flex-wrap: wrap; min-height: 0; row-gap: 2px; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; gap: 19px; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .nav-join { min-height: 44px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark svg { width: 26px; height: 26px; }
  .brand small { font-size: 10px; }
  .hero { grid-template-columns: 1fr; margin-top: 12px; min-height: 0; border-radius: 18px; }
  .hero-copy { padding: 22px 19px; }
  .hero h1 { margin: 10px 0 7px; font-size: clamp(30px, 7.8vw, 47px); line-height: 1.22; }
  .hero-intro { margin-bottom: 12px; font-size: 14px; }
  .hero-domain, .hero-copy .button-light { display: none; }
  .hero-image { min-height: 0; aspect-ratio: 1.95; }
  .hero-image figcaption { bottom: 12px; left: 12px; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 9px; }
  .quick-grid a { min-height: 60px; }
  .section { margin-top: 39px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 13px; }
  .filter-row button { min-height: 44px; padding: 6px 11px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .gallery-card[data-story="arrival-164"] { grid-column: 1 / -1; }
  .gallery-card[data-story="arrival-164"] .gallery-image { aspect-ratio: 1.75; }
  .gallery-card:not([data-story="arrival-164"]) .gallery-image { aspect-ratio: 1.25; }
  .gallery-card-content { padding: 10px; }
  .gallery-card h3 { font-size: 15px; }
  .gallery-actions button, .album-note > button { min-height: 44px; }
  .forum-toolbar { flex-wrap: wrap; padding: 13px 12px 6px; }
  .forum-preview-note { padding-inline: 12px; }
  .forum-empty { margin-inline: 10px; }
  .forum-post { padding: 14px 12px; }
  .forum-post-actions button { min-height: 44px; }
  .album-note { align-items: flex-start; flex-wrap: wrap; padding: 13px; gap: 8px; }
  .album-note svg { width: 25px; height: 25px; }
  .album-note > div { flex: 1 1 70%; }
  .album-note > button { margin-left: 33px; }
  .event-grid, .guide-care, .host { grid-template-columns: 1fr; gap: 10px; }
  .event-feature { grid-template-columns: 1fr; gap: 14px; }
  .salon-agenda ol { grid-template-columns: 1fr; }
  .join-panel { flex-wrap: wrap; gap: 17px; }
  .join-panel > img { width: 121px; }
  .footer { flex-wrap: wrap; }
  .phone-dock {
    position: fixed; z-index: 2; right: 0; bottom: 0; left: 0;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px;
    padding: 6px 12px;
    padding: 6px max(12px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    color: var(--forest); background: #fdfcf4; border-top: 1px solid #dbe1d2; box-shadow: 0 -8px 28px #22332612;
  }
  .phone-dock > * {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 50px; padding: 4px; color: inherit; background: none; border: 0; border-radius: 12px;
    font-size: 12px; font-weight: 750; line-height: 1.2; -webkit-tap-highlight-color: #a6b39540;
  }
  .phone-dock svg { width: 21px; height: 21px; }
  .phone-dock > .dock-join { background: var(--moss); color: #fffef5; }
  .community-dialog {
    width: min(100%, 570px); max-width: 100%; inset: auto 0 0; margin: 0 auto;
    max-height: 85vh; max-height: 85dvh; border-bottom: 0; border-radius: 22px 22px 0 0; overscroll-behavior: contain;
  }
  .dialog-shell { padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
  .dialog-header h2 { font-size: 23px; }
  .dialog-close { width: 44px; height: 44px; }
  .form-field input, .form-field textarea, .form-field select, .community-dialog input[type="text"], .community-dialog textarea {
    font-size: 16px; min-height: 44px;
  }
  .story-image { max-height: 42vh; max-height: 42dvh; }
  .join-qr { width: min(216px, 72vw); }
}
@media (max-width: 370px) {
  .main-nav { gap: 12px; font-size: 12px; }
  .quick-grid strong { font-size: 12px; }
  .quick-grid small { font-size: 10px; }
  .quick-arrow { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .vase-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
