/* ==========================================================================
   海鸥集 SEAGULL — Wedding Community
   Art direction: warm white, editorial serif, quiet luxury
   ========================================================================== */

:root {
  --white: #ffffff;
  --paper: #fdfbf8;
  --cream: #faf6f0;
  --cream-deep: #f4ede3;
  --sand: #e7dccb;
  --blush: #f2e4df;
  --rose: #b26b70;
  --rose-deep: #8d4f55;
  --rose-soft: #d8b0b2;
  --sage: #87957e;
  --forest: #4d5f4f;
  --gold: #b79a6d;
  --ink: #26231f;
  --ink-soft: #4c4640;
  --muted: #756d64;
  --muted-light: #9a9187;
  --line: #e9e2d8;
  --line-dark: #d9cfc2;

  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "微软雅黑", sans-serif;
  --font-serif: "华文宋体", "STSong", "Songti SC", "SimSun", "宋体", serif;
  --font-en: "Garamond", "Cormorant Garamond", "Georgia", "Times New Roman", serif;

  --container: 1280px;
  --gutter: 48px;
  --radius-sm: 3px;
  --radius-md: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
  --shadow-soft: 0 18px 60px rgba(67, 51, 37, .08);
  --shadow-card: 0 26px 70px rgba(67, 51, 37, .14);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; margin: 0; }
::selection { background: var(--blush); color: var(--rose-deep); }

:focus-visible {
  outline: 1.5px solid var(--rose);
  outline-offset: 4px;
}

[hidden] { display: none !important; }

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 500;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  font-size: 12px;
  transition: transform .25s ease;
}
.skip-link:focus { transform: translateY(0); }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 20px; height: 20px;
  flex: 0 0 auto;
  color: currentColor;
}
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Shared bits
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .22em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--rose-soft);
}

section[id] { scroll-margin-top: 96px; }

.section { padding: 118px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 54px;
}

.section-intro { max-width: 640px; }

.section-index {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .2em;
  line-height: 1;
  text-transform: uppercase;
}
.section-index span {
  color: var(--rose);
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1;
}
.section-index::after {
  content: "";
  width: 42px;
  height: 1px;
  margin-left: 8px;
  background: var(--line-dark);
}

.section h2 {
  margin: 18px 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(40px, 4.2vw, 58px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: .015em;
}

.section-desc {
  max-width: 460px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 11.5px;
  letter-spacing: .04em;
  transition: color .3s ease, border-color .3s ease;
}
.link-arrow .icon { transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--rose); border-color: var(--rose); }
.link-arrow:hover .icon { transform: translateX(4px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1;
  white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--rose-deep); }
.btn-sm { min-height: 39px; padding: 0 18px; font-size: 11px; }
.btn-block { width: 100%; }
.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
  min-height: 42px;
  padding: 0 20px;
  font-size: 11px;
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-line {
  border-color: var(--line-dark);
  color: var(--ink);
  background: transparent;
}
.btn-line:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.avatar-stack { display: flex; align-items: center; }
.avatar-stack .avatar {
  margin-left: -8px;
  border: 2px solid var(--white);
}
.avatar-stack .avatar:first-child { margin-left: 0; }

