:root {
  --coral: #f25564;
  --coral-deep: #e74657;
  --orange: #ff8a38;
  --ink: #2c2928;
  --muted: #7f7a76;
  --line: #eee9e5;
  --cream: #fff9f2;
  --paper: #fffefd;
  --shadow: 0 12px 34px rgba(111, 77, 54, 0.1);
  --soft-shadow: 0 5px 18px rgba(111, 77, 54, 0.09);
  --radius: 20px;
  font-family: Inter, ui-rounded, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: #fffaf5;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  font-size: 16px;
  background:
    radial-gradient(circle at 7% 15%, rgba(255, 226, 183, .35), transparent 23%),
    radial-gradient(circle at 94% 82%, rgba(255, 224, 177, .36), transparent 24%),
    #fffaf6;
}

button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("/statics/lumoo_web/images/bg.png");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: min(52vw, 800px) auto;
  opacity: .22;
}

.site-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(440px, 520px) minmax(700px, 780px);
  max-width: 1300px;
  min-height: 100vh;
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
  backdrop-filter: blur(6px);
}

.sidebar {
  background: transparent;
  border-right: 0;
}

.sidebar-inner {
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: 46px 56px 40px;
  overflow: hidden;
}

.sidebar-inner::before,
.sidebar-inner::after { content: none; }

.brand-panel { position: relative; left: 6px; z-index: 1; }
.eyebrow {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: .06em;
}

.brand-lockup {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92px;
}

.brand-logo { width: 265px; }

.brand-subtitle {
  position: relative;
  z-index: 2;
  margin: 2px 0 22px;
  color: #918a85;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .025em;
}

.search-box {
  position: relative;
  z-index: 2;
  display: flex;
  height: 52px;
  padding: 4px 5px 4px 20px;
  border: 1px solid #f5d6d0;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 6px 16px rgba(128, 75, 55, .12);
}

