: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; overflow-x: clip; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  font-size: 16px;
  color: #101f3d;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 224, 197, .36), transparent 25%),
    radial-gradient(circle at 96% 76%, rgba(255, 231, 211, .34), transparent 28%),
    #fffaf7;
}

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: .14;
}

.site-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(440px, 520px) minmax(580px, 780px);
  max-width: 1320px;
  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;
}
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 10px 18px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #f25564, #ff8a38);
  color: white;
  font-size: 16px;
  font-weight: 750;
  box-shadow: 0 8px 18px rgba(242, 85, 100, .2);
}
.primary-button svg { width: 14px; height: 14px; transition: transform .2s ease; }
.primary-button:hover svg { transform: translateX(2px); }
.primary-button:disabled { opacity: .55; cursor: not-allowed; color: white; -webkit-text-fill-color: white; }
.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; }
.empty-state { display: none; padding: 18px; border-radius: 12px; background: #fff8f4; color: #8a7d74; text-align: center; font-size: 16px; }

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;
  left: 0;
  width: 100%;
  height: 1px;
  background: #f1ece8;
}
/* Public-page dividers span the right column, including its content gutters. */
.content-inner:not(:has(.my-page, .lm-passport)) > footer::before {
  left: calc(-1 * var(--content-gutter, 0px));
  width: calc(100% + 2 * var(--content-gutter, 0px));
}
footer img { width: 75px; opacity: .62; }
footer p { margin: 0; }

@media (max-width: 1180px) {
  .site-shell { grid-template-columns: minmax(320px, 400px) minmax(0, 780px); }
  .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; }
}

@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; }
  .primary-button { padding: 9px 15px; font-size: 15px; }
  .content-section { padding-top: 20px; }
  .section-heading { margin-bottom: 11px; }
  .section-heading h2 { font-size: 20px; }
  .section-heading a { font-size: 14px; }
  .empty-state { padding: 14px; font-size: 14px; }
  footer { flex-direction: column; gap: 7px; }
}

@media (max-width: 480px) {
}

@media (max-width: 380px) {
  .sidebar-inner { padding-left: 20px; padding-right: 20px; }
  .brand-logo { width: 190px; }
  .trend-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