.avatar {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .02em;
  overflow: hidden;
}
.avatar-rose { background: linear-gradient(145deg, #d6a3a2, #a96067); }
.avatar-sage { background: linear-gradient(145deg, #aab79e, #6f8268); }
.avatar-sand { background: linear-gradient(145deg, #d8c4a6, #a88d6c); }
.avatar-ink { background: linear-gradient(145deg, #6a6158, #35312c); }

/* --------------------------------------------------------------------------
   Announcement
   -------------------------------------------------------------------------- */
.announcement {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 36px;
  padding: 0 var(--gutter);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .14em;
}
.announcement-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 0 rgba(178, 107, 112, .4);
  animation: pulseDot 3s infinite;
}
.announcement a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 1px;
  transition: color .25s ease, border-color .25s ease;
}
.announcement a:hover { color: var(--rose); border-color: var(--rose); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 40px rgba(50, 40, 30, .04);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}
.brand-mark {
  width: 35px; height: 35px;
  color: var(--ink);
  transition: transform .6s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(8deg); }
.brand-words { display: flex; flex-direction: column; gap: 2px; }
.brand-cn {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: .12em;
}
.brand-en {
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 7px;
  letter-spacing: .22em;
  line-height: 1.2;
}
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}
.desktop-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: .05em;
  transition: color .25s ease;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--rose);
  transform: translateX(-50%) scale(0);
  transition: transform .3s var(--ease);
}
.desktop-nav a:hover { color: var(--rose-deep); }
.desktop-nav a:hover::after { transform: translateX(-50%) scale(1); }
.desktop-nav a.is-active { color: var(--rose-deep); }
.desktop-nav a.is-active::after { transform: translateX(-50%) scale(1); }

/* 未读私信角标：消息链接旁的红色数字 */
.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  margin-left: 6px;
  border-radius: 999px;
  background: #d2474f;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  vertical-align: 1px;
}
.login-link.is-logged-in { color: var(--rose-deep); }
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  color: var(--ink);
  transition: background .3s ease, color .3s ease;
}
.icon-btn:hover { background: var(--cream); color: var(--rose); }
.icon-btn .icon { width: 18px; height: 18px; }
.login-link {
  padding: 8px 4px;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: .04em;
  transition: color .25s ease;
}
.login-link:hover { color: var(--rose); }
.menu-btn { display: none; }
.publish-btn { margin-left: 2px; }

/* --------------------------------------------------------------------------
   Mobile menu
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity .35s ease, visibility .35s ease, transform .45s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding-top: 24px;
}
.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: clamp(30px, 8vw, 42px);
  line-height: 1;
  transition: color .3s ease, padding-left .3s ease;
}
.mobile-nav a span {
  color: var(--rose);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .12em;
}
.mobile-nav a:hover { color: var(--rose); padding-left: 8px; }
.mobile-menu-actions {
  margin-top: auto;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-menu-actions .btn { width: 100%; }
.mobile-menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 58px 0 86px;
  background:
    radial-gradient(circle at 83% 12%, rgba(243, 229, 222, .55), transparent 36%),
    radial-gradient(circle at 90% 78%, rgba(249, 243, 234, .75), transparent 40%);
}
.hero::after {
  content: "";
  position: absolute;
  top: 12%; right: 2.5%;
  width: 380px; height: 380px;
  border: 1px solid rgba(183, 154, 109, .16);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(36px, 5vw, 78px);
}
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.hero-eyebrow { animation: riseIn 1s .1s var(--ease) both; }
.hero-title {
  margin-top: 26px;
  font-family: var(--font-serif);
  font-size: clamp(52px, 5.5vw, 82px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: .005em;
  animation: riseIn 1.1s .18s var(--ease) both;
}
.hero-title .accent {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rose-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 11px;
}
.hero-italic {
  margin-top: 20px;
  color: var(--rose-deep);
  font-family: var(--font-en);
  font-size: clamp(18px, 1.8vw, 23px);
  font-style: italic;
  letter-spacing: .015em;
  animation: riseIn 1.1s .28s var(--ease) both;
}
.hero-desc {
  max-width: 470px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
  letter-spacing: .015em;
  animation: riseIn 1.1s .36s var(--ease) both;
}
.hero-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 490px);
  margin-top: 34px;
  padding: 7px 7px 7px 19px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 36px rgba(67, 51, 37, .04);
  transition: border-color .35s ease, box-shadow .35s ease;
  animation: riseIn 1.1s .44s var(--ease) both;
}
.hero-search:focus-within {
  border-color: var(--rose-soft);
  box-shadow: 0 14px 44px rgba(141, 79, 85, .09);
}
.search-glyph { color: var(--muted-light); width: 18px; height: 18px; }
.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12.5px;
}
.hero-search input::placeholder { color: var(--muted-light); }
.search-submit {
  display: grid;
  place-items: center;
  width: 43px; height: 43px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  transition: background .3s ease, transform .3s var(--ease);
}
.search-submit:hover { background: var(--rose-deep); transform: rotate(-7deg); }
.search-submit .icon { width: 18px; height: 18px; }
.hero-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 14px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: .03em;
  animation: riseIn 1.1s .52s var(--ease) both;
}
.hero-tags > span {
  color: var(--muted-light);
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-tags button {
  position: relative;
  color: var(--ink-soft);
  font-size: 10.5px;
  transition: color .25s ease;
}
.hero-tags button::after {
  content: "";
  position: absolute;
  left: 0; bottom: 1px;
  width: 100%; height: 1px;
  background: var(--line-dark);
  transform: scaleX(.55);
  transform-origin: left;
  transition: transform .3s var(--ease), background .3s ease;
}
.hero-tags button:hover { color: var(--rose); }
.hero-tags button:hover::after { transform: scaleX(1); background: var(--rose-soft); }
.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 11px;
  animation: riseIn 1.1s .6s var(--ease) both;
}
.hero-proof .avatar { width: 30px; height: 30px; font-size: 11.5px; }
.hero-proof strong { color: var(--ink); font-weight: 500; }

.hero-visual {
  position: relative;
  min-height: 646px;
  animation: fadeIn 1.5s .35s ease both;
}
.hero-photo {
  position: absolute;
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-card);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-soft);
}
.hero-photo:hover img { transform: scale(1.035); }
.hero-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 24px 20px 15px;
  background: linear-gradient(transparent, rgba(30, 26, 21, .42));
  color: rgba(255, 255, 255, .95);
  font-family: var(--font-en);
  font-size: 8.5px;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hero-photo-main {
  top: 0; left: 3%;
  width: 63%;
  height: 566px;
  z-index: 1;
  border-radius: 250px 250px 4px 4px;
  animation: heroReveal 1.35s .2s var(--ease) both;
}
.hero-photo-top {
  top: 68px; right: 0;
  width: 37%;
  height: 218px;
  z-index: 3;
  border-radius: 4px;
  animation: heroReveal 1.35s .4s var(--ease) both;
}
.hero-photo-bottom {
  right: 1.5%; bottom: 0;
  width: 46%;
  height: 212px;
  z-index: 3;
  border-radius: 4px;
  animation: heroReveal 1.35s .52s var(--ease) both;
}
.hero-photo-top figcaption,
.hero-photo-bottom figcaption { padding: 14px 13px 10px; font-size: 7.5px; }
.hero-quote {
  position: absolute;
  left: 0; bottom: 27px;
  z-index: 5;
  width: 274px;
  padding: 23px 24px 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(67, 51, 37, .13);
  animation: heroReveal 1.35s .66s var(--ease) both;
}
.quote-mark { width: 19px; height: 15px; color: var(--rose-soft); }
.hero-quote p {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: .01em;
}
.hero-quote cite {
  display: block;
  margin-top: 11px;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 9px;
  font-style: normal;
  letter-spacing: .1em;
}
.hero-side-note {
  position: absolute;
  top: 43%; right: -20px;
  color: var(--muted-light);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: .22em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero-issue {
  position: absolute;
  top: -25px; left: -9px;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: .1em;
  line-height: 1;
  text-align: center;
}
.hero-issue b {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 29px;
  font-weight: 400;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 30px 0;
}
.stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-left: 30px;
  border-left: 1px solid var(--line);
}
.stat:first-child { padding-left: 0; border-left: 0; }
.stat-num {
  font-family: var(--font-en);
  font-size: clamp(30px, 3vw, 39px);
  line-height: 1;
  letter-spacing: -.015em;
}
.stat-num .plus { color: var(--rose); font-size: 22px; }
.stat-label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .06em;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Filters & inspiration
   -------------------------------------------------------------------------- */
.filter-area {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 3px;
}
.filter {
  min-height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: .03em;
  transition: color .3s ease, background .3s ease;
}
.filter:hover { color: var(--ink); background: var(--cream); }
.filter.is-active { background: var(--ink); color: #fff; }
.filter-result {
  color: var(--muted-light);
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.insp-grid {
  display: flex;
  flex-direction: column;
  gap: 44px;
  max-width: 720px;
  margin: 0 auto;
}
.insp-card {
  animation: cardIn .45s var(--ease) both;
}

/* Moments (朋友圈) feed card */
.mom-head { display: flex; align-items: center; gap: 12px; }
.mom-head .avatar { width: 44px; height: 44px; font-size: 15px; flex: none; }
.mom-author { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mom-author strong { font-size: 14px; font-weight: 500; color: var(--ink); letter-spacing: .01em; }
.mom-city { color: var(--muted-light); font-size: 10.5px; letter-spacing: .04em; }

.mom-body { margin-top: 14px; }
.mom-title { margin: 0 0 6px; font-family: var(--font-serif); font-size: 22px; font-weight: 400; line-height: 1.4; }
.mom-title a { transition: color .3s ease; }
.mom-title a:hover { color: var(--rose-deep); }
.mom-desc { margin: 0 0 14px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.9; }
.mom-media { display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--cream); }
.mom-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform 1.15s var(--ease-soft); }
.insp-card:hover .mom-media img { transform: scale(1.03); }

.mom-time { margin-top: 12px; color: var(--muted-light); font-size: 10.5px; letter-spacing: .04em; }

.mom-comments {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mom-comment { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; font-size: 12.5px; line-height: 1.7; }
.mom-comment-body { min-width: 0; color: var(--ink-soft); }
.mom-comment-body strong { color: var(--ink); font-weight: 500; margin-right: 2px; }
.mom-comment-actions { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.mom-comment-like { display: inline-flex; align-items: center; gap: 3px; flex: none; color: var(--muted); font-size: 10.5px; transition: color .3s ease; }
.mom-comment-like .icon { width: 12px; height: 12px; }
.mom-comment-like:hover { color: var(--rose); }
.mom-comment-like[aria-pressed="true"] { color: var(--rose); }
.mom-comments-more { align-self: flex-start; margin-top: 2px; display: inline-flex; align-items: center; gap: 3px; color: var(--rose-deep); font-size: 11px; }
.mom-comments-more .icon { width: 12px; height: 12px; }

.mom-actions { display: flex; align-items: center; gap: 22px; margin-top: 14px; }
.mom-action { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; transition: color .3s ease; }
.mom-action .icon { width: 16px; height: 16px; }
.mom-action:hover { color: var(--rose); }
.mom-action[aria-pressed="true"] { color: var(--rose); }
.mom-action[aria-pressed="true"] .icon { animation: heartPop .4s var(--ease); }
.mom-action-more { margin-left: auto; }
.mom-action-more .icon { width: 15px; height: 15px; }
.card-media {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-radius: var(--radius-sm);
}
.ratio-tall { aspect-ratio: 4 / 5; }
.ratio-wide { aspect-ratio: 1 / 1.12; }
.card-image-link { display: block; width: 100%; height: 100%; }
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.15s var(--ease-soft), filter .6s ease;
}
.insp-card:hover .card-media img { transform: scale(1.035); }
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32, 26, 21, .05), transparent 30%, transparent 70%, rgba(32, 26, 21, .13));
  opacity: .9;
  pointer-events: none;
  transition: opacity .4s ease;
}
.card-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: var(--ink-soft);
  font-size: 9.5px;
  letter-spacing: .12em;
  line-height: 1;
  backdrop-filter: blur(8px);
}
.save-btn {
  position: absolute;
  top: 11px; right: 11px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: var(--ink);
  backdrop-filter: blur(8px);
  transition: background .3s ease, color .3s ease, transform .3s var(--ease);
}
.save-btn .icon { width: 16px; height: 16px; }
.save-btn:hover { background: #fff; transform: translateY(-2px); color: var(--rose); }
.save-btn[aria-pressed="true"] { background: var(--rose-deep); color: #fff; }
.card-read {
  position: absolute;
  right: 14px; bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 9.5px;
  letter-spacing: .06em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s var(--ease);
}
.insp-card:hover .card-read { opacity: 1; transform: translateY(0); }
.card-info { padding: 15px 1px 0; }
.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .04em;
}
.card-meta span + span::before {
  content: "·";
  margin-right: 8px;
  color: var(--line-dark);
}
.card-info h3 {
  margin: 8px 0 13px;
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: .01em;
}
.card-info h3 a { transition: color .3s ease; }
.card-info h3 a:hover { color: var(--rose-deep); }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10.5px;
}
.author .avatar { width: 24px; height: 24px; font-size: 9px; }
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 10.5px;
  transition: color .3s ease;
}
.like-btn .icon { width: 15px; height: 15px; }
.like-btn:hover { color: var(--rose); }
.like-btn[aria-pressed="true"] { color: var(--rose); }
.like-btn[aria-pressed="true"] .icon { animation: heartPop .4s var(--ease); }

.insp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 64px 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.empty-flower { color: var(--rose-soft); font-size: 34px; line-height: 1; }
.insp-empty p { color: var(--muted); font-size: 12px; }

/* --------------------------------------------------------------------------
   Real weddings
   -------------------------------------------------------------------------- */