.search-box:focus-within {
  border-color: #f48691;
  box-shadow: 0 0 0 4px rgba(242, 85, 100, .09), 0 8px 22px rgba(128, 75, 55, .13);
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
}
.search-box input::placeholder { color: #aaa29d; }
.search-box button {
  display: grid;
  place-items: center;
  width: 42px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b77, #ec4b63);
  color: white;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.search-box button:hover { transform: scale(1.04); box-shadow: 0 6px 14px rgba(238, 72, 94, .3); }
.search-box button svg { width: 21px; height: 21px; }
.search-status { min-height: 18px; margin: 7px 18px 0; color: var(--coral); font-size: 14px; }

.trend-section { position: relative; z-index: 1; margin-top: 10px; }
.section-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 850;
}
.section-mascot { display: block; flex: 0 0 auto; object-fit: contain; }
.trend-mascot { width: 36px; height: 26px; }
.contact-mascot { width: 32px; height: 30px; }
.trend-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; }
.trend-item {
  display: grid;
  grid-template-columns: 26px minmax(0,1fr) auto auto;
  align-items: center;
  min-height: 50px;
  padding: 5px 9px;
  border: 1px solid rgba(99, 70, 51, .035);
  border-radius: 11px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 4px 14px rgba(105, 75, 52, .055);
  font-size: 16px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.trend-item:hover { transform: translateY(-2px); box-shadow: var(--soft-shadow); }
.trend-item > span:nth-child(2) { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.trend-item > svg { width: 14px; height: 14px; color: #8e8781; }
.trend-rank {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f3f1ee;
  font-weight: 850;
  color: #4f4a47;
}
.hot-rank { background: #ffeded; color: #ff6265; }
.cool-rank { background: #edf3ff; color: #487ae8; }
.hot-tag { padding: 2px 7px; border-radius: 8px; background: #fff0db; color: #ff6f36; font-size: 12px; }

.member-banner {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  overflow: hidden;
  border-radius: 15px;
  background: #fff7e8;
  box-shadow: 0 8px 20px rgba(128, 84, 42, .13);
}
.member-banner-image { width: 100%; height: auto; }

.contact-section { position: relative; z-index: 1; margin-top: 26px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 150px;
  padding: 15px 10px 12px;
  border: 1px solid rgba(84, 60, 46, .04);
  border-radius: 12px;
  background: rgba(255,255,255,.93);
  box-shadow: var(--soft-shadow);
  transition: transform .2s ease;
}
.contact-card:hover { transform: translateY(-3px); }
.contact-name { font-size: 17px; font-weight: 750; }
.contact-qr {
  width: 100px;
  height: 100px;
  margin: 10px 0 7px;
  padding: 4px;
  border: 1px solid rgba(84, 60, 46, .1);
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 3px 9px rgba(91, 63, 43, .08);
}
.contact-desc { color: #8d8580; font-size: 13px; }

.main-content { position: relative; min-width: 0; background: rgba(255,255,255,.95); }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 70px;
  padding: 0 30px;
  border-bottom: 1px solid #f0ece9;
  background: rgba(255, 255, 255, .91);
  backdrop-filter: blur(14px);
}
.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #171615;
  cursor: pointer;
}
.icon-button:hover { background: #fff4f1; color: var(--coral); }
.menu-button { position: relative; justify-self: start; }
.top-logo { display: flex; align-items: center; justify-content: center; }
.top-logo img { width: 130px; }
.top-actions { display: flex; justify-self: end; gap: 9px; }

.top-menu-panel {
  position: sticky;
  top: 70px;
  z-index: 19;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 30px 14px;
  border-bottom: 1px solid #f0ece9;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 26px rgba(91, 63, 43, .08);
  backdrop-filter: blur(14px);
}

.top-menu-panel[hidden] {
  display: none;
}

.top-menu-panel a {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 12px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, .95);
  color: #4a403a;
  box-shadow: 0 4px 14px rgba(105, 75, 52, .07);
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}

.top-menu-panel a span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--menu-tint);
  color: var(--menu-accent);
}

.top-menu-panel a b {
  overflow: hidden;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.top-menu-panel svg {
  width: 22px;
  height: 22px;
}

.top-menu-panel a:hover {
  color: var(--menu-accent);
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(105, 75, 52, .1);
}

.top-menu-panel a:hover::after {
  opacity: .9;
  transform: scaleX(1);
}

.content-inner {
  --content-gutter: 24px;
  padding: 15px var(--content-gutter) 35px;
}
.live-strip {
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  align-items: center;
  min-height: 49px;
  padding: 2px 7px 20px;
  font-size: 16px;
}
.live-ticker-viewport {
  height: 44px;
  min-width: 0;
  overflow: hidden;
}
.live-ticker-track {
  transition: transform .48s cubic-bezier(.22, .9, .2, 1);
  will-change: transform;
}
.live-ticker-item {
  display: block;
  height: 44px;
  color: inherit;
  text-decoration: none;
}
.live-strip strong, .live-strip b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.live-strip strong { color: #ff4e5f; font-size: 14px; }
.live-strip strong i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-radius: 50%;
  background: #ff4b5c;
  box-shadow: 0 0 0 4px rgba(255,75,92,.13);
  animation: pulse 1.8s infinite;
}
.live-strip b { margin-top: 4px; font-size: 16px; }
.live-strip > svg { width: 15px; height: 15px; color: #a39d98; }
.live-avatar {
  width: 38px;
  height: 38px;
  border: 2px solid #ff777f;
  border-radius: 50%;
  background-size: 500% auto;
  background-position-y: 7%;
}

.hero {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  border-radius: 14px;
  background-image: linear-gradient(90deg, rgba(255,248,239,.97) 0%, rgba(255,246,236,.82) 36%, rgba(255,255,255,0) 62%), url("/statics/lumoo_web/assets/hero-clinic.png");
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 157, 134, .08);
}
.hero::before,
.hero::after {
  content: "✦";
  position: absolute;
  color: #ffd27a;
  font-size: 32px;
  filter: drop-shadow(0 4px 6px rgba(255,172,67,.2));
}
.hero::before { left: 46%; top: 31px; }
.hero::after { content: "✧"; left: 42%; bottom: 55px; color: #ffad9d; }
.hero-copy { position: relative; z-index: 2; padding: 28px 0 25px 39px; }
.hero-kicker { margin: 0 0 4px !important; color: #cf8a64; font-size: 12px !important; font-weight: 800; letter-spacing: .18em; }
#hero-title { margin: 0; font-size: 47px; line-height: 1.2; letter-spacing: -.055em; }
#hero-title span { margin-right: 7px; color: #f14f61; }
.hero-copy > p { margin: 10px 0 18px; font-size: 19px; font-weight: 700; }
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff696f, #ef4e5e);
  color: white;
  font-size: 16px;
  font-weight: 750;
  box-shadow: 0 7px 16px rgba(240, 78, 94, .2);
}
.primary-button svg { width: 14px; height: 14px; transition: transform .2s ease; }
.primary-button:hover svg { transform: translateX(2px); }
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 15px; display: flex; gap: 5px; }
.hero-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 8px; background: #fff; cursor: pointer; box-shadow: 0 0 0 1px rgba(65, 53, 46, .08); }
.hero-dots button.active { width: 18px; background: #3d3a38; }

.quick-nav {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 20px 38px 16px;
}

.quick-nav a {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  padding: 8px 0 18px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #302c2a;
  font-size: 14px;
  transition: color .22s ease, transform .22s ease;
}
.quick-nav a::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 0;
  left: 2px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--accent) 42%, transparent) 50%, transparent 100%);
  box-shadow: 0 4px 10px color-mix(in srgb, var(--accent) 26%, transparent);
  opacity: .52;
  transform: scaleX(.94);
  transition: opacity .22s ease, transform .22s ease;
}
.quick-nav a > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, #fff 0 18%, transparent 19%),
    var(--tint);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 13%, transparent);
  transition: transform .22s ease, box-shadow .22s ease;
}
.quick-nav a b {
  overflow: hidden;
  max-width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 500;
}
.quick-nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}
.quick-nav a:hover::after { opacity: .82; transform: scaleX(1); }
.quick-nav a:hover > span { transform: translateY(-2px); box-shadow: 0 8px 15px color-mix(in srgb, var(--accent) 14%, transparent); }
.quick-nav svg { width: 25px; height: 25px; stroke-width: 1.9; }