.real-weddings { padding-top: 24px; }
.section-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
}
.topline-note {
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: .02em;
}
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
}
.story-image {
  position: relative;
  display: block;
  min-height: 646px;
  overflow: hidden;
}
.story-image > img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-soft);
}
.story-image:hover > img { transform: scale(1.025); }
.story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 24, 19, .2), transparent 32%, transparent 58%, rgba(26, 20, 15, .58));
  pointer-events: none;
}
.story-stamp {
  position: absolute;
  top: 28px; left: 28px;
  z-index: 2;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: .18em;
  line-height: 1.6;
  text-align: center;
  backdrop-filter: blur(5px);
}
.story-stamp b { font-size: 22px; font-weight: 400; letter-spacing: .04em; }
.story-caption {
  position: absolute;
  left: 30px; right: 30px; bottom: 25px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .34);
  color: rgba(255, 255, 255, .96);
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: .14em;
  text-shadow: 0 1px 12px rgba(20, 15, 10, .5);
}
.story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px clamp(30px, 3.4vw, 50px) 38px;
}
.story-eyebrow {
  color: var(--rose);
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: .2em;
}
.story-content h2 {
  margin: 17px 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(48px, 4.6vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .02em;
}
.story-sub {
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.8;
}
.story-content blockquote {
  margin: 28px 0;
  padding-left: 20px;
  border-left: 1px solid var(--rose-soft);
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.85;
}
.story-content blockquote cite {
  display: block;
  margin-top: 8px;
  color: var(--muted-light);
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-style: normal;
  letter-spacing: .06em;
}
.story-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.story-meta div { display: flex; flex-direction: column; gap: 3px; }
.story-meta span {
  color: var(--muted-light);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.story-meta strong { font-size: 10.5px; font-weight: 400; color: var(--ink-soft); }
.story-content .btn { align-self: flex-start; margin-top: 28px; min-height: 44px; font-size: 11px; }
.next-story {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  transition: color .3s ease;
}
.next-story img { width: 64px; height: 46px; object-fit: cover; flex: 0 0 auto; }
.next-story span { display: flex; flex-direction: column; gap: 2px; }
.next-story small {
  color: var(--muted-light);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.next-story strong { font-family: var(--font-serif); font-size: 14px; font-weight: 400; }
.next-story .icon { margin-left: auto; width: 16px; height: 16px; color: var(--muted); transition: transform .3s var(--ease); }
.next-story:hover { color: var(--rose-deep); }
.next-story:hover .icon { transform: translate(2px, -2px); color: var(--rose); }

/* --------------------------------------------------------------------------
   Community
   -------------------------------------------------------------------------- */
.community {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.community-head { margin-bottom: 48px; }
.community-grid {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.tea-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 36px 34px 30px;
  min-height: 410px;
  border: 1px solid var(--line-dark);
  background: #fff;
  box-shadow: 0 20px 54px rgba(67, 51, 37, .05);
}
.tea-card::before {
  content: "";
  position: absolute;
  top: -70px; right: -70px;
  width: 180px; height: 180px;
  border: 1px solid var(--blush);
  border-radius: 50%;
}
.tea-label {
  position: relative;
  z-index: 1;
  color: var(--rose);
  font-family: var(--font-en);
  font-size: 8.5px;
  letter-spacing: .18em;
}
.tea-card h3 {
  position: relative;
  z-index: 1;
  margin: 19px 0 13px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.5vw, 32px);
  font-weight: 400;
  line-height: 1.5;
}
.tea-card > p:not(.tea-note) {
  position: relative;
  z-index: 1;
  max-width: 310px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.tea-people {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 0 22px;
  color: var(--muted);
  font-size: 10px;
}
.tea-card .btn { align-self: flex-start; }
.tea-note {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 11.5px;
  line-height: 1.8;
}
.tea-corner {
  position: absolute;
  right: 20px; bottom: 4px;
  color: var(--rose-soft);
  font-size: 72px;
  line-height: 1;
  opacity: .12;
  pointer-events: none;
}
.thread-list { border-top: 1px solid var(--line-dark); }
.thread-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 16px;
  padding: 23px 8px 23px 4px;
  border-bottom: 1px solid var(--line-dark);
  transition: background .35s ease, padding-left .35s var(--ease), box-shadow .35s ease;
}
.thread-row:hover {
  padding-left: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(67, 51, 37, .04);
}
.thread-num {
  align-self: flex-start;
  padding-top: 4px;
  color: var(--muted-light);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .1em;
}
.thread-tag {
  display: inline-block;
  padding: 4px 8px;
  background: var(--blush);
  color: var(--rose-deep);
  font-size: 8.5px;
  letter-spacing: .1em;
  line-height: 1.2;
}
.thread-main h3 {
  margin: 8px 0 6px;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.45;
  transition: color .3s ease;
}
.thread-row:hover h3 { color: var(--rose-deep); }
.thread-main > p {
  max-width: 560px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}
.thread-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
  color: var(--muted-light);
  font-size: 9.5px;
}
.thread-meta .avatar { width: 20px; height: 20px; font-size: 8px; margin-right: 1px; }
.thread-arrow {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .3s ease, transform .3s var(--ease), background .3s ease, color .3s ease;
}
.thread-arrow .icon { width: 15px; height: 15px; }
.thread-row:hover .thread-arrow { opacity: 1; transform: translateX(0); background: var(--ink); border-color: var(--ink); color: #fff; }

/* --------------------------------------------------------------------------
   Vendors
   -------------------------------------------------------------------------- */
.vendors .section-head { align-items: flex-end; }
.vendors .section-intro h2 { max-width: 620px; }
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.vendor-card {
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s ease;
}
.vendor-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-dark);
  box-shadow: var(--shadow-soft);
}
.vendor-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3.15;
  overflow: hidden;
  background: var(--cream);
}
.vendor-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-soft);
}
.vendor-card:hover .vendor-media img { transform: scale(1.04); }
.vendor-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(38, 30, 24, .12));
}
.vendor-arrow {
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .35s ease, transform .35s var(--ease), background .3s ease, color .3s ease;
}
.vendor-arrow .icon { width: 15px; height: 15px; }
.vendor-card:hover .vendor-arrow { opacity: 1; transform: translateY(0); }
.vendor-arrow:hover { background: var(--ink); color: #fff; }
.vendor-info { padding: 17px 17px 15px; }
.vendor-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.vendor-title-row h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.3;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--gold);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .02em;
}
.rating .icon { width: 11px; height: 11px; }
.vendor-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: .04em;
}
.vendor-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 9px;
}
.vendor-foot a {
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 1px;
  transition: color .25s ease, border-color .25s ease;
}
.vendor-foot a:hover { color: var(--rose); border-color: var(--rose); }

/* --------------------------------------------------------------------------
   Invitation
   -------------------------------------------------------------------------- */
.invite { padding: 40px 0 118px; }
.invite-panel {
  position: relative;
  overflow: hidden;
  padding: 92px 48px 80px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0, rgba(244, 227, 220, .55), transparent 56%),
    linear-gradient(180deg, #fff, #fdfaf6);
  text-align: center;
}
.invite-eyebrow { justify-content: center; }
.invite-panel h2 {
  margin: 24px 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .015em;
}
.invite-desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}
.invite-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}
.newsletter {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(100%, 460px);
  margin: 48px auto 0;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--ink);
}
.newsletter input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
  text-align: left;
}
.newsletter input::placeholder { color: var(--muted-light); }
.newsletter button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  font-size: 10.5px;
  letter-spacing: .1em;
  transition: color .25s ease;
}
.newsletter button:hover { color: var(--rose); }
.form-note {
  margin-top: 12px;
  color: var(--muted-light);
  font-size: 9px;
  letter-spacing: .03em;
}
.form-note.is-success { color: var(--rose-deep); }
.invite-botanical {
  position: absolute;
  width: 320px;
  opacity: .14;
  pointer-events: none;
}
.invite-botanical-left { left: -88px; top: -66px; transform: rotate(18deg); }
.invite-botanical-right { right: -88px; bottom: -76px; transform: rotate(198deg); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1.4fr;
  gap: 38px;
  padding: 66px 0 54px;
}
.footer-brand .brand { margin-bottom: 22px; }
.footer-brand > p {
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.65;
  letter-spacing: .02em;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 24px;
}
.footer-social a {
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 2px;
  transition: color .25s ease, border-color .25s ease;
}
.footer-social a:hover { color: var(--rose); border-color: var(--rose); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  margin: 4px 0 8px;
  color: var(--muted-light);
  font-family: var(--font-en);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.footer-col a {
  width: fit-content;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
  transition: color .25s ease, padding-left .3s var(--ease);
}
.footer-col a:hover { color: var(--rose); padding-left: 3px; }
.footer-note {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.footer-note-index {
  color: var(--rose);
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: .18em;
}
.footer-note p {
  margin: 13px 0 12px;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.85;
}
.footer-sign { color: var(--muted); font-size: 9.5px; letter-spacing: .04em; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 18px 0 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-family: var(--font-en);
  font-size: 8.5px;
  letter-spacing: .07em;
}

/* --------------------------------------------------------------------------
   Back to top & toast
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 55;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(50, 40, 30, .08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .3s ease, visibility .3s ease, transform .35s var(--ease), background .3s ease, color .3s ease;
}
.back-to-top .icon { width: 16px; height: 16px; transform: rotate(-90deg); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--ink); color: #fff; }
.toast {
  position: fixed;
  left: 50%; bottom: 30px;
  z-index: 300;
  max-width: calc(100% - 40px);
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(38, 35, 31, .95);
  color: #fff;
  font-size: 11px;
  letter-spacing: .03em;
  opacity: 0;
  transform: translate(-50%, 10px);
  pointer-events: none;
  transition: opacity .3s ease, transform .35s var(--ease);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .15);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   Search overlay
   -------------------------------------------------------------------------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  overflow-y: auto;
  background: var(--white);
  animation: overlayIn .4s var(--ease) both;
}
.search-overlay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}
.search-overlay-label {
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.search-overlay-body {
  max-width: 1000px;
  padding-top: clamp(52px, 9vh, 96px);
  padding-bottom: 80px;
}
.search-big {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
}
.search-big-icon { width: 24px; height: 24px; color: var(--muted); }
.search-big input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.3;
}
.search-big input::placeholder { color: #cfc7bb; }
.search-big-submit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 19px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  transition: background .3s ease;
}
.search-big-submit:hover { background: var(--rose-deep); }
.search-suggestions {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  margin-top: 48px;
}
.search-suggest-label {
  margin-bottom: 15px;
  color: var(--muted-light);
  font-family: var(--font-en);
  font-size: 8.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-chips button {
  padding: 9px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 11px;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.search-chips button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.search-destinations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.search-destinations button {
  min-height: 52px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 14px;
  transition: background .3s ease, color .3s ease;
}
.search-destinations button:hover { background: var(--cream); color: var(--rose-deep); }
.search-hint {
  margin-top: 70px;
  color: var(--muted-light);
  font-size: 9px;
  letter-spacing: .05em;
}
kbd {
  display: inline-block;
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 8px;
}

/* --------------------------------------------------------------------------
   Modals
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27, 23, 19, .48);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: fadeIn .35s ease both;
}
.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1000px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .24);
  animation: modalIn .55s var(--ease) both;
  scrollbar-width: thin;
}
.modal-close {
  position: absolute;
  top: 15px; right: 15px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
  transition: background .3s ease, color .3s ease, transform .3s var(--ease);
}
.modal-close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.modal-close .icon { width: 16px; height: 16px; }

/* Post modal */
.post-dialog { width: min(100%, 1080px); overflow: hidden; }
.post-modal-grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  max-height: calc(100vh - 48px);
}
.post-modal-media {
  position: relative;
  min-height: 640px;
  background: var(--cream);
}
.post-modal-media img { width: 100%; height: 100%; object-fit: cover; }
.post-modal-stamp {
  position: absolute;
  left: 24px; top: 24px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: .17em;
  backdrop-filter: blur(5px);
}
.post-modal-content {
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 48px 42px 32px;
}
.post-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.post-modal-tag {
  padding: 5px 10px;
  background: var(--blush);
  color: var(--rose-deep);
  font-size: 9px;
  letter-spacing: .1em;
}
.post-modal-time {
  color: var(--muted-light);
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: .08em;
}
.post-modal-content h2 {
  margin: 16px 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.25;
}
.post-modal-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.post-modal-author .avatar { width: 34px; height: 34px; font-size: 12px; }
.post-modal-author div { display: flex; flex-direction: column; gap: 1px; }
.post-modal-author strong { font-size: 11px; font-weight: 500; }
.post-modal-author span { color: var(--muted); font-size: 9px; }
.post-modal-author .author-dm { margin-left: auto; font-size: inherit; color: inherit; }
.post-modal-desc { margin-top: 18px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.95; }
.post-modal-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.post-modal-tags span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
}
.post-modal-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.pill-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 10px;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.pill-action .icon { width: 14px; height: 14px; }
.pill-action:hover { border-color: var(--rose-soft); color: var(--rose); }
.pill-action[aria-pressed="true"] { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.post-modal-stat { margin-left: auto; color: var(--muted-light); font-size: 9px; }
.post-modal-stat strong { color: var(--ink-soft); font-weight: 400; }
.post-comments { margin-top: 25px; }
.post-comments-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.post-comments-head h3 { font-family: var(--font-serif); font-size: 17px; font-weight: 400; }
.post-comments-head span { color: var(--muted-light); font-size: 9px; }
.comment-list { display: flex; flex-direction: column; gap: 13px; }
.comment {
  display: flex;
  gap: 9px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}
.comment .avatar { width: 25px; height: 25px; font-size: 9px; }
.comment-body { min-width: 0; flex: 1; }
.comment-body strong { display: block; font-size: 9.5px; font-weight: 500; }
.comment-body p { margin-top: 2px; color: var(--muted); font-size: 10.5px; line-height: 1.7; }
.comment-like { display: inline-flex; align-items: center; align-self: flex-start; gap: 3px; flex: none; margin-left: auto; color: var(--muted); font-size: 10.5px; transition: color .3s ease; }
.comment-like .icon { width: 12px; height: 12px; }
.comment-like:hover { color: var(--rose); }
.comment-like[aria-pressed="true"] { color: var(--rose); }
.comment-dm {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 3px;
  flex: none;
  color: var(--rose-deep);
  font-size: 10.5px;
  transition: color .3s ease;
}
.comment-dm .icon { width: 11px; height: 11px; }
.comment-dm:hover { color: var(--rose); }
.comment-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 3px 3px 3px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color .3s ease;
}
.comment-form:focus-within { border-color: var(--rose-soft); }
.comment-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 10.5px;
  padding: 7px 0;
}
.comment-form button {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  transition: background .3s ease;
}
.comment-form button .icon { width: 14px; height: 14px; }
.comment-form button:hover { background: var(--rose-deep); }

/* Compose */
.compose-dialog { width: min(100%, 840px); padding: 46px 48px 38px; }
.compose-head { max-width: 580px; }
.compose-head h2 {
  margin: 14px 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.5vw, 42px);
  font-weight: 400;
  line-height: 1.25;
}
.compose-head > p:last-child { color: var(--muted); font-size: 11.5px; }
.compose-form { margin-top: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .06em;
}
.field > span em {
  color: var(--muted-light);
  font-size: 8.5px;
  font-style: normal;
}
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  padding: 12px 13px;
  outline: 0;
  font-size: 12px;
  line-height: 1.6;
  transition: border-color .3s ease, background .3s ease;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--rose-soft); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-light); }
.select-wrap { position: relative; display: block; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 34px; }
.select-wrap .icon {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.cover-field { margin-top: 2px; }
.cover-field legend {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .06em;
}
.cover-options { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; }
.cover-option { position: relative; display: block; cursor: pointer; }
.cover-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cover-option img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s var(--ease);
}
.cover-option span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 8.5px;
  text-align: center;
}
.cover-option input:checked ~ img {
  border-color: var(--rose);
  box-shadow: 0 0 0 1px var(--rose);
  transform: translateY(-2px);
}
.cover-option input:focus-visible ~ img { outline: 1.5px solid var(--rose); outline-offset: 3px; }
.compose-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}
.compose-actions p { color: var(--muted-light); font-size: 9px; }

/* Thread modal */
.thread-dialog { width: min(100%, 730px); padding: 48px 50px 38px; }
.thread-modal-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.thread-modal-tag {
  display: inline-block;
  padding: 4px 9px;
  background: var(--blush);
  color: var(--rose-deep);
  font-size: 8.5px;
  letter-spacing: .1em;
}
.thread-modal-head h2 {
  margin: 13px 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 400;
  line-height: 1.4;
}
.thread-modal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--muted-light);
  font-size: 9.5px;
}
.thread-modal-meta .avatar { width: 21px; height: 21px; font-size: 8px; }
.thread-modal-body { padding-top: 20px; }
.thread-modal-body > p { color: var(--ink-soft); font-size: 12px; line-height: 1.95; }
.thread-replies { margin-top: 26px; }
.thread-replies h3 {
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
}
.thread-replies h3 span { color: var(--muted); font-family: var(--font-sans); font-size: 9px; }
.thread-reply {
  display: flex;
  gap: 9px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.thread-reply .avatar { width: 27px; height: 27px; font-size: 9.5px; }
.thread-reply-body strong { font-size: 9.5px; font-weight: 500; }
.thread-reply-body p { margin-top: 3px; color: var(--muted); font-size: 10.5px; line-height: 1.75; }

/* Login modal */
.login-dialog { width: min(100%, 450px); padding: 46px 42px 36px; }

/* Create group modal */
.group-create-dialog { width: min(100%, 440px); padding: 40px 36px 30px; }
.group-create-dialog .eyebrow { justify-content: center; }
.group-create-dialog h2 {
  margin: 14px 0 8px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  text-align: center;
}
.group-create-dialog .modal-sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}
.group-create-dialog .btn { margin-top: 4px; min-height: 46px; }
.group-color-pick { display: flex; gap: 12px; flex-wrap: wrap; }
.color-swatch {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.color-swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.color-swatch:has(input:checked) { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); transform: scale(1.06); }
.color-swatch:has(input:focus-visible) { outline: 2px solid var(--rose-deep); outline-offset: 2px; }
.login-head { text-align: center; }
.login-mark { width: 42px; height: 42px; margin: 0 auto 15px; color: var(--ink); }
.login-head .eyebrow { justify-content: center; }
.login-head h2 {
  margin: 14px 0 7px;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 400;
}
.login-head p:last-child { color: var(--muted); font-size: 10.5px; line-height: 1.8; }
.login-form { margin-top: 24px; }
.login-form .field { margin-bottom: 13px; }
.login-form .btn { margin-top: 5px; min-height: 46px; }
.code-field { display: flex; gap: 8px; }
.code-field input { flex: 1; }
.code-field button {
  flex: 0 0 auto;
  padding: 0 11px;
  border: 1px solid var(--line);
  color: var(--rose-deep);
  font-size: 9px;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: border-color .3s ease, background .3s ease;
}
.code-field button:hover { border-color: var(--rose-soft); background: var(--blush); }
.pw-field { position: relative; }
.pw-field input { padding-right: 40px; }
.pw-toggle {
  position: absolute;
  top: 50%;
  right: 11px;
  transform: translateY(-50%);
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted-light);
  cursor: pointer;
  transition: color .2s ease;
}
.pw-toggle:hover { color: var(--rose-deep); }
.pw-toggle.is-visible { color: var(--rose-deep); }
.pw-toggle .icon { width: 16px; height: 16px; }
.pw-toggle .icon-eye-off { display: none; }
.pw-toggle.is-visible .icon-eye { display: none; }
.pw-toggle.is-visible .icon-eye-off { display: inline; }
.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted-light);
  font-size: 8px;
}
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.login-note { margin-top: 15px; color: var(--muted-light); font-size: 8.5px; line-height: 1.7; text-align: center; }
.confirm-actions { display: flex; gap: 10px; margin-top: 26px; }
.confirm-actions .btn { flex: 1; min-height: 46px; }