.content-section { padding-top: 24px; scroll-margin-top: 75px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-heading h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.section-heading a { display: inline-flex; align-items: center; color: #716c68; font-size: 14px; }
.section-heading a svg { width: 14px; height: 14px; }
.hospital-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hospital-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #f1e9e4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(91, 63, 43, .09);
  transition: transform .22s ease, box-shadow .22s ease;
}
.hospital-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(91, 63, 43, .13); }
.hospital-photo {
  position: relative;
  height: 120px;
  overflow: hidden;
  background-image: linear-gradient(180deg, transparent 55%, rgba(43, 32, 25, .12)), url("/statics/lumoo_web/assets/clinic-interior.png");
  background-size: 175% auto;
}
.hospital-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hospital-photo-left { background-position: 18% 52%; }
.hospital-photo-center { background-position: 52% 54%; }
.hospital-photo-right { background-position: 90% 53%; }
.hospital-rank {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #f25564;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 3px 8px rgba(82, 55, 39, .08);
}
.hospital-copy { padding: 12px; }
.hospital-copy h3 { margin: 0; overflow: hidden; font-size: 16px; white-space: nowrap; text-overflow: ellipsis; }
.hospital-copy p { margin: 5px 0 10px; color: #817973; font-size: 13px; }
.hospital-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.hospital-tags span { padding: 3px 7px; border-radius: 7px; background: #fff1e9; color: #e96a43; font-size: 12px; }
.hospital-media-icons { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; justify-items: start; margin-top: 10px; }
.hospital-media-icons img { width: 30px; height: 30px; object-fit: contain; }
.hospital-media-icons span { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #f3eee9; color: #9a918b; font-size: 20px; font-weight: 800; line-height: 1; }
.hospital-pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; }
.hospital-pager button { padding: 7px 13px; border: 0; border-radius: 999px; background: #fff1e9; color: #e96a43; font-size: 13px; font-weight: 750; cursor: pointer; }
.hospital-pager button:disabled { opacity: .42; cursor: not-allowed; }
.hospital-pager span { color: #8a7d74; font-size: 13px; font-weight: 750; }
.anti-aging-section {
  position: relative;
  padding-top: 34px;
}
.anti-aging-tabs {
  display: flex;
  gap: 8px;
  margin: -2px calc(-1 * var(--content-gutter)) 14px 0;
  padding: 2px var(--content-gutter) 4px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.anti-aging-tabs::-webkit-scrollbar,
.anti-aging-scroller::-webkit-scrollbar { display: none; }
.anti-aging-tabs button {
  flex: 0 0 auto;
  min-width: 66px;
  padding: 8px 14px;
  border: 1px solid #f3dfd2;
  border-radius: 999px;
  background: #fff;
  color: #7a6e66;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(95, 63, 42, .06);
}
.anti-aging-tabs button.active {
  background: linear-gradient(135deg, #ff6b77, #ec4b63);
  color: #fff;
}
.anti-aging-scroller {
  display: flex;
  gap: 12px;
  margin-right: calc(-1 * var(--content-gutter));
  padding: 2px var(--content-gutter) 18px 0;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.anti-aging-scroller.loading { opacity: .55; pointer-events: none; }

@media (hover: hover) and (pointer: fine) {
  .anti-aging-tabs,
  .anti-aging-scroller {
    scrollbar-width: thin;
    scrollbar-color: #f0b79d #fff3ec;
  }

  .anti-aging-tabs::-webkit-scrollbar,
  .anti-aging-scroller::-webkit-scrollbar {
    display: block;
    height: 8px;
  }

  .anti-aging-tabs::-webkit-scrollbar-track,
  .anti-aging-scroller::-webkit-scrollbar-track {
    border-radius: 999px;
    background: #fff3ec;
  }

  .anti-aging-tabs::-webkit-scrollbar-thumb,
  .anti-aging-scroller::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(90deg, #ffc3a6, #f36b77);
  }
}

.anti-aging-card {
  display: block;
  position: relative;
  flex: 0 0 calc((100% - 18px) / 2.5);
  min-width: 0;
  overflow: hidden;
  border: 1px solid #f1e9e4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(91, 63, 43, .09);
  scroll-snap-align: start;
  transition: transform .22s ease, box-shadow .22s ease;
}
.anti-aging-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(91, 63, 43, .13); }
.anti-aging-photo {
  width: 100%;
  height: 145px;
  background: #fff2ea url("/statics/lumoo_web/assets/clinic-interior.png") center/cover;
  object-fit: cover;
}
.anti-aging-copy { padding: 12px; }
.anti-aging-copy h3 {
  margin: 0;
  overflow: hidden;
  font-size: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.anti-aging-copy p {
  margin: 6px 0 10px;
  color: #817973;
  font-size: 13px;
}
.anti-aging-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.anti-aging-tags span {
  padding: 3px 7px;
  border-radius: 7px;
  background: #fff1e9;
  color: #e96a43;
  font-size: 12px;
}
.activity-grid { display: grid; gap: 14px; }
.activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.activity-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(91, 63, 43, .11);
  transition: transform .22s ease, box-shadow .22s ease;
}
.activity-card:hover { transform: translateY(-4px); box-shadow: 0 11px 23px rgba(91, 63, 43, .14); }
.activity-card > a { display: block; color: inherit; text-decoration: none; }
.activity-copy {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  z-index: 2;
  inset: auto 0 0;
  min-height: 186px;
  padding: 70px 13px 12px;
  overflow: hidden;
  color: var(--activity-ink);
  background: linear-gradient(
    180deg,
    rgba(var(--activity-rgb), 0) 0%,
    rgba(var(--activity-rgb), .84) 42%,
    rgb(var(--activity-rgb)) 68%
  );
}
.activity-copy h3 { position: relative; z-index: 2; margin: 0; font-size: 16px; }
.activity-copy p { position: relative; z-index: 2; margin: 4px 0 8px; font-size: 14px; font-weight: 650; }
.activity-copy h3,
.activity-copy p,
.activity-copy span,
.activity-copy time { max-width: calc(100% - 104px); }
.activity-copy span { display: block; position: relative; z-index: 2; width: max-content; padding: 3px 7px; border-radius: 7px; background: #fff0f2; color: #f45565; font-size: 12px; font-weight: 750; }
.activity-copy time { display: block; position: relative; z-index: 2; margin-top: 7px; color: inherit; font-size: 12px; opacity: .82; }
.activity-mascot {
  position: absolute;
  z-index: 1;
  right: 4px;
  bottom: -4px;
  width: 100px;
  height: 100px;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 4px 7px rgba(56, 35, 22, .13));
  pointer-events: none;
}
.activity-photo {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
}
.empty-state { display: none; padding: 18px; border-radius: 12px; background: #fff8f4; color: #8a7d74; text-align: center; font-size: 16px; }

.community-section { padding-top: 32px; }
.community-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.community-card {
  position: relative;
  min-width: 0;
  padding: 16px;
  overflow: hidden;
  border: 1px solid #f2e9e4;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #fff7f5);
  box-shadow: 0 4px 14px rgba(87, 59, 43, .075);
}
.community-card.blue-community { background: linear-gradient(145deg, #fff, #f4f9ff); }
.community-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.community-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffe8e9;
  color: #f25564;
}
.community-icon svg { width: 23px; height: 23px; }
.blue-community .community-icon { background: #e9f3ff; color: #438dea; }
.community-badge {
  padding: 4px 7px;
  border-radius: 7px;
  background: #fff0f2;
  color: #f25564;
  font-size: 12px;
  font-weight: 750;
}
.blue-community .community-badge { background: #eaf3ff; color: #438dea; }
.community-card h3 { margin: 13px 0 6px; font-size: 16px; line-height: 1.45; }
.community-card > p {
  margin: 0;
  color: #6f6661;
  font-size: 14px;
  line-height: 1.55;
}
.community-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #eaded8;
}
.community-topics span {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: #7f7570;
  font-size: 12px;
}

.doctor-sprite { background-image: url("/statics/lumoo_web/assets/doctor-team.png"); background-repeat: no-repeat; }
.doctor-one { background-position-x: 0%; }
.doctor-two { background-position-x: 25%; }
.doctor-three { background-position-x: 50%; }
.doctor-four { background-position-x: 75%; }
.doctor-five { background-position-x: 100%; }
.badge.coral { background: #ffedf0; color: #f24f61; }
.badge.orange { background: #fff2df; color: #f18a28; }
.badge.purple { background: #f5e9fd; color: #a85ad8; }

footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 42px;
  padding: 28px 0 5px;
  color: #a09994;
  font-size: 13px;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: calc(-1 * var(--content-gutter));
  left: calc(-1 * var(--content-gutter));
  height: 1px;
  background: #f1ece8;
}
footer img { width: 75px; opacity: .62; }
footer p { margin: 0; }

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 25px;
  max-width: calc(100vw - 32px);
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(46, 40, 37, .92);
  color: white;
  font-size: 16px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,75,92,.12); }
  50% { box-shadow: 0 0 0 6px rgba(255,75,92,.03); }
}

@media (max-width: 1180px) {
  .site-shell { grid-template-columns: 400px minmax(640px, 760px); }
  .sidebar-inner { padding-left: 34px; padding-right: 34px; }
  .brand-logo { width: 235px; }
}

@media (min-width: 721px) and (max-width: 980px) {
  .site-shell {
    grid-template-columns: 40% 60%;
    width: 100%;
    max-width: none;
  }
  .sidebar-inner {
    max-height: 100vh;
    padding: 32px 22px 26px;
    overflow-y: auto;
  }
  .eyebrow { font-size: 20px; }
  .brand-lockup { min-height: 72px; }
  .brand-logo { width: 190px; }
  .brand-subtitle { margin-bottom: 18px; font-size: 12px; }
  .search-box { height: 46px; padding-left: 15px; }
  .search-box input { font-size: 14px; }
  .search-box button { width: 36px; }
  .trend-grid { gap: 7px; }
  .trend-item {
    grid-template-columns: 23px minmax(0,1fr) auto auto;
    min-height: 35px;
    padding: 4px 6px;
    font-size: 12px;
  }
  .trend-rank { width: 21px; height: 21px; }
  .hot-tag { display: none; }
  .member-banner { margin-top: 24px; }
  .contact-section { margin-top: 20px; }
  .contact-grid { gap: 9px; }
  .contact-card { min-height: 122px; padding: 12px 6px 9px; }
  .contact-name { font-size: 13px; }
  .contact-qr { width: 58px; height: 58px; margin: 8px 0 5px; padding: 3px; }
  .contact-desc { font-size: 12px; }
  .topbar { height: 62px; padding: 0 19px; }
  .top-menu-panel {
    top: 62px;
    gap: 8px;
    padding: 10px 19px 12px;
  }
  .top-menu-panel a {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 50px;
    padding: 7px 9px;
  }
  .top-menu-panel a span {
    width: 38px;
    height: 38px;
  }
  .top-logo img { width: 105px; }
  .content-inner { --content-gutter: 14px; padding: 12px var(--content-gutter) 30px; }
  .hero { min-height: 230px; }
  .hero-copy { padding: 25px 0 22px 24px; }
  #hero-title { font-size: 35px; }
  .hero-copy > p { font-size: 16px; }
  .quick-nav { gap: 8px; padding-left: 0; padding-right: 0; }
  .quick-nav a { padding: 11px 6px 10px; font-size: 13px; }
  .quick-nav a > span { width: 43px; height: 43px; }
  .quick-nav svg { width: 23px; height: 23px; }
  .hospital-grid { gap: 8px; }
  .hospital-photo { height: 80px; }
  .hospital-copy { padding: 9px; }
  .anti-aging-card { flex-basis: calc((100% - 14px) / 2.5); }
  .anti-aging-photo { height: 115px; }
  .anti-aging-copy { padding: 10px; }
  .activity-grid { gap: 8px; }
  .community-grid { gap: 8px; }
  .community-card { padding: 12px; }
  .community-icon { width: 38px; height: 38px; }
  .community-card h3 { font-size: 14px; }
  .activity-copy { min-height: 176px; padding: 66px 8px 10px; }
  .activity-copy h3 { font-size: 13px; }
  .activity-copy p { font-size: 12px; }
  .activity-copy time { font-size: 12px; }
  .activity-copy h3,
  .activity-copy p,
  .activity-copy span,
  .activity-copy time { max-width: calc(100% - 82px); }
  .activity-mascot { right: 2px; width: 78px; height: 78px; }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
    background:
      radial-gradient(circle at 0 8%, rgba(255, 222, 184, .34), transparent 28%),
      radial-gradient(circle at 100% 68%, rgba(255, 210, 177, .26), transparent 28%),
      #fffaf6;
  }
  .page-bg { background-size: 118vw auto; opacity: .16; }
  .site-shell { display: block; max-width: 760px; min-height: 100vh; }
  .sidebar {
    position: fixed;
    z-index: 50;
    inset: 0 auto 0 0;
    width: min(430px, 91vw);
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform .28s ease;
    box-shadow: 20px 0 55px rgba(70, 45, 32, .18);
  }
  .sidebar-inner { position: static; min-height: 100%; padding: 26px 24px 30px; }
  .brand-lockup { min-height: 68px; }
  .brand-logo { width: 205px; }
  .brand-subtitle { margin: 0 0 18px; font-size: 14px; line-height: 1.55; }
  .search-box { height: 48px; padding-left: 16px; }
  .search-box input { font-size: 16px; }
  .trend-section { margin-top: 12px; }
  .trend-grid { gap: 8px; }
  .trend-item { min-height: 44px; padding: 5px 8px; font-size: 14px; border-radius: 12px; }
  .trend-rank { width: 23px; height: 23px; font-size: 13px; }
  .hot-tag { display: none; }
  .member-banner { margin-top: 22px; border-radius: 13px; }
  .contact-section { margin-top: 22px; }
  .contact-grid { gap: 10px; }
  .contact-card { min-height: 130px; padding: 12px 7px 10px; }
  .contact-name { font-size: 15px; }
  .contact-qr { width: 76px; height: 76px; margin: 8px 0 5px; }
  .contact-desc { font-size: 13px; }
  .main-content { min-height: 100vh; }
  .topbar { height: 58px; }
  .top-menu-panel {
    top: 58px;
    gap: 8px;
    padding: 10px var(--content-gutter, 22px) 12px;
  }
  .top-menu-panel a {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    min-height: 76px;
    padding: 10px 5px 9px;
    text-align: center;
  }
  .top-menu-panel a span {
    width: 39px;
    height: 39px;
  }
  .top-menu-panel a b {
    font-size: 13px;
  }
  body.top-menu-open .menu-button {
    background: #fff4f1;
    color: var(--coral);
    box-shadow: 0 8px 22px rgba(70, 45, 32, .16);
  }
  body.top-menu-open .menu-button svg { opacity: 0; }
  body.top-menu-open .menu-button::before,
  body.top-menu-open .menu-button::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    top: 50%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }
  body.top-menu-open .menu-button::before { transform: rotate(45deg); }
  body.top-menu-open .menu-button::after { transform: rotate(-45deg); }
  .content-inner { --content-gutter: 22px; padding: 14px var(--content-gutter) 34px; }
}

@media (max-width: 640px) {
  .topbar { padding: 0 14px; }
  .top-menu-panel { padding-right: 14px; padding-left: 14px; }
  .top-menu-panel a { border-radius: 14px; }
  .top-menu-panel a span { width: 35px; height: 35px; border-radius: 13px; }
  .top-menu-panel a b { font-size: 12px; }
  .top-menu-panel svg { width: 20px; height: 20px; }
  .top-logo img { width: 98px; }
  .icon-button { width: 38px; height: 38px; }
  .content-inner { --content-gutter: 14px; padding: 8px var(--content-gutter) 26px; }
  .live-strip {
    grid-template-columns: 36px 1fr 14px;
    min-height: 45px;
    padding: 4px 1px 12px;
    font-size: 14px;
  }
  .live-ticker-viewport,
  .live-ticker-item { height: 44px; }
  .live-strip strong { font-size: 13px; }
  .live-strip b { margin-top: 3px; font-size: 15px; }
  .live-avatar { width: 32px; height: 32px; border-width: 1px; }
  .hero {
    min-height: 220px;
    border-radius: 16px;
    background-position: center, center, 82% bottom;
    background-size: cover, cover, auto 104%;
  }
  .hero::before { left: 50%; top: 32px; font-size: 23px; }
  .hero::after { left: 72%; bottom: 76px; font-size: 20px; }
  .hero-copy {
    width: 66%;
    padding: 20px 0 18px 20px;
  }
  .hero-kicker { font-size: 11px !important; letter-spacing: .16em; }
  #hero-title { font-size: 28px; line-height: 1.14; letter-spacing: -.05em; }
  .hero-copy > p { margin-top: 10px; font-size: 14px; line-height: 1.45; }
  .primary-button { padding: 9px 15px; font-size: 15px; }
  .hero-dots { left: 28px; bottom: 16px; }
  .quick-nav { gap: 8px; padding: 15px 0 14px; }
  .quick-nav a { gap: 7px; padding: 10px 5px 9px; font-size: 13px; line-height: 1.2; border-radius: 15px; }
  .quick-nav a > span { width: 39px; height: 39px; }
  .quick-nav svg { width: 22px; height: 22px; }
  .content-section { padding-top: 20px; }
  .section-heading { margin-bottom: 11px; }
  .section-heading h2 { font-size: 20px; }
  .section-heading a { font-size: 14px; }
  .hospital-grid { grid-template-columns: 1fr; gap: 10px; }
  .hospital-card { display: grid; grid-template-columns: 116px minmax(0, 1fr); border-radius: 13px; }
  .hospital-photo { height: 100%; min-height: 124px; background-size: cover; }
  .hospital-copy { padding: 10px; }
  .hospital-copy h3 { font-size: 16px; }
  .hospital-copy p { margin: 4px 0 8px; font-size: 13px; }
  .hospital-tags { gap: 4px; }
  .hospital-tags span { padding: 3px 6px; font-size: 12px; }
  .hospital-media-icons { margin-top: 8px; }
  .hospital-media-icons img,
  .hospital-media-icons span { width: 24px; height: 24px; }
  .hospital-media-icons span { font-size: 15px; }
  .hospital-pager { margin-top: 12px; }
  .hospital-pager button { padding: 7px 12px; font-size: 13px; }
  .anti-aging-section { padding-top: 24px; }
  .anti-aging-tabs {
    gap: 7px;
    margin-bottom: 11px;
    padding-bottom: 5px;
  }
  .anti-aging-tabs button { min-width: 58px; padding: 7px 12px; font-size: 13px; }
  .anti-aging-scroller {
    gap: 10px;
    padding-bottom: 18px;
  }
  .anti-aging-card { flex-basis: calc((100% - 10px) / 2.5); border-radius: 13px; }
  .anti-aging-photo { height: 112px; }
  .anti-aging-copy { padding: 10px; }
  .anti-aging-copy h3 { font-size: 15px; }
  .anti-aging-copy p { margin: 5px 0 8px; font-size: 13px; }
  .anti-aging-tags { gap: 4px; }
  .anti-aging-tags span { padding: 3px 6px; font-size: 12px; }
  .activity-grid { gap: 10px; }
  .activity-card { min-height: 248px; border-radius: 13px; }
  .activity-copy { min-height: 150px; padding: 58px 9px 10px; }
  .activity-copy h3 { font-size: 16px; line-height: 1.45; }
  .activity-copy span { font-size: 12px; }
  .activity-copy time { font-size: 12px; }
  .activity-copy h3,
  .activity-copy p,
  .activity-copy span,
  .activity-copy time { max-width: calc(100% - 58px); }
  .activity-mascot { right: 0; width: 78px; height: 78px; }
  .activity-photo { height: 248px; }
  .community-grid { grid-template-columns: 1fr; gap: 10px; }
  .community-card { padding: 14px; border-radius: 13px; }
  .community-icon { width: 39px; height: 39px; }
  .community-card h3 { margin-top: 11px; font-size: 16px; }
  .community-card > p { font-size: 14px; }
  .empty-state { padding: 14px; font-size: 14px; }
  footer { flex-direction: column; gap: 7px; }
}

@media (max-width: 480px) {
  .activity-grid { grid-template-columns: 1fr; }
  .activity-card,
  .activity-photo { height: 236px; min-height: 236px; }
  .anti-aging-card { flex-basis: calc((100% - 10px) / 2.35); }
}

@media (max-width: 380px) {
  .sidebar-inner { padding-left: 20px; padding-right: 20px; }
  .brand-logo { width: 190px; }
  .trend-grid { grid-template-columns: 1fr; }
  .hero { min-height: 250px; background-position: center, center, 86% bottom; background-size: cover, cover, auto 102%; }
  .hero-copy { width: 68%; min-height: 250px; padding-left: 18px; }
  #hero-title { font-size: 26px; }
  .hero-copy > p { max-width: 190px; font-size: 12px; }
  .quick-nav { gap: 6px; }
  .quick-nav a { padding-left: 4px; padding-right: 4px; font-size: 12px; }
  .quick-nav a b { max-width: 58px; text-align: center; }
  .hospital-card { grid-template-columns: 106px minmax(0, 1fr); }
  .hospital-photo { min-height: 118px; }
  .anti-aging-card { flex-basis: calc((100% - 8px) / 2.25); }
  .anti-aging-photo { height: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