/* Vendor modal */
.vendor-dialog { width: min(100%, 910px); overflow: hidden; }
.vendor-modal-media { height: 100%; min-height: 500px; background: var(--cream); }
.vendor-modal-media img { width: 100%; height: 100%; object-fit: cover; }
.vendor-dialog { display: grid; grid-template-columns: 1.08fr 1fr; }
.vendor-dialog .modal-close { background: rgba(255, 255, 255, .94); }
.vendor-modal-content { padding: 50px 42px 38px; align-self: center; }
.vendor-modal-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 13px 0 5px;
}
.vendor-modal-title h2 { font-family: var(--font-serif); font-size: clamp(30px, 3vw, 40px); font-weight: 400; }
.vendor-modal-meta { color: var(--muted); font-size: 10px; letter-spacing: .05em; }
.vendor-modal-desc { margin-top: 20px; color: var(--ink-soft); font-size: 12px; line-height: 1.95; }
.vendor-modal-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.vendor-modal-tags span { padding: 5px 9px; border: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.vendor-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 9px;
}
.vendor-modal-foot .btn { min-height: 42px; font-size: 11px; }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(178, 107, 112, .35); }
  50% { box-shadow: 0 0 0 5px rgba(178, 107, 112, 0); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(26px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heartPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
@keyframes overlayIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(22px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.js .reveal-target {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger inside card rows */
.js .reveal-target[data-delay="1"] { transition-delay: .08s; }
.js .reveal-target[data-delay="2"] { transition-delay: .16s; }
.js .reveal-target[data-delay="3"] { transition-delay: .24s; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  :root { --gutter: 40px; }
  .desktop-nav { gap: 24px; }
  .hero-visual { min-height: 600px; }
  .hero-photo-main { height: 525px; }
  .hero-photo-top { height: 200px; }
  .hero-photo-bottom { height: 196px; }
  .hero-quote { width: 250px; padding: 20px; }
  .insp-grid { column-gap: 28px; }
  .vendor-grid { gap: 18px; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 28px; }
}

@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-actions { gap: 8px; }
  .login-link { display: none; }
  .publish-btn { display: none; }
  .hero { padding-top: 44px; }
  .hero-grid { gap: 42px; }
  .hero-photo-main { height: 500px; }
  .hero-visual { min-height: 575px; }
  .hero-quote { width: 235px; padding: 18px; }
  .hero-quote p { font-size: 14px; }
  .section { padding: 96px 0; }
  .real-weddings { padding-top: 20px; }
  .story-grid { grid-template-columns: 1.2fr 1fr; }
  .story-image { min-height: 580px; }
  .story-content { padding: 38px 30px 30px; }
  .story-content h2 { font-size: 50px; }
  .community-grid { grid-template-columns: 1fr 1.4fr; gap: 38px; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
  .footer-note p { margin: 0; }
  .footer-note-index { flex: 0 0 100%; }
  .vendor-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .vendor-media { aspect-ratio: 4 / 3; }
}

@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 700px; }
  .hero-title { font-size: clamp(50px, 8.4vw, 74px); }
  .hero-visual { width: min(100%, 640px); min-height: 620px; margin: 0 auto; }
  .hero-photo-main { height: 548px; }
  .hero-photo-top { height: 210px; }
  .hero-photo-bottom { height: 204px; }
  .hero-issue { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat { padding: 20px 24px; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-top: 0; }
  .stat:nth-child(n+3) { padding-bottom: 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 26px; }
  .filter-area { align-items: flex-start; width: 100%; }
  .filters { justify-content: flex-start; }
  .insp-grid { columns: 2; }
  .story-grid { grid-template-columns: 1fr; }
  .story-image { min-height: 460px; }
  .story-content { padding: 42px 38px 36px; }
  .story-content h2 { font-size: 54px; }
  .community-grid { grid-template-columns: 1fr; gap: 34px; }
  .tea-card { min-height: 0; }
  .thread-row { grid-template-columns: 38px minmax(0, 1fr) 36px; }
  .thread-arrow { opacity: 1; transform: none; }
  .search-suggestions { grid-template-columns: 1fr; gap: 38px; }
  .post-modal-grid { grid-template-columns: 1fr; max-height: calc(100vh - 48px); overflow-y: auto; }
  .post-modal-media { min-height: 280px; max-height: 330px; }
  .post-modal-content { max-height: none; overflow: visible; padding: 30px 28px 26px; }
  .post-dialog { overflow-y: auto; }
  .vendor-dialog { grid-template-columns: 1fr; max-height: calc(100vh - 48px); overflow-y: auto; }
  .vendor-modal-media { min-height: 300px; max-height: 340px; }
  .vendor-modal-content { padding: 32px 30px 28px; }
}

@media (max-width: 720px) {
  :root { --gutter: 24px; }
  .announcement-inner { font-size: 9px; letter-spacing: .08em; gap: 8px; }
  .announcement a { display: none; }
  .header-inner { min-height: 72px; }
  .brand-cn { font-size: 22px; }
  .brand-en { display: none; }
  .brand-mark { width: 31px; height: 31px; }
  .header-actions .icon-btn { width: 34px; height: 34px; }
  .hero { padding: 38px 0 66px; }
  .hero::after { display: none; }
  .hero-title { font-size: clamp(44px, 11vw, 62px); }
  .hero-italic { font-size: 18px; }
  .hero-desc { font-size: 12.5px; }
  .hero-search { width: 100%; }
  .hero-tags { gap: 6px 11px; }
  .hero-proof { margin-top: 28px; }
  .hero-visual {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr);
    grid-template-rows: 252px 128px;
    gap: 11px;
    min-height: 0;
    width: 100%;
  }
  .hero-photo { position: relative; inset: auto; width: auto; height: auto; animation: heroReveal 1.1s var(--ease) both; }
  .hero-photo-main { grid-row: 1 / 3; grid-column: 1; height: 100%; border-radius: 160px 160px 4px 4px; }
  .hero-photo-top { grid-column: 2; grid-row: 1; height: 100%; border-radius: 4px; }
  .hero-photo-bottom { grid-column: 2; grid-row: 2; height: 100%; border-radius: 4px; }
  .hero-photo figcaption { padding: 16px 11px 9px; font-size: 7px; letter-spacing: .08em; }
  .hero-photo-top figcaption, .hero-photo-bottom figcaption { font-size: 0; padding: 10px; }
  .hero-photo-top figcaption span, .hero-photo-bottom figcaption span { display: none; }
  .hero-quote, .hero-side-note, .hero-issue { display: none; }
  .stats-grid { padding: 22px 0; }
  .stat { flex-direction: column; gap: 5px; padding: 16px 16px; }
  .stat-num { font-size: 29px; }
  .stat-label { font-size: 9px; }
  .section { padding: 72px 0; }
  .real-weddings { padding-top: 16px; }
  .section h2 { font-size: clamp(36px, 8vw, 46px); }
  .section-head { margin-bottom: 34px; }
  .section-topline { flex-direction: column; align-items: flex-start; gap: 9px; padding: 16px 0 20px; }
  .topline-note { font-size: 11px; }
  .filter-area { gap: 8px; }
  .filters { gap: 2px; }
  .filter { min-height: 32px; padding: 0 12px; font-size: 10.5px; }
  .insp-grid { column-gap: 18px; }
  .card-info h3 { font-size: 20px; margin-bottom: 9px; }
  .card-meta { font-size: 9px; }
  .card-foot { gap: 8px; }
  .author { font-size: 9.5px; }
  .author .avatar { width: 21px; height: 21px; font-size: 8px; }
  .like-btn { font-size: 9.5px; }
  .card-read { display: none; }
  .story-image { min-height: 360px; }
  .story-stamp { top: 18px; left: 18px; padding: 9px 11px; font-size: 7px; }
  .story-stamp b { font-size: 17px; }
  .story-caption { left: 20px; right: 20px; bottom: 18px; font-size: 8px; }
  .story-content { padding: 32px 26px 28px; }
  .story-content h2 { font-size: 44px; }
  .story-sub { font-size: 14px; }
  .story-content blockquote { font-size: 13px; margin: 22px 0; }
  .story-meta { grid-template-columns: 1fr 1fr; }
  .next-story { margin-top: 24px; }
  .community-head { margin-bottom: 30px; }
  .tea-card { padding: 28px 24px 25px; }
  .tea-card h3 { font-size: 26px; }
  .thread-row { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 18px 4px; }
  .thread-arrow { display: none; }
  .thread-main h3 { font-size: 18px; }
  .thread-main > p { font-size: 10.5px; }
  .thread-meta { font-size: 8.5px; }
  .vendor-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .vendor-info { padding: 13px 12px 12px; }
  .vendor-title-row h3 { font-size: 16px; }
  .vendor-meta { font-size: 8.5px; }
  .vendor-foot { font-size: 8px; margin-top: 10px; padding-top: 9px; }
  .vendor-foot span { display: none; }
  .vendor-foot a { margin-left: auto; }
  .invite { padding: 22px 0 72px; }
  .invite-panel { padding: 62px 22px 56px; }
  .invite-panel h2 { font-size: clamp(37px, 9vw, 48px); }
  .invite-desc { font-size: 11.5px; }
  .invite-actions { gap: 16px; }
  .newsletter { margin-top: 34px; }
  .invite-botanical { width: 210px; opacity: .1; }
  .invite-botanical-left { left: -100px; top: -50px; }
  .invite-botanical-right { right: -100px; bottom: -60px; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 48px 0 40px; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > p { font-size: 18px; }
  .footer-note { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 7px; padding: 16px 0 20px; }
  .back-to-top { right: 16px; bottom: 16px; width: 38px; height: 38px; }
  .toast { bottom: 20px; }
  .search-overlay-head { min-height: 72px; }
  .search-big { gap: 10px; flex-wrap: wrap; }
  .search-big input { font-size: 24px; flex: 1 0 calc(100% - 42px); }
  .search-big-submit { margin-left: auto; }
  .search-suggestions { margin-top: 34px; }
  .search-hint { margin-top: 42px; }
  .post-modal-media { min-height: 230px; max-height: 250px; }
  .post-modal-content { padding: 24px 20px 22px; }
  .post-modal-content h2 { font-size: 30px; }
  .post-modal-actions { gap: 7px; }
  .post-modal-stat { display: none; }
  .compose-dialog { padding: 34px 22px 26px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .cover-options { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .compose-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .compose-actions .btn { width: 100%; }
  .thread-dialog { padding: 34px 24px 26px; }
  .login-dialog { padding: 36px 24px 28px; }
  .vendor-dialog { width: 100%; }
  .vendor-modal-media { min-height: 220px; max-height: 240px; }
  .vendor-modal-content { padding: 26px 22px 24px; }
  .vendor-modal-title h2 { font-size: 28px; }
  .vendor-modal-foot { flex-direction: column; align-items: flex-start; }
  .vendor-modal-foot .btn { width: 100%; }
  .modal { padding: 12px; }
  .modal-dialog { max-height: calc(100vh - 24px); }
  .post-dialog .modal-close, .vendor-dialog .modal-close { top: 10px; right: 10px; }
}

@media (max-width: 520px) {
  .hero-title { font-size: clamp(41px, 11.4vw, 54px); }
  .hero-proof p { font-size: 10px; }
  .hero-visual { grid-template-rows: 220px 112px; }
  .insp-grid { columns: 1; }
  .ratio-tall, .ratio-wide { aspect-ratio: 1 / 1.12; }
  .card-info h3 { font-size: 23px; }
  .story-image { min-height: 300px; }
  .story-content { padding: 28px 20px 24px; }
  .story-content h2 { font-size: 40px; }
  .story-meta { grid-template-columns: 1fr; gap: 11px; }
  .story-content .btn { width: 100%; }
  .vendor-grid { grid-template-columns: 1fr; }
  .vendor-media { aspect-ratio: 4 / 3; }
  .vendor-title-row h3 { font-size: 19px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand, .footer-note { grid-column: auto; }
  .footer-note { padding-left: 0; }
  .filters { gap: 3px; }
  .filter { min-height: 30px; padding: 0 10px; font-size: 10px; }
  .stat { padding: 14px 12px; }
  .stat-num { font-size: 25px; }
  .stat-num .plus { font-size: 17px; }
  .stat-label { font-size: 8.5px; }
  .invite-panel { padding: 52px 18px 48px; }
  .newsletter input { font-size: 10.5px; }
  .search-destinations { grid-template-columns: repeat(2, 1fr); }
  .search-big-submit { min-height: 38px; padding: 0 14px; }
  .search-big input::placeholder { font-size: 20px; }
  .thread-dialog, .login-dialog { padding: 30px 18px 22px; }
  .cover-options { gap: 7px; }
  .post-modal-actions .pill-action { font-size: 9px; padding: 0 10px; }
}

@media (max-width: 380px) {
  .hero-visual { grid-template-columns: 1fr; grid-template-rows: 270px 140px 120px; }
  .hero-photo-main { grid-row: 1; grid-column: 1; border-radius: 140px 140px 4px 4px; }
  .hero-photo-top { grid-column: 1; grid-row: 2; }
  .hero-photo-bottom { grid-column: 1; grid-row: 3; }
  .hero-photo-top figcaption, .hero-photo-bottom figcaption { display: none; }
  .hero-tags > span { flex: 0 0 100%; }
  .filters { max-height: 96px; overflow-y: auto; }
  .stat { padding: 12px 8px; }
  .stat-num { font-size: 22px; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal-target { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Print (nice-to-have)
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .announcement, .hero-visual, .back-to-top, .modal, .search-overlay, .toast, .invite, .site-footer { display: none !important; }
  body { color: #000; }
  .section { padding: 24px 0; }
}

/* --------------------------------------------------------------------------
   Community feed
   -------------------------------------------------------------------------- */
.feed-head { margin-bottom: 46px; }
.feed-grid {
  columns: 3;
  column-gap: 24px;
}
.feed-card {
  break-inside: avoid;
  margin-bottom: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  animation: cardIn .45s var(--ease) both;
}
.feed-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.feed-card-media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--cream);
  cursor: pointer;
}
.feed-card-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 1.15s var(--ease-soft);
}
.feed-card:hover .feed-card-media img { transform: scale(1.03); }
.feed-count-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(38, 35, 31, .72);
  color: #fff;
  font-size: 9px;
  letter-spacing: .04em;
  backdrop-filter: blur(6px);
}

.feed-card-body { padding: 14px 16px 13px; }
.feed-card-author {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
}
.feed-card-author .avatar { width: 27px; height: 27px; font-size: 9.5px; }
.feed-card-author-meta { display: flex; flex-direction: column; line-height: 1.35; }
.feed-card-author-meta strong { font-size: 11px; font-weight: 500; }
.feed-card-author-meta span { color: var(--muted-light); font-size: 8.5px; }

.feed-card-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  margin: 0 0 11px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
  text-align: left;
  word-break: break-word;
  cursor: pointer;
  transition: color .3s ease;
}
.feed-card-text:hover { color: var(--rose-deep); }

.feed-card-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.feed-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  transition: color .3s ease;
}
.feed-action .icon { width: 14px; height: 14px; }
.feed-action:hover { color: var(--rose); }
.feed-action[aria-pressed="true"] { color: var(--rose); }
.feed-action[aria-pressed="true"] .icon { animation: heartPop .4s var(--ease); }

/* Feed compose modal */
.feed-compose-dialog { width: min(100%, 840px); padding: 46px 48px 38px; }

.upload-field { margin: 4px 0 0; }
.upload-field legend {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
}
.upload-field legend em { color: var(--muted-light); font-style: normal; font-size: 9px; }
.upload-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.upload-add {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border: 1px dashed var(--line-dark);
  border-radius: 999px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: .03em;
  transition: border-color .3s ease, background .3s ease, color .3s ease;
}
.upload-add:hover { border-color: var(--rose-soft); background: var(--blush); color: var(--rose-deep); }
.upload-add .icon { width: 14px; height: 14px; }
.upload-hint { color: var(--muted-light); font-size: 9.5px; }

.upload-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.upload-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream);
}
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload-thumb-remove {
  position: absolute;
  top: 5px; right: 5px;
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(38, 35, 31, .66);
  color: #fff;
  transition: background .3s ease;
}
.upload-thumb-remove:hover { background: var(--rose-deep); }
.upload-thumb-remove .icon { width: 12px; height: 12px; }

.upload-presets { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.upload-preset {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0;
  background: none;
  cursor: pointer;
}
.upload-preset img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: border-color .3s ease, transform .3s var(--ease);
}
.upload-preset span { color: var(--muted-light); font-size: 8.5px; }
.upload-preset:hover img { border-color: var(--rose-soft); transform: translateY(-2px); }
.upload-preset:focus-visible img { outline: 1.5px solid var(--rose); outline-offset: 2px; }

/* Feed post modal */
.feed-post-dialog { width: min(100%, 760px); max-height: calc(100vh - 48px); overflow-y: auto; }
.feed-post-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.feed-modal-images {
  background: var(--cream);
  max-height: 640px;
  overflow-y: auto;
}
.feed-modal-image img { width: 100%; height: auto; display: block; }
.feed-modal-image + .feed-modal-image { border-top: 1px solid var(--line); }
.feed-modal-image-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 100%;
  padding: 40px 24px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}
.feed-modal-content {
  display: flex;
  flex-direction: column;
  padding: 34px 30px 28px;
}
.feed-modal-text {
  margin: 18px 0 4px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
  white-space: pre-wrap;
  word-break: break-word;
}
.feed-modal-content .post-modal-actions { margin-top: 16px; }
.feed-modal-content .post-comments { margin-top: 20px; }

/* Feed responsive */
@media (max-width: 1024px) {
  .feed-grid { columns: 2; column-gap: 20px; }
}
@media (max-width: 900px) {
  .feed-post-body { grid-template-columns: 1fr; min-height: 0; }
  .feed-modal-images { max-height: 320px; }
}
@media (max-width: 720px) {
  .feed-grid { columns: 2; column-gap: 14px; }
  .feed-card { margin-bottom: 16px; }
  .feed-card-body { padding: 12px 13px 11px; }
  .feed-card-text { font-size: 11px; }
  .feed-compose-dialog { padding: 34px 22px 26px; }
  .feed-post-dialog { width: 100%; }
  .feed-modal-content { padding: 22px 18px 20px; }
  .upload-preset img { width: 54px; height: 54px; }
}
@media (max-width: 520px) {
  .feed-grid { columns: 1; }
}

/* ==========================================================================
   Messages — friends & chat
   ========================================================================== */
.chat-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.chat-contacts {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--cream);
  border-right: 1px solid var(--line);
}
.chat-contacts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line);
}
.chat-contacts-head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .02em;
}
.chat-contacts-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-size: 10.5px;
}
.chat-contacts-head-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.chat-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 10px;
  padding: 0 13px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}
.chat-search .icon { width: 13px; height: 13px; color: var(--muted-light); flex: none; }
.chat-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12.5px;
}
.chat-search input:focus { outline: none; }
.chat-search input::placeholder { color: var(--muted-light); }
.chat-contact-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 10px;
}
.chat-contact-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 12px 8px;
  border-bottom: 1px solid var(--line);
}
.chat-contact-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--muted);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
}
.chat-contact-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chat-contact-tab-count {
  display: inline-grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-size: 10px;
}
.chat-contact-tab.is-active .chat-contact-tab-count { background: #fff; color: var(--ink); }
.chat-contact-scroll { flex: 1; min-height: 0; overflow-y: auto; }
.chat-contact-scroll .chat-contact-list { flex: none; min-height: 0; overflow: visible; padding: 10px; }
.chat-contact-empty { padding: 24px 12px; margin: 0; text-align: center; color: var(--muted-light); font-size: 12.5px; }
.chat-blacklist { border-top: 1px solid var(--line); }
.chat-blacklist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 6px;
}
.chat-blacklist-head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: .04em;
}

.chat-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: background .3s ease;
}
.chat-contact:hover { background: rgba(255, 255, 255, .72); }
.chat-contact.is-active { background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.chat-contact--blocked { opacity: .82; }
.chat-contact-btn {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 6px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.chat-contact-btn.is-disabled { cursor: default; }
.chat-contact .avatar { width: 40px; height: 40px; font-size: 14px; }
.chat-contact-block {
  flex: none;
  padding: 4px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted-light);
  font-size: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.chat-contact-block:hover { color: var(--rose-deep); background: var(--blush); border-color: var(--rose-soft); }
.chat-contact-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chat-contact-line { display: flex; align-items: center; gap: 6px; min-width: 0; }
.chat-contact-line strong { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.chat-contact-time { margin-left: auto; flex: none; color: var(--muted-light); font-size: 10px; }
.chat-contact-origin { flex: none; color: var(--muted-light); font-size: 10px; }
.chat-contact-bottom { display: flex; align-items: center; gap: 8px; min-width: 0; }
.chat-contact-preview {
  flex: 1;
  min-width: 0;
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-contact-handhold {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--rose-deep);
  font-size: 9.5px;
  white-space: nowrap;
}
.chat-contact-handhold .icon { width: 10px; height: 10px; }
.chat-contact-badge {
  flex: none;
  padding: 1px 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 9.5px;
  line-height: 1.55;
  letter-spacing: .02em;
}
.chat-contact-badge.is-mutual { background: var(--blush); color: var(--rose-deep); }
.chat-contact-badge.is-following { background: var(--cream-deep); color: var(--muted); }
.chat-contact-badge.is-followback { background: var(--rose-soft); color: var(--rose-deep); }
.chat-contact-badge.is-stranger { background: transparent; color: var(--muted-light); border-color: var(--line-dark); }
.chat-contact-badge.is-group { background: rgba(135, 149, 126, .14); color: var(--sage); }

/* 群聊分组 */
.chat-contacts-head-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.chat-contact-folder {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted-light);
  cursor: pointer;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.chat-contact-folder .icon { width: 13px; height: 13px; }
.chat-contact-folder:hover { color: var(--sage); background: rgba(135, 149, 126, .14); border-color: rgba(135, 149, 126, .3); }
.group-folder { margin-bottom: 2px; }
.group-folder-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 5px;
}
.group-folder-head h4 {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--muted);
}
.group-folder-count {
  display: inline-grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(135, 149, 126, .14);
  color: var(--sage);
  font-size: 10px;
}
.group-folder-badge {
  flex: none;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(135, 149, 126, .14);
  color: var(--sage);
  font-size: 10px;
  white-space: nowrap;
}

/* 分组管理 / 移动分组弹窗 */
.folder-add { display: flex; gap: 8px; margin: 0 0 14px; }
.folder-add input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}
.folder-add input:focus { outline: none; border-color: var(--ink-soft); }
.folder-list { display: flex; flex-direction: column; gap: 8px; max-height: 300px; overflow-y: auto; }
.folder-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.folder-row-name { flex: 1; min-width: 0; font-size: 13px; color: var(--ink); }
.folder-row-name em { font-style: normal; color: var(--muted-light); font-size: 11px; margin-left: 6px; }
.folder-row-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.folder-row-actions button {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease;
}
.folder-row-actions button:hover { color: var(--ink); border-color: var(--ink-soft); }
.folder-row-actions .is-danger:hover { color: var(--rose-deep); border-color: var(--rose-soft); }
.folder-empty { padding: 22px 12px; text-align: center; color: var(--muted-light); font-size: 12.5px; }
.folder-pick { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow-y: auto; }
.folder-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: border-color .25s ease, background .25s ease;
}
.folder-option:hover { border-color: var(--ink-soft); background: var(--cream); }
.folder-option.is-current { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.folder-option-name { font-size: 13px; color: var(--ink); }
.folder-option-tag { font-size: 10px; color: var(--sage); }

@media (max-width: 860px) {
  .group-folder {
    flex: 0 0 auto;
    width: 240px;
    display: flex;
    flex-direction: column;
  }
  .group-folder .chat-contact { width: auto; }
  .group-folder-head { padding-left: 4px; }
}

.chat-window {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 620px;
}
.chat-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 60px 30px;
  text-align: center;
}
.chat-empty h3 {
  margin: 6px 0 0;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .02em;
}
.chat-empty p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.8; max-width: 340px; }

.chat-active {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.chat-header .avatar { width: 40px; height: 40px; font-size: 14px; }
.chat-header-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chat-header-meta strong { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.chat-header-meta span { font-size: 11px; color: var(--muted-light); }
.chat-header-meta span.is-online { color: var(--sage); }
.chat-header .btn { margin-left: auto; }
.chat-header-actions { margin-left: auto; display: flex; gap: 8px; }
.chat-header-actions .btn { margin-left: 0; }
.chat-handhold {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  margin-top: 3px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--rose-deep);
  font-size: 10.5px;
}
.chat-handhold .icon { width: 11px; height: 11px; }

.chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px;
  background: var(--cream);
}
.chat-hint {
  margin: auto;
  color: var(--muted-light);
  font-size: 11.5px;
  line-height: 1.7;
  text-align: center;
}
.chat-message {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 72%;
}
.chat-message.from-me { align-self: flex-end; align-items: flex-end; }
.chat-message.from-them { align-self: flex-start; align-items: flex-start; }
.chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}
.from-me .chat-bubble { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.from-them .chat-bubble { background: var(--white); color: var(--ink-soft); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-message time { font-size: 9.5px; color: var(--muted-light); }

.chat-footer {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.chat-limit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 4px;
  font-size: 12px;
  color: var(--rose-deep);
}
.chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-input input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  transition: border-color .3s ease, background .3s ease;
}
.chat-input input::placeholder { color: var(--muted-light); }
.chat-input input:focus { outline: none; border-color: var(--rose); background: var(--white); }
.chat-input button {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transition: background .3s ease, transform .3s var(--ease);
}
.chat-input button:hover { background: var(--rose-deep); transform: translateY(-1px); }
.chat-input button .icon { width: 17px; height: 17px; }

/* Messages responsive */
@media (max-width: 860px) {
  .chat-layout { grid-template-columns: 1fr; }
  .chat-contacts { border-right: 0; border-bottom: 1px solid var(--line); }
  .chat-contact-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
  }
  .chat-contact {
    flex: 0 0 auto;
    width: 220px;
  }
  .chat-window { min-height: 520px; }
  .chat-empty { min-height: 520px; }
}
@media (max-width: 520px) {
  .chat-contact { width: 180px; padding: 11px 10px; }
  .chat-contact .avatar { width: 34px; height: 34px; font-size: 12px; }
  .chat-messages { padding: 18px 14px; }
  .chat-message { max-width: 84%; }
  .chat-header { padding: 14px 16px; }
}

/* ==========================================================================
   发觉 / 灵感 — 话题分类、发布形式、视频媒体
   ========================================================================== */
.inline-search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 440px;
  margin: 0 0 12px;
}
.inline-search .icon {
  position: absolute;
  left: 15px;
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}
.inline-search input {
  width: 100%;
  height: 42px;
  padding: 0 18px 0 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 12.5px;
  outline: none;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.inline-search input::placeholder { color: var(--muted-light); }
.inline-search input:focus {
  border-color: var(--rose-soft);
  box-shadow: 0 0 0 3px rgba(216, 176, 178, .18);
}

.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 6px 0 22px;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--rose-deep);
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .02em;
  white-space: nowrap;
}
.topic-pill-sm { padding: 1px 7px; font-size: 8.5px; }
.mom-head .topic-pill { margin-left: auto; }

.feed-card-author-line { display: flex; align-items: center; gap: 6px; }
.feed-card-author-meta .topic-pill { color: var(--rose-deep); }

.mom-media-video { position: relative; background: #000; }
.mom-media-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-modal-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-modal-grid.is-text-only { grid-template-columns: 1fr; }
.post-modal-grid.is-text-only .post-modal-media { display: none; }

.choice-field { margin: 4px 0 0; padding: 0; border: 0; }
.choice-field legend {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .06em;
}
.choice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}
.choice-chip { position: relative; cursor: pointer; }
.choice-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .03em;
  transition: color .3s ease, border-color .3s ease, background .3s ease;
}
.choice-chip:hover span { border-color: var(--rose-soft); color: var(--ink); }
.choice-chip input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.choice-chip input:focus-visible + span { outline: 2px solid var(--rose-soft); outline-offset: 2px; }

/* AI 接入开关面板（发布灵感 / 发布动态表单共用） */
.ai-field { margin: 4px 0 0; padding: 0; border: 0; }
.ai-field legend {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .06em;
}
.ai-field legend em { color: var(--muted-light); font-style: normal; font-size: 9px; }
.ai-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 8px; }
.ai-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.ai-row:last-child { border-bottom: 0; }
.ai-name { font-size: 12.5px; color: var(--ink); font-weight: 500; }
.ai-note { color: var(--muted); font-size: 12.5px; margin-top: 8px; }
.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-track {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 999px;
  background: #d6cec1;
  transition: background .25s ease;
  cursor: pointer;
}
.switch-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .22);
  transition: transform .25s ease;
}
.switch input:checked + .switch-track { background: var(--rose-deep); }
.switch input:checked + .switch-track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--rose); outline-offset: 2px; }

/* ==========================================================================
   我的 — 个人主页 / 设置 / 隐私 / 注销
   ========================================================================== */
.me-section { padding-top: 72px; }
.me-profile {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 34px 38px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.avatar-xl { width: 88px; height: 88px; font-size: 30px; border: 4px solid #fff; box-shadow: 0 10px 30px rgba(67, 51, 37, .18); }
.avatar-muted {
  background: linear-gradient(145deg, #d5cec4, #a9a096);
  color: #fff;
}
.me-profile-info { flex: 1; min-width: 0; }
.me-profile-info h2 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .02em;
}
.me-id { margin: 0 0 16px; color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.me-id span { color: var(--ink-soft); font-family: var(--font-en); letter-spacing: .06em; }
.me-id--member { margin-top: -12px; }
.me-id--member span { color: var(--rose); font-weight: 600; }
.me-copy-btn {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 7px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  vertical-align: -4px;
  transition: color .15s ease, border-color .15s ease;
}
.me-copy-btn:hover { color: var(--ink); border-color: var(--ink-soft); }
.me-copy-btn .icon { width: 11px; height: 11px; }
.me-stats { display: flex; flex-wrap: wrap; gap: 26px; }
.me-stats button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 10.5px;
}
.me-stats button strong { color: var(--ink); font-family: var(--font-en); font-size: 20px; font-weight: 600; }
.me-bio {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}
.me-bio.is-empty { color: var(--muted-light); }
.me-edit-btn { margin-left: auto; align-self: flex-start; }

.me-menu {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
}
.me-menu-group {
  margin: 0;
  padding: 18px 24px 8px;
  color: var(--muted-light);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.me-menu-group:first-child { padding-top: 22px; }
.me-menu-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 24px;
  border: 0;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background .3s ease;
}
.me-menu-group + .me-menu-row { border-top: 0; }
.me-menu-row:hover { background: var(--cream); }
.me-menu-row.is-danger .me-menu-label { color: var(--rose-deep); }
.me-menu-row.is-danger .me-menu-icon { color: var(--rose-deep); }
.me-menu-icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blush);
  color: var(--rose-deep);
}
.me-menu-icon .icon { width: 16px; height: 16px; }
.me-menu-label { flex: 0 0 auto; font-size: 13px; font-weight: 500; }
.me-menu-value {
  flex: 1;
  min-width: 0;
  margin-left: auto;
  color: var(--muted-light);
  font-size: 11px;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.me-menu-chevron { width: 15px; height: 15px; color: var(--muted-light); flex: 0 0 auto; }

/* 设置弹窗 */
.settings-dialog { width: min(100%, 480px); }
.settings-list { margin: 6px 0 2px; }
.settings-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: color .3s ease;
}
.settings-row:last-child { border-bottom: 0; }
.settings-row:hover .me-menu-label { color: var(--rose-deep); }
.settings-row .me-menu-icon { width: 32px; height: 32px; }
.settings-row .me-menu-icon .icon { width: 15px; height: 15px; }
.settings-row--toggle { cursor: default; }
.settings-row--toggle:hover .me-menu-label { color: var(--ink); }
.settings-row--toggle .me-menu-value { flex: 1; text-align: left; margin-left: 0; }

/* 开关 */
.switch {
  position: relative;
  flex: 0 0 auto;
  width: 46px; height: 26px;
  border: 0;
  border-radius: 999px;
  background: var(--line-dark);
  cursor: pointer;
  transition: background .3s var(--ease);
  padding: 0;
}
.switch-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
  transition: transform .3s var(--ease);
}
.switch[aria-checked="true"] { background: var(--rose); }
.switch[aria-checked="true"] .switch-knob { transform: translateX(20px); }

/* 黑名单弹窗 */
.me-blacklist { display: flex; flex-direction: column; }
.me-blacklist-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
}
.me-blacklist-item:last-child { border-bottom: 0; }
.me-blacklist-main { flex: 1; min-width: 0; }
.me-blacklist-main strong {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
}
.me-blacklist-main span { color: var(--muted-light); font-size: 10.5px; }
.me-blacklist-empty {
  padding: 34px 0 22px;
  color: var(--muted-light);
  font-size: 12px;
  text-align: center;
}
.btn-danger { background: var(--rose-deep); color: #fff; border-color: var(--rose-deep); }
.btn-danger:hover { background: #7a4348; border-color: #7a4348; }

@media (max-width: 640px) {
  .me-profile { flex-wrap: wrap; padding: 26px 22px; gap: 18px; }
  .me-edit-btn { margin-left: 0; width: 100%; }
  .me-stats { gap: 22px; }
}

/* 我的 — 内容标签页（作品/收藏/喜欢/评论/足迹） */
.me-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.me-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 14px 16px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: color .3s ease;
}
.me-tab.is-active { color: var(--ink); font-weight: 600; }
.me-tab.is-active::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: -1px;
  height: 2px;
  background: var(--rose);
}
.me-tab-count {
  display: inline-grid;
  place-items: center;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--rose-deep);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
}
.me-tab.is-active .me-tab-count { background: var(--ink); color: #fff; }

.me-tab-panel { margin-top: 24px; min-height: 120px; }
.me-grid { columns: 3; column-gap: 24px; }
.me-grid .insp-card, .me-grid .feed-card { break-inside: avoid; margin-bottom: 24px; }

.me-empty { padding: 44px 0; text-align: center; color: var(--muted-light); font-size: 12px; }
.me-empty .empty-flower { font-size: 22px; }
.me-empty p { margin: 10px 0 0; }

.me-login-gate {
  margin-top: 28px;
  padding: 76px 24px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.me-login-gate .empty-flower { font-size: 30px; }
.me-login-gate h3 {
  margin: 18px 0 8px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .02em;
}
.me-login-gate p {
  margin: 0 auto 26px;
  max-width: 440px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.me-list { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.me-list-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background .3s ease;
}
.me-list-row:last-child { border-bottom: 0; }
.me-list-row:hover { background: var(--cream); }
.me-list-thumb {
  width: 44px; height: 44px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: cover;
  background: var(--cream);
}
.me-list-thumb-empty { display: grid; place-items: center; color: var(--rose-soft); font-size: 18px; }
.me-list-icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blush);
  color: var(--rose-deep);
}
.me-list-main { flex: 1; min-width: 0; }
.me-list-text {
  display: block;
  color: var(--ink);
  font-size: 12.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.me-list-sub { display: block; margin-top: 3px; color: var(--muted-light); font-size: 10.5px; }

@media (max-width: 1024px) {
  .me-grid { columns: 2; }
}
@media (max-width: 640px) {
  .me-grid { columns: 1; }
}

/* 登录方式切换（验证码 / 密码） */
.login-tabs {
  display: flex;
  gap: 6px;
  margin: 22px 0 0;
  padding: 5px;
  border-radius: 999px;
  background: var(--cream);
}
.login-tab {
  flex: 1;
  padding: 9px 0;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.login-tab.is-active { background: var(--white); color: var(--ink); font-weight: 600; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }

/* --------------------------------------------------------------------------
   作品下架通知横幅（后台下架后，前台用户看到原因并可重新编辑）
   -------------------------------------------------------------------------- */
.rejection-banner {
  position: fixed;
  top: 74px;
  left: 50%;
  z-index: 260;
  width: min(100% - 32px, 720px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.rejection-banner-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #e8c8a6;
  border-radius: 12px;
  background: #fff7ec;
  box-shadow: 0 10px 34px rgba(122, 67, 48, .18);
  pointer-events: auto;
}
.rejection-banner-text {
  flex: 1;
  min-width: 0;
  color: #8a5a3c;
  font-size: 12.5px;
  line-height: 1.6;
}
.rejection-banner-edit {
  flex: none;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--rose-deep);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .3s ease;
}
.rejection-banner-edit:hover { background: #7a4348; }
@media (max-width: 640px) {
  .rejection-banner { top: 64px; }
  .rejection-banner-item { flex-direction: column; align-items: stretch; }
  .rejection-banner-edit { align-self: flex-end; }
}

/* 积分提示（发布动态消耗 10 积分） */
.points-hint {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  color: #9a7a4f;
  background: #faf3e8;
  border: 1px solid #ecdcc2;
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
}

/* 积分账单 */
.points-bill {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 52vh;
  overflow-y: auto;
  padding: 4px 2px;
}
.points-bill-empty {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted, #9a9a9a);
  text-align: center;
  padding: 1.2rem 0;
}
.points-bill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #faf7f2;
  border: 1px solid #efe6da;
  border-radius: 10px;
}
.points-bill-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.points-bill-main strong { font-size: 0.9rem; color: #3a2f28; }
.points-bill-main span { font-size: 0.75rem; color: var(--muted, #9a9a9a); }
.points-bill-delta { font-family: var(--font-en, ui-monospace, monospace); font-size: 1rem; font-weight: 700; }
.points-bill-delta.is-plus { color: #4a8a5c; }
.points-bill-delta.is-minus { color: #b3574a; }

/* --------------------------------------------------------------------------
   关联账号（发布作品时关联模拟真人，私信分发 + 代回复）
   -------------------------------------------------------------------------- */
.assoc-field { margin: 4px 0 0; padding: 0; border: 0; }
.assoc-field legend {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .06em;
}
.assoc-field legend em { color: var(--muted-light); font-style: normal; font-size: 9px; }
.assoc-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.assoc-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px 4px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.assoc-chip .avatar { width: 22px; height: 22px; font-size: 9px; }
.assoc-chip-name { font-size: 12px; color: var(--ink); }
.assoc-chip-x {
  display: grid;
  place-items: center;
  width: 16px; height: 16px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--muted);
  cursor: pointer;
}
.assoc-chip-x:hover { background: var(--rose-deep); color: #fff; }
.assoc-chip-x .icon { width: 9px; height: 9px; }
.assoc-empty { color: var(--muted-light); font-size: 12px; }
.assoc-add-btn { margin-bottom: 8px; }
.assoc-note { color: var(--muted); font-size: 12px; margin-top: 8px; }

.assoc-dialog { width: min(100%, 560px); padding: 42px 36px 30px; }
.assoc-lookup { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.assoc-lookup input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  padding: 11px 14px;
  font-size: 12.5px;
  color: var(--ink);
  background: var(--white);
}
.assoc-lookup-result { min-height: 16px; margin: 8px 0 0; font-size: 12px; color: var(--muted-light); }
.assoc-lookup-result.is-ok { color: var(--forest); }
.assoc-lookup-result.is-err { color: var(--rose-deep); }
.assoc-col-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 16px 0 0; }
.assoc-col-head > span { font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.assoc-save-row { display: flex; gap: 8px; margin-top: 10px; }
.assoc-save-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  padding: 9px 14px;
  font-size: 12.5px;
  color: var(--ink);
  background: var(--white);
}
.assoc-col-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.assoc-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.assoc-results { display: flex; flex-direction: column; gap: 6px; max-height: 340px; overflow-y: auto; margin-top: 12px; }
.assoc-row {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.assoc-row:hover { border-color: var(--rose-soft); background: var(--blush); }
.assoc-row--collection { cursor: default; }
.assoc-row .avatar { width: 34px; height: 34px; font-size: 13px; }
.assoc-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.assoc-row-main strong { font-size: 13px; color: var(--ink); }
.assoc-row-sub { font-size: 11px; color: var(--muted-light); }
.assoc-row-members { display: flex; flex-wrap: wrap; gap: 3px; }
.assoc-row-members .avatar { width: 22px; height: 22px; font-size: 9px; }
.assoc-none { margin: 0; padding: 20px 0; text-align: center; color: var(--muted-light); font-size: 12px; }

/* 作品卡「已关联 N 个账号」徽标 */
.work-assoc-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--sage);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  white-space: nowrap;
}
.feed-card-author-line .work-assoc-badge { margin-left: 0; }

@media (max-width: 640px) {
  .assoc-dialog { padding: 34px 20px 24px; }
  .assoc-results { max-height: 300px; }
}
